@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.
Files changed (43) hide show
  1. package/lib/_internal/utils.d.ts +3 -2
  2. package/lib/content/Document.d.ts +1369 -61
  3. package/lib/content/LegacyContentCtx.d.ts +15 -0
  4. package/lib/content/fields/RepeatableContent.d.ts +236 -0
  5. package/lib/content/fields/RepeatableContent.js +97 -0
  6. package/lib/content/fields/WidgetContent.d.ts +1369 -61
  7. package/lib/content/fields/nestable/LinkContent.d.ts +23 -0
  8. package/lib/content/fields/nestable/LinkContent.js +23 -0
  9. package/lib/content/fields/nestable/NestableContent.d.ts +220 -2
  10. package/lib/content/fields/nestable/NestableContent.js +21 -2
  11. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +66 -66
  12. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +438 -2
  13. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +74 -0
  14. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +440 -4
  15. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +220 -2
  16. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +221 -3
  17. package/lib/content/fields/slices/Slice/index.d.ts +735 -5
  18. package/lib/content/fields/slices/SliceItem.d.ts +734 -4
  19. package/lib/content/fields/slices/SlicesContent.d.ts +1098 -8
  20. package/lib/customtypes/CustomType.d.ts +18 -0
  21. package/lib/customtypes/Section.d.ts +18 -0
  22. package/lib/customtypes/diff/SharedSlice.d.ts +8 -0
  23. package/lib/customtypes/diff/Variation.d.ts +8 -0
  24. package/lib/customtypes/widgets/Group.d.ts +6 -0
  25. package/lib/customtypes/widgets/Widget.d.ts +36 -0
  26. package/lib/customtypes/widgets/Widget.js +15 -0
  27. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -0
  28. package/lib/customtypes/widgets/nestable/Link.js +5 -1
  29. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +3 -1
  30. package/lib/customtypes/widgets/nestable/NestableWidget.js +18 -1
  31. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  32. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
  33. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +8 -0
  34. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +6 -0
  35. package/lib/customtypes/widgets/slices/Slices.d.ts +28 -0
  36. package/package.json +1 -1
  37. package/src/_internal/utils.ts +3 -1
  38. package/src/content/fields/RepeatableContent.ts +156 -0
  39. package/src/content/fields/nestable/LinkContent.ts +24 -0
  40. package/src/content/fields/nestable/NestableContent.ts +28 -3
  41. package/src/customtypes/widgets/Widget.ts +15 -0
  42. package/src/customtypes/widgets/nestable/Link.ts +5 -1
  43. package/src/customtypes/widgets/nestable/NestableWidget.ts +34 -16
@@ -189,6 +189,78 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
189
189
  text: string;
190
190
  });
191
191
  } | {
192
+ __TYPE__: "RepeatableContent";
193
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
194
+ value: {
195
+ __TYPE__: "LinkContent";
196
+ value: ({
197
+ __TYPE__: "ImageLink";
198
+ } & (({
199
+ kind: string;
200
+ id: string;
201
+ url: string;
202
+ height: string;
203
+ width: string;
204
+ size: string;
205
+ name: string;
206
+ } & {
207
+ date?: string | null | undefined;
208
+ } & {
209
+ text?: string;
210
+ }) | {
211
+ kind: "image";
212
+ text: string;
213
+ })) | ({
214
+ __TYPE__: "FileLink";
215
+ } & (({
216
+ kind: string;
217
+ id: string;
218
+ url: string;
219
+ name: string;
220
+ size: string;
221
+ } & {
222
+ date?: string | null | undefined;
223
+ } & {
224
+ text?: string;
225
+ }) | {
226
+ kind: "file";
227
+ text: string;
228
+ })) | ({
229
+ __TYPE__: "MediaLink";
230
+ } & {
231
+ kind: "media";
232
+ text: string;
233
+ }) | ({
234
+ __TYPE__: "DocumentLink";
235
+ } & (({
236
+ id: string;
237
+ } & {
238
+ text?: string;
239
+ }) | {
240
+ kind: "document";
241
+ text: string;
242
+ })) | ({
243
+ __TYPE__: "ExternalLink";
244
+ } & (({
245
+ url: string;
246
+ } & {
247
+ kind?: "web";
248
+ target?: string | null | undefined;
249
+ preview?: {
250
+ title?: string;
251
+ } | null | undefined;
252
+ } & {
253
+ text?: string;
254
+ }) | {
255
+ kind: "web";
256
+ text: string;
257
+ })) | ({
258
+ __TYPE__: "AnyLink";
259
+ } & {
260
+ text: string;
261
+ });
262
+ }[];
263
+ } | import("../../GroupContent").GroupContent | {
192
264
  __TYPE__: "StructuredTextContent";
193
265
  value: (({
194
266
  type: "image";
@@ -343,7 +415,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
343
415
  }))[];
344
416
  } | {
345
417
  __TYPE__: "SeparatorContent";
346
- } | import("../../GroupContent").GroupContent;
418
+ };
347
419
  };
