@prismicio/types-internal 2.4.0-alpha.1 → 2.4.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.
- package/lib/content/Document.d.ts +0 -72
- package/lib/content/fields/GroupContent.d.ts +0 -15
- package/lib/content/fields/WidgetContent.d.ts +0 -72
- package/lib/content/fields/nestable/ImageContent.d.ts +0 -9
- package/lib/content/fields/nestable/ImageContent.js +0 -1
- package/lib/content/fields/nestable/NestableContent.d.ts +0 -9
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +0 -4
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +0 -4
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +0 -18
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +0 -6
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +0 -18
- package/lib/content/fields/slices/Slice/SharedSliceContent.js +3 -1
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +0 -18
- package/lib/content/fields/slices/Slice/index.d.ts +0 -36
- package/lib/content/fields/slices/SliceItem.d.ts +0 -36
- package/lib/content/fields/slices/SlicesContent.d.ts +0 -54
- package/lib/customtypes/CustomType.d.ts +169 -14
- package/lib/customtypes/Section.d.ts +169 -14
- package/lib/customtypes/diff/SharedSlice.d.ts +338 -4
- package/lib/customtypes/diff/Variation.d.ts +340 -5
- package/lib/customtypes/widgets/Group.d.ts +0 -2
- package/lib/customtypes/widgets/Widget.d.ts +169 -16
- package/lib/customtypes/widgets/nestable/Image.d.ts +0 -2
- package/lib/customtypes/widgets/nestable/Image.js +0 -1
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +336 -6
- package/lib/customtypes/widgets/slices/SharedSlice.js +2 -1
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +327 -0
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.js +8 -0
- package/lib/customtypes/widgets/slices/SliceWidget.d.ts +327 -0
- package/lib/customtypes/widgets/slices/SliceWidget.js +8 -0
- package/lib/customtypes/widgets/slices/Slices.d.ts +338 -24
- package/lib/customtypes/widgets/slices/index.d.ts +1 -0
- package/lib/customtypes/widgets/slices/index.js +1 -0
- package/package.json +1 -1
- package/src/content/fields/nestable/ImageContent.ts +0 -1
- package/src/content/fields/slices/Slice/SharedSliceContent.ts +12 -2
- package/src/customtypes/diff/Variation.ts +6 -5
- package/src/customtypes/widgets/nestable/Image.ts +0 -1
- package/src/customtypes/widgets/slices/SharedSlice.ts +2 -1
- package/src/customtypes/widgets/slices/SlicePrimaryWidget.ts +9 -0
- package/src/customtypes/widgets/slices/index.ts +1 -0
|
@@ -77,7 +77,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
77
77
|
width?: number | null;
|
|
78
78
|
height?: number | null;
|
|
79
79
|
})[];
|
|
80
|
-
allowCaption?: boolean;
|
|
81
80
|
};
|
|
82
81
|
}) | ({
|
|
83
82
|
type: "IntegrationFields";
|
|
@@ -244,7 +243,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
244
243
|
width?: number | null;
|
|
245
244
|
height?: number | null;
|
|
246
245
|
})[];
|
|
247
|
-
allowCaption?: boolean;
|
|
248
246
|
};
|
|
249
247
|
}) | ({
|
|
250
248
|
type: "IntegrationFields";
|
|
@@ -418,7 +416,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
418
416
|
width?: number | null;
|
|
419
417
|
height?: number | null;
|
|
420
418
|
})[];
|
|
421
|
-
allowCaption?: boolean;
|
|
422
419
|
};
|
|
423
420
|
}) | ({
|
|
424
421
|
type: "IntegrationFields";
|
|
@@ -585,7 +582,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
585
582
|
width?: number | null;
|
|
586
583
|
height?: number | null;
|
|
587
584
|
})[];
|
|
588
|
-
allowCaption?: boolean;
|
|
589
585
|
};
|
|
590
586
|
}) | ({
|
|
591
587
|
type: "IntegrationFields";
|
|
@@ -753,7 +749,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
753
749
|
width?: number | null;
|
|
754
750
|
height?: number | null;
|
|
755
751
|
})[];
|
|
756
|
-
allowCaption?: boolean;
|
|
757
752
|
};
|
|
758
753
|
}) | ({
|
|
759
754
|
type: "IntegrationFields";
|
|
@@ -913,7 +908,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
913
908
|
width?: number | null;
|
|
914
909
|
height?: number | null;
|
|
915
910
|
})[];
|
|
916
|
-
allowCaption?: boolean;
|
|
917
911
|
};
|
|
918
912
|
}) | ({
|
|
919
913
|
type: "IntegrationFields";
|
|
@@ -1089,7 +1083,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1089
1083
|
width?: number | null;
|
|
1090
1084
|
height?: number | null;
|
|
1091
1085
|
})[];
|
|
1092
|
-
allowCaption?: boolean;
|
|
1093
1086
|
};
|
|
1094
1087
|
}) | ({
|
|
1095
1088
|
type: "IntegrationFields";
|
|
@@ -1187,6 +1180,175 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1187
1180
|
placeholder?: string;
|
|
1188
1181
|
default?: string;
|
|
1189
1182
|
};
|
|
1183
|
+
}) | ({
|
|
1184
|
+
type: "Group";
|
|
1185
|
+
} & {
|
|
1186
|
+
fieldset?: string | null | undefined;
|
|
1187
|
+
icon?: string;
|
|
1188
|
+
description?: string;
|
|
1189
|
+
config?: {
|
|
1190
|
+
label?: string | null | undefined;
|
|
1191
|
+
repeat?: boolean;
|
|
1192
|
+
fields?: {
|
|
1193
|
+
[x: string]: ({
|
|
1194
|
+
type: "Boolean";
|
|
1195
|
+
} & {
|
|
1196
|
+
config?: {
|
|
1197
|
+
label?: string | null | undefined;
|
|
1198
|
+
default_value?: boolean;
|
|
1199
|
+
placeholder_true?: string;
|
|
1200
|
+
placeholder_false?: string;
|
|
1201
|
+
};
|
|
1202
|
+
}) | ({
|
|
1203
|
+
type: "Color";
|
|
1204
|
+
} & {
|
|
1205
|
+
fieldset?: string | null | undefined;
|
|
1206
|
+
config?: {
|
|
1207
|
+
label?: string | null | undefined;
|
|
1208
|
+
placeholder?: string;
|
|
1209
|
+
};
|
|
1210
|
+
}) | ({
|
|
1211
|
+
type: "Date";
|
|
1212
|
+
} & {
|
|
1213
|
+
fieldset?: string | null | undefined;
|
|
1214
|
+
config?: {
|
|
1215
|
+
label?: string | null | undefined;
|
|
1216
|
+
placeholder?: string;
|
|
1217
|
+
default?: string;
|
|
1218
|
+
};
|
|
1219
|
+
}) | ({
|
|
1220
|
+
type: "Embed";
|
|
1221
|
+
} & {
|
|
1222
|
+
fieldset?: string | null | undefined;
|
|
1223
|
+
config?: {
|
|
1224
|
+
label?: string | null | undefined;
|
|
1225
|
+
placeholder?: string;
|
|
1226
|
+
useAsTitle?: boolean;
|
|
1227
|
+
};
|
|
1228
|
+
}) | ({
|
|
1229
|
+
type: "GeoPoint";
|
|
1230
|
+
} & {
|
|
1231
|
+
fieldset?: string | null | undefined;
|
|
1232
|
+
config?: {
|
|
1233
|
+
label?: string | null | undefined;
|
|
1234
|
+
};
|
|
1235
|
+
}) | ({
|
|
1236
|
+
type: "Image";
|
|
1237
|
+
} & {
|
|
1238
|
+
fieldset?: string | null | undefined;
|
|
1239
|
+
config?: {
|
|
1240
|
+
label?: string | null | undefined;
|
|
1241
|
+
placeholder?: string;
|
|
1242
|
+
constraint?: {
|
|
1243
|
+
width?: number | null;
|
|
1244
|
+
height?: number | null;
|
|
1245
|
+
};
|
|
1246
|
+
thumbnails?: readonly ({
|
|
1247
|
+
name: string;
|
|
1248
|
+
} & {
|
|
1249
|
+
width?: number | null;
|
|
1250
|
+
height?: number | null;
|
|
1251
|
+
})[];
|
|
1252
|
+
};
|
|
1253
|
+
}) | ({
|
|
1254
|
+
type: "IntegrationFields";
|
|
1255
|
+
} & {
|
|
1256
|
+
fieldset?: string | null | undefined;
|
|
1257
|
+
config?: {
|
|
1258
|
+
label?: string | null | undefined;
|
|
1259
|
+
placeholder?: string;
|
|
1260
|
+
catalog?: string;
|
|
1261
|
+
};
|
|
1262
|
+
}) | ({
|
|
1263
|
+
type: "Link";
|
|
1264
|
+
} & {
|
|
1265
|
+
fieldset?: string | null | undefined;
|
|
1266
|
+
config?: {
|
|
1267
|
+
label?: string | null | undefined;
|
|
1268
|
+
useAsTitle?: boolean;
|
|
1269
|
+
placeholder?: string;
|
|
1270
|
+
select?: "media" | "document" | "web" | null;
|
|
1271
|
+
customtypes?: readonly string[];
|
|
1272
|
+
masks?: readonly string[];
|
|
1273
|
+
tags?: readonly string[];
|
|
1274
|
+
allowTargetBlank?: boolean;
|
|
1275
|
+
};
|
|
1276
|
+
}) | ({
|
|
1277
|
+
type: "Number";
|
|
1278
|
+
} & {
|
|
1279
|
+
fieldset?: string | null | undefined;
|
|
1280
|
+
config?: {
|
|
1281
|
+
label?: string | null | undefined;
|
|
1282
|
+
placeholder?: string;
|
|
1283
|
+
min?: number;
|
|
1284
|
+
max?: number;
|
|
1285
|
+
step?: number;
|
|
1286
|
+
};
|
|
1287
|
+
}) | ({
|
|
1288
|
+
type: "Range";
|
|
1289
|
+
} & {
|
|
1290
|
+
fieldset?: string | null | undefined;
|
|
1291
|
+
config?: {
|
|
1292
|
+
label?: string | null | undefined;
|
|
1293
|
+
placeholder?: string;
|
|
1294
|
+
min?: number;
|
|
1295
|
+
max?: number;
|
|
1296
|
+
step?: number;
|
|
1297
|
+
};
|
|
1298
|
+
}) | ({
|
|
1299
|
+
type: "StructuredText";
|
|
1300
|
+
} & {
|
|
1301
|
+
fieldset?: string | null | undefined;
|
|
1302
|
+
config?: {
|
|
1303
|
+
label?: string | null | undefined;
|
|
1304
|
+
placeholder?: string;
|
|
1305
|
+
useAsTitle?: boolean;
|
|
1306
|
+
single?: string;
|
|
1307
|
+
multi?: string;
|
|
1308
|
+
imageConstraint?: {
|
|
1309
|
+
width?: number | null;
|
|
1310
|
+
height?: number | null;
|
|
1311
|
+
};
|
|
1312
|
+
labels?: readonly string[];
|
|
1313
|
+
allowTargetBlank?: boolean;
|
|
1314
|
+
};
|
|
1315
|
+
}) | ({
|
|
1316
|
+
type: "Select";
|
|
1317
|
+
} & {
|
|
1318
|
+
fieldset?: string | null | undefined;
|
|
1319
|
+
config?: {
|
|
1320
|
+
label?: string | null | undefined;
|
|
1321
|
+
placeholder?: string;
|
|
1322
|
+
default_value?: string;
|
|
1323
|
+
options?: readonly string[];
|
|
1324
|
+
};
|
|
1325
|
+
}) | ({
|
|
1326
|
+
type: "Separator";
|
|
1327
|
+
} & {
|
|
1328
|
+
config?: {
|
|
1329
|
+
label?: string | null | undefined;
|
|
1330
|
+
};
|
|
1331
|
+
}) | ({
|
|
1332
|
+
type: "Text";
|
|
1333
|
+
} & {
|
|
1334
|
+
fieldset?: string | null | undefined;
|
|
1335
|
+
config?: {
|
|
1336
|
+
label?: string | null | undefined;
|
|
1337
|
+
useAsTitle?: boolean;
|
|
1338
|
+
placeholder?: string;
|
|
1339
|
+
};
|
|
1340
|
+
}) | ({
|
|
1341
|
+
type: "Timestamp";
|
|
1342
|
+
} & {
|
|
1343
|
+
fieldset?: string | null | undefined;
|
|
1344
|
+
config?: {
|
|
1345
|
+
label?: string | null | undefined;
|
|
1346
|
+
placeholder?: string;
|
|
1347
|
+
default?: string;
|
|
1348
|
+
};
|
|
1349
|
+
});
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1190
1352
|
});
|
|
1191
1353
|
};
|
|
1192
1354
|
items?: {
|
|
@@ -1249,7 +1411,6 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1249
1411
|
width?: number | null;
|
|
1250
1412
|
height?: number | null;
|
|
1251
1413
|
})[];
|
|
1252
|
-
allowCaption?: boolean;
|
|
1253
1414
|
};
|
|
1254
1415
|
}) | ({
|
|
1255
1416
|
type: "IntegrationFields";
|
|
@@ -1442,7 +1603,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1442
1603
|
width?: number | null;
|
|
1443
1604
|
height?: number | null;
|
|
1444
1605
|
})[];
|
|
1445
|
-
allowCaption?: boolean;
|
|
1446
1606
|
};
|
|
1447
1607
|
}) | ({
|
|
1448
1608
|
type: "IntegrationFields";
|
|
@@ -1609,7 +1769,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1609
1769
|
width?: number | null;
|
|
1610
1770
|
height?: number | null;
|
|
1611
1771
|
})[];
|
|
1612
|
-
allowCaption?: boolean;
|
|
1613
1772
|
};
|
|
1614
1773
|
}) | ({
|
|
1615
1774
|
type: "IntegrationFields";
|
|
@@ -1783,7 +1942,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1783
1942
|
width?: number | null;
|
|
1784
1943
|
height?: number | null;
|
|
1785
1944
|
})[];
|
|
1786
|
-
allowCaption?: boolean;
|
|
1787
1945
|
};
|
|
1788
1946
|
}) | ({
|
|
1789
1947
|
type: "IntegrationFields";
|
|
@@ -1950,7 +2108,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1950
2108
|
width?: number | null;
|
|
1951
2109
|
height?: number | null;
|
|
1952
2110
|
})[];
|
|
1953
|
-
allowCaption?: boolean;
|
|
1954
2111
|
};
|
|
1955
2112
|
}) | ({
|
|
1956
2113
|
type: "IntegrationFields";
|
|
@@ -2118,7 +2275,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2118
2275
|
width?: number | null;
|
|
2119
2276
|
height?: number | null;
|
|
2120
2277
|
})[];
|
|
2121
|
-
allowCaption?: boolean;
|
|
2122
2278
|
};
|
|
2123
2279
|
}) | ({
|
|
2124
2280
|
type: "IntegrationFields";
|
|
@@ -2278,7 +2434,6 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
2278
2434
|
width?: number | null;
|
|
2279
2435
|
height?: number | null;
|
|
2280
2436
|
})[];
|
|
2281
|
-
allowCaption?: boolean;
|
|
2282
2437
|
};
|
|
2283
2438
|
}) | ({
|
|
2284
2439
|
type: "IntegrationFields";
|
|
@@ -61,7 +61,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
61
61
|
width?: number | null;
|
|
62
62
|
height?: number | null;
|
|
63
63
|
})[];
|
|
64
|
-
allowCaption?: boolean;
|
|
65
64
|
};
|
|
66
65
|
}) | ({
|
|
67
66
|
type: "IntegrationFields";
|
|
@@ -228,7 +227,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
228
227
|
width?: number | null;
|
|
229
228
|
height?: number | null;
|
|
230
229
|
})[];
|
|
231
|
-
allowCaption?: boolean;
|
|
232
230
|
};
|
|
233
231
|
}) | ({
|
|
234
232
|
type: "IntegrationFields";
|
|
@@ -402,7 +400,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
402
400
|
width?: number | null;
|
|
403
401
|
height?: number | null;
|
|
404
402
|
})[];
|
|
405
|
-
allowCaption?: boolean;
|
|
406
403
|
};
|
|
407
404
|
}) | ({
|
|
408
405
|
type: "IntegrationFields";
|
|
@@ -569,7 +566,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
569
566
|
width?: number | null;
|
|
570
567
|
height?: number | null;
|
|
571
568
|
})[];
|
|
572
|
-
allowCaption?: boolean;
|
|
573
569
|
};
|
|
574
570
|
}) | ({
|
|
575
571
|
type: "IntegrationFields";
|
|
@@ -737,7 +733,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
737
733
|
width?: number | null;
|
|
738
734
|
height?: number | null;
|
|
739
735
|
})[];
|
|
740
|
-
allowCaption?: boolean;
|
|
741
736
|
};
|
|
742
737
|
}) | ({
|
|
743
738
|
type: "IntegrationFields";
|
|
@@ -897,7 +892,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
897
892
|
width?: number | null;
|
|
898
893
|
height?: number | null;
|
|
899
894
|
})[];
|
|
900
|
-
allowCaption?: boolean;
|
|
901
895
|
};
|
|
902
896
|
}) | ({
|
|
903
897
|
type: "IntegrationFields";
|
|
@@ -1073,7 +1067,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1073
1067
|
width?: number | null;
|
|
1074
1068
|
height?: number | null;
|
|
1075
1069
|
})[];
|
|
1076
|
-
allowCaption?: boolean;
|
|
1077
1070
|
};
|
|
1078
1071
|
}) | ({
|
|
1079
1072
|
type: "IntegrationFields";
|
|
@@ -1171,6 +1164,175 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1171
1164
|
placeholder?: string;
|
|
1172
1165
|
default?: string;
|
|
1173
1166
|
};
|
|
1167
|
+
}) | ({
|
|
1168
|
+
type: "Group";
|
|
1169
|
+
} & {
|
|
1170
|
+
fieldset?: string | null | undefined;
|
|
1171
|
+
icon?: string;
|
|
1172
|
+
description?: string;
|
|
1173
|
+
config?: {
|
|
1174
|
+
label?: string | null | undefined;
|
|
1175
|
+
repeat?: boolean;
|
|
1176
|
+
fields?: {
|
|
1177
|
+
[x: string]: ({
|
|
1178
|
+
type: "Boolean";
|
|
1179
|
+
} & {
|
|
1180
|
+
config?: {
|
|
1181
|
+
label?: string | null | undefined;
|
|
1182
|
+
default_value?: boolean;
|
|
1183
|
+
placeholder_true?: string;
|
|
1184
|
+
placeholder_false?: string;
|
|
1185
|
+
};
|
|
1186
|
+
}) | ({
|
|
1187
|
+
type: "Color";
|
|
1188
|
+
} & {
|
|
1189
|
+
fieldset?: string | null | undefined;
|
|
1190
|
+
config?: {
|
|
1191
|
+
label?: string | null | undefined;
|
|
1192
|
+
placeholder?: string;
|
|
1193
|
+
};
|
|
1194
|
+
}) | ({
|
|
1195
|
+
type: "Date";
|
|
1196
|
+
} & {
|
|
1197
|
+
fieldset?: string | null | undefined;
|
|
1198
|
+
config?: {
|
|
1199
|
+
label?: string | null | undefined;
|
|
1200
|
+
placeholder?: string;
|
|
1201
|
+
default?: string;
|
|
1202
|
+
};
|
|
1203
|
+
}) | ({
|
|
1204
|
+
type: "Embed";
|
|
1205
|
+
} & {
|
|
1206
|
+
fieldset?: string | null | undefined;
|
|
1207
|
+
config?: {
|
|
1208
|
+
label?: string | null | undefined;
|
|
1209
|
+
placeholder?: string;
|
|
1210
|
+
useAsTitle?: boolean;
|
|
1211
|
+
};
|
|
1212
|
+
}) | ({
|
|
1213
|
+
type: "GeoPoint";
|
|
1214
|
+
} & {
|
|
1215
|
+
fieldset?: string | null | undefined;
|
|
1216
|
+
config?: {
|
|
1217
|
+
label?: string | null | undefined;
|
|
1218
|
+
};
|
|
1219
|
+
}) | ({
|
|
1220
|
+
type: "Image";
|
|
1221
|
+
} & {
|
|
1222
|
+
fieldset?: string | null | undefined;
|
|
1223
|
+
config?: {
|
|
1224
|
+
label?: string | null | undefined;
|
|
1225
|
+
placeholder?: string;
|
|
1226
|
+
constraint?: {
|
|
1227
|
+
width?: number | null;
|
|
1228
|
+
height?: number | null;
|
|
1229
|
+
};
|
|
1230
|
+
thumbnails?: readonly ({
|
|
1231
|
+
name: string;
|
|
1232
|
+
} & {
|
|
1233
|
+
width?: number | null;
|
|
1234
|
+
height?: number | null;
|
|
1235
|
+
})[];
|
|
1236
|
+
};
|
|
1237
|
+
}) | ({
|
|
1238
|
+
type: "IntegrationFields";
|
|
1239
|
+
} & {
|
|
1240
|
+
fieldset?: string | null | undefined;
|
|
1241
|
+
config?: {
|
|
1242
|
+
label?: string | null | undefined;
|
|
1243
|
+
placeholder?: string;
|
|
1244
|
+
catalog?: string;
|
|
1245
|
+
};
|
|
1246
|
+
}) | ({
|
|
1247
|
+
type: "Link";
|
|
1248
|
+
} & {
|
|
1249
|
+
fieldset?: string | null | undefined;
|
|
1250
|
+
config?: {
|
|
1251
|
+
label?: string | null | undefined;
|
|
1252
|
+
useAsTitle?: boolean;
|
|
1253
|
+
placeholder?: string;
|
|
1254
|
+
select?: "media" | "document" | "web" | null;
|
|
1255
|
+
customtypes?: readonly string[];
|
|
1256
|
+
masks?: readonly string[];
|
|
1257
|
+
tags?: readonly string[];
|
|
1258
|
+
allowTargetBlank?: boolean;
|
|
1259
|
+
};
|
|
1260
|
+
}) | ({
|
|
1261
|
+
type: "Number";
|
|
1262
|
+
} & {
|
|
1263
|
+
fieldset?: string | null | undefined;
|
|
1264
|
+
config?: {
|
|
1265
|
+
label?: string | null | undefined;
|
|
1266
|
+
placeholder?: string;
|
|
1267
|
+
min?: number;
|
|
1268
|
+
max?: number;
|
|
1269
|
+
step?: number;
|
|
1270
|
+
};
|
|
1271
|
+
}) | ({
|
|
1272
|
+
type: "Range";
|
|
1273
|
+
} & {
|
|
1274
|
+
fieldset?: string | null | undefined;
|
|
1275
|
+
config?: {
|
|
1276
|
+
label?: string | null | undefined;
|
|
1277
|
+
placeholder?: string;
|
|
1278
|
+
min?: number;
|
|
1279
|
+
max?: number;
|
|
1280
|
+
step?: number;
|
|
1281
|
+
};
|
|
1282
|
+
}) | ({
|
|
1283
|
+
type: "StructuredText";
|
|
1284
|
+
} & {
|
|
1285
|
+
fieldset?: string | null | undefined;
|
|
1286
|
+
config?: {
|
|
1287
|
+
label?: string | null | undefined;
|
|
1288
|
+
placeholder?: string;
|
|
1289
|
+
useAsTitle?: boolean;
|
|
1290
|
+
single?: string;
|
|
1291
|
+
multi?: string;
|
|
1292
|
+
imageConstraint?: {
|
|
1293
|
+
width?: number | null;
|
|
1294
|
+
height?: number | null;
|
|
1295
|
+
};
|
|
1296
|
+
labels?: readonly string[];
|
|
1297
|
+
allowTargetBlank?: boolean;
|
|
1298
|
+
};
|
|
1299
|
+
}) | ({
|
|
1300
|
+
type: "Select";
|
|
1301
|
+
} & {
|
|
1302
|
+
fieldset?: string | null | undefined;
|
|
1303
|
+
config?: {
|
|
1304
|
+
label?: string | null | undefined;
|
|
1305
|
+
placeholder?: string;
|
|
1306
|
+
default_value?: string;
|
|
1307
|
+
options?: readonly string[];
|
|
1308
|
+
};
|
|
1309
|
+
}) | ({
|
|
1310
|
+
type: "Separator";
|
|
1311
|
+
} & {
|
|
1312
|
+
config?: {
|
|
1313
|
+
label?: string | null | undefined;
|
|
1314
|
+
};
|
|
1315
|
+
}) | ({
|
|
1316
|
+
type: "Text";
|
|
1317
|
+
} & {
|
|
1318
|
+
fieldset?: string | null | undefined;
|
|
1319
|
+
config?: {
|
|
1320
|
+
label?: string | null | undefined;
|
|
1321
|
+
useAsTitle?: boolean;
|
|
1322
|
+
placeholder?: string;
|
|
1323
|
+
};
|
|
1324
|
+
}) | ({
|
|
1325
|
+
type: "Timestamp";
|
|
1326
|
+
} & {
|
|
1327
|
+
fieldset?: string | null | undefined;
|
|
1328
|
+
config?: {
|
|
1329
|
+
label?: string | null | undefined;
|
|
1330
|
+
placeholder?: string;
|
|
1331
|
+
default?: string;
|
|
1332
|
+
};
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1174
1336
|
});
|
|
1175
1337
|
};
|
|
1176
1338
|
items?: {
|
|
@@ -1233,7 +1395,6 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
|
|
|
1233
1395
|
width?: number | null;
|
|
1234
1396
|
height?: number | null;
|
|
1235
1397
|
})[];
|
|
1236
|
-
allowCaption?: boolean;
|
|
1237
1398
|
};
|
|
1238
1399
|
}) | ({
|
|
1239
1400
|
type: "IntegrationFields";
|
|
@@ -1412,7 +1573,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
1412
1573
|
width?: number | null;
|
|
1413
1574
|
height?: number | null;
|
|
1414
1575
|
})[];
|
|
1415
|
-
allowCaption?: boolean;
|
|
1416
1576
|
};
|
|
1417
1577
|
}) | ({
|
|
1418
1578
|
type: "IntegrationFields";
|
|
@@ -1579,7 +1739,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
1579
1739
|
width?: number | null;
|
|
1580
1740
|
height?: number | null;
|
|
1581
1741
|
})[];
|
|
1582
|
-
allowCaption?: boolean;
|
|
1583
1742
|
};
|
|
1584
1743
|
}) | ({
|
|
1585
1744
|
type: "IntegrationFields";
|
|
@@ -1753,7 +1912,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
1753
1912
|
width?: number | null;
|
|
1754
1913
|
height?: number | null;
|
|
1755
1914
|
})[];
|
|
1756
|
-
allowCaption?: boolean;
|
|
1757
1915
|
};
|
|
1758
1916
|
}) | ({
|
|
1759
1917
|
type: "IntegrationFields";
|
|
@@ -1920,7 +2078,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
1920
2078
|
width?: number | null;
|
|
1921
2079
|
height?: number | null;
|
|
1922
2080
|
})[];
|
|
1923
|
-
allowCaption?: boolean;
|
|
1924
2081
|
};
|
|
1925
2082
|
}) | ({
|
|
1926
2083
|
type: "IntegrationFields";
|
|
@@ -2088,7 +2245,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2088
2245
|
width?: number | null;
|
|
2089
2246
|
height?: number | null;
|
|
2090
2247
|
})[];
|
|
2091
|
-
allowCaption?: boolean;
|
|
2092
2248
|
};
|
|
2093
2249
|
}) | ({
|
|
2094
2250
|
type: "IntegrationFields";
|
|
@@ -2248,7 +2404,6 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
|
|
|
2248
2404
|
width?: number | null;
|
|
2249
2405
|
height?: number | null;
|
|
2250
2406
|
})[];
|
|
2251
|
-
allowCaption?: boolean;
|
|
2252
2407
|
};
|
|
2253
2408
|
}) | ({
|
|
2254
2409
|
type: "IntegrationFields";
|