@prismicio/types-internal 2.1.0-alpha.4 → 2.2.0-alpha.1

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 (131) hide show
  1. package/lib/common/HexaColorCode.d.ts +4 -0
  2. package/lib/common/HexaColorCode.js +7 -0
  3. package/lib/content/Document.d.ts +1 -1
  4. package/lib/customtypes/CustomType.d.ts +875 -923
  5. package/lib/customtypes/CustomType.js +74 -13
  6. package/lib/customtypes/Section.d.ts +866 -924
  7. package/lib/customtypes/Section.js +1 -23
  8. package/lib/customtypes/diff/SharedSlice.d.ts +168 -184
  9. package/lib/customtypes/diff/Variation.d.ts +167 -183
  10. package/lib/customtypes/widgets/Group.d.ts +2 -20
  11. package/lib/customtypes/widgets/Group.js +1 -20
  12. package/lib/customtypes/widgets/Widget.d.ts +733 -821
  13. package/lib/customtypes/widgets/nestable/{Link/index.d.ts → Link.d.ts} +2 -19
  14. package/lib/customtypes/widgets/nestable/{Link/index.js → Link.js} +2 -4
  15. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +158 -9
  16. package/lib/customtypes/widgets/nestable/NestableWidget.js +17 -1
  17. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -20
  18. package/lib/customtypes/widgets/slices/CompositeSlice.js +1 -26
  19. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -18
  20. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -38
  21. package/lib/customtypes/widgets/slices/SharedSlice.js +1 -35
  22. package/lib/customtypes/widgets/slices/Slices.d.ts +801 -947
  23. package/lib/customtypes/widgets/slices/Slices.js +1 -34
  24. package/lib/import/converters/Document.d.ts +3 -0
  25. package/lib/import/converters/Document.js +17 -0
  26. package/lib/import/converters/fields/index.d.ts +1 -0
  27. package/lib/import/converters/fields/index.js +4 -0
  28. package/lib/import/converters/fields/nestable/Color.d.ts +3 -0
  29. package/lib/import/converters/fields/nestable/Color.js +10 -0
  30. package/lib/import/converters/fields/nestable/Date.d.ts +3 -0
  31. package/lib/import/converters/fields/nestable/Date.js +15 -0
  32. package/lib/import/converters/fields/nestable/Nestable.d.ts +3 -0
  33. package/lib/import/converters/fields/nestable/Nestable.js +23 -0
  34. package/lib/import/converters/fields/nestable/Number.d.ts +3 -0
  35. package/lib/import/converters/fields/nestable/Number.js +10 -0
  36. package/lib/import/converters/fields/nestable/Select.d.ts +3 -0
  37. package/lib/import/converters/fields/nestable/Select.js +10 -0
  38. package/lib/import/converters/fields/nestable/Text.d.ts +3 -0
  39. package/lib/import/converters/fields/nestable/Text.js +10 -0
  40. package/lib/import/converters/fields/nestable/Timestamp.d.ts +3 -0
  41. package/lib/import/converters/fields/nestable/Timestamp.js +10 -0
  42. package/lib/import/converters/fields/nestable/index.d.ts +7 -0
  43. package/lib/import/converters/fields/nestable/index.js +10 -0
  44. package/lib/import/converters/fields/utils.d.ts +1 -0
  45. package/lib/import/converters/fields/utils.js +10 -0
  46. package/lib/import/converters/index.d.ts +2 -0
  47. package/lib/import/converters/index.js +5 -0
  48. package/lib/import/index.d.ts +2 -0
  49. package/lib/import/index.js +5 -0
  50. package/lib/import/validators/Document.d.ts +6 -0
  51. package/lib/import/validators/Document.js +72 -0
  52. package/lib/import/validators/fields/index.d.ts +6 -0
  53. package/lib/import/validators/fields/index.js +4 -0
  54. package/lib/import/validators/fields/nestable/Color.d.ts +5 -0
  55. package/lib/import/validators/fields/nestable/Color.js +15 -0
  56. package/lib/import/validators/fields/nestable/Date.d.ts +4 -0
  57. package/lib/import/validators/fields/nestable/Date.js +17 -0
  58. package/lib/import/validators/fields/nestable/Nestable.d.ts +9 -0
  59. package/lib/import/validators/fields/nestable/Nestable.js +34 -0
  60. package/lib/import/validators/fields/nestable/Number.d.ts +10 -0
  61. package/lib/import/validators/fields/nestable/Number.js +16 -0
  62. package/lib/import/validators/fields/nestable/Select.d.ts +9 -0
  63. package/lib/import/validators/fields/nestable/Select.js +17 -0
  64. package/lib/import/validators/fields/nestable/Text.d.ts +3 -0
  65. package/lib/import/validators/fields/nestable/Text.js +5 -0
  66. package/lib/import/validators/fields/nestable/Timestamp.d.ts +5 -0
  67. package/lib/import/validators/fields/nestable/Timestamp.js +17 -0
  68. package/lib/import/validators/fields/nestable/index.d.ts +7 -0
  69. package/lib/import/validators/fields/nestable/index.js +10 -0
  70. package/lib/import/validators/index.d.ts +2 -0
  71. package/lib/import/validators/index.js +5 -0
  72. package/lib/utils/Objects.d.ts +1 -0
  73. package/lib/utils/Objects.js +9 -1
  74. package/lib/utils/index.d.ts +1 -0
  75. package/lib/utils/index.js +2 -1
  76. package/lib/validators/BasicTypes.d.ts +3 -0
  77. package/lib/validators/BasicTypes.js +8 -0
  78. package/lib/validators/DateFromString.js +2 -1
  79. package/lib/validators/NullOrT.d.ts +2 -0
  80. package/lib/validators/NullOrT.js +13 -0
  81. package/lib/validators/index.d.ts +2 -0
  82. package/lib/validators/index.js +2 -0
  83. package/package.json +1 -1
  84. package/src/common/HexaColorCode.ts +11 -0
  85. package/src/customtypes/CustomType.ts +97 -24
  86. package/src/customtypes/Section.ts +1 -28
  87. package/src/customtypes/widgets/Group.ts +0 -24
  88. package/src/customtypes/widgets/nestable/{Link/index.ts → Link.ts} +2 -5
  89. package/src/customtypes/widgets/nestable/NestableWidget.ts +17 -0
  90. package/src/customtypes/widgets/slices/CompositeSlice.ts +0 -33
  91. package/src/customtypes/widgets/slices/SharedSlice.ts +0 -47
  92. package/src/customtypes/widgets/slices/Slices.ts +1 -44
  93. package/src/import/converters/Document.ts +22 -0
  94. package/src/import/converters/fields/index.ts +1 -0
  95. package/src/import/converters/fields/nestable/Color.ts +12 -0
  96. package/src/import/converters/fields/nestable/Date.ts +18 -0
  97. package/src/import/converters/fields/nestable/Nestable.ts +33 -0
  98. package/src/import/converters/fields/nestable/Number.ts +12 -0
  99. package/src/import/converters/fields/nestable/Select.ts +12 -0
  100. package/src/import/converters/fields/nestable/Text.ts +12 -0
  101. package/src/import/converters/fields/nestable/Timestamp.ts +12 -0
  102. package/src/import/converters/fields/nestable/index.ts +7 -0
  103. package/src/import/converters/fields/utils.ts +7 -0
  104. package/src/import/converters/index.ts +2 -0
  105. package/src/import/index.ts +2 -0
  106. package/src/import/validators/Document.ts +96 -0
  107. package/src/import/validators/fields/index.ts +8 -0
  108. package/src/import/validators/fields/nestable/Color.ts +28 -0
  109. package/src/import/validators/fields/nestable/Date.ts +35 -0
  110. package/src/import/validators/fields/nestable/Nestable.ts +41 -0
  111. package/src/import/validators/fields/nestable/Number.ts +36 -0
  112. package/src/import/validators/fields/nestable/Select.ts +36 -0
  113. package/src/import/validators/fields/nestable/Text.ts +7 -0
  114. package/src/import/validators/fields/nestable/Timestamp.ts +36 -0
  115. package/src/import/validators/fields/nestable/index.ts +7 -0
  116. package/src/import/validators/index.ts +2 -0
  117. package/src/utils/Objects.ts +8 -0
  118. package/src/utils/index.ts +1 -0
  119. package/src/validators/BasicTypes.ts +5 -0
  120. package/src/validators/DateFromString.ts +3 -1
  121. package/src/validators/NullOrT.ts +18 -0
  122. package/src/validators/index.ts +2 -0
  123. package/lib/customtypes/_internal/utils.d.ts +0 -3
  124. package/lib/customtypes/_internal/utils.js +0 -20
  125. package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.d.ts +0 -11
  126. package/lib/customtypes/widgets/nestable/Link/ContentRelationshipResolver.js +0 -15
  127. package/lib/validators/StringOrT.d.ts +0 -3
  128. package/lib/validators/StringOrT.js +0 -15
  129. package/src/customtypes/_internal/utils.ts +0 -25
  130. package/src/customtypes/widgets/nestable/Link/ContentRelationshipResolver.ts +0 -20
  131. package/src/validators/StringOrT.ts +0 -21
@@ -1,9 +1,17 @@
1
1
  import * as t from "io-ts";
2
- import { TraverseFn } from "./_internal/utils";
3
- import { SharedSlice } from "./widgets/slices";
2
+ import type { SharedSlice } from "./widgets/slices";
4
3
  import { DynamicWidget, StaticWidget } from "./widgets/Widget";
5
4
  export declare function sectionReader<T extends StaticWidget | DynamicWidget>(codec: t.Type<T, unknown>): t.RecordC<t.Type<string, string, unknown>, t.Type<T, unknown, unknown>>;
6
5
  export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
