@prismicio/types-internal 2.5.0-alpha.0 → 2.5.0-alpha.2

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 (50) hide show
  1. package/lib/content/Document.d.ts +3972 -7926
  2. package/lib/content/fields/GroupContent.d.ts +17 -1754
  3. package/lib/content/fields/GroupContent.js +62 -22
  4. package/lib/content/fields/WidgetContent.d.ts +3371 -7324
  5. package/lib/content/fields/nestable/NestableContent.d.ts +3 -145
  6. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +4 -212
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.js +2 -0
  8. package/lib/content/fields/nestable/RichTextContent/index.d.ts +4 -184
  9. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +6 -290
  10. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +3 -0
  11. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +2 -383
  12. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +15 -1333
  13. package/lib/content/fields/slices/Slice/SharedSliceContent.js +2 -0
  14. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +7 -1182
  15. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +1 -0
  16. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +7 -1182
  17. package/lib/content/fields/slices/Slice/index.d.ts +983 -2935
  18. package/lib/content/fields/slices/SliceItem.d.ts +148 -2100
  19. package/lib/content/fields/slices/SlicesContent.d.ts +866 -3644
  20. package/lib/content/fields/withDefaultValues.d.ts +4 -3
  21. package/lib/content/fields/withDefaultValues.js +17 -1
  22. package/lib/customtypes/CustomType.d.ts +70 -915
  23. package/lib/customtypes/Section.d.ts +70 -915
  24. package/lib/customtypes/diff/SharedSlice.d.ts +2 -340
  25. package/lib/customtypes/diff/Variation.d.ts +4 -351
  26. package/lib/customtypes/diff/Variation.js +4 -3
  27. package/lib/customtypes/diff/Widgets.d.ts +11 -0
  28. package/lib/customtypes/diff/Widgets.js +2 -0
  29. package/lib/customtypes/diff/index.d.ts +1 -0
  30. package/lib/customtypes/diff/index.js +1 -0
  31. package/lib/customtypes/widgets/Group.d.ts +15 -331
  32. package/lib/customtypes/widgets/Group.js +25 -5
  33. package/lib/customtypes/widgets/Widget.d.ts +7 -1014
  34. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -168
  35. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +2 -336
  36. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +3 -338
  37. package/lib/customtypes/widgets/slices/Slices.d.ts +7 -1184
  38. package/lib/validators/function.js +8 -1
  39. package/package.json +5 -5
  40. package/src/content/fields/GroupContent.ts +107 -32
  41. package/src/content/fields/nestable/RichTextContent/Blocks.ts +3 -1
  42. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +7 -4
  43. package/src/content/fields/slices/Slice/SharedSliceContent.ts +5 -3
  44. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +3 -1
  45. package/src/content/fields/withDefaultValues.ts +27 -3
  46. package/src/customtypes/diff/Variation.ts +9 -20
  47. package/src/customtypes/diff/Widgets.ts +17 -0
  48. package/src/customtypes/diff/index.ts +1 -0
  49. package/src/customtypes/widgets/Group.ts +66 -20
  50. package/src/validators/function.ts +11 -1
@@ -1,4 +1,5 @@
1
1
  import * as t from "io-ts";
2
+ import { Group } from "./Group";
2
3
  import type { SharedSlice } from "./slices/SharedSlice";
3
4
  import { DynamicSlices, StaticSlices } from "./slices/Slices";
4
5
  export declare function widgetReader<T extends StaticSlices | DynamicSlices>(codec: t.Type<T, unknown>): t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -166,174 +167,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
166
167
  placeholder: t.StringC;
167
168
  catalog: t.StringC;
168
169
  }>>;
