View Source ValueFlows.Proposal.ProposedIntents (Bonfire v0.9.10-classic-beta.169)

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()}