6
+ type: "Boolean";
7
+ } & {
8
+ config?: {
9
+ label?: string | null | undefined;
10
+ default_value?: boolean;
11
+ placeholder_true?: string;
12
+ placeholder_false?: string;
13
+ };
14
+ }) | ({
7
15
  type: "Color";
8
16
  } & {
9
17
  fieldset?: string | null | undefined;
@@ -12,13 +20,13 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
12
20
  placeholder?: string;
13
21
  };
14
22
  }) | ({
15
- type: "Boolean";
23
+ type: "Date";
16
24
  } & {
25
+ fieldset?: string | null | undefined;
17
26
  config?: {
18
27
  label?: string | null | undefined;
19
- default_value?: boolean;
20
- placeholder_true?: string;
21
- placeholder_false?: string;
28
+ placeholder?: string;
29
+ default?: string;
22
30
  };
23
31
  }) | ({
24
32
  type: "Embed";
@@ -37,13 +45,45 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
37
45
  label?: string | null | undefined;
38
46
  };
39
47
  }) | ({
40
- type: "Date";
48
+ type: "Image";
41
49
  } & {
42
50
  fieldset?: string | null | undefined;
43
51
  config?: {
44
52
  label?: string | null | undefined;
45
53
  placeholder?: string;
46
- default?: string;
54
+ constraint?: {
55
+ width?: number | null;
56
+ height?: number | null;
57
+ };
58
+ thumbnails?: readonly ({
59
+ name: string;
60
+ } & {
61
+ width?: number | null;
62
+ height?: number | null;
63
+ })[];
64
+ };
65
+ }) | ({
66
+ type: "IntegrationFields";
67
+ } & {
68
+ fieldset?: string | null | undefined;
69
+ config?: {
70
+ label?: string | null | undefined;
71
+ placeholder?: string;
72
+ catalog?: string;
73
+ };
74
+ }) | ({
75
+ type: "Link";
76
+ } & {
77
+ fieldset?: string | null | undefined;
78
+ config?: {
79
+ label?: string | null | undefined;
80
+ useAsTitle?: boolean;
81
+ placeholder?: string;
82
+ select?: "media" | "document" | "web" | null;
83
+ customtypes?: readonly string[];
84
+ masks?: readonly string[];
85
+ tags?: readonly string[];
86
+ allowTargetBlank?: boolean;
47
87
  };
48
88
  }) | ({
49
89
  type: "Number";
@@ -118,51 +158,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
118
158
  placeholder?: string;
119
159
  default?: string;
120
160
  };
121
- }) | ({
122
- type: "Link";
123
- } & {
124
- fieldset?: string | null | undefined;
125
- config?: {
126
- label?: string | null | undefined;
127
- useAsTitle?: boolean;
128
- placeholder?: string;
129
- select?: "media" | "document" | "web" | null;
130
- customtypes?: readonly ({
131
- customTypeId: string;
132
- } & {
133
- fetchFields?: boolean;
134
- })[];
135
- masks?: readonly string[];
136
- tags?: readonly string[];
137
- allowTargetBlank?: boolean;
138
- };
139
- }) | ({
140
- type: "Image";
141
- } & {
142
- fieldset?: string | null | undefined;
143
- config?: {
144
- label?: string | null | undefined;
145
- placeholder?: string;
146
- constraint?: {
147
- width?: number | null;
148
- height?: number | null;
149
- };
150
- thumbnails?: readonly ({
151
- name: string;
152
- } & {
153
- width?: number | null;
154
- height?: number | null;
155
- })[];
156
- };
157
- }) | ({
158
- type: "IntegrationFields";
159
- } & {
160
- fieldset?: string | null | undefined;
161
- config?: {
162
- label?: string | null | undefined;
163
- placeholder?: string;
164
- catalog?: string;
165
- };
166
161
  }) | ({
167
162
  type: "Group";
168
163
  } & {
@@ -174,6 +169,15 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
174
169
  repeat?: boolean;
175
170
  fields?: {
176
171
  [x: string]: ({
172
+ type: "Boolean";
173
+ } & {
174
+ config?: {
175
+ label?: string | null | undefined;
176
+ default_value?: boolean;
177
+ placeholder_true?: string;
178
+ placeholder_false?: string;
179
+ };
180
+ }) | ({
177
181
  type: "Color";
178
182
  } & {
179
183
  fieldset?: string | null | undefined;
@@ -182,13 +186,13 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
182
186
  placeholder?: string;
183
187
  };
184
188
  }) | ({
185
- type: "Boolean";
189
+ type: "Date";
186
190
  } & {
191
+ fieldset?: string | null | undefined;
187
192
  config?: {
188
193
  label?: string | null | undefined;
189
- default_value?: boolean;
190
- placeholder_true?: string;
191
- placeholder_false?: string;
194
+ placeholder?: string;
195
+ default?: string;
192
196
  };
193
197
  }) | ({
194
198
  type: "Embed";
@@ -207,13 +211,45 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
207
211
  label?: string | null | undefined;
208
212
  };
209
213
  }) | ({
210
- type: "Date";
214
+ type: "Image";
211
215
  } & {
212
216
  fieldset?: string | null | undefined;
213
217
  config?: {
214
218
  label?: string | null | undefined;
215
219
  placeholder?: string;
216
- default?: string;
220
+ constraint?: {
221
+ width?: number | null;
222
+ height?: number | null;
223
+ };
224
+ thumbnails?: readonly ({
225
+ name: string;
226
+ } & {
227
+ width?: number | null;
228
+ height?: number | null;
229
+ })[];
230
+ };
231
+ }) | ({
232
+ type: "IntegrationFields";
233
+ } & {
234
+ fieldset?: string | null | undefined;
235
+ config?: {
236
+ label?: string | null | undefined;
237
+ placeholder?: string;
238
+ catalog?: string;
239
+ };
240
+ }) | ({
241
+ type: "Link";
242
+ } & {
243
+ fieldset?: string | null | undefined;
244
+ config?: {
245
+ label?: string | null | undefined;
246
+ useAsTitle?: boolean;
247
+ placeholder?: string;
248
+ select?: "media" | "document" | "web" | null;
249
+ customtypes?: readonly string[];
250
+ masks?: readonly string[];
251
+ tags?: readonly string[];
252
+ allowTargetBlank?: boolean;
217
253
  };
218
254
  }) | ({
219
255
  type: "Number";
@@ -288,56 +324,11 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
288
324
  placeholder?: string;
289
325
  default?: string;
290
326
  };
291
- }) | ({
292
- type: "Link";
293
- } & {
294
- fieldset?: string | null | undefined;
295
- config?: {
296
- label?: string | null | undefined;
297
- useAsTitle?: boolean;
298
- placeholder?: string;
299
- select?: "media" | "document" | "web" | null;
300
- customtypes?: readonly ({
301
- customTypeId: string;
302
- } & {
303
- fetchFields?: boolean;
304
- })[];
305
- masks?: readonly string[];
306
- tags?: readonly string[];
307
- allowTargetBlank?: boolean;
308
- };
309
- }) | ({
310
- type: "Image";
311
- } & {
312
- fieldset?: string | null | undefined;
313
- config?: {
314
- label?: string | null | undefined;
315
- placeholder?: string;
316
- constraint?: {
317
- width?: number | null;
318
- height?: number | null;
319
- };
320
- thumbnails?: readonly ({
321
- name: string;
322
- } & {
323
- width?: number | null;
324
- height?: number | null;
325
- })[];
326
- };
327
- }) | ({
328
- type: "IntegrationFields";
329
- } & {
330
- fieldset?: string | null | undefined;
331
- config?: {
332
- label?: string | null | undefined;
333
- placeholder?: string;
334
- catalog?: string;
335
- };
336
327
  });
337
328
  };
338
329
  };