169
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
170
- type: t.LiteralC<"Group">;
171
- }>, t.PartialC<{
172
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
173
- icon: t.StringC;
174
- description: t.StringC;
175
- config: t.ExactC<t.PartialC<{
176
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
177
- repeat: t.BooleanC;
178
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
179
- type: t.LiteralC<"Color">;
180
- }>, t.PartialC<{
181
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
182
- config: t.ExactC<t.PartialC<{
183
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
184
- placeholder: t.StringC;
185
- }>>;
186
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
187
- type: t.LiteralC<"Boolean">;
188
- }>, t.PartialC<{
189
- config: t.ExactC<t.PartialC<{
190
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
191
- default_value: t.BooleanC;
192
- placeholder_true: t.StringC;
193
- placeholder_false: t.StringC;
194
- }>>;
195
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
196
- type: t.LiteralC<"Embed">;
197
- }>, t.PartialC<{
198
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
199
- config: t.ExactC<t.PartialC<{
200
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
201
- placeholder: t.StringC;
202
- useAsTitle: t.BooleanC;
203
- }>>;
204
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
205
- type: t.LiteralC<"GeoPoint">;
206
- }>, t.PartialC<{
207
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
208
- config: t.ExactC<t.PartialC<{
209
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
210
- }>>;
211
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
212
- type: t.LiteralC<"Date">;
213
- }>, t.PartialC<{
214
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
215
- config: t.ExactC<t.PartialC<{
216
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
217
- placeholder: t.StringC;
218
- default: t.StringC;
219
- }>>;
220
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
221
- type: t.LiteralC<"Number">;
222
- }>, t.PartialC<{
223
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
224
- config: t.ExactC<t.PartialC<{
225
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
226
- placeholder: t.StringC;
227
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
228
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
229
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
230
- }>>;
231
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
232
- type: t.LiteralC<"Range">;
233
- }>, t.PartialC<{
234
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
235
- config: t.ExactC<t.PartialC<{
236
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
237
- placeholder: t.StringC;
238
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
239
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
240
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
241
- }>>;
242
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
243
- type: t.LiteralC<"StructuredText">;
244
- }>, t.PartialC<{
245
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
246
- config: t.ExactC<t.PartialC<{
247
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
248
- placeholder: t.StringC;
249
- useAsTitle: t.BooleanC;
250
- single: t.Type<string, string, unknown>;
251
- multi: t.Type<string, string, unknown>;
252
- imageConstraint: t.PartialC<{
253
- width: t.Type<number | null, unknown, unknown>;
254
- height: t.Type<number | null, unknown, unknown>;
255
- }>;
256
- labels: t.Type<readonly string[], object, unknown>;
257
- allowTargetBlank: t.BooleanC;
258
- }>>;
259
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
260
- type: t.LiteralC<"Select">;
261
- }>, t.PartialC<{
262
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
263
- config: t.ExactC<t.PartialC<{
264
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
265
- placeholder: t.StringC;
266
- default_value: t.StringC;
267
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
268
- }>>;
269
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
270
- type: t.LiteralC<"Separator">;
271
- }>, t.PartialC<{
272
- config: t.ExactC<t.PartialC<{
273
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
274
- }>>;
275
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
276
- type: t.LiteralC<"Text">;
277
- }>, t.PartialC<{
278
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
279
- config: t.ExactC<t.PartialC<{
280
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
281
- useAsTitle: t.BooleanC;
282
- placeholder: t.StringC;
283
- }>>;
284
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
285
- type: t.LiteralC<"Timestamp">;
286
- }>, t.PartialC<{
287
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
288
- config: t.ExactC<t.PartialC<{
289
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
290
- placeholder: t.StringC;
291
- default: t.StringC;
292
- }>>;
293
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
294
- type: t.LiteralC<"Link">;
295
- }>, t.PartialC<{
296
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
297
- config: t.ExactC<t.PartialC<{
298
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
299
- useAsTitle: t.BooleanC;
300
- placeholder: t.StringC;
301
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
302
- customtypes: t.ReadonlyArrayC<t.StringC>;
303
- masks: t.Type<readonly string[], object, unknown>;
304
- tags: t.Type<readonly string[], object, unknown>;
305
- allowTargetBlank: t.BooleanC;
306
- }>>;
307
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
308
- type: t.LiteralC<"Image">;
309
- }>, t.PartialC<{
310
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
311
- config: t.ExactC<t.PartialC<{
312
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
313
- placeholder: t.StringC;
314
- constraint: t.PartialC<{
315
- width: t.Type<number | null, unknown, unknown>;
316
- height: t.Type<number | null, unknown, unknown>;
317
- }>;
318
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
319
- name: t.StringC;
320
- }>, t.PartialC<{
321
- width: t.Type<number | null, unknown, unknown>;
322
- height: t.Type<number | null, unknown, unknown>;
323
- }>]>>>;
324
- }>>;
325
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
326
- type: t.LiteralC<"IntegrationFields">;
327
- }>, t.PartialC<{
328
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
329
- config: t.ExactC<t.PartialC<{
330
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
331
- placeholder: t.StringC;
332
- catalog: t.StringC;
333
- }>>;
334
- }>]>>]>>;
335
- }>>;
336
- }>]>>, t.Type<T, unknown, unknown>]>;
170
+ }>]>>]>, t.Type<Group, Group, unknown>, t.Type<T, unknown, unknown>]>;
337
171
  export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
