View Source ValueFlows.Knowledge.ResourceSpecification.ResourceSpecifications (Bonfire v0.9.10-classic-beta.156)

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
@spec create(any(), attrs :: map()) ::
  {:ok, ValueFlows.Knowledge.ResourceSpecification.t()}
  | {:error, Changeset.t()}

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

Link to this function

indexing_object_format(obj)

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

soft_delete(resource_spec)

View Source
Link to this function

update(resource_spec, attrs)

View Source