CPub.User.Outbox (CPub v0.3.0) View Source
A CPub.User
s outbox that can be used to post ActivityStream activities.
Link to this section Summary
Link to this section Types
Specs
recipients_map() :: %{required(RDF.IRI.t()) => RDF.Statement.object()}
Link to this section Functions
Specs
get(CPub.User.t()) :: {:ok, MapSet.t()} | {:error, any()}
Get activities of actor
.
Specs
merge_recipients(recipients_map(), recipients_map()) :: recipients_map()
Specs
post(CPub.User.t(), RDF.Graph.t()) :: {:ok, {ERIS.ReadCapability.t(), map()}} | {:error, any()}
Post activity in graph
on behalf of actor
.