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