@rippling/rippling-sdk 0.2.0-alpha.44 → 0.2.0-alpha.45

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 (52) hide show
  1. package/examples/manifest/dental-practice-management/dental-practice-management.ts +0 -7
  2. package/examples/manifest/dental-practice-management/manifest.json +0 -7
  3. package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +6 -7
  4. package/examples/manifest/gym-membership-management/gym-membership-management.ts +0 -7
  5. package/examples/manifest/gym-membership-management/manifest.json +0 -7
  6. package/lib/manifest/custom-object-field-section.d.mts +2 -2
  7. package/lib/manifest/custom-object-field-section.d.ts +2 -2
  8. package/lib/manifest/custom-object-field-section.js +2 -2
  9. package/lib/manifest/custom-object-field-section.mjs +2 -2
  10. package/lib/manifest/custom-object-page-layout.d.mts +78 -37
  11. package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
  12. package/lib/manifest/custom-object-page-layout.d.ts +78 -37
  13. package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
  14. package/lib/manifest/custom-object-page-layout.js +263 -66
  15. package/lib/manifest/custom-object-page-layout.js.map +1 -1
  16. package/lib/manifest/custom-object-page-layout.mjs +263 -66
  17. package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
  18. package/lib/manifest/custom-object.d.mts +6 -0
  19. package/lib/manifest/custom-object.d.mts.map +1 -1
  20. package/lib/manifest/custom-object.d.ts +6 -0
  21. package/lib/manifest/custom-object.d.ts.map +1 -1
  22. package/lib/manifest/custom-object.js +6 -0
  23. package/lib/manifest/custom-object.js.map +1 -1
  24. package/lib/manifest/custom-object.mjs +6 -0
  25. package/lib/manifest/custom-object.mjs.map +1 -1
  26. package/lib/manifest/existing-manifest-context.d.mts +0 -1
  27. package/lib/manifest/existing-manifest-context.d.mts.map +1 -1
  28. package/lib/manifest/existing-manifest-context.d.ts +0 -1
  29. package/lib/manifest/existing-manifest-context.d.ts.map +1 -1
  30. package/lib/manifest/existing-manifest-context.js +5 -10
  31. package/lib/manifest/existing-manifest-context.js.map +1 -1
  32. package/lib/manifest/existing-manifest-context.mjs +5 -10
  33. package/lib/manifest/existing-manifest-context.mjs.map +1 -1
  34. package/lib/manifest/field.d.mts +6 -3
  35. package/lib/manifest/field.d.mts.map +1 -1
  36. package/lib/manifest/field.d.ts +6 -3
  37. package/lib/manifest/field.d.ts.map +1 -1
  38. package/lib/manifest/field.js +26 -6
  39. package/lib/manifest/field.js.map +1 -1
  40. package/lib/manifest/field.mjs +26 -6
  41. package/lib/manifest/field.mjs.map +1 -1
  42. package/package.json +1 -1
  43. package/src/lib/manifest/custom-object-field-section.ts +2 -2
  44. package/src/lib/manifest/custom-object-page-layout.ts +477 -93
  45. package/src/lib/manifest/custom-object.ts +6 -0
  46. package/src/lib/manifest/existing-manifest-context.ts +5 -12
  47. package/src/lib/manifest/field.ts +45 -9
  48. package/src/version.ts +1 -1
  49. package/version.d.mts +1 -1
  50. package/version.d.ts +1 -1
  51. package/version.js +1 -1
  52. package/version.mjs +1 -1
