@prismicio/types-internal 2.8.0 → 2.9.0-alpha.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.
- package/lib/_internal/utils.d.ts +3 -2
- package/lib/content/Document.d.ts +1369 -61
- package/lib/content/LegacyContentCtx.d.ts +15 -0
- package/lib/content/fields/RepeatableContent.d.ts +236 -0
- package/lib/content/fields/RepeatableContent.js +97 -0
- package/lib/content/fields/WidgetContent.d.ts +1369 -61
- package/lib/content/fields/nestable/LinkContent.d.ts +23 -0
- package/lib/content/fields/nestable/LinkContent.js +23 -0
- package/lib/content/fields/nestable/NestableContent.d.ts +220 -2
- package/lib/content/fields/nestable/NestableContent.js +21 -2
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +438 -2
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +74 -0
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +440 -4
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +220 -2
- package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +221 -3
- package/lib/content/fields/slices/Slice/index.d.ts +735 -5
- package/lib/content/fields/slices/SliceItem.d.ts +734 -4
- package/lib/content/fields/slices/SlicesContent.d.ts +1098 -8
- package/lib/customtypes/CustomType.d.ts +18 -0
- package/lib/customtypes/Section.d.ts +18 -0
- package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
- package/lib/customtypes/diff/Variation.d.ts +8 -0
- package/lib/customtypes/widgets/Group.d.ts +6 -0
- package/lib/customtypes/widgets/Widget.d.ts +36 -0
- package/lib/customtypes/widgets/Widget.js +15 -0
- package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/Link.js +5 -1
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +3 -1
- package/lib/customtypes/widgets/nestable/NestableWidget.js +18 -1
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
- package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
- package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
- package/package.json +1 -1
- package/src/_internal/utils.ts +3 -1
- package/src/content/fields/RepeatableContent.ts +156 -0
- package/src/content/fields/nestable/LinkContent.ts +24 -0
- package/src/content/fields/nestable/NestableContent.ts +28 -3
- package/src/customtypes/widgets/Widget.ts +15 -0
- package/src/customtypes/widgets/nestable/Link.ts +5 -1
- package/src/customtypes/widgets/nestable/NestableWidget.ts +34 -16
|
@@ -181,6 +181,78 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
181
181
|
} & {
|
|
182
182
|
text: string;
|
|
183
183
|
});
|
|
184
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
185
|
+
__TYPE__: "RepeatableContent";
|
|
186
|
+
type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
|
|
187
|
+
value: {
|
|
188
|
+
__TYPE__: "LinkContent";
|
|
189
|
+
value: ({
|
|
190
|
+
__TYPE__: "ImageLink";
|
|
191
|
+
} & (({
|
|
192
|
+
kind: string;
|
|
193
|
+
id: string;
|
|
194
|
+
url: string;
|
|
195
|
+
height: string;
|
|
196
|
+
width: string;
|
|
197
|
+
size: string;
|
|
198
|
+
name: string;
|
|
199
|
+
} & {
|
|
200
|
+
date?: string | null | undefined;
|
|
201
|
+
} & {
|
|
202
|
+
text?: string;
|
|
203
|
+
}) | {
|
|
204
|
+
kind: "image";
|
|
205
|
+
text: string;
|
|
206
|
+
})) | ({
|
|
207
|
+
__TYPE__: "FileLink";
|
|
208
|
+
} & (({
|
|
209
|
+
kind: string;
|
|
210
|
+
id: string;
|
|
211
|
+
url: string;
|
|
212
|
+
name: string;
|
|
213
|
+
size: string;
|
|
214
|
+
} & {
|
|
215
|
+
date?: string | null | undefined;
|
|
216
|
+
} & {
|
|
217
|
+
text?: string;
|
|
218
|
+
}) | {
|
|
219
|
+
kind: "file";
|
|
220
|
+
text: string;
|
|
221
|
+
})) | ({
|
|
222
|
+
__TYPE__: "MediaLink";
|
|
223
|
+
} & {
|
|
224
|
+
kind: "media";
|
|
225
|
+
text: string;
|
|
226
|
+
}) | ({
|
|
227
|
+
__TYPE__: "DocumentLink";
|
|
228
|
+
} & (({
|
|
229
|
+
id: string;
|
|
230
|
+
} & {
|
|
231
|
+
text?: string;
|
|
232
|
+
}) | {
|
|
233
|
+
kind: "document";
|
|
234
|
+
text: string;
|
|
235
|
+
})) | ({
|
|
236
|
+
__TYPE__: "ExternalLink";
|
|
237
|
+
} & (({
|
|
238
|
+
url: string;
|
|
239
|
+
} & {
|
|
240
|
+
kind?: "web";
|
|
241
|
+
target?: string | null | undefined;
|
|
242
|
+
preview?: {
|
|
243
|
+
title?: string;
|
|
244
|
+
} | null | undefined;
|
|
245
|
+
} & {
|
|
246
|
+
text?: string;
|
|
247
|
+
}) | {
|
|
248
|
+
kind: "web";
|
|
249
|
+
text: string;
|
|
250
|
+
})) | ({
|
|
251
|
+
__TYPE__: "AnyLink";
|
|
252
|
+
} & {
|
|
253
|
+
text: string;
|
|
254
|
+
});
|
|
255
|
+
}[];
|
|
184
256
|
}> | import("fp-ts/lib/Either").Right<{
|
|
185
257
|
__TYPE__: "StructuredTextContent";
|
|
186
258
|
value: (({
|
|
@@ -336,7 +408,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
336
408
|
}))[];
|
|
337
409
|
}> | import("fp-ts/lib/Either").Right<{
|
|
338
410
|
__TYPE__: "SeparatorContent";
|
|
339
|
-
}> | import("fp-ts/lib/Either").Right<
|
|
411
|
+
}> | import("fp-ts/lib/Either").Right<{
|
|
340
412
|
__TYPE__: "CompositeSliceContent";
|
|
341
413
|
nonRepeat: {
|
|
342
414
|
[x: string]: {
|
|
@@ -519,6 +591,78 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
519
591
|
} & {
|
|
520
592
|
text: string;
|
|
521
593
|
});
|
|
594
|
+
} | {
|
|
595
|
+
__TYPE__: "RepeatableContent";
|
|
596
|
+
type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
|
|
597
|
+
value: {
|
|
598
|
+
__TYPE__: "LinkContent";
|
|
599
|
+
value: ({
|
|
600
|
+
__TYPE__: "ImageLink";
|
|
601
|
+
} & (({
|
|
602
|
+
kind: string;
|
|
603
|
+
id: string;
|
|
604
|
+
url: string;
|
|
605
|
+
height: string;
|
|
606
|
+
width: string;
|
|
607
|
+
size: string;
|
|
608
|
+
name: string;
|
|
609
|
+
} & {
|
|
610
|
+
date?: string | null | undefined;
|
|
611
|
+
} & {
|
|
612
|
+
text?: string;
|
|
613
|
+
}) | {
|
|
614
|
+
kind: "image";
|
|
615
|
+
text: string;
|
|
616
|
+
})) | ({
|
|
617
|
+
__TYPE__: "FileLink";
|
|
618
|
+
} & (({
|
|
619
|
+
kind: string;
|
|
620
|
+
id: string;
|
|
621
|
+
url: string;
|
|
622
|
+
name: string;
|
|
623
|
+
size: string;
|
|
624
|
+
} & {
|
|
625
|
+
date?: string | null | undefined;
|
|
626
|
+
} & {
|
|
627
|
+
text?: string;
|
|
628
|
+
}) | {
|
|
629
|
+
kind: "file";
|
|
630
|
+
text: string;
|
|
631
|
+
})) | ({
|
|
632
|
+
__TYPE__: "MediaLink";
|
|
633
|
+
} & {
|
|
634
|
+
kind: "media";
|
|
635
|
+
text: string;
|
|
636
|
+
}) | ({
|
|
637
|
+
__TYPE__: "DocumentLink";
|
|
638
|
+
} & (({
|
|
639
|
+
id: string;
|
|
640
|
+
} & {
|
|
641
|
+
text?: string;
|
|
642
|
+
}) | {
|
|
643
|
+
kind: "document";
|
|
644
|
+
text: string;
|
|
645
|
+
})) | ({
|
|
646
|
+
__TYPE__: "ExternalLink";
|
|
647
|
+
} & (({
|
|
648
|
+
url: string;
|
|
649
|
+
} & {
|
|
650
|
+
kind?: "web";
|
|
651
|
+
target?: string | null | undefined;
|
|
652
|
+
preview?: {
|
|
653
|
+
title?: string;
|
|
654
|
+
} | null | undefined;
|
|
655
|
+
} & {
|
|
656
|
+
text?: string;
|
|
657
|
+
}) | {
|
|
658
|
+
kind: "web";
|
|
659
|
+
text: string;
|
|
660
|
+
})) | ({
|
|
661
|
+
__TYPE__: "AnyLink";
|
|
662
|
+
} & {
|
|
663
|
+
text: string;
|
|
664
|
+
});
|
|
665
|
+
}[];
|
|
522
666
|
} | {
|
|
523
667
|
__TYPE__: "StructuredTextContent";
|
|
524
668
|
value: (({
|
|
@@ -859,6 +1003,78 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
859
1003
|
text: string;
|
|
860
1004
|
});
|
|
861
1005
|
} | {
|
|
1006
|
+
__TYPE__: "RepeatableContent";
|
|
1007
|
+
type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
|
|
1008
|
+
value: {
|
|
1009
|
+
__TYPE__: "LinkContent";
|
|
1010
|
+
value: ({
|
|
1011
|
+
__TYPE__: "ImageLink";
|
|
1012
|
+
} & (({
|
|
1013
|
+
kind: string;
|
|
1014
|
+
id: string;
|
|
1015
|
+
url: string;
|
|
1016
|
+
height: string;
|
|
1017
|
+
width: string;
|
|
1018
|
+
size: string;
|
|
1019
|
+
name: string;
|
|
1020
|
+
} & {
|
|
1021
|
+
date?: string | null | undefined;
|
|
1022
|
+
} & {
|
|
1023
|
+
text?: string;
|
|
1024
|
+
}) | {
|
|
1025
|
+
kind: "image";
|
|
1026
|
+
text: string;
|
|
1027
|
+
})) | ({
|
|
1028
|
+
__TYPE__: "FileLink";
|
|
1029
|
+
} & (({
|
|
1030
|
+
kind: string;
|
|
1031
|
+
id: string;
|
|
1032
|
+
url: string;
|
|
1033
|
+
name: string;
|
|
1034
|
+
size: string;
|
|
1035
|
+
} & {
|
|
1036
|
+
date?: string | null | undefined;
|
|
1037
|
+
} & {
|
|
1038
|
+
text?: string;
|
|
1039
|
+
}) | {
|
|
1040
|
+
kind: "file";
|
|
1041
|
+
text: string;
|
|
1042
|
+
})) | ({
|
|
1043
|
+
__TYPE__: "MediaLink";
|
|
1044
|
+
} & {
|
|
1045
|
+
kind: "media";
|
|
1046
|
+
text: string;
|
|
1047
|
+
}) | ({
|
|
1048
|
+
__TYPE__: "DocumentLink";
|
|
1049
|
+
} & (({
|
|
1050
|
+
id: string;
|
|
1051
|
+
} & {
|
|
1052
|
+
text?: string;
|
|
1053
|
+
}) | {
|
|
1054
|
+
kind: "document";
|
|
1055
|
+
text: string;
|
|
1056
|
+
})) | ({
|
|
1057
|
+
__TYPE__: "ExternalLink";
|
|
1058
|
+
} & (({
|
|
1059
|
+
url: string;
|
|
1060
|
+
} & {
|
|
1061
|
+
kind?: "web";
|
|
1062
|
+
target?: string | null | undefined;
|
|
1063
|
+
preview?: {
|
|
1064
|
+
title?: string;
|
|
1065
|
+
} | null | undefined;
|
|
1066
|
+
} & {
|
|
1067
|
+
text?: string;
|
|
1068
|
+
}) | {
|
|
1069
|
+
kind: "web";
|
|
1070
|
+
text: string;
|
|
1071
|
+
})) | ({
|
|
1072
|
+
__TYPE__: "AnyLink";
|
|
1073
|
+
} & {
|
|
1074
|
+
text: string;
|
|
1075
|
+
});
|
|
1076
|
+
}[];
|
|
1077
|
+
} | import("../..").GroupContent | {
|
|
862
1078
|
__TYPE__: "StructuredTextContent";
|
|
863
1079
|
value: (({
|
|
864
1080
|
type: "image";
|
|
@@ -1013,7 +1229,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1013
1229
|
}))[];
|
|
1014
1230
|
} | {
|
|
1015
1231
|
__TYPE__: "SeparatorContent";
|
|
1016
|
-
}
|
|
1232
|
+
}][];
|
|
1017
1233
|
}[];
|
|
1018
1234
|
}> | import("fp-ts/lib/Either").Right<{
|
|
1019
1235
|
__TYPE__: "SharedSliceContent";
|
|
@@ -1200,6 +1416,78 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1200
1416
|
text: string;
|
|
1201
1417
|
});
|
|
1202
1418
|
} | {
|
|
1419
|
+
__TYPE__: "RepeatableContent";
|
|
1420
|
+
type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
|
|
1421
|
+
value: {
|
|
1422
|
+
__TYPE__: "LinkContent";
|
|
1423
|
+
value: ({
|
|
1424
|
+
__TYPE__: "ImageLink";
|
|
1425
|
+
} & (({
|
|
1426
|
+
kind: string;
|
|
1427
|
+
id: string;
|
|
1428
|
+
url: string;
|
|
1429
|
+
height: string;
|
|
1430
|
+
width: string;
|
|
1431
|
+
size: string;
|
|
1432
|
+
name: string;
|
|
1433
|
+
} & {
|
|
1434
|
+
date?: string | null | undefined;
|
|
1435
|
+
} & {
|
|
1436
|
+
text?: string;
|
|
1437
|
+
}) | {
|
|
1438
|
+
kind: "image";
|
|
1439
|
+
text: string;
|
|
1440
|
+
})) | ({
|
|
1441
|
+
__TYPE__: "FileLink";
|
|
1442
|
+
} & (({
|
|
1443
|
+
kind: string;
|
|
1444
|
+
id: string;
|
|
1445
|
+
url: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
size: string;
|
|
1448
|
+
} & {
|
|
1449
|
+
date?: string | null | undefined;
|
|
1450
|
+
} & {
|
|
1451
|
+
text?: string;
|
|
1452
|
+
}) | {
|
|
1453
|
+
kind: "file";
|
|
1454
|
+
text: string;
|
|
1455
|
+
})) | ({
|
|
1456
|
+
__TYPE__: "MediaLink";
|
|
1457
|
+
} & {
|
|
1458
|
+
kind: "media";
|
|
1459
|
+
text: string;
|
|
1460
|
+
}) | ({
|
|
1461
|
+
__TYPE__: "DocumentLink";
|
|
1462
|
+
} & (({
|
|
1463
|
+
id: string;
|
|
1464
|
+
} & {
|
|
1465
|
+
text?: string;
|
|
1466
|
+
}) | {
|
|
1467
|
+
kind: "document";
|
|
1468
|
+
text: string;
|
|
1469
|
+
})) | ({
|
|
1470
|
+
__TYPE__: "ExternalLink";
|
|
1471
|
+
} & (({
|
|
1472
|
+
url: string;
|
|
1473
|
+
} & {
|
|
1474
|
+
kind?: "web";
|
|
1475
|
+
target?: string | null | undefined;
|
|
1476
|
+
preview?: {
|
|
1477
|
+
title?: string;
|
|
1478
|
+
} | null | undefined;
|
|
1479
|
+
} & {
|
|
1480
|
+
text?: string;
|
|
1481
|
+
}) | {
|
|
1482
|
+
kind: "web";
|
|
1483
|
+
text: string;
|
|
1484
|
+
})) | ({
|
|
1485
|
+
__TYPE__: "AnyLink";
|
|
1486
|
+
} & {
|
|
1487
|
+
text: string;
|
|
1488
|
+
});
|
|
1489
|
+
}[];
|
|
1490
|
+
} | import("../..").GroupContent | {
|
|
1203
1491
|
__TYPE__: "StructuredTextContent";
|
|
1204
1492
|
value: (({
|
|
1205
1493
|
type: "image";
|
|
@@ -1354,7 +1642,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1354
1642
|
}))[];
|
|
1355
1643
|
} | {
|
|
1356
1644
|
__TYPE__: "SeparatorContent";
|
|
1357
|
-
}
|
|
1645
|
+
};
|
|
1358
1646
|
};
|
|
1359
1647
|
items: {
|
|
1360
1648
|
__TYPE__: "GroupItemContent";
|
|
@@ -1539,6 +1827,78 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1539
1827
|
text: string;
|
|
1540
1828
|
});
|
|
1541
1829
|
} | {
|
|
1830
|
+
__TYPE__: "RepeatableContent";
|
|
1831
|
+
type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
|
|
1832
|
+
value: {
|
|
1833
|
+
__TYPE__: "LinkContent";
|
|
1834
|
+
value: ({
|
|
1835
|
+
__TYPE__: "ImageLink";
|
|
1836
|
+
} & (({
|
|
1837
|
+
kind: string;
|
|
1838
|
+
id: string;
|
|
1839
|
+
url: string;
|
|
1840
|
+
height: string;
|
|
1841
|
+
width: string;
|
|
1842
|
+
size: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
} & {
|
|
1845
|
+
date?: string | null | undefined;
|
|
1846
|
+
} & {
|
|
1847
|
+
text?: string;
|
|
1848
|
+
}) | {
|
|
1849
|
+
kind: "image";
|
|
1850
|
+
text: string;
|
|
1851
|
+
})) | ({
|
|
1852
|
+
__TYPE__: "FileLink";
|
|
1853
|
+
} & (({
|
|
1854
|
+
kind: string;
|
|
1855
|
+
id: string;
|
|
1856
|
+
url: string;
|
|
1857
|
+
name: string;
|
|
1858
|
+
size: string;
|
|
1859
|
+
} & {
|
|
1860
|
+
date?: string | null | undefined;
|
|
1861
|
+
} & {
|
|
1862
|
+
text?: string;
|
|
1863
|
+
}) | {
|
|
1864
|
+
kind: "file";
|
|
1865
|
+
text: string;
|
|
1866
|
+
})) | ({
|
|
1867
|
+
__TYPE__: "MediaLink";
|
|
1868
|
+
} & {
|
|
1869
|
+
kind: "media";
|
|
1870
|
+
text: string;
|
|
1871
|
+
}) | ({
|
|
1872
|
+
__TYPE__: "DocumentLink";
|
|
1873
|
+
} & (({
|
|
1874
|
+
id: string;
|
|
1875
|
+
} & {
|
|
1876
|
+
text?: string;
|
|
1877
|
+
}) | {
|
|
1878
|
+
kind: "document";
|
|
1879
|
+
text: string;
|
|
1880
|
+
})) | ({
|
|
1881
|
+
__TYPE__: "ExternalLink";
|
|
1882
|
+
} & (({
|
|
1883
|
+
url: string;
|
|
1884
|
+
} & {
|
|
1885
|
+
kind?: "web";
|
|
1886
|
+
target?: string | null | undefined;
|
|
1887
|
+
preview?: {
|
|
1888
|
+
title?: string;
|
|
1889
|
+
} | null | undefined;
|
|
1890
|
+
} & {
|
|
1891
|
+
text?: string;
|
|
1892
|
+
}) | {
|
|
1893
|
+
kind: "web";
|
|
1894
|
+
text: string;
|
|
1895
|
+
})) | ({
|
|
1896
|
+
__TYPE__: "AnyLink";
|
|
1897
|
+
} & {
|
|
1898
|
+
text: string;
|
|
1899
|
+
});
|
|
1900
|
+
}[];
|
|
1901
|
+
} | import("../..").GroupContent | {
|
|
1542
1902
|
__TYPE__: "StructuredTextContent";
|
|
1543
1903
|
value: (({
|
|
1544
1904
|
type: "image";
|
|
@@ -1693,9 +2053,9 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1693
2053
|
}))[];
|
|
1694
2054
|
} | {
|
|
1695
2055
|
__TYPE__: "SeparatorContent";
|
|
1696
|
-
}
|
|
2056
|
+
}][];
|
|
1697
2057
|
}[];
|
|
1698
|
-
}> | undefined;
|
|
2058
|
+
}> | import("fp-ts/lib/Either").Right<import("../..").GroupContent> | undefined;
|
|
1699
2059
|
encode: (value: SliceContent) => import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
|
|
1700
2060
|
};
|
|
1701
2061
|
export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -2121,6 +2481,80 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2121
2481
|
}>]>>]>>;
|
|
2122
2482
|
}>>, t.ExactC<t.TypeC<{
|
|
2123
2483
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2484
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2485
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2486
|
+
type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
|
|
2487
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2488
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2489
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2490
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2491
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2492
|
+
kind: t.StringC;
|
|
2493
|
+
id: t.StringC;
|
|
2494
|
+
url: t.StringC;
|
|
2495
|
+
height: t.StringC;
|
|
2496
|
+
width: t.StringC;
|
|
2497
|
+
size: t.StringC;
|
|
2498
|
+
name: t.StringC;
|
|
2499
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2500
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2501
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
2502
|
+
text: t.StringC;
|
|
2503
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2504
|
+
kind: t.LiteralC<"image">;
|
|
2505
|
+
text: t.StringC;
|
|
2506
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2507
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
2508
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2509
|
+
kind: t.StringC;
|
|
2510
|
+
id: t.StringC;
|
|
2511
|
+
url: t.StringC;
|
|
2512
|
+
name: t.StringC;
|
|
2513
|
+
size: t.StringC;
|
|
2514
|
+
}>, t.PartialC<{
|
|
2515
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2516
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2517
|
+
text: t.StringC;
|
|
2518
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2519
|
+
kind: t.LiteralC<"file">;
|
|
2520
|
+
text: t.StringC;
|
|
2521
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2522
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
2523
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2524
|
+
id: t.Type<string, string, unknown>;
|
|
2525
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2526
|
+
text: t.StringC;
|
|
2527
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2528
|
+
kind: t.LiteralC<"document">;
|
|
2529
|
+
text: t.StringC;
|
|
2530
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2531
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
2532
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2533
|
+
url: t.StringC;
|
|
2534
|
+
}>, t.PartialC<{
|
|
2535
|
+
kind: t.LiteralC<"web">;
|
|
2536
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2537
|
+
preview: t.UnionC<[t.Type<{
|
|
2538
|
+
title?: string;
|
|
2539
|
+
}, {
|
|
2540
|
+
title?: string;
|
|
2541
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
2542
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
2543
|
+
text: t.StringC;
|
|
2544
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
2545
|
+
kind: t.LiteralC<"web">;
|
|
2546
|
+
text: t.StringC;
|
|
2547
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2548
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
2549
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2550
|
+
kind: t.LiteralC<"media">;
|
|
2551
|
+
text: t.StringC;
|
|
2552
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2553
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
2554
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2555
|
+
text: t.StringC;
|
|
2556
|
+
}>>]>]>;
|
|
2557
|
+
}>>>;
|
|
2124
2558
|
}>>]>>;
|
|
2125
2559
|
repeat: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2126
2560
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -2545,6 +2979,80 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2545
2979
|
}>]>>]>>;
|
|
2546
2980
|
}>>, t.ExactC<t.TypeC<{
|
|
2547
2981
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
2982
|
+
}>>, t.ExactC<t.TypeC<{
|
|
2983
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
2984
|
+
type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
|
|
2985
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2986
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
2987
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2988
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
2989
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
2990
|
+
kind: t.StringC;
|
|
2991
|
+
id: t.StringC;
|
|
2992
|
+
url: t.StringC;
|
|
2993
|
+
height: t.StringC;
|
|
2994
|
+
width: t.StringC;
|
|
2995
|
+
size: t.StringC;
|
|
2996
|
+
name: t.StringC;
|
|
2997
|
+
}>>, t.ExactC<t.PartialC<{
|
|
2998
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2999
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3000
|
+
text: t.StringC;
|
|
3001
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3002
|
+
kind: t.LiteralC<"image">;
|
|
3003
|
+
text: t.StringC;
|
|
3004
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3005
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3006
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3007
|
+
kind: t.StringC;
|
|
3008
|
+
id: t.StringC;
|
|
3009
|
+
url: t.StringC;
|
|
3010
|
+
name: t.StringC;
|
|
3011
|
+
size: t.StringC;
|
|
3012
|
+
}>, t.PartialC<{
|
|
3013
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3014
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3015
|
+
text: t.StringC;
|
|
3016
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3017
|
+
kind: t.LiteralC<"file">;
|
|
3018
|
+
text: t.StringC;
|
|
3019
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3020
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3021
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3022
|
+
id: t.Type<string, string, unknown>;
|
|
3023
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3024
|
+
text: t.StringC;
|
|
3025
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3026
|
+
kind: t.LiteralC<"document">;
|
|
3027
|
+
text: t.StringC;
|
|
3028
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3029
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3030
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3031
|
+
url: t.StringC;
|
|
3032
|
+
}>, t.PartialC<{
|
|
3033
|
+
kind: t.LiteralC<"web">;
|
|
3034
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3035
|
+
preview: t.UnionC<[t.Type<{
|
|
3036
|
+
title?: string;
|
|
3037
|
+
}, {
|
|
3038
|
+
title?: string;
|
|
3039
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3040
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3041
|
+
text: t.StringC;
|
|
3042
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3043
|
+
kind: t.LiteralC<"web">;
|
|
3044
|
+
text: t.StringC;
|
|
3045
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3046
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3047
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3048
|
+
kind: t.LiteralC<"media">;
|
|
3049
|
+
text: t.StringC;
|
|
3050
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3051
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3052
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3053
|
+
text: t.StringC;
|
|
3054
|
+
}>>]>]>;
|
|
3055
|
+
}>>>;
|
|
2548
3056
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
|
|
2549
3057
|
}>>>;
|
|
2550
3058
|
}>>, t.ExactC<t.TypeC<{
|
|
@@ -2971,6 +3479,80 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2971
3479
|
}>]>>]>>;
|
|
2972
3480
|
}>>, t.ExactC<t.TypeC<{
|
|
2973
3481
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3482
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3483
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3484
|
+
type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
|
|
3485
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3486
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3487
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3488
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3489
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3490
|
+
kind: t.StringC;
|
|
3491
|
+
id: t.StringC;
|
|
3492
|
+
url: t.StringC;
|
|
3493
|
+
height: t.StringC;
|
|
3494
|
+
width: t.StringC;
|
|
3495
|
+
size: t.StringC;
|
|
3496
|
+
name: t.StringC;
|
|
3497
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3498
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3499
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3500
|
+
text: t.StringC;
|
|
3501
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3502
|
+
kind: t.LiteralC<"image">;
|
|
3503
|
+
text: t.StringC;
|
|
3504
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3505
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
3506
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3507
|
+
kind: t.StringC;
|
|
3508
|
+
id: t.StringC;
|
|
3509
|
+
url: t.StringC;
|
|
3510
|
+
name: t.StringC;
|
|
3511
|
+
size: t.StringC;
|
|
3512
|
+
}>, t.PartialC<{
|
|
3513
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3514
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3515
|
+
text: t.StringC;
|
|
3516
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3517
|
+
kind: t.LiteralC<"file">;
|
|
3518
|
+
text: t.StringC;
|
|
3519
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3520
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
3521
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3522
|
+
id: t.Type<string, string, unknown>;
|
|
3523
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3524
|
+
text: t.StringC;
|
|
3525
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3526
|
+
kind: t.LiteralC<"document">;
|
|
3527
|
+
text: t.StringC;
|
|
3528
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3529
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
3530
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
3531
|
+
url: t.StringC;
|
|
3532
|
+
}>, t.PartialC<{
|
|
3533
|
+
kind: t.LiteralC<"web">;
|
|
3534
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3535
|
+
preview: t.UnionC<[t.Type<{
|
|
3536
|
+
title?: string;
|
|
3537
|
+
}, {
|
|
3538
|
+
title?: string;
|
|
3539
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
3540
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
3541
|
+
text: t.StringC;
|
|
3542
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
3543
|
+
kind: t.LiteralC<"web">;
|
|
3544
|
+
text: t.StringC;
|
|
3545
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3546
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
3547
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3548
|
+
kind: t.LiteralC<"media">;
|
|
3549
|
+
text: t.StringC;
|
|
3550
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3551
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
3552
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3553
|
+
text: t.StringC;
|
|
3554
|
+
}>>]>]>;
|
|
3555
|
+
}>>>;
|
|
2974
3556
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>>;
|
|
2975
3557
|
items: t.ArrayC<t.ExactC<t.TypeC<{
|
|
2976
3558
|
__TYPE__: t.LiteralC<"GroupItemContent">;
|
|
@@ -3395,6 +3977,80 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3395
3977
|
}>]>>]>>;
|
|
3396
3978
|
}>>, t.ExactC<t.TypeC<{
|
|
3397
3979
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
3980
|
+
}>>, t.ExactC<t.TypeC<{
|
|
3981
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
3982
|
+
type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
|
|
3983
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
3984
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
3985
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3986
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
3987
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
3988
|
+
kind: t.StringC;
|
|
3989
|
+
id: t.StringC;
|
|
3990
|
+
url: t.StringC;
|
|
3991
|
+
height: t.StringC;
|
|
3992
|
+
width: t.StringC;
|
|
3993
|
+
size: t.StringC;
|
|
3994
|
+
name: t.StringC;
|
|
3995
|
+
}>>, t.ExactC<t.PartialC<{
|
|
3996
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
3997
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
3998
|
+
text: t.StringC;
|
|
3999
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4000
|
+
kind: t.LiteralC<"image">;
|
|
4001
|
+
text: t.StringC;
|
|
4002
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4003
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
4004
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4005
|
+
kind: t.StringC;
|
|
4006
|
+
id: t.StringC;
|
|
4007
|
+
url: t.StringC;
|
|
4008
|
+
name: t.StringC;
|
|
4009
|
+
size: t.StringC;
|
|
4010
|
+
}>, t.PartialC<{
|
|
4011
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4012
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4013
|
+
text: t.StringC;
|
|
4014
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4015
|
+
kind: t.LiteralC<"file">;
|
|
4016
|
+
text: t.StringC;
|
|
4017
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4018
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
4019
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4020
|
+
id: t.Type<string, string, unknown>;
|
|
4021
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4022
|
+
text: t.StringC;
|
|
4023
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4024
|
+
kind: t.LiteralC<"document">;
|
|
4025
|
+
text: t.StringC;
|
|
4026
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4027
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
4028
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4029
|
+
url: t.StringC;
|
|
4030
|
+
}>, t.PartialC<{
|
|
4031
|
+
kind: t.LiteralC<"web">;
|
|
4032
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4033
|
+
preview: t.UnionC<[t.Type<{
|
|
4034
|
+
title?: string;
|
|
4035
|
+
}, {
|
|
4036
|
+
title?: string;
|
|
4037
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
4038
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4039
|
+
text: t.StringC;
|
|
4040
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4041
|
+
kind: t.LiteralC<"web">;
|
|
4042
|
+
text: t.StringC;
|
|
4043
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4044
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
4045
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4046
|
+
kind: t.LiteralC<"media">;
|
|
4047
|
+
text: t.StringC;
|
|
4048
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4049
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
4050
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4051
|
+
text: t.StringC;
|
|
4052
|
+
}>>]>]>;
|
|
4053
|
+
}>>>;
|
|
3398
4054
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>>;
|
|
3399
4055
|
}>>>;
|
|
3400
4056
|
}>>, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
@@ -3818,6 +4474,80 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3818
4474
|
}>]>>]>>;
|
|
3819
4475
|
}>>, t.ExactC<t.TypeC<{
|
|
3820
4476
|
__TYPE__: t.LiteralC<"SeparatorContent">;
|
|
4477
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4478
|
+
__TYPE__: t.LiteralC<"RepeatableContent">;
|
|
4479
|
+
type: t.UnionC<[t.LiteralC<"Color">, t.LiteralC<"Boolean">, t.LiteralC<"Embed">, t.LiteralC<"GeoPoint">, t.LiteralC<"Date">, t.LiteralC<"Number">, t.LiteralC<"Range">, t.LiteralC<"StructuredText">, t.LiteralC<"Select">, t.LiteralC<"Separator">, t.LiteralC<"Text">, t.LiteralC<"Timestamp">, t.LiteralC<"Link">, t.LiteralC<"Image">, t.LiteralC<"IntegrationFields">]>;
|
|
4480
|
+
value: t.ArrayC<t.ExactC<t.TypeC<{
|
|
4481
|
+
__TYPE__: t.LiteralC<"LinkContent">;
|
|
4482
|
+
value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4483
|
+
__TYPE__: t.LiteralC<"ImageLink">;
|
|
4484
|
+
}>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4485
|
+
kind: t.StringC;
|
|
4486
|
+
id: t.StringC;
|
|
4487
|
+
url: t.StringC;
|
|
4488
|
+
height: t.StringC;
|
|
4489
|
+
width: t.StringC;
|
|
4490
|
+
size: t.StringC;
|
|
4491
|
+
name: t.StringC;
|
|
4492
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4493
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4494
|
+
}>>]>, t.ExactC<t.PartialC<{
|
|
4495
|
+
text: t.StringC;
|
|
4496
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4497
|
+
kind: t.LiteralC<"image">;
|
|
4498
|
+
text: t.StringC;
|
|
4499
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4500
|
+
__TYPE__: t.LiteralC<"FileLink">;
|
|
4501
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4502
|
+
kind: t.StringC;
|
|
4503
|
+
id: t.StringC;
|
|
4504
|
+
url: t.StringC;
|
|
4505
|
+
name: t.StringC;
|
|
4506
|
+
size: t.StringC;
|
|
4507
|
+
}>, t.PartialC<{
|
|
4508
|
+
date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4509
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4510
|
+
text: t.StringC;
|
|
4511
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4512
|
+
kind: t.LiteralC<"file">;
|
|
4513
|
+
text: t.StringC;
|
|
4514
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4515
|
+
__TYPE__: t.LiteralC<"DocumentLink">;
|
|
4516
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4517
|
+
id: t.Type<string, string, unknown>;
|
|
4518
|
+
}>>, t.ExactC<t.PartialC<{
|
|
4519
|
+
text: t.StringC;
|
|
4520
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4521
|
+
kind: t.LiteralC<"document">;
|
|
4522
|
+
text: t.StringC;
|
|
4523
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4524
|
+
__TYPE__: t.LiteralC<"ExternalLink">;
|
|
4525
|
+
}>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
4526
|
+
url: t.StringC;
|
|
4527
|
+
}>, t.PartialC<{
|
|
4528
|
+
kind: t.LiteralC<"web">;
|
|
4529
|
+
target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
4530
|
+
preview: t.UnionC<[t.Type<{
|
|
4531
|
+
title?: string;
|
|
4532
|
+
}, {
|
|
4533
|
+
title?: string;
|
|
4534
|
+
}, unknown>, t.NullC, t.UndefinedC]>;
|
|
4535
|
+
}>]>>, t.ExactC<t.PartialC<{
|
|
4536
|
+
text: t.StringC;
|
|
4537
|
+
}>>]>, t.ExactC<t.TypeC<{
|
|
4538
|
+
kind: t.LiteralC<"web">;
|
|
4539
|
+
text: t.StringC;
|
|
4540
|
+
}>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4541
|
+
__TYPE__: t.LiteralC<"MediaLink">;
|
|
4542
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4543
|
+
kind: t.LiteralC<"media">;
|
|
4544
|
+
text: t.StringC;
|
|
4545
|
+
}>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
|
|
4546
|
+
__TYPE__: t.LiteralC<"AnyLink">;
|
|
4547
|
+
}>>, t.ExactC<t.TypeC<{
|
|
4548
|
+
text: t.StringC;
|
|
4549
|
+
}>>]>]>;
|
|
4550
|
+
}>>>;
|
|
3821
4551
|
}>>]>, t.Type<import("../..").GroupContent, import("../..").GroupContent, unknown>]>]>;
|
|
3822
4552
|
export declare type SliceContent = t.TypeOf<typeof SliceContent>;
|
|
3823
4553
|
export * from "./CompositeSliceContent";
|