Commit graph

6 commits

Author SHA1 Message Date
a3cf7a17e8
feat(apb): allow upcasting from object
basically now object.as_actor() or object.as_collection() returns an
option which is full with a self ref only if the type is correct, so
that we can assume flexible json behavior from anything implementing our
apb traits, and we don't need to rely anymore on knowing the underlying
type
also little import refactor
2024-04-29 20:01:39 +02:00
3156b8d2d2
feat: sensitive field
this is not part of activitystreams afaik and should not be in apub but
it's quite convenient to do it this way sooooooooooo for now will do
2024-04-24 05:19:39 +02:00
5ba1fb66ca
fix(apb): camel case name for mediaType 2024-04-21 23:36:13 +02:00
85375ba1fb
fix(apb): added Service actor type
forgot about bots! :(
2024-04-13 22:20:29 +02:00
87d802fa2e
fix(apb): .id() now works on json strings too 2024-04-13 06:34:56 +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