@rippling/rippling-sdk 0.2.0-alpha.49 → 0.2.0-alpha.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/manifest/custom-object-page-layout.d.mts +148 -34
  2. package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
  3. package/lib/manifest/custom-object-page-layout.d.ts +148 -34
  4. package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
  5. package/lib/manifest/custom-object-page-layout.js +61 -18
  6. package/lib/manifest/custom-object-page-layout.js.map +1 -1
  7. package/lib/manifest/custom-object-page-layout.mjs +61 -18
  8. package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
  9. package/lib/manifest/custom-object.d.mts +1 -1
  10. package/lib/manifest/custom-object.d.ts +1 -1
  11. package/lib/manifest/custom-object.js +1 -1
  12. package/lib/manifest/custom-object.mjs +1 -1
  13. package/lib/manifest/field.d.mts +3 -3
  14. package/lib/manifest/field.d.ts +3 -3
  15. package/lib/manifest/field.js +2 -2
  16. package/lib/manifest/field.mjs +2 -2
  17. package/lib/manifest/index.d.mts +1 -1
  18. package/lib/manifest/index.d.mts.map +1 -1
  19. package/lib/manifest/index.d.ts +1 -1
  20. package/lib/manifest/index.d.ts.map +1 -1
  21. package/lib/manifest/index.js.map +1 -1
  22. package/lib/manifest/index.mjs.map +1 -1
  23. package/lib/sdui/components.d.mts +100 -211
  24. package/lib/sdui/components.d.mts.map +1 -1
  25. package/lib/sdui/components.d.ts +100 -211
  26. package/lib/sdui/components.d.ts.map +1 -1
  27. package/lib/sdui/components.js +96 -182
  28. package/lib/sdui/components.js.map +1 -1
  29. package/lib/sdui/components.mjs +93 -178
  30. package/lib/sdui/components.mjs.map +1 -1
  31. package/lib/sdui/index.d.mts +12 -52
  32. package/lib/sdui/index.d.mts.map +1 -1
  33. package/lib/sdui/index.d.ts +12 -52
  34. package/lib/sdui/index.d.ts.map +1 -1
  35. package/lib/sdui/index.js +10 -50
  36. package/lib/sdui/index.js.map +1 -1
  37. package/lib/sdui/index.mjs +5 -25
  38. package/lib/sdui/index.mjs.map +1 -1
  39. package/lib/sdui/propTypes.d.mts +3156 -3515
  40. package/lib/sdui/propTypes.d.mts.map +1 -1
  41. package/lib/sdui/propTypes.d.ts +3156 -3515
  42. package/lib/sdui/propTypes.d.ts.map +1 -1
  43. package/lib/sdui/propTypes.js +1 -1
  44. package/lib/sdui/propTypes.mjs +1 -1
  45. package/package.json +1 -1
  46. package/src/lib/manifest/custom-object-page-layout.ts +294 -79
  47. package/src/lib/manifest/custom-object.ts +1 -1
  48. package/src/lib/manifest/field.ts +3 -3
  49. package/src/lib/manifest/index.ts +27 -0
  50. package/src/lib/sdui/components.ts +181 -332
  51. package/src/lib/sdui/index.ts +13 -93
  52. package/src/lib/sdui/propTypes.ts +3509 -3892
  53. package/src/version.ts +1 -1
  54. package/version.d.mts +1 -1
  55. package/version.d.ts +1 -1
  56. package/version.js +1 -1
  57. package/version.mjs +1 -1
@@ -7,10 +7,25 @@ export interface PageLayoutDeletionIdentifier {
7
7
  layoutId: string;
8
8
  objectRqlName: string;
9
9
  }
10
+ export type ObjectRqlName = string;
11
+ export type BlueprintKey = string;
12
+ export type LayoutApiName = string;
13
+ export type TabKey = string;
14
+ export type SectionKey = string;
15
+ export type HeaderFieldKey = string;
16
+ export type FieldRqlName = string;
17
+ export type RelatedObjectRqlName = string;
18
+ export type CanvasCompositionId = string;
19
+ export type HeaderButtonKey = string;
20
+ export type JsonPrimitive = string | number | boolean | null;
21
+ export type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
22
+ export interface JsonObject {
23
+ [key: string]: JsonValue;
24
+ }
10
25
  /** Edit to a built-in (system) header field. */