@@ -444,7 +444,6 @@ new CustomObjectPageLayout(patientObj, {
444
444
  type: 'tab_with_sections',
445
445
  sections: [
446
446
  {
447
- key: 'id',
448
447
  name: 'Profile',
449
448
  type: 'fields_section',
450
449
  section: patientIdentitySection,
@@ -457,7 +456,6 @@ new CustomObjectPageLayout(patientObj, {
457
456
  ],
458
457
  },
459
458
  {
460
- key: 'clinical',
461
459
  name: 'Clinical & billing',
462
460
  type: 'fields_section',
463
461
  section: patientClinicalSection,
@@ -490,7 +488,6 @@ new CustomObjectPageLayout(operatoryObj, {
490
488
  type: 'tab_with_sections',
491
489
  sections: [
492
490
  {
493
- key: 'room',
494
491
  name: 'Room',
495
492
  type: 'fields_section',
496
493
  section: operatorySection,
@@ -518,14 +515,12 @@ new CustomObjectPageLayout(apptObj, {
518
515
  type: 'tab_with_sections',
519
516
  sections: [
520
517
  {
521
- key: 'chair',
522
518
  name: 'Chair & schedule',
523
519
  type: 'fields_section',
524
520
  section: apptOperatorySection,
525
521
  fields: [apptOperatoryRef, apptStartField, apptDurationMins],
526
522
  },
527
523
  {
528
- key: 'patient',
529
524
  name: 'Patient & status',
530
525
  type: 'fields_section',
531
526
  section: apptPatientSection,
@@ -553,14 +548,12 @@ new CustomObjectPageLayout(planObj, {
553
548
  type: 'tab_with_sections',
554
549
  sections: [
555
550
  {
556
- key: 'link',
557
551
  name: 'Patient',
558
552
  type: 'fields_section',
559
553
  section: planLinkSection,
560
554
  fields: [planPatientRef],
561
555
  },
562
556
  {
563
- key: 'content',
564
557
  name: 'Planned work',
565
558
  type: 'fields_section',
566
559
  section: planBodySection,
@@ -1596,7 +1596,6 @@
1596
1596
  "type": "tab_with_sections",
1597
1597
  "sections": [
1598
1598
  {
1599
- "key": "id",
1600
1599
  "name": "Profile",
1601
1600
  "type": "fields_section",
1602
1601
  "fields": [
@@ -1618,7 +1617,6 @@
1618
1617
  ]
1619
1618
  },
1620
1619
  {
1621
- "key": "clinical",
1622
1620
  "name": "Clinical & billing",
1623
1621
  "type": "fields_section",
1624
1622
  "fields": [
@@ -1663,7 +1661,6 @@
1663
1661
  "type": "tab_with_sections",
1664
1662
  "sections": [
1665
1663
  {
1666
- "key": "room",
1667
1664
  "name": "Room",
1668
1665
  "type": "fields_section",
1669
1666
  "fields": [
@@ -1705,7 +1702,6 @@
1705
1702
  "type": "tab_with_sections",
1706
1703
  "sections": [
1707
1704
  {
1708
- "key": "chair",
1709
1705
  "name": "Chair & schedule",
1710
1706
  "type": "fields_section",
1711
1707
  "fields": [
@@ -1721,7 +1717,6 @@
1721
1717
  ]
1722
1718
  },
1723
1719
  {
1724
- "key": "patient",
1725
1720
  "name": "Patient & status",
1726
1721
  "type": "fields_section",
1727
1722
  "fields": [
@@ -1769,7 +1764,6 @@
1769
1764
  "type": "tab_with_sections",
1770
1765
  "sections": [
1771
1766
  {
1772
- "key": "link",
1773
1767
  "name": "Patient",
1774
1768
  "type": "fields_section",
1775
1769
  "fields": [
@@ -1779,7 +1773,6 @@
1779
1773
  ]
1780
1774
  },
1781
1775
  {
1782
- "key": "content",
1783
1776
  "name": "Planned work",
1784
1777
  "type": "fields_section",
1785
1778
  "fields": [
@@ -128,7 +128,6 @@ const existingManifestJson: ExistingManifest = {
128
128
  type: 'tab_with_sections',
129
129
  sections: [
130
130
  {
131
- key: 'profile',
132
131
  name: 'Profile',
133
132
  type: 'fields_section',
134
133
  fields: [
@@ -138,7 +137,6 @@ const existingManifestJson: ExistingManifest = {
138
137
  ],
139
138
  },
140
139
  {
141
- key: 'membership',
142
140
  name: 'Membership',
143
141
  type: 'fields_section',
144
142
  fields: [{ fieldRqlName: 'membership_status__c' }, { fieldRqlName: 'join_date__c' }],
@@ -164,6 +162,9 @@ const memberObj = CustomObject.loadFromExisting('gym_member__c');
164
162
  const profileSection = CustomObjectFieldSection.loadFromExisting('sec_gm_profile', {
165
163
  customObjectApiName: memberObj.getApiName(),
166
164
  });
165
+ const membershipSection = CustomObjectFieldSection.loadFromExisting('sec_gm_membership', {
166
+ customObjectApiName: memberObj.getApiName(),
167
+ });
167
168
  const memberLayout = CustomObjectPageLayout.loadFromExisting('layout_gym_member', {
168
169
  customObjectApiName: memberObj.getApiName(),
169
170
  });
@@ -181,13 +182,12 @@ const preferredName = new TextField(memberObj, {
181
182
  memberLayout
182
183
  .removeField('phone__c', {
183
184
  tabKey: 'member',
184
- sectionKey: 'profile',
185
+ section: profileSection,
185
186
  removeAll: false,
186
187
  })
187
188
  .addField(preferredName, {
188
189
  tabKey: 'member',
189
- sectionKey: 'profile',
190
- fieldSection: profileSection,
190
+ section: profileSection,
191
191
  position: 2,
192
192
  });
193
193
 
@@ -211,13 +211,12 @@ const referralSource = new TextField(memberObj, {
211
211
  // Remove one existing section from the layout, then add a different one.
212
212
  // The removed section component and its fields remain in the manifest.
213
213
  memberLayout
214
- .removeSection('membership', {
214
+ .removeSection(membershipSection, {
215
215
  tabKey: 'member',
216
216
  removeAll: false,
217
217
  })
218
218
  .addSection(
219
219
  {
220
- key: 'marketing',
221
220
  name: 'Marketing',
222
221
  type: 'fields_section',
223
222
  section: marketingSection,
@@ -492,14 +492,12 @@ new CustomObjectPageLayout(memberObj, {
492
492
  type: 'tab_with_sections',
493
493
  sections: [
494
494
  {
495
- key: 'profile',
496
495
  name: 'Profile',
497
496
  type: 'fields_section',
498
497
  section: memberProfileSection,
499
498
  fields: [memberFirstName, memberLastName, memberDisplayName, memberEmail, memberPhone],
500
499
  },
501
500
  {
502
- key: 'membership',
503
501
  name: 'Membership',
504
502
  type: 'fields_section',
505
503
  section: memberMembershipSection,
@@ -527,7 +525,6 @@ new CustomObjectPageLayout(trainerObj, {
527
525
  type: 'tab_with_sections',
528
526
  sections: [
529
527
  {
530
- key: 'info',
531
528
  name: 'Details',
532
529
  type: 'fields_section',
533
530
  section: trainerSection,
@@ -561,7 +558,6 @@ new CustomObjectPageLayout(sessionObj, {
561
558
  type: 'tab_with_sections',
562
559
  sections: [
563
560
  {
564
- key: 'schedule',
565
561
  name: 'Schedule',
566
562
  type: 'fields_section',
567
563
  section: sessionScheduleSection,
@@ -575,7 +571,6 @@ new CustomObjectPageLayout(sessionObj, {
575
571
  ],
576
572
  },
577
573
  {
578
- key: 'class',
579
574
  name: 'Class & room',
580
575
  type: 'fields_section',
581
576
  section: sessionTrainerSection,
@@ -603,14 +598,12 @@ new CustomObjectPageLayout(enrollmentObj, {
603
598
  type: 'tab_with_sections',
604
599
  sections: [
605
600
  {
606
- key: 'link',
607
601
  name: 'Session & member',
608
602
  type: 'fields_section',
609
603
  section: enrollmentSessionSection,
610
604
  fields: [enrollmentSessionRef, enrollmentMemberRef],
611
605
  },
612
606
  {
613
- key: 'attendance',
614
607
  name: 'Attendance & check-in',
615
608
  type: 'fields_section',
616
609
  section: enrollmentAttendanceSection,
@@ -1666,7 +1666,6 @@
1666
1666
  "type": "tab_with_sections",
1667
1667
  "sections": [
1668
1668
  {
1669
- "key": "profile",
1670
1669
  "name": "Profile",
1671
1670
  "type": "fields_section",
1672
1671
  "fields": [
@@ -1688,7 +1687,6 @@
1688
1687
  ]
1689
1688
  },
1690
1689
  {
1691
- "key": "membership",
1692
1690
  "name": "Membership",
1693
1691
  "type": "fields_section",
1694
1692
  "fields": [
@@ -1730,7 +1728,6 @@
1730
1728
  "type": "tab_with_sections",
1731
1729
  "sections": [
1732
1730
  {
1733
- "key": "info",
1734
1731
  "name": "Details",
1735
1732
  "type": "fields_section",
1736
1733
  "fields": [
@@ -1778,7 +1775,6 @@
1778
1775
  "type": "tab_with_sections",
1779
1776
  "sections": [
1780
1777
  {
1781
- "key": "schedule",
1782
1778
  "name": "Schedule",
1783
1779
  "type": "fields_section",
1784
1780
  "fields": [
@@ -1803,7 +1799,6 @@
1803
1799
  ]
1804
1800
  },
1805
1801
  {
1806
- "key": "class",
1807
1802
  "name": "Class & room",
1808
1803
  "type": "fields_section",
1809
1804
  "fields": [
@@ -1848,7 +1843,6 @@
1848
1843
  "type": "tab_with_sections",
1849
1844
  "sections": [
1850
1845
  {
1851
- "key": "link",
1852
1846
  "name": "Session & member",
1853
1847
  "type": "fields_section",
1854
1848
  "fields": [
@@ -1861,7 +1855,6 @@
1861
1855
  ]
1862
1856
  },
1863
1857
  {
1864
- "key": "attendance",
1865
1858
  "name": "Attendance & check-in",
1866
1859
  "type": "fields_section",
1867
1860
  "fields": [
@@ -27,8 +27,8 @@ export interface CustomObjectFieldSectionProps {
27
27
  * Defines a field section and registers it with the manifest.
28
28
  *
29
29
  * A field section is a named group of fields displayed together on a custom
30
- * object's detail page. After creating a section, pass it as the `section`
31
- * prop on any field that should belong to it.
30
+ * object's detail page. Every custom field must receive one of these sections
31
+ * through its `section` prop.
32
32
  *
33
33
  * @example
34
34
  * ```ts
@@ -27,8 +27,8 @@ export interface CustomObjectFieldSectionProps {
27
27
  * Defines a field section and registers it with the manifest.
28
28
  *
29
29
  * A field section is a named group of fields displayed together on a custom
30
- * object's detail page. After creating a section, pass it as the `section`
31
- * prop on any field that should belong to it.
30
+ * object's detail page. Every custom field must receive one of these sections
31
+ * through its `section` prop.
32
32
  *
33
33
  * @example
34
34
  * ```ts
@@ -8,8 +8,8 @@ const _existing_component_fields_1 = require("./_existing-component-fields.js");
8
8
  * Defines a field section and registers it with the manifest.
9
9
  *
10
10
  * A field section is a named group of fields displayed together on a custom
11
- * object's detail page. After creating a section, pass it as the `section`
12
- * prop on any field that should belong to it.
11
+ * object's detail page. Every custom field must receive one of these sections
12
+ * through its `section` prop.
13
13
  *
14
14
  * @example
15
15
  * ```ts
@@ -5,8 +5,8 @@ import { requireStringComponentField } from "./_existing-component-fields.mjs";
5
5
  * Defines a field section and registers it with the manifest.
6
6
  *
7
7
  * A field section is a named group of fields displayed together on a custom
8
- * object's detail page. After creating a section, pass it as the `section`
9
- * prop on any field that should belong to it.
8
+ * object's detail page. Every custom field must receive one of these sections
9
+ * through its `section` prop.
10
10
  *
11
11
  * @example
12
12
  * ```ts
@@ -80,8 +80,6 @@ export interface FieldsSection {
80
80
  type: 'fields_section';
81
81
  /** Field section metadata for the fields displayed in this layout section. Required. */
82
82
  section: CustomObjectFieldSection;
83
- /** Stable layout key for this section. Optional. Defaults to the field section id. */
84
- key?: string;
85
83
  /** Display name of the layout section. Optional. Defaults to the field section name. */
86
84
  name?: string;
87
85
  /** Fields to display in this section. Required. */
@@ -189,50 +187,82 @@ export interface VisibilityConditions {
189
187
  }
190
188
  /** Where to insert a new layout item. Defaults to `'end'`. */
191
189
  export type PageLayoutMutationPosition = 'start' | 'end' | number;
192
- /** Options for adding a field to an existing layout section. */
193
- export interface AddPageLayoutFieldOptions extends SectionFieldOptions {
194
- /**
195
- * Tab key containing the target section. Optional when `sectionKey` is unique
196
- * across the layout.
197
- */
198
- tabKey?: string;
199
- /** Section key to add the field to. Required. */
200
- sectionKey: string;
201
- /**
202
- * Field-section metadata to assign to the field component.
203
- *
204
- * Existing layouts often use layout section keys that differ from field section
205
- * ids. Pass this when the field was not constructed with a `section`.
206
- */
207
- fieldSection?: CustomObjectFieldSection;
190
+ interface AddPageLayoutFieldOptionsBase extends SectionFieldOptions {
208
191
  /** Insert position inside the section field list. Optional. @default `'end'` */
209
192
  position?: PageLayoutMutationPosition;
210
193
  /** Allow the same field to appear twice in the same section. Optional. @default false */
211
194
  allowDuplicate?: boolean;
195
+ }
196
+ /** Options for adding a field to a typed custom-object field section. */
197
+ export interface AddCustomPageLayoutFieldOptions extends AddPageLayoutFieldOptionsBase {
198
+ /**
199
+ * Tab key containing the target section. Optional when `section` is unique
200
+ * across the layout.
201
+ */
202
+ tabKey?: string;
203
+ /** Field section to add the field to. Required for custom layout sections. */
204
+ section: CustomObjectFieldSection;
205
+ /** Raw section keys are only accepted for built-in system sections. */
206
+ sectionKey?: never;
207
+ /** Deprecated. Use `section`. */
208
+ fieldSection?: never;
209
+ /** Custom layout sections are selected by `section`; `sectionKey` is only for system sections. */
210
+ systemSection?: false;
211
+ }
212
+ /** Options for adding a field to a built-in system section. */
213
+ export interface AddSystemPageLayoutFieldOptions extends AddPageLayoutFieldOptionsBase {
212
214
  /**
213
215
  * Add to a built-in system section via `systemTabEdits`.
214
216
  *
215
- * When true, `tabKey` is required and the edit is created if it does not
216
- * already exist.
217
+ * When true, `tabKey` and `sectionKey` are required and the edit is created
218
+ * if it does not already exist.
217
219
  */
218
- systemSection?: boolean;
220
+ systemSection: true;
221
+ /** System tab key containing the target section. Required. */
222
+ tabKey: string;
223
+ /** Built-in system section key. Required. */
224
+ sectionKey: string;
225
+ /** Custom field-section objects are only accepted for custom layout sections. */
226
+ section?: never;
227
+ /** Deprecated. Use `section` for custom sections, or `sectionKey` for system sections. */
228
+ fieldSection?: never;
219
229
  }
230
+ /** Options for adding a field to an existing layout section. */
231
+ export type AddPageLayoutFieldOptions = AddCustomPageLayoutFieldOptions | AddSystemPageLayoutFieldOptions;
220
232
  /** Options for adding multiple fields to an existing layout section. */
221
233
  export type AddPageLayoutFieldsOptions = AddPageLayoutFieldOptions;
222
234
  /** Options for removing fields from a layout. */
223
- export interface RemovePageLayoutFieldOptions {
224
- /** Limit removal to one tab. Optional. */
225
- tabKey?: string;
226
- /** Limit removal to one section. Optional. */
227
- sectionKey?: string;
235
+ interface RemovePageLayoutFieldOptionsBase {
228
236
  /**
229
237
  * Remove all matching occurrences. When false, removing a field that appears
230
238
  * more than once throws. Optional. @default true
231
239
  */
232
240
  removeAll?: boolean;
233
- /** Remove from a built-in system section edit. Optional. */
234
- systemSection?: boolean;
235
241
  }
242
+ /** Options for removing fields from typed custom-object field sections. */
243
+ export interface RemoveCustomPageLayoutFieldOptions extends RemovePageLayoutFieldOptionsBase {
244
+ /** Limit removal to one tab. Optional. */
245
+ tabKey?: string;
246
+ /** Limit removal to one field section. Optional. */
247
+ section?: CustomObjectFieldSection;
248
+ /** Raw section keys are only accepted for built-in system sections. */
249
+ sectionKey?: never;
250
+ /** Custom layout sections are selected by `section`; `sectionKey` is only for system sections. */
251
+ systemSection?: false;
252
+ }
253
+ /** Options for removing fields from built-in system section edits. */
254
+ export interface RemoveSystemPageLayoutFieldOptions extends RemovePageLayoutFieldOptionsBase {
255
+ /** Remove from a built-in system section edit. Required. */
256
+ systemSection: true;
257
+ /** System tab key containing the target section. Required. */
258
+ tabKey: string;
259
+ /** Built-in system section key. Required. */
260
+ sectionKey: string;
261
+ /** Custom field-section objects are only accepted for custom layout sections. */
262
+ section?: never;
263
+ }
264
+ /** Options for removing fields from a layout. */
265
+ export type RemovePageLayoutFieldOptions = RemoveCustomPageLayoutFieldOptions | RemoveSystemPageLayoutFieldOptions;
236
266
  /** Options for adding a section to an existing tab. */
237
267
  export interface AddPageLayoutSectionOptions {
238
268
  /** Tab key to add the section to. Required. */
@@ -257,8 +287,15 @@ export interface RemovePageLayoutSectionOptions {
257
287
  * more than once throws. Optional. @default true
258
288
  */
259
289
  removeAll?: boolean;
260
- /** Delete a built-in system section via `systemSectionEdits`. Requires `tabKey`. */
261
- systemSection?: boolean;
290
+ /** Custom layout sections are selected by `CustomObjectFieldSection`; raw keys are only for system sections. */
291
+ systemSection?: false;
292
+ }
293
+ /** Options for removing a built-in system section from a layout. */
294
+ export interface RemoveSystemPageLayoutSectionOptions {
295
+ /** System tab key containing the target section. Required. */
296
+ tabKey: string;
297
+ /** Delete a built-in system section via `systemSectionEdits`. Required. */
298
+ systemSection: true;
262
299
  }
263
300
  /** Options for adding a tab to a layout. */
264
301
  export interface AddPageLayoutTabOptions {
@@ -374,7 +411,6 @@ export interface CustomObjectPageLayoutLoadFromExistingOptions extends ExistingM
374
411
  * newTabs: [{
375
412
  * key: 'member', name: 'Member', type: 'tab_with_sections',
376
413
  * sections: [{
377
- * key: 'profile',
378
414
  * name: 'Profile',
379
415
  * type: 'fields_section',
380
416
  * section: profileSection,
@@ -416,7 +452,7 @@ export declare class CustomObjectPageLayout {
416
452
  */
417
453
  static loadFromExisting(layoutIdOrApiName: string, options?: CustomObjectPageLayoutLoadFromExistingOptions): CustomObjectPageLayout;
418
454
  /** @internal Hydrates a page layout from existing manifest wire JSON. */
419
- static _fromExistingComponent(customObject: CustomObject, component: Record<string, any>): CustomObjectPageLayout;
455
+ static _fromExistingComponent(customObject: CustomObject, component: Record<string, any>, resolveFieldSectionId?: (fieldApiName: string) => string | undefined): CustomObjectPageLayout;
420
456
  /**
421
457
  * Returns the stable identifier for this layout record (e.g. `'layout_gym_member'`).
422
458
  */
@@ -439,9 +475,9 @@ export declare class CustomObjectPageLayout {
439
475
  /**
440
476
  * Adds multiple fields to an existing layout section.
441
477
  *
442
- * Fields are inserted in the order provided. If a field does not already have
443
- * field-section metadata, pass `options.fieldSection` so the corresponding
444
- * `CUSTOM_OBJECT_FIELD_SECTION` component is registered in the manifest.
478
+ * Fields are inserted in the order provided. For custom layout sections,
479
+ * pass `options.section` so TypeScript and runtime validation agree on the
480
+ * target `CUSTOM_OBJECT_FIELD_SECTION`.
445
481
  */
446
482
  addFields(fields: Field[], options: AddPageLayoutFieldsOptions): this;
447
483
  /**
@@ -466,7 +502,8 @@ export declare class CustomObjectPageLayout {
466
502
  * Pass `systemSection: true` with `tabKey` to delete a built-in section via
467
503
  * `systemSectionEdits[sectionKey].deleted`.
468
504
  */
469
- removeSection(sectionKey: string, options?: RemovePageLayoutSectionOptions): this;
505
+ removeSection(section: CustomObjectFieldSection, options?: RemovePageLayoutSectionOptions): this;
506
+ removeSection(sectionKey: string, options: RemoveSystemPageLayoutSectionOptions): this;
470
507
  /** Adds a new tab to `tab_edits.newTabs`. */
471
508
  addTab(tab: PageLayoutTab, options?: AddPageLayoutTabOptions): this;
472
509
  /**
@@ -493,6 +530,7 @@ export declare class CustomObjectPageLayout {
493
530
  private normalizeTabForMutation;
494
531
  private assignFieldSectionForMutation;
495
532
  private assertFieldBelongsToLayout;
533
+ private assertFieldSectionBelongsToLayout;
496
534
  private requireOneFieldContainer;
497
535
  private findFieldContainers;
498
536
  private ensureSystemSectionFieldContainer;
@@ -517,18 +555,21 @@ export declare class CustomObjectPageLayout {
517
555
  * tabs or sections. Always uses `apiName: 'default'`.
518
556
  *
519
557
  * @param customObject - The custom object to create the layout for.
520
- * @param props - Optional. Pass `fields` to populate the General section.
558
+ * @param props - Optional. Pass `section` and `fields` to populate the General section.
521
559
  * @returns A new `CustomObjectPageLayout` registered with the manifest.
522
560
  *
523
561
  * @example
524
562
  * ```ts
525
563
  * CustomObjectPageLayout.basic(memberObj, {
564
+ * section: profileSection,
526
565
  * fields: [memberFirstName, memberEmail, memberStatusField],
527
566
  * });
528
567
  * ```
529
568
  */
530
569
  static basic(customObject: CustomObject, props?: {
570
+ section?: CustomObjectFieldSection;
531
571
  fields?: Field[];
532
572
  }): CustomObjectPageLayout;
533
573
  }
574
+ export {};
534
575
  //# sourceMappingURL=custom-object-page-layout.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"custom-object-page-layout.d.mts","sourceRoot":"","sources":["../../src/lib/manifest/custom-object-page-layout.ts"],"names":[],"mappings":"OACO,EAAE,wBAAwB,EAAE;OAC5B,KAAK,EAAE,YAAY,EAAE;OACrB,EAA8B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B;IAQ/B,OAAO,CAAC,6BAA6B;IAkCrC,OAAO,CAAC,0BAA0B;IASlC,OAAO,CAAC,wBAAwB;IAmBhC,OAAO,CAAC,mBAAmB;IAmE3B,OAAO,CAAC,iCAAiC;IAuBzC,OAAO,CAAC,mBAAmB;IAa3B,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,sBAAsB;IAiB9B,OAAO,CAAC,yBAAyB;IAYjC,OAAO,CAAC,+BAA+B;IAsBvC,OAAO,CAAC,kBAAkB;IAO1B,OAAO,CAAC,uBAAuB;IAM/B,OAAO,CAAC,mBAAmB;IAM3B;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAiB7B;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,KAAK,CACV,YAAY,EAAE,YAAY,EAC1B,KAAK,GAAE;QACL,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;KACb,GACL,sBAAsB;CAmC1B"}
1
+ {"version":3,"file":"custom-object-page-layout.d.mts","sourceRoot":"","sources":["../../src/lib/manifest/custom-object-page-layout.ts"],"names":[],"mappings":"OACO,EAAE,wBAAwB,EAAE;OAC5B,KAAK,EAAE,YAAY,EAAE;OACrB,EAA8B,KAAK,8BAA8B,EAAE;OACnE,KAAK,EAAE,KAAK,EAAE;OACd,KAAK,EAAE,yBAAyB,EAAE;AAGzC,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD,gDAAgD;AAChD,MAAM,WAAW,qBAAqB;IACpC,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,GAAG,EAAE,MAAM,CAAC;IAC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