View Source Bonfire.Quantify.Measures (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Callback implementation for Bonfire.Federate.ActivityPub.FederationModules.federation_module/0
.
Retrieves a list of collections by arbitrary filters. Used by
Retrieves a single collection by arbitrary filters. Used by
Functions
@spec create(any(), Bonfire.Quantify.Unit.t(), attrs :: map()) :: {:ok, Bonfire.Quantify.Measure.t()} | {:error, Changeset.t()}
Callback implementation for Bonfire.Federate.ActivityPub.FederationModules.federation_module/0
.
Retrieves a list of collections by arbitrary filters. Used by:
- Various parts of the codebase that need to query for collections (inc. tests)
Retrieves a single collection by arbitrary filters. Used by:
- GraphQL Item queries
- ActivityPub integration
- Various parts of the codebase that need to query for collections (inc. tests)
@spec update(Bonfire.Quantify.Measure.t(), attrs :: map()) :: {:ok, Bonfire.Quantify.Measure.t()} | {:error, Changeset.t()}