AshBackpex.LiveResource.Info (Ash Backpex v0.0.3)
View SourceSummary
Functions
The create action to be used when creating resources. Will default to the primary create action.
The create action to be used when creating resources. Will default to the primary create action.
Changeset to use when creating items. Additional metadata is passed as a keyword list via the third parameter
Changeset to use when creating items. Additional metadata is passed as a keyword list via the third parameter
The destroy action to be used when destroying resources. Will default to the primary destroy action.
The destroy action to be used when destroying resources. Will default to the primary destroy action.
backpex.fields DSL entities
backpex.filters DSL entities
backpex.item_actions DSL entities
backpex.item_actions DSL options
Default Backpex actions to remove from the live resource
Default Backpex actions to remove from the live resource
The liveview layout, e.g.: {MyAppWeb.Layouts, :admin}
The liveview layout, e.g.: {MyAppWeb.Layouts, :admin}
backpex DSL options
Any panels to be displayed in the admin create/edit forms.
Any panels to be displayed in the admin create/edit forms.
The plural label for the resource taht will appear i nthe admin. E.g., "Posts"
The plural label for the resource taht will appear i nthe admin. E.g., "Posts"
The read action to be used when reading resources. Will default to the primary read action.
The read action to be used when reading resources. Will default to the primary read action.
The Ash resource that the Backpex Live resource should be connect to.
The Ash resource that the Backpex Live resource should be connect to.
The singular label for the resource that will appear in the admin. E.g., "Post"
The singular label for the resource that will appear in the admin. E.g., "Post"
The update action to be used when updating resources. Will default to the primary update action.
The update action to be used when updating resources. Will default to the primary update action.
Changeset to use when updating items. Additional metadata is passed as a keyword list via the third parameter
Changeset to use when updating items. Additional metadata is passed as a keyword list via the third parameter
Functions
The create action to be used when creating resources. Will default to the primary create action.
The create action to be used when creating resources. Will default to the primary create action.
@spec backpex_create_changeset(dsl_or_extended :: module() | map()) :: {:ok, (any(), any(), any() -> any())} | :error
Changeset to use when creating items. Additional metadata is passed as a keyword list via the third parameter:
:assigns
- the assigns:target
- the name of theform
target that triggered the changeset call. Default tonil
if the call was not triggered by a form field.
@spec backpex_create_changeset!(dsl_or_extended :: module() | map()) :: (any(), any(), any() -> any()) | no_return()
Changeset to use when creating items. Additional metadata is passed as a keyword list via the third parameter:
:assigns
- the assigns:target
- the name of theform
target that triggered the changeset call. Default tonil
if the call was not triggered by a form field.
The destroy action to be used when destroying resources. Will default to the primary destroy action.
The destroy action to be used when destroying resources. Will default to the primary destroy action.
backpex.fields DSL entities
backpex.filters DSL entities
backpex.item_actions DSL entities
@spec backpex_item_actions_options(dsl_or_extended :: module() | map()) :: %{ required(atom()) => any() }
backpex.item_actions DSL options
Returns a map containing the and any configured or default values.
@spec backpex_item_actions_strip_default(dsl_or_extended :: module() | map()) :: {:ok, [atom()]} | :error
Default Backpex actions to remove from the live resource
@spec backpex_item_actions_strip_default!(dsl_or_extended :: module() | map()) :: [atom()] | no_return()
Default Backpex actions to remove from the live resource
The liveview layout, e.g.: {MyAppWeb.Layouts, :admin}
The liveview layout, e.g.: {MyAppWeb.Layouts, :admin}
backpex DSL options
Returns a map containing the and any configured or default values.
Any panels to be displayed in the admin create/edit forms.
Any panels to be displayed in the admin create/edit forms.
The plural label for the resource taht will appear i nthe admin. E.g., "Posts"
The plural label for the resource taht will appear i nthe admin. E.g., "Posts"
The read action to be used when reading resources. Will default to the primary read action.
The read action to be used when reading resources. Will default to the primary read action.
The Ash resource that the Backpex Live resource should be connect to.
The Ash resource that the Backpex Live resource should be connect to.
The singular label for the resource that will appear in the admin. E.g., "Post"
The singular label for the resource that will appear in the admin. E.g., "Post"
The update action to be used when updating resources. Will default to the primary update action.
The update action to be used when updating resources. Will default to the primary update action.
@spec backpex_update_changeset(dsl_or_extended :: module() | map()) :: {:ok, (any(), any(), any() -> any())} | :error
Changeset to use when updating items. Additional metadata is passed as a keyword list via the third parameter:
:assigns
- the assigns:target
- the name of theform
target that triggered the changeset call. Default tonil
if the call was not triggered by a form field.
@spec backpex_update_changeset!(dsl_or_extended :: module() | map()) :: (any(), any(), any() -> any()) | no_return()
Changeset to use when updating items. Additional metadata is passed as a keyword list via the third parameter:
:assigns
- the assigns:target
- the name of theform
target that triggered the changeset call. Default tonil
if the call was not triggered by a form field.