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§
- List
Column - One column of a list view: the source field, its display label, and how the value is rendered.
- 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§
- Column
Kind - How a list column’s raw value is rendered.
- SortDir