View Source Bonfire.Files.Media (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Callback implementation for Bonfire.Common.SchemaModule.context_module/0
.
Callback implementation for Bonfire.Federate.ActivityPub.FederationModules.federation_module/0
.
Delete an upload, removing any associated files.
Callback implementation for Bonfire.Common.SchemaModule.query_module/0
.
Callback implementation for Bonfire.Common.SchemaModule.schema_module/0
.
Delete an upload, removing it from indexing, but the files remain available.
Types
Functions
Callback implementation for Bonfire.Common.SchemaModule.context_module/0
.
Callback implementation for Bonfire.Federate.ActivityPub.FederationModules.federation_module/0
.
@spec hard_delete(atom(), t()) :: :ok | {:error, Ecto.Changeset.t()}
Delete an upload, removing any associated files.
Callback implementation for Bonfire.Common.SchemaModule.query_module/0
.
Callback implementation for Bonfire.Common.SchemaModule.schema_module/0
.
@spec soft_delete(t()) :: {:ok, t()} | {:error, Ecto.Changeset.t()}
Delete an upload, removing it from indexing, but the files remain available.