RowValue
One row of a record `list` slot, derived from the declared `fields` record: the editor-stamped `id` — which every persisted row carries though `fields` never declares it — plus each declared field typed by its own definition.
One row of a record list slot, derived from the declared fields record:
the editor-stamped id — which every persisted row carries though fields
never declares it — plus each declared field typed by its own definition.
The shape is closed (no index signature), so an undeclared field is a
compile error.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type RowValue<I> = { id: string;} & { [K in keyof I]: SlotValue<I[K]>;};