338
172
  type: t.LiteralC<"UID">;
339
173
  }>, t.PartialC<{
@@ -499,174 +333,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
499
333
  placeholder: t.StringC;
500
334
  catalog: t.StringC;
501
335
  }>>;
502
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
503
- type: t.LiteralC<"Group">;
504
- }>, t.PartialC<{
505
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
506
- icon: t.StringC;
507
- description: t.StringC;
508
- config: t.ExactC<t.PartialC<{
509
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
510
- repeat: t.BooleanC;
511
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
512
- type: t.LiteralC<"Color">;
513
- }>, t.PartialC<{
514
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
515
- config: t.ExactC<t.PartialC<{
516
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
517
- placeholder: t.StringC;
518
- }>>;
519
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
520
- type: t.LiteralC<"Boolean">;
521
- }>, t.PartialC<{
522
- config: t.ExactC<t.PartialC<{
523
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
524
- default_value: t.BooleanC;
525
- placeholder_true: t.StringC;
526
- placeholder_false: t.StringC;
527
- }>>;
528
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
529
- type: t.LiteralC<"Embed">;
530
- }>, t.PartialC<{
531
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
532
- config: t.ExactC<t.PartialC<{
533
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
534
- placeholder: t.StringC;
535
- useAsTitle: t.BooleanC;
536
- }>>;
537
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
538
- type: t.LiteralC<"GeoPoint">;
539
- }>, t.PartialC<{
540
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
541
- config: t.ExactC<t.PartialC<{
542
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
543
- }>>;
544
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
545
- type: t.LiteralC<"Date">;
546
- }>, t.PartialC<{
547
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
548
- config: t.ExactC<t.PartialC<{
549
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
550
- placeholder: t.StringC;
551
- default: t.StringC;
552
- }>>;
553
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
554
- type: t.LiteralC<"Number">;
555
- }>, t.PartialC<{
556
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
557
- config: t.ExactC<t.PartialC<{
558
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
559
- placeholder: t.StringC;
560
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
561
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
562
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
563
- }>>;
564
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
565
- type: t.LiteralC<"Range">;
566
- }>, t.PartialC<{
567
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
568
- config: t.ExactC<t.PartialC<{
569
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
570
- placeholder: t.StringC;
571
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
572
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
573
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
574
- }>>;
575
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
576
- type: t.LiteralC<"StructuredText">;
577
- }>, t.PartialC<{
578
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
579
- config: t.ExactC<t.PartialC<{
580
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
581
- placeholder: t.StringC;
582
- useAsTitle: t.BooleanC;
583
- single: t.Type<string, string, unknown>;
584
- multi: t.Type<string, string, unknown>;
585
- imageConstraint: t.PartialC<{
586
- width: t.Type<number | null, unknown, unknown>;
587
- height: t.Type<number | null, unknown, unknown>;
588
- }>;
589
- labels: t.Type<readonly string[], object, unknown>;
590
- allowTargetBlank: t.BooleanC;
591
- }>>;
592
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
593
- type: t.LiteralC<"Select">;
594
- }>, t.PartialC<{
595
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
596
- config: t.ExactC<t.PartialC<{
597
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
598
- placeholder: t.StringC;
599
- default_value: t.StringC;
600
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
601
- }>>;
602
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
603
- type: t.LiteralC<"Separator">;
604
- }>, t.PartialC<{
605
- config: t.ExactC<t.PartialC<{
606
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
607
- }>>;
608
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
609
- type: t.LiteralC<"Text">;
610
- }>, t.PartialC<{
611
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
612
- config: t.ExactC<t.PartialC<{
613
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
614
- useAsTitle: t.BooleanC;
615
- placeholder: t.StringC;
616
- }>>;
617
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
618
- type: t.LiteralC<"Timestamp">;
619
- }>, t.PartialC<{
620
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
621
- config: t.ExactC<t.PartialC<{
622
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
623
- placeholder: t.StringC;
624
- default: t.StringC;
625
- }>>;
626
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
627
- type: t.LiteralC<"Link">;
628
- }>, t.PartialC<{
629
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
630
- config: t.ExactC<t.PartialC<{
631
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
632
- useAsTitle: t.BooleanC;
633
- placeholder: t.StringC;
634
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
635
- customtypes: t.ReadonlyArrayC<t.StringC>;
636
- masks: t.Type<readonly string[], object, unknown>;
637
- tags: t.Type<readonly string[], object, unknown>;
638
- allowTargetBlank: t.BooleanC;
639
- }>>;
640
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
641
- type: t.LiteralC<"Image">;
642
- }>, t.PartialC<{
643
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
644
- config: t.ExactC<t.PartialC<{
645
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
646
- placeholder: t.StringC;
647
- constraint: t.PartialC<{
648
- width: t.Type<number | null, unknown, unknown>;
649
- height: t.Type<number | null, unknown, unknown>;
650
- }>;
651
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
652
- name: t.StringC;
653
- }>, t.PartialC<{
654
- width: t.Type<number | null, unknown, unknown>;
655
- height: t.Type<number | null, unknown, unknown>;
656
- }>]>>>;
657
- }>>;
658
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
659
- type: t.LiteralC<"IntegrationFields">;
660
- }>, t.PartialC<{
661
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
662
- config: t.ExactC<t.PartialC<{
663
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
664
- placeholder: t.StringC;
665
- catalog: t.StringC;
666
- }>>;
667
- }>]>>]>>;
668
- }>>;
669
- }>]>>, t.Type<{
336
+ }>]>>]>, t.Type<Group, Group, unknown>, t.Type<{
670
337
  type: "Choice" | "Slices";
671
338
  } & {
672
339
  fieldset?: string | null | undefined;
@@ -836,176 +503,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
836
503
  placeholder?: string;
837
504
  default?: string;
838
505
  };