339
330
  }) | ({
340
- type: "Slices" | "Choice";
331
+ type: "Choice" | "Slices";
341
332
  } & {
342
333
  fieldset?: string | null | undefined;
343
334
  config?: {
@@ -351,6 +342,15 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
351
342
  } | null;
352
343
  choices?: {
353
344
  [x: string]: ({
345
+ type: "Boolean";
346
+ } & {
347
+ config?: {
348
+ label?: string | null | undefined;
349
+ default_value?: boolean;
350
+ placeholder_true?: string;
351
+ placeholder_false?: string;
352
+ };
353
+ }) | ({
354
354
  type: "Color";
355
355
  } & {
356
356
  fieldset?: string | null | undefined;
@@ -359,13 +359,13 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
359
359
  placeholder?: string;
360
360
  };
361
361
  }) | ({
362
- type: "Boolean";
362
+ type: "Date";
363
363
  } & {
364
+ fieldset?: string | null | undefined;
364
365
  config?: {
365
366
  label?: string | null | undefined;
366
- default_value?: boolean;
367
- placeholder_true?: string;
368
- placeholder_false?: string;
367
+ placeholder?: string;
368
+ default?: string;
369
369
  };
370
370
  }) | ({
371
371
  type: "Embed";
@@ -384,13 +384,45 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
384
384
  label?: string | null | undefined;
385
385
  };
386
386
  }) | ({
387
- type: "Date";
387
+ type: "Image";
388
388
  } & {
389
389
  fieldset?: string | null | undefined;
390
390
  config?: {
391
391
  label?: string | null | undefined;
392
392
  placeholder?: string;
393
- default?: string;
393
+ constraint?: {
394
+ width?: number | null;
395
+ height?: number | null;
396
+ };
397
+ thumbnails?: readonly ({
398
+ name: string;
399
+ } & {
400
+ width?: number | null;
401
+ height?: number | null;
402
+ })[];
403
+ };
404
+ }) | ({
405
+ type: "IntegrationFields";
406
+ } & {
407
+ fieldset?: string | null | undefined;
408
+ config?: {
409
+ label?: string | null | undefined;
410
+ placeholder?: string;
411
+ catalog?: string;
412
+ };
413
+ }) | ({
414
+ type: "Link";
415
+ } & {
416
+ fieldset?: string | null | undefined;
417
+ config?: {
418
+ label?: string | null | undefined;
419
+ useAsTitle?: boolean;
420
+ placeholder?: string;
421
+ select?: "media" | "document" | "web" | null;
422
+ customtypes?: readonly string[];
423
+ masks?: readonly string[];
424
+ tags?: readonly string[];
425
+ allowTargetBlank?: boolean;
394
426
  };
395
427
  }) | ({
396
428
  type: "Number";
@@ -466,73 +498,16 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
466
498
  default?: string;
467
499
  };
468
500
  }) | ({
469
- type: "Link";
501
+ type: "Group";
470
502
  } & {
471
503
  fieldset?: string | null | undefined;
504
+ icon?: string;
505
+ description?: string;
472
506
  config?: {
473
507
  label?: string | null | undefined;
474
- useAsTitle?: boolean;
475
- placeholder?: string;
476
- select?: "media" | "document" | "web" | null;
477
- customtypes?: readonly ({
478
- customTypeId: string;
479
- } & {
480
- fetchFields?: boolean;
481
- })[];
482
- masks?: readonly string[];
483
- tags?: readonly string[];
484
- allowTargetBlank?: boolean;
485
- };
486
- }) | ({
487
- type: "Image";
488
- } & {
489
- fieldset?: string | null | undefined;
490
- config?: {
491
- label?: string | null | undefined;
492
- placeholder?: string;
493
- constraint?: {
494
- width?: number | null;
495
- height?: number | null;
496
- };
497
- thumbnails?: readonly ({
498
- name: string;
499
- } & {
500
- width?: number | null;
501
- height?: number | null;
502
- })[];
503
- };
504
- }) | ({
505
- type: "IntegrationFields";
506
- } & {
507
- fieldset?: string | null | undefined;
508
- config?: {
509
- label?: string | null | undefined;
510
- placeholder?: string;
511
- catalog?: string;
512
- };
513
- }) | ({
514
- id: string;
515
- type: "SharedSlice";
516
- name: string;
517
- variations: readonly ({
518
- id: string;
519
- name: string;
520
- description: string;
521
- imageUrl: string;
522
- docURL: string;
523
- version: string;
524
- } & {
525
- display?: string;
526
- primary?: {
508
+ repeat?: boolean;
509
+ fields?: {
527
510
  [x: string]: ({
528
- type: "Color";
529
- } & {
530
- fieldset?: string | null | undefined;
531
- config?: {
532
- label?: string | null | undefined;
533
- placeholder?: string;
534
- };
535
- }) | ({
536
511
  type: "Boolean";
537
512
  } & {
538
513
  config?: {
@@ -542,20 +517,12 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
542
517
  placeholder_false?: string;
543
518
  };
544
519
  }) | ({
545
- type: "Embed";
520
+ type: "Color";
546
521
  } & {
547
522
  fieldset?: string | null | undefined;
548
523
  config?: {
549
524
  label?: string | null | undefined;
550
525
  placeholder?: string;
551
- useAsTitle?: boolean;
552
- };
553
- }) | ({
554
- type: "GeoPoint";
555
- } & {
556
- fieldset?: string | null | undefined;
557
- config?: {
558
- label?: string | null | undefined;
559
526
  };
560
527
  }) | ({
561
528
  type: "Date";
@@ -567,95 +534,20 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
567
534
  default?: string;
568
535
  };
569
536
  }) | ({
570
- type: "Number";
571
- } & {
572
- fieldset?: string | null | undefined;
573
- config?: {
574
- label?: string | null | undefined;
575
- placeholder?: string;
576
- min?: number;
577
- max?: number;
578
- step?: number;
579
- };
580
- }) | ({
581
- type: "Range";
582
- } & {
583
- fieldset?: string | null | undefined;
584
- config?: {
585
- label?: string | null | undefined;
586
- placeholder?: string;
587
- min?: number;
588
- max?: number;
589
- step?: number;
590
- };
591
- }) | ({
592
- type: "StructuredText";
593
- } & {
594
- fieldset?: string | null | undefined;
595
- config?: {
596
- label?: string | null | undefined;
597
- placeholder?: string;
598
- useAsTitle?: boolean;
599
- single?: string;
600
- multi?: string;
601
- imageConstraint?: {
602
- width?: number | null;
603
- height?: number | null;
604
- };
605
- labels?: readonly string[];
606
- allowTargetBlank?: boolean;
607
- };
608
- }) | ({
609
- type: "Select";
537
+ type: "Embed";
610
538
  } & {
611
539
  fieldset?: string | null | undefined;
612
540
  config?: {
613
541
  label?: string | null | undefined;
614
542
  placeholder?: string;
615
- default_value?: string;
616
- options?: readonly string[];
617
- };
618
- }) | ({
619
- type: "Separator";
620
- } & {
621
- config?: {
622
- label?: string | null | undefined;
623
- };
624
- }) | ({
625
- type: "Text";
626
- } & {
627
- fieldset?: string | null | undefined;
628
- config?: {
629
- label?: string | null | undefined;
630
543
  useAsTitle?: boolean;
631
- placeholder?: string;
632
- };
633
- }) | ({
634
- type: "Timestamp";
635
- } & {
636
- fieldset?: string | null | undefined;
637
- config?: {
638
- label?: string | null | undefined;
639
- placeholder?: string;
640
- default?: string;
641
544
  };
642
545
  }) | ({
643
- type: "Link";
546
+ type: "GeoPoint";
644
547
  } & {
645
548
  fieldset?: string | null | undefined;
646
549
  config?: {
647
550
  label?: string | null | undefined;
648
- useAsTitle?: boolean;
649
- placeholder?: string;
650
- select?: "media" | "document" | "web" | null;
651
- customtypes?: readonly ({
652
- customTypeId: string;
653
- } & {
654
- fetchFields?: boolean;
655
- })[];
656
- masks?: readonly string[];
657
- tags?: readonly string[];
658
- allowTargetBlank?: boolean;
659
551
  };
660
552
  }) | ({
661
553
  type: "Image";
@@ -684,50 +576,19 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
684
576
  placeholder?: string;
685
577
  catalog?: string;
686
578
  };
687
- });
688
- };
689
- items?: {
690
- [x: string]: ({
691
- type: "Color";
692
- } & {
693
- fieldset?: string | null | undefined;
694
- config?: {
695
- label?: string | null | undefined;
696
- placeholder?: string;
697
- };
698
- }) | ({
699
- type: "Boolean";
700
- } & {
701
- config?: {
702
- label?: string | null | undefined;
703
- default_value?: boolean;
704
- placeholder_true?: string;
705
- placeholder_false?: string;
706
- };
707
579
  }) | ({
708
- type: "Embed";
580
+ type: "Link";
709
581
  } & {
710
582
  fieldset?: string | null | undefined;
711
583
  config?: {
712
584
  label?: string | null | undefined;
713
- placeholder?: string;
714
585
  useAsTitle?: boolean;
715
- };
716
- }) | ({
717
- type: "GeoPoint";
718
- } & {
719
- fieldset?: string | null | undefined;
720
- config?: {
721
- label?: string | null | undefined;
722
- };
723
- }) | ({
724
- type: "Date";
725
- } & {
726
- fieldset?: string | null | undefined;
727
- config?: {
728
- label?: string | null | undefined;
729
586
  placeholder?: string;
730
- default?: string;
587
+ select?: "media" | "document" | "web" | null;
588
+ customtypes?: readonly string[];
589
+ masks?: readonly string[];
590
+ tags?: readonly string[];
591
+ allowTargetBlank?: boolean;
731
592
  };
732
593
  }) | ({
733
594
  type: "Number";
@@ -802,231 +663,11 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
802
663
  placeholder?: string;
803
664
  default?: string;
804
665
  };
805
- }) | ({
806
- type: "Link";
807
- } & {
808
- fieldset?: string | null | undefined;
809
- config?: {
810
- label?: string | null | undefined;
811
- useAsTitle?: boolean;
812
- placeholder?: string;
813
- select?: "media" | "document" | "web" | null;
814
- customtypes?: readonly ({
815
- customTypeId: string;
816
- } & {
817
- fetchFields?: boolean;
818
- })[];
819
- masks?: readonly string[];
820
- tags?: readonly string[];
821
- allowTargetBlank?: boolean;
822
- };
823
- }) | ({
824
- type: "Image";
825
- } & {
826
- fieldset?: string | null | undefined;
827
- config?: {
828
- label?: string | null | undefined;
829
- placeholder?: string;
830
- constraint?: {
831
- width?: number | null;
832
- height?: number | null;
833
- };
834
- thumbnails?: readonly ({
835
- name: string;
836
- } & {
837
- width?: number | null;
838
- height?: number | null;
839
- })[];
840
- };
841
- }) | ({
842
- type: "IntegrationFields";
843
- } & {
844
- fieldset?: string | null | undefined;
845
- config?: {
846
- label?: string | null | undefined;
847
- placeholder?: string;
848
- catalog?: string;
849
- };
850
666
  });
851
667
  };
852
- })[];
853
- } & {
854
- description?: string;
668
+ };
855
669
  }) | ({
856
- type: "Group";
857
- } & {
858
- fieldset?: string | null | undefined;
859
- icon?: string;
860
- description?: string;
861
- config?: {
862
- label?: string | null | undefined;
863
- repeat?: boolean;
864
- fields?: {
865
- [x: string]: ({
866
- type: "Color";
867
- } & {
868
- fieldset?: string | null | undefined;
869
- config?: {
870
- label?: string | null | undefined;
871
- placeholder?: string;
872
- };
873
- }) | ({
874
- type: "Boolean";
875
- } & {
876
- config?: {
877
- label?: string | null | undefined;
878
- default_value?: boolean;
879
- placeholder_true?: string;
880
- placeholder_false?: string;
881
- };
882
- }) | ({
883
- type: "Embed";
884
- } & {
885
- fieldset?: string | null | undefined;
886
- config?: {
887
- label?: string | null | undefined;
888
- placeholder?: string;
889
- useAsTitle?: boolean;
890
- };
891
- }) | ({
892
- type: "GeoPoint";
893
- } & {
894
- fieldset?: string | null | undefined;
895
- config?: {
896
- label?: string | null | undefined;
897
- };
898
- }) | ({
899
- type: "Date";
900
- } & {
901
- fieldset?: string | null | undefined;
902
- config?: {
903
- label?: string | null | undefined;
904
- placeholder?: string;
905
- default?: string;
906
- };
907
- }) | ({
908
- type: "Number";
909
- } & {
910
- fieldset?: string | null | undefined;
911
- config?: {
912
- label?: string | null | undefined;
913
- placeholder?: string;
914
- min?: number;
915
- max?: number;
916
- step?: number;
917
- };
918
- }) | ({
919
- type: "Range";
920
- } & {
921
- fieldset?: string | null | undefined;
922
- config?: {
923
- label?: string | null | undefined;
924
- placeholder?: string;
925
- min?: number;
926
- max?: number;
927
- step?: number;
928
- };
929
- }) | ({
930
- type: "StructuredText";
931
- } & {
932
- fieldset?: string | null | undefined;
933
- config?: {
934
- label?: string | null | undefined;
935
- placeholder?: string;
936
- useAsTitle?: boolean;
937
- single?: string;
938
- multi?: string;
939
- imageConstraint?: {
940
- width?: number | null;
941
- height?: number | null;
942
- };
943
- labels?: readonly string[];
944
- allowTargetBlank?: boolean;
945
- };
946
- }) | ({
947
- type: "Select";
948
- } & {
949
- fieldset?: string | null | undefined;
950
- config?: {
951
- label?: string | null | undefined;
952
- placeholder?: string;
953
- default_value?: string;
954
- options?: readonly string[];
955
- };
956
- }) | ({
957
- type: "Separator";
958
- } & {
959
- config?: {
960
- label?: string | null | undefined;
961
- };
962
- }) | ({
963
- type: "Text";
964
- } & {
965
- fieldset?: string | null | undefined;
966
- config?: {
967
- label?: string | null | undefined;
968
- useAsTitle?: boolean;
969
- placeholder?: string;
970
- };
971
- }) | ({
972
- type: "Timestamp";
973
- } & {
974
- fieldset?: string | null | undefined;
975
- config?: {
976
- label?: string | null | undefined;
977
- placeholder?: string;
978
- default?: string;
979
- };
980
- }) | ({
981
- type: "Link";
982
- } & {
983
- fieldset?: string | null | undefined;
984
- config?: {
985
- label?: string | null | undefined;
986
- useAsTitle?: boolean;
987
- placeholder?: string;
988
- select?: "media" | "document" | "web" | null;
989
- customtypes?: readonly ({
990
- customTypeId: string;
991
- } & {
992
- fetchFields?: boolean;
993
- })[];
994
- masks?: readonly string[];
995
- tags?: readonly string[];
996
- allowTargetBlank?: boolean;
997
- };
998
- }) | ({
999
- type: "Image";
1000
- } & {
1001
- fieldset?: string | null | undefined;
1002
- config?: {
1003
- label?: string | null | undefined;
1004
- placeholder?: string;
1005
- constraint?: {
1006
- width?: number | null;
1007
- height?: number | null;
1008
- };
1009
- thumbnails?: readonly ({
1010
- name: string;
1011
- } & {
1012
- width?: number | null;
1013
- height?: number | null;
1014
- })[];
1015
- };
1016
- }) | ({
1017
- type: "IntegrationFields";
1018
- } & {
1019
- fieldset?: string | null | undefined;
1020
- config?: {
1021
- label?: string | null | undefined;
1022
- placeholder?: string;
1023
- catalog?: string;
1024
- };
1025
- });
1026
- };
1027
- };
1028
- }) | ({
1029
- type: "Slice";
670
+ type: "Slice";
1030
671
  } & {
1031
672
  fieldset?: string | null | undefined;
1032
673
  description?: string;
@@ -1034,6 +675,15 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1034
675
  display?: string;
1035
676
  "non-repeat"?: {
1036
677
  [x: string]: ({
678
+ type: "Boolean";
679
+ } & {
680
+ config?: {
681
+ label?: string | null | undefined;
682
+ default_value?: boolean;
683
+ placeholder_true?: string;
684
+ placeholder_false?: string;
685
+ };
686
+ }) | ({
1037
687
  type: "Color";
1038
688
  } & {
1039
689
  fieldset?: string | null | undefined;
@@ -1042,13 +692,13 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1042
692
  placeholder?: string;
1043
693
  };
1044
694
  }) | ({
1045
- type: "Boolean";
695
+ type: "Date";
1046
696
  } & {
697
+ fieldset?: string | null | undefined;
1047
698
  config?: {
1048
699
  label?: string | null | undefined;
1049
- default_value?: boolean;
1050
- placeholder_true?: string;
1051
- placeholder_false?: string;
700
+ placeholder?: string;
701
+ default?: string;
1052
702
  };
1053
703
  }) | ({
1054
704
  type: "Embed";
@@ -1067,13 +717,45 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1067
717
  label?: string | null | undefined;
1068
718
  };
1069
719
  }) | ({
1070
- type: "Date";
720
+ type: "Image";
1071
721
  } & {
1072
722
  fieldset?: string | null | undefined;
1073
723
  config?: {
1074
724
  label?: string | null | undefined;
1075
725
  placeholder?: string;
1076
- default?: string;
726
+ constraint?: {
727
+ width?: number | null;
728
+ height?: number | null;
729
+ };
730
+ thumbnails?: readonly ({
731
+ name: string;
732
+ } & {
733
+ width?: number | null;
734
+ height?: number | null;
735
+ })[];
736
+ };
737
+ }) | ({
738
+ type: "IntegrationFields";
739
+ } & {
740
+ fieldset?: string | null | undefined;
741
+ config?: {
742
+ label?: string | null | undefined;
743
+ placeholder?: string;
744
+ catalog?: string;
745
+ };
746
+ }) | ({
747
+ type: "Link";
748
+ } & {
749
+ fieldset?: string | null | undefined;
750
+ config?: {
751
+ label?: string | null | undefined;
752
+ useAsTitle?: boolean;
753
+ placeholder?: string;
754
+ select?: "media" | "document" | "web" | null;
755
+ customtypes?: readonly string[];
756
+ masks?: readonly string[];
757
+ tags?: readonly string[];
758
+ allowTargetBlank?: boolean;
1077
759
  };
1078
760
  }) | ({
1079
761
  type: "Number";
@@ -1148,23 +830,50 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1148
830
  placeholder?: string;
1149
831
  default?: string;
1150
832
  };
833
+ });
834
+ };
835
+ repeat?: {
836
+ [x: string]: ({
837
+ type: "Boolean";
838
+ } & {
839
+ config?: {
840
+ label?: string | null | undefined;
841
+ default_value?: boolean;
842
+ placeholder_true?: string;
843
+ placeholder_false?: string;
844
+ };
845
+ }) | ({
846
+ type: "Color";
847
+ } & {
848
+ fieldset?: string | null | undefined;
849
+ config?: {
850
+ label?: string | null | undefined;
851
+ placeholder?: string;
852
+ };
853
+ }) | ({
854
+ type: "Date";
855
+ } & {
856
+ fieldset?: string | null | undefined;
857
+ config?: {
858
+ label?: string | null | undefined;
859
+ placeholder?: string;
860
+ default?: string;
861
+ };
1151
862
  }) | ({
1152
- type: "Link";
863
+ type: "Embed";
1153
864
  } & {
1154
865
  fieldset?: string | null | undefined;
1155
866
  config?: {
1156
867
  label?: string | null | undefined;
1157
- useAsTitle?: boolean;
1158
868
  placeholder?: string;
1159
- select?: "media" | "document" | "web" | null;
1160
- customtypes?: readonly ({
1161
- customTypeId: string;
1162
- } & {
1163
- fetchFields?: boolean;
1164
- })[];
1165
- masks?: readonly string[];
1166
- tags?: readonly string[];
1167
- allowTargetBlank?: boolean;
869
+ useAsTitle?: boolean;
870
+ };
871
+ }) | ({
872
+ type: "GeoPoint";
873
+ } & {
874
+ fieldset?: string | null | undefined;
875
+ config?: {
876
+ label?: string | null | undefined;
1168
877
  };
1169
878
  }) | ({
1170
879
  type: "Image";
@@ -1193,55 +902,24 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1193
902
  placeholder?: string;
1194
903
  catalog?: string;
1195
904
  };
1196
- });
1197
- };
1198
- repeat?: {
1199
- [x: string]: ({
1200
- type: "Color";
905
+ }) | ({
906
+ type: "Link";
1201
907
  } & {
1202
908
  fieldset?: string | null | undefined;
1203
909
  config?: {
1204
910
  label?: string | null | undefined;
911
+ useAsTitle?: boolean;
1205
912
  placeholder?: string;
913
+ select?: "media" | "document" | "web" | null;
914
+ customtypes?: readonly string[];
915
+ masks?: readonly string[];
916
+ tags?: readonly string[];
917
+ allowTargetBlank?: boolean;
1206
918
  };
1207
919
  }) | ({
1208
- type: "Boolean";
920
+ type: "Number";
1209
921
  } & {
1210
- config?: {
1211
- label?: string | null | undefined;
1212
- default_value?: boolean;
1213
- placeholder_true?: string;
1214
- placeholder_false?: string;
1215
- };
1216
- }) | ({
1217
- type: "Embed";
1218
- } & {
1219
- fieldset?: string | null | undefined;
1220
- config?: {
1221
- label?: string | null | undefined;
1222
- placeholder?: string;
1223
- useAsTitle?: boolean;
1224
- };
1225
- }) | ({
1226
- type: "GeoPoint";
1227
- } & {
1228
- fieldset?: string | null | undefined;
1229
- config?: {
1230
- label?: string | null | undefined;
1231
- };
1232
- }) | ({
1233
- type: "Date";
1234
- } & {
1235
- fieldset?: string | null | undefined;
1236
- config?: {
1237
- label?: string | null | undefined;
1238
- placeholder?: string;
1239
- default?: string;
1240
- };
1241
- }) | ({
1242
- type: "Number";
1243
- } & {
1244
- fieldset?: string | null | undefined;
922
+ fieldset?: string | null | undefined;
1245
923
  config?: {
1246
924
  label?: string | null | undefined;
1247
925
  placeholder?: string;
@@ -1311,56 +989,345 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1311
989
  placeholder?: string;
1312
990
  default?: string;
1313
991
  };
1314
- }) | ({
1315
- type: "Link";
1316
- } & {
1317
- fieldset?: string | null | undefined;
1318
- config?: {
1319
- label?: string | null | undefined;
1320
- useAsTitle?: boolean;
1321
- placeholder?: string;
1322
- select?: "media" | "document" | "web" | null;
1323
- customtypes?: readonly ({
1324
- customTypeId: string;
1325
- } & {
1326
- fetchFields?: boolean;
1327
- })[];
1328
- masks?: readonly string[];
1329
- tags?: readonly string[];
1330
- allowTargetBlank?: boolean;
1331
- };
1332
- }) | ({
1333
- type: "Image";
1334
- } & {
1335
- fieldset?: string | null | undefined;
1336
- config?: {
1337
- label?: string | null | undefined;
1338
- placeholder?: string;
1339
- constraint?: {
1340
- width?: number | null;
1341
- height?: number | null;
1342
- };
1343
- thumbnails?: readonly ({
1344
- name: string;
1345
- } & {
1346
- width?: number | null;
1347
- height?: number | null;
1348
- })[];
1349
- };
1350
- }) | ({
1351
- type: "IntegrationFields";
1352
- } & {
1353
- fieldset?: string | null | undefined;
1354
- config?: {
1355
- label?: string | null | undefined;
1356
- placeholder?: string;
1357
- catalog?: string;
1358
- };
1359
992
  });
1360
993
  };
