Produces a map representing an ActivityPub activity which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
Produces a map representing an ActivityPub activity which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
(actor {:keys [user-id username name public-key]})
Accepts a config, and returns a map in the form expected by the ActivityPub spec. See https://www.w3.org/TR/activitypub/#actor-objects for reference.
Accepts a config, and returns a map in the form expected by the ActivityPub spec. See https://www.w3.org/TR/activitypub/#actor-objects for reference.
(config {:keys [domain username name user-route public-key private-key]
:or {user-route "/users/" public-key nil private-key nil}})
Creates hash of computed data relevant for most ActivityPub utilities.
Creates hash of computed data relevant for most ActivityPub utilities.
Produces a map representing an ActivityPub object which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
Produces a map representing an ActivityPub object which can be serialized directly to JSON in the form expected by the ActivityStreams 2.0 spec. See https://www.w3.org/TR/activitystreams-vocabulary/ for reference.
(with-config config)
Returns curried forms of the #activity and #obj multimethods in the form {:activity ... :obj ...}, with the initial parameter set to config.
Returns curried forms of the #activity and #obj multimethods in the form {:activity ... :obj ...}, with the initial parameter set to config.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close