For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
Article

definePageLayout headerEdits type reference

Inspect the exact accepted type for headerEdits in definePageLayout, including nested options and constraints.

Use with AI:Rippling AI ChatGPT Claude Cursor

The headerEdits property is an input to definePageLayout.

Header configuration — title and description fields.

HeaderEdits

Exact accepted type​

{ newTitleField?: string | NoInfer<O>["fields"][keyof NoInfer<O>["fields"]] | ObjectScoped<NoInfer<O>, Field> | null; titleFieldDeleted?: boolean; newDescriptionField?: string | NoInfer<O>["fields"][keyof NoInfer<O>["fields"]] | ObjectScoped<NoInfer<O>, Field> | null; descriptionFieldDeleted?: boolean; systemFieldEdits?: { [x: string]: { newRqlField?: string | NoInfer<O>["fields"][keyof NoInfer<O>["fields"]] | ObjectScoped<NoInfer<O>, Field> | null; deleted?: boolean; }; }; newFields?: { rqlName: string | NoInfer<O>["fields"][keyof NoInfer<O>["fields"]] | ObjectScoped<NoInfer<O>, Field>; key: HeaderFieldKey; canBeDeleted?: boolean; canBeChanged?: boolean; canBeMoved?: boolean; }[]; headerFieldsOrder?: FieldRqlName[]; headerFieldKeysOrder?: HeaderFieldKey[]; buttons?: JsonObject[]; }
TypeScript signature and generic parameters
definePageLayout<O extends ObjectReference>(object: O, props: PageLayoutOptions<NoInfer<O>>): DefinedPageLayout<O>;