1361
994
  config?: {
1362
995
  label?: string | null | undefined;
1363
996
  };
997
+ }) | ({
998
+ id: string;
999
+ type: "SharedSlice";
1000
+ name: string;
1001
+ variations: readonly ({
1002
+ id: string;
1003
+ name: string;
1004
+ description: string;
1005
+ imageUrl: string;
1006
+ docURL: string;
1007
+ version: string;
1008
+ } & {
1009
+ display?: string;
1010
+ primary?: {
1011
+ [x: string]: ({
1012
+ type: "Boolean";
1013
+ } & {
1014
+ config?: {
1015
+ label?: string | null | undefined;
1016
+ default_value?: boolean;
1017
+ placeholder_true?: string;
1018
+ placeholder_false?: string;
1019
+ };
1020
+ }) | ({
1021
+ type: "Color";
1022
+ } & {
1023
+ fieldset?: string | null | undefined;
1024
+ config?: {
1025
+ label?: string | null | undefined;
1026
+ placeholder?: string;
1027
+ };
1028
+ }) | ({
1029
+ type: "Date";
1030
+ } & {
1031
+ fieldset?: string | null | undefined;
1032
+ config?: {
1033
+ label?: string | null | undefined;
1034
+ placeholder?: string;
1035
+ default?: string;
1036
+ };
1037
+ }) | ({
1038
+ type: "Embed";
1039
+ } & {
1040
+ fieldset?: string | null | undefined;
1041
+ config?: {
1042
+ label?: string | null | undefined;
1043
+ placeholder?: string;
1044
+ useAsTitle?: boolean;
1045
+ };
1046
+ }) | ({
1047
+ type: "GeoPoint";
1048
+ } & {
1049
+ fieldset?: string | null | undefined;
1050
+ config?: {
1051
+ label?: string | null | undefined;
1052
+ };
1053
+ }) | ({
1054
+ type: "Image";
1055
+ } & {
1056
+ fieldset?: string | null | undefined;
1057
+ config?: {
1058
+ label?: string | null | undefined;
1059
+ placeholder?: string;
1060
+ constraint?: {
1061
+ width?: number | null;
1062
+ height?: number | null;
1063
+ };
1064
+ thumbnails?: readonly ({
1065
+ name: string;
1066
+ } & {
1067
+ width?: number | null;
1068
+ height?: number | null;
1069
+ })[];
1070
+ };
1071
+ }) | ({
1072
+ type: "IntegrationFields";
1073
+ } & {
1074
+ fieldset?: string | null | undefined;
1075
+ config?: {
1076
+ label?: string | null | undefined;
1077
+ placeholder?: string;
1078
+ catalog?: string;
1079
+ };
1080
+ }) | ({
1081
+ type: "Link";
1082
+ } & {
1083
+ fieldset?: string | null | undefined;
1084
+ config?: {
1085
+ label?: string | null | undefined;
1086
+ useAsTitle?: boolean;
1087
+ placeholder?: string;
1088
+ select?: "media" | "document" | "web" | null;
1089
+ customtypes?: readonly string[];
1090
+ masks?: readonly string[];
1091
+ tags?: readonly string[];
1092
+ allowTargetBlank?: boolean;
1093
+ };
1094
+ }) | ({
1095
+ type: "Number";
1096
+ } & {
1097
+ fieldset?: string | null | undefined;
1098
+ config?: {
1099
+ label?: string | null | undefined;
1100
+ placeholder?: string;
1101
+ min?: number;
1102
+ max?: number;
1103
+ step?: number;
1104
+ };
1105
+ }) | ({
1106
+ type: "Range";
1107
+ } & {
1108
+ fieldset?: string | null | undefined;
1109
+ config?: {
1110
+ label?: string | null | undefined;
1111
+ placeholder?: string;
1112
+ min?: number;
1113
+ max?: number;
1114
+ step?: number;
1115
+ };
1116
+ }) | ({
1117
+ type: "StructuredText";
1118
+ } & {
1119
+ fieldset?: string | null | undefined;
1120
+ config?: {
1121
+ label?: string | null | undefined;
1122
+ placeholder?: string;
1123
+ useAsTitle?: boolean;
1124
+ single?: string;
1125
+ multi?: string;
1126
+ imageConstraint?: {
1127
+ width?: number | null;
1128
+ height?: number | null;
1129
+ };
1130
+ labels?: readonly string[];
1131
+ allowTargetBlank?: boolean;
1132
+ };
1133
+ }) | ({
1134
+ type: "Select";
1135
+ } & {
1136
+ fieldset?: string | null | undefined;
1137
+ config?: {
1138
+ label?: string | null | undefined;
1139
+ placeholder?: string;
1140
+ default_value?: string;
1141
+ options?: readonly string[];
1142
+ };
1143
+ }) | ({
1144
+ type: "Separator";
1145
+ } & {
1146
+ config?: {
1147
+ label?: string | null | undefined;
1148
+ };
1149
+ }) | ({
1150
+ type: "Text";
1151
+ } & {
1152
+ fieldset?: string | null | undefined;
1153
+ config?: {
1154
+ label?: string | null | undefined;
1155
+ useAsTitle?: boolean;
1156
+ placeholder?: string;
1157
+ };
1158
+ }) | ({
1159
+ type: "Timestamp";
1160
+ } & {
1161
+ fieldset?: string | null | undefined;
1162
+ config?: {
1163
+ label?: string | null | undefined;
1164
+ placeholder?: string;
1165
+ default?: string;
1166
+ };
1167
+ });
1168
+ };
1169
+ items?: {
1170
+ [x: string]: ({
1171
+ type: "Boolean";
1172
+ } & {
1173
+ config?: {
1174
+ label?: string | null | undefined;
1175
+ default_value?: boolean;
1176
+ placeholder_true?: string;
1177
+ placeholder_false?: string;
1178
+ };
1179
+ }) | ({
1180
+ type: "Color";
1181
+ } & {
1182
+ fieldset?: string | null | undefined;
1183
+ config?: {
1184
+ label?: string | null | undefined;
1185
+ placeholder?: string;
1186
+ };
1187
+ }) | ({
1188
+ type: "Date";
1189
+ } & {
1190
+ fieldset?: string | null | undefined;
1191
+ config?: {
1192
+ label?: string | null | undefined;
1193
+ placeholder?: string;
1194
+ default?: string;
1195
+ };
1196
+ }) | ({
1197
+ type: "Embed";
1198
+ } & {
1199
+ fieldset?: string | null | undefined;
1200
+ config?: {
1201
+ label?: string | null | undefined;
1202
+ placeholder?: string;
1203
+ useAsTitle?: boolean;
1204
+ };
1205
+ }) | ({
1206
+ type: "GeoPoint";
1207
+ } & {
1208
+ fieldset?: string | null | undefined;
1209
+ config?: {
1210
+ label?: string | null | undefined;
1211
+ };
1212
+ }) | ({
1213
+ type: "Image";
1214
+ } & {
1215
+ fieldset?: string | null | undefined;
1216
+ config?: {
1217
+ label?: string | null | undefined;
1218
+ placeholder?: string;
1219
+ constraint?: {
1220
+ width?: number | null;
1221
+ height?: number | null;
1222
+ };
1223
+ thumbnails?: readonly ({
1224
+ name: string;
1225
+ } & {
1226
+ width?: number | null;
1227
+ height?: number | null;
1228
+ })[];
1229
+ };
1230
+ }) | ({
1231
+ type: "IntegrationFields";
1232
+ } & {
1233
+ fieldset?: string | null | undefined;
1234
+ config?: {
1235
+ label?: string | null | undefined;
1236
+ placeholder?: string;
1237
+ catalog?: string;
1238
+ };
1239
+ }) | ({
1240
+ type: "Link";
1241
+ } & {
1242
+ fieldset?: string | null | undefined;
1243
+ config?: {
1244
+ label?: string | null | undefined;
1245
+ useAsTitle?: boolean;
1246
+ placeholder?: string;
1247
+ select?: "media" | "document" | "web" | null;
1248
+ customtypes?: readonly string[];
1249
+ masks?: readonly string[];
1250
+ tags?: readonly string[];
1251
+ allowTargetBlank?: boolean;
1252
+ };
1253
+ }) | ({
1254
+ type: "Number";
1255
+ } & {
1256
+ fieldset?: string | null | undefined;
1257
+ config?: {
1258
+ label?: string | null | undefined;
1259
+ placeholder?: string;
1260
+ min?: number;
1261
+ max?: number;
1262
+ step?: number;
1263
+ };
1264
+ }) | ({
1265
+ type: "Range";
1266
+ } & {
1267
+ fieldset?: string | null | undefined;
1268
+ config?: {
1269
+ label?: string | null | undefined;
1270
+ placeholder?: string;
1271
+ min?: number;
1272
+ max?: number;
1273
+ step?: number;
1274
+ };
1275
+ }) | ({
1276
+ type: "StructuredText";
1277
+ } & {
1278
+ fieldset?: string | null | undefined;
1279
+ config?: {
1280
+ label?: string | null | undefined;
1281
+ placeholder?: string;
1282
+ useAsTitle?: boolean;
1283
+ single?: string;
1284
+ multi?: string;
1285
+ imageConstraint?: {
1286
+ width?: number | null;
1287
+ height?: number | null;
1288
+ };
1289
+ labels?: readonly string[];
1290
+ allowTargetBlank?: boolean;
1291
+ };
1292
+ }) | ({
1293
+ type: "Select";
1294
+ } & {
1295
+ fieldset?: string | null | undefined;
1296
+ config?: {
1297
+ label?: string | null | undefined;
1298
+ placeholder?: string;
1299
+ default_value?: string;
1300
+ options?: readonly string[];
1301
+ };
1302
+ }) | ({
1303
+ type: "Separator";
1304
+ } & {
1305
+ config?: {
1306
+ label?: string | null | undefined;
1307
+ };
1308
+ }) | ({
1309
+ type: "Text";
1310
+ } & {
1311
+ fieldset?: string | null | undefined;
1312
+ config?: {
1313
+ label?: string | null | undefined;
1314
+ useAsTitle?: boolean;
1315
+ placeholder?: string;
1316
+ };
1317
+ }) | ({
1318
+ type: "Timestamp";
1319
+ } & {
1320
+ fieldset?: string | null | undefined;
1321
+ config?: {
1322
+ label?: string | null | undefined;
1323
+ placeholder?: string;
1324
+ default?: string;
1325
+ };
1326
+ });
1327
+ };
1328
+ })[];
1329
+ } & {
1330
+ description?: string;
1364
1331
  });
