View Source ValueFlows.EconomicEvent.EconomicEvents (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
Link to this function

create(creator, event_attrs, extra_attrs \\ %{})

View Source

Create an event, and possibly linked resources

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

Link to this function

fields(group_fn, filters \\ [])

View Source
Link to this function

indexing_object_format(obj)

View Source
Link to this function

inputs_of(attrs, action_id \\ nil)

View Source

Retrieves a list of them by arbitrary filters. Used by:

  • Various parts of the codebase that need to query for this (inc. tests)

Retrieves a single one by arbitrary filters. Used by:

  • GraphQL Item queries
  • ActivityPub integration
  • Various parts of the codebase that need to query for this (inc. tests)
Link to this function

outputs_of(attrs, action_id \\ nil)

View Source
Link to this function

page(cursor_fn, page_opts, base_filters \\ [], data_filters \\ [], count_filters \\ [])

View Source

Retrieves an Page of events according to various filters

Used by:

  • GraphQL resolver single-parent resolution
Link to this function

pages(cursor_fn, group_fn, page_opts, base_filters \\ [], data_filters \\ [], count_filters \\ [])

View Source

Retrieves an Pages of events according to various filters

Used by:

  • GraphQL resolver bulk resolution
Link to this function

prepare_attrs(attrs, creator \\ nil)

View Source
Link to this function

prepare_create_attrs(attrs, creator \\ nil)

View Source
Link to this function

trace(event, recurse_limit \\ Util.default_recurse_limit(), recurse_counter \\ 0)

View Source

See ValueFlows.EconomicEvent.Trace.event/3.

Link to this function

track(event, recurse_limit \\ Util.default_recurse_limit(), recurse_counter \\ 0)

View Source

See ValueFlows.EconomicEvent.Track.event/3.

Link to this function

update(user, event, attrs)

View Source