View Source ValueFlows.Proposal.ProposedIntents (bonfire_umbrella v0.9.10-cooperation-beta.62)

Summary

Functions

Link to this function

ap_publish_activity(subject, activity_name, thing)

View Source
Link to this function

ap_receive_activity(creator, activity, object)

View Source

Callback implementation for Bonfire.Federate.ActivityPub.FederationModules.federation_module/0.

@spec many(filters :: [any()]) ::
  {:ok, [ValueFlows.Proposal.ProposedIntent.t()]} | {:error, term()}
@spec one(filters :: [any()]) ::
  {:ok, ValueFlows.Proposal.ProposedIntent.t()} | {:error, term()}
Link to this function

propose_intent(proposal, intent, attrs)

View Source
@spec propose_intent(ValueFlows.Proposal.t(), ValueFlows.Planning.Intent.t(), map()) ::
  {:ok, ValueFlows.Proposal.ProposedIntent.t()} | {:error, term()}