348
420
  items: {
349
421
  __TYPE__: "GroupItemContent";
@@ -528,6 +600,78 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
528
600
  text: string;
529
601
  });
530
602
  } | {
603
+ __TYPE__: "RepeatableContent";
604
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
605
+ value: {
606
+ __TYPE__: "LinkContent";
607
+ value: ({
608
+ __TYPE__: "ImageLink";
609
+ } & (({
610
+ kind: string;
611
+ id: string;
612
+ url: string;
613
+ height: string;
614
+ width: string;
615
+ size: string;
616
+ name: string;
617
+ } & {
618
+ date?: string | null | undefined;
619
+ } & {
620
+ text?: string;
621
+ }) | {
622
+ kind: "image";
623
+ text: string;
624
+ })) | ({
625
+ __TYPE__: "FileLink";
626
+ } & (({
627
+ kind: string;
628
+ id: string;
629
+ url: string;
630
+ name: string;
631
+ size: string;
632
+ } & {
633
+ date?: string | null | undefined;
634
+ } & {
635
+ text?: string;
636
+ }) | {
637
+ kind: "file";
638
+ text: string;
639
+ })) | ({
640
+ __TYPE__: "MediaLink";
641
+ } & {
642
+ kind: "media";
643
+ text: string;
644
+ }) | ({
645
+ __TYPE__: "DocumentLink";
646
+ } & (({
647
+ id: string;
648
+ } & {
649
+ text?: string;
650
+ }) | {
651
+ kind: "document";
652
+ text: string;
653
+ })) | ({
654
+ __TYPE__: "ExternalLink";
655
+ } & (({
656
+ url: string;
657
+ } & {
658
+ kind?: "web";
659
+ target?: string | null | undefined;
660
+ preview?: {
661
+ title?: string;
662
+ } | null | undefined;
663
+ } & {
664
+ text?: string;
665
+ }) | {
666
+ kind: "web";
667
+ text: string;
668
+ })) | ({
669
+ __TYPE__: "AnyLink";
670
+ } & {
671
+ text: string;
672
+ });
673
+ }[];
674
+ } | import("../../GroupContent").GroupContent | {
531
675
  __TYPE__: "StructuredTextContent";
532
676
  value: (({
533
677
  type: "image";
@@ -682,7 +826,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
682
826
  }))[];
683
827
  } | {
684
828
  __TYPE__: "SeparatorContent";
685
- } | import("../../GroupContent").GroupContent][];
829
+ }][];
686
830
  }[];
687
831
  };
688
832
  export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -870,6 +1014,78 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
870
1014
  text: string;
871
1015
  });
