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