The headerEdits property is an input to definePageLayout.
Header configuration — title and description fields.
Related declared shape
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>;