1365
1332
  };
1366
1333
  };
@@ -1376,6 +1343,15 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1376
1343
  }), unknown, unknown>>;
1377
1344
  export declare type StaticSection = t.TypeOf<typeof StaticSection>;
1378
1345
  export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
1346
+ type: "Boolean";
1347
+ } & {
1348
+ config?: {
1349
+ label?: string | null | undefined;
1350
+ default_value?: boolean;
1351
+ placeholder_true?: string;
1352
+ placeholder_false?: string;
1353
+ };
1354
+ }) | ({
1379
1355
  type: "Color";
1380
1356
  } & {
1381
1357
  fieldset?: string | null | undefined;
@@ -1384,13 +1360,13 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1384
1360
  placeholder?: string;
1385
1361
  };
1386
1362
  }) | ({
1387
- type: "Boolean";
1363
+ type: "Date";
1388
1364
  } & {
1365
+ fieldset?: string | null | undefined;
1389
1366
  config?: {
1390
1367
  label?: string | null | undefined;
1391
- default_value?: boolean;
1392
- placeholder_true?: string;
1393
- placeholder_false?: string;
1368
+ placeholder?: string;
1369
+ default?: string;
1394
1370
  };
1395
1371
  }) | ({
1396
1372
  type: "Embed";
@@ -1402,20 +1378,52 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1402
1378
  useAsTitle?: boolean;
1403
1379
  };
1404
1380
  }) | ({
1405
- type: "GeoPoint";
1381
+ type: "GeoPoint";
1382
+ } & {
1383
+ fieldset?: string | null | undefined;
1384
+ config?: {
1385
+ label?: string | null | undefined;
1386
+ };
1387
+ }) | ({
1388
+ type: "Image";
1389
+ } & {
1390
+ fieldset?: string | null | undefined;
1391
+ config?: {
1392
+ label?: string | null | undefined;
1393
+ placeholder?: string;
1394
+ constraint?: {
1395
+ width?: number | null;
1396
+ height?: number | null;
1397
+ };
1398
+ thumbnails?: readonly ({
1399
+ name: string;
1400
+ } & {
1401
+ width?: number | null;
1402
+ height?: number | null;
1403
+ })[];
1404
+ };
1405
+ }) | ({
1406
+ type: "IntegrationFields";
1406
1407
  } & {
1407
1408
  fieldset?: string | null | undefined;
1408
1409
  config?: {
1409
1410
  label?: string | null | undefined;
1411
+ placeholder?: string;
1412
+ catalog?: string;
1410
1413
  };
1411
1414
  }) | ({
1412
- type: "Date";
1415
+ type: "Link";
1413
1416
  } & {
1414
1417
  fieldset?: string | null | undefined;
1415
1418
  config?: {
1416
1419
  label?: string | null | undefined;
1420
+ useAsTitle?: boolean;
1417
1421
  placeholder?: string;
1418
- default?: string;
1422
+ select?: "media" | "document" | "web" | null;
1423
+ customtypes?: readonly string[];
1424
+ masks?: readonly string[];
1425
+ tags?: readonly string[];
1426
+ allowTargetBlank?: boolean;
1419
1427
  };
1420
1428
  }) | ({
1421
1429
  type: "Number";
@@ -1490,51 +1498,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1490
1498
  placeholder?: string;
1491
1499
  default?: string;
1492
1500
  };
1493
- }) | ({
1494
- type: "Link";
1495
- } & {
1496
- fieldset?: string | null | undefined;
1497
- config?: {
1498
- label?: string | null | undefined;
1499
- useAsTitle?: boolean;
1500
- placeholder?: string;
1501
- select?: "media" | "document" | "web" | null;
1502
- customtypes?: readonly ({
1503
- customTypeId: string;
1504
- } & {
1505
- fetchFields?: boolean;
1506
- })[];
1507
- masks?: readonly string[];
1508
- tags?: readonly string[];
1509
- allowTargetBlank?: boolean;
1510
- };
1511
- }) | ({
1512
- type: "Image";
1513
- } & {
1514
- fieldset?: string | null | undefined;
1515
- config?: {
1516
- label?: string | null | undefined;
1517
- placeholder?: string;
1518
- constraint?: {
1519
- width?: number | null;
1520
- height?: number | null;
1521
- };
1522
- thumbnails?: readonly ({
1523
- name: string;
1524
- } & {
1525
- width?: number | null;
1526
- height?: number | null;
1527
- })[];
1528
- };
1529
- }) | ({
1530
- type: "IntegrationFields";
1531
- } & {
1532
- fieldset?: string | null | undefined;
1533
- config?: {
1534
- label?: string | null | undefined;
1535
- placeholder?: string;
1536
- catalog?: string;
1537
- };
1538
1501
  }) | ({
1539
1502
  type: "Group";
1540
1503
  } & {
@@ -1546,6 +1509,15 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1546
1509
  repeat?: boolean;
1547
1510
  fields?: {
1548
1511
  [x: string]: ({
1512
+ type: "Boolean";
1513
+ } & {
1514
+ config?: {
1515
+ label?: string | null | undefined;
1516
+ default_value?: boolean;
1517
+ placeholder_true?: string;
1518
+ placeholder_false?: string;
1519
+ };
1520
+ }) | ({
1549
1521
  type: "Color";
1550
1522
  } & {
1551
1523
  fieldset?: string | null | undefined;
@@ -1554,13 +1526,13 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1554
1526
  placeholder?: string;
1555
1527
  };
1556
1528
  }) | ({
1557
- type: "Boolean";
1529
+ type: "Date";
1558
1530
  } & {
1531
+ fieldset?: string | null | undefined;
1559
1532
  config?: {
1560
1533
  label?: string | null | undefined;
1561
- default_value?: boolean;
1562
- placeholder_true?: string;
1563
- placeholder_false?: string;
1534
+ placeholder?: string;
1535
+ default?: string;
1564
1536
  };
1565
1537
  }) | ({
1566
1538
  type: "Embed";
@@ -1579,13 +1551,45 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1579
1551
  label?: string | null | undefined;
1580
1552
  };
1581
1553
  }) | ({
1582
- type: "Date";
1554
+ type: "Image";
1583
1555
  } & {
1584
1556
  fieldset?: string | null | undefined;
1585
1557
  config?: {
1586
1558
  label?: string | null | undefined;
1587
1559
  placeholder?: string;
1588
- default?: string;
1560
+ constraint?: {
1561
+ width?: number | null;
1562
+ height?: number | null;
1563
+ };
1564
+ thumbnails?: readonly ({
1565
+ name: string;
1566
+ } & {
1567
+ width?: number | null;
1568
+ height?: number | null;
1569
+ })[];
1570
+ };
1571
+ }) | ({
1572
+ type: "IntegrationFields";
1573
+ } & {
1574
+ fieldset?: string | null | undefined;
1575
+ config?: {
1576
+ label?: string | null | undefined;
1577
+ placeholder?: string;
1578
+ catalog?: string;
1579
+ };
1580
+ }) | ({
1581
+ type: "Link";
1582
+ } & {
1583
+ fieldset?: string | null | undefined;
1584
+ config?: {
1585
+ label?: string | null | undefined;
1586
+ useAsTitle?: boolean;
1587
+ placeholder?: string;
1588
+ select?: "media" | "document" | "web" | null;
1589
+ customtypes?: readonly string[];
1590
+ masks?: readonly string[];
1591
+ tags?: readonly string[];
1592
+ allowTargetBlank?: boolean;
1589
1593
  };
1590
1594
  }) | ({
1591
1595
  type: "Number";
@@ -1660,56 +1664,11 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1660
1664
  placeholder?: string;
1661
1665
  default?: string;
1662
1666
  };
1663
- }) | ({
1664
- type: "Link";
1665
- } & {
1666
- fieldset?: string | null | undefined;
1667
- config?: {
1668
- label?: string | null | undefined;
1669
- useAsTitle?: boolean;
1670
- placeholder?: string;
1671
- select?: "media" | "document" | "web" | null;
1672
- customtypes?: readonly ({
1673
- customTypeId: string;
1674
- } & {
1675
- fetchFields?: boolean;
1676
- })[];
1677
- masks?: readonly string[];
1678
- tags?: readonly string[];
1679
- allowTargetBlank?: boolean;
1680
- };
1681
- }) | ({
1682
- type: "Image";
1683
- } & {
1684
- fieldset?: string | null | undefined;
1685
- config?: {
1686
- label?: string | null | undefined;
1687
- placeholder?: string;
1688
- constraint?: {
1689
- width?: number | null;
1690
- height?: number | null;
1691
- };
1692
- thumbnails?: readonly ({
1693
- name: string;
1694
- } & {
1695
- width?: number | null;
1696
- height?: number | null;
1697
- })[];
1698
- };
1699
- }) | ({
1700
- type: "IntegrationFields";
1701
- } & {
1702
- fieldset?: string | null | undefined;
1703
- config?: {
1704
- label?: string | null | undefined;
1705
- placeholder?: string;
1706
- catalog?: string;
1707
- };
1708
1667
  });
