LayoutItemModel
LayoutItemModel =
SectionModel| {fields:string[];kind:"sidebar";when?:RecordWhen; } |RelatedModel|GroupModel|CustomSectionModel|MapSectionModel|GalleryModel|HistorySectionModel|CommentsSectionModel
Defined in: packages/schema/src/model.ts:807
An item of the record page (.layout((r) => ...) with l); see The record page.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ fields: string[]; kind: "sidebar"; when?: RecordWhen; }
fields
Section titled “fields”fields:
string[]
The fields it shows, in order.
kind:
"sidebar"
A read-only summary card beside the main column.
optionalwhen?:RecordWhen
Whether it shows on the form, the read view or both, or a condition on the saved record that it shows while it holds.