1
0
Fork 0
forked from alemi/upub
Commit graph

6 commits

Author SHA1 Message Date
520c8eff3a
feat: separated apb types into crate, reworked
no more "impl ..." hell, each trait has associated types so that we know
it's a "Self::Link" or a "Self::Actor", but in practice they can both be
a "serde_json::Value" and thus we can change its type. also Node::Array
is now a Vec<T> rather than Vec<Node<T>> because it makes more sense.
Node is Iterable and will yield zero (Empty|Link), one (Object) or many
(Array) Ts
2024-04-06 16:56:13 +02:00
bf8cd97c8f
chore: Mut traits take owned self rather than &mut 2024-03-21 00:04:01 +01:00
680c61ff9a
feat: mut traits, getter/setters for base+object 2024-03-20 05:44:10 +01:00
863ea0408d
fix: macro allows zero flat, removed invalid type 2024-03-19 22:47:52 +01:00
a73852b3b7
feat: refactored and expanded activitypub types 2024-03-19 05:15:41 +01:00
7d69f8148c
chore: refactored type enums 2024-03-19 01:00:44 +01:00