872
1016
  } | {
1017
+ __TYPE__: "RepeatableContent";
1018
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
1019
+ value: {
1020
+ __TYPE__: "LinkContent";
1021
+ value: ({
1022
+ __TYPE__: "ImageLink";
1023
+ } & (({
1024
+ kind: string;
1025
+ id: string;
1026
+ url: string;
1027
+ height: string;
1028
+ width: string;
1029
+ size: string;
1030
+ name: string;
1031
+ } & {
1032
+ date?: string | null | undefined;
1033
+ } & {
1034
+ text?: string;
1035
+ }) | {
1036
+ kind: "image";
1037
+ text: string;
1038
+ })) | ({
1039
+ __TYPE__: "FileLink";
1040
+ } & (({
1041
+ kind: string;
1042
+ id: string;
1043
+ url: string;
1044
+ name: string;
1045
+ size: string;
1046
+ } & {
1047
+ date?: string | null | undefined;
1048
+ } & {
1049
+ text?: string;
1050
+ }) | {
1051
+ kind: "file";
1052
+ text: string;
1053
+ })) | ({
1054
+ __TYPE__: "MediaLink";
1055
+ } & {
1056
+ kind: "media";
1057
+ text: string;
1058
+ }) | ({
1059
+ __TYPE__: "DocumentLink";
1060
+ } & (({
1061
+ id: string;
1062
+ } & {
1063
+ text?: string;
1064
+ }) | {
1065
+ kind: "document";
1066
+ text: string;
1067
+ })) | ({
1068
+ __TYPE__: "ExternalLink";
1069
+ } & (({
1070
+ url: string;
1071
+ } & {
1072
+ kind?: "web";
1073
+ target?: string | null | undefined;
1074
+ preview?: {
1075
+ title?: string;
1076
+ } | null | undefined;
1077
+ } & {
1078
+ text?: string;
1079
+ }) | {
1080
+ kind: "web";
1081
+ text: string;
1082
+ })) | ({
1083
+ __TYPE__: "AnyLink";
1084
+ } & {
1085
+ text: string;
1086
+ });
1087
+ }[];
1088
+ } | import("../../GroupContent").GroupContent | {
873
1089
  __TYPE__: "StructuredTextContent";
874
1090
  value: (({
875
1091
  type: "image";
@@ -1024,7 +1240,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1024
1240
  }))[];
1025
1241
  } | {
1026
1242
  __TYPE__: "SeparatorContent";
1027
- } | import("../../GroupContent").GroupContent;
1243
+ };
1028
1244
  };
1029
1245
  items: {
1030
1246
  __TYPE__: "GroupItemContent";
@@ -1209,6 +1425,78 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1209
1425
  text: string;
1210
1426
  });
1211
1427
  } | {
1428
+ __TYPE__: "RepeatableContent";
1429
+ type: "Boolean" | "Color" | "Date" | "Embed" | "GeoPoint" | "Image" | "IntegrationFields" | "Link" | "Number" | "Range" | "StructuredText" | "Select" | "Separator" | "Text" | "Timestamp";
1430
+ value: {
1431
+ __TYPE__: "LinkContent";
1432
+ value: ({
1433
+ __TYPE__: "ImageLink";
1434
+ } & (({
1435
+ kind: string;
1436
+ id: string;
1437
+ url: string;
1438
+ height: string;
1439
+ width: string;
1440
+ size: string;
1441
+ name: string;
1442
+ } & {
1443
+ date?: string | null | undefined;
1444
+ } & {
1445
+ text?: string;
1446
+ }) | {
1447
+ kind: "image";
1448
+ text: string;
1449
+ })) | ({
1450
+ __TYPE__: "FileLink";
1451
+ } & (({
1452
+ kind: string;
1453
+ id: string;
1454
+ url: string;
1455
+ name: string;
1456
+ size: string;
1457
+ } & {
1458
+ date?: string | null | undefined;
1459
+ } & {
1460
+ text?: string;
1461
+ }) | {
1462
+ kind: "file";
1463
+ text: string;
1464
+ })) | ({
1465
+ __TYPE__: "MediaLink";
1466
+ } & {
1467
+ kind: "media";
1468
+ text: string;
1469
+ }) | ({
1470
+ __TYPE__: "DocumentLink";
1471
+ } & (({
1472
+ id: string;
1473
+ } & {
1474
+ text?: string;
1475
+ }) | {
1476
+ kind: "document";
1477
+ text: string;
1478
+ })) | ({
1479
+ __TYPE__: "ExternalLink";
1480
+ } & (({
1481
+ url: string;
1482
+ } & {
1483
+ kind?: "web";
1484
+ target?: string | null | undefined;
1485
+ preview?: {
1486
+ title?: string;
1487
+ } | null | undefined;
1488
+ } & {
1489
+ text?: string;
1490
+ }) | {
1491
+ kind: "web";
1492
+ text: string;
1493
+ })) | ({
1494
+ __TYPE__: "AnyLink";
1495
+ } & {
1496
+ text: string;
1497
+ });
1498
+ }[];
1499
+ } | import("../../GroupContent").GroupContent | {
1212
1500
  __TYPE__: "StructuredTextContent";
1213
1501
  value: (({
1214
1502
  type: "image";
@@ -1363,7 +1651,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1363
1651
  }))[];
1364
1652
  } | {
1365
1653
  __TYPE__: "SeparatorContent";
1366
- } | import("../../GroupContent").GroupContent][];
1654
+ }][];
1367
1655
  }[];
