@prismicio/types-internal 4.7.0 → 4.8.0-canary.d88e717
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/dist/content/codec/group.js +3 -2
- package/dist/content/codec/group.js.map +1 -1
- package/dist/content/codec/legacyContentCtx.d.ts.map +1 -1
- package/dist/content/codec/legacyContentCtx.js +5 -1
- package/dist/content/codec/legacyContentCtx.js.map +1 -1
- package/dist/helpers/customTypeModel.d.ts +2 -2
- package/dist/helpers/customTypeModel.d.ts.map +1 -1
- package/dist/helpers/customTypeModel.js +1 -1
- package/dist/helpers/customTypeModel.js.map +1 -1
- package/dist/helpers/documentContent.d.ts +4 -3
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +12 -15
- package/dist/helpers/documentContent.js.map +1 -1
- package/dist/helpers/sliceContent.d.ts +4 -2
- package/dist/helpers/sliceContent.d.ts.map +1 -1
- package/dist/helpers/sliceContent.js +11 -2
- package/dist/helpers/sliceContent.js.map +1 -1
- package/dist/helpers/traverseContent.d.ts +2 -2
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +6 -3
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/io-ts.d.ts +396 -346
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +5 -3
- package/dist/io-ts.js.map +1 -1
- package/dist/model/customType.d.ts +5 -1
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/customType.js.map +1 -1
- package/dist/model/link.d.ts +27 -1
- package/dist/model/link.d.ts.map +1 -1
- package/dist/model/link.js +3 -3
- package/dist/model/link.js.map +1 -1
- package/dist/model/table.d.ts +3 -2
- package/dist/model/table.d.ts.map +1 -1
- package/dist/zod4.d.ts +48 -1
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +5 -3
- package/dist/zod4.js.map +1 -1
- package/package.json +7 -4
- package/src/content/codec/group.ts +1 -1
- package/src/content/codec/legacyContentCtx.ts +7 -1
- package/src/helpers/customTypeModel.ts +3 -2
- package/src/helpers/documentContent.ts +21 -28
- package/src/helpers/sliceContent.ts +16 -0
- package/src/helpers/traverseContent.ts +8 -5
- package/src/index.ts +9 -3
- package/src/io-ts.ts +7 -1
- package/src/model/customType.ts +5 -0
- package/src/model/link.ts +4 -2
- package/src/zod4.ts +7 -1
package/dist/io-ts.d.ts
CHANGED
|
@@ -198,14 +198,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
198
198
|
__TYPE__: "SharedSliceContent";
|
|
199
199
|
variation: string;
|
|
200
200
|
primary: Record<string, {
|
|
201
|
-
type: string;
|
|
202
|
-
__TYPE__: "EmptyContent";
|
|
203
|
-
} | {
|
|
204
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
205
|
-
value: string;
|
|
206
|
-
} | {
|
|
207
|
-
__TYPE__: "SeparatorContent";
|
|
208
|
-
} | {
|
|
209
201
|
type: "Text";
|
|
210
202
|
value: string;
|
|
211
203
|
__TYPE__: "FieldContent";
|
|
@@ -236,6 +228,24 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
236
228
|
} | {
|
|
237
229
|
__TYPE__: "BooleanContent";
|
|
238
230
|
value: boolean;
|
|
231
|
+
} | {
|
|
232
|
+
type: string;
|
|
233
|
+
__TYPE__: "EmptyContent";
|
|
234
|
+
} | {
|
|
235
|
+
position: {
|
|
236
|
+
lat: number;
|
|
237
|
+
lng: number;
|
|
238
|
+
};
|
|
239
|
+
__TYPE__: "GeoPointContent";
|
|
240
|
+
} | {
|
|
241
|
+
__TYPE__: "LinkContent";
|
|
242
|
+
key: string;
|
|
243
|
+
value: {
|
|
244
|
+
text?: string | undefined;
|
|
245
|
+
variant?: string | undefined;
|
|
246
|
+
} & LinkContentValue;
|
|
247
|
+
} | {
|
|
248
|
+
__TYPE__: "SeparatorContent";
|
|
239
249
|
} | {
|
|
240
250
|
embed_url: string;
|
|
241
251
|
type: string;
|
|
@@ -252,12 +262,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
252
262
|
html?: string | null | undefined;
|
|
253
263
|
__TYPE__: "EmbedContent";
|
|
254
264
|
all: unknown;
|
|
255
|
-
} | {
|
|
256
|
-
position: {
|
|
257
|
-
lat: number;
|
|
258
|
-
lng: number;
|
|
259
|
-
};
|
|
260
|
-
__TYPE__: "GeoPointContent";
|
|
261
265
|
} | {
|
|
262
266
|
origin: {
|
|
263
267
|
id: string;
|
|
@@ -303,12 +307,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
303
307
|
}> | undefined;
|
|
304
308
|
__TYPE__: "ImageContent";
|
|
305
309
|
} | {
|
|
306
|
-
__TYPE__: "
|
|
307
|
-
|
|
308
|
-
value: {
|
|
309
|
-
text?: string | undefined;
|
|
310
|
-
variant?: string | undefined;
|
|
311
|
-
} & LinkContentValue;
|
|
310
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
311
|
+
value: string;
|
|
312
312
|
} | {
|
|
313
313
|
__TYPE__: "RepeatableContent";
|
|
314
314
|
type: "Link";
|
|
@@ -347,14 +347,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
347
347
|
__TYPE__: "SharedSliceContent";
|
|
348
348
|
variation: string;
|
|
349
349
|
primary: Record<string, {
|
|
350
|
-
type: string;
|
|
351
|
-
__TYPE__: "EmptyContent";
|
|
352
|
-
} | {
|
|
353
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
354
|
-
value: string;
|
|
355
|
-
} | {
|
|
356
|
-
__TYPE__: "SeparatorContent";
|
|
357
|
-
} | {
|
|
358
350
|
type: "Text";
|
|
359
351
|
value: string;
|
|
360
352
|
__TYPE__: "FieldContent";
|
|
@@ -385,6 +377,24 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
385
377
|
} | {
|
|
386
378
|
__TYPE__: "BooleanContent";
|
|
387
379
|
value: boolean;
|
|
380
|
+
} | {
|
|
381
|
+
type: string;
|
|
382
|
+
__TYPE__: "EmptyContent";
|
|
383
|
+
} | {
|
|
384
|
+
position: {
|
|
385
|
+
lat: number;
|
|
386
|
+
lng: number;
|
|
387
|
+
};
|
|
388
|
+
__TYPE__: "GeoPointContent";
|
|
389
|
+
} | {
|
|
390
|
+
__TYPE__: "LinkContent";
|
|
391
|
+
key: string;
|
|
392
|
+
value: {
|
|
393
|
+
text?: string | undefined;
|
|
394
|
+
variant?: string | undefined;
|
|
395
|
+
} & LinkContentValue;
|
|
396
|
+
} | {
|
|
397
|
+
__TYPE__: "SeparatorContent";
|
|
388
398
|
} | {
|
|
389
399
|
embed_url: string;
|
|
390
400
|
type: string;
|
|
@@ -401,12 +411,6 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
401
411
|
html?: string | null | undefined;
|
|
402
412
|
__TYPE__: "EmbedContent";
|
|
403
413
|
all: unknown;
|
|
404
|
-
} | {
|
|
405
|
-
position: {
|
|
406
|
-
lat: number;
|
|
407
|
-
lng: number;
|
|
408
|
-
};
|
|
409
|
-
__TYPE__: "GeoPointContent";
|
|
410
414
|
} | {
|
|
411
415
|
origin: {
|
|
412
416
|
id: string;
|
|
@@ -452,12 +456,8 @@ declare const SharedSliceContentSchema: t.Type<{
|
|
|
452
456
|
}> | undefined;
|
|
453
457
|
__TYPE__: "ImageContent";
|
|
454
458
|
} | {
|
|
455
|
-
__TYPE__: "
|
|
456
|
-
|
|
457
|
-
value: {
|
|
458
|
-
text?: string | undefined;
|
|
459
|
-
variant?: string | undefined;
|
|
460
|
-
} & LinkContentValue;
|
|
459
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
460
|
+
value: string;
|
|
461
461
|
} | {
|
|
462
462
|
__TYPE__: "RepeatableContent";
|
|
463
463
|
type: "Link";
|
|
@@ -811,14 +811,6 @@ declare const RepeatableContentSchema: t.Type<{
|
|
|
811
811
|
}[];
|
|
812
812
|
}, unknown>;
|
|
813
813
|
declare const NestableContentSchema: t.Type<{
|
|
814
|
-
type: string;
|
|
815
|
-
__TYPE__: "EmptyContent";
|
|
816
|
-
} | {
|
|
817
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
818
|
-
value: string;
|
|
819
|
-
} | {
|
|
820
|
-
__TYPE__: "SeparatorContent";
|
|
821
|
-
} | {
|
|
822
814
|
type: "Text";
|
|
823
815
|
value: string;
|
|
824
816
|
__TYPE__: "FieldContent";
|
|
@@ -849,6 +841,24 @@ declare const NestableContentSchema: t.Type<{
|
|
|
849
841
|
} | {
|
|
850
842
|
__TYPE__: "BooleanContent";
|
|
851
843
|
value: boolean;
|
|
844
|
+
} | {
|
|
845
|
+
type: string;
|
|
846
|
+
__TYPE__: "EmptyContent";
|
|
847
|
+
} | {
|
|
848
|
+
position: {
|
|
849
|
+
lat: number;
|
|
850
|
+
lng: number;
|
|
851
|
+
};
|
|
852
|
+
__TYPE__: "GeoPointContent";
|
|
853
|
+
} | {
|
|
854
|
+
__TYPE__: "LinkContent";
|
|
855
|
+
key: string;
|
|
856
|
+
value: {
|
|
857
|
+
text?: string | undefined;
|
|
858
|
+
variant?: string | undefined;
|
|
859
|
+
} & LinkContentValue;
|
|
860
|
+
} | {
|
|
861
|
+
__TYPE__: "SeparatorContent";
|
|
852
862
|
} | {
|
|
853
863
|
embed_url: string;
|
|
854
864
|
type: string;
|
|
@@ -865,12 +875,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
865
875
|
html?: string | null | undefined;
|
|
866
876
|
__TYPE__: "EmbedContent";
|
|
867
877
|
all: unknown;
|
|
868
|
-
} | {
|
|
869
|
-
position: {
|
|
870
|
-
lat: number;
|
|
871
|
-
lng: number;
|
|
872
|
-
};
|
|
873
|
-
__TYPE__: "GeoPointContent";
|
|
874
878
|
} | {
|
|
875
879
|
origin: {
|
|
876
880
|
id: string;
|
|
@@ -916,12 +920,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
916
920
|
}> | undefined;
|
|
917
921
|
__TYPE__: "ImageContent";
|
|
918
922
|
} | {
|
|
919
|
-
__TYPE__: "
|
|
920
|
-
|
|
921
|
-
value: {
|
|
922
|
-
text?: string | undefined;
|
|
923
|
-
variant?: string | undefined;
|
|
924
|
-
} & LinkContentValue;
|
|
923
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
924
|
+
value: string;
|
|
925
925
|
} | {
|
|
926
926
|
__TYPE__: "RepeatableContent";
|
|
927
927
|
type: "Link";
|
|
@@ -952,14 +952,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
952
952
|
}[];
|
|
953
953
|
}[];
|
|
954
954
|
}, {
|
|
955
|
-
type: string;
|
|
956
|
-
__TYPE__: "EmptyContent";
|
|
957
|
-
} | {
|
|
958
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
959
|
-
value: string;
|
|
960
|
-
} | {
|
|
961
|
-
__TYPE__: "SeparatorContent";
|
|
962
|
-
} | {
|
|
963
955
|
type: "Text";
|
|
964
956
|
value: string;
|
|
965
957
|
__TYPE__: "FieldContent";
|
|
@@ -990,6 +982,24 @@ declare const NestableContentSchema: t.Type<{
|
|
|
990
982
|
} | {
|
|
991
983
|
__TYPE__: "BooleanContent";
|
|
992
984
|
value: boolean;
|
|
985
|
+
} | {
|
|
986
|
+
type: string;
|
|
987
|
+
__TYPE__: "EmptyContent";
|
|
988
|
+
} | {
|
|
989
|
+
position: {
|
|
990
|
+
lat: number;
|
|
991
|
+
lng: number;
|
|
992
|
+
};
|
|
993
|
+
__TYPE__: "GeoPointContent";
|
|
994
|
+
} | {
|
|
995
|
+
__TYPE__: "LinkContent";
|
|
996
|
+
key: string;
|
|
997
|
+
value: {
|
|
998
|
+
text?: string | undefined;
|
|
999
|
+
variant?: string | undefined;
|
|
1000
|
+
} & LinkContentValue;
|
|
1001
|
+
} | {
|
|
1002
|
+
__TYPE__: "SeparatorContent";
|
|
993
1003
|
} | {
|
|
994
1004
|
embed_url: string;
|
|
995
1005
|
type: string;
|
|
@@ -1006,12 +1016,6 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1006
1016
|
html?: string | null | undefined;
|
|
1007
1017
|
__TYPE__: "EmbedContent";
|
|
1008
1018
|
all: unknown;
|
|
1009
|
-
} | {
|
|
1010
|
-
position: {
|
|
1011
|
-
lat: number;
|
|
1012
|
-
lng: number;
|
|
1013
|
-
};
|
|
1014
|
-
__TYPE__: "GeoPointContent";
|
|
1015
1019
|
} | {
|
|
1016
1020
|
origin: {
|
|
1017
1021
|
id: string;
|
|
@@ -1057,12 +1061,8 @@ declare const NestableContentSchema: t.Type<{
|
|
|
1057
1061
|
}> | undefined;
|
|
1058
1062
|
__TYPE__: "ImageContent";
|
|
1059
1063
|
} | {
|
|
1060
|
-
__TYPE__: "
|
|
1061
|
-
|
|
1062
|
-
value: {
|
|
1063
|
-
text?: string | undefined;
|
|
1064
|
-
variant?: string | undefined;
|
|
1065
|
-
} & LinkContentValue;
|
|
1064
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1065
|
+
value: string;
|
|
1066
1066
|
} | {
|
|
1067
1067
|
__TYPE__: "RepeatableContent";
|
|
1068
1068
|
type: "Link";
|
|
@@ -1104,14 +1104,6 @@ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent,
|
|
|
1104
1104
|
declare const CompositeSliceContentSchema: t.Type<{
|
|
1105
1105
|
__TYPE__: "CompositeSliceContent";
|
|
1106
1106
|
nonRepeat: Record<string, {
|
|
1107
|
-
type: string;
|
|
1108
|
-
__TYPE__: "EmptyContent";
|
|
1109
|
-
} | {
|
|
1110
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1111
|
-
value: string;
|
|
1112
|
-
} | {
|
|
1113
|
-
__TYPE__: "SeparatorContent";
|
|
1114
|
-
} | {
|
|
1115
1107
|
type: "Text";
|
|
1116
1108
|
value: string;
|
|
1117
1109
|
__TYPE__: "FieldContent";
|
|
@@ -1142,6 +1134,24 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1142
1134
|
} | {
|
|
1143
1135
|
__TYPE__: "BooleanContent";
|
|
1144
1136
|
value: boolean;
|
|
1137
|
+
} | {
|
|
1138
|
+
type: string;
|
|
1139
|
+
__TYPE__: "EmptyContent";
|
|
1140
|
+
} | {
|
|
1141
|
+
position: {
|
|
1142
|
+
lat: number;
|
|
1143
|
+
lng: number;
|
|
1144
|
+
};
|
|
1145
|
+
__TYPE__: "GeoPointContent";
|
|
1146
|
+
} | {
|
|
1147
|
+
__TYPE__: "LinkContent";
|
|
1148
|
+
key: string;
|
|
1149
|
+
value: {
|
|
1150
|
+
text?: string | undefined;
|
|
1151
|
+
variant?: string | undefined;
|
|
1152
|
+
} & LinkContentValue;
|
|
1153
|
+
} | {
|
|
1154
|
+
__TYPE__: "SeparatorContent";
|
|
1145
1155
|
} | {
|
|
1146
1156
|
embed_url: string;
|
|
1147
1157
|
type: string;
|
|
@@ -1158,12 +1168,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1158
1168
|
html?: string | null | undefined;
|
|
1159
1169
|
__TYPE__: "EmbedContent";
|
|
1160
1170
|
all: unknown;
|
|
1161
|
-
} | {
|
|
1162
|
-
position: {
|
|
1163
|
-
lat: number;
|
|
1164
|
-
lng: number;
|
|
1165
|
-
};
|
|
1166
|
-
__TYPE__: "GeoPointContent";
|
|
1167
1171
|
} | {
|
|
1168
1172
|
origin: {
|
|
1169
1173
|
id: string;
|
|
@@ -1209,12 +1213,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1209
1213
|
}> | undefined;
|
|
1210
1214
|
__TYPE__: "ImageContent";
|
|
1211
1215
|
} | {
|
|
1212
|
-
__TYPE__: "
|
|
1213
|
-
|
|
1214
|
-
value: {
|
|
1215
|
-
text?: string | undefined;
|
|
1216
|
-
variant?: string | undefined;
|
|
1217
|
-
} & LinkContentValue;
|
|
1216
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1217
|
+
value: string;
|
|
1218
1218
|
} | {
|
|
1219
1219
|
__TYPE__: "RepeatableContent";
|
|
1220
1220
|
type: "Link";
|
|
@@ -1249,14 +1249,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1249
1249
|
}, {
|
|
1250
1250
|
__TYPE__: "CompositeSliceContent";
|
|
1251
1251
|
nonRepeat: Record<string, {
|
|
1252
|
-
type: string;
|
|
1253
|
-
__TYPE__: "EmptyContent";
|
|
1254
|
-
} | {
|
|
1255
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1256
|
-
value: string;
|
|
1257
|
-
} | {
|
|
1258
|
-
__TYPE__: "SeparatorContent";
|
|
1259
|
-
} | {
|
|
1260
1252
|
type: "Text";
|
|
1261
1253
|
value: string;
|
|
1262
1254
|
__TYPE__: "FieldContent";
|
|
@@ -1287,6 +1279,24 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1287
1279
|
} | {
|
|
1288
1280
|
__TYPE__: "BooleanContent";
|
|
1289
1281
|
value: boolean;
|
|
1282
|
+
} | {
|
|
1283
|
+
type: string;
|
|
1284
|
+
__TYPE__: "EmptyContent";
|
|
1285
|
+
} | {
|
|
1286
|
+
position: {
|
|
1287
|
+
lat: number;
|
|
1288
|
+
lng: number;
|
|
1289
|
+
};
|
|
1290
|
+
__TYPE__: "GeoPointContent";
|
|
1291
|
+
} | {
|
|
1292
|
+
__TYPE__: "LinkContent";
|
|
1293
|
+
key: string;
|
|
1294
|
+
value: {
|
|
1295
|
+
text?: string | undefined;
|
|
1296
|
+
variant?: string | undefined;
|
|
1297
|
+
} & LinkContentValue;
|
|
1298
|
+
} | {
|
|
1299
|
+
__TYPE__: "SeparatorContent";
|
|
1290
1300
|
} | {
|
|
1291
1301
|
embed_url: string;
|
|
1292
1302
|
type: string;
|
|
@@ -1303,12 +1313,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1303
1313
|
html?: string | null | undefined;
|
|
1304
1314
|
__TYPE__: "EmbedContent";
|
|
1305
1315
|
all: unknown;
|
|
1306
|
-
} | {
|
|
1307
|
-
position: {
|
|
1308
|
-
lat: number;
|
|
1309
|
-
lng: number;
|
|
1310
|
-
};
|
|
1311
|
-
__TYPE__: "GeoPointContent";
|
|
1312
1316
|
} | {
|
|
1313
1317
|
origin: {
|
|
1314
1318
|
id: string;
|
|
@@ -1354,12 +1358,8 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1354
1358
|
}> | undefined;
|
|
1355
1359
|
__TYPE__: "ImageContent";
|
|
1356
1360
|
} | {
|
|
1357
|
-
__TYPE__: "
|
|
1358
|
-
|
|
1359
|
-
value: {
|
|
1360
|
-
text?: string | undefined;
|
|
1361
|
-
variant?: string | undefined;
|
|
1362
|
-
} & LinkContentValue;
|
|
1361
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1362
|
+
value: string;
|
|
1363
1363
|
} | {
|
|
1364
1364
|
__TYPE__: "RepeatableContent";
|
|
1365
1365
|
type: "Link";
|
|
@@ -1393,14 +1393,6 @@ declare const CompositeSliceContentSchema: t.Type<{
|
|
|
1393
1393
|
repeat: GroupItemContent[];
|
|
1394
1394
|
}, unknown>;
|
|
1395
1395
|
declare const LegacySliceContentSchema: t.Type<{
|
|
1396
|
-
type: string;
|
|
1397
|
-
__TYPE__: "EmptyContent";
|
|
1398
|
-
} | {
|
|
1399
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1400
|
-
value: string;
|
|
1401
|
-
} | {
|
|
1402
|
-
__TYPE__: "SeparatorContent";
|
|
1403
|
-
} | {
|
|
1404
1396
|
type: "Text";
|
|
1405
1397
|
value: string;
|
|
1406
1398
|
__TYPE__: "FieldContent";
|
|
@@ -1431,6 +1423,24 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1431
1423
|
} | {
|
|
1432
1424
|
__TYPE__: "BooleanContent";
|
|
1433
1425
|
value: boolean;
|
|
1426
|
+
} | {
|
|
1427
|
+
type: string;
|
|
1428
|
+
__TYPE__: "EmptyContent";
|
|
1429
|
+
} | {
|
|
1430
|
+
position: {
|
|
1431
|
+
lat: number;
|
|
1432
|
+
lng: number;
|
|
1433
|
+
};
|
|
1434
|
+
__TYPE__: "GeoPointContent";
|
|
1435
|
+
} | {
|
|
1436
|
+
__TYPE__: "LinkContent";
|
|
1437
|
+
key: string;
|
|
1438
|
+
value: {
|
|
1439
|
+
text?: string | undefined;
|
|
1440
|
+
variant?: string | undefined;
|
|
1441
|
+
} & LinkContentValue;
|
|
1442
|
+
} | {
|
|
1443
|
+
__TYPE__: "SeparatorContent";
|
|
1434
1444
|
} | {
|
|
1435
1445
|
embed_url: string;
|
|
1436
1446
|
type: string;
|
|
@@ -1447,12 +1457,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1447
1457
|
html?: string | null | undefined;
|
|
1448
1458
|
__TYPE__: "EmbedContent";
|
|
1449
1459
|
all: unknown;
|
|
1450
|
-
} | {
|
|
1451
|
-
position: {
|
|
1452
|
-
lat: number;
|
|
1453
|
-
lng: number;
|
|
1454
|
-
};
|
|
1455
|
-
__TYPE__: "GeoPointContent";
|
|
1456
1460
|
} | {
|
|
1457
1461
|
origin: {
|
|
1458
1462
|
id: string;
|
|
@@ -1498,12 +1502,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1498
1502
|
}> | undefined;
|
|
1499
1503
|
__TYPE__: "ImageContent";
|
|
1500
1504
|
} | {
|
|
1501
|
-
__TYPE__: "
|
|
1502
|
-
|
|
1503
|
-
value: {
|
|
1504
|
-
text?: string | undefined;
|
|
1505
|
-
variant?: string | undefined;
|
|
1506
|
-
} & LinkContentValue;
|
|
1505
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1506
|
+
value: string;
|
|
1507
1507
|
} | {
|
|
1508
1508
|
__TYPE__: "RepeatableContent";
|
|
1509
1509
|
type: "Link";
|
|
@@ -1537,14 +1537,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1537
1537
|
__TYPE__: "GroupContentType";
|
|
1538
1538
|
value: GroupItemContent[];
|
|
1539
1539
|
}, {
|
|
1540
|
-
type: string;
|
|
1541
|
-
__TYPE__: "EmptyContent";
|
|
1542
|
-
} | {
|
|
1543
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1544
|
-
value: string;
|
|
1545
|
-
} | {
|
|
1546
|
-
__TYPE__: "SeparatorContent";
|
|
1547
|
-
} | {
|
|
1548
1540
|
type: "Text";
|
|
1549
1541
|
value: string;
|
|
1550
1542
|
__TYPE__: "FieldContent";
|
|
@@ -1575,6 +1567,24 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1575
1567
|
} | {
|
|
1576
1568
|
__TYPE__: "BooleanContent";
|
|
1577
1569
|
value: boolean;
|
|
1570
|
+
} | {
|
|
1571
|
+
type: string;
|
|
1572
|
+
__TYPE__: "EmptyContent";
|
|
1573
|
+
} | {
|
|
1574
|
+
position: {
|
|
1575
|
+
lat: number;
|
|
1576
|
+
lng: number;
|
|
1577
|
+
};
|
|
1578
|
+
__TYPE__: "GeoPointContent";
|
|
1579
|
+
} | {
|
|
1580
|
+
__TYPE__: "LinkContent";
|
|
1581
|
+
key: string;
|
|
1582
|
+
value: {
|
|
1583
|
+
text?: string | undefined;
|
|
1584
|
+
variant?: string | undefined;
|
|
1585
|
+
} & LinkContentValue;
|
|
1586
|
+
} | {
|
|
1587
|
+
__TYPE__: "SeparatorContent";
|
|
1578
1588
|
} | {
|
|
1579
1589
|
embed_url: string;
|
|
1580
1590
|
type: string;
|
|
@@ -1591,12 +1601,6 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1591
1601
|
html?: string | null | undefined;
|
|
1592
1602
|
__TYPE__: "EmbedContent";
|
|
1593
1603
|
all: unknown;
|
|
1594
|
-
} | {
|
|
1595
|
-
position: {
|
|
1596
|
-
lat: number;
|
|
1597
|
-
lng: number;
|
|
1598
|
-
};
|
|
1599
|
-
__TYPE__: "GeoPointContent";
|
|
1600
1604
|
} | {
|
|
1601
1605
|
origin: {
|
|
1602
1606
|
id: string;
|
|
@@ -1642,12 +1646,8 @@ declare const LegacySliceContentSchema: t.Type<{
|
|
|
1642
1646
|
}> | undefined;
|
|
1643
1647
|
__TYPE__: "ImageContent";
|
|
1644
1648
|
} | {
|
|
1645
|
-
__TYPE__: "
|
|
1646
|
-
|
|
1647
|
-
value: {
|
|
1648
|
-
text?: string | undefined;
|
|
1649
|
-
variant?: string | undefined;
|
|
1650
|
-
} & LinkContentValue;
|
|
1649
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1650
|
+
value: string;
|
|
1651
1651
|
} | {
|
|
1652
1652
|
__TYPE__: "RepeatableContent";
|
|
1653
1653
|
type: "Link";
|
|
@@ -1687,14 +1687,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1687
1687
|
name: string;
|
|
1688
1688
|
maybeLabel?: string | undefined;
|
|
1689
1689
|
widget: {
|
|
1690
|
-
type: string;
|
|
1691
|
-
__TYPE__: "EmptyContent";
|
|
1692
|
-
} | {
|
|
1693
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1694
|
-
value: string;
|
|
1695
|
-
} | {
|
|
1696
|
-
__TYPE__: "SeparatorContent";
|
|
1697
|
-
} | {
|
|
1698
1690
|
type: "Text";
|
|
1699
1691
|
value: string;
|
|
1700
1692
|
__TYPE__: "FieldContent";
|
|
@@ -1725,6 +1717,24 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1725
1717
|
} | {
|
|
1726
1718
|
__TYPE__: "BooleanContent";
|
|
1727
1719
|
value: boolean;
|
|
1720
|
+
} | {
|
|
1721
|
+
type: string;
|
|
1722
|
+
__TYPE__: "EmptyContent";
|
|
1723
|
+
} | {
|
|
1724
|
+
position: {
|
|
1725
|
+
lat: number;
|
|
1726
|
+
lng: number;
|
|
1727
|
+
};
|
|
1728
|
+
__TYPE__: "GeoPointContent";
|
|
1729
|
+
} | {
|
|
1730
|
+
__TYPE__: "LinkContent";
|
|
1731
|
+
key: string;
|
|
1732
|
+
value: {
|
|
1733
|
+
text?: string | undefined;
|
|
1734
|
+
variant?: string | undefined;
|
|
1735
|
+
} & LinkContentValue;
|
|
1736
|
+
} | {
|
|
1737
|
+
__TYPE__: "SeparatorContent";
|
|
1728
1738
|
} | {
|
|
1729
1739
|
embed_url: string;
|
|
1730
1740
|
type: string;
|
|
@@ -1741,12 +1751,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1741
1751
|
html?: string | null | undefined;
|
|
1742
1752
|
__TYPE__: "EmbedContent";
|
|
1743
1753
|
all: unknown;
|
|
1744
|
-
} | {
|
|
1745
|
-
position: {
|
|
1746
|
-
lat: number;
|
|
1747
|
-
lng: number;
|
|
1748
|
-
};
|
|
1749
|
-
__TYPE__: "GeoPointContent";
|
|
1750
1754
|
} | {
|
|
1751
1755
|
origin: {
|
|
1752
1756
|
id: string;
|
|
@@ -1792,12 +1796,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1792
1796
|
}> | undefined;
|
|
1793
1797
|
__TYPE__: "ImageContent";
|
|
1794
1798
|
} | {
|
|
1795
|
-
__TYPE__: "
|
|
1796
|
-
|
|
1797
|
-
value: {
|
|
1798
|
-
text?: string | undefined;
|
|
1799
|
-
variant?: string | undefined;
|
|
1800
|
-
} & LinkContentValue;
|
|
1799
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1800
|
+
value: string;
|
|
1801
1801
|
} | {
|
|
1802
1802
|
__TYPE__: "RepeatableContent";
|
|
1803
1803
|
type: "Link";
|
|
@@ -1836,14 +1836,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1836
1836
|
name: string;
|
|
1837
1837
|
maybeLabel?: string | undefined;
|
|
1838
1838
|
widget: {
|
|
1839
|
-
type: string;
|
|
1840
|
-
__TYPE__: "EmptyContent";
|
|
1841
|
-
} | {
|
|
1842
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1843
|
-
value: string;
|
|
1844
|
-
} | {
|
|
1845
|
-
__TYPE__: "SeparatorContent";
|
|
1846
|
-
} | {
|
|
1847
1839
|
type: "Text";
|
|
1848
1840
|
value: string;
|
|
1849
1841
|
__TYPE__: "FieldContent";
|
|
@@ -1874,6 +1866,24 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1874
1866
|
} | {
|
|
1875
1867
|
__TYPE__: "BooleanContent";
|
|
1876
1868
|
value: boolean;
|
|
1869
|
+
} | {
|
|
1870
|
+
type: string;
|
|
1871
|
+
__TYPE__: "EmptyContent";
|
|
1872
|
+
} | {
|
|
1873
|
+
position: {
|
|
1874
|
+
lat: number;
|
|
1875
|
+
lng: number;
|
|
1876
|
+
};
|
|
1877
|
+
__TYPE__: "GeoPointContent";
|
|
1878
|
+
} | {
|
|
1879
|
+
__TYPE__: "LinkContent";
|
|
1880
|
+
key: string;
|
|
1881
|
+
value: {
|
|
1882
|
+
text?: string | undefined;
|
|
1883
|
+
variant?: string | undefined;
|
|
1884
|
+
} & LinkContentValue;
|
|
1885
|
+
} | {
|
|
1886
|
+
__TYPE__: "SeparatorContent";
|
|
1877
1887
|
} | {
|
|
1878
1888
|
embed_url: string;
|
|
1879
1889
|
type: string;
|
|
@@ -1890,12 +1900,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1890
1900
|
html?: string | null | undefined;
|
|
1891
1901
|
__TYPE__: "EmbedContent";
|
|
1892
1902
|
all: unknown;
|
|
1893
|
-
} | {
|
|
1894
|
-
position: {
|
|
1895
|
-
lat: number;
|
|
1896
|
-
lng: number;
|
|
1897
|
-
};
|
|
1898
|
-
__TYPE__: "GeoPointContent";
|
|
1899
1903
|
} | {
|
|
1900
1904
|
origin: {
|
|
1901
1905
|
id: string;
|
|
@@ -1941,12 +1945,8 @@ declare const LegacySliceItemContentSchema: t.Type<{
|
|
|
1941
1945
|
}> | undefined;
|
|
1942
1946
|
__TYPE__: "ImageContent";
|
|
1943
1947
|
} | {
|
|
1944
|
-
__TYPE__: "
|
|
1945
|
-
|
|
1946
|
-
value: {
|
|
1947
|
-
text?: string | undefined;
|
|
1948
|
-
variant?: string | undefined;
|
|
1949
|
-
} & LinkContentValue;
|
|
1948
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
1949
|
+
value: string;
|
|
1950
1950
|
} | {
|
|
1951
1951
|
__TYPE__: "RepeatableContent";
|
|
1952
1952
|
type: "Link";
|
|
@@ -1988,14 +1988,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
1988
1988
|
widget: {
|
|
1989
1989
|
__TYPE__: "CompositeSliceContent";
|
|
1990
1990
|
nonRepeat: Record<string, {
|
|
1991
|
-
type: string;
|
|
1992
|
-
__TYPE__: "EmptyContent";
|
|
1993
|
-
} | {
|
|
1994
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
1995
|
-
value: string;
|
|
1996
|
-
} | {
|
|
1997
|
-
__TYPE__: "SeparatorContent";
|
|
1998
|
-
} | {
|
|
1999
1991
|
type: "Text";
|
|
2000
1992
|
value: string;
|
|
2001
1993
|
__TYPE__: "FieldContent";
|
|
@@ -2026,6 +2018,24 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2026
2018
|
} | {
|
|
2027
2019
|
__TYPE__: "BooleanContent";
|
|
2028
2020
|
value: boolean;
|
|
2021
|
+
} | {
|
|
2022
|
+
type: string;
|
|
2023
|
+
__TYPE__: "EmptyContent";
|
|
2024
|
+
} | {
|
|
2025
|
+
position: {
|
|
2026
|
+
lat: number;
|
|
2027
|
+
lng: number;
|
|
2028
|
+
};
|
|
2029
|
+
__TYPE__: "GeoPointContent";
|
|
2030
|
+
} | {
|
|
2031
|
+
__TYPE__: "LinkContent";
|
|
2032
|
+
key: string;
|
|
2033
|
+
value: {
|
|
2034
|
+
text?: string | undefined;
|
|
2035
|
+
variant?: string | undefined;
|
|
2036
|
+
} & LinkContentValue;
|
|
2037
|
+
} | {
|
|
2038
|
+
__TYPE__: "SeparatorContent";
|
|
2029
2039
|
} | {
|
|
2030
2040
|
embed_url: string;
|
|
2031
2041
|
type: string;
|
|
@@ -2042,12 +2052,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2042
2052
|
html?: string | null | undefined;
|
|
2043
2053
|
__TYPE__: "EmbedContent";
|
|
2044
2054
|
all: unknown;
|
|
2045
|
-
} | {
|
|
2046
|
-
position: {
|
|
2047
|
-
lat: number;
|
|
2048
|
-
lng: number;
|
|
2049
|
-
};
|
|
2050
|
-
__TYPE__: "GeoPointContent";
|
|
2051
2055
|
} | {
|
|
2052
2056
|
origin: {
|
|
2053
2057
|
id: string;
|
|
@@ -2093,12 +2097,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2093
2097
|
}> | undefined;
|
|
2094
2098
|
__TYPE__: "ImageContent";
|
|
2095
2099
|
} | {
|
|
2096
|
-
__TYPE__: "
|
|
2097
|
-
|
|
2098
|
-
value: {
|
|
2099
|
-
text?: string | undefined;
|
|
2100
|
-
variant?: string | undefined;
|
|
2101
|
-
} & LinkContentValue;
|
|
2100
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2101
|
+
value: string;
|
|
2102
2102
|
} | {
|
|
2103
2103
|
__TYPE__: "RepeatableContent";
|
|
2104
2104
|
type: "Link";
|
|
@@ -2138,14 +2138,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2138
2138
|
widget: {
|
|
2139
2139
|
__TYPE__: "CompositeSliceContent";
|
|
2140
2140
|
nonRepeat: Record<string, {
|
|
2141
|
-
type: string;
|
|
2142
|
-
__TYPE__: "EmptyContent";
|
|
2143
|
-
} | {
|
|
2144
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2145
|
-
value: string;
|
|
2146
|
-
} | {
|
|
2147
|
-
__TYPE__: "SeparatorContent";
|
|
2148
|
-
} | {
|
|
2149
2141
|
type: "Text";
|
|
2150
2142
|
value: string;
|
|
2151
2143
|
__TYPE__: "FieldContent";
|
|
@@ -2170,12 +2162,30 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2170
2162
|
value: string;
|
|
2171
2163
|
__TYPE__: "FieldContent";
|
|
2172
2164
|
} | {
|
|
2173
|
-
type: "Select";
|
|
2174
|
-
value: string;
|
|
2175
|
-
__TYPE__: "FieldContent";
|
|
2165
|
+
type: "Select";
|
|
2166
|
+
value: string;
|
|
2167
|
+
__TYPE__: "FieldContent";
|
|
2168
|
+
} | {
|
|
2169
|
+
__TYPE__: "BooleanContent";
|
|
2170
|
+
value: boolean;
|
|
2171
|
+
} | {
|
|
2172
|
+
type: string;
|
|
2173
|
+
__TYPE__: "EmptyContent";
|
|
2174
|
+
} | {
|
|
2175
|
+
position: {
|
|
2176
|
+
lat: number;
|
|
2177
|
+
lng: number;
|
|
2178
|
+
};
|
|
2179
|
+
__TYPE__: "GeoPointContent";
|
|
2180
|
+
} | {
|
|
2181
|
+
__TYPE__: "LinkContent";
|
|
2182
|
+
key: string;
|
|
2183
|
+
value: {
|
|
2184
|
+
text?: string | undefined;
|
|
2185
|
+
variant?: string | undefined;
|
|
2186
|
+
} & LinkContentValue;
|
|
2176
2187
|
} | {
|
|
2177
|
-
__TYPE__: "
|
|
2178
|
-
value: boolean;
|
|
2188
|
+
__TYPE__: "SeparatorContent";
|
|
2179
2189
|
} | {
|
|
2180
2190
|
embed_url: string;
|
|
2181
2191
|
type: string;
|
|
@@ -2192,12 +2202,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2192
2202
|
html?: string | null | undefined;
|
|
2193
2203
|
__TYPE__: "EmbedContent";
|
|
2194
2204
|
all: unknown;
|
|
2195
|
-
} | {
|
|
2196
|
-
position: {
|
|
2197
|
-
lat: number;
|
|
2198
|
-
lng: number;
|
|
2199
|
-
};
|
|
2200
|
-
__TYPE__: "GeoPointContent";
|
|
2201
2205
|
} | {
|
|
2202
2206
|
origin: {
|
|
2203
2207
|
id: string;
|
|
@@ -2243,12 +2247,8 @@ declare const CompositeSliceItemContentSchema: t.Type<{
|
|
|
2243
2247
|
}> | undefined;
|
|
2244
2248
|
__TYPE__: "ImageContent";
|
|
2245
2249
|
} | {
|
|
2246
|
-
__TYPE__: "
|
|
2247
|
-
|
|
2248
|
-
value: {
|
|
2249
|
-
text?: string | undefined;
|
|
2250
|
-
variant?: string | undefined;
|
|
2251
|
-
} & LinkContentValue;
|
|
2250
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2251
|
+
value: string;
|
|
2252
2252
|
} | {
|
|
2253
2253
|
__TYPE__: "RepeatableContent";
|
|
2254
2254
|
type: "Link";
|
|
@@ -2290,14 +2290,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2290
2290
|
__TYPE__: "SharedSliceContent";
|
|
2291
2291
|
variation: string;
|
|
2292
2292
|
primary: Record<string, {
|
|
2293
|
-
type: string;
|
|
2294
|
-
__TYPE__: "EmptyContent";
|
|
2295
|
-
} | {
|
|
2296
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2297
|
-
value: string;
|
|
2298
|
-
} | {
|
|
2299
|
-
__TYPE__: "SeparatorContent";
|
|
2300
|
-
} | {
|
|
2301
2293
|
type: "Text";
|
|
2302
2294
|
value: string;
|
|
2303
2295
|
__TYPE__: "FieldContent";
|
|
@@ -2328,6 +2320,24 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2328
2320
|
} | {
|
|
2329
2321
|
__TYPE__: "BooleanContent";
|
|
2330
2322
|
value: boolean;
|
|
2323
|
+
} | {
|
|
2324
|
+
type: string;
|
|
2325
|
+
__TYPE__: "EmptyContent";
|
|
2326
|
+
} | {
|
|
2327
|
+
position: {
|
|
2328
|
+
lat: number;
|
|
2329
|
+
lng: number;
|
|
2330
|
+
};
|
|
2331
|
+
__TYPE__: "GeoPointContent";
|
|
2332
|
+
} | {
|
|
2333
|
+
__TYPE__: "LinkContent";
|
|
2334
|
+
key: string;
|
|
2335
|
+
value: {
|
|
2336
|
+
text?: string | undefined;
|
|
2337
|
+
variant?: string | undefined;
|
|
2338
|
+
} & LinkContentValue;
|
|
2339
|
+
} | {
|
|
2340
|
+
__TYPE__: "SeparatorContent";
|
|
2331
2341
|
} | {
|
|
2332
2342
|
embed_url: string;
|
|
2333
2343
|
type: string;
|
|
@@ -2344,12 +2354,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2344
2354
|
html?: string | null | undefined;
|
|
2345
2355
|
__TYPE__: "EmbedContent";
|
|
2346
2356
|
all: unknown;
|
|
2347
|
-
} | {
|
|
2348
|
-
position: {
|
|
2349
|
-
lat: number;
|
|
2350
|
-
lng: number;
|
|
2351
|
-
};
|
|
2352
|
-
__TYPE__: "GeoPointContent";
|
|
2353
2357
|
} | {
|
|
2354
2358
|
origin: {
|
|
2355
2359
|
id: string;
|
|
@@ -2395,12 +2399,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2395
2399
|
}> | undefined;
|
|
2396
2400
|
__TYPE__: "ImageContent";
|
|
2397
2401
|
} | {
|
|
2398
|
-
__TYPE__: "
|
|
2399
|
-
|
|
2400
|
-
value: {
|
|
2401
|
-
text?: string | undefined;
|
|
2402
|
-
variant?: string | undefined;
|
|
2403
|
-
} & LinkContentValue;
|
|
2402
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2403
|
+
value: string;
|
|
2404
2404
|
} | {
|
|
2405
2405
|
__TYPE__: "RepeatableContent";
|
|
2406
2406
|
type: "Link";
|
|
@@ -2444,14 +2444,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2444
2444
|
__TYPE__: "SharedSliceContent";
|
|
2445
2445
|
variation: string;
|
|
2446
2446
|
primary: Record<string, {
|
|
2447
|
-
type: string;
|
|
2448
|
-
__TYPE__: "EmptyContent";
|
|
2449
|
-
} | {
|
|
2450
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
2451
|
-
value: string;
|
|
2452
|
-
} | {
|
|
2453
|
-
__TYPE__: "SeparatorContent";
|
|
2454
|
-
} | {
|
|
2455
2447
|
type: "Text";
|
|
2456
2448
|
value: string;
|
|
2457
2449
|
__TYPE__: "FieldContent";
|
|
@@ -2482,6 +2474,24 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2482
2474
|
} | {
|
|
2483
2475
|
__TYPE__: "BooleanContent";
|
|
2484
2476
|
value: boolean;
|
|
2477
|
+
} | {
|
|
2478
|
+
type: string;
|
|
2479
|
+
__TYPE__: "EmptyContent";
|
|
2480
|
+
} | {
|
|
2481
|
+
position: {
|
|
2482
|
+
lat: number;
|
|
2483
|
+
lng: number;
|
|
2484
|
+
};
|
|
2485
|
+
__TYPE__: "GeoPointContent";
|
|
2486
|
+
} | {
|
|
2487
|
+
__TYPE__: "LinkContent";
|
|
2488
|
+
key: string;
|
|
2489
|
+
value: {
|
|
2490
|
+
text?: string | undefined;
|
|
2491
|
+
variant?: string | undefined;
|
|
2492
|
+
} & LinkContentValue;
|
|
2493
|
+
} | {
|
|
2494
|
+
__TYPE__: "SeparatorContent";
|
|
2485
2495
|
} | {
|
|
2486
2496
|
embed_url: string;
|
|
2487
2497
|
type: string;
|
|
@@ -2498,12 +2508,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2498
2508
|
html?: string | null | undefined;
|
|
2499
2509
|
__TYPE__: "EmbedContent";
|
|
2500
2510
|
all: unknown;
|
|
2501
|
-
} | {
|
|
2502
|
-
position: {
|
|
2503
|
-
lat: number;
|
|
2504
|
-
lng: number;
|
|
2505
|
-
};
|
|
2506
|
-
__TYPE__: "GeoPointContent";
|
|
2507
2511
|
} | {
|
|
2508
2512
|
origin: {
|
|
2509
2513
|
id: string;
|
|
@@ -2549,12 +2553,8 @@ declare const SharedSliceItemContentSchema: t.Type<{
|
|
|
2549
2553
|
}> | undefined;
|
|
2550
2554
|
__TYPE__: "ImageContent";
|
|
2551
2555
|
} | {
|
|
2552
|
-
__TYPE__: "
|
|
2553
|
-
|
|
2554
|
-
value: {
|
|
2555
|
-
text?: string | undefined;
|
|
2556
|
-
variant?: string | undefined;
|
|
2557
|
-
} & LinkContentValue;
|
|
2556
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
2557
|
+
value: string;
|
|
2558
2558
|
} | {
|
|
2559
2559
|
__TYPE__: "RepeatableContent";
|
|
2560
2560
|
type: "Link";
|
|
@@ -3019,14 +3019,6 @@ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3019
3019
|
content: GroupLegacy$1;
|
|
3020
3020
|
}, unknown>;
|
|
3021
3021
|
declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3022
|
-
type: string;
|
|
3023
|
-
__TYPE__: "EmptyContent";
|
|
3024
|
-
} | {
|
|
3025
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3026
|
-
value: string;
|
|
3027
|
-
} | {
|
|
3028
|
-
__TYPE__: "SeparatorContent";
|
|
3029
|
-
} | {
|
|
3030
3022
|
type: "Text";
|
|
3031
3023
|
value: string;
|
|
3032
3024
|
__TYPE__: "FieldContent";
|
|
@@ -3057,6 +3049,24 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3057
3049
|
} | {
|
|
3058
3050
|
__TYPE__: "BooleanContent";
|
|
3059
3051
|
value: boolean;
|
|
3052
|
+
} | {
|
|
3053
|
+
type: string;
|
|
3054
|
+
__TYPE__: "EmptyContent";
|
|
3055
|
+
} | {
|
|
3056
|
+
position: {
|
|
3057
|
+
lat: number;
|
|
3058
|
+
lng: number;
|
|
3059
|
+
};
|
|
3060
|
+
__TYPE__: "GeoPointContent";
|
|
3061
|
+
} | {
|
|
3062
|
+
__TYPE__: "LinkContent";
|
|
3063
|
+
key: string;
|
|
3064
|
+
value: {
|
|
3065
|
+
text?: string | undefined;
|
|
3066
|
+
variant?: string | undefined;
|
|
3067
|
+
} & LinkContentValue;
|
|
3068
|
+
} | {
|
|
3069
|
+
__TYPE__: "SeparatorContent";
|
|
3060
3070
|
} | {
|
|
3061
3071
|
embed_url: string;
|
|
3062
3072
|
type: string;
|
|
@@ -3073,12 +3083,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3073
3083
|
html?: string | null | undefined;
|
|
3074
3084
|
__TYPE__: "EmbedContent";
|
|
3075
3085
|
all: unknown;
|
|
3076
|
-
} | {
|
|
3077
|
-
position: {
|
|
3078
|
-
lat: number;
|
|
3079
|
-
lng: number;
|
|
3080
|
-
};
|
|
3081
|
-
__TYPE__: "GeoPointContent";
|
|
3082
3086
|
} | {
|
|
3083
3087
|
origin: {
|
|
3084
3088
|
id: string;
|
|
@@ -3124,12 +3128,8 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3124
3128
|
}> | undefined;
|
|
3125
3129
|
__TYPE__: "ImageContent";
|
|
3126
3130
|
} | {
|
|
3127
|
-
__TYPE__: "
|
|
3128
|
-
|
|
3129
|
-
value: {
|
|
3130
|
-
text?: string | undefined;
|
|
3131
|
-
variant?: string | undefined;
|
|
3132
|
-
} & LinkContentValue;
|
|
3131
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3132
|
+
value: string;
|
|
3133
3133
|
} | {
|
|
3134
3134
|
__TYPE__: "RepeatableContent";
|
|
3135
3135
|
type: "Link";
|
|
@@ -3170,14 +3170,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3170
3170
|
declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
3171
3171
|
__TYPE__: "CompositeSliceContent";
|
|
3172
3172
|
nonRepeat: Record<string, {
|
|
3173
|
-
type: string;
|
|
3174
|
-
__TYPE__: "EmptyContent";
|
|
3175
|
-
} | {
|
|
3176
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3177
|
-
value: string;
|
|
3178
|
-
} | {
|
|
3179
|
-
__TYPE__: "SeparatorContent";
|
|
3180
|
-
} | {
|
|
3181
3173
|
type: "Text";
|
|
3182
3174
|
value: string;
|
|
3183
3175
|
__TYPE__: "FieldContent";
|
|
@@ -3208,6 +3200,24 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3208
3200
|
} | {
|
|
3209
3201
|
__TYPE__: "BooleanContent";
|
|
3210
3202
|
value: boolean;
|
|
3203
|
+
} | {
|
|
3204
|
+
type: string;
|
|
3205
|
+
__TYPE__: "EmptyContent";
|
|
3206
|
+
} | {
|
|
3207
|
+
position: {
|
|
3208
|
+
lat: number;
|
|
3209
|
+
lng: number;
|
|
3210
|
+
};
|
|
3211
|
+
__TYPE__: "GeoPointContent";
|
|
3212
|
+
} | {
|
|
3213
|
+
__TYPE__: "LinkContent";
|
|
3214
|
+
key: string;
|
|
3215
|
+
value: {
|
|
3216
|
+
text?: string | undefined;
|
|
3217
|
+
variant?: string | undefined;
|
|
3218
|
+
} & LinkContentValue;
|
|
3219
|
+
} | {
|
|
3220
|
+
__TYPE__: "SeparatorContent";
|
|
3211
3221
|
} | {
|
|
3212
3222
|
embed_url: string;
|
|
3213
3223
|
type: string;
|
|
@@ -3224,12 +3234,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3224
3234
|
html?: string | null | undefined;
|
|
3225
3235
|
__TYPE__: "EmbedContent";
|
|
3226
3236
|
all: unknown;
|
|
3227
|
-
} | {
|
|
3228
|
-
position: {
|
|
3229
|
-
lat: number;
|
|
3230
|
-
lng: number;
|
|
3231
|
-
};
|
|
3232
|
-
__TYPE__: "GeoPointContent";
|
|
3233
3237
|
} | {
|
|
3234
3238
|
origin: {
|
|
3235
3239
|
id: string;
|
|
@@ -3275,12 +3279,8 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3275
3279
|
}> | undefined;
|
|
3276
3280
|
__TYPE__: "ImageContent";
|
|
3277
3281
|
} | {
|
|
3278
|
-
__TYPE__: "
|
|
3279
|
-
|
|
3280
|
-
value: {
|
|
3281
|
-
text?: string | undefined;
|
|
3282
|
-
variant?: string | undefined;
|
|
3283
|
-
} & LinkContentValue;
|
|
3282
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3283
|
+
value: string;
|
|
3284
3284
|
} | {
|
|
3285
3285
|
__TYPE__: "RepeatableContent";
|
|
3286
3286
|
type: "Link";
|
|
@@ -3324,14 +3324,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3324
3324
|
__TYPE__: "SharedSliceContent";
|
|
3325
3325
|
variation: string;
|
|
3326
3326
|
primary: Record<string, {
|
|
3327
|
-
type: string;
|
|
3328
|
-
__TYPE__: "EmptyContent";
|
|
3329
|
-
} | {
|
|
3330
|
-
__TYPE__: "IntegrationFieldsContent";
|
|
3331
|
-
value: string;
|
|
3332
|
-
} | {
|
|
3333
|
-
__TYPE__: "SeparatorContent";
|
|
3334
|
-
} | {
|
|
3335
3327
|
type: "Text";
|
|
3336
3328
|
value: string;
|
|
3337
3329
|
__TYPE__: "FieldContent";
|
|
@@ -3362,6 +3354,24 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3362
3354
|
} | {
|
|
3363
3355
|
__TYPE__: "BooleanContent";
|
|
3364
3356
|
value: boolean;
|
|
3357
|
+
} | {
|
|
3358
|
+
type: string;
|
|
3359
|
+
__TYPE__: "EmptyContent";
|
|
3360
|
+
} | {
|
|
3361
|
+
position: {
|
|
3362
|
+
lat: number;
|
|
3363
|
+
lng: number;
|
|
3364
|
+
};
|
|
3365
|
+
__TYPE__: "GeoPointContent";
|
|
3366
|
+
} | {
|
|
3367
|
+
__TYPE__: "LinkContent";
|
|
3368
|
+
key: string;
|
|
3369
|
+
value: {
|
|
3370
|
+
text?: string | undefined;
|
|
3371
|
+
variant?: string | undefined;
|
|
3372
|
+
} & LinkContentValue;
|
|
3373
|
+
} | {
|
|
3374
|
+
__TYPE__: "SeparatorContent";
|
|
3365
3375
|
} | {
|
|
3366
3376
|
embed_url: string;
|
|
3367
3377
|
type: string;
|
|
@@ -3378,12 +3388,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3378
3388
|
html?: string | null | undefined;
|
|
3379
3389
|
__TYPE__: "EmbedContent";
|
|
3380
3390
|
all: unknown;
|
|
3381
|
-
} | {
|
|
3382
|
-
position: {
|
|
3383
|
-
lat: number;
|
|
3384
|
-
lng: number;
|
|
3385
|
-
};
|
|
3386
|
-
__TYPE__: "GeoPointContent";
|
|
3387
3391
|
} | {
|
|
3388
3392
|
origin: {
|
|
3389
3393
|
id: string;
|
|
@@ -3429,12 +3433,8 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3429
3433
|
}> | undefined;
|
|
3430
3434
|
__TYPE__: "ImageContent";
|
|
3431
3435
|
} | {
|
|
3432
|
-
__TYPE__: "
|
|
3433
|
-
|
|
3434
|
-
value: {
|
|
3435
|
-
text?: string | undefined;
|
|
3436
|
-
variant?: string | undefined;
|
|
3437
|
-
} & LinkContentValue;
|
|
3436
|
+
__TYPE__: "IntegrationFieldsContent";
|
|
3437
|
+
value: string;
|
|
3438
3438
|
} | {
|
|
3439
3439
|
__TYPE__: "RepeatableContent";
|
|
3440
3440
|
type: "Link";
|
|
@@ -3734,6 +3734,55 @@ declare const LinkModelSchema: t.Type<{
|
|
|
3734
3734
|
variants?: string[] | undefined;
|
|
3735
3735
|
} | undefined;
|
|
3736
3736
|
}, unknown>;
|
|
3737
|
+
declare const LinkConfigCustomtypesSchema: t.Type<(string | {
|
|
3738
|
+
id: string;
|
|
3739
|
+
fields: (string | {
|
|
3740
|
+
id: string;
|
|
3741
|
+
customtypes: (string | {
|
|
3742
|
+
id: string;
|
|
3743
|
+
fields: (string | {
|
|
3744
|
+
id: string;
|
|
3745
|
+
fields: string[];
|
|
3746
|
+
})[];
|
|
3747
|
+
})[];
|
|
3748
|
+
} | {
|
|
3749
|
+
id: string;
|
|
3750
|
+
fields: (string | {
|
|
3751
|
+
id: string;
|
|
3752
|
+
customtypes: (string | {
|
|
3753
|
+
id: string;
|
|
3754
|
+
fields: (string | {
|
|
3755
|
+
id: string;
|
|
3756
|
+
fields: string[];
|
|
3757
|
+
})[];
|
|
3758
|
+
})[];
|
|
3759
|
+
})[];
|
|
3760
|
+
})[];
|
|
3761
|
+
})[], (string | {
|
|
3762
|
+
id: string;
|
|
3763
|
+
fields: (string | {
|
|
3764
|
+
id: string;
|
|
3765
|
+
customtypes: (string | {
|
|
3766
|
+
id: string;
|
|
3767
|
+
fields: (string | {
|
|
3768
|
+
id: string;
|
|
3769
|
+
fields: string[];
|
|
3770
|
+
})[];
|
|
3771
|
+
})[];
|
|
3772
|
+
} | {
|
|
3773
|
+
id: string;
|
|
3774
|
+
fields: (string | {
|
|
3775
|
+
id: string;
|
|
3776
|
+
customtypes: (string | {
|
|
3777
|
+
id: string;
|
|
3778
|
+
fields: (string | {
|
|
3779
|
+
id: string;
|
|
3780
|
+
fields: string[];
|
|
3781
|
+
})[];
|
|
3782
|
+
})[];
|
|
3783
|
+
})[];
|
|
3784
|
+
})[];
|
|
3785
|
+
})[], unknown>;
|
|
3737
3786
|
declare const NestableModelSchema: t.Type<{
|
|
3738
3787
|
type: "Boolean";
|
|
3739
3788
|
config?: {
|
|
@@ -8702,6 +8751,7 @@ declare const StaticSlicesModelSchema: t.Type<{
|
|
|
8702
8751
|
}, unknown>;
|
|
8703
8752
|
declare const StaticWidgetModelSchema: t.Type<StaticWidgetModel, StaticWidgetModel, unknown>;
|
|
8704
8753
|
declare const DynamicWidgetModelSchema: t.Type<DynamicWidgetModel, DynamicWidgetModel, unknown>;
|
|
8754
|
+
declare const FieldOrSliceTypeSchema: t.Type<"Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", "Boolean" | "Choice" | "Color" | "Date" | "Embed" | "GeoPoint" | "Group" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "Repeatable.Link" | "Select" | "Separator" | "SharedSlice" | "Slice" | "Slices" | "StructuredText" | "Table" | "Text" | "Timestamp" | "UID", unknown>;
|
|
8705
8755
|
declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidgetModel>, Record<string, StaticWidgetModel>, unknown>;
|
|
8706
8756
|
declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
|
|
8707
8757
|
declare const StaticCustomTypeModelSchema: t.Type<{
|
|
@@ -8805,5 +8855,5 @@ declare const CustomTypeModelSchema: t.Type<{
|
|
|
8805
8855
|
schema: "@prismicio/types-internal@4.5.0";
|
|
8806
8856
|
}, unknown>;
|
|
8807
8857
|
//#endregion
|
|
8808
|
-
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
8858
|
+
export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FieldOrSliceTypeSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkConfigCustomtypesSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
|
|
8809
8859
|
//# sourceMappingURL=io-ts.d.ts.map
|