Expand description
Descriptor-driven list views.
A ListConfig describes a table and the columns to show. A generic handler
renders it, fetching rows with dynamic SQL built from the descriptor. This is
the first slice of the descriptor system: admin screens are data, rendered by
generic code, not hand-written per entity.
The admin is inherently generic, so unlike the typed, compile-time-checked
queries in laterite-auth, list queries are built and checked at runtime.
Structs§
- CellCx
- The per-cell state a column type renders from: the raw (text-cast) value, the display timezone, and the locale for date month/day names.
- CellVm
- A rendered cell’s serialisable payload: raw value, display text, and any richer data (a status pill’s slug), so an override presents the same data.
- List
Column - One column of a list view: the source field, its display label, and its column-type key (resolved through the column-type registry).
- List
Config - A list view descriptor: which table, which columns, default ordering, page size, and (optionally) where per-row edit links point.
- List
Page - Display-ready rows plus the total row count for the pager.
- List
Params - Query-string parameters for a list view.
- RowView
- One rendered row: its id (for edit links) and its display cells.
Enums§
Traits§
- Column
Type - A column type: how a list cell renders. The list counterpart of a field type,
sharing
Markupand the override resolver (Surface::Column).
Type Aliases§
- Column
Registry - The column-type registry, keyed by
ColumnType::view_key.