1368
1656
  }, WithTypes<{
1369
1657
  variation: string;
@@ -1796,6 +2084,80 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
1796
2084
  }>]>>]>>;
1797
2085
  }>>, t.ExactC<t.TypeC<{
1798
2086
  __TYPE__: t.LiteralC<"SeparatorContent">;
2087
+ }>>, t.ExactC<t.TypeC<{
2088
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2089
+ 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">]>;
2090
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2091
+ __TYPE__: t.LiteralC<"LinkContent">;
2092
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2093
+ __TYPE__: t.LiteralC<"ImageLink">;
2094
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2095
+ kind: t.StringC;
2096
+ id: t.StringC;
2097
+ url: t.StringC;
2098
+ height: t.StringC;
2099
+ width: t.StringC;
2100
+ size: t.StringC;
2101
+ name: t.StringC;
2102
+ }>>, t.ExactC<t.PartialC<{
2103
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2104
+ }>>]>, t.ExactC<t.PartialC<{
2105
+ text: t.StringC;
2106
+ }>>]>, t.ExactC<t.TypeC<{
2107
+ kind: t.LiteralC<"image">;
2108
+ text: t.StringC;
2109
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2110
+ __TYPE__: t.LiteralC<"FileLink">;
2111
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2112
+ kind: t.StringC;
2113
+ id: t.StringC;
2114
+ url: t.StringC;
2115
+ name: t.StringC;
2116
+ size: t.StringC;
2117
+ }>, t.PartialC<{
2118
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2119
+ }>]>>, t.ExactC<t.PartialC<{
2120
+ text: t.StringC;
2121
+ }>>]>, t.ExactC<t.TypeC<{
2122
+ kind: t.LiteralC<"file">;
2123
+ text: t.StringC;
2124
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2125
+ __TYPE__: t.LiteralC<"DocumentLink">;
2126
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2127
+ id: t.Type<string, string, unknown>;
2128
+ }>>, t.ExactC<t.PartialC<{
2129
+ text: t.StringC;
2130
+ }>>]>, t.ExactC<t.TypeC<{
2131
+ kind: t.LiteralC<"document">;
2132
+ text: t.StringC;
2133
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2134
+ __TYPE__: t.LiteralC<"ExternalLink">;
2135
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2136
+ url: t.StringC;
2137
+ }>, t.PartialC<{
2138
+ kind: t.LiteralC<"web">;
2139
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2140
+ preview: t.UnionC<[t.Type<{
2141
+ title?: string;
2142
+ }, {
2143
+ title?: string;
2144
+ }, unknown>, t.NullC, t.UndefinedC]>;
2145
+ }>]>>, t.ExactC<t.PartialC<{
2146
+ text: t.StringC;
2147
+ }>>]>, t.ExactC<t.TypeC<{
2148
+ kind: t.LiteralC<"web">;
2149
+ text: t.StringC;
2150
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2151
+ __TYPE__: t.LiteralC<"MediaLink">;
2152
+ }>>, t.ExactC<t.TypeC<{
2153
+ kind: t.LiteralC<"media">;
2154
+ text: t.StringC;
2155
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2156
+ __TYPE__: t.LiteralC<"AnyLink">;
2157
+ }>>, t.ExactC<t.TypeC<{
2158
+ text: t.StringC;
2159
+ }>>]>]>;
2160
+ }>>>;
1799
2161
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>>;
1800
2162
  items: t.ArrayC<t.ExactC<t.TypeC<{
1801
2163
  __TYPE__: t.LiteralC<"GroupItemContent">;
@@ -2220,6 +2582,80 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2220
2582
  }>]>>]>>;