839
- }) | ({
840
- type: "Group";
841
- } & {
842
- fieldset?: string | null | undefined;
843
- icon?: string;
844
- description?: string;
845
- config?: {
846
- label?: string | null | undefined;
847
- repeat?: boolean;
848
- fields?: {
849
- [x: string]: ({
850
- type: "Boolean";
851
- } & {
852
- config?: {
853
- label?: string | null | undefined;
854
- default_value?: boolean;
855
- placeholder_true?: string;
856
- placeholder_false?: string;
857
- };
858
- }) | ({
859
- type: "Color";
860
- } & {
861
- fieldset?: string | null | undefined;
862
- config?: {
863
- label?: string | null | undefined;
864
- placeholder?: string;
865
- };
866
- }) | ({
867
- type: "Date";
868
- } & {
869
- fieldset?: string | null | undefined;
870
- config?: {
871
- label?: string | null | undefined;
872
- placeholder?: string;
873
- default?: string;
874
- };
875
- }) | ({
876
- type: "Embed";
877
- } & {
878
- fieldset?: string | null | undefined;
879
- config?: {
880
- label?: string | null | undefined;
881
- placeholder?: string;
882
- useAsTitle?: boolean;
883
- };
884
- }) | ({
885
- type: "GeoPoint";
886
- } & {
887
- fieldset?: string | null | undefined;
888
- config?: {
889
- label?: string | null | undefined;
890
- };
891
- }) | ({
892
- type: "Image";
893
- } & {
894
- fieldset?: string | null | undefined;
895
- config?: {
896
- label?: string | null | undefined;
897
- placeholder?: string;
898
- constraint?: {
899
- width?: number | null;
900
- height?: number | null;
901
- };
902
- thumbnails?: readonly ({
903
- name: string;
904
- } & {
905
- width?: number | null;
906
- height?: number | null;
907
- })[];
908
- };
909
- }) | ({
910
- type: "IntegrationFields";
911
- } & {
912
- fieldset?: string | null | undefined;
913
- config?: {
914
- label?: string | null | undefined;
915
- placeholder?: string;
916
- catalog?: string;
917
- };
918
- }) | ({
919
- type: "Link";
920
- } & {
921
- fieldset?: string | null | undefined;
922
- config?: {
923
- label?: string | null | undefined;
924
- useAsTitle?: boolean;
925
- placeholder?: string;
926
- select?: "media" | "document" | "web" | null;
927
- customtypes?: readonly string[];
928
- masks?: readonly string[];
929
- tags?: readonly string[];
930
- allowTargetBlank?: boolean;
931
- };
932
- }) | ({
933
- type: "Number";
934
- } & {
935
- fieldset?: string | null | undefined;
936
- config?: {
937
- label?: string | null | undefined;
938
- placeholder?: string;
939
- min?: number;
940
- max?: number;
941
- step?: number;
942
- };
943
- }) | ({
944
- type: "Range";
945
- } & {
946
- fieldset?: string | null | undefined;
947
- config?: {
948
- label?: string | null | undefined;
949
- placeholder?: string;
950
- min?: number;
951
- max?: number;
952
- step?: number;
953
- };
954
- }) | ({
955
- type: "StructuredText";
956
- } & {
957
- fieldset?: string | null | undefined;
958
- config?: {
959
- label?: string | null | undefined;
960
- placeholder?: string;
961
- useAsTitle?: boolean;
962
- single?: string;
963
- multi?: string;
964
- imageConstraint?: {
965
- width?: number | null;
966
- height?: number | null;
967
- };
968
- labels?: readonly string[];
969
- allowTargetBlank?: boolean;
970
- };
971
- }) | ({
972
- type: "Select";
973
- } & {
974
- fieldset?: string | null | undefined;
975
- config?: {
976
- label?: string | null | undefined;
977
- placeholder?: string;
978
- default_value?: string;
979
- options?: readonly string[];
980
- };
981
- }) | ({
982
- type: "Separator";
983
- } & {
984
- config?: {
985
- label?: string | null | undefined;
986
- };
987
- }) | ({
988
- type: "Text";
989
- } & {
990
- fieldset?: string | null | undefined;
991
- config?: {
992
- label?: string | null | undefined;
993
- useAsTitle?: boolean;
994
- placeholder?: string;
995
- };
996
- }) | ({
997
- type: "Timestamp";
998
- } & {
999
- fieldset?: string | null | undefined;
1000
- config?: {
1001
- label?: string | null | undefined;
1002
- placeholder?: string;
1003
- default?: string;
1004
- };
1005
- });
1006
- };
1007
- };
1008
- }) | ({
506
+ }) | Group | ({
1009
507
  type: "Slice";
1010
508
  } & {
1011
509
  fieldset?: string | null | undefined;
@@ -1503,176 +1001,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1503
1001
  placeholder?: string;
1504
1002
  default?: string;
1505
1003
  };
1506
- }) | ({
1507
- type: "Group";
1508
- } & {
1509
- fieldset?: string | null | undefined;
1510
- icon?: string;
1511
- description?: string;
1512
- config?: {
1513
- label?: string | null | undefined;
1514
- repeat?: boolean;
1515
- fields?: {
1516
- [x: string]: ({
1517
- type: "Boolean";
1518
- } & {
1519
- config?: {
1520
- label?: string | null | undefined;
1521
- default_value?: boolean;
1522
- placeholder_true?: string;
1523
- placeholder_false?: string;
1524
- };
1525
- }) | ({
1526
- type: "Color";
1527
- } & {
1528
- fieldset?: string | null | undefined;
1529
- config?: {
1530
- label?: string | null | undefined;
1531
- placeholder?: string;
1532
- };
1533
- }) | ({
1534
- type: "Date";
1535
- } & {
1536
- fieldset?: string | null | undefined;
1537
- config?: {
1538
- label?: string | null | undefined;
1539
- placeholder?: string;
1540
- default?: string;
1541
- };
1542
- }) | ({
1543
- type: "Embed";
1544
- } & {
1545
- fieldset?: string | null | undefined;
1546
- config?: {
1547
- label?: string | null | undefined;
1548
- placeholder?: string;
1549
- useAsTitle?: boolean;
1550
- };
1551
- }) | ({
1552
- type: "GeoPoint";
1553
- } & {
1554
- fieldset?: string | null | undefined;
1555
- config?: {
1556
- label?: string | null | undefined;
1557
- };
1558
- }) | ({
1559
- type: "Image";
1560
- } & {
1561
- fieldset?: string | null | undefined;
1562
- config?: {
1563
- label?: string | null | undefined;
1564
- placeholder?: string;
1565
- constraint?: {
1566
- width?: number | null;
1567
- height?: number | null;
1568
- };
1569
- thumbnails?: readonly ({
1570
- name: string;
1571
- } & {
1572
- width?: number | null;
1573
- height?: number | null;
1574
- })[];
1575
- };
1576
- }) | ({
1577
- type: "IntegrationFields";
1578
- } & {
1579
- fieldset?: string | null | undefined;
1580
- config?: {
1581
- label?: string | null | undefined;
1582
- placeholder?: string;
1583
- catalog?: string;
1584
- };
1585
- }) | ({
1586
- type: "Link";
1587
- } & {
1588
- fieldset?: string | null | undefined;
1589
- config?: {
1590
- label?: string | null | undefined;
1591
- useAsTitle?: boolean;
1592
- placeholder?: string;
1593
- select?: "media" | "document" | "web" | null;
1594
- customtypes?: readonly string[];
1595
- masks?: readonly string[];
1596
- tags?: readonly string[];
1597
- allowTargetBlank?: boolean;
1598
- };
1599
- }) | ({
1600
- type: "Number";
1601
- } & {
1602
- fieldset?: string | null | undefined;
1603
- config?: {
1604
- label?: string | null | undefined;
1605
- placeholder?: string;
1606
- min?: number;
1607
- max?: number;
1608
- step?: number;
1609
- };
1610
- }) | ({
1611
- type: "Range";
1612
- } & {
1613
- fieldset?: string | null | undefined;
1614
- config?: {
1615
- label?: string | null | undefined;
1616
- placeholder?: string;
1617
- min?: number;
1618
- max?: number;
1619
- step?: number;
1620
- };
1621
- }) | ({
1622
- type: "StructuredText";
1623
- } & {
1624
- fieldset?: string | null | undefined;
1625
- config?: {
1626
- label?: string | null | undefined;
1627
- placeholder?: string;
1628
- useAsTitle?: boolean;
1629
- single?: string;
1630
- multi?: string;
1631
- imageConstraint?: {
1632
- width?: number | null;
1633
- height?: number | null;
1634
- };
1635
- labels?: readonly string[];
1636
- allowTargetBlank?: boolean;
1637
- };
1638
- }) | ({
1639
- type: "Select";
1640
- } & {
1641
- fieldset?: string | null | undefined;
1642
- config?: {
1643
- label?: string | null | undefined;
1644
- placeholder?: string;
1645
- default_value?: string;
1646
- options?: readonly string[];
1647
- };
1648
- }) | ({
1649
- type: "Separator";
1650
- } & {
1651
- config?: {
1652
- label?: string | null | undefined;
1653
- };
1654
- }) | ({
1655
- type: "Text";
1656
- } & {
1657
- fieldset?: string | null | undefined;
1658
- config?: {
1659
- label?: string | null | undefined;
1660
- useAsTitle?: boolean;
1661
- placeholder?: string;
1662
- };
1663
- }) | ({
1664
- type: "Timestamp";
1665
- } & {
1666
- fieldset?: string | null | undefined;
1667
- config?: {
1668
- label?: string | null | undefined;
1669
- placeholder?: string;
1670
- default?: string;
1671
- };
1672
- });
1673
- };
1674
- };
1675
- });
1004
+ }) | Group;
1676
1005
  };
