@prismicio/types-internal 1.0.0-alpha.1 → 1.0.0

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.
@@ -509,19 +509,343 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
509
509
  default?: string;
510
510
  };
511
511
  }) | ({
512
- id: string;
513
- type: "SharedSlice";
514
- name: string;
515
- variations: readonly ({
516
- id: string;
517
- name: string;
518
- description: string;
519
- imageUrl: string;
520
- docURL: string;
521
- version: string;
522
- } & {
523
- display?: string;
524
- primary?: {
512
+ type: "Slice";
513
+ } & {
514
+ fieldset?: string | null | undefined;
515
+ description?: string;
516
+ icon?: string;
517
+ display?: string;
518
+ "non-repeat"?: {
519
+ [x: string]: ({
520
+ type: "Boolean";
521
+ } & {
522
+ config?: {
523
+ label?: string | null | undefined;
524
+ default_value?: boolean;
525
+ placeholder_true?: string;
526
+ placeholder_false?: string;
527
+ };
528
+ }) | ({
529
+ type: "Color";
530
+ } & {
531
+ fieldset?: string | null | undefined;
532
+ config?: {
533
+ label?: string | null | undefined;
534
+ placeholder?: string;
535
+ };
536
+ }) | ({
537
+ type: "Date";
538
+ } & {
539
+ fieldset?: string | null | undefined;
540
+ config?: {
541
+ label?: string | null | undefined;
542
+ placeholder?: string;
543
+ default?: string;
544
+ };
545
+ }) | ({
546
+ type: "Embed";
547
+ } & {
548
+ fieldset?: string | null | undefined;
549
+ config?: {
550
+ label?: string | null | undefined;
551
+ placeholder?: string;
552
+ useAsTitle?: boolean;
553
+ };
554
+ }) | ({
555
+ type: "GeoPoint";
556
+ } & {
557
+ fieldset?: string | null | undefined;
558
+ config?: {
559
+ label?: string | null | undefined;
560
+ };
561
+ }) | ({
562
+ type: "Image";
563
+ } & {
564
+ fieldset?: string | null | undefined;
565
+ config?: {
566
+ label?: string | null | undefined;
567
+ placeholder?: string;
568
+ constraint?: {
569
+ width?: number | null;
570
+ height?: number | null;
571
+ };
572
+ thumbnails?: readonly ({
573
+ name: string;
574
+ } & {
575
+ width?: number | null;
576
+ height?: number | null;
577
+ })[];
578
+ };
579
+ }) | ({
580
+ type: "IntegrationFields";
581
+ } & {
582
+ fieldset?: string | null | undefined;
583
+ config?: {
584
+ label?: string | null | undefined;
585
+ placeholder?: string;
586
+ catalog?: string;
587
+ };
588
+ }) | ({
589
+ type: "Link";
590
+ } & {
591
+ fieldset?: string | null | undefined;
592
+ config?: {
593
+ label?: string | null | undefined;
594
+ useAsTitle?: boolean;
595
+ placeholder?: string;
596
+ select?: "media" | "document" | "web" | null;
597
+ customtypes?: readonly string[];
598
+ masks?: readonly string[];
599
+ tags?: readonly string[];
600
+ allowTargetBlank?: boolean;
601
+ };
602
+ }) | ({
603
+ type: "Number";
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: "Range";
615
+ } & {
616
+ fieldset?: string | null | undefined;
617
+ config?: {
618
+ label?: string | null | undefined;
619
+ placeholder?: string;
620
+ min?: number;
621
+ max?: number;
622
+ step?: number;
623
+ };
624
+ }) | ({
625
+ type: "StructuredText";
626
+ } & {
627
+ fieldset?: string | null | undefined;
628
+ config?: {
629
+ label?: string | null | undefined;
630
+ placeholder?: string;
631
+ useAsTitle?: boolean;
632
+ single?: string;
633
+ multi?: string;
634
+ imageConstraint?: {
635
+ width?: number | null;
636
+ height?: number | null;
637
+ };
638
+ labels?: readonly string[];
639
+ allowTargetBlank?: boolean;
640
+ };
641
+ }) | ({
642
+ type: "Select";
643
+ } & {
644
+ fieldset?: string | null | undefined;
645
+ config?: {
646
+ label?: string | null | undefined;
647
+ placeholder?: string;
648
+ default_value?: string;
649
+ options?: readonly string[];
650
+ };
651
+ }) | ({
652
+ type: "Separator";
653
+ } & {
654
+ config?: {
655
+ label?: string | null | undefined;
656
+ };
657
+ }) | ({
658
+ type: "Text";
659
+ } & {
660
+ fieldset?: string | null | undefined;
661
+ config?: {
662
+ label?: string | null | undefined;
663
+ useAsTitle?: boolean;
664
+ placeholder?: string;
665
+ };
666
+ }) | ({
667
+ type: "Timestamp";
668
+ } & {
669
+ fieldset?: string | null | undefined;
670
+ config?: {
671
+ label?: string | null | undefined;
672
+ placeholder?: string;
673
+ default?: string;
674
+ };
675
+ });
676
+ };
677
+ repeat?: {
678
+ [x: string]: ({
679
+ type: "Boolean";
680
+ } & {
681
+ config?: {
682
+ label?: string | null | undefined;
683
+ default_value?: boolean;
684
+ placeholder_true?: string;
685
+ placeholder_false?: string;
686
+ };
687
+ }) | ({
688
+ type: "Color";
689
+ } & {
690
+ fieldset?: string | null | undefined;
691
+ config?: {
692
+ label?: string | null | undefined;
693
+ placeholder?: string;
694
+ };
695
+ }) | ({
696
+ type: "Date";
697
+ } & {
698
+ fieldset?: string | null | undefined;
699
+ config?: {
700
+ label?: string | null | undefined;
701
+ placeholder?: string;
702
+ default?: string;
703
+ };
704
+ }) | ({
705
+ type: "Embed";
706
+ } & {
707
+ fieldset?: string | null | undefined;
708
+ config?: {
709
+ label?: string | null | undefined;
710
+ placeholder?: string;
711
+ useAsTitle?: boolean;
712
+ };
713
+ }) | ({
714
+ type: "GeoPoint";
715
+ } & {
716
+ fieldset?: string | null | undefined;
717
+ config?: {
718
+ label?: string | null | undefined;
719
+ };
720
+ }) | ({
721
+ type: "Image";
722
+ } & {
723
+ fieldset?: string | null | undefined;
724
+ config?: {
725
+ label?: string | null | undefined;
726
+ placeholder?: string;
727
+ constraint?: {
728
+ width?: number | null;
729
+ height?: number | null;
730
+ };
731
+ thumbnails?: readonly ({
732
+ name: string;
733
+ } & {
734
+ width?: number | null;
735
+ height?: number | null;
736
+ })[];
737
+ };
738
+ }) | ({
739
+ type: "IntegrationFields";
740
+ } & {
741
+ fieldset?: string | null | undefined;
742
+ config?: {
743
+ label?: string | null | undefined;
744
+ placeholder?: string;
745
+ catalog?: string;
746
+ };
747
+ }) | ({
748
+ type: "Link";
749
+ } & {
750
+ fieldset?: string | null | undefined;
751
+ config?: {
752
+ label?: string | null | undefined;
753
+ useAsTitle?: boolean;
754
+ placeholder?: string;
755
+ select?: "media" | "document" | "web" | null;
756
+ customtypes?: readonly string[];
757
+ masks?: readonly string[];
758
+ tags?: readonly string[];
759
+ allowTargetBlank?: boolean;
760
+ };
761
+ }) | ({
762
+ type: "Number";
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: "Range";
774
+ } & {
775
+ fieldset?: string | null | undefined;
776
+ config?: {
777
+ label?: string | null | undefined;
778
+ placeholder?: string;
779
+ min?: number;
780
+ max?: number;
781
+ step?: number;
782
+ };
783
+ }) | ({
784
+ type: "StructuredText";
785
+ } & {
786
+ fieldset?: string | null | undefined;
787
+ config?: {
788
+ label?: string | null | undefined;
789
+ placeholder?: string;
790
+ useAsTitle?: boolean;
791
+ single?: string;
792
+ multi?: string;
793
+ imageConstraint?: {
794
+ width?: number | null;
795
+ height?: number | null;
796
+ };
797
+ labels?: readonly string[];
798
+ allowTargetBlank?: boolean;
799
+ };
800
+ }) | ({
801
+ type: "Select";
802
+ } & {
803
+ fieldset?: string | null | undefined;
804
+ config?: {
805
+ label?: string | null | undefined;
806
+ placeholder?: string;
807
+ default_value?: string;
808
+ options?: readonly string[];
809
+ };
810
+ }) | ({
811
+ type: "Separator";
812
+ } & {
813
+ config?: {
814
+ label?: string | null | undefined;
815
+ };
816
+ }) | ({
817
+ type: "Text";
818
+ } & {
819
+ fieldset?: string | null | undefined;
820
+ config?: {
821
+ label?: string | null | undefined;
822
+ useAsTitle?: boolean;
823
+ placeholder?: string;
824
+ };
825
+ }) | ({
826
+ type: "Timestamp";
827
+ } & {
828
+ fieldset?: string | null | undefined;
829
+ config?: {
830
+ label?: string | null | undefined;
831
+ placeholder?: string;
832
+ default?: string;
833
+ };
834
+ });
835
+ };
836
+ config?: {
837
+ label?: string | null | undefined;
838
+ };
839
+ }) | ({
840
+ type: "Group";
841
+ } & {
842
+ fieldset?: string | null | undefined;
843
+ icon?: string;
844
+ description?: string;
845
+ config?: {
846
+ label?: string | null | undefined;
847
+ repeat?: boolean;
848
+ fields?: {
525
849
  [x: string]: ({
526
850
  type: "Boolean";
527
851
  } & {
@@ -680,7 +1004,21 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
680
1004
  };
681
1005
  });
682
1006
  };
683
- items?: {
1007
+ };
1008
+ }) | ({
1009
+ id: string;
1010
+ type: "SharedSlice";
1011
+ name: string;
1012
+ variations: readonly ({
1013
+ id: string;
1014
+ name: string;
1015
+ description: string;
1016
+ imageUrl: string;
1017
+ docURL: string;
1018
+ version: string;
1019
+ } & {
1020
+ display?: string;
1021
+ primary?: {
684
1022
  [x: string]: ({
685
1023
  type: "Boolean";
686
1024
  } & {
@@ -839,19 +1177,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
839
1177
  };
840
1178
  });
841
1179
  };
842
- })[];
843
- } & {
844
- description?: string;
845
- }) | ({
846
- type: "Group";
847
- } & {
848
- fieldset?: string | null | undefined;
849
- icon?: string;
850
- description?: string;
851
- config?: {
852
- label?: string | null | undefined;
853
- repeat?: boolean;
854
- fields?: {
1180
+ items?: {
855
1181
  [x: string]: ({
856
1182
  type: "Boolean";
857
1183
  } & {
@@ -953,392 +1279,66 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
953
1279
  config?: {
954
1280
  label?: string | null | undefined;
955
1281
  placeholder?: string;
956
- min?: number;
957
- max?: number;
958
- step?: number;
959
- };
960
- }) | ({
961
- type: "StructuredText";
962
- } & {
963
- fieldset?: string | null | undefined;
964
- config?: {
965
- label?: string | null | undefined;
966
- placeholder?: string;
967
- useAsTitle?: boolean;
968
- single?: string;
969
- multi?: string;
970
- imageConstraint?: {
971
- width?: number | null;
972
- height?: number | null;
973
- };
974
- labels?: readonly string[];
975
- allowTargetBlank?: boolean;
976
- };
977
- }) | ({
978
- type: "Select";
979
- } & {
980
- fieldset?: string | null | undefined;
981
- config?: {
982
- label?: string | null | undefined;
983
- placeholder?: string;
984
- default_value?: string;
985
- options?: readonly string[];
986
- };
987
- }) | ({
988
- type: "Separator";
989
- } & {
990
- config?: {
991
- label?: string | null | undefined;
992
- };
993
- }) | ({
994
- type: "Text";
995
- } & {
996
- fieldset?: string | null | undefined;
997
- config?: {
998
- label?: string | null | undefined;
999
- useAsTitle?: boolean;
1000
- placeholder?: string;
1001
- };
1002
- }) | ({
1003
- type: "Timestamp";
1004
- } & {
1005
- fieldset?: string | null | undefined;
1006
- config?: {
1007
- label?: string | null | undefined;
1008
- placeholder?: string;
1009
- default?: string;
1010
- };
1011
- });
1012
- };
1013
- };
1014
- }) | ({
1015
- type: "Slice";
1016
- } & {
1017
- fieldset?: string | null | undefined;
1018
- description?: string;
1019
- icon?: string;
1020
- display?: string;
1021
- "non-repeat"?: {
1022
- [x: string]: ({
1023
- type: "Boolean";
1024
- } & {
1025
- config?: {
1026
- label?: string | null | undefined;
1027
- default_value?: boolean;
1028
- placeholder_true?: string;
1029
- placeholder_false?: string;
1030
- };
1031
- }) | ({
1032
- type: "Color";
1033
- } & {
1034
- fieldset?: string | null | undefined;
1035
- config?: {
1036
- label?: string | null | undefined;
1037
- placeholder?: string;
1038
- };
1039
- }) | ({
1040
- type: "Date";
1041
- } & {
1042
- fieldset?: string | null | undefined;
1043
- config?: {
1044
- label?: string | null | undefined;
1045
- placeholder?: string;
1046
- default?: string;
1047
- };
1048
- }) | ({
1049
- type: "Embed";
1050
- } & {
1051
- fieldset?: string | null | undefined;
1052
- config?: {
1053
- label?: string | null | undefined;
1054
- placeholder?: string;
1055
- useAsTitle?: boolean;
1056
- };
1057
- }) | ({
1058
- type: "GeoPoint";
1059
- } & {
1060
- fieldset?: string | null | undefined;
1061
- config?: {
1062
- label?: string | null | undefined;
1063
- };
1064
- }) | ({
1065
- type: "Image";
1066
- } & {
1067
- fieldset?: string | null | undefined;
1068
- config?: {
1069
- label?: string | null | undefined;
1070
- placeholder?: string;
1071
- constraint?: {
1072
- width?: number | null;
1073
- height?: number | null;
1074
- };
1075
- thumbnails?: readonly ({
1076
- name: string;
1077
- } & {
1078
- width?: number | null;
1079
- height?: number | null;
1080
- })[];
1081
- };
1082
- }) | ({
1083
- type: "IntegrationFields";
1084
- } & {
1085
- fieldset?: string | null | undefined;
1086
- config?: {
1087
- label?: string | null | undefined;
1088
- placeholder?: string;
1089
- catalog?: string;
1090
- };
1091
- }) | ({
1092
- type: "Link";
1093
- } & {
1094
- fieldset?: string | null | undefined;
1095
- config?: {
1096
- label?: string | null | undefined;
1097
- useAsTitle?: boolean;
1098
- placeholder?: string;
1099
- select?: "media" | "document" | "web" | null;
1100
- customtypes?: readonly string[];
1101
- masks?: readonly string[];
1102
- tags?: readonly string[];
1103
- allowTargetBlank?: boolean;
1104
- };
1105
- }) | ({
1106
- type: "Number";
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: "Range";
1118
- } & {
1119
- fieldset?: string | null | undefined;
1120
- config?: {
1121
- label?: string | null | undefined;
1122
- placeholder?: string;
1123
- min?: number;
1124
- max?: number;
1125
- step?: number;
1126
- };
1127
- }) | ({
1128
- type: "StructuredText";
1129
- } & {
1130
- fieldset?: string | null | undefined;
1131
- config?: {
1132
- label?: string | null | undefined;
1133
- placeholder?: string;
1134
- useAsTitle?: boolean;
1135
- single?: string;
1136
- multi?: string;
1137
- imageConstraint?: {
1138
- width?: number | null;
1139
- height?: number | null;
1282
+ min?: number;
1283
+ max?: number;
1284
+ step?: number;
1140
1285
  };
1141
- labels?: readonly string[];
1142
- allowTargetBlank?: boolean;
1143
- };
1144
- }) | ({
1145
- type: "Select";
1146
- } & {
1147
- fieldset?: string | null | undefined;
1148
- config?: {
1149
- label?: string | null | undefined;
1150
- placeholder?: string;
1151
- default_value?: string;
1152
- options?: readonly string[];
1153
- };
1154
- }) | ({
1155
- type: "Separator";
1156
- } & {
1157
- config?: {
1158
- label?: string | null | undefined;
1159
- };
1160
- }) | ({
1161
- type: "Text";
1162
- } & {
1163
- fieldset?: string | null | undefined;
1164
- config?: {
1165
- label?: string | null | undefined;
1166
- useAsTitle?: boolean;
1167
- placeholder?: string;
1168
- };
1169
- }) | ({
1170
- type: "Timestamp";
1171
- } & {
1172
- fieldset?: string | null | undefined;
1173
- config?: {
1174
- label?: string | null | undefined;
1175
- placeholder?: string;
1176
- default?: string;
1177
- };
1178
- });
1179
- };
1180
- repeat?: {
1181
- [x: string]: ({
1182
- type: "Boolean";
1183
- } & {
1184
- config?: {
1185
- label?: string | null | undefined;
1186
- default_value?: boolean;
1187
- placeholder_true?: string;
1188
- placeholder_false?: string;
1189
- };
1190
- }) | ({
1191
- type: "Color";
1192
- } & {
1193
- fieldset?: string | null | undefined;
1194
- config?: {
1195
- label?: string | null | undefined;
1196
- placeholder?: string;
1197
- };
1198
- }) | ({
1199
- type: "Date";
1200
- } & {
1201
- fieldset?: string | null | undefined;
1202
- config?: {
1203
- label?: string | null | undefined;
1204
- placeholder?: string;
1205
- default?: string;
1206
- };
1207
- }) | ({
1208
- type: "Embed";
1209
- } & {
1210
- fieldset?: string | null | undefined;
1211
- config?: {
1212
- label?: string | null | undefined;
1213
- placeholder?: string;
1214
- useAsTitle?: boolean;
1215
- };
1216
- }) | ({
1217
- type: "GeoPoint";
1218
- } & {
1219
- fieldset?: string | null | undefined;
1220
- config?: {
1221
- label?: string | null | undefined;
1222
- };
1223
- }) | ({
1224
- type: "Image";
1225
- } & {
1226
- fieldset?: string | null | undefined;
1227
- config?: {
1228
- label?: string | null | undefined;
1229
- placeholder?: string;
1230
- constraint?: {
1231
- width?: number | null;
1232
- height?: number | null;
1286
+ }) | ({
1287
+ type: "StructuredText";
1288
+ } & {
1289
+ fieldset?: string | null | undefined;
1290
+ config?: {
1291
+ label?: string | null | undefined;
1292
+ placeholder?: string;
1293
+ useAsTitle?: boolean;
1294
+ single?: string;
1295
+ multi?: string;
1296
+ imageConstraint?: {
1297
+ width?: number | null;
1298
+ height?: number | null;
1299
+ };
1300
+ labels?: readonly string[];
1301
+ allowTargetBlank?: boolean;
1233
1302
  };
1234
- thumbnails?: readonly ({
1235
- name: string;
1236
- } & {
1237
- width?: number | null;
1238
- height?: number | null;
1239
- })[];
1240
- };
1241
- }) | ({
1242
- type: "IntegrationFields";
1243
- } & {
1244
- fieldset?: string | null | undefined;
1245
- config?: {
1246
- label?: string | null | undefined;
1247
- placeholder?: string;
1248
- catalog?: string;
1249
- };
1250
- }) | ({
1251
- type: "Link";
1252
- } & {
1253
- fieldset?: string | null | undefined;
1254
- config?: {
1255
- label?: string | null | undefined;
1256
- useAsTitle?: boolean;
1257
- placeholder?: string;
1258
- select?: "media" | "document" | "web" | null;
1259
- customtypes?: readonly string[];
1260
- masks?: readonly string[];
1261
- tags?: readonly string[];
1262
- allowTargetBlank?: boolean;
1263
- };
1264
- }) | ({
1265
- type: "Number";
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: "Range";
1277
- } & {
1278
- fieldset?: string | null | undefined;
1279
- config?: {
1280
- label?: string | null | undefined;
1281
- placeholder?: string;
1282
- min?: number;
1283
- max?: number;
1284
- step?: number;
1285
- };
1286
- }) | ({
1287
- type: "StructuredText";
1288
- } & {
1289
- fieldset?: string | null | undefined;
1290
- config?: {
1291
- label?: string | null | undefined;
1292
- placeholder?: string;
1293
- useAsTitle?: boolean;
1294
- single?: string;
1295
- multi?: string;
1296
- imageConstraint?: {
1297
- width?: number | null;
1298
- height?: number | null;
1303
+ }) | ({
1304
+ type: "Select";
1305
+ } & {
1306
+ fieldset?: string | null | undefined;
1307
+ config?: {
1308
+ label?: string | null | undefined;
1309
+ placeholder?: string;
1310
+ default_value?: string;
1311
+ options?: readonly string[];
1299
1312
  };
1300
- labels?: readonly string[];
1301
- allowTargetBlank?: boolean;
1302
- };
1303
- }) | ({
1304
- type: "Select";
1305
- } & {
1306
- fieldset?: string | null | undefined;
1307
- config?: {
1308
- label?: string | null | undefined;
1309
- placeholder?: string;
1310
- default_value?: string;
1311
- options?: readonly string[];
1312
- };
1313
- }) | ({
1314
- type: "Separator";
1315
- } & {
1316
- config?: {
1317
- label?: string | null | undefined;
1318
- };
1319
- }) | ({
1320
- type: "Text";
1321
- } & {
1322
- fieldset?: string | null | undefined;
1323
- config?: {
1324
- label?: string | null | undefined;
1325
- useAsTitle?: boolean;
1326
- placeholder?: string;
1327
- };
1328
- }) | ({
1329
- type: "Timestamp";
1330
- } & {
1331
- fieldset?: string | null | undefined;
1332
- config?: {
1333
- label?: string | null | undefined;
1334
- placeholder?: string;
1335
- default?: string;
1336
- };
1337
- });
1338
- };
1339
- config?: {
1340
- label?: string | null | undefined;
1341
- };
1313
+ }) | ({
1314
+ type: "Separator";
1315
+ } & {
1316
+ config?: {
1317
+ label?: string | null | undefined;
1318
+ };
1319
+ }) | ({
1320
+ type: "Text";
1321
+ } & {
1322
+ fieldset?: string | null | undefined;
1323
+ config?: {
1324
+ label?: string | null | undefined;
1325
+ useAsTitle?: boolean;
1326
+ placeholder?: string;
1327
+ };
1328
+ }) | ({
1329
+ type: "Timestamp";
1330
+ } & {
1331
+ fieldset?: string | null | undefined;
1332
+ config?: {
1333
+ label?: string | null | undefined;
1334
+ placeholder?: string;
1335
+ default?: string;
1336
+ };
1337
+ });
1338
+ };
1339
+ })[];
1340
+ } & {
1341
+ description?: string;
1342
1342
  });
