Skip to content

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.

{ component: string; focus?: boolean; }

component: string

The component, by the name protobase.ui.tsx exports it under.

optional focus?: boolean

Draws the component on a focus page, with the bar’s state, Save, the record’s actions and panels.


{ surface: string; }

surface: string

The field the page’s surface draws.


{ conversation: ConversationPageModel; }

conversation: ConversationPageModel

The record’s conversation, its whole page.