1677
1006
  items?: {
1678
1007
  [x: string]: ({
@@ -2009,174 +1338,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2009
1338
  placeholder: t.StringC;
2010
1339
  catalog: t.StringC;
2011
1340
  }>>;
2012
- }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
2013
- type: t.LiteralC<"Group">;
2014
- }>, t.PartialC<{
2015
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2016
- icon: t.StringC;
2017
- description: t.StringC;
2018
- config: t.ExactC<t.PartialC<{
2019
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2020
- repeat: t.BooleanC;
2021
- fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2022
- type: t.LiteralC<"Color">;
2023
- }>, t.PartialC<{
2024
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2025
- config: t.ExactC<t.PartialC<{
2026
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2027
- placeholder: t.StringC;
2028
- }>>;
2029
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2030
- type: t.LiteralC<"Boolean">;
2031
- }>, t.PartialC<{
2032
- config: t.ExactC<t.PartialC<{
2033
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2034
- default_value: t.BooleanC;
2035
- placeholder_true: t.StringC;
2036
- placeholder_false: t.StringC;
2037
- }>>;
2038
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2039
- type: t.LiteralC<"Embed">;
2040
- }>, t.PartialC<{
2041
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2042
- config: t.ExactC<t.PartialC<{
2043
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2044
- placeholder: t.StringC;
2045
- useAsTitle: t.BooleanC;
2046
- }>>;
2047
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2048
- type: t.LiteralC<"GeoPoint">;
2049
- }>, t.PartialC<{
2050
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2051
- config: t.ExactC<t.PartialC<{
2052
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2053
- }>>;
2054
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2055
- type: t.LiteralC<"Date">;
2056
- }>, t.PartialC<{
2057
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2058
- config: t.ExactC<t.PartialC<{
2059
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2060
- placeholder: t.StringC;
2061
- default: t.StringC;
2062
- }>>;
2063
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2064
- type: t.LiteralC<"Number">;
2065
- }>, t.PartialC<{
2066
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2067
- config: t.ExactC<t.PartialC<{
2068
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2069
- placeholder: t.StringC;
2070
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2071
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2072
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2073
- }>>;
2074
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2075
- type: t.LiteralC<"Range">;
2076
- }>, t.PartialC<{
2077
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2078
- config: t.ExactC<t.PartialC<{
2079
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2080
- placeholder: t.StringC;
2081
- min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2082
- max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2083
- step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
2084
- }>>;
2085
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2086
- type: t.LiteralC<"StructuredText">;
2087
- }>, t.PartialC<{
2088
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2089
- config: t.ExactC<t.PartialC<{
2090
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2091
- placeholder: t.StringC;
2092
- useAsTitle: t.BooleanC;
2093
- single: t.Type<string, string, unknown>;
2094
- multi: t.Type<string, string, unknown>;
2095
- imageConstraint: t.PartialC<{
2096
- width: t.Type<number | null, unknown, unknown>;
2097
- height: t.Type<number | null, unknown, unknown>;
2098
- }>;
2099
- labels: t.Type<readonly string[], object, unknown>;
2100
- allowTargetBlank: t.BooleanC;
2101
- }>>;
2102
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2103
- type: t.LiteralC<"Select">;
2104
- }>, t.PartialC<{
2105
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2106
- config: t.ExactC<t.PartialC<{
2107
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2108
- placeholder: t.StringC;
2109
- default_value: t.StringC;
2110
- options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
2111
- }>>;
2112
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2113
- type: t.LiteralC<"Separator">;
2114
- }>, t.PartialC<{
2115
- config: t.ExactC<t.PartialC<{
2116
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2117
- }>>;
2118
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2119
- type: t.LiteralC<"Text">;
2120
- }>, t.PartialC<{
2121
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2122
- config: t.ExactC<t.PartialC<{
2123
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2124
- useAsTitle: t.BooleanC;
2125
- placeholder: t.StringC;
2126
- }>>;
2127
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2128
- type: t.LiteralC<"Timestamp">;
2129
- }>, t.PartialC<{
2130
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2131
- config: t.ExactC<t.PartialC<{
2132
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2133
- placeholder: t.StringC;
2134
- default: t.StringC;
2135
- }>>;
2136
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2137
- type: t.LiteralC<"Link">;
2138
- }>, t.PartialC<{
2139
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2140
- config: t.ExactC<t.PartialC<{
2141
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2142
- useAsTitle: t.BooleanC;
2143
- placeholder: t.StringC;
2144
- select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
2145
- customtypes: t.ReadonlyArrayC<t.StringC>;
2146
- masks: t.Type<readonly string[], object, unknown>;
2147
- tags: t.Type<readonly string[], object, unknown>;
2148
- allowTargetBlank: t.BooleanC;
2149
- }>>;
2150
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2151
- type: t.LiteralC<"Image">;
2152
- }>, t.PartialC<{
2153
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2154
- config: t.ExactC<t.PartialC<{
2155
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2156
- placeholder: t.StringC;
2157
- constraint: t.PartialC<{
2158
- width: t.Type<number | null, unknown, unknown>;
2159
- height: t.Type<number | null, unknown, unknown>;
2160
- }>;
2161
- thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2162
- name: t.StringC;
2163
- }>, t.PartialC<{
2164
- width: t.Type<number | null, unknown, unknown>;
2165
- height: t.Type<number | null, unknown, unknown>;
2166
- }>]>>>;
2167
- }>>;
2168
- }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2169
- type: t.LiteralC<"IntegrationFields">;
2170
- }>, t.PartialC<{
2171
- fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2172
- config: t.ExactC<t.PartialC<{
2173
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2174
- placeholder: t.StringC;
2175
- catalog: t.StringC;
2176
- }>>;
2177
- }>]>>]>>;
2178
- }>>;
2179
- }>]>>, t.Type<{
1341
+ }>]>>]>, t.Type<Group, Group, unknown>, t.Type<{
2180
1342
  type: "Choice" | "Slices";
2181
1343
  } & {
2182
1344
  fieldset?: string | null | undefined;
@@ -2346,176 +1508,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2346
1508
  placeholder?: string;
2347
1509
  default?: string;
2348
1510
  };