1709
1668
  };
1710
1669
  };
1711
1670
  }) | ({
1712
- type: "Slices" | "Choice";
1671
+ type: "Choice" | "Slices";
1713
1672
  } & {
1714
1673
  fieldset?: string | null | undefined;
1715
1674
  config?: {
@@ -1722,9 +1681,16 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1722
1681
  })[];
1723
1682
  } | null;
1724
1683
  choices?: {
1725
- [x: string]: {
1726
- type: "SharedSlice";
1727
- } | ({
1684
+ [x: string]: ({
1685
+ type: "Boolean";
1686
+ } & {
1687
+ config?: {
1688
+ label?: string | null | undefined;
1689
+ default_value?: boolean;
1690
+ placeholder_true?: string;
1691
+ placeholder_false?: string;
1692
+ };
1693
+ }) | ({
1728
1694
  type: "Color";
1729
1695
  } & {
1730
1696
  fieldset?: string | null | undefined;
@@ -1733,13 +1699,13 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1733
1699
  placeholder?: string;
1734
1700
  };
1735
1701
  }) | ({
1736
- type: "Boolean";
1702
+ type: "Date";
1737
1703
  } & {
1704
+ fieldset?: string | null | undefined;
1738
1705
  config?: {
1739
1706
  label?: string | null | undefined;
1740
- default_value?: boolean;
1741
- placeholder_true?: string;
1742
- placeholder_false?: string;
1707
+ placeholder?: string;
1708
+ default?: string;
1743
1709
  };
1744
1710
  }) | ({
1745
1711
  type: "Embed";
@@ -1758,13 +1724,45 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1758
1724
  label?: string | null | undefined;
1759
1725
  };
1760
1726
  }) | ({
1761
- type: "Date";
1727
+ type: "Image";
1762
1728
  } & {
1763
1729
  fieldset?: string | null | undefined;
1764
1730
  config?: {
1765
1731
  label?: string | null | undefined;
1766
1732
  placeholder?: string;
1767
- default?: string;
1733
+ constraint?: {
1734
+ width?: number | null;
1735
+ height?: number | null;
1736
+ };
1737
+ thumbnails?: readonly ({
1738
+ name: string;
1739
+ } & {
1740
+ width?: number | null;
1741
+ height?: number | null;
1742
+ })[];
1743
+ };
1744
+ }) | ({
1745
+ type: "IntegrationFields";
1746
+ } & {
1747
+ fieldset?: string | null | undefined;
1748
+ config?: {
1749
+ label?: string | null | undefined;
1750
+ placeholder?: string;
1751
+ catalog?: string;
1752
+ };
1753
+ }) | ({
1754
+ type: "Link";
1755
+ } & {
1756
+ fieldset?: string | null | undefined;
1757
+ config?: {
1758
+ label?: string | null | undefined;
1759
+ useAsTitle?: boolean;
1760
+ placeholder?: string;
1761
+ select?: "media" | "document" | "web" | null;
1762
+ customtypes?: readonly string[];
1763
+ masks?: readonly string[];
1764
+ tags?: readonly string[];
1765
+ allowTargetBlank?: boolean;
1768
1766
  };
1769
1767
  }) | ({
1770
1768
  type: "Number";
@@ -1839,51 +1837,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1839
1837
  placeholder?: string;
1840
1838
  default?: string;
1841
1839
  };
1842
- }) | ({
1843
- type: "Link";
1844
- } & {
1845
- fieldset?: string | null | undefined;
1846
- config?: {
1847
- label?: string | null | undefined;
1848
- useAsTitle?: boolean;
1849
- placeholder?: string;
1850
- select?: "media" | "document" | "web" | null;
1851
- customtypes?: readonly ({
1852
- customTypeId: string;
1853
- } & {
1854
- fetchFields?: boolean;
1855
- })[];
1856
- masks?: readonly string[];
1857
- tags?: readonly string[];
1858
- allowTargetBlank?: boolean;
1859
- };
1860
- }) | ({
1861
- type: "Image";
1862
- } & {
1863
- fieldset?: string | null | undefined;
1864
- config?: {
1865
- label?: string | null | undefined;
1866
- placeholder?: string;
1867
- constraint?: {
1868
- width?: number | null;
1869
- height?: number | null;
1870
- };
1871
- thumbnails?: readonly ({
1872
- name: string;
1873
- } & {
1874
- width?: number | null;
1875
- height?: number | null;
1876
- })[];
1877
- };
1878
- }) | ({
1879
- type: "IntegrationFields";
1880
- } & {
1881
- fieldset?: string | null | undefined;
1882
- config?: {
1883
- label?: string | null | undefined;
1884
- placeholder?: string;
1885
- catalog?: string;
1886
- };
1887
1840
  }) | ({
1888
1841
  type: "Group";
1889
1842
  } & {
@@ -1895,6 +1848,15 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1895
1848
  repeat?: boolean;
1896
1849
  fields?: {
1897
1850
  [x: string]: ({
1851
+ type: "Boolean";
1852
+ } & {
1853
+ config?: {
1854
+ label?: string | null | undefined;
1855
+ default_value?: boolean;
1856
+ placeholder_true?: string;
1857
+ placeholder_false?: string;
1858
+ };
1859
+ }) | ({
1898
1860
  type: "Color";
1899
1861
  } & {
1900
1862
  fieldset?: string | null | undefined;
@@ -1903,13 +1865,13 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1903
1865
  placeholder?: string;
1904
1866
  };
1905
1867
  }) | ({
1906
- type: "Boolean";
1868
+ type: "Date";
1907
1869
  } & {
1870
+ fieldset?: string | null | undefined;
1908
1871
  config?: {
1909
1872
  label?: string | null | undefined;
1910
- default_value?: boolean;
1911
- placeholder_true?: string;
1912
- placeholder_false?: string;
1873
+ placeholder?: string;
1874
+ default?: string;
1913
1875
  };
1914
1876
  }) | ({
1915
1877
  type: "Embed";
@@ -1928,13 +1890,45 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1928
1890
  label?: string | null | undefined;
1929
1891
  };
1930
1892
  }) | ({
1931
- type: "Date";
1893
+ type: "Image";
1932
1894
  } & {
1933
1895
  fieldset?: string | null | undefined;
1934
1896
  config?: {
1935
1897
  label?: string | null | undefined;
1936
1898
  placeholder?: string;
1937
- default?: string;
1899
+ constraint?: {
1900
+ width?: number | null;
1901
+ height?: number | null;
1902
+ };
1903
+ thumbnails?: readonly ({
1904
+ name: string;
1905
+ } & {
1906
+ width?: number | null;
1907
+ height?: number | null;
1908
+ })[];
1909
+ };
1910
+ }) | ({
1911
+ type: "IntegrationFields";
1912
+ } & {
1913
+ fieldset?: string | null | undefined;
1914
+ config?: {
1915
+ label?: string | null | undefined;
1916
+ placeholder?: string;
1917
+ catalog?: string;
1918
+ };
1919
+ }) | ({
1920
+ type: "Link";
1921
+ } & {
1922
+ fieldset?: string | null | undefined;
1923
+ config?: {
1924
+ label?: string | null | undefined;
1925
+ useAsTitle?: boolean;
1926
+ placeholder?: string;
1927
+ select?: "media" | "document" | "web" | null;
1928
+ customtypes?: readonly string[];
1929
+ masks?: readonly string[];
1930
+ tags?: readonly string[];
1931
+ allowTargetBlank?: boolean;
1938
1932
  };
1939
1933
  }) | ({
1940
1934
  type: "Number";
@@ -2009,51 +2003,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2009
2003
  placeholder?: string;
2010
2004
  default?: string;
2011
2005
  };
2012
- }) | ({
2013
- type: "Link";
2014
- } & {
2015
- fieldset?: string | null | undefined;
2016
- config?: {
2017
- label?: string | null | undefined;
2018
- useAsTitle?: boolean;
2019
- placeholder?: string;
2020
- select?: "media" | "document" | "web" | null;
2021
- customtypes?: readonly ({
2022
- customTypeId: string;
2023
- } & {
2024
- fetchFields?: boolean;
2025
- })[];
2026
- masks?: readonly string[];
2027
- tags?: readonly string[];
2028
- allowTargetBlank?: boolean;
2029
- };
2030
- }) | ({
2031
- type: "Image";
2032
- } & {
2033
- fieldset?: string | null | undefined;
2034
- config?: {
2035
- label?: string | null | undefined;
2036
- placeholder?: string;
2037
- constraint?: {
2038
- width?: number | null;
2039
- height?: number | null;
2040
- };
2041
- thumbnails?: readonly ({
2042
- name: string;
2043
- } & {
2044
- width?: number | null;
2045
- height?: number | null;
2046
- })[];
2047
- };
2048
- }) | ({
2049
- type: "IntegrationFields";
2050
- } & {
2051
- fieldset?: string | null | undefined;
2052
- config?: {
2053
- label?: string | null | undefined;
2054
- placeholder?: string;
2055
- catalog?: string;
2056
- };
2057
2006
  });
