Commit graph

6 commits

Author SHA1 Message Date
8712b5e723
fix(apb): export profile, remove dead code 2024-05-27 16:53:48 +02:00
461526df12
feat(apb): actor endpoints type (extends Object)
not sure if this can be an Object but AP says it can be a link to a
JSONLD document so i assume it can be?
2024-05-15 17:17:02 +02:00
a9229adec8
feat(apb): restructured, added target and server
target is about addressing, and server has traits for barebones outbox
and inbox. these come from upub
2024-04-11 00:27:17 +02:00
9d3376a1f4
docs: document crate a little 2024-04-06 19:16:15 +02:00
b57d766b78
fix: dont publicly export macros 2024-04-06 18:34:15 +02:00
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