@prismicio/types-internal 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  import * as t from "io-ts";
2
- import type { SharedSlice } from "./widgets/slices/SharedSlice";
2
+ import type { SharedSlice } from "./widgets/slices";
3
3
  import { DynamicWidget, StaticWidget } from "./widgets/Widget";
4
- export declare function sectionReader<T extends StaticWidget | DynamicWidget>(codec: t.Type<T, unknown>): t.RecordC<t.StringC, t.Type<T, unknown, unknown>>;
5
- export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
4
+ export declare function sectionReader<T extends StaticWidget | DynamicWidget>(codec: t.Type<T, unknown>): t.RecordC<t.Type<string, string, unknown>, t.Type<T, unknown, unknown>>;
5
+ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
6
6
  type: import("./widgets/WidgetTypes").default.BooleanField;
7
7
  } & {
8
8
  config?: {
@@ -79,7 +79,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
79
79
  label?: string | null | undefined;
80
80
  useAsTitle?: boolean;
81
81
  placeholder?: string;
82
- select?: "media" | "document" | "web" | null;
82
+ select?: "web" | "media" | "document" | null;
83
83
  customtypes?: string[];
84
84
  masks?: string[];
85
85
  tags?: string[];
@@ -245,7 +245,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
245
245
  label?: string | null | undefined;
246
246
  useAsTitle?: boolean;
247
247
  placeholder?: string;
248
- select?: "media" | "document" | "web" | null;
248
+ select?: "web" | "media" | "document" | null;
249
249
  customtypes?: string[];
250
250
  masks?: string[];
251
251
  tags?: string[];
@@ -418,7 +418,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
418
418
  label?: string | null | undefined;
419
419
  useAsTitle?: boolean;
420
420
  placeholder?: string;
421
- select?: "media" | "document" | "web" | null;
421
+ select?: "web" | "media" | "document" | null;
422
422
  customtypes?: string[];
423
423
  masks?: string[];
424
424
  tags?: string[];
@@ -498,19 +498,343 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
498
498
  default?: string;
499
499
  };
500
500
  }) | ({
501
- id: string;
502
- type: import("./widgets/slices/SlicesTypes").default.SharedSlice;
503
- name: string;
504
- variations: ({
505
- id: string;
506
- name: string;
507
- description: string;
508
- imageUrl: string;
509
- docURL: string;
510
- version: string;
511
- } & {
512
- display?: string;
513
- primary?: {
501
+ type: import("./widgets/slices/SlicesTypes").default.Slice;
502
+ } & {
503
+ fieldset?: string | null | undefined;
504
+ description?: string;
505
+ icon?: string;
506
+ display?: string;
507
+ "non-repeat"?: {
508
+ [x: string]: ({
509
+ type: import("./widgets/WidgetTypes").default.BooleanField;
510
+ } & {
511
+ config?: {
512
+ label?: string | null | undefined;
513
+ default_value?: boolean;
514
+ placeholder_true?: string;
515
+ placeholder_false?: string;
516
+ };
517
+ }) | ({
518
+ type: import("./widgets/WidgetTypes").default.Color;
519
+ } & {
520
+ fieldset?: string | null | undefined;
521
+ config?: {
522
+ label?: string | null | undefined;
523
+ placeholder?: string;
524
+ };
525
+ }) | ({
526
+ type: import("./widgets/WidgetTypes").default.Date;
527
+ } & {
528
+ fieldset?: string | null | undefined;
529
+ config?: {
530
+ label?: string | null | undefined;
531
+ placeholder?: string;
532
+ default?: string;
533
+ };
534
+ }) | ({
535
+ type: import("./widgets/WidgetTypes").default.Embed;
536
+ } & {
537
+ fieldset?: string | null | undefined;
538
+ config?: {
539
+ label?: string | null | undefined;
540
+ placeholder?: string;
541
+ useAsTitle?: boolean;
542
+ };
543
+ }) | ({
544
+ type: import("./widgets/WidgetTypes").default.GeoPoint;
545
+ } & {
546
+ fieldset?: string | null | undefined;
547
+ config?: {
548
+ label?: string | null | undefined;
549
+ };
550
+ }) | ({
551
+ type: import("./widgets/WidgetTypes").default.Image;
552
+ } & {
553
+ fieldset?: string | null | undefined;
554
+ config?: {
555
+ label?: string | null | undefined;
556
+ placeholder?: string;
557
+ constraint?: {
558
+ width?: number | null;
559
+ height?: number | null;
560
+ };
561
+ thumbnails?: ({
562
+ name: string;
563
+ } & {
564
+ width?: number | null;
565
+ height?: number | null;
566
+ })[];
567
+ };
568
+ }) | ({
569
+ type: import("./widgets/WidgetTypes").default.IntegrationField;
570
+ } & {
571
+ fieldset?: string | null | undefined;
572
+ config?: {
573
+ label?: string | null | undefined;
574
+ placeholder?: string;
575
+ catalog?: string;
576
+ };
577
+ }) | ({
578
+ type: import("./widgets/WidgetTypes").default.Link;
579
+ } & {
580
+ fieldset?: string | null | undefined;
581
+ config?: {
582
+ label?: string | null | undefined;
583
+ useAsTitle?: boolean;
584
+ placeholder?: string;
585
+ select?: "web" | "media" | "document" | null;
586
+ customtypes?: string[];
587
+ masks?: string[];
588
+ tags?: string[];
589
+ allowTargetBlank?: boolean;
590
+ };
591
+ }) | ({
592
+ type: import("./widgets/WidgetTypes").default.Number;
593
+ } & {
594
+ fieldset?: string | null | undefined;
595
+ config?: {
596
+ label?: string | null | undefined;
597
+ placeholder?: string;
598
+ min?: number;
599
+ max?: number;
600
+ step?: number;
601
+ };
602
+ }) | ({
603
+ type: import("./widgets/WidgetTypes").default.Range;
604
+ } & {
605
+ fieldset?: string | null | undefined;
606
+ config?: {
607
+ label?: string | null | undefined;
608
+ placeholder?: string;
609
+ min?: number;
610
+ max?: number;
611
+ step?: number;
612
+ };
613
+ }) | ({
614
+ type: import("./widgets/WidgetTypes").default.RichText;
615
+ } & {
616
+ fieldset?: string | null | undefined;
617
+ config?: {
618
+ label?: string | null | undefined;
619
+ placeholder?: string;
620
+ useAsTitle?: boolean;
621
+ single?: string;
622
+ multi?: string;
623
+ imageConstraint?: {
624
+ width?: number | null;
625
+ height?: number | null;
626
+ };
627
+ labels?: string[];
628
+ allowTargetBlank?: boolean;
629
+ };
630
+ }) | ({
631
+ type: import("./widgets/WidgetTypes").default.Select;
632
+ } & {
633
+ fieldset?: string | null | undefined;
634
+ config?: {
635
+ label?: string | null | undefined;
636
+ placeholder?: string;
637
+ default_value?: string;
638
+ options?: string[];
639
+ };
640
+ }) | ({
641
+ type: import("./widgets/WidgetTypes").default.Separator;
642
+ } & {
643
+ config?: {
644
+ label?: string | null | undefined;
645
+ };
646
+ }) | ({
647
+ type: import("./widgets/WidgetTypes").default.Text;
648
+ } & {
649
+ fieldset?: string | null | undefined;
650
+ config?: {
651
+ label?: string | null | undefined;
652
+ useAsTitle?: boolean;
653
+ placeholder?: string;
654
+ };
655
+ }) | ({
656
+ type: import("./widgets/WidgetTypes").default.Timestamp;
657
+ } & {
658
+ fieldset?: string | null | undefined;
659
+ config?: {
660
+ label?: string | null | undefined;
661
+ placeholder?: string;
662
+ default?: string;
663
+ };
664
+ });
665
+ };
666
+ repeat?: {
667
+ [x: string]: ({
668
+ type: import("./widgets/WidgetTypes").default.BooleanField;
669
+ } & {
670
+ config?: {
671
+ label?: string | null | undefined;
672
+ default_value?: boolean;
673
+ placeholder_true?: string;
674
+ placeholder_false?: string;
675
+ };
676
+ }) | ({
677
+ type: import("./widgets/WidgetTypes").default.Color;
678
+ } & {
679
+ fieldset?: string | null | undefined;
680
+ config?: {
681
+ label?: string | null | undefined;
682
+ placeholder?: string;
683
+ };
684
+ }) | ({
685
+ type: import("./widgets/WidgetTypes").default.Date;
686
+ } & {
687
+ fieldset?: string | null | undefined;
688
+ config?: {
689
+ label?: string | null | undefined;
690
+ placeholder?: string;
691
+ default?: string;
692
+ };
693
+ }) | ({
694
+ type: import("./widgets/WidgetTypes").default.Embed;
695
+ } & {
696
+ fieldset?: string | null | undefined;
697
+ config?: {
698
+ label?: string | null | undefined;
699
+ placeholder?: string;
700
+ useAsTitle?: boolean;
701
+ };
702
+ }) | ({
703
+ type: import("./widgets/WidgetTypes").default.GeoPoint;
704
+ } & {
705
+ fieldset?: string | null | undefined;
706
+ config?: {
707
+ label?: string | null | undefined;
708
+ };
709
+ }) | ({
710
+ type: import("./widgets/WidgetTypes").default.Image;
711
+ } & {
712
+ fieldset?: string | null | undefined;
713
+ config?: {
714
+ label?: string | null | undefined;
715
+ placeholder?: string;
716
+ constraint?: {
717
+ width?: number | null;
718
+ height?: number | null;
719
+ };
720
+ thumbnails?: ({
721
+ name: string;
722
+ } & {
723
+ width?: number | null;
724
+ height?: number | null;
725
+ })[];
726
+ };
727
+ }) | ({
728
+ type: import("./widgets/WidgetTypes").default.IntegrationField;
729
+ } & {
730
+ fieldset?: string | null | undefined;
731
+ config?: {
732
+ label?: string | null | undefined;
733
+ placeholder?: string;
734
+ catalog?: string;
735
+ };
736
+ }) | ({
737
+ type: import("./widgets/WidgetTypes").default.Link;
738
+ } & {
739
+ fieldset?: string | null | undefined;
740
+ config?: {
741
+ label?: string | null | undefined;
742
+ useAsTitle?: boolean;
743
+ placeholder?: string;
744
+ select?: "web" | "media" | "document" | null;
745
+ customtypes?: string[];
746
+ masks?: string[];
747
+ tags?: string[];
748
+ allowTargetBlank?: boolean;
749
+ };
750
+ }) | ({
751
+ type: import("./widgets/WidgetTypes").default.Number;
752
+ } & {
753
+ fieldset?: string | null | undefined;
754
+ config?: {
755
+ label?: string | null | undefined;
756
+ placeholder?: string;
757
+ min?: number;
758
+ max?: number;
759
+ step?: number;
760
+ };
761
+ }) | ({
762
+ type: import("./widgets/WidgetTypes").default.Range;
763
+ } & {
764
+ fieldset?: string | null | undefined;
765
+ config?: {
766
+ label?: string | null | undefined;
767
+ placeholder?: string;
768
+ min?: number;
769
+ max?: number;
770
+ step?: number;
771
+ };
772
+ }) | ({
773
+ type: import("./widgets/WidgetTypes").default.RichText;
774
+ } & {
775
+ fieldset?: string | null | undefined;
776
+ config?: {
777
+ label?: string | null | undefined;
778
+ placeholder?: string;
779
+ useAsTitle?: boolean;
780
+ single?: string;
781
+ multi?: string;
782
+ imageConstraint?: {
783
+ width?: number | null;
784
+ height?: number | null;
785
+ };
786
+ labels?: string[];
787
+ allowTargetBlank?: boolean;
788
+ };
789
+ }) | ({
790
+ type: import("./widgets/WidgetTypes").default.Select;
791
+ } & {
792
+ fieldset?: string | null | undefined;
793
+ config?: {
794
+ label?: string | null | undefined;
795
+ placeholder?: string;
796
+ default_value?: string;
797
+ options?: string[];
798
+ };
799
+ }) | ({
800
+ type: import("./widgets/WidgetTypes").default.Separator;
801
+ } & {
802
+ config?: {
803
+ label?: string | null | undefined;
804
+ };
805
+ }) | ({
806
+ type: import("./widgets/WidgetTypes").default.Text;
807
+ } & {
808
+ fieldset?: string | null | undefined;
809
+ config?: {
810
+ label?: string | null | undefined;
811
+ useAsTitle?: boolean;
812
+ placeholder?: string;
813
+ };
814
+ }) | ({
815
+ type: import("./widgets/WidgetTypes").default.Timestamp;
816
+ } & {
817
+ fieldset?: string | null | undefined;
818
+ config?: {
819
+ label?: string | null | undefined;
820
+ placeholder?: string;
821
+ default?: string;
822
+ };
823
+ });
824
+ };
825
+ config?: {
826
+ label?: string | null | undefined;
827
+ };
828
+ }) | ({
829
+ type: import("./widgets/WidgetTypes").default.Group;
830
+ } & {
831
+ fieldset?: string | null | undefined;
832
+ icon?: string;
833
+ description?: string;
834
+ config?: {
835
+ label?: string | null | undefined;
836
+ repeat?: boolean;
837
+ fields?: {
514
838
  [x: string]: ({
515
839
  type: import("./widgets/WidgetTypes").default.BooleanField;
516
840
  } & {
@@ -588,7 +912,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
588
912
  label?: string | null | undefined;
589
913
  useAsTitle?: boolean;
590
914
  placeholder?: string;
591
- select?: "media" | "document" | "web" | null;
915
+ select?: "web" | "media" | "document" | null;
592
916
  customtypes?: string[];
593
917
  masks?: string[];
594
918
  tags?: string[];
@@ -669,7 +993,21 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
669
993
  };
670
994
  });
671
995
  };
672
- items?: {
996
+ };
997
+ }) | ({
998
+ id: string;
999
+ type: import("./widgets/slices/SlicesTypes").default.SharedSlice;
1000
+ name: string;
1001
+ variations: ({
1002
+ id: string;
1003
+ name: string;
1004
+ description: string;
1005
+ imageUrl: string;
1006
+ docURL: string;
1007
+ version: string;
1008
+ } & {
1009
+ display?: string;
1010
+ primary?: {
673
1011
  [x: string]: ({
674
1012
  type: import("./widgets/WidgetTypes").default.BooleanField;
675
1013
  } & {
@@ -747,7 +1085,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
747
1085
  label?: string | null | undefined;
748
1086
  useAsTitle?: boolean;
749
1087
  placeholder?: string;
750
- select?: "media" | "document" | "web" | null;
1088
+ select?: "web" | "media" | "document" | null;
751
1089
  customtypes?: string[];
752
1090
  masks?: string[];
753
1091
  tags?: string[];
@@ -828,19 +1166,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
828
1166
  };
829
1167
  });
830
1168
  };
831
- })[];
832
- } & {
833
- description?: string;
834
- }) | ({
835
- type: import("./widgets/WidgetTypes").default.Group;
836
- } & {
837
- fieldset?: string | null | undefined;
838
- icon?: string;
839
- description?: string;
840
- config?: {
841
- label?: string | null | undefined;
842
- repeat?: boolean;
843
- fields?: {
1169
+ items?: {
844
1170
  [x: string]: ({
845
1171
  type: import("./widgets/WidgetTypes").default.BooleanField;
846
1172
  } & {
@@ -918,7 +1244,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
918
1244
  label?: string | null | undefined;
919
1245
  useAsTitle?: boolean;
920
1246
  placeholder?: string;
921
- select?: "media" | "document" | "web" | null;
1247
+ select?: "web" | "media" | "document" | null;
922
1248
  customtypes?: string[];
923
1249
  masks?: string[];
924
1250
  tags?: string[];
@@ -941,393 +1267,67 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
941
1267
  fieldset?: string | null | undefined;
942
1268
  config?: {
943
1269
  label?: string | null | undefined;
944
- placeholder?: string;
945
- min?: number;
946
- max?: number;
947
- step?: number;
948
- };
949
- }) | ({
950
- type: import("./widgets/WidgetTypes").default.RichText;
951
- } & {
952
- fieldset?: string | null | undefined;
953
- config?: {
954
- label?: string | null | undefined;
955
- placeholder?: string;
956
- useAsTitle?: boolean;
957
- single?: string;
958
- multi?: string;
959
- imageConstraint?: {
960
- width?: number | null;
961
- height?: number | null;
962
- };
963
- labels?: string[];
964
- allowTargetBlank?: boolean;
965
- };
966
- }) | ({
967
- type: import("./widgets/WidgetTypes").default.Select;
968
- } & {
969
- fieldset?: string | null | undefined;
970
- config?: {
971
- label?: string | null | undefined;
972
- placeholder?: string;
973
- default_value?: string;
974
- options?: string[];
975
- };
976
- }) | ({
977
- type: import("./widgets/WidgetTypes").default.Separator;
978
- } & {
979
- config?: {
980
- label?: string | null | undefined;
981
- };
982
- }) | ({
983
- type: import("./widgets/WidgetTypes").default.Text;
984
- } & {
985
- fieldset?: string | null | undefined;
986
- config?: {
987
- label?: string | null | undefined;
988
- useAsTitle?: boolean;
989
- placeholder?: string;
990
- };
991
- }) | ({
992
- type: import("./widgets/WidgetTypes").default.Timestamp;
993
- } & {
994
- fieldset?: string | null | undefined;
995
- config?: {
996
- label?: string | null | undefined;
997
- placeholder?: string;
998
- default?: string;
999
- };
1000
- });
1001
- };
1002
- };
1003
- }) | ({
1004
- type: import("./widgets/slices/SlicesTypes").default.Slice;
1005
- } & {
1006
- fieldset?: string | null | undefined;
1007
- description?: string;
1008
- icon?: string;
1009
- display?: string;
1010
- "non-repeat"?: {
1011
- [x: string]: ({
1012
- type: import("./widgets/WidgetTypes").default.BooleanField;
1013
- } & {
1014
- config?: {
1015
- label?: string | null | undefined;
1016
- default_value?: boolean;
1017
- placeholder_true?: string;
1018
- placeholder_false?: string;
1019
- };
1020
- }) | ({
1021
- type: import("./widgets/WidgetTypes").default.Color;
1022
- } & {
1023
- fieldset?: string | null | undefined;
1024
- config?: {
1025
- label?: string | null | undefined;
1026
- placeholder?: string;
1027
- };
1028
- }) | ({
1029
- type: import("./widgets/WidgetTypes").default.Date;
1030
- } & {
1031
- fieldset?: string | null | undefined;
1032
- config?: {
1033
- label?: string | null | undefined;
1034
- placeholder?: string;
1035
- default?: string;
1036
- };
1037
- }) | ({
1038
- type: import("./widgets/WidgetTypes").default.Embed;
1039
- } & {
1040
- fieldset?: string | null | undefined;
1041
- config?: {
1042
- label?: string | null | undefined;
1043
- placeholder?: string;
1044
- useAsTitle?: boolean;
1045
- };
1046
- }) | ({
1047
- type: import("./widgets/WidgetTypes").default.GeoPoint;
1048
- } & {
1049
- fieldset?: string | null | undefined;
1050
- config?: {
1051
- label?: string | null | undefined;
1052
- };
1053
- }) | ({
1054
- type: import("./widgets/WidgetTypes").default.Image;
1055
- } & {
1056
- fieldset?: string | null | undefined;
1057
- config?: {
1058
- label?: string | null | undefined;
1059
- placeholder?: string;
1060
- constraint?: {
1061
- width?: number | null;
1062
- height?: number | null;
1063
- };
1064
- thumbnails?: ({
1065
- name: string;
1066
- } & {
1067
- width?: number | null;
1068
- height?: number | null;
1069
- })[];
1070
- };
1071
- }) | ({
1072
- type: import("./widgets/WidgetTypes").default.IntegrationField;
1073
- } & {
1074
- fieldset?: string | null | undefined;
1075
- config?: {
1076
- label?: string | null | undefined;
1077
- placeholder?: string;
1078
- catalog?: string;
1079
- };
1080
- }) | ({
1081
- type: import("./widgets/WidgetTypes").default.Link;
1082
- } & {
1083
- fieldset?: string | null | undefined;
1084
- config?: {
1085
- label?: string | null | undefined;
1086
- useAsTitle?: boolean;
1087
- placeholder?: string;
1088
- select?: "media" | "document" | "web" | null;
1089
- customtypes?: string[];
1090
- masks?: string[];
1091
- tags?: string[];
1092
- allowTargetBlank?: boolean;
1093
- };
1094
- }) | ({
1095
- type: import("./widgets/WidgetTypes").default.Number;
1096
- } & {
1097
- fieldset?: string | null | undefined;
1098
- config?: {
1099
- label?: string | null | undefined;
1100
- placeholder?: string;
1101
- min?: number;
1102
- max?: number;
1103
- step?: number;
1104
- };
1105
- }) | ({
1106
- type: import("./widgets/WidgetTypes").default.Range;
1107
- } & {
1108
- fieldset?: string | null | undefined;
1109
- config?: {
1110
- label?: string | null | undefined;
1111
- placeholder?: string;
1112
- min?: number;
1113
- max?: number;
1114
- step?: number;
1115
- };
1116
- }) | ({
1117
- type: import("./widgets/WidgetTypes").default.RichText;
1118
- } & {
1119
- fieldset?: string | null | undefined;
1120
- config?: {
1121
- label?: string | null | undefined;
1122
- placeholder?: string;
1123
- useAsTitle?: boolean;
1124
- single?: string;
1125
- multi?: string;
1126
- imageConstraint?: {
1127
- width?: number | null;
1128
- height?: number | null;
1270
+ placeholder?: string;
1271
+ min?: number;
1272
+ max?: number;
1273
+ step?: number;
1129
1274
  };
1130
- labels?: string[];
1131
- allowTargetBlank?: boolean;
1132
- };
1133
- }) | ({
1134
- type: import("./widgets/WidgetTypes").default.Select;
1135
- } & {
1136
- fieldset?: string | null | undefined;
1137
- config?: {
1138
- label?: string | null | undefined;
1139
- placeholder?: string;
1140
- default_value?: string;
1141
- options?: string[];
1142
- };
1143
- }) | ({
1144
- type: import("./widgets/WidgetTypes").default.Separator;
1145
- } & {
1146
- config?: {
1147
- label?: string | null | undefined;
1148
- };
1149
- }) | ({
1150
- type: import("./widgets/WidgetTypes").default.Text;
1151
- } & {
1152
- fieldset?: string | null | undefined;
1153
- config?: {
1154
- label?: string | null | undefined;
1155
- useAsTitle?: boolean;
1156
- placeholder?: string;
1157
- };
1158
- }) | ({
1159
- type: import("./widgets/WidgetTypes").default.Timestamp;
1160
- } & {
1161
- fieldset?: string | null | undefined;
1162
- config?: {
1163
- label?: string | null | undefined;
1164
- placeholder?: string;
1165
- default?: string;
1166
- };
1167
- });
1168
- };
1169
- repeat?: {
1170
- [x: string]: ({
1171
- type: import("./widgets/WidgetTypes").default.BooleanField;
1172
- } & {
1173
- config?: {
1174
- label?: string | null | undefined;
1175
- default_value?: boolean;
1176
- placeholder_true?: string;
1177
- placeholder_false?: string;
1178
- };
1179
- }) | ({
1180
- type: import("./widgets/WidgetTypes").default.Color;
1181
- } & {
1182
- fieldset?: string | null | undefined;
1183
- config?: {
1184
- label?: string | null | undefined;
1185
- placeholder?: string;
1186
- };
1187
- }) | ({
1188
- type: import("./widgets/WidgetTypes").default.Date;
1189
- } & {
1190
- fieldset?: string | null | undefined;
1191
- config?: {
1192
- label?: string | null | undefined;
1193
- placeholder?: string;
1194
- default?: string;
1195
- };
1196
- }) | ({
1197
- type: import("./widgets/WidgetTypes").default.Embed;
1198
- } & {
1199
- fieldset?: string | null | undefined;
1200
- config?: {
1201
- label?: string | null | undefined;
1202
- placeholder?: string;
1203
- useAsTitle?: boolean;
1204
- };
1205
- }) | ({
1206
- type: import("./widgets/WidgetTypes").default.GeoPoint;
1207
- } & {
1208
- fieldset?: string | null | undefined;
1209
- config?: {
1210
- label?: string | null | undefined;
1211
- };
1212
- }) | ({
1213
- type: import("./widgets/WidgetTypes").default.Image;
1214
- } & {
1215
- fieldset?: string | null | undefined;
1216
- config?: {
1217
- label?: string | null | undefined;
1218
- placeholder?: string;
1219
- constraint?: {
1220
- width?: number | null;
1221
- height?: number | null;
1275
+ }) | ({
1276
+ type: import("./widgets/WidgetTypes").default.RichText;
1277
+ } & {
1278
+ fieldset?: string | null | undefined;
1279
+ config?: {
1280
+ label?: string | null | undefined;
1281
+ placeholder?: string;
1282
+ useAsTitle?: boolean;
1283
+ single?: string;
1284
+ multi?: string;
1285
+ imageConstraint?: {
1286
+ width?: number | null;
1287
+ height?: number | null;
1288
+ };
1289
+ labels?: string[];
1290
+ allowTargetBlank?: boolean;
1222
1291
  };
1223
- thumbnails?: ({
1224
- name: string;
1225
- } & {
1226
- width?: number | null;
1227
- height?: number | null;
1228
- })[];
1229
- };
1230
- }) | ({
1231
- type: import("./widgets/WidgetTypes").default.IntegrationField;
1232
- } & {
1233
- fieldset?: string | null | undefined;
1234
- config?: {
1235
- label?: string | null | undefined;
1236
- placeholder?: string;
1237
- catalog?: string;
1238
- };
1239
- }) | ({
1240
- type: import("./widgets/WidgetTypes").default.Link;
1241
- } & {
1242
- fieldset?: string | null | undefined;
1243
- config?: {
1244
- label?: string | null | undefined;
1245
- useAsTitle?: boolean;
1246
- placeholder?: string;
1247
- select?: "media" | "document" | "web" | null;
1248
- customtypes?: string[];
1249
- masks?: string[];
1250
- tags?: string[];
1251
- allowTargetBlank?: boolean;
1252
- };
1253
- }) | ({
1254
- type: import("./widgets/WidgetTypes").default.Number;
1255
- } & {
1256
- fieldset?: string | null | undefined;
1257
- config?: {
1258
- label?: string | null | undefined;
1259
- placeholder?: string;
1260
- min?: number;
1261
- max?: number;
1262
- step?: number;
1263
- };
1264
- }) | ({
1265
- type: import("./widgets/WidgetTypes").default.Range;
1266
- } & {
1267
- fieldset?: string | null | undefined;
1268
- config?: {
1269
- label?: string | null | undefined;
1270
- placeholder?: string;
1271
- min?: number;
1272
- max?: number;
1273
- step?: number;
1274
- };
1275
- }) | ({
1276
- type: import("./widgets/WidgetTypes").default.RichText;
1277
- } & {
1278
- fieldset?: string | null | undefined;
1279
- config?: {
1280
- label?: string | null | undefined;
1281
- placeholder?: string;
1282
- useAsTitle?: boolean;
1283
- single?: string;
1284
- multi?: string;
1285
- imageConstraint?: {
1286
- width?: number | null;
1287
- height?: number | null;
1292
+ }) | ({
1293
+ type: import("./widgets/WidgetTypes").default.Select;
1294
+ } & {
1295
+ fieldset?: string | null | undefined;
1296
+ config?: {
1297
+ label?: string | null | undefined;
1298
+ placeholder?: string;
1299
+ default_value?: string;
1300
+ options?: string[];
1288
1301
  };
1289
- labels?: string[];
1290
- allowTargetBlank?: boolean;
1291
- };
1292
- }) | ({
1293
- type: import("./widgets/WidgetTypes").default.Select;
1294
- } & {
1295
- fieldset?: string | null | undefined;
1296
- config?: {
1297
- label?: string | null | undefined;
1298
- placeholder?: string;
1299
- default_value?: string;
1300
- options?: string[];
1301
- };
1302
- }) | ({
1303
- type: import("./widgets/WidgetTypes").default.Separator;
1304
- } & {
1305
- config?: {
1306
- label?: string | null | undefined;
1307
- };
1308
- }) | ({
1309
- type: import("./widgets/WidgetTypes").default.Text;
1310
- } & {
1311
- fieldset?: string | null | undefined;
1312
- config?: {
1313
- label?: string | null | undefined;
1314
- useAsTitle?: boolean;
1315
- placeholder?: string;
1316
- };
1317
- }) | ({
1318
- type: import("./widgets/WidgetTypes").default.Timestamp;
1319
- } & {
1320
- fieldset?: string | null | undefined;
1321
- config?: {
1322
- label?: string | null | undefined;
1323
- placeholder?: string;
1324
- default?: string;
1325
- };
1326
- });
1327
- };
1328
- config?: {
1329
- label?: string | null | undefined;
1330
- };
1302
+ }) | ({
1303
+ type: import("./widgets/WidgetTypes").default.Separator;
1304
+ } & {
1305
+ config?: {
1306
+ label?: string | null | undefined;
1307
+ };
1308
+ }) | ({
1309
+ type: import("./widgets/WidgetTypes").default.Text;
1310
+ } & {
1311
+ fieldset?: string | null | undefined;
1312
+ config?: {
1313
+ label?: string | null | undefined;
1314
+ useAsTitle?: boolean;
1315
+ placeholder?: string;
1316
+ };
1317
+ }) | ({
1318
+ type: import("./widgets/WidgetTypes").default.Timestamp;
1319
+ } & {
1320
+ fieldset?: string | null | undefined;
1321
+ config?: {
1322
+ label?: string | null | undefined;
1323
+ placeholder?: string;
1324
+ default?: string;
1325
+ };
1326
+ });
1327
+ };
1328
+ })[];
1329
+ } & {
1330
+ description?: string;
1331
1331
  });