11
26
  export interface SystemHeaderFieldEdit {
12
27
  /** Replace the system field's RQL field reference. Optional. */
13
- newRqlField?: string;
28
+ newRqlField?: FieldRqlName;
14
29
  /** Remove this system field from the header. Optional. */
15
30
  deleted?: boolean;
16
31
  }
@@ -22,9 +37,9 @@ export interface SystemHeaderFieldEdit {
22
37
  */
23
38
  export interface NewHeaderField {
24
39
  /** RQL field name to display. Required. */
25
- rqlName: string;
40
+ rqlName: FieldRqlName;
26
41
  /** Stable key for this field. Required. */
27
- key: string;
42
+ key: HeaderFieldKey;
28
43
  /** Whether the user can remove this field. Optional. */
29
44
  canBeDeleted?: boolean;
30
45
  /** Whether the user can swap this field for another. Optional. */
@@ -43,21 +58,30 @@ export interface NewHeaderField {
43
58
  */
44
59
  export interface HeaderEdits {
45
60
  /** Replace the record title field (pass the field's api_name). Optional. */
46
- newTitleField?: string | null;
61
+ newTitleField?: FieldRqlName;
47
62
  /** Remove the title field from the header. Optional. */
48
63
  titleFieldDeleted?: boolean;
49
64
  /** Replace the record description field. Optional. */
50
- newDescriptionField?: string | null;
65
+ newDescriptionField?: FieldRqlName;
51
66
  /** Remove the description field from the header. Optional. */
52
67
  descriptionFieldDeleted?: boolean;
53
68
  /** Edits to built-in system header fields, keyed by system field key. Optional. */
54
- systemFieldEdits?: Record<string, SystemHeaderFieldEdit>;
69
+ systemFieldEdits?: Record<HeaderFieldKey, SystemHeaderFieldEdit>;
55
70
  /** Additional custom fields to add to the header. Optional. */
56
71
  newFields?: NewHeaderField[];
57
72
  /** Ordered list of header field RQL names. Custom header keys are accepted and converted. Optional. */
58
- headerFieldsOrder?: string[];
73
+ headerFieldsOrder?: FieldRqlName[];
59
74
  /** Action button keys to show in the header. Optional. */
60
- buttons?: string[];
75
+ buttons?: HeaderButtonKey[];
76
+ }
77
+ export type SectionFieldsLayout = 'one_column' | 'two_column' | 'three_column' | 'responsive';
78
+ export type TabLayout = 'vertical' | 'horizontal';
79
+ export type SectionMovementOption = 'static' | 'tab' | 'free';
80
+ export type FieldMovementOption = 'tab' | 'free';
81
+ export type CustomObjectCustomSectionComponentKey = 'attachments' | 'comments';
82
+ /** Default value wrapper used by `SectionField.defaultValue`. */
83
+ export interface SectionFieldDefaultValue {
84
+ value: JsonValue;
61
85
  }
62
86
  /** Options for one field entry inside a `fields_section`. */
63
87
  export interface SectionFieldOptions {
@@ -65,18 +89,39 @@ export interface SectionFieldOptions {
65
89
  hidden?: boolean;
66
90
  /** Allow inline editing of this field. Optional. */
67
91
  editable?: boolean;
92
+ /** Render this field read-only. Optional. */
93
+ readOnly?: boolean;
94
+ /** Default value metadata for the field. Optional. */
95
+ defaultValue?: SectionFieldDefaultValue;
96
+ /** Rich-text field height. Optional. */
97
+ height?: number;
98
+ /** Whether the layout manager can remove this field. Optional. */
99
+ canBeDeleted?: boolean;
68
100
  /** Controls how the field can be moved in the UI. Optional. */
69
- movementOption?: 'tab' | 'free';
101
+ movementOption?: FieldMovementOption;
70
102
  }
71
103
  /** A typed field entry inside a `fields_section`. */
72
- export interface SectionFieldRef extends SectionFieldOptions {
104
+ export interface SectionField extends SectionFieldOptions {
73
105
  /** Field to display. Required. */
74
106
  field: Field;
75
107
  }
108
+ /** @deprecated Use `SectionField` for object entries or `SectionFieldInput` for field arrays. */
109
+ export type SectionFieldRef = SectionField;
76
110
  /** One field entry inside a `fields_section`. */
77
- export type SectionField = Field | SectionFieldRef;
111
+ export type SectionFieldInput = Field | SectionField;
112
+ /** Common edit controls for sections. */
113
+ export interface PageLayoutSectionOptions {
114
+ /** Whether the layout manager can delete this section. Optional. */
115
+ canBeDeleted?: boolean;
116
+ /** Whether the layout manager can rename this section. Optional. */
117
+ canBeRenamed?: boolean;
118
+ /** Controls how the section can be moved. Optional. */
119
+ movementOption?: SectionMovementOption;
120
+ /** Hide the section title. Optional. */
121
+ hideName?: boolean;
122
+ }
78
123
  /** A standard field-grid section inside a tab. */
79
- export interface FieldsSection {
124
+ export interface FieldsSection extends PageLayoutSectionOptions {
80
125
  type: 'fields_section';
81
126
  /** Field section metadata for the fields displayed in this layout section. Required. */
82
127
  section: CustomObjectFieldSection;
@@ -85,22 +130,90 @@ export interface FieldsSection {
85
130
  /** Display name of the layout section. Optional. Defaults to the field section name. */
86
131
  name?: string;
87
132
  /** Fields to display in this section. Required. */
88
- fields: SectionField[];
133
+ fields: SectionFieldInput[];
89
134
  /** Column layout for the fields. Optional. @default `'responsive'` (backend default). */
90
135
  layout?: SectionFieldsLayout;
91
136
  }
92
- /**
93
- * A section inside a page layout tab.
94
- *
95
- * Only `fields_section` is modeled today. Add other section types
96
- * (`related_object_section`, `custom_section`, …) explicitly as needed.
97
- */
98
- export type PageLayoutSection = FieldsSection;
137
+ export interface RelatedObjectSection extends PageLayoutSectionOptions {
138
+ type: 'related_object_section';
139
+ /** Stable layout section key. Required. */
140
+ key: SectionKey;
141
+ /** Display name of the layout section. Required. */
142
+ name: string;
143
+ /** Related object whose records point back to this custom object. Required. */
144
+ relatedObjectRqlName: RelatedObjectRqlName;
145
+ /** Field on the related object that points back to this custom object. Required. */
146
+ relatedFieldRqlName: FieldRqlName;
147
+ /** Field RQL names to display for related records. Required. */
148
+ fields: FieldRqlName[];
149
+ }
150
+ export interface RelatedFieldSection extends PageLayoutSectionOptions {
151
+ type: 'related_field_section';
152
+ /** Stable layout section key. Required. */
153
+ key: SectionKey;
154
+ /** Display name of the layout section. Required. */
155
+ name: string;
156
+ /** Related object reached from this custom object. Required. */
157
+ relatedObjectRqlName: RelatedObjectRqlName;
158
+ /** Field on this custom object that points to the related object. Required. */
159
+ relatedFieldRqlName: FieldRqlName;
160
+ /** Field RQL names to display from the related object. Required. */
161
+ fields: FieldRqlName[];
162
+ /** Column layout for the fields. Optional. @default `'responsive'` (backend default). */
163
+ layout?: SectionFieldsLayout;
164
+ }
165
+ export interface CustomSection extends PageLayoutSectionOptions {
166
+ type: 'custom_section';
167
+ /** Stable layout section key. Required. */
168
+ key: SectionKey;
169
+ /** Display name of the layout section. Required. */
170
+ name: string;
171
+ /** Custom object section component key. Required. */
172
+ componentKey: CustomObjectCustomSectionComponentKey;
173
+ }
174
+ export interface ResizableLayoutPosition {
175
+ identifier: string;
176
+ width: number;
177
+ height: number;
178
+ minWidth?: number;
179
+ minHeight?: number;
180
+ maxWidth?: number;
181
+ maxHeight?: number;
182
+ }
183
+ export interface ReportsSectionItem {
184
+ key: string;
185
+ reportId: string;
186
+ position: ResizableLayoutPosition;
187
+ contextualFieldAttrName?: FieldRqlName;
188
+ visualizationType?: string;
189
+ }
190
+ export interface ReportsSection extends PageLayoutSectionOptions {
191
+ type: 'reports_section';
192
+ /** Stable layout section key. Required. */
193
+ key: SectionKey;
194
+ /** Display name of the layout section. Required. */
195
+ name: string;
196
+ /** Reports to display in this section. Required. */
197
+ reports: ReportsSectionItem[];
198
+ }
199
+ export interface CanvasSection extends PageLayoutSectionOptions {
200
+ type: 'canvas_section';
201
+ /** Stable layout section key. Required. */
202
+ key: SectionKey;
203
+ /** Display name of the layout section. Required. */
204
+ name: string;
205
+ /** Canvas composition to render. Required. */
206
+ canvasCompositionId: CanvasCompositionId;
207
+ /** Composition input name to field or state path mapping. Optional. */
208
+ inputMapping?: Record<string, string>;
209
+ }
210
+ /** A section inside a page layout tab. */
211
+ export type PageLayoutSection = FieldsSection | RelatedObjectSection | RelatedFieldSection | CustomSection | ReportsSection | CanvasSection;
99
212
  /** A tab that contains one or more field-grid sections. */
100
213
  export interface TabWithSections {
101
214
  type: 'tab_with_sections';
102
215
  /** Stable key for this tab. Required. */
103
- key: string;
216
+ key: TabKey;
104
217
  /** Display name of the tab. Required. */
105
218
  name: string;
106
219
  /** Sections inside this tab. Required. */
@@ -110,7 +223,7 @@ export interface TabWithSections {
110
223
  export interface CustomTab {
111
224
  type: 'custom_tab';
112
225
  /** Stable key for this tab. Required. */
113
- key: string;
226
+ key: TabKey;
114
227
  /** Display name of the tab. Required. */
115
228
  name: string;
116
229
  /** Key of the custom component to render. Required. */
@@ -119,7 +232,6 @@ export interface CustomTab {
119
232
  /** A tab entry in a page layout — either a sections-based tab or a custom component tab. */
120
233
  export type PageLayoutTab = TabWithSections | CustomTab;
121
234
  /** Column layout for a `fields_section`. */
122
- export type SectionFieldsLayout = 'one_column' | 'two_column' | 'three_column' | 'responsive';
123
235
  /** Edits to a built-in section inside a system tab. */
124
236
  export interface SystemSectionEdit {
125
237
  /** Rename this section. Optional. */
@@ -129,7 +241,7 @@ export interface SystemSectionEdit {
129
241
  /** Change the column layout. Optional. */
130
242
  newLayout?: SectionFieldsLayout;
131
243
  /** Add fields to this section. Optional. */
132
- newFields?: SectionField[];
244
+ newFields?: SectionFieldInput[];
133
245
  /** Hide the section name header. Optional. */
134
246
  newHideName?: boolean;
135
247
  }
@@ -142,9 +254,9 @@ export interface SystemTabEdit {
142
254
  /** Add new sections to this tab. Optional. */
143
255
  newSections?: PageLayoutSection[];
144
256
  /** Edits to built-in sections inside this tab, keyed by section key. Optional. */
145
- systemSectionEdits?: Record<string, SystemSectionEdit>;
257
+ systemSectionEdits?: Record<SectionKey, SystemSectionEdit>;
146
258
  /** Reorder sections by key. Optional. */
147
- sectionsOrder?: string[];
259
+ sectionsOrder?: SectionKey[];
148
260
  }
149
261
  /**
150
262
  * Tab structure configuration for a page layout (`tab_edits`).
@@ -158,11 +270,11 @@ export interface TabEdits {
158
270
  /** New tabs to add to this layout. Each must include a `type` discriminator. Optional. */
159
271
  newTabs?: PageLayoutTab[];
160
272
  /** Edits to existing system tabs, keyed by tab key. Optional. */
161
- systemTabEdits?: Record<string, SystemTabEdit>;
273
+ systemTabEdits?: Record<TabKey, SystemTabEdit>;
162
274
  /** Ordered list of tab `key` values (new + system). Optional. */
163
- tabsOrder?: string[];
275
+ tabsOrder?: TabKey[];
164
276
  /** Tab strip orientation. Optional. */
165
- newTabLayout?: 'vertical' | 'horizontal';
277
+ newTabLayout?: TabLayout;
166
278
  }
167
279
  /**
168
280
  * A single visibility condition applied to a section or tab.
@@ -174,7 +286,7 @@ export interface VisibilityCondition {
174
286
  /** RQL formula that controls visibility. Required. */
175
287
  rqlFormula: string;
176
288
  /** Layered conditions tree (AST). Required. */
177
- layeredConditionsTree: Record<string, any>;
289
+ layeredConditionsTree: JsonObject;
178
290
  }
179
291
  /**
180
292
  * Visibility conditions for sections and tabs on a page layout.
@@ -183,9 +295,9 @@ export interface VisibilityCondition {
183
295
  */
184
296
  export interface VisibilityConditions {
185
297
  /** Per-section visibility conditions, keyed by section key. Optional. */
186
- sections?: Record<string, VisibilityCondition>;
298
+ sections?: Record<SectionKey, VisibilityCondition>;
187
299
  /** Per-tab visibility conditions, keyed by tab key. Optional. */
188
- tabs?: Record<string, VisibilityCondition>;
300
+ tabs?: Record<TabKey, VisibilityCondition>;
189
301
  }
190
302
  /** Where to insert a new layout item. Defaults to `'end'`. */
191
303
  export type PageLayoutMutationPosition = 'start' | 'end' | number;
@@ -519,11 +631,13 @@ export declare class CustomObjectPageLayout {
519
631
  /** Removes custom header fields from `header_edits.newFields`. */
520
632
  removeHeaderField(fieldOrKey: Field | string, options?: RemoveHeaderFieldOptions): this;
521
633
  /** Sets the record title field in `header_edits`. */
522
- setTitleField(field: Field | string | null): this;
634
+ setTitleField(field: Field): this;
635
+ setTitleField(fieldApiName: FieldRqlName): this;
523
636
  /** Removes the record title field from the header. */
524
637
  removeTitleField(): this;
525
638
  /** Sets the record description field in `header_edits`. */
526
- setDescriptionField(field: Field | string | null): this;
639
+ setDescriptionField(field: Field): this;
640
+ setDescriptionField(fieldApiName: FieldRqlName): this;
527
641
  /** Removes the record description field from the header. */
528
642
  removeDescriptionField(): this;
529
643
  private ensureTabsOrder;
@@ -1 +1 @@
1
- {"version":3,"file":"custom-object-page-layout.d.mts","sourceRoot":"","sources":["../../src/lib/manifest/custom-object-page-layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,0CAAsC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,4BAAwB;AACpD,OAAO,EAA8B,KAAK,8BAA8B,EAAE,wCAAoC;AAC9G,OAAO,KAAK,EAAE,KAAK,EAAE,oBAAgB;AACrC,OAAO,KAAK,EAAE,yBAAyB,EAAE,+BAA2B;AAGpE,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,M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AC1B,KAAK,GAAE;QACL,OAAO,CAAC,EAAE,wBAAwB,CAAC;QACnC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;KACb,GACL,sBAAsB;CAyD1B"}
@@ -7,10 +7,25 @@ export interface PageLayoutDeletionIdentifier {
7
7
  layoutId: string;
8
8
  objectRqlName: string;
9
9
  }
10
+ export type ObjectRqlName = string;
11
+ export type BlueprintKey = string;
12
+ export type LayoutApiName = string;
13
+ export type TabKey = string;
14
+ export type SectionKey = string;
15
+ export type HeaderFieldKey = string;
16
+ export type FieldRqlName = string;
17
+ export type RelatedObjectRqlName = string;
18
+ export type CanvasCompositionId = string;
19
+ export type HeaderButtonKey = string;
20
+ export type JsonPrimitive = string | number | boolean | null;
21
+ export type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
22
+ export interface JsonObject {
23
+ [key: string]: JsonValue;
24
+ }
10
25
  /** Edit to a built-in (system) header field. */
11
26
  export interface SystemHeaderFieldEdit {
12
27
  /** Replace the system field's RQL field reference. Optional. */
13
- newRqlField?: string;
28
+ newRqlField?: FieldRqlName;
14
29
  /** Remove this system field from the header. Optional. */
15
30
  deleted?: boolean;
16
31
  }
@@ -22,9 +37,9 @@ export interface SystemHeaderFieldEdit {
22
37
  */
23
38
  export interface NewHeaderField {
24
39
  /** RQL field name to display. Required. */
25
- rqlName: string;
40
+ rqlName: FieldRqlName;
26
41
  /** Stable key for this field. Required. */
27
- key: string;
42
+ key: HeaderFieldKey;
28
43
  /** Whether the user can remove this field. Optional. */
29
44
  canBeDeleted?: boolean;
30
45
  /** Whether the user can swap this field for another. Optional. */
@@ -43,21 +58,30 @@ export interface NewHeaderField {
43
58
  */
44
59
  export interface HeaderEdits {
45
60
  /** Replace the record title field (pass the field's api_name). Optional. */
46
- newTitleField?: string | null;
61
+ newTitleField?: FieldRqlName;
47
62
  /** Remove the title field from the header. Optional. */
48
63
  titleFieldDeleted?: boolean;
49
64
  /** Replace the record description field. Optional. */
50
- newDescriptionField?: string | null;
65
+ newDescriptionField?: FieldRqlName;
51
66
  /** Remove the description field from the header. Optional. */
52
67
  descriptionFieldDeleted?: boolean;
53
68
  /** Edits to built-in system header fields, keyed by system field key. Optional. */
54
- systemFieldEdits?: Record<string, SystemHeaderFieldEdit>;
69
+ systemFieldEdits?: Record<HeaderFieldKey, SystemHeaderFieldEdit>;
55
70
  /** Additional custom fields to add to the header. Optional. */
56
71
  newFields?: NewHeaderField[];
57
72
  /** Ordered list of header field RQL names. Custom header keys are accepted and converted. Optional. */
58
- headerFieldsOrder?: string[];
73
+ headerFieldsOrder?: FieldRqlName[];
59
74
  /** Action button keys to show in the header. Optional. */
60
- buttons?: string[];
75
+ buttons?: HeaderButtonKey[];
76
+ }
77
+ export type SectionFieldsLayout = 'one_column' | 'two_column' | 'three_column' | 'responsive';
78
+ export type TabLayout = 'vertical' | 'horizontal';
79
+ export type SectionMovementOption = 'static' | 'tab' | 'free';
80
+ export type FieldMovementOption = 'tab' | 'free';
81
+ export type CustomObjectCustomSectionComponentKey = 'attachments' | 'comments';
82
+ /** Default value wrapper used by `SectionField.defaultValue`. */
83
+ export interface SectionFieldDefaultValue {
84
+ value: JsonValue;
61
85
  }
62
86
  /** Options for one field entry inside a `fields_section`. */
63
87
  export interface SectionFieldOptions {
@@ -65,18 +89,39 @@ export interface SectionFieldOptions {
65
89
  hidden?: boolean;
66
90
  /** Allow inline editing of this field. Optional. */
67
91
  editable?: boolean;
92
+ /** Render this field read-only. Optional. */
93
+ readOnly?: boolean;
94
+ /** Default value metadata for the field. Optional. */
95
+ defaultValue?: SectionFieldDefaultValue;
96
+ /** Rich-text field height. Optional. */
97
+ height?: number;
98
+ /** Whether the layout manager can remove this field. Optional. */
99
+ canBeDeleted?: boolean;
68
100
  /** Controls how the field can be moved in the UI. Optional. */
69
- movementOption?: 'tab' | 'free';
101
+ movementOption?: FieldMovementOption;
70
102
  }
71
103
  /** A typed field entry inside a `fields_section`. */
72
- export interface SectionFieldRef extends SectionFieldOptions {
104
+ export interface SectionField extends SectionFieldOptions {
73
105
  /** Field to display. Required. */
74
106
  field: Field;
75
107
  }
108
+ /** @deprecated Use `SectionField` for object entries or `SectionFieldInput` for field arrays. */
109
+ export type SectionFieldRef = SectionField;
76
110
  /** One field entry inside a `fields_section`. */
77
- export type SectionField = Field | SectionFieldRef;
111
+ export type SectionFieldInput = Field | SectionField;
112
+ /** Common edit controls for sections. */
113
+ export interface PageLayoutSectionOptions {
114
+ /** Whether the layout manager can delete this section. Optional. */
115
+ canBeDeleted?: boolean;
116
+ /** Whether the layout manager can rename this section. Optional. */
117
+ canBeRenamed?: boolean;
118
+ /** Controls how the section can be moved. Optional. */
119
+ movementOption?: SectionMovementOption;
120
+ /** Hide the section title. Optional. */
121
+ hideName?: boolean;
122
+ }
78
123
  /** A standard field-grid section inside a tab. */
79
- export interface FieldsSection {
124
+ export interface FieldsSection extends PageLayoutSectionOptions {
80
125
  type: 'fields_section';
81
126
  /** Field section metadata for the fields displayed in this layout section. Required. */
82
127
  section: CustomObjectFieldSection;
@@ -85,22 +130,90 @@ export interface FieldsSection {
85
130
  /** Display name of the layout section. Optional. Defaults to the field section name. */
86
131
  name?: string;
87
132
  /** Fields to display in this section. Required. */
88
- fields: SectionField[];
133
+ fields: SectionFieldInput[];
89
134
  /** Column layout for the fields. Optional. @default `'responsive'` (backend default). */
90
135
  layout?: SectionFieldsLayout;
91
136
  }
92
- /**
93
- * A section inside a page layout tab.
94
- *
95
- * Only `fields_section` is modeled today. Add other section types
96
- * (`related_object_section`, `custom_section`, …) explicitly as needed.
97
- */
98
- export type PageLayoutSection = FieldsSection;
137
+ export interface RelatedObjectSection extends PageLayoutSectionOptions {
138
+ type: 'related_object_section';
139
+ /** Stable layout section key. Required. */
140
+ key: SectionKey;
141
+ /** Display name of the layout section. Required. */
142
+ name: string;
143
+ /** Related object whose records point back to this custom object. Required. */
144
+ relatedObjectRqlName: RelatedObjectRqlName;
145
+ /** Field on the related object that points back to this custom object. Required. */
146
+ relatedFieldRqlName: FieldRqlName;
147
+ /** Field RQL names to display for related records. Required. */
148
+ fields: FieldRqlName[];
149
+ }
150
+ export interface RelatedFieldSection extends PageLayoutSectionOptions {
151
+ type: 'related_field_section';
152
+ /** Stable layout section key. Required. */
153
+ key: SectionKey;
154
+ /** Display name of the layout section. Required. */
155
+ name: string;
156
+ /** Related object reached from this custom object. Required. */
157
+ relatedObjectRqlName: RelatedObjectRqlName;
158
+ /** Field on this custom object that points to the related object. Required. */
159
+ relatedFieldRqlName: FieldRqlName;
160
+ /** Field RQL names to display from the related object. Required. */
161
+ fields: FieldRqlName[];
162
+ /** Column layout for the fields. Optional. @default `'responsive'` (backend default). */
163
+ layout?: SectionFieldsLayout;
164
+ }
165
+ export interface CustomSection extends PageLayoutSectionOptions {
166
+ type: 'custom_section';
167
+ /** Stable layout section key. Required. */
168
+ key: SectionKey;
169
+ /** Display name of the layout section. Required. */
170
+ name: string;
171
+ /** Custom object section component key. Required. */
172
+ componentKey: CustomObjectCustomSectionComponentKey;
173
+ }
174
+ export interface ResizableLayoutPosition {
175
+ identifier: string;
176
+ width: number;
177
+ height: number;
178
+ minWidth?: number;
179
+ minHeight?: number;
180
+ maxWidth?: number;
181
+ maxHeight?: number;
182
+ }
183
+ export interface ReportsSectionItem {
184
+ key: string;
185
+ reportId: string;
186
+ position: ResizableLayoutPosition;
187
+ contextualFieldAttrName?: FieldRqlName;
188
+ visualizationType?: string;
189
+ }
190
+ export interface ReportsSection extends PageLayoutSectionOptions {
191
+ type: 'reports_section';
192
+ /** Stable layout section key. Required. */
193
+ key: SectionKey;
194
+ /** Display name of the layout section. Required. */
195
+ name: string;
196
+ /** Reports to display in this section. Required. */
197
+ reports: ReportsSectionItem[];
198
+ }
199
+ export interface CanvasSection extends PageLayoutSectionOptions {
200
+ type: 'canvas_section';
201
+ /** Stable layout section key. Required. */
202
+ key: SectionKey;
203
+ /** Display name of the layout section. Required. */
204
+ name: string;
205
+ /** Canvas composition to render. Required. */
206
+ canvasCompositionId: CanvasCompositionId;
207
+ /** Composition input name to field or state path mapping. Optional. */
208
+ inputMapping?: Record<string, string>;
209
+ }
210
+ /** A section inside a page layout tab. */
211
+ export type PageLayoutSection = FieldsSection | RelatedObjectSection | RelatedFieldSection | CustomSection | ReportsSection | CanvasSection;
99
212
  /** A tab that contains one or more field-grid sections. */
100
213
  export interface TabWithSections {
101
214
  type: 'tab_with_sections';
102
215
  /** Stable key for this tab. Required. */
103
- key: string;
216
+ key: TabKey;
104
217
  /** Display name of the tab. Required. */
105
218
  name: string;
106
219
  /** Sections inside this tab. Required. */
@@ -110,7 +223,7 @@ export interface TabWithSections {
110
223
  export interface CustomTab {
111
224
  type: 'custom_tab';
112
225
  /** Stable key for this tab. Required. */
113
- key: string;
226
+ key: TabKey;
114
227
  /** Display name of the tab. Required. */
115
228
  name: string;
116
229
  /** Key of the custom component to render. Required. */
@@ -119,7 +232,6 @@ export interface CustomTab {
119
232
  /** A tab entry in a page layout — either a sections-based tab or a custom component tab. */
120
233
  export type PageLayoutTab = TabWithSections | CustomTab;
121
234
  /** Column layout for a `fields_section`. */
122
- export type SectionFieldsLayout = 'one_column' | 'two_column' | 'three_column' | 'responsive';
123
235
  /** Edits to a built-in section inside a system tab. */
124
236
  export interface SystemSectionEdit {
125
237
  /** Rename this section. Optional. */
@@ -129,7 +241,7 @@ export interface SystemSectionEdit {
129
241
  /** Change the column layout. Optional. */
130
242
  newLayout?: SectionFieldsLayout;
131
243
  /** Add fields to this section. Optional. */
132
- newFields?: SectionField[];
244
+ newFields?: SectionFieldInput[];
133
245
  /** Hide the section name header. Optional. */
134
246
  newHideName?: boolean;
135
247
  }
@@ -142,9 +254,9 @@ export interface SystemTabEdit {
142
254
  /** Add new sections to this tab. Optional. */
143
255
  newSections?: PageLayoutSection[];
144
256
  /** Edits to built-in sections inside this tab, keyed by section key. Optional. */
145
- systemSectionEdits?: Record<string, SystemSectionEdit>;
257
+ systemSectionEdits?: Record<SectionKey, SystemSectionEdit>;
146
258
  /** Reorder sections by key. Optional. */
147
- sectionsOrder?: string[];
259
+ sectionsOrder?: SectionKey[];
148
260
  }
149
261
  /**
150
262
  * Tab structure configuration for a page layout (`tab_edits`).
@@ -158,11 +270,11 @@ export interface TabEdits {
158
270
  /** New tabs to add to this layout. Each must include a `type` discriminator. Optional. */
159
271
  newTabs?: PageLayoutTab[];
160
272
  /** Edits to existing system tabs, keyed by tab key. Optional. */
161
- systemTabEdits?: Record<string, SystemTabEdit>;
273
+ systemTabEdits?: Record<TabKey, SystemTabEdit>;
162
274
  /** Ordered list of tab `key` values (new + system). Optional. */
163
- tabsOrder?: string[];
275
+ tabsOrder?: TabKey[];
164
276
  /** Tab strip orientation. Optional. */
165
- newTabLayout?: 'vertical' | 'horizontal';
277
+ newTabLayout?: TabLayout;
166
278
  }
167
279
  /**
168
280
  * A single visibility condition applied to a section or tab.
@@ -174,7 +286,7 @@ export interface VisibilityCondition {
174
286
  /** RQL formula that controls visibility. Required. */
175
287
  rqlFormula: string;
176
288
  /** Layered conditions tree (AST). Required. */
177
- layeredConditionsTree: Record<string, any>;
289
+ layeredConditionsTree: JsonObject;
178
290
  }
179
291
  /**
180
292
  * Visibility conditions for sections and tabs on a page layout.
@@ -183,9 +295,9 @@ export interface VisibilityCondition {
183
295
  */
184
296
  export interface VisibilityConditions {
185
297
  /** Per-section visibility conditions, keyed by section key. Optional. */
186
- sections?: Record<string, VisibilityCondition>;
298
+ sections?: Record<SectionKey, VisibilityCondition>;
187
299
  /** Per-tab visibility conditions, keyed by tab key. Optional. */
188
- tabs?: Record<string, VisibilityCondition>;
300
+ tabs?: Record<TabKey, VisibilityCondition>;
189
301
  }
190
302
  /** Where to insert a new layout item. Defaults to `'end'`. */
191
303
  export type PageLayoutMutationPosition = 'start' | 'end' | number;
@@ -519,11 +631,13 @@ export declare class CustomObjectPageLayout {
519
631
  /** Removes custom header fields from `header_edits.newFields`. */
520
632
  removeHeaderField(fieldOrKey: Field | string, options?: RemoveHeaderFieldOptions): this;
521
633
  /** Sets the record title field in `header_edits`. */
522
- setTitleField(field: Field | string | null): this;
634
+ setTitleField(field: Field): this;
635
+ setTitleField(fieldApiName: FieldRqlName): this;
523
636
  /** Removes the record title field from the header. */
524
637
  removeTitleField(): this;
525
638
  /** Sets the record description field in `header_edits`. */
526
- setDescriptionField(field: Field | string | null): this;
639
+ setDescriptionField(field: Field): this;
640
+ setDescriptionField(fieldApiName: FieldRqlName): this;
527
641
  /** Removes the record description field from the header. */
528
642
  removeDescriptionField(): this;
529
643
  private ensureTabsOrder;