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

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 (34) hide show
  1. package/lib/content/Document.d.ts +8 -8
  2. package/lib/content/fields/GroupContent.d.ts +8 -8
  3. package/lib/content/fields/GroupContent.js +14 -32
  4. package/lib/content/fields/WidgetContent.d.ts +8 -8
  5. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +4 -4
  6. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -3
  7. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +3 -2
  8. package/lib/content/fields/slices/Slice/RepeatableContent.js +4 -1
  9. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +4 -4
  10. package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -2
  11. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -1
  12. package/lib/content/fields/slices/Slice/index.d.ts +6 -6
  13. package/lib/content/fields/slices/SliceItem.d.ts +6 -6
  14. package/lib/content/fields/slices/SlicesContent.d.ts +8 -8
  15. package/lib/customtypes/CustomType.d.ts +2042 -690
  16. package/lib/customtypes/Section.d.ts +2028 -676
  17. package/lib/customtypes/diff/SharedSlice.d.ts +678 -2
  18. package/lib/customtypes/diff/Variation.d.ts +678 -3
  19. package/lib/customtypes/widgets/Group.d.ts +996 -15
  20. package/lib/customtypes/widgets/Group.js +15 -27
  21. package/lib/customtypes/widgets/Widget.d.ts +1684 -7
  22. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +168 -2
  23. package/lib/customtypes/widgets/slices/LegacySlice.js +1 -1
  24. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +670 -2
  25. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +674 -3
  26. package/lib/customtypes/widgets/slices/Slices.d.ts +1522 -7
  27. package/package.json +1 -1
  28. package/src/content/fields/GroupContent.ts +24 -48
  29. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +4 -7
  30. package/src/content/fields/slices/Slice/RepeatableContent.ts +9 -2
  31. package/src/content/fields/slices/Slice/SharedSliceContent.ts +3 -5
  32. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +1 -3
  33. package/src/customtypes/widgets/Group.ts +34 -61
  34. package/src/customtypes/widgets/slices/LegacySlice.ts +2 -2
@@ -158,20 +158,16 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
158
158
  placeholder?: string;
159
159
  default?: string;
160
160
  };
