+12
-5
ufos/src/db_types.rs
+12
-5
ufos/src/db_types.rs
············
············
+41
ufos/src/lib.rs
+41
ufos/src/lib.rs
······
······
+135
-1
ufos/src/server/mod.rs
+135
-1
ufos/src/server/mod.rs
·········
······+/// The final segment of a collection NSID is the `name`, and everything before it is called its `group`. eg:+/// - `app.bsky.feed.post` and `app.bsky.feed.like` are both in the _lexicon group_ "`app.bsky.feed`".+/// The number of items actually returned may be less than the limit. If paginating, this does **not** indicate that no+/// more items are available! Check if the `cursor` in the response is `null` to determine the end of items.+/// Always omit the cursor for the first request. If more collections than the limit are available, the response will contain a non-null `cursor` to include with the next request.+/// Omit the `order` parameter and page through the results using the `cursor`. There have been a lot of collections seen in the ATmosphere, well over 400 at time of writing, so you *will* need to make a series of paginaged requests with `cursor`s to get them all.+/// The set of collections across multiple requests is not guaranteed to be a perfectly consistent snapshot:+/// - *new* NSIDs observed in the firehose *while paging* might be included or excluded from the final set+/// Specify the `order` parameter (must be either `records-created` or `did-estimate`). Note that ordered results cannot be paged.+/// All statistics are bucketed hourly, so the most granular effecitve time boundary for `since` and `until` is one hour.···
+11
-2
ufos/src/storage.rs
+11
-2
ufos/src/storage.rs
······
······
+199
-3
ufos/src/storage_fjall.rs
+199
-3
ufos/src/storage_fjall.rs
············
·········+// double-scan the iters for each element: this could be eliminated but we're starting simple.+// unwrap: potential fjall error was already checked & bailed over when peeking in the first loop+// TODO: could serialize the prefix count (with sketch) into the cursor so that uniqs can actually count up?···
+66
-6
ufos/src/store_types.rs
+66
-6
ufos/src/store_types.rs
·····················
·····················