RecordPageModel
RecordPageModel = {
component:string;focus?:boolean; } | {surface:string; } | {conversation:ConversationPageModel; }
Defined in: packages/schema/src/model.ts:1885
The record page as something else than the form (.record(...)): a component of the app’s own, filling the content
area, on a focus page with its bar and Save when focus; a focus page whose surface is one field, drawn by its
field type and saved by the framework; or the record’s conversation, filling the content area.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ component: string; focus?: boolean; }
component
Section titled “component”component:
string
The component, by the name protobase.ui.tsx exports it under.
focus?
Section titled “focus?”
optionalfocus?:boolean
Draws the component on a focus page, with the bar’s state, Save, the record’s actions and panels.
Type Literal
Section titled “Type Literal”{ surface: string; }
surface
Section titled “surface”surface:
string
The field the page’s surface draws.
Type Literal
Section titled “Type Literal”{ conversation: ConversationPageModel; }
conversation
Section titled “conversation”conversation:
ConversationPageModel
The record’s conversation, its whole page.