2058
2007
  };
2059
2008
  };
@@ -2066,6 +2015,15 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2066
2015
  display?: string;
2067
2016
  "non-repeat"?: {
2068
2017
  [x: string]: ({
2018
+ type: "Boolean";
2019
+ } & {
2020
+ config?: {
2021
+ label?: string | null | undefined;
2022
+ default_value?: boolean;
2023
+ placeholder_true?: string;
2024
+ placeholder_false?: string;
2025
+ };
2026
+ }) | ({
2069
2027
  type: "Color";
2070
2028
  } & {
2071
2029
  fieldset?: string | null | undefined;
@@ -2074,13 +2032,13 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2074
2032
  placeholder?: string;
2075
2033
  };
2076
2034
  }) | ({
2077
- type: "Boolean";
2035
+ type: "Date";
2078
2036
  } & {
2037
+ fieldset?: string | null | undefined;
2079
2038
  config?: {
2080
2039
  label?: string | null | undefined;
2081
- default_value?: boolean;
2082
- placeholder_true?: string;
2083
- placeholder_false?: string;
2040
+ placeholder?: string;
2041
+ default?: string;
2084
2042
  };
2085
2043
  }) | ({
2086
2044
  type: "Embed";
@@ -2099,13 +2057,45 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2099
2057
  label?: string | null | undefined;
2100
2058
  };
2101
2059
  }) | ({
2102
- type: "Date";
2060
+ type: "Image";
2103
2061
  } & {
2104
2062
  fieldset?: string | null | undefined;
2105
2063
  config?: {
2106
2064
  label?: string | null | undefined;
2107
2065
  placeholder?: string;
2108
- default?: string;
2066
+ constraint?: {
2067
+ width?: number | null;
2068
+ height?: number | null;
2069
+ };
2070
+ thumbnails?: readonly ({
2071
+ name: string;
2072
+ } & {
2073
+ width?: number | null;
2074
+ height?: number | null;
2075
+ })[];
2076
+ };
2077
+ }) | ({
2078
+ type: "IntegrationFields";
2079
+ } & {
2080
+ fieldset?: string | null | undefined;
2081
+ config?: {
2082
+ label?: string | null | undefined;
2083
+ placeholder?: string;
2084
+ catalog?: string;
2085
+ };
2086
+ }) | ({
2087
+ type: "Link";
2088
+ } & {
2089
+ fieldset?: string | null | undefined;
2090
+ config?: {
2091
+ label?: string | null | undefined;
2092
+ useAsTitle?: boolean;
2093
+ placeholder?: string;
2094
+ select?: "media" | "document" | "web" | null;
2095
+ customtypes?: readonly string[];
2096
+ masks?: readonly string[];
2097
+ tags?: readonly string[];
2098
+ allowTargetBlank?: boolean;
2109
2099
  };
2110
2100
  }) | ({
2111
2101
  type: "Number";
@@ -2180,95 +2170,91 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2180
2170
  placeholder?: string;
2181
2171
  default?: string;
2182
2172
  };
2183
- }) | ({
2184
- type: "Link";
2173
+ });
2174
+ };
2175
+ repeat?: {
2176
+ [x: string]: ({
2177
+ type: "Boolean";
2185
2178
  } & {
2186
- fieldset?: string | null | undefined;
2187
2179
  config?: {
2188
2180
  label?: string | null | undefined;
2189
- useAsTitle?: boolean;
2190
- placeholder?: string;
2191
- select?: "media" | "document" | "web" | null;
2192
- customtypes?: readonly ({
2193
- customTypeId: string;
2194
- } & {
2195
- fetchFields?: boolean;
2196
- })[];
2197
- masks?: readonly string[];
2198
- tags?: readonly string[];
2199
- allowTargetBlank?: boolean;
2181
+ default_value?: boolean;
2182
+ placeholder_true?: string;
2183
+ placeholder_false?: string;
2200
2184
  };
2201
2185
  }) | ({
2202
- type: "Image";
2186
+ type: "Color";
2203
2187
  } & {
2204
2188
  fieldset?: string | null | undefined;
2205
2189
  config?: {
2206
2190
  label?: string | null | undefined;
2207
2191
  placeholder?: string;
2208
- constraint?: {
2209
- width?: number | null;
2210
- height?: number | null;
2211
- };
2212
- thumbnails?: readonly ({
2213
- name: string;
2214
- } & {
2215
- width?: number | null;
2216
- height?: number | null;
2217
- })[];
2218
2192
  };
2219
2193
  }) | ({
2220
- type: "IntegrationFields";
2194
+ type: "Date";
2221
2195
  } & {
2222
2196
  fieldset?: string | null | undefined;
2223
2197
  config?: {
2224
2198
  label?: string | null | undefined;
2225
2199
  placeholder?: string;
2226
- catalog?: string;
2200
+ default?: string;
2227
2201
  };
2228
- });
2229
- };
2230
- repeat?: {
2231
- [x: string]: ({
2232
- type: "Color";
2202
+ }) | ({
2203
+ type: "Embed";
2233
2204
  } & {
2234
2205
  fieldset?: string | null | undefined;
2235
2206
  config?: {
2236
2207
  label?: string | null | undefined;
2237
2208
  placeholder?: string;
2209
+ useAsTitle?: boolean;
2238
2210
  };
2239
2211
  }) | ({
2240
- type: "Boolean";
2212
+ type: "GeoPoint";
2241
2213
  } & {
2214
+ fieldset?: string | null | undefined;
2242
2215
  config?: {
2243
2216
  label?: string | null | undefined;
2244
- default_value?: boolean;
2245
- placeholder_true?: string;
2246
- placeholder_false?: string;
2247
2217
  };
2248
2218
  }) | ({
2249
- type: "Embed";
2219
+ type: "Image";
2250
2220
  } & {
2251
2221
  fieldset?: string | null | undefined;
2252
2222
  config?: {
2253
2223
  label?: string | null | undefined;
2254
2224
  placeholder?: string;
2255
- useAsTitle?: boolean;
2225
+ constraint?: {
2226
+ width?: number | null;
2227
+ height?: number | null;
2228
+ };
2229
+ thumbnails?: readonly ({
2230
+ name: string;
2231
+ } & {
2232
+ width?: number | null;
2233
+ height?: number | null;
2234
+ })[];
2256
2235
  };
2257
2236
  }) | ({
2258
- type: "GeoPoint";
2237
+ type: "IntegrationFields";
2259
2238
  } & {
2260
2239
  fieldset?: string | null | undefined;
2261
2240
  config?: {
2262
2241
  label?: string | null | undefined;
2242
+ placeholder?: string;
2243
+ catalog?: string;
2263
2244
  };
2264
2245
  }) | ({
2265
- type: "Date";
2246
+ type: "Link";
2266
2247
  } & {
2267
2248
  fieldset?: string | null | undefined;
2268
2249
  config?: {
2269
2250
  label?: string | null | undefined;
2251
+ useAsTitle?: boolean;
2270
2252
  placeholder?: string;
2271
- default?: string;
2253
+ select?: "media" | "document" | "web" | null;
2254
+ customtypes?: readonly string[];
2255
+ masks?: readonly string[];
2256
+ tags?: readonly string[];
2257
+ allowTargetBlank?: boolean;
2272
2258
  };
2273
2259
  }) | ({
2274
2260
  type: "Number";
@@ -2343,57 +2329,14 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2343
2329
  placeholder?: string;
2344
2330
  default?: string;
2345
2331
  };
2346
- }) | ({
2347
- type: "Link";
2348
- } & {
2349
- fieldset?: string | null | undefined;
2350
- config?: {
2351
- label?: string | null | undefined;
2352
- useAsTitle?: boolean;
2353
- placeholder?: string;
2354
- select?: "media" | "document" | "web" | null;
2355
- customtypes?: readonly ({
2356
- customTypeId: string;
2357
- } & {
2358
- fetchFields?: boolean;
2359
- })[];
2360
- masks?: readonly string[];
2361
- tags?: readonly string[];
2362
- allowTargetBlank?: boolean;
2363
- };
2364
- }) | ({
2365
- type: "Image";
2366
- } & {
2367
- fieldset?: string | null | undefined;
2368
- config?: {
2369
- label?: string | null | undefined;
2370
- placeholder?: string;
2371
- constraint?: {
2372
- width?: number | null;
2373
- height?: number | null;
2374
- };
2375
- thumbnails?: readonly ({
2376
- name: string;
2377
- } & {
2378
- width?: number | null;
2379
- height?: number | null;
2380
- })[];
2381
- };
2382
- }) | ({
2383
- type: "IntegrationFields";
2384
- } & {
2385
- fieldset?: string | null | undefined;
2386
- config?: {
2387
- label?: string | null | undefined;
2388
- placeholder?: string;
2389
- catalog?: string;
2390
- };
2391
2332
  });
2392
2333
  };
2393
2334
  config?: {
2394
2335
  label?: string | null | undefined;
2395
2336
  };
2396
- });
2337
+ }) | {
2338
+ type: "SharedSlice";
2339
+ };
2397
2340
  };
2398
2341
  };
2399
2342
  }) | ({
@@ -2410,4 +2353,3 @@ export declare type DynamicSection = t.TypeOf<typeof DynamicSection>;
2410
2353
  export declare const Sections: {
2411
2354
  toStatic(dynamic: DynamicSection, sharedSlices: Map<string, SharedSlice>): StaticSection;
2412
2355
  };
2413
- export declare function traverseSection(path: ReadonlyArray<string>, section: DynamicSection, f: TraverseFn): DynamicSection;