Home > @polyspec/crudui-generator-core > ListViewModel
ListViewModel interface
The fully-evaluated, markup-free description of a list (SPEC §9.3).
Signature:
export interface ListViewModel
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ActionVM[] |
Resolved list actions (declaration order). | ||
|
ColumnVM[] |
Visible columns (declaration order; | ||
|
string |
The translated list description; empty text when none is declared. | ||
|
Resolved list-container design. | |||
|
string |
The declared empty-list text, or the interface message when none is declared. | ||
|
Pagination declaration with the current page and total. | |||
|
RowVM[] |
Resolved rows (one cell per visible column). | ||
|
(Optional) Current sort declaration, or undefined when none. |