2349
- }) | ({
2350
- type: "Group";
2351
- } & {
2352
- fieldset?: string | null | undefined;
2353
- icon?: string;
2354
- description?: string;
2355
- config?: {
2356
- label?: string | null | undefined;
2357
- repeat?: boolean;
2358
- fields?: {
2359
- [x: string]: ({
2360
- type: "Boolean";
2361
- } & {
2362
- config?: {
2363
- label?: string | null | undefined;
2364
- default_value?: boolean;
2365
- placeholder_true?: string;
2366
- placeholder_false?: string;
2367
- };
2368
- }) | ({
2369
- type: "Color";
2370
- } & {
2371
- fieldset?: string | null | undefined;
2372
- config?: {
2373
- label?: string | null | undefined;
2374
- placeholder?: string;
2375
- };
2376
- }) | ({
2377
- type: "Date";
2378
- } & {
2379
- fieldset?: string | null | undefined;
2380
- config?: {
2381
- label?: string | null | undefined;
2382
- placeholder?: string;
2383
- default?: string;
2384
- };
2385
- }) | ({
2386
- type: "Embed";
2387
- } & {
2388
- fieldset?: string | null | undefined;
2389
- config?: {
2390
- label?: string | null | undefined;
2391
- placeholder?: string;
2392
- useAsTitle?: boolean;
2393
- };
2394
- }) | ({
2395
- type: "GeoPoint";
2396
- } & {
2397
- fieldset?: string | null | undefined;
2398
- config?: {
2399
- label?: string | null | undefined;
2400
- };
2401
- }) | ({
2402
- type: "Image";
2403
- } & {
2404
- fieldset?: string | null | undefined;
2405
- config?: {
2406
- label?: string | null | undefined;
2407
- placeholder?: string;
2408
- constraint?: {
2409
- width?: number | null;
2410
- height?: number | null;
2411
- };
2412
- thumbnails?: readonly ({
2413
- name: string;
2414
- } & {
2415
- width?: number | null;
2416
- height?: number | null;
2417
- })[];
2418
- };
2419
- }) | ({
2420
- type: "IntegrationFields";
2421
- } & {
2422
- fieldset?: string | null | undefined;
2423
- config?: {
2424
- label?: string | null | undefined;
2425
- placeholder?: string;
2426
- catalog?: string;
2427
- };
2428
- }) | ({
2429
- type: "Link";
2430
- } & {
2431
- fieldset?: string | null | undefined;
2432
- config?: {
2433
- label?: string | null | undefined;
2434
- useAsTitle?: boolean;
2435
- placeholder?: string;
2436
- select?: "media" | "document" | "web" | null;
2437
- customtypes?: readonly string[];
2438
- masks?: readonly string[];
2439
- tags?: readonly string[];
2440
- allowTargetBlank?: boolean;
2441
- };
2442
- }) | ({
2443
- type: "Number";
2444
- } & {
2445
- fieldset?: string | null | undefined;
2446
- config?: {
2447
- label?: string | null | undefined;
2448
- placeholder?: string;
2449
- min?: number;
2450
- max?: number;
2451
- step?: number;
2452
- };
2453
- }) | ({
2454
- type: "Range";
2455
- } & {
2456
- fieldset?: string | null | undefined;
2457
- config?: {
2458
- label?: string | null | undefined;
2459
- placeholder?: string;
2460
- min?: number;
2461
- max?: number;
2462
- step?: number;
2463
- };
2464
- }) | ({
2465
- type: "StructuredText";
2466
- } & {
2467
- fieldset?: string | null | undefined;
2468
- config?: {
2469
- label?: string | null | undefined;
2470
- placeholder?: string;
2471
- useAsTitle?: boolean;
2472
- single?: string;
2473
- multi?: string;
2474
- imageConstraint?: {
2475
- width?: number | null;
2476
- height?: number | null;
2477
- };
2478
- labels?: readonly string[];
2479
- allowTargetBlank?: boolean;
2480
- };
2481
- }) | ({
2482
- type: "Select";
2483
- } & {
2484
- fieldset?: string | null | undefined;
2485
- config?: {
2486
- label?: string | null | undefined;
2487
- placeholder?: string;
2488
- default_value?: string;
2489
- options?: readonly string[];
2490
- };
2491
- }) | ({
2492
- type: "Separator";
2493
- } & {
2494
- config?: {
2495
- label?: string | null | undefined;
2496
- };
2497
- }) | ({
2498
- type: "Text";
2499
- } & {
2500
- fieldset?: string | null | undefined;
2501
- config?: {
2502
- label?: string | null | undefined;
2503
- useAsTitle?: boolean;
2504
- placeholder?: string;
2505
- };
2506
- }) | ({
2507
- type: "Timestamp";
2508
- } & {
2509
- fieldset?: string | null | undefined;
2510
- config?: {
2511
- label?: string | null | undefined;
2512
- placeholder?: string;
2513
- default?: string;
2514
- };
2515
- });
2516
- };
2517
- };
2518
- }) | ({
1511
+ }) | Group | ({
2519
1512
  type: "Slice";
2520
1513
  } & {
2521
1514
  fieldset?: string | null | undefined;