@prismicio/types-internal 2.9.0-alpha.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/_internal/utils.d.ts +2 -3
  2. package/lib/content/Document.d.ts +212 -1520
  3. package/lib/content/Document.js +0 -11
  4. package/lib/content/LegacyContentCtx.d.ts +2 -2
  5. package/lib/content/LegacyContentCtx.js +1 -4
  6. package/lib/content/fields/GroupContent.js +0 -13
  7. package/lib/content/fields/WidgetContent.d.ts +186 -1494
  8. package/lib/content/fields/index.d.ts +0 -1
  9. package/lib/content/fields/index.js +0 -1
  10. package/lib/content/fields/nestable/LinkContent.d.ts +32 -32
  11. package/lib/content/fields/nestable/LinkContent.js +10 -2
  12. package/lib/content/fields/nestable/NestableContent.d.ts +22 -240
  13. package/lib/content/fields/nestable/NestableContent.js +1 -8
  14. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +106 -106
  15. package/lib/content/fields/nestable/RichTextContent/index.d.ts +20 -20
  16. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +46 -482
  17. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +10 -84
  18. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +48 -484
  19. package/lib/content/fields/slices/Slice/SharedSliceContent.js +4 -20
  20. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +23 -241
  21. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +23 -241
  22. package/lib/content/fields/slices/Slice/index.d.ts +85 -815
  23. package/lib/content/fields/slices/SliceItem.d.ts +84 -814
  24. package/lib/content/fields/slices/SlicesContent.d.ts +118 -1208
  25. package/lib/customtypes/CustomType.d.ts +0 -18
  26. package/lib/customtypes/Section.d.ts +0 -18
  27. package/lib/customtypes/diff/SharedSlice.d.ts +0 -8
  28. package/lib/customtypes/diff/Variation.d.ts +0 -8
  29. package/lib/customtypes/widgets/Group.d.ts +0 -6
  30. package/lib/customtypes/widgets/Widget.d.ts +0 -21
  31. package/lib/customtypes/widgets/nestable/Link.d.ts +0 -10
  32. package/lib/customtypes/widgets/nestable/Link.js +0 -5
  33. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -1
  34. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -2
  35. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -2
  36. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -8
  37. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -6
  38. package/lib/customtypes/widgets/slices/Slices.d.ts +0 -28
  39. package/package.json +1 -1
  40. package/src/_internal/utils.ts +1 -3
  41. package/src/content/Document.ts +0 -12
  42. package/src/content/LegacyContentCtx.ts +1 -4
  43. package/src/content/fields/GroupContent.ts +0 -13
  44. package/src/content/fields/index.ts +0 -1
  45. package/src/content/fields/nestable/LinkContent.ts +26 -2
  46. package/src/content/fields/nestable/NestableContent.ts +1 -12
  47. package/src/content/fields/slices/Slice/SharedSliceContent.ts +0 -18
  48. package/src/customtypes/widgets/nestable/Link.ts +0 -6
  49. package/src/content/fields/RepeatableContent.ts +0 -147
