Skip to main content

Module list

Module list 

Source
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§

ListColumn
One column of a list view: the source field, its display label, and how the value is rendered.
ListConfig
A list view descriptor: which table, which columns, default ordering, page size, and (optionally) where per-row edit links point.
ListPage
Display-ready rows plus the total row count for the pager.
ListParams
Query-string parameters for a list view.
RowView
One rendered row: its id (for edit links) and its display cells.

Enums§

ColumnKind
How a list column’s raw value is rendered.
SortDir