1343
1343
  };
1344
1344
  };
@@ -1769,263 +1769,94 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1769
1769
  config?: {
1770
1770
  label?: string | null | undefined;
1771
1771
  placeholder?: string;
1772
- catalog?: string;
1773
- };
1774
- }) | ({
1775
- type: "Link";
1776
- } & {
1777
- fieldset?: string | null | undefined;
1778
- config?: {
1779
- label?: string | null | undefined;
1780
- useAsTitle?: boolean;
1781
- placeholder?: string;
1782
- select?: "media" | "document" | "web" | null;
1783
- customtypes?: readonly string[];
1784
- masks?: readonly string[];
1785
- tags?: readonly string[];
1786
- allowTargetBlank?: boolean;
1787
- };
1788
- }) | ({
1789
- type: "Number";
1790
- } & {
1791
- fieldset?: string | null | undefined;
1792
- config?: {
1793
- label?: string | null | undefined;
1794
- placeholder?: string;
1795
- min?: number;
1796
- max?: number;
1797
- step?: number;
1798
- };
1799
- }) | ({
1800
- type: "Range";
1801
- } & {
1802
- fieldset?: string | null | undefined;
1803
- config?: {
1804
- label?: string | null | undefined;
1805
- placeholder?: string;
1806
- min?: number;
1807
- max?: number;
1808
- step?: number;
1809
- };
1810
- }) | ({
1811
- type: "StructuredText";
1812
- } & {
1813
- fieldset?: string | null | undefined;
1814
- config?: {
1815
- label?: string | null | undefined;
1816
- placeholder?: string;
1817
- useAsTitle?: boolean;
1818
- single?: string;
1819
- multi?: string;
1820
- imageConstraint?: {
1821
- width?: number | null;
1822
- height?: number | null;
1823
- };
1824
- labels?: readonly string[];
1825
- allowTargetBlank?: boolean;
1826
- };
1827
- }) | ({
1828
- type: "Select";
1829
- } & {
1830
- fieldset?: string | null | undefined;
1831
- config?: {
1832
- label?: string | null | undefined;
1833
- placeholder?: string;
1834
- default_value?: string;
1835
- options?: readonly string[];
1836
- };
1837
- }) | ({
1838
- type: "Separator";
1839
- } & {
1840
- config?: {
1841
- label?: string | null | undefined;
1842
- };
1843
- }) | ({
1844
- type: "Text";
1845
- } & {
1846
- fieldset?: string | null | undefined;
1847
- config?: {
1848
- label?: string | null | undefined;
1849
- useAsTitle?: boolean;
1850
- placeholder?: string;
1851
- };
1852
- }) | ({
1853
- type: "Timestamp";
1854
- } & {
1855
- fieldset?: string | null | undefined;
1856
- config?: {
1857
- label?: string | null | undefined;
1858
- placeholder?: string;
1859
- default?: string;
1860
- };
1861
- }) | ({
1862
- type: "Group";
1863
- } & {
1864
- fieldset?: string | null | undefined;
1865
- icon?: string;
1866
- description?: string;
1867
- config?: {
1868
- label?: string | null | undefined;
1869
- repeat?: boolean;
1870
- fields?: {
1871
- [x: string]: ({
1872
- type: "Boolean";
1873
- } & {
1874
- config?: {
1875
- label?: string | null | undefined;
1876
- default_value?: boolean;
1877
- placeholder_true?: string;
1878
- placeholder_false?: string;
1879
- };
1880
- }) | ({
1881
- type: "Color";
1882
- } & {
1883
- fieldset?: string | null | undefined;
1884
- config?: {
1885
- label?: string | null | undefined;
1886
- placeholder?: string;
1887
- };
1888
- }) | ({
1889
- type: "Date";
1890
- } & {
1891
- fieldset?: string | null | undefined;
1892
- config?: {
1893
- label?: string | null | undefined;
1894
- placeholder?: string;
1895
- default?: string;
1896
- };
1897
- }) | ({
1898
- type: "Embed";
1899
- } & {
1900
- fieldset?: string | null | undefined;
1901
- config?: {
1902
- label?: string | null | undefined;
1903
- placeholder?: string;
1904
- useAsTitle?: boolean;
1905
- };
1906
- }) | ({
1907
- type: "GeoPoint";
1908
- } & {
1909
- fieldset?: string | null | undefined;
1910
- config?: {
1911
- label?: string | null | undefined;
1912
- };
1913
- }) | ({
1914
- type: "Image";
1915
- } & {
1916
- fieldset?: string | null | undefined;
1917
- config?: {
1918
- label?: string | null | undefined;
1919
- placeholder?: string;
1920
- constraint?: {
1921
- width?: number | null;
1922
- height?: number | null;
1923
- };
1924
- thumbnails?: readonly ({
1925
- name: string;
1926
- } & {
1927
- width?: number | null;
1928
- height?: number | null;
1929
- })[];
1930
- };
1931
- }) | ({
1932
- type: "IntegrationFields";
1933
- } & {
1934
- fieldset?: string | null | undefined;
1935
- config?: {
1936
- label?: string | null | undefined;
1937
- placeholder?: string;
1938
- catalog?: string;
1939
- };
1940
- }) | ({
1941
- type: "Link";
1942
- } & {
1943
- fieldset?: string | null | undefined;
1944
- config?: {
1945
- label?: string | null | undefined;
1946
- useAsTitle?: boolean;
1947
- placeholder?: string;
1948
- select?: "media" | "document" | "web" | null;
1949
- customtypes?: readonly string[];
1950
- masks?: readonly string[];
1951
- tags?: readonly string[];
1952
- allowTargetBlank?: boolean;
1953
- };
1954
- }) | ({
1955
- type: "Number";
1956
- } & {
1957
- fieldset?: string | null | undefined;
1958
- config?: {
1959
- label?: string | null | undefined;
1960
- placeholder?: string;
1961
- min?: number;
1962
- max?: number;
1963
- step?: number;
1964
- };
1965
- }) | ({
1966
- type: "Range";
1967
- } & {
1968
- fieldset?: string | null | undefined;
1969
- config?: {
1970
- label?: string | null | undefined;
1971
- placeholder?: string;
1972
- min?: number;
1973
- max?: number;
1974
- step?: number;
1975
- };
1976
- }) | ({
1977
- type: "StructuredText";
1978
- } & {
1979
- fieldset?: string | null | undefined;
1980
- config?: {
1981
- label?: string | null | undefined;
1982
- placeholder?: string;
1983
- useAsTitle?: boolean;
1984
- single?: string;
1985
- multi?: string;
1986
- imageConstraint?: {
1987
- width?: number | null;
1988
- height?: number | null;
1989
- };
1990
- labels?: readonly string[];
1991
- allowTargetBlank?: boolean;
1992
- };
1993
- }) | ({
1994
- type: "Select";
1995
- } & {
1996
- fieldset?: string | null | undefined;
1997
- config?: {
1998
- label?: string | null | undefined;
1999
- placeholder?: string;
2000
- default_value?: string;
2001
- options?: readonly string[];
2002
- };
2003
- }) | ({
2004
- type: "Separator";
2005
- } & {
2006
- config?: {
2007
- label?: string | null | undefined;
2008
- };
2009
- }) | ({
2010
- type: "Text";
2011
- } & {
2012
- fieldset?: string | null | undefined;
2013
- config?: {
2014
- label?: string | null | undefined;
2015
- useAsTitle?: boolean;
2016
- placeholder?: string;
2017
- };
2018
- }) | ({
2019
- type: "Timestamp";
2020
- } & {
2021
- fieldset?: string | null | undefined;
2022
- config?: {
2023
- label?: string | null | undefined;
2024
- placeholder?: string;
2025
- default?: string;
2026
- };
2027
- });
1772
+ catalog?: string;
1773
+ };
1774
+ }) | ({
1775
+ type: "Link";
1776
+ } & {
1777
+ fieldset?: string | null | undefined;
1778
+ config?: {
1779
+ label?: string | null | undefined;
1780
+ useAsTitle?: boolean;
1781
+ placeholder?: string;
1782
+ select?: "media" | "document" | "web" | null;
1783
+ customtypes?: readonly string[];
1784
+ masks?: readonly string[];
1785
+ tags?: readonly string[];
1786
+ allowTargetBlank?: boolean;
1787
+ };
1788
+ }) | ({
1789
+ type: "Number";
1790
+ } & {
1791
+ fieldset?: string | null | undefined;
1792
+ config?: {
1793
+ label?: string | null | undefined;
1794
+ placeholder?: string;
1795
+ min?: number;
1796
+ max?: number;
1797
+ step?: number;
1798
+ };
1799
+ }) | ({
1800
+ type: "Range";
1801
+ } & {
1802
+ fieldset?: string | null | undefined;
1803
+ config?: {
1804
+ label?: string | null | undefined;
1805
+ placeholder?: string;
1806
+ min?: number;
1807
+ max?: number;
1808
+ step?: number;
1809
+ };
1810
+ }) | ({
1811
+ type: "StructuredText";
1812
+ } & {
1813
+ fieldset?: string | null | undefined;
1814
+ config?: {
1815
+ label?: string | null | undefined;
1816
+ placeholder?: string;
1817
+ useAsTitle?: boolean;
1818
+ single?: string;
1819
+ multi?: string;
1820
+ imageConstraint?: {
1821
+ width?: number | null;
1822
+ height?: number | null;
2028
1823
  };
1824
+ labels?: readonly string[];
1825
+ allowTargetBlank?: boolean;
1826
+ };
1827
+ }) | ({
1828
+ type: "Select";
1829
+ } & {
1830
+ fieldset?: string | null | undefined;
1831
+ config?: {
1832
+ label?: string | null | undefined;
1833
+ placeholder?: string;
1834
+ default_value?: string;
1835
+ options?: readonly string[];
1836
+ };
1837
+ }) | ({
1838
+ type: "Separator";
1839
+ } & {
1840
+ config?: {
1841
+ label?: string | null | undefined;
1842
+ };
1843
+ }) | ({
1844
+ type: "Text";
1845
+ } & {
1846
+ fieldset?: string | null | undefined;
1847
+ config?: {
1848
+ label?: string | null | undefined;
1849
+ useAsTitle?: boolean;
1850
+ placeholder?: string;
1851
+ };
1852
+ }) | ({
1853
+ type: "Timestamp";
1854
+ } & {
1855
+ fieldset?: string | null | undefined;
1856
+ config?: {
1857
+ label?: string | null | undefined;
1858
+ placeholder?: string;
1859
+ default?: string;
2029
1860
  };
2030
1861
  }) | ({
2031
1862
  type: "Slice";
@@ -2355,6 +2186,175 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2355
2186
  config?: {
2356
2187
  label?: string | null | undefined;
2357
2188
  };
2189
+ }) | ({
2190
+ type: "Group";
2191
+ } & {
2192
+ fieldset?: string | null | undefined;
2193
+ icon?: string;
2194
+ description?: string;
2195
+ config?: {
2196
+ label?: string | null | undefined;
2197
+ repeat?: boolean;
2198
+ fields?: {
2199
+ [x: string]: ({
2200
+ type: "Boolean";
2201
+ } & {
2202
+ config?: {
2203
+ label?: string | null | undefined;
2204
+ default_value?: boolean;
2205
+ placeholder_true?: string;
2206
+ placeholder_false?: string;
2207
+ };
2208
+ }) | ({
2209
+ type: "Color";
2210
+ } & {
2211
+ fieldset?: string | null | undefined;
2212
+ config?: {
2213
+ label?: string | null | undefined;
2214
+ placeholder?: string;
2215
+ };
2216
+ }) | ({
2217
+ type: "Date";
2218
+ } & {
2219
+ fieldset?: string | null | undefined;
2220
+ config?: {
2221
+ label?: string | null | undefined;
2222
+ placeholder?: string;
2223
+ default?: string;
2224
+ };
2225
+ }) | ({
2226
+ type: "Embed";
2227
+ } & {
2228
+ fieldset?: string | null | undefined;
2229
+ config?: {
2230
+ label?: string | null | undefined;
2231
+ placeholder?: string;
2232
+ useAsTitle?: boolean;
2233
+ };
2234
+ }) | ({
2235
+ type: "GeoPoint";
2236
+ } & {
2237
+ fieldset?: string | null | undefined;
2238
+ config?: {
2239
+ label?: string | null | undefined;
2240
+ };
2241
+ }) | ({
2242
+ type: "Image";
2243
+ } & {
2244
+ fieldset?: string | null | undefined;
2245
+ config?: {
2246
+ label?: string | null | undefined;
2247
+ placeholder?: string;
2248
+ constraint?: {
2249
+ width?: number | null;
2250
+ height?: number | null;
2251
+ };
2252
+ thumbnails?: readonly ({
2253
+ name: string;
2254
+ } & {
2255
+ width?: number | null;
2256
+ height?: number | null;
2257
+ })[];
2258
+ };
2259
+ }) | ({
2260
+ type: "IntegrationFields";
2261
+ } & {
2262
+ fieldset?: string | null | undefined;
2263
+ config?: {
2264
+ label?: string | null | undefined;
2265
+ placeholder?: string;
2266
+ catalog?: string;
2267
+ };
2268
+ }) | ({
2269
+ type: "Link";
2270
+ } & {
2271
+ fieldset?: string | null | undefined;
2272
+ config?: {
2273
+ label?: string | null | undefined;
2274
+ useAsTitle?: boolean;
2275
+ placeholder?: string;
2276
+ select?: "media" | "document" | "web" | null;
2277
+ customtypes?: readonly string[];
2278
+ masks?: readonly string[];
2279
+ tags?: readonly string[];
2280
+ allowTargetBlank?: boolean;
2281
+ };
2282
+ }) | ({
2283
+ type: "Number";
2284
+ } & {
2285
+ fieldset?: string | null | undefined;
2286
+ config?: {
2287
+ label?: string | null | undefined;
2288
+ placeholder?: string;
2289
+ min?: number;
2290
+ max?: number;
2291
+ step?: number;
2292
+ };
2293
+ }) | ({
2294
+ type: "Range";
2295
+ } & {
2296
+ fieldset?: string | null | undefined;
2297
+ config?: {
2298
+ label?: string | null | undefined;
2299
+ placeholder?: string;
2300
+ min?: number;
2301
+ max?: number;
2302
+ step?: number;
2303
+ };
2304
+ }) | ({
2305
+ type: "StructuredText";
2306
+ } & {
2307
+ fieldset?: string | null | undefined;
2308
+ config?: {
2309
+ label?: string | null | undefined;
2310
+ placeholder?: string;
2311
+ useAsTitle?: boolean;
2312
+ single?: string;
2313
+ multi?: string;
2314
+ imageConstraint?: {
2315
+ width?: number | null;
2316
+ height?: number | null;
2317
+ };
2318
+ labels?: readonly string[];
2319
+ allowTargetBlank?: boolean;
2320
+ };
2321
+ }) | ({
2322
+ type: "Select";
2323
+ } & {
2324
+ fieldset?: string | null | undefined;
2325
+ config?: {
2326
+ label?: string | null | undefined;
2327
+ placeholder?: string;
2328
+ default_value?: string;
2329
+ options?: readonly string[];
2330
+ };
2331
+ }) | ({
2332
+ type: "Separator";
2333
+ } & {
2334
+ config?: {
2335
+ label?: string | null | undefined;
2336
+ };
2337
+ }) | ({
2338
+ type: "Text";
2339
+ } & {
2340
+ fieldset?: string | null | undefined;
2341
+ config?: {
2342
+ label?: string | null | undefined;
2343
+ useAsTitle?: boolean;
2344
+ placeholder?: string;
2345
+ };
2346
+ }) | ({
2347
+ type: "Timestamp";
2348
+ } & {
2349
+ fieldset?: string | null | undefined;
2350
+ config?: {
2351
+ label?: string | null | undefined;
2352
+ placeholder?: string;
2353
+ default?: string;
2354
+ };
2355
+ });
2356
+ };
2357
+ };
2358
2358
  }) | {
2359
2359
  type: "SharedSlice";
2360
2360
  };