161
- }) | import("./widgets").Group | ({
162
- type: "Choice" | "Slices";
161
+ }) | ({
162
+ type: "Group";
163
163
  } & {
164
164
  fieldset?: string | null | undefined;
165
+ icon?: string;
166
+ description?: string;
165
167
  config?: {
166
168
  label?: string | null | undefined;
167
- labels?: {
168
- [x: string]: readonly ({
169
- name: string;
170
- } & {
171
- display?: string;
172
- })[];
173
- } | null;
174
- choices?: {
169
+ repeat?: boolean;
170
+ fields?: {
175
171
  [x: string]: ({
176
172
  type: "Boolean";
177
173
  } & {
@@ -328,373 +324,41 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
328
324
  placeholder?: string;
329
325
  default?: string;
330
326
  };
331
- }) | import("./widgets").Group | ({
332
- type: "Slice";
327
+ }) | ({
328
+ type: "Group";
333
329
  } & {
334
330
  fieldset?: string | null | undefined;
335
- description?: string;
336
331
  icon?: string;
337
- display?: string;
338
- "non-repeat"?: {
339
- [x: string]: ({
340
- type: "Boolean";
341
- } & {
342
- config?: {
343
- label?: string | null | undefined;
344
- default_value?: boolean;
345
- placeholder_true?: string;
346
- placeholder_false?: string;
347
- };
348
- }) | ({
349
- type: "Color";
350
- } & {
351
- fieldset?: string | null | undefined;
352
- config?: {
353
- label?: string | null | undefined;
354
- placeholder?: string;
355
- };
356
- }) | ({
357
- type: "Date";
358
- } & {
359
- fieldset?: string | null | undefined;
360
- config?: {
361
- label?: string | null | undefined;
362
- placeholder?: string;
363
- default?: string;
364
- };
365
- }) | ({
366
- type: "Embed";
367
- } & {
368
- fieldset?: string | null | undefined;
369
- config?: {
370
- label?: string | null | undefined;
371
- placeholder?: string;
372
- useAsTitle?: boolean;
373
- };
374
- }) | ({
375
- type: "GeoPoint";
376
- } & {
377
- fieldset?: string | null | undefined;
378
- config?: {
379
- label?: string | null | undefined;
380
- };
381
- }) | ({
382
- type: "Image";
383
- } & {
384
- fieldset?: string | null | undefined;
385
- config?: {
386
- label?: string | null | undefined;
387
- placeholder?: string;
388
- constraint?: {
389
- width?: number | null;
390
- height?: number | null;
332
+ description?: string;
333
+ config?: {
334
+ label?: string | null | undefined;
335
+ repeat?: boolean;
336
+ fields?: {
337
+ [x: string]: ({
338
+ type: "Boolean";
339
+ } & {
340
+ config?: {
341
+ label?: string | null | undefined;
342
+ default_value?: boolean;
343
+ placeholder_true?: string;
344
+ placeholder_false?: string;
391
345
  };
392
- thumbnails?: readonly ({
393
- name: string;
394
- } & {
395
- width?: number | null;
396
- height?: number | null;
397
- })[];
398
- };
399
- }) | ({
400
- type: "IntegrationFields";
401
- } & {
402
- fieldset?: string | null | undefined;
403
- config?: {
404
- label?: string | null | undefined;
405
- placeholder?: string;
406
- catalog?: string;
407
- };
408
- }) | ({
409
- type: "Link";
410
- } & {
411
- fieldset?: string | null | undefined;
412
- config?: {
413
- label?: string | null | undefined;
414
- useAsTitle?: boolean;
415
- placeholder?: string;
416
- select?: "media" | "document" | "web" | null;
417
- customtypes?: readonly string[];
418
- masks?: readonly string[];
419
- tags?: readonly string[];
420
- allowTargetBlank?: boolean;
421
- };
422
- }) | ({
423
- type: "Number";
424
- } & {
425
- fieldset?: string | null | undefined;
426
- config?: {
427
- label?: string | null | undefined;
428
- placeholder?: string;
429
- min?: number;
430
- max?: number;
431
- step?: number;
432
- };
433
- }) | ({
434
- type: "Range";
435
- } & {
436
- fieldset?: string | null | undefined;
437
- config?: {
438
- label?: string | null | undefined;
439
- placeholder?: string;
440
- min?: number;
441
- max?: number;
442
- step?: number;
443
- };
444
- }) | ({
445
- type: "StructuredText";
446
- } & {
447
- fieldset?: string | null | undefined;
448
- config?: {
449
- label?: string | null | undefined;
450
- placeholder?: string;
451
- useAsTitle?: boolean;
452
- single?: string;
453
- multi?: string;
454
- imageConstraint?: {
455
- width?: number | null;
456
- height?: number | null;
346
+ }) | ({
347
+ type: "Color";
348
+ } & {
349
+ fieldset?: string | null | undefined;
350
+ config?: {
351
+ label?: string | null | undefined;
352
+ placeholder?: string;
457
353
  };
458
- labels?: readonly string[];
459
- allowTargetBlank?: boolean;
460
- };
461
- }) | ({
462
- type: "Select";
463
- } & {
464
- fieldset?: string | null | undefined;
465
- config?: {
466
- label?: string | null | undefined;
467
- placeholder?: string;
468
- default_value?: string;
469
- options?: readonly string[];
470
- };
471
- }) | ({
472
- type: "Separator";
473
- } & {
474
- config?: {
475
- label?: string | null | undefined;
476
- };
477
- }) | ({
478
- type: "Text";
479
- } & {
480
- fieldset?: string | null | undefined;
481
- config?: {
482
- label?: string | null | undefined;
483
- useAsTitle?: boolean;
484
- placeholder?: string;
485
- };
486
- }) | ({
487
- type: "Timestamp";
488
- } & {
489
- fieldset?: string | null | undefined;
490
- config?: {
491
- label?: string | null | undefined;
492
- placeholder?: string;
493
- default?: string;
494
- };
495
- });
496
- };
497
- repeat?: {
498
- [x: string]: ({
499
- type: "Boolean";
500
- } & {
501
- config?: {
502
- label?: string | null | undefined;
503
- default_value?: boolean;
504
- placeholder_true?: string;
505
- placeholder_false?: string;
506
- };
507
- }) | ({
508
- type: "Color";
509
- } & {
510
- fieldset?: string | null | undefined;
511
- config?: {
512
- label?: string | null | undefined;
513
- placeholder?: string;
514
- };
515
- }) | ({
516
- type: "Date";
517
- } & {
518
- fieldset?: string | null | undefined;
519
- config?: {
520
- label?: string | null | undefined;
521
- placeholder?: string;
522
- default?: string;
523
- };
524
- }) | ({
525
- type: "Embed";
526
- } & {
527
- fieldset?: string | null | undefined;
528
- config?: {
529
- label?: string | null | undefined;
530
- placeholder?: string;
531
- useAsTitle?: boolean;
532
- };
533
- }) | ({
534
- type: "GeoPoint";
535
- } & {
536
- fieldset?: string | null | undefined;
537
- config?: {
538
- label?: string | null | undefined;
539
- };
540
- }) | ({
541
- type: "Image";
542
- } & {
543
- fieldset?: string | null | undefined;
544
- config?: {
545
- label?: string | null | undefined;
546
- placeholder?: string;
547
- constraint?: {
548
- width?: number | null;
549
- height?: number | null;
550
- };
551
- thumbnails?: readonly ({
552
- name: string;
553
- } & {
554
- width?: number | null;
555
- height?: number | null;
556
- })[];
557
- };
558
- }) | ({
559
- type: "IntegrationFields";
560
- } & {
561
- fieldset?: string | null | undefined;
562
- config?: {
563
- label?: string | null | undefined;
564
- placeholder?: string;
565
- catalog?: string;
566
- };
567
- }) | ({
568
- type: "Link";
569
- } & {
570
- fieldset?: string | null | undefined;
571
- config?: {
572
- label?: string | null | undefined;
573
- useAsTitle?: boolean;
574
- placeholder?: string;
575
- select?: "media" | "document" | "web" | null;
576
- customtypes?: readonly string[];
577
- masks?: readonly string[];
578
- tags?: readonly string[];
579
- allowTargetBlank?: boolean;
580
- };
581
- }) | ({
582
- type: "Number";
583
- } & {
584
- fieldset?: string | null | undefined;
585
- config?: {
586
- label?: string | null | undefined;
587
- placeholder?: string;
588
- min?: number;
589
- max?: number;
590
- step?: number;
591
- };
592
- }) | ({
593
- type: "Range";
594
- } & {
595
- fieldset?: string | null | undefined;
596
- config?: {
597
- label?: string | null | undefined;
598
- placeholder?: string;
599
- min?: number;
600
- max?: number;
601
- step?: number;
602
- };
603
- }) | ({
604
- type: "StructuredText";
605
- } & {
606
- fieldset?: string | null | undefined;
607
- config?: {
608
- label?: string | null | undefined;
609
- placeholder?: string;
610
- useAsTitle?: boolean;
611
- single?: string;
612
- multi?: string;
613
- imageConstraint?: {
614
- width?: number | null;
615
- height?: number | null;
616
- };
617
- labels?: readonly string[];
618
- allowTargetBlank?: boolean;
619
- };
620
- }) | ({
621
- type: "Select";
622
- } & {
623
- fieldset?: string | null | undefined;
624
- config?: {
625
- label?: string | null | undefined;
626
- placeholder?: string;
627
- default_value?: string;
628
- options?: readonly string[];
629
- };
630
- }) | ({
631
- type: "Separator";
632
- } & {
633
- config?: {
634
- label?: string | null | undefined;
635
- };
636
- }) | ({
637
- type: "Text";
638
- } & {
639
- fieldset?: string | null | undefined;
640
- config?: {
641
- label?: string | null | undefined;
642
- useAsTitle?: boolean;
643
- placeholder?: string;
644
- };
645
- }) | ({
646
- type: "Timestamp";
647
- } & {
648
- fieldset?: string | null | undefined;
649
- config?: {
650
- label?: string | null | undefined;
651
- placeholder?: string;
652
- default?: string;
653
- };
654
- });
655
- };
656
- config?: {
657
- label?: string | null | undefined;
658
- };
659
- }) | ({
660
- id: string;
661
- type: "SharedSlice";
662
- name: string;
663
- variations: readonly ({
664
- id: string;
665
- name: string;
666
- description: string;
667
- imageUrl: string;
668
- docURL: string;
669
- version: string;
670
- } & {
671
- display?: string;
672
- primary?: {
673
- [x: string]: ({
674
- type: "Boolean";
675
- } & {
676
- config?: {
677
- label?: string | null | undefined;
678
- default_value?: boolean;
679
- placeholder_true?: string;
680
- placeholder_false?: string;
681
- };
682
- }) | ({
683
- type: "Color";
684
- } & {
685
- fieldset?: string | null | undefined;
686
- config?: {
687
- label?: string | null | undefined;
688
- placeholder?: string;
689
- };
690
- }) | ({
691
- type: "Date";
692
- } & {
693
- fieldset?: string | null | undefined;
694
- config?: {
695
- label?: string | null | undefined;
696
- placeholder?: string;
697
- default?: string;
354
+ }) | ({
355
+ type: "Date";
356
+ } & {
357
+ fieldset?: string | null | undefined;
358
+ config?: {
359
+ label?: string | null | undefined;
360
+ placeholder?: string;
361
+ default?: string;
698
362
  };
699
363
  }) | ({
700
364
  type: "Embed";
@@ -826,344 +490,1863 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
826
490
  placeholder?: string;
827
491
  default?: string;
828
492
  };
829
- }) | import("./widgets").Group;
493
+ });
830
494
  };
831
- items?: {
832
- [x: string]: ({
833
- type: "Boolean";
834
- } & {
835
- config?: {
836
- label?: string | null | undefined;
837
- default_value?: boolean;
838
- placeholder_true?: string;
839
- placeholder_false?: string;
840
- };
841
- }) | ({
842
- type: "Color";
843
- } & {
844
- fieldset?: string | null | undefined;
845
- config?: {
846
- label?: string | null | undefined;
847
- placeholder?: string;
848
- };
849
- }) | ({
850
- type: "Date";
851
- } & {
852
- fieldset?: string | null | undefined;
853
- config?: {
854
- label?: string | null | undefined;
855
- placeholder?: string;
856
- default?: string;
857
- };
858
- }) | ({
859
- type: "Embed";
860
- } & {
861
- fieldset?: string | null | undefined;
862
- config?: {
863
- label?: string | null | undefined;
864
- placeholder?: string;
865
- useAsTitle?: boolean;
866
- };
867
- }) | ({
868
- type: "GeoPoint";
869
- } & {
870
- fieldset?: string | null | undefined;
871
- config?: {
872
- label?: string | null | undefined;
873
- };
874
- }) | ({
875
- type: "Image";
876
- } & {
877
- fieldset?: string | null | undefined;
878
- config?: {
879
- label?: string | null | undefined;
880
- placeholder?: string;
881
- constraint?: {
882
- width?: number | null;
883
- height?: number | null;
884
- };
885
- thumbnails?: readonly ({
886
- name: string;
887
- } & {
888
- width?: number | null;
889
- height?: number | null;
890
- })[];
891
- };
892
- }) | ({
893
- type: "IntegrationFields";
894
- } & {
895
- fieldset?: string | null | undefined;
896
- config?: {
897
- label?: string | null | undefined;
898
- placeholder?: string;
899
- catalog?: string;
900
- };
901
- }) | ({
902
- type: "Link";
903
- } & {
904
- fieldset?: string | null | undefined;
905
- config?: {
906
- label?: string | null | undefined;
907
- useAsTitle?: boolean;
908
- placeholder?: string;
909
- select?: "media" | "document" | "web" | null;
910
- customtypes?: readonly string[];
911
- masks?: readonly string[];
912
- tags?: readonly string[];
913
- allowTargetBlank?: boolean;
914
- };
915
- }) | ({
916
- type: "Number";
917
- } & {
918
- fieldset?: string | null | undefined;
919
- config?: {
920
- label?: string | null | undefined;
921
- placeholder?: string;
922
- min?: number;
923
- max?: number;
924
- step?: number;
925
- };
926
- }) | ({
927
- type: "Range";
928
- } & {
929
- fieldset?: string | null | undefined;
930
- config?: {
931
- label?: string | null | undefined;
932
- placeholder?: string;
933
- min?: number;
934
- max?: number;
935
- step?: number;
936
- };
937
- }) | ({
938
- type: "StructuredText";
939
- } & {
940
- fieldset?: string | null | undefined;
941
- config?: {
942
- label?: string | null | undefined;
943
- placeholder?: string;
495
+ };
496
+ });
497
+ };
498
+ };
499
+ }) | ({
500
+ type: "Choice" | "Slices";
501
+ } & {
502
+ fieldset?: string | null | undefined;
503
+ config?: {
504
+ label?: string | null | undefined;
505
+ labels?: {
506
+ [x: string]: readonly ({
507
+ name: string;
508
+ } & {
509
+ display?: string;
510
+ })[];
511
+ } | null;
512
+ choices?: {
513
+ [x: string]: ({
514
+ type: "Boolean";
515
+ } & {
516
+ config?: {
517
+ label?: string | null | undefined;
518
+ default_value?: boolean;
519
+ placeholder_true?: string;
520
+ placeholder_false?: string;
521
+ };
522
+ }) | ({
523
+ type: "Color";
524
+ } & {
525
+ fieldset?: string | null | undefined;
526
+ config?: {
527
+ label?: string | null | undefined;
528
+ placeholder?: string;
529
+ };
530
+ }) | ({
531
+ type: "Date";
532
+ } & {
533
+ fieldset?: string | null | undefined;
534
+ config?: {
535
+ label?: string | null | undefined;
536
+ placeholder?: string;
537
+ default?: string;
538
+ };
539
+ }) | ({
540
+ type: "Embed";
541
+ } & {
542
+ fieldset?: string | null | undefined;
543
+ config?: {
544
+ label?: string | null | undefined;
545
+ placeholder?: string;
546
+ useAsTitle?: boolean;
547
+ };
548
+ }) | ({
549
+ type: "GeoPoint";
550
+ } & {
551
+ fieldset?: string | null | undefined;
552
+ config?: {
553
+ label?: string | null | undefined;
554
+ };
555
+ }) | ({
556
+ type: "Image";
557
+ } & {
558
+ fieldset?: string | null | undefined;
559
+ config?: {
560
+ label?: string | null | undefined;
561
+ placeholder?: string;
562
+ constraint?: {
563
+ width?: number | null;
564
+ height?: number | null;
565
+ };
566
+ thumbnails?: readonly ({
567
+ name: string;
568
+ } & {
569
+ width?: number | null;
570
+ height?: number | null;
571
+ })[];
572
+ };
573
+ }) | ({
574
+ type: "IntegrationFields";
575
+ } & {
576
+ fieldset?: string | null | undefined;
577
+ config?: {
578
+ label?: string | null | undefined;
579
+ placeholder?: string;
580
+ catalog?: string;
581
+ };
582
+ }) | ({
583
+ type: "Link";
584
+ } & {
585
+ fieldset?: string | null | undefined;
586
+ config?: {
587
+ label?: string | null | undefined;
588
+ useAsTitle?: boolean;
589
+ placeholder?: string;
590
+ select?: "media" | "document" | "web" | null;
591
+ customtypes?: readonly string[];
592
+ masks?: readonly string[];
593
+ tags?: readonly string[];
594
+ allowTargetBlank?: boolean;
595
+ };
596
+ }) | ({
597
+ type: "Number";
598
+ } & {
599
+ fieldset?: string | null | undefined;
600
+ config?: {
601
+ label?: string | null | undefined;
602
+ placeholder?: string;
603
+ min?: number;
604
+ max?: number;
605
+ step?: number;
606
+ };
607
+ }) | ({
608
+ type: "Range";
609
+ } & {
610
+ fieldset?: string | null | undefined;
611
+ config?: {
612
+ label?: string | null | undefined;
613
+ placeholder?: string;
614
+ min?: number;
615
+ max?: number;
616
+ step?: number;
617
+ };
618
+ }) | ({
619
+ type: "StructuredText";
620
+ } & {
621
+ fieldset?: string | null | undefined;
622
+ config?: {
623
+ label?: string | null | undefined;
624
+ placeholder?: string;
625
+ useAsTitle?: boolean;
626
+ single?: string;
627
+ multi?: string;
628
+ imageConstraint?: {
629
+ width?: number | null;
630
+ height?: number | null;
631
+ };
632
+ labels?: readonly string[];
633
+ allowTargetBlank?: boolean;
634
+ };
635
+ }) | ({
636
+ type: "Select";
637
+ } & {
638
+ fieldset?: string | null | undefined;
639
+ config?: {
640
+ label?: string | null | undefined;
641
+ placeholder?: string;
642
+ default_value?: string;
643
+ options?: readonly string[];
644
+ };
645
+ }) | ({
646
+ type: "Separator";
647
+ } & {
648
+ config?: {
649
+ label?: string | null | undefined;
650
+ };
651
+ }) | ({
652
+ type: "Text";
653
+ } & {
654
+ fieldset?: string | null | undefined;
655
+ config?: {
656
+ label?: string | null | undefined;
657
+ useAsTitle?: boolean;
658
+ placeholder?: string;
659
+ };
660
+ }) | ({
661
+ type: "Timestamp";
662
+ } & {
663
+ fieldset?: string | null | undefined;
664
+ config?: {
665
+ label?: string | null | undefined;
666
+ placeholder?: string;
667
+ default?: string;
668
+ };
669
+ }) | ({
670
+ type: "Group";
671
+ } & {
672
+ fieldset?: string | null | undefined;
673
+ icon?: string;
674
+ description?: string;
675
+ config?: {
676
+ label?: string | null | undefined;
677
+ repeat?: boolean;
678
+ fields?: {
679
+ [x: string]: ({
680
+ type: "Boolean";
681
+ } & {
682
+ config?: {
683
+ label?: string | null | undefined;
684
+ default_value?: boolean;
685
+ placeholder_true?: string;
686
+ placeholder_false?: string;
687
+ };
688
+ }) | ({
689
+ type: "Color";
690
+ } & {
691
+ fieldset?: string | null | undefined;
692
+ config?: {
693
+ label?: string | null | undefined;
694
+ placeholder?: string;
695
+ };
696
+ }) | ({
697
+ type: "Date";
698
+ } & {
699
+ fieldset?: string | null | undefined;
700
+ config?: {
701
+ label?: string | null | undefined;
702
+ placeholder?: string;
703
+ default?: string;
704
+ };
705
+ }) | ({
706
+ type: "Embed";
707
+ } & {
708
+ fieldset?: string | null | undefined;
709
+ config?: {
710
+ label?: string | null | undefined;
711
+ placeholder?: string;
712
+ useAsTitle?: boolean;
713
+ };
714
+ }) | ({
715
+ type: "GeoPoint";
716
+ } & {
717
+ fieldset?: string | null | undefined;
718
+ config?: {
719
+ label?: string | null | undefined;
720
+ };
721
+ }) | ({
722
+ type: "Image";
723
+ } & {
724
+ fieldset?: string | null | undefined;
725
+ config?: {
726
+ label?: string | null | undefined;
727
+ placeholder?: string;
728
+ constraint?: {
729
+ width?: number | null;
730
+ height?: number | null;
731
+ };
732
+ thumbnails?: readonly ({
733
+ name: string;
734
+ } & {
735
+ width?: number | null;
736
+ height?: number | null;
737
+ })[];
738
+ };
739
+ }) | ({
740
+ type: "IntegrationFields";
741
+ } & {
742
+ fieldset?: string | null | undefined;
743
+ config?: {
744
+ label?: string | null | undefined;
745
+ placeholder?: string;
746
+ catalog?: string;
747
+ };
748
+ }) | ({
749
+ type: "Link";
750
+ } & {
751
+ fieldset?: string | null | undefined;
752
+ config?: {
753
+ label?: string | null | undefined;
754
+ useAsTitle?: boolean;
755
+ placeholder?: string;
756
+ select?: "media" | "document" | "web" | null;
757
+ customtypes?: readonly string[];
758
+ masks?: readonly string[];
759
+ tags?: readonly string[];
760
+ allowTargetBlank?: boolean;
761
+ };
762
+ }) | ({
763
+ type: "Number";
764
+ } & {
765
+ fieldset?: string | null | undefined;
766
+ config?: {
767
+ label?: string | null | undefined;
768
+ placeholder?: string;
769
+ min?: number;
770
+ max?: number;
771
+ step?: number;
772
+ };
773
+ }) | ({
774
+ type: "Range";
775
+ } & {
776
+ fieldset?: string | null | undefined;
777
+ config?: {
778
+ label?: string | null | undefined;
779
+ placeholder?: string;
780
+ min?: number;
781
+ max?: number;
782
+ step?: number;
783
+ };
784
+ }) | ({
785
+ type: "StructuredText";
786
+ } & {
787
+ fieldset?: string | null | undefined;
788
+ config?: {
789
+ label?: string | null | undefined;
790
+ placeholder?: string;
791
+ useAsTitle?: boolean;
792
+ single?: string;
793
+ multi?: string;
794
+ imageConstraint?: {
795
+ width?: number | null;
796
+ height?: number | null;
797
+ };
798
+ labels?: readonly string[];
799
+ allowTargetBlank?: boolean;
800
+ };
801
+ }) | ({
802
+ type: "Select";
803
+ } & {
804
+ fieldset?: string | null | undefined;
805
+ config?: {
806
+ label?: string | null | undefined;
807
+ placeholder?: string;
808
+ default_value?: string;
809
+ options?: readonly string[];
810
+ };
811
+ }) | ({
812
+ type: "Separator";
813
+ } & {
814
+ config?: {
815
+ label?: string | null | undefined;
816
+ };
817
+ }) | ({
818
+ type: "Text";
819
+ } & {
820
+ fieldset?: string | null | undefined;
821
+ config?: {
822
+ label?: string | null | undefined;
823
+ useAsTitle?: boolean;
824
+ placeholder?: string;
825
+ };
826
+ }) | ({
827
+ type: "Timestamp";
828
+ } & {
829
+ fieldset?: string | null | undefined;
830
+ config?: {
831
+ label?: string | null | undefined;
832
+ placeholder?: string;
833
+ default?: string;
834
+ };
835
+ });
836
+ };
837
+ };
838
+ }) | ({
839
+ type: "Slice";
840
+ } & {
841
+ fieldset?: string | null | undefined;
842
+ description?: string;
843
+ icon?: string;
844
+ display?: string;
845
+ "non-repeat"?: {
846
+ [x: string]: ({
847
+ type: "Boolean";
848
+ } & {
849
+ config?: {
850
+ label?: string | null | undefined;
851
+ default_value?: boolean;
852
+ placeholder_true?: string;
853
+ placeholder_false?: string;
854
+ };
855
+ }) | ({
856
+ type: "Color";
857
+ } & {
858
+ fieldset?: string | null | undefined;
859
+ config?: {
860
+ label?: string | null | undefined;
861
+ placeholder?: string;
862
+ };
863
+ }) | ({
864
+ type: "Date";
865
+ } & {
866
+ fieldset?: string | null | undefined;
867
+ config?: {
868
+ label?: string | null | undefined;
869
+ placeholder?: string;
870
+ default?: string;
871
+ };
872
+ }) | ({
873
+ type: "Embed";
874
+ } & {
875
+ fieldset?: string | null | undefined;
876
+ config?: {
877
+ label?: string | null | undefined;
878
+ placeholder?: string;
879
+ useAsTitle?: boolean;
880
+ };
881
+ }) | ({
882
+ type: "GeoPoint";
883
+ } & {
884
+ fieldset?: string | null | undefined;
885
+ config?: {
886
+ label?: string | null | undefined;
887
+ };
888
+ }) | ({
889
+ type: "Image";
890
+ } & {
891
+ fieldset?: string | null | undefined;
892
+ config?: {
893
+ label?: string | null | undefined;
894
+ placeholder?: string;
895
+ constraint?: {
896
+ width?: number | null;
897
+ height?: number | null;
898
+ };
899
+ thumbnails?: readonly ({
900
+ name: string;
901
+ } & {
902
+ width?: number | null;
903
+ height?: number | null;
904
+ })[];
905
+ };
906
+ }) | ({
907
+ type: "IntegrationFields";
908
+ } & {
909
+ fieldset?: string | null | undefined;
910
+ config?: {
911
+ label?: string | null | undefined;
912
+ placeholder?: string;
913
+ catalog?: string;
914
+ };
915
+ }) | ({
916
+ type: "Link";
917
+ } & {
918
+ fieldset?: string | null | undefined;
919
+ config?: {
920
+ label?: string | null | undefined;
921
+ useAsTitle?: boolean;
922
+ placeholder?: string;
923
+ select?: "media" | "document" | "web" | null;
924
+ customtypes?: readonly string[];
925
+ masks?: readonly string[];
926
+ tags?: readonly string[];
927
+ allowTargetBlank?: boolean;
928
+ };
929
+ }) | ({
930
+ type: "Number";
931
+ } & {
932
+ fieldset?: string | null | undefined;
933
+ config?: {
934
+ label?: string | null | undefined;
935
+ placeholder?: string;
936
+ min?: number;
937
+ max?: number;
938
+ step?: number;
939
+ };
940
+ }) | ({
941
+ type: "Range";
942
+ } & {
943
+ fieldset?: string | null | undefined;
944
+ config?: {
945
+ label?: string | null | undefined;
946
+ placeholder?: string;
947
+ min?: number;
948
+ max?: number;
949
+ step?: number;
950
+ };
951
+ }) | ({
952
+ type: "StructuredText";
953
+ } & {
954
+ fieldset?: string | null | undefined;
955
+ config?: {
956
+ label?: string | null | undefined;
957
+ placeholder?: string;
958
+ useAsTitle?: boolean;
959
+ single?: string;
960
+ multi?: string;
961
+ imageConstraint?: {
962
+ width?: number | null;
963
+ height?: number | null;
964
+ };
965
+ labels?: readonly string[];
966
+ allowTargetBlank?: boolean;
967
+ };
968
+ }) | ({
969
+ type: "Select";
970
+ } & {
971
+ fieldset?: string | null | undefined;
972
+ config?: {
973
+ label?: string | null | undefined;
974
+ placeholder?: string;
975
+ default_value?: string;
976
+ options?: readonly string[];
977
+ };
978
+ }) | ({
979
+ type: "Separator";
980
+ } & {
981
+ config?: {
982
+ label?: string | null | undefined;
983
+ };
984
+ }) | ({
985
+ type: "Text";
986
+ } & {
987
+ fieldset?: string | null | undefined;
988
+ config?: {
989
+ label?: string | null | undefined;
990
+ useAsTitle?: boolean;
991
+ placeholder?: string;
992
+ };
993
+ }) | ({
994
+ type: "Timestamp";
995
+ } & {
996
+ fieldset?: string | null | undefined;
997
+ config?: {
998
+ label?: string | null | undefined;
999
+ placeholder?: string;
1000
+ default?: string;
1001
+ };
1002
+ });
1003
+ };
1004
+ repeat?: {
1005
+ [x: string]: ({
1006
+ type: "Boolean";
1007
+ } & {
1008
+ config?: {
1009
+ label?: string | null | undefined;
1010
+ default_value?: boolean;
1011
+ placeholder_true?: string;
1012
+ placeholder_false?: string;
1013
+ };
1014
+ }) | ({
1015
+ type: "Color";
1016
+ } & {
1017
+ fieldset?: string | null | undefined;
1018
+ config?: {
1019
+ label?: string | null | undefined;
1020
+ placeholder?: string;
1021
+ };
1022
+ }) | ({
1023
+ type: "Date";
1024
+ } & {
1025
+ fieldset?: string | null | undefined;
1026
+ config?: {
1027
+ label?: string | null | undefined;
1028
+ placeholder?: string;
1029
+ default?: string;
1030
+ };
1031
+ }) | ({
1032
+ type: "Embed";
1033
+ } & {
1034
+ fieldset?: string | null | undefined;
1035
+ config?: {
1036
+ label?: string | null | undefined;
1037
+ placeholder?: string;
1038
+ useAsTitle?: boolean;
1039
+ };
1040
+ }) | ({
1041
+ type: "GeoPoint";
1042
+ } & {
1043
+ fieldset?: string | null | undefined;
1044
+ config?: {
1045
+ label?: string | null | undefined;
1046
+ };
1047
+ }) | ({
1048
+ type: "Image";
1049
+ } & {
1050
+ fieldset?: string | null | undefined;
1051
+ config?: {
1052
+ label?: string | null | undefined;
1053
+ placeholder?: string;
1054
+ constraint?: {
1055
+ width?: number | null;
1056
+ height?: number | null;
1057
+ };
1058
+ thumbnails?: readonly ({
1059
+ name: string;
1060
+ } & {
1061
+ width?: number | null;
1062
+ height?: number | null;
1063
+ })[];
1064
+ };
1065
+ }) | ({
1066
+ type: "IntegrationFields";
1067
+ } & {
1068
+ fieldset?: string | null | undefined;
1069
+ config?: {
1070
+ label?: string | null | undefined;
1071
+ placeholder?: string;
1072
+ catalog?: string;
1073
+ };
1074
+ }) | ({
1075
+ type: "Link";
1076
+ } & {
1077
+ fieldset?: string | null | undefined;
1078
+ config?: {
1079
+ label?: string | null | undefined;
1080
+ useAsTitle?: boolean;
1081
+ placeholder?: string;
1082
+ select?: "media" | "document" | "web" | null;
1083
+ customtypes?: readonly string[];
1084
+ masks?: readonly string[];
1085
+ tags?: readonly string[];
1086
+ allowTargetBlank?: boolean;
1087
+ };
1088
+ }) | ({
1089
+ type: "Number";
1090
+ } & {
1091
+ fieldset?: string | null | undefined;
1092
+ config?: {
1093
+ label?: string | null | undefined;
1094
+ placeholder?: string;
1095
+ min?: number;
1096
+ max?: number;
1097
+ step?: number;
1098
+ };
1099
+ }) | ({
1100
+ type: "Range";
1101
+ } & {
1102
+ fieldset?: string | null | undefined;
1103
+ config?: {
1104
+ label?: string | null | undefined;
1105
+ placeholder?: string;
1106
+ min?: number;
1107
+ max?: number;
1108
+ step?: number;
1109
+ };
1110
+ }) | ({
1111
+ type: "StructuredText";
1112
+ } & {
1113
+ fieldset?: string | null | undefined;
1114
+ config?: {
1115
+ label?: string | null | undefined;
1116
+ placeholder?: string;
1117
+ useAsTitle?: boolean;
1118
+ single?: string;
1119
+ multi?: string;
1120
+ imageConstraint?: {
1121
+ width?: number | null;
1122
+ height?: number | null;
1123
+ };
1124
+ labels?: readonly string[];
1125
+ allowTargetBlank?: boolean;
1126
+ };
1127
+ }) | ({
1128
+ type: "Select";
1129
+ } & {
1130
+ fieldset?: string | null | undefined;
1131
+ config?: {
1132
+ label?: string | null | undefined;
1133
+ placeholder?: string;
1134
+ default_value?: string;
1135
+ options?: readonly string[];
1136
+ };
1137
+ }) | ({
1138
+ type: "Separator";
1139
+ } & {
1140
+ config?: {
1141
+ label?: string | null | undefined;
1142
+ };
1143
+ }) | ({
1144
+ type: "Text";
1145
+ } & {
1146
+ fieldset?: string | null | undefined;
1147
+ config?: {
1148
+ label?: string | null | undefined;
1149
+ useAsTitle?: boolean;
1150
+ placeholder?: string;
1151
+ };
1152
+ }) | ({
1153
+ type: "Timestamp";
1154
+ } & {
1155
+ fieldset?: string | null | undefined;
1156
+ config?: {
1157
+ label?: string | null | undefined;
1158
+ placeholder?: string;
1159
+ default?: string;
1160
+ };
1161
+ });
1162
+ };
1163
+ config?: {
1164
+ label?: string | null | undefined;
1165
+ };
1166
+ }) | ({
1167
+ id: string;
1168
+ type: "SharedSlice";
1169
+ name: string;
1170
+ variations: readonly ({
1171
+ id: string;
1172
+ name: string;
1173
+ description: string;
1174
+ imageUrl: string;
1175
+ docURL: string;
1176
+ version: string;
1177
+ } & {
1178
+ display?: string;
1179
+ primary?: {
1180
+ [x: string]: ({
1181
+ type: "Boolean";
1182
+ } & {
1183
+ config?: {
1184
+ label?: string | null | undefined;
1185
+ default_value?: boolean;
1186
+ placeholder_true?: string;
1187
+ placeholder_false?: string;
1188
+ };
1189
+ }) | ({
1190
+ type: "Color";
1191
+ } & {
1192
+ fieldset?: string | null | undefined;
1193
+ config?: {
1194
+ label?: string | null | undefined;
1195
+ placeholder?: string;
1196
+ };
1197
+ }) | ({
1198
+ type: "Date";
1199
+ } & {
1200
+ fieldset?: string | null | undefined;
1201
+ config?: {
1202
+ label?: string | null | undefined;
1203
+ placeholder?: string;
1204
+ default?: string;
1205
+ };
1206
+ }) | ({
1207
+ type: "Embed";
1208
+ } & {
1209
+ fieldset?: string | null | undefined;
1210
+ config?: {
1211
+ label?: string | null | undefined;
1212
+ placeholder?: string;
1213
+ useAsTitle?: boolean;
1214
+ };
1215
+ }) | ({
1216
+ type: "GeoPoint";
1217
+ } & {
1218
+ fieldset?: string | null | undefined;
1219
+ config?: {
1220
+ label?: string | null | undefined;
1221
+ };
1222
+ }) | ({
1223
+ type: "Image";
1224
+ } & {
1225
+ fieldset?: string | null | undefined;
1226
+ config?: {
1227
+ label?: string | null | undefined;
1228
+ placeholder?: string;
1229
+ constraint?: {
1230
+ width?: number | null;
1231
+ height?: number | null;
1232
+ };
1233
+ thumbnails?: readonly ({
1234
+ name: string;
1235
+ } & {
1236
+ width?: number | null;
1237
+ height?: number | null;
1238
+ })[];
1239
+ };
1240
+ }) | ({
1241
+ type: "IntegrationFields";
1242
+ } & {
1243
+ fieldset?: string | null | undefined;
1244
+ config?: {
1245
+ label?: string | null | undefined;
1246
+ placeholder?: string;
1247
+ catalog?: string;
1248
+ };
1249
+ }) | ({
1250
+ type: "Link";
1251
+ } & {
1252
+ fieldset?: string | null | undefined;
1253
+ config?: {
1254
+ label?: string | null | undefined;
1255
+ useAsTitle?: boolean;
1256
+ placeholder?: string;
1257
+ select?: "media" | "document" | "web" | null;
1258
+ customtypes?: readonly string[];
1259
+ masks?: readonly string[];
1260
+ tags?: readonly string[];
1261
+ allowTargetBlank?: boolean;
1262
+ };
1263
+ }) | ({
1264
+ type: "Number";
1265
+ } & {
1266
+ fieldset?: string | null | undefined;
1267
+ config?: {
1268
+ label?: string | null | undefined;
1269
+ placeholder?: string;
1270
+ min?: number;
1271
+ max?: number;
1272
+ step?: number;
1273
+ };
1274
+ }) | ({
1275
+ type: "Range";
1276
+ } & {
1277
+ fieldset?: string | null | undefined;
1278
+ config?: {
1279
+ label?: string | null | undefined;
1280
+ placeholder?: string;
1281
+ min?: number;
1282
+ max?: number;
1283
+ step?: number;
1284
+ };
1285
+ }) | ({
1286
+ type: "StructuredText";
1287
+ } & {
1288
+ fieldset?: string | null | undefined;
1289
+ config?: {
1290
+ label?: string | null | undefined;
1291
+ placeholder?: string;
1292
+ useAsTitle?: boolean;
1293
+ single?: string;
1294
+ multi?: string;
1295
+ imageConstraint?: {
1296
+ width?: number | null;
1297
+ height?: number | null;
1298
+ };
1299
+ labels?: readonly string[];
1300
+ allowTargetBlank?: boolean;
1301
+ };
1302
+ }) | ({
1303
+ type: "Select";
1304
+ } & {
1305
+ fieldset?: string | null | undefined;
1306
+ config?: {
1307
+ label?: string | null | undefined;
1308
+ placeholder?: string;
1309
+ default_value?: string;
1310
+ options?: readonly string[];
1311
+ };
1312
+ }) | ({
1313
+ type: "Separator";
1314
+ } & {
1315
+ config?: {
1316
+ label?: string | null | undefined;
1317
+ };
1318
+ }) | ({
1319
+ type: "Text";
1320
+ } & {
1321
+ fieldset?: string | null | undefined;
1322
+ config?: {
1323
+ label?: string | null | undefined;
1324
+ useAsTitle?: boolean;
1325
+ placeholder?: string;
1326
+ };
1327
+ }) | ({
1328
+ type: "Timestamp";
1329
+ } & {
1330
+ fieldset?: string | null | undefined;
1331
+ config?: {
1332
+ label?: string | null | undefined;
1333
+ placeholder?: string;
1334
+ default?: string;
1335
+ };
1336
+ }) | ({
1337
+ type: "Group";
1338
+ } & {
1339
+ fieldset?: string | null | undefined;
1340
+ icon?: string;
1341
+ description?: string;
1342
+ config?: {
1343
+ label?: string | null | undefined;
1344
+ repeat?: boolean;
1345
+ fields?: {
1346
+ [x: string]: ({
1347
+ type: "Boolean";
1348
+ } & {
1349
+ config?: {
1350
+ label?: string | null | undefined;
1351
+ default_value?: boolean;
1352
+ placeholder_true?: string;
1353
+ placeholder_false?: string;
1354
+ };
1355
+ }) | ({
1356
+ type: "Color";
1357
+ } & {
1358
+ fieldset?: string | null | undefined;
1359
+ config?: {
1360
+ label?: string | null | undefined;
1361
+ placeholder?: string;
1362
+ };
1363
+ }) | ({
1364
+ type: "Date";
1365
+ } & {
1366
+ fieldset?: string | null | undefined;
1367
+ config?: {
1368
+ label?: string | null | undefined;
1369
+ placeholder?: string;
1370
+ default?: string;
1371
+ };
1372
+ }) | ({
1373
+ type: "Embed";
1374
+ } & {
1375
+ fieldset?: string | null | undefined;
1376
+ config?: {
1377
+ label?: string | null | undefined;
1378
+ placeholder?: string;
1379
+ useAsTitle?: boolean;
1380
+ };
1381
+ }) | ({
1382
+ type: "GeoPoint";
1383
+ } & {
1384
+ fieldset?: string | null | undefined;
1385
+ config?: {
1386
+ label?: string | null | undefined;
1387
+ };
1388
+ }) | ({
1389
+ type: "Image";
1390
+ } & {
1391
+ fieldset?: string | null | undefined;
1392
+ config?: {
1393
+ label?: string | null | undefined;
1394
+ placeholder?: string;
1395
+ constraint?: {
1396
+ width?: number | null;
1397
+ height?: number | null;
1398
+ };
1399
+ thumbnails?: readonly ({
1400
+ name: string;
1401
+ } & {
1402
+ width?: number | null;
1403
+ height?: number | null;
1404
+ })[];
1405
+ };
1406
+ }) | ({
1407
+ type: "IntegrationFields";
1408
+ } & {
1409
+ fieldset?: string | null | undefined;
1410
+ config?: {
1411
+ label?: string | null | undefined;
1412
+ placeholder?: string;
1413
+ catalog?: string;
1414
+ };
1415
+ }) | ({
1416
+ type: "Link";
1417
+ } & {
1418
+ fieldset?: string | null | undefined;
1419
+ config?: {
1420
+ label?: string | null | undefined;
1421
+ useAsTitle?: boolean;
1422
+ placeholder?: string;
1423
+ select?: "media" | "document" | "web" | null;
1424
+ customtypes?: readonly string[];
1425
+ masks?: readonly string[];
1426
+ tags?: readonly string[];
1427
+ allowTargetBlank?: boolean;
1428
+ };
1429
+ }) | ({
1430
+ type: "Number";
1431
+ } & {
1432
+ fieldset?: string | null | undefined;
1433
+ config?: {
1434
+ label?: string | null | undefined;
1435
+ placeholder?: string;
1436
+ min?: number;
1437
+ max?: number;
1438
+ step?: number;
1439
+ };
1440
+ }) | ({
1441
+ type: "Range";
1442
+ } & {
1443
+ fieldset?: string | null | undefined;
1444
+ config?: {
1445
+ label?: string | null | undefined;
1446
+ placeholder?: string;
1447
+ min?: number;
1448
+ max?: number;
1449
+ step?: number;
1450
+ };
1451
+ }) | ({
1452
+ type: "StructuredText";
1453
+ } & {
1454
+ fieldset?: string | null | undefined;
1455
+ config?: {
1456
+ label?: string | null | undefined;
1457
+ placeholder?: string;
1458
+ useAsTitle?: boolean;
1459
+ single?: string;
1460
+ multi?: string;
1461
+ imageConstraint?: {
1462
+ width?: number | null;
1463
+ height?: number | null;
1464
+ };
1465
+ labels?: readonly string[];
1466
+ allowTargetBlank?: boolean;
1467
+ };
1468
+ }) | ({
1469
+ type: "Select";
1470
+ } & {
1471
+ fieldset?: string | null | undefined;
1472
+ config?: {
1473
+ label?: string | null | undefined;
1474
+ placeholder?: string;
1475
+ default_value?: string;
1476
+ options?: readonly string[];
1477
+ };
1478
+ }) | ({
1479
+ type: "Separator";
1480
+ } & {
1481
+ config?: {
1482
+ label?: string | null | undefined;
1483
+ };
1484
+ }) | ({
1485
+ type: "Text";
1486
+ } & {
1487
+ fieldset?: string | null | undefined;
1488
+ config?: {
1489
+ label?: string | null | undefined;
1490
+ useAsTitle?: boolean;
1491
+ placeholder?: string;
1492
+ };
1493
+ }) | ({
1494
+ type: "Timestamp";
1495
+ } & {
1496
+ fieldset?: string | null | undefined;
1497
+ config?: {
1498
+ label?: string | null | undefined;
1499
+ placeholder?: string;
1500
+ default?: string;
1501
+ };
1502
+ }) | ({
1503
+ type: "Group";
1504
+ } & {
1505
+ fieldset?: string | null | undefined;
1506
+ icon?: string;
1507
+ description?: string;
1508
+ config?: {
1509
+ label?: string | null | undefined;
1510
+ repeat?: boolean;
1511
+ fields?: {
1512
+ [x: string]: ({
1513
+ type: "Boolean";
1514
+ } & {
1515
+ config?: {
1516
+ label?: string | null | undefined;
1517
+ default_value?: boolean;
1518
+ placeholder_true?: string;
1519
+ placeholder_false?: string;
1520
+ };
1521
+ }) | ({
1522
+ type: "Color";
1523
+ } & {
1524
+ fieldset?: string | null | undefined;
1525
+ config?: {
1526
+ label?: string | null | undefined;
1527
+ placeholder?: string;
1528
+ };
1529
+ }) | ({
1530
+ type: "Date";
1531
+ } & {
1532
+ fieldset?: string | null | undefined;
1533
+ config?: {
1534
+ label?: string | null | undefined;
1535
+ placeholder?: string;
1536
+ default?: string;
1537
+ };
1538
+ }) | ({
1539
+ type: "Embed";
1540
+ } & {
1541
+ fieldset?: string | null | undefined;
1542
+ config?: {
1543
+ label?: string | null | undefined;
1544
+ placeholder?: string;
1545
+ useAsTitle?: boolean;
1546
+ };
1547
+ }) | ({
1548
+ type: "GeoPoint";
1549
+ } & {
1550
+ fieldset?: string | null | undefined;
1551
+ config?: {
1552
+ label?: string | null | undefined;
1553
+ };
1554
+ }) | ({
1555
+ type: "Image";
1556
+ } & {
1557
+ fieldset?: string | null | undefined;
1558
+ config?: {
1559
+ label?: string | null | undefined;
1560
+ placeholder?: string;
1561
+ constraint?: {
1562
+ width?: number | null;
1563
+ height?: number | null;
1564
+ };
1565
+ thumbnails?: readonly ({
1566
+ name: string;
1567
+ } & {
1568
+ width?: number | null;
1569
+ height?: number | null;
1570
+ })[];
1571
+ };
1572
+ }) | ({
1573
+ type: "IntegrationFields";
1574
+ } & {
1575
+ fieldset?: string | null | undefined;
1576
+ config?: {
1577
+ label?: string | null | undefined;
1578
+ placeholder?: string;
1579
+ catalog?: string;
1580
+ };
1581
+ }) | ({
1582
+ type: "Link";
1583
+ } & {
1584
+ fieldset?: string | null | undefined;
1585
+ config?: {
1586
+ label?: string | null | undefined;
1587
+ useAsTitle?: boolean;
1588
+ placeholder?: string;
1589
+ select?: "media" | "document" | "web" | null;
1590
+ customtypes?: readonly string[];
1591
+ masks?: readonly string[];
1592
+ tags?: readonly string[];
1593
+ allowTargetBlank?: boolean;
1594
+ };
1595
+ }) | ({
1596
+ type: "Number";
1597
+ } & {
1598
+ fieldset?: string | null | undefined;
1599
+ config?: {
1600
+ label?: string | null | undefined;
1601
+ placeholder?: string;
1602
+ min?: number;
1603
+ max?: number;
1604
+ step?: number;
1605
+ };
1606
+ }) | ({
1607
+ type: "Range";
1608
+ } & {
1609
+ fieldset?: string | null | undefined;
1610
+ config?: {
1611
+ label?: string | null | undefined;
1612
+ placeholder?: string;
1613
+ min?: number;
1614
+ max?: number;
1615
+ step?: number;
1616
+ };
1617
+ }) | ({
1618
+ type: "StructuredText";
1619
+ } & {
1620
+ fieldset?: string | null | undefined;
1621
+ config?: {
1622
+ label?: string | null | undefined;
1623
+ placeholder?: string;
1624
+ useAsTitle?: boolean;
1625
+ single?: string;
1626
+ multi?: string;
1627
+ imageConstraint?: {
1628
+ width?: number | null;
1629
+ height?: number | null;
1630
+ };
1631
+ labels?: readonly string[];
1632
+ allowTargetBlank?: boolean;
1633
+ };
1634
+ }) | ({
1635
+ type: "Select";
1636
+ } & {
1637
+ fieldset?: string | null | undefined;
1638
+ config?: {
1639
+ label?: string | null | undefined;
1640
+ placeholder?: string;
1641
+ default_value?: string;
1642
+ options?: readonly string[];
1643
+ };
1644
+ }) | ({
1645
+ type: "Separator";
1646
+ } & {
1647
+ config?: {
1648
+ label?: string | null | undefined;
1649
+ };
1650
+ }) | ({
1651
+ type: "Text";
1652
+ } & {
1653
+ fieldset?: string | null | undefined;
1654
+ config?: {
1655
+ label?: string | null | undefined;
1656
+ useAsTitle?: boolean;
1657
+ placeholder?: string;
1658
+ };
1659
+ }) | ({
1660
+ type: "Timestamp";
1661
+ } & {
1662
+ fieldset?: string | null | undefined;
1663
+ config?: {
1664
+ label?: string | null | undefined;
1665
+ placeholder?: string;
1666
+ default?: string;
1667
+ };
1668
+ });
1669
+ };
1670
+ };
1671
+ });
1672
+ };
1673
+ };
1674
+ });
1675
+ };
1676
+ items?: {
1677
+ [x: string]: ({
1678
+ type: "Boolean";
1679
+ } & {
1680
+ config?: {
1681
+ label?: string | null | undefined;
1682
+ default_value?: boolean;
1683
+ placeholder_true?: string;
1684
+ placeholder_false?: string;
1685
+ };
1686
+ }) | ({
1687
+ type: "Color";
1688
+ } & {
1689
+ fieldset?: string | null | undefined;
1690
+ config?: {
1691
+ label?: string | null | undefined;
1692
+ placeholder?: string;
1693
+ };
1694
+ }) | ({
1695
+ type: "Date";
1696
+ } & {
1697
+ fieldset?: string | null | undefined;
1698
+ config?: {
1699
+ label?: string | null | undefined;
1700
+ placeholder?: string;
1701
+ default?: string;
1702
+ };
1703
+ }) | ({
1704
+ type: "Embed";
1705
+ } & {
1706
+ fieldset?: string | null | undefined;
1707
+ config?: {
1708
+ label?: string | null | undefined;
1709
+ placeholder?: string;
1710
+ useAsTitle?: boolean;
1711
+ };
1712
+ }) | ({
1713
+ type: "GeoPoint";
1714
+ } & {
1715
+ fieldset?: string | null | undefined;
1716
+ config?: {
1717
+ label?: string | null | undefined;
1718
+ };
1719
+ }) | ({
1720
+ type: "Image";
1721
+ } & {
1722
+ fieldset?: string | null | undefined;
1723
+ config?: {
1724
+ label?: string | null | undefined;
1725
+ placeholder?: string;
1726
+ constraint?: {
1727
+ width?: number | null;
1728
+ height?: number | null;
1729
+ };
1730
+ thumbnails?: readonly ({
1731
+ name: string;
1732
+ } & {
1733
+ width?: number | null;
1734
+ height?: number | null;
1735
+ })[];
1736
+ };
1737
+ }) | ({
1738
+ type: "IntegrationFields";
1739
+ } & {
1740
+ fieldset?: string | null | undefined;
1741
+ config?: {
1742
+ label?: string | null | undefined;
1743
+ placeholder?: string;
1744
+ catalog?: string;
1745
+ };
1746
+ }) | ({
1747
+ type: "Link";
1748
+ } & {
1749
+ fieldset?: string | null | undefined;
1750
+ config?: {
1751
+ label?: string | null | undefined;
1752
+ useAsTitle?: boolean;
1753
+ placeholder?: string;
1754
+ select?: "media" | "document" | "web" | null;
1755
+ customtypes?: readonly string[];
1756
+ masks?: readonly string[];
1757
+ tags?: readonly string[];
1758
+ allowTargetBlank?: boolean;
1759
+ };
1760
+ }) | ({
1761
+ type: "Number";
1762
+ } & {
1763
+ fieldset?: string | null | undefined;
1764
+ config?: {
1765
+ label?: string | null | undefined;
1766
+ placeholder?: string;
1767
+ min?: number;
1768
+ max?: number;
1769
+ step?: number;
1770
+ };
1771
+ }) | ({
1772
+ type: "Range";
1773
+ } & {
1774
+ fieldset?: string | null | undefined;
1775
+ config?: {
1776
+ label?: string | null | undefined;
1777
+ placeholder?: string;
1778
+ min?: number;
1779
+ max?: number;
1780
+ step?: number;
1781
+ };
1782
+ }) | ({
1783
+ type: "StructuredText";
1784
+ } & {
1785
+ fieldset?: string | null | undefined;
1786
+ config?: {
1787
+ label?: string | null | undefined;
1788
+ placeholder?: string;
1789
+ useAsTitle?: boolean;
1790
+ single?: string;
1791
+ multi?: string;
1792
+ imageConstraint?: {
1793
+ width?: number | null;
1794
+ height?: number | null;
1795
+ };
1796
+ labels?: readonly string[];
1797
+ allowTargetBlank?: boolean;
1798
+ };
1799
+ }) | ({
1800
+ type: "Select";
1801
+ } & {
1802
+ fieldset?: string | null | undefined;
1803
+ config?: {
1804
+ label?: string | null | undefined;
1805
+ placeholder?: string;
1806
+ default_value?: string;
1807
+ options?: readonly string[];
1808
+ };
1809
+ }) | ({
1810
+ type: "Separator";
1811
+ } & {
1812
+ config?: {
1813
+ label?: string | null | undefined;
1814
+ };
1815
+ }) | ({
1816
+ type: "Text";
1817
+ } & {
1818
+ fieldset?: string | null | undefined;
1819
+ config?: {
1820
+ label?: string | null | undefined;
1821
+ useAsTitle?: boolean;
1822
+ placeholder?: string;
1823
+ };
1824
+ }) | ({
1825
+ type: "Timestamp";
1826
+ } & {
1827
+ fieldset?: string | null | undefined;
1828
+ config?: {
1829
+ label?: string | null | undefined;
1830
+ placeholder?: string;
1831
+ default?: string;
1832
+ };
1833
+ });
1834
+ };
1835
+ })[];
1836
+ } & {
1837
+ description?: string;
1838
+ legacyPaths?: {
1839
+ [x: string]: string;
1840
+ };
1841
+ });
1842
+ };
1843
+ };
1844
+ }) | ({
1845
+ type: "UID";
1846
+ } & {
1847
+ fieldset?: string | null | undefined;
1848
+ config?: {
1849
+ label?: string | null | undefined;
1850
+ useAsTitle?: boolean;
1851
+ placeholder?: string;
1852
+ };
1853
+ }), unknown, unknown>>;
1854
+ export declare type StaticSection = t.TypeOf<typeof StaticSection>;
1855
+ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
1856
+ type: "Boolean";
1857
+ } & {
1858
+ config?: {
1859
+ label?: string | null | undefined;
1860
+ default_value?: boolean;
1861
+ placeholder_true?: string;
1862
+ placeholder_false?: string;
1863
+ };
1864
+ }) | ({
1865
+ type: "Color";
1866
+ } & {
1867
+ fieldset?: string | null | undefined;
1868
+ config?: {
1869
+ label?: string | null | undefined;
1870
+ placeholder?: string;
1871
+ };
1872
+ }) | ({
1873
+ type: "Date";
1874
+ } & {
1875
+ fieldset?: string | null | undefined;
1876
+ config?: {
1877
+ label?: string | null | undefined;
1878
+ placeholder?: string;
1879
+ default?: string;
1880
+ };
1881
+ }) | ({
1882
+ type: "Embed";
1883
+ } & {
1884
+ fieldset?: string | null | undefined;
1885
+ config?: {
1886
+ label?: string | null | undefined;
1887
+ placeholder?: string;
1888
+ useAsTitle?: boolean;
1889
+ };
1890
+ }) | ({
1891
+ type: "GeoPoint";
1892
+ } & {
1893
+ fieldset?: string | null | undefined;
1894
+ config?: {
1895
+ label?: string | null | undefined;
1896
+ };
1897
+ }) | ({
1898
+ type: "Image";
1899
+ } & {
1900
+ fieldset?: string | null | undefined;
1901
+ config?: {
1902
+ label?: string | null | undefined;
1903
+ placeholder?: string;
1904
+ constraint?: {
1905
+ width?: number | null;
1906
+ height?: number | null;
1907
+ };
1908
+ thumbnails?: readonly ({
1909
+ name: string;
1910
+ } & {
1911
+ width?: number | null;
1912
+ height?: number | null;
1913
+ })[];
1914
+ };
1915
+ }) | ({
1916
+ type: "IntegrationFields";
1917
+ } & {
1918
+ fieldset?: string | null | undefined;
1919
+ config?: {
1920
+ label?: string | null | undefined;
1921
+ placeholder?: string;
1922
+ catalog?: string;
1923
+ };
1924
+ }) | ({
1925
+ type: "Link";
1926
+ } & {
1927
+ fieldset?: string | null | undefined;
1928
+ config?: {
1929
+ label?: string | null | undefined;
1930
+ useAsTitle?: boolean;
1931
+ placeholder?: string;
1932
+ select?: "media" | "document" | "web" | null;
1933
+ customtypes?: readonly string[];
1934
+ masks?: readonly string[];
1935
+ tags?: readonly string[];
1936
+ allowTargetBlank?: boolean;
1937
+ };
1938
+ }) | ({
1939
+ type: "Number";
1940
+ } & {
1941
+ fieldset?: string | null | undefined;
1942
+ config?: {
1943
+ label?: string | null | undefined;
1944
+ placeholder?: string;
1945
+ min?: number;
1946
+ max?: number;
1947
+ step?: number;
1948
+ };
1949
+ }) | ({
1950
+ type: "Range";
1951
+ } & {
1952
+ fieldset?: string | null | undefined;
1953
+ config?: {
1954
+ label?: string | null | undefined;
1955
+ placeholder?: string;
1956
+ min?: number;
1957
+ max?: number;
1958
+ step?: number;
1959
+ };
1960
+ }) | ({
1961
+ type: "StructuredText";
1962
+ } & {
1963
+ fieldset?: string | null | undefined;
1964
+ config?: {
1965
+ label?: string | null | undefined;
1966
+ placeholder?: string;
1967
+ useAsTitle?: boolean;
1968
+ single?: string;
1969
+ multi?: string;
1970
+ imageConstraint?: {
1971
+ width?: number | null;
1972
+ height?: number | null;
1973
+ };
1974
+ labels?: readonly string[];
1975
+ allowTargetBlank?: boolean;
1976
+ };
1977
+ }) | ({
1978
+ type: "Select";
1979
+ } & {
1980
+ fieldset?: string | null | undefined;
1981
+ config?: {
1982
+ label?: string | null | undefined;
1983
+ placeholder?: string;
1984
+ default_value?: string;
1985
+ options?: readonly string[];
1986
+ };
1987
+ }) | ({
1988
+ type: "Separator";
1989
+ } & {
1990
+ config?: {
1991
+ label?: string | null | undefined;
1992
+ };
1993
+ }) | ({
1994
+ type: "Text";
1995
+ } & {
1996
+ fieldset?: string | null | undefined;
1997
+ config?: {
1998
+ label?: string | null | undefined;
1999
+ useAsTitle?: boolean;
2000
+ placeholder?: string;
2001
+ };
2002
+ }) | ({
2003
+ type: "Timestamp";
2004
+ } & {
2005
+ fieldset?: string | null | undefined;
2006
+ config?: {
2007
+ label?: string | null | undefined;
2008
+ placeholder?: string;
2009
+ default?: string;
2010
+ };
2011
+ }) | ({
2012
+ type: "Group";
2013
+ } & {
2014
+ fieldset?: string | null | undefined;
2015
+ icon?: string;
2016
+ description?: string;
2017
+ config?: {
2018
+ label?: string | null | undefined;
2019
+ repeat?: boolean;
2020
+ fields?: {
2021
+ [x: string]: ({
2022
+ type: "Boolean";
2023
+ } & {
2024
+ config?: {
2025
+ label?: string | null | undefined;
2026
+ default_value?: boolean;
2027
+ placeholder_true?: string;
2028
+ placeholder_false?: string;
2029
+ };
2030
+ }) | ({
2031
+ type: "Color";
2032
+ } & {
2033
+ fieldset?: string | null | undefined;
2034
+ config?: {
2035
+ label?: string | null | undefined;
2036
+ placeholder?: string;
2037
+ };
2038
+ }) | ({
2039
+ type: "Date";
2040
+ } & {
2041
+ fieldset?: string | null | undefined;
2042
+ config?: {
2043
+ label?: string | null | undefined;
2044
+ placeholder?: string;
2045
+ default?: string;
2046
+ };
2047
+ }) | ({
2048
+ type: "Embed";
2049
+ } & {
2050
+ fieldset?: string | null | undefined;
2051
+ config?: {
2052
+ label?: string | null | undefined;
2053
+ placeholder?: string;
2054
+ useAsTitle?: boolean;
2055
+ };
2056
+ }) | ({
2057
+ type: "GeoPoint";
2058
+ } & {
2059
+ fieldset?: string | null | undefined;
2060
+ config?: {
2061
+ label?: string | null | undefined;
2062
+ };
2063
+ }) | ({
2064
+ type: "Image";
2065
+ } & {
2066
+ fieldset?: string | null | undefined;
2067
+ config?: {
2068
+ label?: string | null | undefined;
2069
+ placeholder?: string;
2070
+ constraint?: {
2071
+ width?: number | null;
2072
+ height?: number | null;
2073
+ };
2074
+ thumbnails?: readonly ({
2075
+ name: string;
2076
+ } & {
2077
+ width?: number | null;
2078
+ height?: number | null;
2079
+ })[];
2080
+ };
2081
+ }) | ({
2082
+ type: "IntegrationFields";
2083
+ } & {
2084
+ fieldset?: string | null | undefined;
2085
+ config?: {
2086
+ label?: string | null | undefined;
2087
+ placeholder?: string;
2088
+ catalog?: string;
2089
+ };
2090
+ }) | ({
2091
+ type: "Link";
2092
+ } & {
2093
+ fieldset?: string | null | undefined;
2094
+ config?: {
2095
+ label?: string | null | undefined;
2096
+ useAsTitle?: boolean;
2097
+ placeholder?: string;
2098
+ select?: "media" | "document" | "web" | null;
2099
+ customtypes?: readonly string[];
2100
+ masks?: readonly string[];
2101
+ tags?: readonly string[];
2102
+ allowTargetBlank?: boolean;
2103
+ };
2104
+ }) | ({
2105
+ type: "Number";
2106
+ } & {
2107
+ fieldset?: string | null | undefined;
2108
+ config?: {
2109
+ label?: string | null | undefined;
2110
+ placeholder?: string;
2111
+ min?: number;
2112
+ max?: number;
2113
+ step?: number;
2114
+ };
2115
+ }) | ({
2116
+ type: "Range";
2117
+ } & {
2118
+ fieldset?: string | null | undefined;
2119
+ config?: {
2120
+ label?: string | null | undefined;
2121
+ placeholder?: string;
2122
+ min?: number;
2123
+ max?: number;
2124
+ step?: number;
2125
+ };
2126
+ }) | ({
2127
+ type: "StructuredText";
2128
+ } & {
2129
+ fieldset?: string | null | undefined;
2130
+ config?: {
2131
+ label?: string | null | undefined;
2132
+ placeholder?: string;
2133
+ useAsTitle?: boolean;
2134
+ single?: string;
2135
+ multi?: string;
2136
+ imageConstraint?: {
2137
+ width?: number | null;
2138
+ height?: number | null;
2139
+ };
2140
+ labels?: readonly string[];
2141
+ allowTargetBlank?: boolean;
2142
+ };
2143
+ }) | ({
2144
+ type: "Select";
2145
+ } & {
2146
+ fieldset?: string | null | undefined;
2147
+ config?: {
2148
+ label?: string | null | undefined;
2149
+ placeholder?: string;
2150
+ default_value?: string;
2151
+ options?: readonly string[];
2152
+ };
2153
+ }) | ({
2154
+ type: "Separator";
2155
+ } & {
2156
+ config?: {
2157
+ label?: string | null | undefined;
2158
+ };
2159
+ }) | ({
2160
+ type: "Text";
2161
+ } & {
2162
+ fieldset?: string | null | undefined;
2163
+ config?: {
2164
+ label?: string | null | undefined;
2165
+ useAsTitle?: boolean;
2166
+ placeholder?: string;
2167
+ };
2168
+ }) | ({
2169
+ type: "Timestamp";
2170
+ } & {
2171
+ fieldset?: string | null | undefined;
2172
+ config?: {
2173
+ label?: string | null | undefined;
2174
+ placeholder?: string;
2175
+ default?: string;
2176
+ };
2177
+ }) | ({
2178
+ type: "Group";
2179
+ } & {
2180
+ fieldset?: string | null | undefined;
2181
+ icon?: string;
2182
+ description?: string;
2183
+ config?: {
2184
+ label?: string | null | undefined;
2185
+ repeat?: boolean;
2186
+ fields?: {
2187
+ [x: string]: ({
2188
+ type: "Boolean";
2189
+ } & {
2190
+ config?: {
2191
+ label?: string | null | undefined;
2192
+ default_value?: boolean;
2193
+ placeholder_true?: string;
2194
+ placeholder_false?: string;
2195
+ };
2196
+ }) | ({
2197
+ type: "Color";
2198
+ } & {
2199
+ fieldset?: string | null | undefined;
2200
+ config?: {
2201
+ label?: string | null | undefined;
2202
+ placeholder?: string;
2203
+ };
2204
+ }) | ({
2205
+ type: "Date";
2206
+ } & {
2207
+ fieldset?: string | null | undefined;
2208
+ config?: {
2209
+ label?: string | null | undefined;
2210
+ placeholder?: string;
2211
+ default?: string;
2212
+ };
2213
+ }) | ({
2214
+ type: "Embed";
2215
+ } & {
2216
+ fieldset?: string | null | undefined;
2217
+ config?: {
2218
+ label?: string | null | undefined;
2219
+ placeholder?: string;
944
2220
  useAsTitle?: boolean;
945
- single?: string;
946
- multi?: string;
947
- imageConstraint?: {
2221
+ };
2222
+ }) | ({
2223
+ type: "GeoPoint";
2224
+ } & {
2225
+ fieldset?: string | null | undefined;
2226
+ config?: {
2227
+ label?: string | null | undefined;
2228
+ };
2229
+ }) | ({
2230
+ type: "Image";
2231
+ } & {
2232
+ fieldset?: string | null | undefined;
2233
+ config?: {
2234
+ label?: string | null | undefined;
2235
+ placeholder?: string;
2236
+ constraint?: {
948
2237
  width?: number | null;
949
2238
  height?: number | null;
950
2239
  };
951
- labels?: readonly string[];
952
- allowTargetBlank?: boolean;
2240
+ thumbnails?: readonly ({
2241
+ name: string;
2242
+ } & {
2243
+ width?: number | null;
2244
+ height?: number | null;
2245
+ })[];
953
2246
  };
954
2247
  }) | ({
955
- type: "Select";
2248
+ type: "IntegrationFields";
956
2249
  } & {
957
2250
  fieldset?: string | null | undefined;
958
2251
  config?: {
959
2252
  label?: string | null | undefined;
960
2253
  placeholder?: string;
961
- default_value?: string;
962
- options?: readonly string[];
2254
+ catalog?: string;
963
2255
  };
964
2256
  }) | ({
965
- type: "Separator";
2257
+ type: "Link";
966
2258
  } & {
2259
+ fieldset?: string | null | undefined;
967
2260
  config?: {
968
2261
  label?: string | null | undefined;
2262
+ useAsTitle?: boolean;
2263
+ placeholder?: string;
2264
+ select?: "media" | "document" | "web" | null;
2265
+ customtypes?: readonly string[];
2266
+ masks?: readonly string[];
2267
+ tags?: readonly string[];
2268
+ allowTargetBlank?: boolean;
969
2269
  };
970
2270
  }) | ({
971
- type: "Text";
2271
+ type: "Number";
972
2272
  } & {
973
2273
  fieldset?: string | null | undefined;
974
2274
  config?: {
975
2275
  label?: string | null | undefined;
976
- useAsTitle?: boolean;
977
2276
  placeholder?: string;
2277
+ min?: number;
2278
+ max?: number;
2279
+ step?: number;
978
2280
  };
979
2281
  }) | ({
980
- type: "Timestamp";
2282
+ type: "Range";
981
2283
  } & {
982
2284
  fieldset?: string | null | undefined;
983
2285
  config?: {
984
2286
  label?: string | null | undefined;
985
2287
  placeholder?: string;
986
- default?: string;
2288
+ min?: number;
2289
+ max?: number;
2290
+ step?: number;
987
2291
  };
988
- });
989
- };
990
- })[];
991
- } & {
992
- description?: string;
993
- legacyPaths?: {
994
- [x: string]: string;
995
- };
996
- });
997
- };
998
- };
999
- }) | ({
1000
- type: "UID";
1001
- } & {
1002
- fieldset?: string | null | undefined;
1003
- config?: {
1004
- label?: string | null | undefined;
1005
- useAsTitle?: boolean;
1006
- placeholder?: string;
1007
- };
1008
- }), unknown, unknown>>;
1009
- export declare type StaticSection = t.TypeOf<typeof StaticSection>;
1010
- export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
1011
- type: "Boolean";
1012
- } & {
1013
- config?: {
1014
- label?: string | null | undefined;
1015
- default_value?: boolean;
1016
- placeholder_true?: string;
1017
- placeholder_false?: string;
1018
- };
1019
- }) | ({
1020
- type: "Color";
1021
- } & {
1022
- fieldset?: string | null | undefined;
1023
- config?: {
1024
- label?: string | null | undefined;
1025
- placeholder?: string;
1026
- };
1027
- }) | ({
1028
- type: "Date";
1029
- } & {
1030
- fieldset?: string | null | undefined;
1031
- config?: {
1032
- label?: string | null | undefined;
1033
- placeholder?: string;
1034
- default?: string;
1035
- };
1036
- }) | ({
1037
- type: "Embed";
1038
- } & {
1039
- fieldset?: string | null | undefined;
1040
- config?: {
1041
- label?: string | null | undefined;
1042
- placeholder?: string;
1043
- useAsTitle?: boolean;
1044
- };
1045
- }) | ({
1046
- type: "GeoPoint";
1047
- } & {
1048
- fieldset?: string | null | undefined;
1049
- config?: {
1050
- label?: string | null | undefined;
1051
- };
1052
- }) | ({
1053
- type: "Image";
1054
- } & {
1055
- fieldset?: string | null | undefined;
1056
- config?: {
1057
- label?: string | null | undefined;
1058
- placeholder?: string;
1059
- constraint?: {
1060
- width?: number | null;
1061
- height?: number | null;
1062
- };
1063
- thumbnails?: readonly ({
1064
- name: string;
1065
- } & {
1066
- width?: number | null;
1067
- height?: number | null;
1068
- })[];
1069
- };
1070
- }) | ({
1071
- type: "IntegrationFields";
1072
- } & {
1073
- fieldset?: string | null | undefined;
1074
- config?: {
1075
- label?: string | null | undefined;
1076
- placeholder?: string;
1077
- catalog?: string;
1078
- };
1079
- }) | ({
1080
- type: "Link";
1081
- } & {
1082
- fieldset?: string | null | undefined;
1083
- config?: {
1084
- label?: string | null | undefined;
1085
- useAsTitle?: boolean;
1086
- placeholder?: string;
1087
- select?: "media" | "document" | "web" | null;
1088
- customtypes?: readonly string[];
1089
- masks?: readonly string[];
1090
- tags?: readonly string[];
1091
- allowTargetBlank?: boolean;
1092
- };
1093
- }) | ({
1094
- type: "Number";
1095
- } & {
1096
- fieldset?: string | null | undefined;
1097
- config?: {
1098
- label?: string | null | undefined;
1099
- placeholder?: string;
1100
- min?: number;
1101
- max?: number;
1102
- step?: number;
1103
- };
1104
- }) | ({
1105
- type: "Range";
1106
- } & {
1107
- fieldset?: string | null | undefined;
1108
- config?: {
1109
- label?: string | null | undefined;
1110
- placeholder?: string;
1111
- min?: number;
1112
- max?: number;
1113
- step?: number;
1114
- };
1115
- }) | ({
1116
- type: "StructuredText";
1117
- } & {
1118
- fieldset?: string | null | undefined;
1119
- config?: {
1120
- label?: string | null | undefined;
1121
- placeholder?: string;
1122
- useAsTitle?: boolean;
1123
- single?: string;
1124
- multi?: string;
1125
- imageConstraint?: {
1126
- width?: number | null;
1127
- height?: number | null;
2292
+ }) | ({
2293
+ type: "StructuredText";
2294
+ } & {
2295
+ fieldset?: string | null | undefined;
2296
+ config?: {
2297
+ label?: string | null | undefined;
2298
+ placeholder?: string;
2299
+ useAsTitle?: boolean;
2300
+ single?: string;
2301
+ multi?: string;
2302
+ imageConstraint?: {
2303
+ width?: number | null;
2304
+ height?: number | null;
2305
+ };
2306
+ labels?: readonly string[];
2307
+ allowTargetBlank?: boolean;
2308
+ };
2309
+ }) | ({
2310
+ type: "Select";
2311
+ } & {
2312
+ fieldset?: string | null | undefined;
2313
+ config?: {
2314
+ label?: string | null | undefined;
2315
+ placeholder?: string;
2316
+ default_value?: string;
2317
+ options?: readonly string[];
2318
+ };
2319
+ }) | ({
2320
+ type: "Separator";
2321
+ } & {
2322
+ config?: {
2323
+ label?: string | null | undefined;
2324
+ };
2325
+ }) | ({
2326
+ type: "Text";
2327
+ } & {
2328
+ fieldset?: string | null | undefined;
2329
+ config?: {
2330
+ label?: string | null | undefined;
2331
+ useAsTitle?: boolean;
2332
+ placeholder?: string;
2333
+ };
2334
+ }) | ({
2335
+ type: "Timestamp";
2336
+ } & {
2337
+ fieldset?: string | null | undefined;
2338
+ config?: {
2339
+ label?: string | null | undefined;
2340
+ placeholder?: string;
2341
+ default?: string;
2342
+ };
2343
+ });
2344
+ };
2345
+ };
2346
+ });
1128
2347
  };
1129
- labels?: readonly string[];
1130
- allowTargetBlank?: boolean;
1131
- };
1132
- }) | ({
1133
- type: "Select";
1134
- } & {
1135
- fieldset?: string | null | undefined;
1136
- config?: {
1137
- label?: string | null | undefined;
1138
- placeholder?: string;
1139
- default_value?: string;
1140
- options?: readonly string[];
1141
- };
1142
- }) | ({
1143
- type: "Separator";
1144
- } & {
1145
- config?: {
1146
- label?: string | null | undefined;
1147
- };
1148
- }) | ({
1149
- type: "Text";
1150
- } & {
1151
- fieldset?: string | null | undefined;
1152
- config?: {
1153
- label?: string | null | undefined;
1154
- useAsTitle?: boolean;
1155
- placeholder?: string;
1156
2348
  };
1157
2349
  }) | ({
1158
- type: "Timestamp";
1159
- } & {
1160
- fieldset?: string | null | undefined;
1161
- config?: {
1162
- label?: string | null | undefined;
1163
- placeholder?: string;
1164
- default?: string;
1165
- };
1166
- }) | import("./widgets").Group | ({
1167
2350
  type: "Choice" | "Slices";
1168
2351
  } & {
1169
2352
  fieldset?: string | null | undefined;
@@ -1333,7 +2516,176 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1333
2516
  placeholder?: string;
1334
2517
  default?: string;
1335
2518
  };
1336
- }) | import("./widgets").Group | ({
2519
+ }) | ({
2520
+ type: "Group";
2521
+ } & {
2522
+ fieldset?: string | null | undefined;
2523
+ icon?: string;
2524
+ description?: string;
2525
+ config?: {
2526
+ label?: string | null | undefined;
2527
+ repeat?: boolean;
2528
+ fields?: {
2529
+ [x: string]: ({
2530
+ type: "Boolean";
2531
+ } & {
2532
+ config?: {
2533
+ label?: string | null | undefined;
2534
+ default_value?: boolean;
2535
+ placeholder_true?: string;
2536
+ placeholder_false?: string;
2537
+ };
2538
+ }) | ({
2539
+ type: "Color";
2540
+ } & {
2541
+ fieldset?: string | null | undefined;
2542
+ config?: {
2543
+ label?: string | null | undefined;
2544
+ placeholder?: string;
2545
+ };
2546
+ }) | ({
2547
+ type: "Date";
2548
+ } & {
2549
+ fieldset?: string | null | undefined;
2550
+ config?: {
2551
+ label?: string | null | undefined;
2552
+ placeholder?: string;
2553
+ default?: string;
2554
+ };
2555
+ }) | ({
2556
+ type: "Embed";
2557
+ } & {
2558
+ fieldset?: string | null | undefined;
2559
+ config?: {
2560
+ label?: string | null | undefined;
2561
+ placeholder?: string;
2562
+ useAsTitle?: boolean;
2563
+ };
2564
+ }) | ({
2565
+ type: "GeoPoint";
2566
+ } & {
2567
+ fieldset?: string | null | undefined;
2568
+ config?: {
2569
+ label?: string | null | undefined;
2570
+ };
2571
+ }) | ({
2572
+ type: "Image";
2573
+ } & {
2574
+ fieldset?: string | null | undefined;
2575
+ config?: {
2576
+ label?: string | null | undefined;
2577
+ placeholder?: string;
2578
+ constraint?: {
2579
+ width?: number | null;
2580
+ height?: number | null;
2581
+ };
2582
+ thumbnails?: readonly ({
2583
+ name: string;
2584
+ } & {
2585
+ width?: number | null;
2586
+ height?: number | null;
2587
+ })[];
2588
+ };
2589
+ }) | ({
2590
+ type: "IntegrationFields";
2591
+ } & {
2592
+ fieldset?: string | null | undefined;
2593
+ config?: {
2594
+ label?: string | null | undefined;
2595
+ placeholder?: string;
2596
+ catalog?: string;
2597
+ };
2598
+ }) | ({
2599
+ type: "Link";
2600
+ } & {
2601
+ fieldset?: string | null | undefined;
2602
+ config?: {
2603
+ label?: string | null | undefined;
2604
+ useAsTitle?: boolean;
2605
+ placeholder?: string;
2606
+ select?: "media" | "document" | "web" | null;
2607
+ customtypes?: readonly string[];
2608
+ masks?: readonly string[];
2609
+ tags?: readonly string[];
2610
+ allowTargetBlank?: boolean;
2611
+ };
2612
+ }) | ({
2613
+ type: "Number";
2614
+ } & {
2615
+ fieldset?: string | null | undefined;
2616
+ config?: {
2617
+ label?: string | null | undefined;
2618
+ placeholder?: string;
2619
+ min?: number;
2620
+ max?: number;
2621
+ step?: number;
2622
+ };
2623
+ }) | ({
2624
+ type: "Range";
2625
+ } & {
2626
+ fieldset?: string | null | undefined;
2627
+ config?: {
2628
+ label?: string | null | undefined;
2629
+ placeholder?: string;
2630
+ min?: number;
2631
+ max?: number;
2632
+ step?: number;
2633
+ };
2634
+ }) | ({
2635
+ type: "StructuredText";
2636
+ } & {
2637
+ fieldset?: string | null | undefined;
2638
+ config?: {
2639
+ label?: string | null | undefined;
2640
+ placeholder?: string;
2641
+ useAsTitle?: boolean;
2642
+ single?: string;
2643
+ multi?: string;
2644
+ imageConstraint?: {
2645
+ width?: number | null;
2646
+ height?: number | null;
2647
+ };
2648
+ labels?: readonly string[];
2649
+ allowTargetBlank?: boolean;
2650
+ };
2651
+ }) | ({
2652
+ type: "Select";
2653
+ } & {
2654
+ fieldset?: string | null | undefined;
2655
+ config?: {
2656
+ label?: string | null | undefined;
2657
+ placeholder?: string;
2658
+ default_value?: string;
2659
+ options?: readonly string[];
2660
+ };
2661
+ }) | ({
2662
+ type: "Separator";
2663
+ } & {
2664
+ config?: {
2665
+ label?: string | null | undefined;
2666
+ };
2667
+ }) | ({
2668
+ type: "Text";
2669
+ } & {
2670
+ fieldset?: string | null | undefined;
2671
+ config?: {
2672
+ label?: string | null | undefined;
2673
+ useAsTitle?: boolean;
2674
+ placeholder?: string;
2675
+ };
2676
+ }) | ({
2677
+ type: "Timestamp";
2678
+ } & {
2679
+ fieldset?: string | null | undefined;
2680
+ config?: {
2681
+ label?: string | null | undefined;
2682
+ placeholder?: string;
2683
+ default?: string;
2684
+ };
2685
+ });
2686
+ };
2687
+ };
2688
+ }) | ({
1337
2689
  type: "Slice";
1338
2690
  } & {
1339
2691
  fieldset?: string | null | undefined;