@prismicio/types-internal 2.7.0-alpha.4 → 2.7.0-alpha.5

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.
@@ -147,6 +147,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
147
147
  }>]>>, t.ExactC<t.TypeC<{
148
148
  text: t.StringC;
149
149
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
150
+ __TYPE__: t.LiteralC<"MediaLink">;
151
+ }>>, t.ExactC<t.TypeC<{
152
+ kind: t.LiteralC<"media">;
153
+ text: t.StringC;
154
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
150
155
  __TYPE__: t.LiteralC<"DocumentLink">;
151
156
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
152
157
  id: t.Type<string, string, unknown>;
@@ -235,6 +240,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
235
240
  }) | {
236
241
  text: string;
237
242
  }))) | ({
243
+ __TYPE__: "MediaLink";
244
+ } & {
245
+ kind: "media";
246
+ text: string;
247
+ }) | ({
238
248
  __TYPE__: "DocumentLink";
239
249
  } & (({
240
250
  id: string;
@@ -293,6 +303,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
293
303
  }) | {
294
304
  text: string;
295
305
  }))) | ({
306
+ __TYPE__: "MediaLink";
307
+ } & {
308
+ kind: "media";
309
+ text: string;
310
+ }) | ({
296
311
  __TYPE__: "DocumentLink";
297
312
  } & (({
298
313
  id: string;
@@ -386,6 +401,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
386
401
  }) | {
387
402
  text: string;
388
403
  }))) | ({
404
+ __TYPE__: "MediaLink";
405
+ } & {
406
+ kind: "media";
407
+ text: string;
408
+ }) | ({
389
409
  __TYPE__: "DocumentLink";
390
410
  } & (({
391
411
  id: string;
@@ -458,6 +478,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
458
478
  }) | {
459
479
  text: string;
460
480
  }))) | ({
481
+ __TYPE__: "MediaLink";
482
+ } & {
483
+ kind: "media";
484
+ text: string;
485
+ }) | ({
461
486
  __TYPE__: "DocumentLink";
462
487
  } & (({
463
488
  id: string;
@@ -660,6 +685,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
660
685
  }>]>>, t.ExactC<t.TypeC<{
661
686
  text: t.StringC;
662
687
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
688
+ __TYPE__: t.LiteralC<"MediaLink">;
689
+ }>>, t.ExactC<t.TypeC<{
690
+ kind: t.LiteralC<"media">;
691
+ text: t.StringC;
692
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
663
693
  __TYPE__: t.LiteralC<"DocumentLink">;
664
694
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
665
695
  id: t.Type<string, string, unknown>;
@@ -748,6 +778,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
748
778
  }) | {
749
779
  text: string;
750
780
  }))) | ({
781
+ __TYPE__: "MediaLink";
782
+ } & {
783
+ kind: "media";
784
+ text: string;
785
+ }) | ({
751
786
  __TYPE__: "DocumentLink";
752
787
  } & (({
753
788
  id: string;
@@ -806,6 +841,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
806
841
  }) | {
807
842
  text: string;
808
843
  }))) | ({
844
+ __TYPE__: "MediaLink";
845
+ } & {
846
+ kind: "media";
847
+ text: string;
848
+ }) | ({
809
849
  __TYPE__: "DocumentLink";
810
850
  } & (({
811
851
  id: string;
@@ -899,6 +939,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
899
939
  }) | {
900
940
  text: string;
901
941
  }))) | ({
942
+ __TYPE__: "MediaLink";
943
+ } & {
944
+ kind: "media";
945
+ text: string;
946
+ }) | ({
902
947
  __TYPE__: "DocumentLink";
903
948
  } & (({
904
949
  id: string;
@@ -971,6 +1016,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
971
1016
  }) | {
972
1017
  text: string;
973
1018
  }))) | ({
1019
+ __TYPE__: "MediaLink";
1020
+ } & {
1021
+ kind: "media";
1022
+ text: string;
1023
+ }) | ({
974
1024
  __TYPE__: "DocumentLink";
975
1025
  } & (({
976
1026
  id: string;
@@ -1165,6 +1215,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1165
1215
  }>]>>, t.ExactC<t.TypeC<{
1166
1216
  text: t.StringC;
1167
1217
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1218
+ __TYPE__: t.LiteralC<"MediaLink">;
1219
+ }>>, t.ExactC<t.TypeC<{
1220
+ kind: t.LiteralC<"media">;
1221
+ text: t.StringC;
1222
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1168
1223
  __TYPE__: t.LiteralC<"DocumentLink">;
1169
1224
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1170
1225
  id: t.Type<string, string, unknown>;
@@ -1253,6 +1308,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1253
1308
  }) | {
1254
1309
  text: string;
1255
1310
  }))) | ({
1311
+ __TYPE__: "MediaLink";
1312
+ } & {
1313
+ kind: "media";
1314
+ text: string;
1315
+ }) | ({
1256
1316
  __TYPE__: "DocumentLink";
1257
1317
  } & (({
1258
1318
  id: string;
@@ -1311,6 +1371,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1311
1371
  }) | {
1312
1372
  text: string;
1313
1373
  }))) | ({
1374
+ __TYPE__: "MediaLink";
1375
+ } & {
1376
+ kind: "media";
1377
+ text: string;
1378
+ }) | ({
1314
1379
  __TYPE__: "DocumentLink";
1315
1380
  } & (({
1316
1381
  id: string;
@@ -1404,6 +1469,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1404
1469
  }) | {
1405
1470
  text: string;
1406
1471
  }))) | ({
1472
+ __TYPE__: "MediaLink";
1473
+ } & {
1474
+ kind: "media";
1475
+ text: string;
1476
+ }) | ({
1407
1477
  __TYPE__: "DocumentLink";
1408
1478
  } & (({
1409
1479
  id: string;
@@ -1476,6 +1546,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1476
1546
  }) | {
1477
1547
  text: string;
1478
1548
  }))) | ({
1549
+ __TYPE__: "MediaLink";
1550
+ } & {
1551
+ kind: "media";
1552
+ text: string;
1553
+ }) | ({
1479
1554
  __TYPE__: "DocumentLink";
1480
1555
  } & (({
1481
1556
  id: string;
@@ -1672,6 +1747,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1672
1747
  }>]>>, t.ExactC<t.TypeC<{
1673
1748
  text: t.StringC;
1674
1749
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1750
+ __TYPE__: t.LiteralC<"MediaLink">;
1751
+ }>>, t.ExactC<t.TypeC<{
1752
+ kind: t.LiteralC<"media">;
1753
+ text: t.StringC;
1754
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
1675
1755
  __TYPE__: t.LiteralC<"DocumentLink">;
1676
1756
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1677
1757
  id: t.Type<string, string, unknown>;
@@ -1760,6 +1840,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1760
1840
  }) | {
1761
1841
  text: string;
1762
1842
  }))) | ({
1843
+ __TYPE__: "MediaLink";
1844
+ } & {
1845
+ kind: "media";
1846
+ text: string;
1847
+ }) | ({
1763
1848
  __TYPE__: "DocumentLink";
1764
1849
  } & (({
1765
1850
  id: string;
@@ -1818,6 +1903,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1818
1903
  }) | {
1819
1904
  text: string;
1820
1905
  }))) | ({
1906
+ __TYPE__: "MediaLink";
1907
+ } & {
1908
+ kind: "media";
1909
+ text: string;
1910
+ }) | ({
1821
1911
  __TYPE__: "DocumentLink";
1822
1912
  } & (({
1823
1913
  id: string;
@@ -1911,6 +2001,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1911
2001
  }) | {
1912
2002
  text: string;
1913
2003
  }))) | ({
2004
+ __TYPE__: "MediaLink";
2005
+ } & {
2006
+ kind: "media";
2007
+ text: string;
2008
+ }) | ({
1914
2009
  __TYPE__: "DocumentLink";
1915
2010
  } & (({
1916
2011
  id: string;
@@ -1983,6 +2078,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
1983
2078
  }) | {
1984
2079
  text: string;
1985
2080
  }))) | ({
2081
+ __TYPE__: "MediaLink";
2082
+ } & {
2083
+ kind: "media";
2084
+ text: string;
2085
+ }) | ({
1986
2086
  __TYPE__: "DocumentLink";
1987
2087
  } & (({
1988
2088
  id: string;
@@ -2177,6 +2277,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2177
2277
  }>]>>, t.ExactC<t.TypeC<{
2178
2278
  text: t.StringC;
2179
2279
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2280
+ __TYPE__: t.LiteralC<"MediaLink">;
2281
+ }>>, t.ExactC<t.TypeC<{
2282
+ kind: t.LiteralC<"media">;
2283
+ text: t.StringC;
2284
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2180
2285
  __TYPE__: t.LiteralC<"DocumentLink">;
2181
2286
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2182
2287
  id: t.Type<string, string, unknown>;
@@ -2265,6 +2370,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2265
2370
  }) | {
2266
2371
  text: string;
2267
2372
  }))) | ({
2373
+ __TYPE__: "MediaLink";
2374
+ } & {
2375
+ kind: "media";
2376
+ text: string;
2377
+ }) | ({
2268
2378
  __TYPE__: "DocumentLink";
2269
2379
  } & (({
2270
2380
  id: string;
@@ -2323,6 +2433,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2323
2433
  }) | {
2324
2434
  text: string;
2325
2435
  }))) | ({
2436
+ __TYPE__: "MediaLink";
2437
+ } & {
2438
+ kind: "media";
2439
+ text: string;
2440
+ }) | ({
2326
2441
  __TYPE__: "DocumentLink";
2327
2442
  } & (({
2328
2443
  id: string;
@@ -2416,6 +2531,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2416
2531
  }) | {
2417
2532
  text: string;
2418
2533
  }))) | ({
2534
+ __TYPE__: "MediaLink";
2535
+ } & {
2536
+ kind: "media";
2537
+ text: string;
2538
+ }) | ({
2419
2539
  __TYPE__: "DocumentLink";
2420
2540
  } & (({
2421
2541
  id: string;
@@ -2488,6 +2608,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2488
2608
  }) | {
2489
2609
  text: string;
2490
2610
  }))) | ({
2611
+ __TYPE__: "MediaLink";
2612
+ } & {
2613
+ kind: "media";
2614
+ text: string;
2615
+ }) | ({
2491
2616
  __TYPE__: "DocumentLink";
2492
2617
  } & (({
2493
2618
  id: string;
@@ -2681,6 +2806,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2681
2806
  }>]>>, t.ExactC<t.TypeC<{
2682
2807
  text: t.StringC;
2683
2808
  }>>]>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2809
+ __TYPE__: t.LiteralC<"MediaLink">;
2810
+ }>>, t.ExactC<t.TypeC<{
2811
+ kind: t.LiteralC<"media">;
2812
+ text: t.StringC;
2813
+ }>>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
2684
2814
  __TYPE__: t.LiteralC<"DocumentLink">;