@@ -124,7 +124,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
124
124
  value: ({
125
125
  __TYPE__: "ImageLink";
126
126
  } & (({
127
- kind: string;
127
+ kind: "image";
128
128
  id: string;
129
129
  url: string;
130
130
  height: string;
@@ -141,7 +141,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
141
141
  })) | ({
142
142
  __TYPE__: "FileLink";
143
143
  } & (({
144
- kind: string;
144
+ kind: "file";
145
145
  id: string;
146
146
  url: string;
147
147
  name: string;
@@ -187,78 +187,6 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
187
187
  } & {
188
188
  text: string;
189
189
  });
190
- } | {
191
- __TYPE__: "RepeatableContent";
192
- type: "Link";
193
- value: {
194
- __TYPE__: "LinkContent";
195
- value: ({
196
- __TYPE__: "ImageLink";
197
- } & (({
198
- kind: string;
199
- id: string;
200
- url: string;
201
- height: string;
202
- width: string;
203
- size: string;
204
- name: string;
205
- } & {
206
- date?: string | null | undefined;
207
- } & {
208
- text?: string;
209
- }) | {
210
- kind: "image";
211
- text: string;
212
- })) | ({
213
- __TYPE__: "FileLink";
214
- } & (({
215
- kind: string;
216
- id: string;
217
- url: string;
218
- name: string;
219
- size: string;
220
- } & {
221
- date?: string | null | undefined;
222
- } & {
223
- text?: string;
224
- }) | {
225
- kind: "file";
226
- text: string;
227
- })) | ({
228
- __TYPE__: "MediaLink";
229
- } & {
230
- kind: "media";
231
- text: string;
232
- }) | ({
233
- __TYPE__: "DocumentLink";
234
- } & (({
235
- id: string;
236
- } & {
237
- text?: string;
238
- }) | {
239
- kind: "document";
240
- text: string;
241
- })) | ({
242
- __TYPE__: "ExternalLink";
243
- } & (({
244
- url: string;
245
- } & {
246
- kind?: "web";
247
- target?: string | null | undefined;
248
- preview?: {
249
- title?: string;
250
- } | null | undefined;
251
- } & {
252
- text?: string;
253
- }) | {
254
- kind: "web";
255
- text: string;
256
- })) | ({
257
- __TYPE__: "AnyLink";
258
- } & {
259
- text: string;
260
- });
261
- }[];
262
190
  } | {
263
191
  __TYPE__: "StructuredTextContent";
264
192
  value: (({
@@ -289,7 +217,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
289
217
  linkTo?: ({
290
218
  __TYPE__: "ImageLink";
291
219
  } & {
292
- kind: string;
220
+ kind: "image";
293
221
  id: string;
294
222
  url: string;
295
223
  height: string;
@@ -301,7 +229,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
301
229
  }) | ({
302
230
  __TYPE__: "FileLink";
303
231
  } & {
304
- kind: string;
232
+ kind: "file";
305
233
  id: string;
306
234
  url: string;
307
235
  name: string;
@@ -360,7 +288,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
360
288
  data: ({
361
289
  __TYPE__: "ImageLink";
362
290
  } & {
363
- kind: string;
291
+ kind: "image";
364
292
  id: string;
365
293
  url: string;
366
294
  height: string;
@@ -372,7 +300,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
372
300
  }) | ({
373
301
  __TYPE__: "FileLink";
374
302
  } & {
375
- kind: string;
303
+ kind: "file";
376
304
  id: string;
377
305
  url: string;
378
306
  name: string;
@@ -535,7 +463,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
535
463
  value: ({
536
464
  __TYPE__: "ImageLink";
537
465
  } & (({
538
- kind: string;
466
+ kind: "image";
539
467
  id: string;
540
468
  url: string;
541
469
  height: string;
@@ -552,7 +480,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
552
480
  })) | ({
553
481
  __TYPE__: "FileLink";
554
482
  } & (({
555
- kind: string;
483
+ kind: "file";
556
484
  id: string;
557
485
  url: string;
558
486
  name: string;
@@ -599,78 +527,6 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
599
527
  text: string;
600
528
  });
601
529
  } | {
602
- __TYPE__: "RepeatableContent";
603
- type: "Link";
604
- value: {
605
- __TYPE__: "LinkContent";
606
- value: ({
607
- __TYPE__: "ImageLink";
608
- } & (({
609
- kind: string;
610
- id: string;
611
- url: string;
612
- height: string;
613
- width: string;
614
- size: string;
615
- name: string;
616
- } & {
617
- date?: string | null | undefined;
618
- } & {
619
- text?: string;
620
- }) | {
621
- kind: "image";
622
- text: string;
623
- })) | ({
624
- __TYPE__: "FileLink";
625
- } & (({
626
- kind: string;
627
- id: string;
628
- url: string;
629
- name: string;
630
- size: string;
631
- } & {
632
- date?: string | null | undefined;
633
- } & {
634
- text?: string;
635
- }) | {
636
- kind: "file";
637
- text: string;
638
- })) | ({
639
- __TYPE__: "MediaLink";
640
- } & {
641
- kind: "media";
642
- text: string;
643
- }) | ({
644
- __TYPE__: "DocumentLink";
645
- } & (({
646
- id: string;
647
- } & {
648
- text?: string;
649
- }) | {
650
- kind: "document";
651
- text: string;
652
- })) | ({
653
- __TYPE__: "ExternalLink";
654
- } & (({
655
- url: string;
656
- } & {
657
- kind?: "web";
658
- target?: string | null | undefined;
659
- preview?: {
660
- title?: string;
661
- } | null | undefined;
662
- } & {
663
- text?: string;
664
- }) | {
665
- kind: "web";
666
- text: string;
667
- })) | ({
668
- __TYPE__: "AnyLink";
669
- } & {
670
- text: string;
671
- });
672
- }[];
673
- } | import("../../GroupContent").GroupContent | {
674
530
  __TYPE__: "StructuredTextContent";
675
531
  value: (({
676
532
  type: "image";
@@ -700,7 +556,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
700
556
  linkTo?: ({
701
557
  __TYPE__: "ImageLink";
702
558
  } & {
703
- kind: string;
559
+ kind: "image";
704
560
  id: string;
705
561
  url: string;
706
562
  height: string;
@@ -712,7 +568,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
712
568
  }) | ({
713
569
  __TYPE__: "FileLink";
714
570
  } & {
715
- kind: string;
571
+ kind: "file";
716
572
  id: string;
717
573
  url: string;
718
574
  name: string;
@@ -771,7 +627,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
771
627
  data: ({
772
628
  __TYPE__: "ImageLink";
773
629
  } & {
774
- kind: string;
630
+ kind: "image";
775
631
  id: string;
776
632
  url: string;
777
633
  height: string;
@@ -783,7 +639,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
783
639
  }) | ({
784
640
  __TYPE__: "FileLink";
785
641
  } & {
786
- kind: string;
642
+ kind: "file";
787
643
  id: string;
788
644
  url: string;
789
645
  name: string;
@@ -825,7 +681,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
825
681
  }))[];
826
682
  } | {
827
683
  __TYPE__: "SeparatorContent";
828
- }][];
684
+ } | import("../../GroupContent").GroupContent][];
829
685
  }[];
830
686
  };
831
687
  export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -948,7 +804,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
948
804
  value: ({
949
805
  __TYPE__: "ImageLink";
950
806
  } & (({
951
- kind: string;
807
+ kind: "image";
952
808
  id: string;
953
809
  url: string;
954
810
  height: string;
@@ -965,7 +821,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
965
821
  })) | ({
966
822
  __TYPE__: "FileLink";
967
823
  } & (({
968
- kind: string;
824
+ kind: "file";
969
825
  id: string;
970
826
  url: string;
971
827
  name: string;
@@ -1011,78 +867,6 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1011
867
  } & {
1012
868
  text: string;
1013
869
  });
1014
- } | {
1015
- __TYPE__: "RepeatableContent";
1016
- type: "Link";
1017
- value: {
1018
- __TYPE__: "LinkContent";
1019
- value: ({
1020
- __TYPE__: "ImageLink";
1021
- } & (({
1022
- kind: string;
1023
- id: string;
1024
- url: string;
1025
- height: string;
1026
- width: string;
1027
- size: string;
1028
- name: string;
1029
- } & {
1030
- date?: string | null | undefined;
1031
- } & {
1032
- text?: string;
1033
- }) | {
1034
- kind: "image";
1035
- text: string;
1036
- })) | ({
1037
- __TYPE__: "FileLink";
1038
- } & (({
1039
- kind: string;
1040
- id: string;
1041
- url: string;
1042
- name: string;
1043
- size: string;
1044
- } & {
1045
- date?: string | null | undefined;
1046
- } & {
1047
- text?: string;
1048
- }) | {
1049
- kind: "file";
1050
- text: string;
1051
- })) | ({
1052
- __TYPE__: "MediaLink";
1053
- } & {
1054
- kind: "media";
1055
- text: string;
1056
- }) | ({
1057
- __TYPE__: "DocumentLink";
1058
- } & (({
1059
- id: string;
1060
- } & {
1061
- text?: string;
1062
- }) | {
1063
- kind: "document";
1064
- text: string;
1065
- })) | ({
1066
- __TYPE__: "ExternalLink";
1067
- } & (({
1068
- url: string;
1069
- } & {
1070
- kind?: "web";
1071
- target?: string | null | undefined;
1072
- preview?: {
1073
- title?: string;
1074
- } | null | undefined;
1075
- } & {
1076
- text?: string;
1077
- }) | {
1078
- kind: "web";
1079
- text: string;
1080
- })) | ({
1081
- __TYPE__: "AnyLink";
1082
- } & {
1083
- text: string;
1084
- });
1085
- }[];
1086
870
  } | {
1087
871
  __TYPE__: "StructuredTextContent";
1088
872
  value: (({
@@ -1113,7 +897,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1113
897
  linkTo?: ({
1114
898
  __TYPE__: "ImageLink";
1115
899
  } & {
1116
- kind: string;
900
+ kind: "image";
1117
901
  id: string;
1118
902
  url: string;
1119
903
  height: string;
@@ -1125,7 +909,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1125
909
  }) | ({
1126
910
  __TYPE__: "FileLink";
1127
911
  } & {
1128
- kind: string;
912
+ kind: "file";
1129
913
  id: string;
1130
914
  url: string;
1131
915
  name: string;
@@ -1184,7 +968,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1184
968
  data: ({
1185
969
  __TYPE__: "ImageLink";
1186
970
  } & {
1187
- kind: string;
971
+ kind: "image";
1188
972
  id: string;
1189
973
  url: string;
1190
974
  height: string;
@@ -1196,7 +980,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1196
980
  }) | ({
1197
981
  __TYPE__: "FileLink";
1198
982
  } & {
1199
- kind: string;
983
+ kind: "file";
1200
984
  id: string;
1201
985
  url: string;
1202
986
  name: string;
@@ -1359,7 +1143,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1359
1143
  value: ({
1360
1144
  __TYPE__: "ImageLink";
1361
1145
  } & (({
1362
- kind: string;
1146
+ kind: "image";
1363
1147
  id: string;
1364
1148
  url: string;
1365
1149
  height: string;
@@ -1376,7 +1160,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1376
1160
  })) | ({
1377
1161
  __TYPE__: "FileLink";
1378
1162
  } & (({
1379
- kind: string;
1163
+ kind: "file";
1380
1164
  id: string;
1381
1165
  url: string;
1382
1166
  name: string;
@@ -1423,78 +1207,6 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1423
1207
  text: string;
1424
1208
  });
1425
1209
  } | {
1426
- __TYPE__: "RepeatableContent";
1427
- type: "Link";
1428
- value: {
1429
- __TYPE__: "LinkContent";
1430
- value: ({
1431
- __TYPE__: "ImageLink";
1432
- } & (({
1433
- kind: string;
1434
- id: string;
1435
- url: string;
1436
- height: string;
1437
- width: string;
1438
- size: string;
1439
- name: string;
1440
- } & {
1441
- date?: string | null | undefined;
1442
- } & {
1443
- text?: string;
1444
- }) | {
1445
- kind: "image";
1446
- text: string;
1447
- })) | ({
1448
- __TYPE__: "FileLink";
1449
- } & (({
1450
- kind: string;
1451
- id: string;
1452
- url: string;
1453
- name: string;
1454
- size: string;
1455
- } & {
1456
- date?: string | null | undefined;
1457
- } & {
1458
- text?: string;
1459
- }) | {
1460
- kind: "file";
1461
- text: string;
1462
- })) | ({
1463
- __TYPE__: "MediaLink";
1464
- } & {
1465
- kind: "media";
1466
- text: string;
1467
- }) | ({
1468
- __TYPE__: "DocumentLink";
1469
- } & (({
1470
- id: string;
1471
- } & {
1472
- text?: string;
1473
- }) | {
1474
- kind: "document";
1475
- text: string;
1476
- })) | ({
1477
- __TYPE__: "ExternalLink";
1478
- } & (({
1479
- url: string;
1480
- } & {
1481
- kind?: "web";
1482
- target?: string | null | undefined;
1483
- preview?: {
1484
- title?: string;
1485
- } | null | undefined;
1486
- } & {
1487
- text?: string;
1488
- }) | {
1489
- kind: "web";
1490
- text: string;
1491
- })) | ({
1492
- __TYPE__: "AnyLink";
1493
- } & {
1494
- text: string;
1495
- });
1496
- }[];
1497
- } | import("../../GroupContent").GroupContent | {
1498
1210
  __TYPE__: "StructuredTextContent";
1499
1211
  value: (({
1500
1212
  type: "image";
@@ -1524,7 +1236,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1524
1236
  linkTo?: ({
1525
1237
  __TYPE__: "ImageLink";
1526
1238
  } & {
1527
- kind: string;
1239
+ kind: "image";
1528
1240
  id: string;
1529
1241
  url: string;
1530
1242
  height: string;
@@ -1536,7 +1248,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1536
1248
  }) | ({
1537
1249
  __TYPE__: "FileLink";
1538
1250
  } & {
1539
- kind: string;
1251
+ kind: "file";
1540
1252
  id: string;
1541
1253
  url: string;
1542
1254
  name: string;
@@ -1595,7 +1307,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1595
1307
  data: ({
1596
1308
  __TYPE__: "ImageLink";
1597
1309
  } & {
1598
- kind: string;
1310
+ kind: "image";
1599
1311
  id: string;
1600
1312
  url: string;
1601
1313
  height: string;
@@ -1607,7 +1319,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1607
1319
  }) | ({
1608
1320
  __TYPE__: "FileLink";
1609
1321
  } & {
1610
- kind: string;
1322
+ kind: "file";
1611
1323
  id: string;
1612
1324
  url: string;
1613
1325
  name: string;
@@ -1649,7 +1361,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1649
1361
  }))[];
1650
1362
  } | {
1651
1363
  __TYPE__: "SeparatorContent";
1652
- }][];
1364
+ } | import("../../GroupContent").GroupContent][];
1653
1365
  }[];
1654
1366
  }, WithTypes<{
1655
1367
  repeat?: unknown[];
@@ -1774,7 +1486,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1774
1486
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1775
1487
  __TYPE__: t.LiteralC<"ImageLink">;
1776
1488
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
1777
- kind: t.StringC;
1489
+ kind: t.Type<"image", "image", unknown>;
1778
1490
  id: t.StringC;
1779
1491
  url: t.StringC;
1780
1492
  height: t.StringC;
@@ -1791,7 +1503,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1791
1503
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1792
1504
  __TYPE__: t.LiteralC<"FileLink">;
1793
1505
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1794
- kind: t.StringC;
1506
+ kind: t.Type<"file", "file", unknown>;
1795
1507
  id: t.StringC;
1796
1508
  url: t.StringC;
1797
1509
  name: t.StringC;
@@ -1869,7 +1581,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1869
1581
  linkTo: t.UnionC<[t.Type<({
1870
1582
  __TYPE__: "ImageLink";
1871
1583
  } & {
1872
- kind: string;
1584
+ kind: "image";
1873
1585
  id: string;
1874
1586
  url: string;
1875
1587
  height: string;
@@ -1881,7 +1593,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1881
1593
  }) | ({
1882
1594
  __TYPE__: "FileLink";
1883
1595
  } & {
1884
- kind: string;
1596
+ kind: "file";
1885
1597
  id: string;
1886
1598
  url: string;
1887
1599
  name: string;
@@ -1905,7 +1617,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1905
1617
  }), ({
1906
1618
  __TYPE__: "ImageLink";
1907
1619
  } & {
1908
- kind: string;
1620
+ kind: "image";
1909
1621
  id: string;
1910
1622
  url: string;
1911
1623
  height: string;
@@ -1917,7 +1629,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1917
1629
  }) | ({
1918
1630
  __TYPE__: "FileLink";
1919
1631
  } & {
1920
- kind: string;
1632
+ kind: "file";
1921
1633
  id: string;
1922
1634
  url: string;
1923
1635
  name: string;
@@ -1976,7 +1688,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1976
1688
  data: ({
1977
1689
  __TYPE__: "ImageLink";
1978
1690
  } & {
1979
- kind: string;
1691
+ kind: "image";
1980
1692
  id: string;
1981
1693
  url: string;
1982
1694
  height: string;
@@ -1988,7 +1700,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
1988
1700
  }) | ({
1989
1701
  __TYPE__: "FileLink";
1990
1702
  } & {
1991
- kind: string;
1703
+ kind: "file";
1992
1704
  id: string;
1993
1705
  url: string;
1994
1706
  name: string;
@@ -2026,7 +1738,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2026
1738
  data: ({
2027
1739
  __TYPE__: "ImageLink";
2028
1740
  } & {
2029
- kind: string;
1741
+ kind: "image";
2030
1742
  id: string;
2031
1743
  url: string;
2032
1744
  height: string;
@@ -2038,7 +1750,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2038
1750
  }) | ({
2039
1751
  __TYPE__: "FileLink";
2040
1752
  } & {
2041
- kind: string;
1753
+ kind: "file";
2042
1754
  id: string;
2043
1755
  url: string;
2044
1756
  name: string;
@@ -2080,80 +1792,6 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2080
1792
  }>]>>]>>;
2081
1793
  }>>, t.ExactC<t.TypeC<{
2082
1794
  __TYPE__: t.LiteralC<"SeparatorContent">;
2083
- }>>, t.ExactC<t.TypeC<{
2084
- __TYPE__: t.LiteralC<"RepeatableContent">;
2085
- type: t.LiteralC<"Link">;
2086
- value: t.ArrayC<t.ExactC<t.TypeC<{
2087
- __TYPE__: t.LiteralC<"LinkContent">;
2088
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2089
- __TYPE__: t.LiteralC<"ImageLink">;
2090
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2091
- kind: t.StringC;
2092
- id: t.StringC;
2093
- url: t.StringC;
2094
- height: t.StringC;
2095
- width: t.StringC;
2096
- size: t.StringC;
2097
- name: t.StringC;
2098
- }>>, t.ExactC<t.PartialC<{
2099
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2100
- }>>]>, t.ExactC<t.PartialC<{
2101
- text: t.StringC;
2102
- }>>]>, t.ExactC<t.TypeC<{
2103
- kind: t.LiteralC<"image">;
2104
- text: t.StringC;
2105
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2106
- __TYPE__: t.LiteralC<"FileLink">;
2107
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2108
- kind: t.StringC;
2109
- id: t.StringC;
2110
- url: t.StringC;
2111
- name: t.StringC;
2112
- size: t.StringC;
2113
- }>, t.PartialC<{
2114
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2115
- }>]>>, t.ExactC<t.PartialC<{
2116
- text: t.StringC;
2117
- }>>]>, t.ExactC<t.TypeC<{
2118
- kind: t.LiteralC<"file">;
2119
- text: t.StringC;
2120
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2121
- __TYPE__: t.LiteralC<"DocumentLink">;
2122
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2123
- id: t.Type<string, string, unknown>;
2124
- }>>, t.ExactC<t.PartialC<{
2125
- text: t.StringC;
2126
- }>>]>, t.ExactC<t.TypeC<{
2127
- kind: t.LiteralC<"document">;
2128
- text: t.StringC;
2129
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2130
- __TYPE__: t.LiteralC<"ExternalLink">;
2131
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2132
- url: t.StringC;
2133
- }>, t.PartialC<{
2134
- kind: t.LiteralC<"web">;
2135
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2136
- preview: t.UnionC<[t.Type<{
2137
- title?: string;
2138
- }, {
2139
- title?: string;
2140
- }, unknown>, t.NullC, t.UndefinedC]>;
2141
- }>]>>, t.ExactC<t.PartialC<{
2142
- text: t.StringC;
2143
- }>>]>, t.ExactC<t.TypeC<{
2144
- kind: t.LiteralC<"web">;
2145
- text: t.StringC;
2146
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2147
- __TYPE__: t.LiteralC<"MediaLink">;
2148
- }>>, t.ExactC<t.TypeC<{
2149
- kind: t.LiteralC<"media">;
2150
- text: t.StringC;
2151
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2152
- __TYPE__: t.LiteralC<"AnyLink">;
2153
- }>>, t.ExactC<t.TypeC<{
2154
- text: t.StringC;
2155
- }>>]>]>;
2156
- }>>>;
2157
1795
  }>>]>>;
2158
1796
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
2159
1797
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -2272,7 +1910,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2272
1910
  value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2273
1911
  __TYPE__: t.LiteralC<"ImageLink">;
2274
1912
  }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2275
- kind: t.StringC;
1913
+ kind: t.Type<"image", "image", unknown>;
2276
1914
  id: t.StringC;
2277
1915
  url: t.StringC;
2278
1916
  height: t.StringC;
@@ -2289,7 +1927,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2289
1927
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2290
1928
  __TYPE__: t.LiteralC<"FileLink">;
2291
1929
  }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2292
- kind: t.StringC;
1930
+ kind: t.Type<"file", "file", unknown>;
2293
1931
  id: t.StringC;
2294
1932
  url: t.StringC;
2295
1933
  name: t.StringC;
@@ -2367,7 +2005,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2367
2005
  linkTo: t.UnionC<[t.Type<({
2368
2006
  __TYPE__: "ImageLink";
2369
2007
  } & {
2370
- kind: string;
2008
+ kind: "image";
2371
2009
  id: string;
2372
2010
  url: string;
2373
2011
  height: string;
@@ -2379,7 +2017,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2379
2017
  }) | ({
2380
2018
  __TYPE__: "FileLink";
2381
2019
  } & {
2382
- kind: string;
2020
+ kind: "file";
2383
2021
  id: string;
2384
2022
  url: string;
2385
2023
  name: string;
@@ -2403,7 +2041,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2403
2041
  }), ({
2404
2042
  __TYPE__: "ImageLink";
2405
2043
  } & {
2406
- kind: string;
2044
+ kind: "image";
2407
2045
  id: string;
2408
2046
  url: string;
2409
2047
  height: string;
@@ -2415,7 +2053,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2415
2053
  }) | ({
2416
2054
  __TYPE__: "FileLink";
2417
2055
  } & {
2418
- kind: string;
2056
+ kind: "file";
2419
2057
  id: string;
2420
2058
  url: string;
2421
2059
  name: string;
@@ -2474,7 +2112,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2474
2112
  data: ({
2475
2113
  __TYPE__: "ImageLink";
2476
2114
  } & {
2477
- kind: string;
2115
+ kind: "image";
2478
2116
  id: string;
2479
2117
  url: string;
2480
2118
  height: string;
@@ -2486,7 +2124,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2486
2124
  }) | ({
2487
2125
  __TYPE__: "FileLink";
2488
2126
  } & {
2489
- kind: string;
2127
+ kind: "file";
2490
2128
  id: string;
2491
2129
  url: string;
2492
2130
  name: string;
@@ -2524,7 +2162,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2524
2162
  data: ({
2525
2163
  __TYPE__: "ImageLink";
2526
2164
  } & {
2527
- kind: string;
2165
+ kind: "image";
2528
2166
  id: string;
2529
2167
  url: string;
2530
2168
  height: string;
@@ -2536,7 +2174,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2536
2174
  }) | ({
2537
2175
  __TYPE__: "FileLink";
2538
2176
  } & {
2539
- kind: string;
2177
+ kind: "file";
2540
2178
  id: string;
2541
2179
  url: string;
2542
2180
  name: string;
@@ -2578,80 +2216,6 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
2578
2216
  }>]>>]>>;
2579
2217
  }>>, t.ExactC<t.TypeC<{
2580
2218
  __TYPE__: t.LiteralC<"SeparatorContent">;
2581
- }>>, t.ExactC<t.TypeC<{
2582
- __TYPE__: t.LiteralC<"RepeatableContent">;
2583
- type: t.LiteralC<"Link">;
2584
- value: t.ArrayC<t.ExactC<t.TypeC<{
2585
- __TYPE__: t.LiteralC<"LinkContent">;
2586
- value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2587
- __TYPE__: t.LiteralC<"ImageLink">;
2588
- }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2589
- kind: t.StringC;
2590
- id: t.StringC;
2591
- url: t.StringC;
2592
- height: t.StringC;
2593
- width: t.StringC;
2594
- size: t.StringC;
2595
- name: t.StringC;
2596
- }>>, t.ExactC<t.PartialC<{
2597
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2598
- }>>]>, t.ExactC<t.PartialC<{
2599
- text: t.StringC;
2600
- }>>]>, t.ExactC<t.TypeC<{
2601
- kind: t.LiteralC<"image">;
2602
- text: t.StringC;
2603
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2604
- __TYPE__: t.LiteralC<"FileLink">;
2605
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2606
- kind: t.StringC;
2607
- id: t.StringC;
2608
- url: t.StringC;
2609
- name: t.StringC;
2610
- size: t.StringC;
2611
- }>, t.PartialC<{
2612
- date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2613
- }>]>>, t.ExactC<t.PartialC<{
2614
- text: t.StringC;
2615
- }>>]>, t.ExactC<t.TypeC<{
2616
- kind: t.LiteralC<"file">;
2617
- text: t.StringC;
2618
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2619
- __TYPE__: t.LiteralC<"DocumentLink">;
2620
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2621
- id: t.Type<string, string, unknown>;
2622
- }>>, t.ExactC<t.PartialC<{
2623
- text: t.StringC;
2624
- }>>]>, t.ExactC<t.TypeC<{
2625
- kind: t.LiteralC<"document">;
2626
- text: t.StringC;
2627
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2628
- __TYPE__: t.LiteralC<"ExternalLink">;
2629
- }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2630
- url: t.StringC;
2631
- }>, t.PartialC<{
2632
- kind: t.LiteralC<"web">;
2633
- target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2634
- preview: t.UnionC<[t.Type<{
2635
- title?: string;
2636
- }, {
2637
- title?: string;
2638
- }, unknown>, t.NullC, t.UndefinedC]>;
2639
- }>]>>, t.ExactC<t.PartialC<{
2640
- text: t.StringC;
2641
- }>>]>, t.ExactC<t.TypeC<{
2642
- kind: t.LiteralC<"web">;
2643
- text: t.StringC;
2644
- }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2645
- __TYPE__: t.LiteralC<"MediaLink">;
2646
- }>>, t.ExactC<t.TypeC<{
2647
- kind: t.LiteralC<"media">;
2648
- text: t.StringC;
2649
- }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2650
- __TYPE__: t.LiteralC<"AnyLink">;
2651
- }>>, t.ExactC<t.TypeC<{
2652
- text: t.StringC;
2653
- }>>]>]>;
2654
- }>>>;
2655
2219
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
2656
2220
  }>>>;
2657
2221
  }>>;