View Source AshArchival.Resource.Info (ash_archival v1.0.2)
Introspection helpers for AshArchival.Resource
Summary
Functions
A list of relationships that should have all related items archived when this is archived. Notifications are not sent for this operation.
A list of relationships that should have all related items archived when this is archived. Notifications are not sent for this operation.
The attribute in which to store the archival flag (the current datetime).
The attribute in which to store the archival flag (the current datetime).
Whether or not a base filter exists that applies the is_nil(archived_at)
rule.
A destroy action or actions that should not archive, but instead be left alone. This allows for having a destroy or archive pattern.
A destroy action or actions that should not archive, but instead be left alone. This allows for having a destroy or archive pattern.
A read action or actions that should show archived items. They will not get the automatic is_nil(archived_at)
filter.
A read action or actions that should show archived items. They will not get the automatic is_nil(archived_at)
filter.
archive DSL options
Functions
The attribute in which to store the archival flag (the current datetime).
The attribute in which to store the archival flag (the current datetime).
Whether or not a base filter exists that applies the is_nil(archived_at)
rule.
@spec archive_exclude_destroy_actions(dsl_or_extended :: module() | map()) :: {:ok, [atom()]} | :error
A destroy action or actions that should not archive, but instead be left alone. This allows for having a destroy or archive pattern.
@spec archive_exclude_destroy_actions!(dsl_or_extended :: module() | map()) :: [atom()] | no_return()
A destroy action or actions that should not archive, but instead be left alone. This allows for having a destroy or archive pattern.
A read action or actions that should show archived items. They will not get the automatic is_nil(archived_at)
filter.
A read action or actions that should show archived items. They will not get the automatic is_nil(archived_at)
filter.
archive DSL options
Returns a map containing the and any configured or default values.