mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
refactor for stronger RawPduId type
implement standard traits for PduCount enable serde for arrayvec typedef various shortid's pducount simplifications split parts of pdu_metadata service to core/pdu and api/relations remove some yields; improve var names/syntax tweak types for limit timeline limit arguments Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
2e4d9cb37c
commit
9da523c004
41 files changed
+796
-573
No files matched your search
@@ -168,12 +168,12 @@ pub(crate) async fn get_context_route(
|
||||
|
||||
start: events_before
|
||||
.last()
|
||||
.map_or_else(|| base_token.stringify(), |(count, _)| count.stringify())
|
||||
.map_or_else(|| base_token.to_string(), |(count, _)| count.to_string())
|
||||
.into(),
|
||||
|
||||
end: events_after
|
||||
.last()
|
||||
.map_or_else(|| base_token.stringify(), |(count, _)| count.stringify())
|
||||
.map_or_else(|| base_token.to_string(), |(count, _)| count.to_string())
|
||||
.into(),
|
||||
|
||||
events_before: events_before
|
||||
|
||||
Reference in new issue
Block a user