2685
2815
  }>>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2686
2816
  id: t.Type<string, string, unknown>;
@@ -2769,6 +2899,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2769
2899
  }) | {
2770
2900
  text: string;
2771
2901
  }))) | ({
2902
+ __TYPE__: "MediaLink";
2903
+ } & {
2904
+ kind: "media";
2905
+ text: string;
2906
+ }) | ({
2772
2907
  __TYPE__: "DocumentLink";
2773
2908
  } & (({
2774
2909
  id: string;
@@ -2827,6 +2962,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2827
2962
  }) | {
2828
2963
  text: string;
2829
2964
  }))) | ({
2965
+ __TYPE__: "MediaLink";
2966
+ } & {
2967
+ kind: "media";
2968
+ text: string;
2969
+ }) | ({
2830
2970
  __TYPE__: "DocumentLink";
2831
2971
  } & (({
2832
2972
  id: string;
@@ -2920,6 +3060,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2920
3060
  }) | {
2921
3061
  text: string;
2922
3062
  }))) | ({
3063
+ __TYPE__: "MediaLink";
3064
+ } & {
3065
+ kind: "media";
3066
+ text: string;
3067
+ }) | ({
2923
3068
  __TYPE__: "DocumentLink";
2924
3069
  } & (({
2925
3070
  id: string;
@@ -2992,6 +3137,11 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
2992
3137
  }) | {
2993
3138
  text: string;
2994
3139
  }))) | ({
3140
+ __TYPE__: "MediaLink";
3141
+ } & {
3142
+ kind: "media";
3143
+ text: string;
3144
+ }) | ({
2995
3145
  __TYPE__: "DocumentLink";
2996
3146
  } & (({
2997
3147
  id: string;
@@ -3206,6 +3356,11 @@ export declare const DocumentLegacy: {
3206
3356
  }) | {
3207
3357
  text: string;
3208
3358
  }))) | ({
3359
+ __TYPE__: "MediaLink";
3360
+ } & {
3361
+ kind: "media";
3362
+ text: string;
3363
+ }) | ({
3209
3364
  __TYPE__: "DocumentLink";
3210
3365
  } & (({
3211
3366
  id: string;
@@ -3292,6 +3447,11 @@ export declare const DocumentLegacy: {
3292
3447
  }) | {
3293
3448
  text: string;
3294
3449
  }))) | ({
3450
+ __TYPE__: "MediaLink";
3451
+ } & {
3452
+ kind: "media";
3453
+ text: string;
3454
+ }) | ({
3295
3455
  __TYPE__: "DocumentLink";
3296
3456
  } & (({
3297
3457
  id: string;
@@ -3385,6 +3545,11 @@ export declare const DocumentLegacy: {
3385
3545
  }) | {
3386
3546
  text: string;
3387
3547
  }))) | ({
3548
+ __TYPE__: "MediaLink";
3549
+ } & {
3550
+ kind: "media";
3551
+ text: string;
3552
+ }) | ({
3388
3553
  __TYPE__: "DocumentLink";
3389
3554
  } & (({
3390
3555
  id: string;
@@ -3587,6 +3752,11 @@ export declare const DocumentLegacy: {
3587
3752
  }) | {
3588
3753
  text: string;
3589
3754
  }))) | ({
3755
+ __TYPE__: "MediaLink";
3756
+ } & {
3757
+ kind: "media";
3758
+ text: string;
3759
+ }) | ({
3590
3760
  __TYPE__: "DocumentLink";
3591
3761
  } & (({
3592
3762
  id: string;
@@ -3673,6 +3843,11 @@ export declare const DocumentLegacy: {
3673
3843
  }) | {
3674
3844
  text: string;
3675
3845
  }))) | ({
3846
+ __TYPE__: "MediaLink";
3847
+ } & {
3848
+ kind: "media";
3849
+ text: string;
3850
+ }) | ({
3676
3851
  __TYPE__: "DocumentLink";
3677
3852
  } & (({
3678
3853
  id: string;
@@ -3766,6 +3941,11 @@ export declare const DocumentLegacy: {
3766
3941
  }) | {
3767
3942
  text: string;
3768
3943
  }))) | ({
3944
+ __TYPE__: "MediaLink";
3945
+ } & {
3946
+ kind: "media";
3947
+ text: string;
3948
+ }) | ({
3769
3949
  __TYPE__: "DocumentLink";
3770
3950
  } & (({
3771
3951
  id: string;
@@ -3962,6 +4142,11 @@ export declare const DocumentLegacy: {
3962
4142
  }) | {
3963
4143
  text: string;
3964
4144
  }))) | ({
4145
+ __TYPE__: "MediaLink";
4146
+ } & {
4147
+ kind: "media";
4148
+ text: string;
4149
+ }) | ({
3965
4150
  __TYPE__: "DocumentLink";
3966
4151
  } & (({
3967
4152
  id: string;
@@ -4048,6 +4233,11 @@ export declare const DocumentLegacy: {
4048
4233
  }) | {
4049
4234
  text: string;
4050
4235
  }))) | ({
4236
+ __TYPE__: "MediaLink";
4237
+ } & {
4238
+ kind: "media";
4239
+ text: string;
4240
+ }) | ({
4051
4241
  __TYPE__: "DocumentLink";
4052
4242
  } & (({
4053
4243
  id: string;
@@ -4141,6 +4331,11 @@ export declare const DocumentLegacy: {
4141
4331
  }) | {
4142
4332
  text: string;
4143
4333
  }))) | ({
4334
+ __TYPE__: "MediaLink";
4335
+ } & {
4336
+ kind: "media";
4337
+ text: string;
4338
+ }) | ({
4144
4339
  __TYPE__: "DocumentLink";
4145
4340
  } & (({
4146
4341
  id: string;
@@ -4338,6 +4533,11 @@ export declare const DocumentLegacy: {
4338
4533
  }) | {
4339
4534
  text: string;
4340
4535
  }))) | ({
4536
+ __TYPE__: "MediaLink";
4537
+ } & {
4538
+ kind: "media";
4539
+ text: string;
4540
+ }) | ({
4341
4541
  __TYPE__: "DocumentLink";
4342
4542
  } & (({
4343
4543
  id: string;
@@ -4424,6 +4624,11 @@ export declare const DocumentLegacy: {
4424
4624
  }) | {
4425
4625
  text: string;
4426
4626
  }))) | ({
4627
+ __TYPE__: "MediaLink";
4628
+ } & {
4629
+ kind: "media";
4630
+ text: string;
4631
+ }) | ({
4427
4632
  __TYPE__: "DocumentLink";
4428
4633
  } & (({
4429
4634
  id: string;
@@ -4517,6 +4722,11 @@ export declare const DocumentLegacy: {
4517
4722
  }) | {
4518
4723
  text: string;
4519
4724
  }))) | ({
4725
+ __TYPE__: "MediaLink";
4726
+ } & {
4727
+ kind: "media";
4728
+ text: string;
4729
+ }) | ({
4520
4730
  __TYPE__: "DocumentLink";
4521
4731
  } & (({
4522
4732
  id: string;
@@ -4716,6 +4926,11 @@ export declare const DocumentLegacy: {
4716
4926
  }) | {
4717
4927
  text: string;
4718
4928
  }))) | ({
4929
+ __TYPE__: "MediaLink";
4930
+ } & {
4931
+ kind: "media";
4932
+ text: string;
4933
+ }) | ({
4719
4934
  __TYPE__: "DocumentLink";
4720
4935
  } & (({
4721
4936
  id: string;
@@ -4802,6 +5017,11 @@ export declare const DocumentLegacy: {
4802
5017
  }) | {
4803
5018
  text: string;
4804
5019
  }))) | ({
5020
+ __TYPE__: "MediaLink";
5021
+ } & {
5022
+ kind: "media";
5023
+ text: string;
5024
+ }) | ({
4805
5025
  __TYPE__: "DocumentLink";
4806
5026
  } & (({
4807
5027
  id: string;
@@ -4895,6 +5115,11 @@ export declare const DocumentLegacy: {
4895
5115
  }) | {
4896
5116
  text: string;
4897
5117
  }))) | ({
5118
+ __TYPE__: "MediaLink";
5119
+ } & {
5120
+ kind: "media";
5121
+ text: string;
5122
+ }) | ({
4898
5123
  __TYPE__: "DocumentLink";
4899
5124
  } & (({
4900
5125
  id: string;
@@ -5092,6 +5317,11 @@ export declare const DocumentLegacy: {
5092
5317
  }) | {
5093
5318
  text: string;
5094
5319
  }))) | ({
5320
+ __TYPE__: "MediaLink";
5321
+ } & {
5322
+ kind: "media";
5323
+ text: string;
5324
+ }) | ({
5095
5325
  __TYPE__: "DocumentLink";
5096
5326
  } & (({
5097
5327
  id: string;
@@ -5178,6 +5408,11 @@ export declare const DocumentLegacy: {
5178
5408
  }) | {
5179
5409
  text: string;
5180
5410
  }))) | ({
5411
+ __TYPE__: "MediaLink";
5412
+ } & {
5413
+ kind: "media";
5414
+ text: string;
5415
+ }) | ({
5181
5416
  __TYPE__: "DocumentLink";
5182
5417
  } & (({
5183
5418
  id: string;
@@ -5271,6 +5506,11 @@ export declare const DocumentLegacy: {
5271
5506
  }) | {
5272
5507
  text: string;
5273
5508
  }))) | ({
5509
+ __TYPE__: "MediaLink";
5510
+ } & {
5511
+ kind: "media";
5512
+ text: string;
5513
+ }) | ({
5274
5514
  __TYPE__: "DocumentLink";
5275
5515
  } & (({
5276
5516
  id: string;
@@ -5504,6 +5744,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5504
5744
  }) | {
5505
5745
  text: string;
5506
5746
  }))) | ({
5747
+ __TYPE__: "MediaLink";
5748
+ } & {
5749
+ kind: "media";
5750
+ text: string;
5751
+ }) | ({
5507
5752
  __TYPE__: "DocumentLink";
5508
5753
  } & (({
5509
5754
  id: string;
@@ -5590,6 +5835,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5590
5835
  }) | {
5591
5836
  text: string;
5592
5837
  }))) | ({
5838
+ __TYPE__: "MediaLink";
5839
+ } & {
5840
+ kind: "media";
5841
+ text: string;
5842
+ }) | ({
5593
5843
  __TYPE__: "DocumentLink";
5594
5844
  } & (({
5595
5845
  id: string;
@@ -5683,6 +5933,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5683
5933
  }) | {
5684
5934
  text: string;
5685
5935
  }))) | ({
5936
+ __TYPE__: "MediaLink";
5937
+ } & {
5938
+ kind: "media";
5939
+ text: string;
5940
+ }) | ({
5686
5941
  __TYPE__: "DocumentLink";
5687
5942
  } & (({
5688
5943
  id: string;
@@ -5885,6 +6140,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5885
6140
  }) | {
5886
6141
  text: string;
5887
6142
  }))) | ({
6143
+ __TYPE__: "MediaLink";
6144
+ } & {
6145
+ kind: "media";
6146
+ text: string;
6147
+ }) | ({
5888
6148
  __TYPE__: "DocumentLink";
5889
6149
  } & (({
5890
6150
  id: string;
@@ -5971,6 +6231,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
5971
6231
  }) | {
5972
6232
  text: string;
5973
6233
  }))) | ({
6234
+ __TYPE__: "MediaLink";
6235
+ } & {
6236
+ kind: "media";
6237
+ text: string;
6238
+ }) | ({
5974
6239
  __TYPE__: "DocumentLink";
5975
6240
  } & (({
5976
6241
  id: string;
@@ -6064,6 +6329,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6064
6329
  }) | {
6065
6330
  text: string;
6066
6331
  }))) | ({
6332
+ __TYPE__: "MediaLink";
6333
+ } & {
6334
+ kind: "media";
6335
+ text: string;
6336
+ }) | ({
6067
6337
  __TYPE__: "DocumentLink";
6068
6338
  } & (({
6069
6339
  id: string;
@@ -6260,6 +6530,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6260
6530
  }) | {
6261
6531
  text: string;
6262
6532
  }))) | ({
6533
+ __TYPE__: "MediaLink";
6534
+ } & {
6535
+ kind: "media";
6536
+ text: string;
6537
+ }) | ({
6263
6538
  __TYPE__: "DocumentLink";
6264
6539
  } & (({
6265
6540
  id: string;
@@ -6346,6 +6621,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6346
6621
  }) | {
6347
6622
  text: string;
6348
6623
  }))) | ({
6624
+ __TYPE__: "MediaLink";
6625
+ } & {
6626
+ kind: "media";
6627
+ text: string;
6628
+ }) | ({
6349
6629
  __TYPE__: "DocumentLink";
6350
6630
  } & (({
6351
6631
  id: string;
@@ -6439,6 +6719,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6439
6719
  }) | {
6440
6720
  text: string;
6441
6721
  }))) | ({
6722
+ __TYPE__: "MediaLink";
6723
+ } & {
6724
+ kind: "media";
6725
+ text: string;
6726
+ }) | ({
6442
6727
  __TYPE__: "DocumentLink";
6443
6728
  } & (({
6444
6729
  id: string;
@@ -6636,6 +6921,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6636
6921
  }) | {
6637
6922
  text: string;
6638
6923
  }))) | ({
6924
+ __TYPE__: "MediaLink";
6925
+ } & {
6926
+ kind: "media";
6927
+ text: string;
6928
+ }) | ({
6639
6929
  __TYPE__: "DocumentLink";
6640
6930
  } & (({
6641
6931
  id: string;
@@ -6722,6 +7012,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6722
7012
  }) | {
6723
7013
  text: string;
6724
7014
  }))) | ({
7015
+ __TYPE__: "MediaLink";
7016
+ } & {
7017
+ kind: "media";
7018
+ text: string;
7019
+ }) | ({
6725
7020
  __TYPE__: "DocumentLink";
6726
7021
  } & (({
6727
7022
  id: string;
@@ -6815,6 +7110,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
6815
7110
  }) | {
6816
7111
  text: string;
6817
7112
  }))) | ({
7113
+ __TYPE__: "MediaLink";
7114
+ } & {
7115
+ kind: "media";
7116
+ text: string;
7117
+ }) | ({
6818
7118
  __TYPE__: "DocumentLink";
6819
7119
  } & (({
6820
7120
  id: string;
@@ -7014,6 +7314,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7014
7314
  }) | {
7015
7315
  text: string;
7016
7316
  }))) | ({
7317
+ __TYPE__: "MediaLink";
7318
+ } & {
7319
+ kind: "media";
7320
+ text: string;
7321
+ }) | ({
7017
7322
  __TYPE__: "DocumentLink";
7018
7323
  } & (({
7019
7324
  id: string;
@@ -7100,6 +7405,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7100
7405
  }) | {
7101
7406
  text: string;
7102
7407
  }))) | ({
7408
+ __TYPE__: "MediaLink";
7409
+ } & {
7410
+ kind: "media";
7411
+ text: string;
7412
+ }) | ({
7103
7413
  __TYPE__: "DocumentLink";
7104
7414
  } & (({
7105
7415
  id: string;
@@ -7193,6 +7503,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7193
7503
  }) | {
7194
7504
  text: string;
7195
7505
  }))) | ({
7506
+ __TYPE__: "MediaLink";
7507
+ } & {
7508
+ kind: "media";
7509
+ text: string;
7510
+ }) | ({
7196
7511
  __TYPE__: "DocumentLink";
7197
7512
  } & (({
7198
7513
  id: string;
@@ -7390,6 +7705,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7390
7705
  }) | {
7391
7706
  text: string;
7392
7707
  }))) | ({
7708
+ __TYPE__: "MediaLink";
7709
+ } & {
7710
+ kind: "media";
7711
+ text: string;
7712
+ }) | ({
7393
7713
  __TYPE__: "DocumentLink";
7394
7714
  } & (({
7395
7715
  id: string;
@@ -7476,6 +7796,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7476
7796
  }) | {
7477
7797
  text: string;
7478
7798
  }))) | ({
7799
+ __TYPE__: "MediaLink";
7800
+ } & {
7801
+ kind: "media";
7802
+ text: string;
7803
+ }) | ({
7479
7804
  __TYPE__: "DocumentLink";
7480
7805
  } & (({
7481
7806
  id: string;
@@ -7569,6 +7894,11 @@ export declare function migrateDocument(document: Document, customType: StaticCu
7569
7894
  }) | {
7570
7895
  text: string;
7571
7896
  }))) | ({
7897
+ __TYPE__: "MediaLink";
7898
+ } & {
7899
+ kind: "media";
7900
+ text: string;
7901
+ }) | ({
7572
7902
  __TYPE__: "DocumentLink";
7573
7903
  } & (({
7574
7904
  id: string;