Expand description
What an app declares for each model in the panel: AdminResource,
with its AdminActions and Filters.
Structs§
- Action
Context - What an action’s code gets besides the records.
- Action
Input - What the user typed into an action’s form, already checked against the
form’s fields (
AdminAction::form). Money fields are in the currency’s smallest unit, toggles aretrueorfalse, and a field left empty is the empty text. - Admin
Action - An action of a resource’s list (Filament’s bulk actions): a button over
the selected rows that runs
runwith their records and shows the toast it returns. Withrow, each row’s menu has it too. - Filter
- A named filter over a resource’s list (Filament’s tabs and preset
filters), chosen with
?filter=key. - Save
Context - What a resource’s
savedhook gets besides the record.
Traits§
- Admin
Resource - A model in the admin panel (Filament’s resources), declared once: the
grid’s columns, the form’s fields, its filters and actions, and who may
do what (its
Policy).
Type Aliases§
- BoxFuture
- A boxed future that can be sent between threads, as an action returns.