1332
1332
  };
1333
1333
  };
@@ -1342,7 +1342,7 @@ export declare const StaticSection: t.RecordC<t.StringC, t.Type<({
1342
1342
  };
1343
1343
  }), unknown, unknown>>;
1344
1344
  export declare type StaticSection = t.TypeOf<typeof StaticSection>;
1345
- export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
1345
+ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>, t.Type<({
1346
1346
  type: import("./widgets/WidgetTypes").default.BooleanField;
1347
1347
  } & {
1348
1348
  config?: {
@@ -1419,7 +1419,7 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
1419
1419
  label?: string | null | undefined;
1420
1420
  useAsTitle?: boolean;
1421
1421
  placeholder?: string;
1422
- select?: "media" | "document" | "web" | null;
1422
+ select?: "web" | "media" | "document" | null;
1423
1423
  customtypes?: string[];
1424
1424
  masks?: string[];
1425
1425
  tags?: string[];
@@ -1585,7 +1585,7 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
1585
1585
  label?: string | null | undefined;
1586
1586
  useAsTitle?: boolean;
1587
1587
  placeholder?: string;
1588
- select?: "media" | "document" | "web" | null;
1588
+ select?: "web" | "media" | "document" | null;
1589
1589
  customtypes?: string[];
1590
1590
  masks?: string[];
1591
1591
  tags?: string[];
@@ -1746,265 +1746,96 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
1746
1746
  } & {
1747
1747
  fieldset?: string | null | undefined;
1748
1748
  config?: {
1749
- label?: string | null | undefined;
1750
- placeholder?: string;
1751
- catalog?: string;
1752
- };
1753
- }) | ({
1754
- type: import("./widgets/WidgetTypes").default.Link;
1755
- } & {
1756
- fieldset?: string | null | undefined;
1757
- config?: {
1758
- label?: string | null | undefined;
1759
- useAsTitle?: boolean;
1760
- placeholder?: string;
1761
- select?: "media" | "document" | "web" | null;
1762
- customtypes?: string[];
1763
- masks?: string[];
1764
- tags?: string[];
1765
- allowTargetBlank?: boolean;
1766
- };
1767
- }) | ({
1768
- type: import("./widgets/WidgetTypes").default.Number;
1769
- } & {
1770
- fieldset?: string | null | undefined;
1771
- config?: {
1772
- label?: string | null | undefined;
1773
- placeholder?: string;
1774
- min?: number;
1775
- max?: number;
1776
- step?: number;
1777
- };
1778
- }) | ({
1779
- type: import("./widgets/WidgetTypes").default.Range;
1780
- } & {
1781
- fieldset?: string | null | undefined;
1782
- config?: {
1783
- label?: string | null | undefined;
1784
- placeholder?: string;
1785
- min?: number;
1786
- max?: number;
1787
- step?: number;
1788
- };
1789
- }) | ({
1790
- type: import("./widgets/WidgetTypes").default.RichText;
1791
- } & {
1792
- fieldset?: string | null | undefined;
1793
- config?: {
1794
- label?: string | null | undefined;
1795
- placeholder?: string;
1796
- useAsTitle?: boolean;
1797
- single?: string;
1798
- multi?: string;
1799
- imageConstraint?: {
1800
- width?: number | null;
1801
- height?: number | null;
1802
- };
1803
- labels?: string[];
1804
- allowTargetBlank?: boolean;
1805
- };
1806
- }) | ({
1807
- type: import("./widgets/WidgetTypes").default.Select;
1808
- } & {
1809
- fieldset?: string | null | undefined;
1810
- config?: {
1811
- label?: string | null | undefined;
1812
- placeholder?: string;
1813
- default_value?: string;
1814
- options?: string[];
1815
- };
1816
- }) | ({
1817
- type: import("./widgets/WidgetTypes").default.Separator;
1818
- } & {
1819
- config?: {
1820
- label?: string | null | undefined;
1821
- };
1822
- }) | ({
1823
- type: import("./widgets/WidgetTypes").default.Text;
1824
- } & {
1825
- fieldset?: string | null | undefined;
1826
- config?: {
1827
- label?: string | null | undefined;
1828
- useAsTitle?: boolean;
1829
- placeholder?: string;
1830
- };
1831
- }) | ({
1832
- type: import("./widgets/WidgetTypes").default.Timestamp;
1833
- } & {
1834
- fieldset?: string | null | undefined;
1835
- config?: {
1836
- label?: string | null | undefined;
1837
- placeholder?: string;
1838
- default?: string;
1839
- };
1840
- }) | ({
1841
- type: import("./widgets/WidgetTypes").default.Group;
1842
- } & {
1843
- fieldset?: string | null | undefined;
1844
- icon?: string;
1845
- description?: string;
1846
- config?: {
1847
- label?: string | null | undefined;
1848
- repeat?: boolean;
1849
- fields?: {
1850
- [x: string]: ({
1851
- type: import("./widgets/WidgetTypes").default.BooleanField;
1852
- } & {
1853
- config?: {
1854
- label?: string | null | undefined;
1855
- default_value?: boolean;
1856
- placeholder_true?: string;
1857
- placeholder_false?: string;
1858
- };
1859
- }) | ({
1860
- type: import("./widgets/WidgetTypes").default.Color;
1861
- } & {
1862
- fieldset?: string | null | undefined;
1863
- config?: {
1864
- label?: string | null | undefined;
1865
- placeholder?: string;
1866
- };
1867
- }) | ({
1868
- type: import("./widgets/WidgetTypes").default.Date;
1869
- } & {
1870
- fieldset?: string | null | undefined;
1871
- config?: {
1872
- label?: string | null | undefined;
1873
- placeholder?: string;
1874
- default?: string;
1875
- };
1876
- }) | ({
1877
- type: import("./widgets/WidgetTypes").default.Embed;
1878
- } & {
1879
- fieldset?: string | null | undefined;
1880
- config?: {
1881
- label?: string | null | undefined;
1882
- placeholder?: string;
1883
- useAsTitle?: boolean;
1884
- };
1885
- }) | ({
1886
- type: import("./widgets/WidgetTypes").default.GeoPoint;
1887
- } & {
1888
- fieldset?: string | null | undefined;
1889
- config?: {
1890
- label?: string | null | undefined;
1891
- };
1892
- }) | ({
1893
- type: import("./widgets/WidgetTypes").default.Image;
1894
- } & {
1895
- fieldset?: string | null | undefined;
1896
- config?: {
1897
- label?: string | null | undefined;
1898
- placeholder?: string;
1899
- constraint?: {
1900
- width?: number | null;
1901
- height?: number | null;
1902
- };
1903
- thumbnails?: ({
1904
- name: string;
1905
- } & {
1906
- width?: number | null;
1907
- height?: number | null;
1908
- })[];
1909
- };
1910
- }) | ({
1911
- type: import("./widgets/WidgetTypes").default.IntegrationField;
1912
- } & {
1913
- fieldset?: string | null | undefined;
1914
- config?: {
1915
- label?: string | null | undefined;
1916
- placeholder?: string;
1917
- catalog?: string;
1918
- };
1919
- }) | ({
1920
- type: import("./widgets/WidgetTypes").default.Link;
1921
- } & {
1922
- fieldset?: string | null | undefined;
1923
- config?: {
1924
- label?: string | null | undefined;
1925
- useAsTitle?: boolean;
1926
- placeholder?: string;
1927
- select?: "media" | "document" | "web" | null;
1928
- customtypes?: string[];
1929
- masks?: string[];
1930
- tags?: string[];
1931
- allowTargetBlank?: boolean;
1932
- };
1933
- }) | ({
1934
- type: import("./widgets/WidgetTypes").default.Number;
1935
- } & {
1936
- fieldset?: string | null | undefined;
1937
- config?: {
1938
- label?: string | null | undefined;
1939
- placeholder?: string;
1940
- min?: number;
1941
- max?: number;
1942
- step?: number;
1943
- };
1944
- }) | ({
1945
- type: import("./widgets/WidgetTypes").default.Range;
1946
- } & {
1947
- fieldset?: string | null | undefined;
1948
- config?: {
1949
- label?: string | null | undefined;
1950
- placeholder?: string;
1951
- min?: number;
1952
- max?: number;
1953
- step?: number;
1954
- };
1955
- }) | ({
1956
- type: import("./widgets/WidgetTypes").default.RichText;
1957
- } & {
1958
- fieldset?: string | null | undefined;
1959
- config?: {
1960
- label?: string | null | undefined;
1961
- placeholder?: string;
1962
- useAsTitle?: boolean;
1963
- single?: string;
1964
- multi?: string;
1965
- imageConstraint?: {
1966
- width?: number | null;
1967
- height?: number | null;
1968
- };
1969
- labels?: string[];
1970
- allowTargetBlank?: boolean;
1971
- };
1972
- }) | ({
1973
- type: import("./widgets/WidgetTypes").default.Select;
1974
- } & {
1975
- fieldset?: string | null | undefined;
1976
- config?: {
1977
- label?: string | null | undefined;
1978
- placeholder?: string;
1979
- default_value?: string;
1980
- options?: string[];
1981
- };
1982
- }) | ({
1983
- type: import("./widgets/WidgetTypes").default.Separator;
1984
- } & {
1985
- config?: {
1986
- label?: string | null | undefined;
1987
- };
1988
- }) | ({
1989
- type: import("./widgets/WidgetTypes").default.Text;
1990
- } & {
1991
- fieldset?: string | null | undefined;
1992
- config?: {
1993
- label?: string | null | undefined;
1994
- useAsTitle?: boolean;
1995
- placeholder?: string;
1996
- };
1997
- }) | ({
1998
- type: import("./widgets/WidgetTypes").default.Timestamp;
1999
- } & {
2000
- fieldset?: string | null | undefined;
2001
- config?: {
2002
- label?: string | null | undefined;
2003
- placeholder?: string;
2004
- default?: string;
2005
- };
2006
- });
1749
+ label?: string | null | undefined;
1750
+ placeholder?: string;
1751
+ catalog?: string;
1752
+ };
1753
+ }) | ({
1754
+ type: import("./widgets/WidgetTypes").default.Link;
1755
+ } & {
1756
+ fieldset?: string | null | undefined;
1757
+ config?: {
1758
+ label?: string | null | undefined;
1759
+ useAsTitle?: boolean;
1760
+ placeholder?: string;
1761
+ select?: "web" | "media" | "document" | null;
1762
+ customtypes?: string[];
1763
+ masks?: string[];
1764
+ tags?: string[];
1765
+ allowTargetBlank?: boolean;
1766
+ };
1767
+ }) | ({
1768
+ type: import("./widgets/WidgetTypes").default.Number;
1769
+ } & {
1770
+ fieldset?: string | null | undefined;
1771
+ config?: {
1772
+ label?: string | null | undefined;
1773
+ placeholder?: string;
1774
+ min?: number;
1775
+ max?: number;
1776
+ step?: number;
1777
+ };
1778
+ }) | ({
1779
+ type: import("./widgets/WidgetTypes").default.Range;
1780
+ } & {
1781
+ fieldset?: string | null | undefined;
1782
+ config?: {
1783
+ label?: string | null | undefined;
1784
+ placeholder?: string;
1785
+ min?: number;
1786
+ max?: number;
1787
+ step?: number;
1788
+ };
1789
+ }) | ({
1790
+ type: import("./widgets/WidgetTypes").default.RichText;
1791
+ } & {
1792
+ fieldset?: string | null | undefined;
1793
+ config?: {
1794
+ label?: string | null | undefined;
1795
+ placeholder?: string;
1796
+ useAsTitle?: boolean;
1797
+ single?: string;
1798
+ multi?: string;
1799
+ imageConstraint?: {
1800
+ width?: number | null;
1801
+ height?: number | null;
2007
1802
  };
1803
+ labels?: string[];
1804
+ allowTargetBlank?: boolean;
1805
+ };
1806
+ }) | ({
1807
+ type: import("./widgets/WidgetTypes").default.Select;
1808
+ } & {
1809
+ fieldset?: string | null | undefined;
1810
+ config?: {
1811
+ label?: string | null | undefined;
1812
+ placeholder?: string;
1813
+ default_value?: string;
1814
+ options?: string[];
1815
+ };
1816
+ }) | ({
1817
+ type: import("./widgets/WidgetTypes").default.Separator;
1818
+ } & {
1819
+ config?: {
1820
+ label?: string | null | undefined;
1821
+ };
1822
+ }) | ({
1823
+ type: import("./widgets/WidgetTypes").default.Text;
1824
+ } & {
1825
+ fieldset?: string | null | undefined;
1826
+ config?: {
1827
+ label?: string | null | undefined;
1828
+ useAsTitle?: boolean;
1829
+ placeholder?: string;
1830
+ };
1831
+ }) | ({
1832
+ type: import("./widgets/WidgetTypes").default.Timestamp;
1833
+ } & {
1834
+ fieldset?: string | null | undefined;
1835
+ config?: {
1836
+ label?: string | null | undefined;
1837
+ placeholder?: string;
1838
+ default?: string;
2008
1839
  };
2009
1840
  }) | ({
2010
1841
  type: import("./widgets/slices/SlicesTypes").default.Slice;
@@ -2091,7 +1922,7 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
2091
1922
  label?: string | null | undefined;
2092
1923
  useAsTitle?: boolean;
2093
1924
  placeholder?: string;
2094
- select?: "media" | "document" | "web" | null;
1925
+ select?: "web" | "media" | "document" | null;
2095
1926
  customtypes?: string[];
2096
1927
  masks?: string[];
2097
1928
  tags?: string[];
@@ -2250,7 +2081,7 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
2250
2081
  label?: string | null | undefined;
2251
2082
  useAsTitle?: boolean;
2252
2083
  placeholder?: string;
2253
- select?: "media" | "document" | "web" | null;
2084
+ select?: "web" | "media" | "document" | null;
2254
2085
  customtypes?: string[];
2255
2086
  masks?: string[];
2256
2087
  tags?: string[];
@@ -2334,6 +2165,175 @@ export declare const DynamicSection: t.RecordC<t.StringC, t.Type<({
2334
2165
  config?: {
2335
2166
  label?: string | null | undefined;
2336
2167
  };
2168
+ }) | ({
2169
+ type: import("./widgets/WidgetTypes").default.Group;
2170
+ } & {
2171
+ fieldset?: string | null | undefined;
2172
+ icon?: string;
2173
+ description?: string;
2174
+ config?: {
2175
+ label?: string | null | undefined;
2176
+ repeat?: boolean;
2177
+ fields?: {
2178
+ [x: string]: ({
2179
+ type: import("./widgets/WidgetTypes").default.BooleanField;
2180
+ } & {
2181
+ config?: {
2182
+ label?: string | null | undefined;
2183
+ default_value?: boolean;
2184
+ placeholder_true?: string;
2185
+ placeholder_false?: string;
2186
+ };
2187
+ }) | ({
2188
+ type: import("./widgets/WidgetTypes").default.Color;
2189
+ } & {
2190
+ fieldset?: string | null | undefined;
2191
+ config?: {
2192
+ label?: string | null | undefined;
2193
+ placeholder?: string;
2194
+ };
2195
+ }) | ({
2196
+ type: import("./widgets/WidgetTypes").default.Date;
2197
+ } & {
2198
+ fieldset?: string | null | undefined;
2199
+ config?: {
2200
+ label?: string | null | undefined;
2201
+ placeholder?: string;
2202
+ default?: string;
2203
+ };
2204
+ }) | ({
2205
+ type: import("./widgets/WidgetTypes").default.Embed;
2206
+ } & {
2207
+ fieldset?: string | null | undefined;
2208
+ config?: {
2209
+ label?: string | null | undefined;
2210
+ placeholder?: string;
2211
+ useAsTitle?: boolean;
2212
+ };
2213
+ }) | ({
2214
+ type: import("./widgets/WidgetTypes").default.GeoPoint;
2215
+ } & {
2216
+ fieldset?: string | null | undefined;
2217
+ config?: {
2218
+ label?: string | null | undefined;
2219
+ };
2220
+ }) | ({
2221
+ type: import("./widgets/WidgetTypes").default.Image;
2222
+ } & {
2223
+ fieldset?: string | null | undefined;
2224
+ config?: {
2225
+ label?: string | null | undefined;
2226
+ placeholder?: string;
2227
+ constraint?: {
2228
+ width?: number | null;
2229
+ height?: number | null;
2230
+ };
2231
+ thumbnails?: ({
2232
+ name: string;
2233
+ } & {
2234
+ width?: number | null;
2235
+ height?: number | null;
2236
+ })[];
2237
+ };
2238
+ }) | ({
2239
+ type: import("./widgets/WidgetTypes").default.IntegrationField;
2240
+ } & {
2241
+ fieldset?: string | null | undefined;
2242
+ config?: {
2243
+ label?: string | null | undefined;
2244
+ placeholder?: string;
2245
+ catalog?: string;
2246
+ };
2247
+ }) | ({
2248
+ type: import("./widgets/WidgetTypes").default.Link;
2249
+ } & {
2250
+ fieldset?: string | null | undefined;
2251
+ config?: {
2252
+ label?: string | null | undefined;
2253
+ useAsTitle?: boolean;
2254
+ placeholder?: string;
2255
+ select?: "web" | "media" | "document" | null;
2256
+ customtypes?: string[];
2257
+ masks?: string[];
2258
+ tags?: string[];
2259
+ allowTargetBlank?: boolean;
2260
+ };
2261
+ }) | ({
2262
+ type: import("./widgets/WidgetTypes").default.Number;
2263
+ } & {
2264
+ fieldset?: string | null | undefined;
2265
+ config?: {
2266
+ label?: string | null | undefined;
2267
+ placeholder?: string;
2268
+ min?: number;
2269
+ max?: number;
2270
+ step?: number;
2271
+ };
2272
+ }) | ({
2273
+ type: import("./widgets/WidgetTypes").default.Range;
2274
+ } & {
2275
+ fieldset?: string | null | undefined;
2276
+ config?: {
2277
+ label?: string | null | undefined;
2278
+ placeholder?: string;
2279
+ min?: number;
2280
+ max?: number;
2281
+ step?: number;
2282
+ };
2283
+ }) | ({
2284
+ type: import("./widgets/WidgetTypes").default.RichText;
2285
+ } & {
2286
+ fieldset?: string | null | undefined;
2287
+ config?: {
2288
+ label?: string | null | undefined;
2289
+ placeholder?: string;
2290
+ useAsTitle?: boolean;
2291
+ single?: string;
2292
+ multi?: string;
2293
+ imageConstraint?: {
2294
+ width?: number | null;
2295
+ height?: number | null;
2296
+ };
2297
+ labels?: string[];
2298
+ allowTargetBlank?: boolean;
2299
+ };
2300
+ }) | ({
2301
+ type: import("./widgets/WidgetTypes").default.Select;
2302
+ } & {
2303
+ fieldset?: string | null | undefined;
2304
+ config?: {
2305
+ label?: string | null | undefined;
2306
+ placeholder?: string;
2307
+ default_value?: string;
2308
+ options?: string[];
2309
+ };
2310
+ }) | ({
2311
+ type: import("./widgets/WidgetTypes").default.Separator;
2312
+ } & {
2313
+ config?: {
2314
+ label?: string | null | undefined;
2315
+ };
2316
+ }) | ({
2317
+ type: import("./widgets/WidgetTypes").default.Text;
2318
+ } & {
2319
+ fieldset?: string | null | undefined;
2320
+ config?: {
2321
+ label?: string | null | undefined;
2322
+ useAsTitle?: boolean;
2323
+ placeholder?: string;
2324
+ };
2325
+ }) | ({
2326
+ type: import("./widgets/WidgetTypes").default.Timestamp;
2327
+ } & {
2328
+ fieldset?: string | null | undefined;
2329
+ config?: {
2330
+ label?: string | null | undefined;
2331
+ placeholder?: string;
2332
+ default?: string;
2333
+ };
2334
+ });
2335
+ };
2336
+ };
2337
2337
  }) | {
2338
2338
  type: import("./widgets/slices/SlicesTypes").default.SharedSlice;
2339
2339
  };