2221
2583
  }>>, t.ExactC<t.TypeC<{
2222
2584
  __TYPE__: t.LiteralC<"SeparatorContent">;
2585
+ }>>, t.ExactC<t.TypeC<{
2586
+ __TYPE__: t.LiteralC<"RepeatableContent">;
2587
+ 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">]>;
2588
+ value: t.ArrayC<t.ExactC<t.TypeC<{
2589
+ __TYPE__: t.LiteralC<"LinkContent">;
2590
+ value: t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2591
+ __TYPE__: t.LiteralC<"ImageLink">;
2592
+ }>>, t.UnionC<[t.IntersectionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2593
+ kind: t.StringC;
2594
+ id: t.StringC;
2595
+ url: t.StringC;
2596
+ height: t.StringC;
2597
+ width: t.StringC;
2598
+ size: t.StringC;
2599
+ name: t.StringC;
2600
+ }>>, t.ExactC<t.PartialC<{
2601
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2602
+ }>>]>, t.ExactC<t.PartialC<{
2603
+ text: t.StringC;
2604
+ }>>]>, t.ExactC<t.TypeC<{
2605
+ kind: t.LiteralC<"image">;
2606
+ text: t.StringC;
2607
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2608
+ __TYPE__: t.LiteralC<"FileLink">;
2609
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2610
+ kind: t.StringC;
2611
+ id: t.StringC;
2612
+ url: t.StringC;
2613
+ name: t.StringC;
2614
+ size: t.StringC;
2615
+ }>, t.PartialC<{
2616
+ date: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2617
+ }>]>>, t.ExactC<t.PartialC<{
2618
+ text: t.StringC;
2619
+ }>>]>, t.ExactC<t.TypeC<{
2620
+ kind: t.LiteralC<"file">;
2621
+ text: t.StringC;
2622
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2623
+ __TYPE__: t.LiteralC<"DocumentLink">;
2624
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.TypeC<{
2625
+ id: t.Type<string, string, unknown>;
2626
+ }>>, t.ExactC<t.PartialC<{
2627
+ text: t.StringC;
2628
+ }>>]>, t.ExactC<t.TypeC<{
2629
+ kind: t.LiteralC<"document">;
2630
+ text: t.StringC;
2631
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2632
+ __TYPE__: t.LiteralC<"ExternalLink">;
2633
+ }>>, t.UnionC<[t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2634
+ url: t.StringC;
2635
+ }>, t.PartialC<{
2636
+ kind: t.LiteralC<"web">;
2637
+ target: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2638
+ preview: t.UnionC<[t.Type<{
2639
+ title?: string;
2640
+ }, {
2641
+ title?: string;
2642
+ }, unknown>, t.NullC, t.UndefinedC]>;
2643
+ }>]>>, t.ExactC<t.PartialC<{
2644
+ text: t.StringC;
2645
+ }>>]>, t.ExactC<t.TypeC<{
2646
+ kind: t.LiteralC<"web">;
2647
+ text: t.StringC;
2648
+ }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2649
+ __TYPE__: t.LiteralC<"MediaLink">;
2650
+ }>>, t.ExactC<t.TypeC<{
2651
+ kind: t.LiteralC<"media">;
2652
+ text: t.StringC;
2653
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2654
+ __TYPE__: t.LiteralC<"AnyLink">;
2655
+ }>>, t.ExactC<t.TypeC<{
2656
+ text: t.StringC;
2657
+ }>>]>]>;
2658
+ }>>>;
2223
2659
  }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
2224
2660
  }>>>;
2225
2661
  }>>;