@prismicio/types-internal 2.2.0-traverse.alpha-8 → 2.2.0-traverse.alpha-10
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/content/Document.d.ts +352 -96
- package/lib/content/fields/GroupContent.d.ts +77 -21
- package/lib/content/fields/WidgetContent.d.ts +352 -96
- package/lib/content/fields/nestable/NestableContent.d.ts +44 -12
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +102 -81
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +27 -13
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +55 -15
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +88 -24
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +33 -9
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +88 -24
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +88 -24
- package/lib/content/fields/slices/Slice/index.d.ts +198 -54
- package/lib/content/fields/slices/SliceItem.d.ts +198 -54
- package/lib/content/fields/slices/SlicesContent.d.ts +264 -72
- package/package.json +1 -1
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +34 -17
- package/lib/import/converters/fields/nestable/GeooPoint.d.ts +0 -3
- package/lib/import/converters/fields/nestable/GeooPoint.js +0 -15
- package/lib/import/converters/fields/nestable/RichText.d.ts +0 -4
- package/lib/import/converters/fields/nestable/RichText.js +0 -55
|
@@ -289,7 +289,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
289
289
|
text: t.StringC;
|
|
290
290
|
}>, t.PartialC<{
|
|
291
291
|
spans: t.Type<({
|
|
292
|
-
data
|
|
292
|
+
data: ({
|
|
293
293
|
__TYPE__: "ImageLink";
|
|
294
294
|
} & {
|
|
295
295
|
id: string;
|
|
@@ -328,12 +328,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
328
328
|
title?: string;
|
|
329
329
|
} | null | undefined;
|
|
330
330
|
});
|
|
331
|
-
} & {
|
|
332
331
|
start: number;
|
|
333
332
|
end: number;
|
|
334
|
-
type: "
|
|
333
|
+
type: "hyperlink";
|
|
334
|
+
} | {
|
|
335
|
+
data: string;
|
|
336
|
+
start: number;
|
|
337
|
+
end: number;
|
|
338
|
+
type: "label";
|
|
339
|
+
} | {
|
|
340
|
+
start: number;
|
|
341
|
+
end: number;
|
|
342
|
+
type: string;
|
|
335
343
|
})[], ({
|
|
336
|
-
data
|
|
344
|
+
data: ({
|
|
337
345
|
__TYPE__: "ImageLink";
|
|
338
346
|
} & {
|
|
339
347
|
id: string;
|
|
@@ -372,10 +380,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
372
380
|
title?: string;
|
|
373
381
|
} | null | undefined;
|
|
374
382
|
});
|
|
375
|
-
} & {
|
|
376
383
|
start: number;
|
|
377
384
|
end: number;
|
|
378
|
-
type: "
|
|
385
|
+
type: "hyperlink";
|
|
386
|
+
} | {
|
|
387
|
+
data: string;
|
|
388
|
+
start: number;
|
|
389
|
+
end: number;
|
|
390
|
+
type: "label";
|
|
391
|
+
} | {
|
|
392
|
+
start: number;
|
|
393
|
+
end: number;
|
|
394
|
+
type: string;
|
|
379
395
|
})[], unknown>;
|
|
380
396
|
}>]>;
|
|
381
397
|
}>, t.PartialC<{
|
|
@@ -667,7 +683,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
667
683
|
text: t.StringC;
|
|
668
684
|
}>, t.PartialC<{
|
|
669
685
|
spans: t.Type<({
|
|
670
|
-
data
|
|
686
|
+
data: ({
|
|
671
687
|
__TYPE__: "ImageLink";
|
|
672
688
|
} & {
|
|
673
689
|
id: string;
|
|
@@ -706,12 +722,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
706
722
|
title?: string;
|
|
707
723
|
} | null | undefined;
|
|
708
724
|
});
|
|
709
|
-
} & {
|
|
710
725
|
start: number;
|
|
711
726
|
end: number;
|
|
712
|
-
type: "
|
|
727
|
+
type: "hyperlink";
|
|
728
|
+
} | {
|
|
729
|
+
data: string;
|
|
730
|
+
start: number;
|
|
731
|
+
end: number;
|
|
732
|
+
type: "label";
|
|
733
|
+
} | {
|
|
734
|
+
start: number;
|
|
735
|
+
end: number;
|
|
736
|
+
type: string;
|
|
713
737
|
})[], ({
|
|
714
|
-
data
|
|
738
|
+
data: ({
|
|
715
739
|
__TYPE__: "ImageLink";
|
|
716
740
|
} & {
|
|
717
741
|
id: string;
|
|
@@ -750,10 +774,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
750
774
|
title?: string;
|
|
751
775
|
} | null | undefined;
|
|
752
776
|
});
|
|
753
|
-
} & {
|
|
754
777
|
start: number;
|
|
755
778
|
end: number;
|
|
756
|
-
type: "
|
|
779
|
+
type: "hyperlink";
|
|
780
|
+
} | {
|
|
781
|
+
data: string;
|
|
782
|
+
start: number;
|
|
783
|
+
end: number;
|
|
784
|
+
type: "label";
|
|
785
|
+
} | {
|
|
786
|
+
start: number;
|
|
787
|
+
end: number;
|
|
788
|
+
type: string;
|
|
757
789
|
})[], unknown>;
|
|
758
790
|
}>]>;
|
|
759
791
|
}>, t.PartialC<{
|
|
@@ -1054,7 +1086,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1054
1086
|
text: t.StringC;
|
|
1055
1087
|
}>, t.PartialC<{
|
|
1056
1088
|
spans: t.Type<({
|
|
1057
|
-
data
|
|
1089
|
+
data: ({
|
|
1058
1090
|
__TYPE__: "ImageLink";
|
|
1059
1091
|
} & {
|
|
1060
1092
|
id: string;
|
|
@@ -1093,12 +1125,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1093
1125
|
title?: string;
|
|
1094
1126
|
} | null | undefined;
|
|
1095
1127
|
});
|
|
1096
|
-
} & {
|
|
1097
1128
|
start: number;
|
|
1098
1129
|
end: number;
|
|
1099
|
-
type: "
|
|
1130
|
+
type: "hyperlink";
|
|
1131
|
+
} | {
|
|
1132
|
+
data: string;
|
|
1133
|
+
start: number;
|
|
1134
|
+
end: number;
|
|
1135
|
+
type: "label";
|
|
1136
|
+
} | {
|
|
1137
|
+
start: number;
|
|
1138
|
+
end: number;
|
|
1139
|
+
type: string;
|
|
1100
1140
|
})[], ({
|
|
1101
|
-
data
|
|
1141
|
+
data: ({
|
|
1102
1142
|
__TYPE__: "ImageLink";
|
|
1103
1143
|
} & {
|
|
1104
1144
|
id: string;
|
|
@@ -1137,10 +1177,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1137
1177
|
title?: string;
|
|
1138
1178
|
} | null | undefined;
|
|
1139
1179
|
});
|
|
1140
|
-
} & {
|
|
1141
1180
|
start: number;
|
|
1142
1181
|
end: number;
|
|
1143
|
-
type: "
|
|
1182
|
+
type: "hyperlink";
|
|
1183
|
+
} | {
|
|
1184
|
+
data: string;
|
|
1185
|
+
start: number;
|
|
1186
|
+
end: number;
|
|
1187
|
+
type: "label";
|
|
1188
|
+
} | {
|
|
1189
|
+
start: number;
|
|
1190
|
+
end: number;
|
|
1191
|
+
type: string;
|
|
1144
1192
|
})[], unknown>;
|
|
1145
1193
|
}>]>;
|
|
1146
1194
|
}>, t.PartialC<{
|
|
@@ -1433,7 +1481,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1433
1481
|
text: t.StringC;
|
|
1434
1482
|
}>, t.PartialC<{
|
|
1435
1483
|
spans: t.Type<({
|
|
1436
|
-
data
|
|
1484
|
+
data: ({
|
|
1437
1485
|
__TYPE__: "ImageLink";
|
|
1438
1486
|
} & {
|
|
1439
1487
|
id: string;
|
|
@@ -1472,12 +1520,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1472
1520
|
title?: string;
|
|
1473
1521
|
} | null | undefined;
|
|
1474
1522
|
});
|
|
1475
|
-
} & {
|
|
1476
1523
|
start: number;
|
|
1477
1524
|
end: number;
|
|
1478
|
-
type: "
|
|
1525
|
+
type: "hyperlink";
|
|
1526
|
+
} | {
|
|
1527
|
+
data: string;
|
|
1528
|
+
start: number;
|
|
1529
|
+
end: number;
|
|
1530
|
+
type: "label";
|
|
1531
|
+
} | {
|
|
1532
|
+
start: number;
|
|
1533
|
+
end: number;
|
|
1534
|
+
type: string;
|
|
1479
1535
|
})[], ({
|
|
1480
|
-
data
|
|
1536
|
+
data: ({
|
|
1481
1537
|
__TYPE__: "ImageLink";
|
|
1482
1538
|
} & {
|
|
1483
1539
|
id: string;
|
|
@@ -1516,10 +1572,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1516
1572
|
title?: string;
|
|
1517
1573
|
} | null | undefined;
|
|
1518
1574
|
});
|
|
1519
|
-
} & {
|
|
1520
1575
|
start: number;
|
|
1521
1576
|
end: number;
|
|
1522
|
-
type: "
|
|
1577
|
+
type: "hyperlink";
|
|
1578
|
+
} | {
|
|
1579
|
+
data: string;
|
|
1580
|
+
start: number;
|
|
1581
|
+
end: number;
|
|
1582
|
+
type: "label";
|
|
1583
|
+
} | {
|
|
1584
|
+
start: number;
|
|
1585
|
+
end: number;
|
|
1586
|
+
type: string;
|
|
1523
1587
|
})[], unknown>;
|
|
1524
1588
|
}>]>;
|
|
1525
1589
|
}>, t.PartialC<{
|
|
@@ -1814,7 +1878,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1814
1878
|
text: t.StringC;
|
|
1815
1879
|
}>, t.PartialC<{
|
|
1816
1880
|
spans: t.Type<({
|
|
1817
|
-
data
|
|
1881
|
+
data: ({
|
|
1818
1882
|
__TYPE__: "ImageLink";
|
|
1819
1883
|
} & {
|
|
1820
1884
|
id: string;
|
|
@@ -1853,12 +1917,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1853
1917
|
title?: string;
|
|
1854
1918
|
} | null | undefined;
|
|
1855
1919
|
});
|
|
1856
|
-
} & {
|
|
1857
1920
|
start: number;
|
|
1858
1921
|
end: number;
|
|
1859
|
-
type: "
|
|
1922
|
+
type: "hyperlink";
|
|
1923
|
+
} | {
|
|
1924
|
+
data: string;
|
|
1925
|
+
start: number;
|
|
1926
|
+
end: number;
|
|
1927
|
+
type: "label";
|
|
1928
|
+
} | {
|
|
1929
|
+
start: number;
|
|
1930
|
+
end: number;
|
|
1931
|
+
type: string;
|
|
1860
1932
|
})[], ({
|
|
1861
|
-
data
|
|
1933
|
+
data: ({
|
|
1862
1934
|
__TYPE__: "ImageLink";
|
|
1863
1935
|
} & {
|
|
1864
1936
|
id: string;
|
|
@@ -1897,10 +1969,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
1897
1969
|
title?: string;
|
|
1898
1970
|
} | null | undefined;
|
|
1899
1971
|
});
|
|
1900
|
-
} & {
|
|
1901
1972
|
start: number;
|
|
1902
1973
|
end: number;
|
|
1903
|
-
type: "
|
|
1974
|
+
type: "hyperlink";
|
|
1975
|
+
} | {
|
|
1976
|
+
data: string;
|
|
1977
|
+
start: number;
|
|
1978
|
+
end: number;
|
|
1979
|
+
type: "label";
|
|
1980
|
+
} | {
|
|
1981
|
+
start: number;
|
|
1982
|
+
end: number;
|
|
1983
|
+
type: string;
|
|
1904
1984
|
})[], unknown>;
|
|
1905
1985
|
}>]>;
|
|
1906
1986
|
}>, t.PartialC<{
|
|
@@ -2193,7 +2273,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2193
2273
|
text: t.StringC;
|
|
2194
2274
|
}>, t.PartialC<{
|
|
2195
2275
|
spans: t.Type<({
|
|
2196
|
-
data
|
|
2276
|
+
data: ({
|
|
2197
2277
|
__TYPE__: "ImageLink";
|
|
2198
2278
|
} & {
|
|
2199
2279
|
id: string;
|
|
@@ -2232,12 +2312,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2232
2312
|
title?: string;
|
|
2233
2313
|
} | null | undefined;
|
|
2234
2314
|
});
|
|
2235
|
-
} & {
|
|
2236
2315
|
start: number;
|
|
2237
2316
|
end: number;
|
|
2238
|
-
type: "
|
|
2317
|
+
type: "hyperlink";
|
|
2318
|
+
} | {
|
|
2319
|
+
data: string;
|
|
2320
|
+
start: number;
|
|
2321
|
+
end: number;
|
|
2322
|
+
type: "label";
|
|
2323
|
+
} | {
|
|
2324
|
+
start: number;
|
|
2325
|
+
end: number;
|
|
2326
|
+
type: string;
|
|
2239
2327
|
})[], ({
|
|
2240
|
-
data
|
|
2328
|
+
data: ({
|
|
2241
2329
|
__TYPE__: "ImageLink";
|
|
2242
2330
|
} & {
|
|
2243
2331
|
id: string;
|
|
@@ -2276,10 +2364,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2276
2364
|
title?: string;
|
|
2277
2365
|
} | null | undefined;
|
|
2278
2366
|
});
|
|
2279
|
-
} & {
|
|
2280
2367
|
start: number;
|
|
2281
2368
|
end: number;
|
|
2282
|
-
type: "
|
|
2369
|
+
type: "hyperlink";
|
|
2370
|
+
} | {
|
|
2371
|
+
data: string;
|
|
2372
|
+
start: number;
|
|
2373
|
+
end: number;
|
|
2374
|
+
type: "label";
|
|
2375
|
+
} | {
|
|
2376
|
+
start: number;
|
|
2377
|
+
end: number;
|
|
2378
|
+
type: string;
|
|
2283
2379
|
})[], unknown>;
|
|
2284
2380
|
}>]>;
|
|
2285
2381
|
}>, t.PartialC<{
|
|
@@ -2571,7 +2667,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2571
2667
|
text: t.StringC;
|
|
2572
2668
|
}>, t.PartialC<{
|
|
2573
2669
|
spans: t.Type<({
|
|
2574
|
-
data
|
|
2670
|
+
data: ({
|
|
2575
2671
|
__TYPE__: "ImageLink";
|
|
2576
2672
|
} & {
|
|
2577
2673
|
id: string;
|
|
@@ -2610,12 +2706,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2610
2706
|
title?: string;
|
|
2611
2707
|
} | null | undefined;
|
|
2612
2708
|
});
|
|
2613
|
-
} & {
|
|
2614
2709
|
start: number;
|
|
2615
2710
|
end: number;
|
|
2616
|
-
type: "
|
|
2711
|
+
type: "hyperlink";
|
|
2712
|
+
} | {
|
|
2713
|
+
data: string;
|
|
2714
|
+
start: number;
|
|
2715
|
+
end: number;
|
|
2716
|
+
type: "label";
|
|
2717
|
+
} | {
|
|
2718
|
+
start: number;
|
|
2719
|
+
end: number;
|
|
2720
|
+
type: string;
|
|
2617
2721
|
})[], ({
|
|
2618
|
-
data
|
|
2722
|
+
data: ({
|
|
2619
2723
|
__TYPE__: "ImageLink";
|
|
2620
2724
|
} & {
|
|
2621
2725
|
id: string;
|
|
@@ -2654,10 +2758,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2654
2758
|
title?: string;
|
|
2655
2759
|
} | null | undefined;
|
|
2656
2760
|
});
|
|
2657
|
-
} & {
|
|
2658
2761
|
start: number;
|
|
2659
2762
|
end: number;
|
|
2660
|
-
type: "
|
|
2763
|
+
type: "hyperlink";
|
|
2764
|
+
} | {
|
|
2765
|
+
data: string;
|
|
2766
|
+
start: number;
|
|
2767
|
+
end: number;
|
|
2768
|
+
type: "label";
|
|
2769
|
+
} | {
|
|
2770
|
+
start: number;
|
|
2771
|
+
end: number;
|
|
2772
|
+
type: string;
|
|
2661
2773
|
})[], unknown>;
|
|
2662
2774
|
}>]>;
|
|
2663
2775
|
}>, t.PartialC<{
|
|
@@ -2951,7 +3063,7 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2951
3063
|
text: t.StringC;
|
|
2952
3064
|
}>, t.PartialC<{
|
|
2953
3065
|
spans: t.Type<({
|
|
2954
|
-
data
|
|
3066
|
+
data: ({
|
|
2955
3067
|
__TYPE__: "ImageLink";
|
|
2956
3068
|
} & {
|
|
2957
3069
|
id: string;
|
|
@@ -2990,12 +3102,20 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
2990
3102
|
title?: string;
|
|
2991
3103
|
} | null | undefined;
|
|
2992
3104
|
});
|
|
2993
|
-
} & {
|
|
2994
3105
|
start: number;
|
|
2995
3106
|
end: number;
|
|
2996
|
-
type: "
|
|
3107
|
+
type: "hyperlink";
|
|
3108
|
+
} | {
|
|
3109
|
+
data: string;
|
|
3110
|
+
start: number;
|
|
3111
|
+
end: number;
|
|
3112
|
+
type: "label";
|
|
3113
|
+
} | {
|
|
3114
|
+
start: number;
|
|
3115
|
+
end: number;
|
|
3116
|
+
type: string;
|
|
2997
3117
|
})[], ({
|
|
2998
|
-
data
|
|
3118
|
+
data: ({
|
|
2999
3119
|
__TYPE__: "ImageLink";
|
|
3000
3120
|
} & {
|
|
3001
3121
|
id: string;
|
|
@@ -3034,10 +3154,18 @@ export declare const Document: t.RecordC<t.Type<string, string, unknown>, t.Unio
|
|
|
3034
3154
|
title?: string;
|
|
3035
3155
|
} | null | undefined;
|
|
3036
3156
|
});
|
|
3037
|
-
} & {
|
|
3038
3157
|
start: number;
|
|
3039
3158
|
end: number;
|
|
3040
|
-
type: "
|
|
3159
|
+
type: "hyperlink";
|
|
3160
|
+
} | {
|
|
3161
|
+
data: string;
|
|
3162
|
+
start: number;
|
|
3163
|
+
end: number;
|
|
3164
|
+
type: "label";
|
|
3165
|
+
} | {
|
|
3166
|
+
start: number;
|
|
3167
|
+
end: number;
|
|
3168
|
+
type: string;
|
|
3041
3169
|
})[], unknown>;
|
|
3042
3170
|
}>]>;
|
|
3043
3171
|
}>, t.PartialC<{
|
|
@@ -3322,7 +3450,7 @@ export declare const DocumentLegacy: {
|
|
|
3322
3450
|
text: string;
|
|
3323
3451
|
} & {
|
|
3324
3452
|
spans?: ({
|
|
3325
|
-
data
|
|
3453
|
+
data: ({
|
|
3326
3454
|
__TYPE__: "ImageLink";
|
|
3327
3455
|
} & {
|
|
3328
3456
|
id: string;
|
|
@@ -3361,10 +3489,18 @@ export declare const DocumentLegacy: {
|
|
|
3361
3489
|
title?: string;
|
|
3362
3490
|
} | null | undefined;
|
|
3363
3491
|
});
|
|
3364
|
-
} & {
|
|
3365
3492
|
start: number;
|
|
3366
3493
|
end: number;
|
|
3367
|
-
type: "
|
|
3494
|
+
type: "hyperlink";
|
|
3495
|
+
} | {
|
|
3496
|
+
data: string;
|
|
3497
|
+
start: number;
|
|
3498
|
+
end: number;
|
|
3499
|
+
type: "label";
|
|
3500
|
+
} | {
|
|
3501
|
+
start: number;
|
|
3502
|
+
end: number;
|
|
3503
|
+
type: string;
|
|
3368
3504
|
})[];
|
|
3369
3505
|
};
|
|
3370
3506
|
} & {
|
|
@@ -3630,7 +3766,7 @@ export declare const DocumentLegacy: {
|
|
|
3630
3766
|
text: string;
|
|
3631
3767
|
} & {
|
|
3632
3768
|
spans?: ({
|
|
3633
|
-
data
|
|
3769
|
+
data: ({
|
|
3634
3770
|
__TYPE__: "ImageLink";
|
|
3635
3771
|
} & {
|
|
3636
3772
|
id: string;
|
|
@@ -3669,10 +3805,18 @@ export declare const DocumentLegacy: {
|
|
|
3669
3805
|
title?: string;
|
|
3670
3806
|
} | null | undefined;
|
|
3671
3807
|
});
|
|
3672
|
-
} & {
|
|
3673
3808
|
start: number;
|
|
3674
3809
|
end: number;
|
|
3675
|
-
type: "
|
|
3810
|
+
type: "hyperlink";
|
|
3811
|
+
} | {
|
|
3812
|
+
data: string;
|
|
3813
|
+
start: number;
|
|
3814
|
+
end: number;
|
|
3815
|
+
type: "label";
|
|
3816
|
+
} | {
|
|
3817
|
+
start: number;
|
|
3818
|
+
end: number;
|
|
3819
|
+
type: string;
|
|
3676
3820
|
})[];
|
|
3677
3821
|
};
|
|
3678
3822
|
} & {
|
|
@@ -3945,7 +4089,7 @@ export declare const DocumentLegacy: {
|
|
|
3945
4089
|
text: string;
|
|
3946
4090
|
} & {
|
|
3947
4091
|
spans?: ({
|
|
3948
|
-
data
|
|
4092
|
+
data: ({
|
|
3949
4093
|
__TYPE__: "ImageLink";
|
|
3950
4094
|
} & {
|
|
3951
4095
|
id: string;
|
|
@@ -3984,10 +4128,18 @@ export declare const DocumentLegacy: {
|
|
|
3984
4128
|
title?: string;
|
|
3985
4129
|
} | null | undefined;
|
|
3986
4130
|
});
|
|
3987
|
-
} & {
|
|
3988
4131
|
start: number;
|
|
3989
4132
|
end: number;
|
|
3990
|
-
type: "
|
|
4133
|
+
type: "hyperlink";
|
|
4134
|
+
} | {
|
|
4135
|
+
data: string;
|
|
4136
|
+
start: number;
|
|
4137
|
+
end: number;
|
|
4138
|
+
type: "label";
|
|
4139
|
+
} | {
|
|
4140
|
+
start: number;
|
|
4141
|
+
end: number;
|
|
4142
|
+
type: string;
|
|
3991
4143
|
})[];
|
|
3992
4144
|
};
|
|
3993
4145
|
} & {
|
|
@@ -4253,7 +4405,7 @@ export declare const DocumentLegacy: {
|
|
|
4253
4405
|
text: string;
|
|
4254
4406
|
} & {
|
|
4255
4407
|
spans?: ({
|
|
4256
|
-
data
|
|
4408
|
+
data: ({
|
|
4257
4409
|
__TYPE__: "ImageLink";
|
|
4258
4410
|
} & {
|
|
4259
4411
|
id: string;
|
|
@@ -4292,10 +4444,18 @@ export declare const DocumentLegacy: {
|
|
|
4292
4444
|
title?: string;
|
|
4293
4445
|
} | null | undefined;
|
|
4294
4446
|
});
|
|
4295
|
-
} & {
|
|
4296
4447
|
start: number;
|
|
4297
4448
|
end: number;
|
|
4298
|
-
type: "
|
|
4449
|
+
type: "hyperlink";
|
|
4450
|
+
} | {
|
|
4451
|
+
data: string;
|
|
4452
|
+
start: number;
|
|
4453
|
+
end: number;
|
|
4454
|
+
type: "label";
|
|
4455
|
+
} | {
|
|
4456
|
+
start: number;
|
|
4457
|
+
end: number;
|
|
4458
|
+
type: string;
|
|
4299
4459
|
})[];
|
|
4300
4460
|
};
|
|
4301
4461
|
} & {
|
|
@@ -4562,7 +4722,7 @@ export declare const DocumentLegacy: {
|
|
|
4562
4722
|
text: string;
|
|
4563
4723
|
} & {
|
|
4564
4724
|
spans?: ({
|
|
4565
|
-
data
|
|
4725
|
+
data: ({
|
|
4566
4726
|
__TYPE__: "ImageLink";
|
|
4567
4727
|
} & {
|
|
4568
4728
|
id: string;
|
|
@@ -4601,10 +4761,18 @@ export declare const DocumentLegacy: {
|
|
|
4601
4761
|
title?: string;
|
|
4602
4762
|
} | null | undefined;
|
|
4603
4763
|
});
|
|
4604
|
-
} & {
|
|
4605
4764
|
start: number;
|
|
4606
4765
|
end: number;
|
|
4607
|
-
type: "
|
|
4766
|
+
type: "hyperlink";
|
|
4767
|
+
} | {
|
|
4768
|
+
data: string;
|
|
4769
|
+
start: number;
|
|
4770
|
+
end: number;
|
|
4771
|
+
type: "label";
|
|
4772
|
+
} | {
|
|
4773
|
+
start: number;
|
|
4774
|
+
end: number;
|
|
4775
|
+
type: string;
|
|
4608
4776
|
})[];
|
|
4609
4777
|
};
|
|
4610
4778
|
} & {
|
|
@@ -4870,7 +5038,7 @@ export declare const DocumentLegacy: {
|
|
|
4870
5038
|
text: string;
|
|
4871
5039
|
} & {
|
|
4872
5040
|
spans?: ({
|
|
4873
|
-
data
|
|
5041
|
+
data: ({
|
|
4874
5042
|
__TYPE__: "ImageLink";
|
|
4875
5043
|
} & {
|
|
4876
5044
|
id: string;
|
|
@@ -4909,10 +5077,18 @@ export declare const DocumentLegacy: {
|
|
|
4909
5077
|
title?: string;
|
|
4910
5078
|
} | null | undefined;
|
|
4911
5079
|
});
|
|
4912
|
-
} & {
|
|
4913
5080
|
start: number;
|
|
4914
5081
|
end: number;
|
|
4915
|
-
type: "
|
|
5082
|
+
type: "hyperlink";
|
|
5083
|
+
} | {
|
|
5084
|
+
data: string;
|
|
5085
|
+
start: number;
|
|
5086
|
+
end: number;
|
|
5087
|
+
type: "label";
|
|
5088
|
+
} | {
|
|
5089
|
+
start: number;
|
|
5090
|
+
end: number;
|
|
5091
|
+
type: string;
|
|
4916
5092
|
})[];
|
|
4917
5093
|
};
|
|
4918
5094
|
} & {
|
|
@@ -5180,7 +5356,7 @@ export declare const DocumentLegacy: {
|
|
|
5180
5356
|
text: string;
|
|
5181
5357
|
} & {
|
|
5182
5358
|
spans?: ({
|
|
5183
|
-
data
|
|
5359
|
+
data: ({
|
|
5184
5360
|
__TYPE__: "ImageLink";
|
|
5185
5361
|
} & {
|
|
5186
5362
|
id: string;
|
|
@@ -5219,10 +5395,18 @@ export declare const DocumentLegacy: {
|
|
|
5219
5395
|
title?: string;
|
|
5220
5396
|
} | null | undefined;
|
|
5221
5397
|
});
|
|
5222
|
-
} & {
|
|
5223
5398
|
start: number;
|
|
5224
5399
|
end: number;
|
|
5225
|
-
type: "
|
|
5400
|
+
type: "hyperlink";
|
|
5401
|
+
} | {
|
|
5402
|
+
data: string;
|
|
5403
|
+
start: number;
|
|
5404
|
+
end: number;
|
|
5405
|
+
type: "label";
|
|
5406
|
+
} | {
|
|
5407
|
+
start: number;
|
|
5408
|
+
end: number;
|
|
5409
|
+
type: string;
|
|
5226
5410
|
})[];
|
|
5227
5411
|
};
|
|
5228
5412
|
} & {
|
|
@@ -5488,7 +5672,7 @@ export declare const DocumentLegacy: {
|
|
|
5488
5672
|
text: string;
|
|
5489
5673
|
} & {
|
|
5490
5674
|
spans?: ({
|
|
5491
|
-
data
|
|
5675
|
+
data: ({
|
|
5492
5676
|
__TYPE__: "ImageLink";
|
|
5493
5677
|
} & {
|
|
5494
5678
|
id: string;
|
|
@@ -5527,10 +5711,18 @@ export declare const DocumentLegacy: {
|
|
|
5527
5711
|
title?: string;
|
|
5528
5712
|
} | null | undefined;
|
|
5529
5713
|
});
|
|
5530
|
-
} & {
|
|
5531
5714
|
start: number;
|
|
5532
5715
|
end: number;
|
|
5533
|
-
type: "
|
|
5716
|
+
type: "hyperlink";
|
|
5717
|
+
} | {
|
|
5718
|
+
data: string;
|
|
5719
|
+
start: number;
|
|
5720
|
+
end: number;
|
|
5721
|
+
type: "label";
|
|
5722
|
+
} | {
|
|
5723
|
+
start: number;
|
|
5724
|
+
end: number;
|
|
5725
|
+
type: string;
|
|
5534
5726
|
})[];
|
|
5535
5727
|
};
|
|
5536
5728
|
} & {
|
|
@@ -5826,7 +6018,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5826
6018
|
text: string;
|
|
5827
6019
|
} & {
|
|
5828
6020
|
spans?: ({
|
|
5829
|
-
data
|
|
6021
|
+
data: ({
|
|
5830
6022
|
__TYPE__: "ImageLink";
|
|
5831
6023
|
} & {
|
|
5832
6024
|
id: string;
|
|
@@ -5865,10 +6057,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
5865
6057
|
title?: string;
|
|
5866
6058
|
} | null | undefined;
|
|
5867
6059
|
});
|
|
5868
|
-
} & {
|
|
5869
6060
|
start: number;
|
|
5870
6061
|
end: number;
|
|
5871
|
-
type: "
|
|
6062
|
+
type: "hyperlink";
|
|
6063
|
+
} | {
|
|
6064
|
+
data: string;
|
|
6065
|
+
start: number;
|
|
6066
|
+
end: number;
|
|
6067
|
+
type: "label";
|
|
6068
|
+
} | {
|
|
6069
|
+
start: number;
|
|
6070
|
+
end: number;
|
|
6071
|
+
type: string;
|
|
5872
6072
|
})[];
|
|
5873
6073
|
};
|
|
5874
6074
|
} & {
|
|
@@ -6134,7 +6334,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6134
6334
|
text: string;
|
|
6135
6335
|
} & {
|
|
6136
6336
|
spans?: ({
|
|
6137
|
-
data
|
|
6337
|
+
data: ({
|
|
6138
6338
|
__TYPE__: "ImageLink";
|
|
6139
6339
|
} & {
|
|
6140
6340
|
id: string;
|
|
@@ -6173,10 +6373,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6173
6373
|
title?: string;
|
|
6174
6374
|
} | null | undefined;
|
|
6175
6375
|
});
|
|
6176
|
-
} & {
|
|
6177
6376
|
start: number;
|
|
6178
6377
|
end: number;
|
|
6179
|
-
type: "
|
|
6378
|
+
type: "hyperlink";
|
|
6379
|
+
} | {
|
|
6380
|
+
data: string;
|
|
6381
|
+
start: number;
|
|
6382
|
+
end: number;
|
|
6383
|
+
type: "label";
|
|
6384
|
+
} | {
|
|
6385
|
+
start: number;
|
|
6386
|
+
end: number;
|
|
6387
|
+
type: string;
|
|
6180
6388
|
})[];
|
|
6181
6389
|
};
|
|
6182
6390
|
} & {
|
|
@@ -6449,7 +6657,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6449
6657
|
text: string;
|
|
6450
6658
|
} & {
|
|
6451
6659
|
spans?: ({
|
|
6452
|
-
data
|
|
6660
|
+
data: ({
|
|
6453
6661
|
__TYPE__: "ImageLink";
|
|
6454
6662
|
} & {
|
|
6455
6663
|
id: string;
|
|
@@ -6488,10 +6696,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6488
6696
|
title?: string;
|
|
6489
6697
|
} | null | undefined;
|
|
6490
6698
|
});
|
|
6491
|
-
} & {
|
|
6492
6699
|
start: number;
|
|
6493
6700
|
end: number;
|
|
6494
|
-
type: "
|
|
6701
|
+
type: "hyperlink";
|
|
6702
|
+
} | {
|
|
6703
|
+
data: string;
|
|
6704
|
+
start: number;
|
|
6705
|
+
end: number;
|
|
6706
|
+
type: "label";
|
|
6707
|
+
} | {
|
|
6708
|
+
start: number;
|
|
6709
|
+
end: number;
|
|
6710
|
+
type: string;
|
|
6495
6711
|
})[];
|
|
6496
6712
|
};
|
|
6497
6713
|
} & {
|
|
@@ -6757,7 +6973,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6757
6973
|
text: string;
|
|
6758
6974
|
} & {
|
|
6759
6975
|
spans?: ({
|
|
6760
|
-
data
|
|
6976
|
+
data: ({
|
|
6761
6977
|
__TYPE__: "ImageLink";
|
|
6762
6978
|
} & {
|
|
6763
6979
|
id: string;
|
|
@@ -6796,10 +7012,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
6796
7012
|
title?: string;
|
|
6797
7013
|
} | null | undefined;
|
|
6798
7014
|
});
|
|
6799
|
-
} & {
|
|
6800
7015
|
start: number;
|
|
6801
7016
|
end: number;
|
|
6802
|
-
type: "
|
|
7017
|
+
type: "hyperlink";
|
|
7018
|
+
} | {
|
|
7019
|
+
data: string;
|
|
7020
|
+
start: number;
|
|
7021
|
+
end: number;
|
|
7022
|
+
type: "label";
|
|
7023
|
+
} | {
|
|
7024
|
+
start: number;
|
|
7025
|
+
end: number;
|
|
7026
|
+
type: string;
|
|
6803
7027
|
})[];
|
|
6804
7028
|
};
|
|
6805
7029
|
} & {
|
|
@@ -7066,7 +7290,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7066
7290
|
text: string;
|
|
7067
7291
|
} & {
|
|
7068
7292
|
spans?: ({
|
|
7069
|
-
data
|
|
7293
|
+
data: ({
|
|
7070
7294
|
__TYPE__: "ImageLink";
|
|
7071
7295
|
} & {
|
|
7072
7296
|
id: string;
|
|
@@ -7105,10 +7329,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7105
7329
|
title?: string;
|
|
7106
7330
|
} | null | undefined;
|
|
7107
7331
|
});
|
|
7108
|
-
} & {
|
|
7109
7332
|
start: number;
|
|
7110
7333
|
end: number;
|
|
7111
|
-
type: "
|
|
7334
|
+
type: "hyperlink";
|
|
7335
|
+
} | {
|
|
7336
|
+
data: string;
|
|
7337
|
+
start: number;
|
|
7338
|
+
end: number;
|
|
7339
|
+
type: "label";
|
|
7340
|
+
} | {
|
|
7341
|
+
start: number;
|
|
7342
|
+
end: number;
|
|
7343
|
+
type: string;
|
|
7112
7344
|
})[];
|
|
7113
7345
|
};
|
|
7114
7346
|
} & {
|
|
@@ -7374,7 +7606,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7374
7606
|
text: string;
|
|
7375
7607
|
} & {
|
|
7376
7608
|
spans?: ({
|
|
7377
|
-
data
|
|
7609
|
+
data: ({
|
|
7378
7610
|
__TYPE__: "ImageLink";
|
|
7379
7611
|
} & {
|
|
7380
7612
|
id: string;
|
|
@@ -7413,10 +7645,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7413
7645
|
title?: string;
|
|
7414
7646
|
} | null | undefined;
|
|
7415
7647
|
});
|
|
7416
|
-
} & {
|
|
7417
7648
|
start: number;
|
|
7418
7649
|
end: number;
|
|
7419
|
-
type: "
|
|
7650
|
+
type: "hyperlink";
|
|
7651
|
+
} | {
|
|
7652
|
+
data: string;
|
|
7653
|
+
start: number;
|
|
7654
|
+
end: number;
|
|
7655
|
+
type: "label";
|
|
7656
|
+
} | {
|
|
7657
|
+
start: number;
|
|
7658
|
+
end: number;
|
|
7659
|
+
type: string;
|
|
7420
7660
|
})[];
|
|
7421
7661
|
};
|
|
7422
7662
|
} & {
|
|
@@ -7684,7 +7924,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7684
7924
|
text: string;
|
|
7685
7925
|
} & {
|
|
7686
7926
|
spans?: ({
|
|
7687
|
-
data
|
|
7927
|
+
data: ({
|
|
7688
7928
|
__TYPE__: "ImageLink";
|
|
7689
7929
|
} & {
|
|
7690
7930
|
id: string;
|
|
@@ -7723,10 +7963,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7723
7963
|
title?: string;
|
|
7724
7964
|
} | null | undefined;
|
|
7725
7965
|
});
|
|
7726
|
-
} & {
|
|
7727
7966
|
start: number;
|
|
7728
7967
|
end: number;
|
|
7729
|
-
type: "
|
|
7968
|
+
type: "hyperlink";
|
|
7969
|
+
} | {
|
|
7970
|
+
data: string;
|
|
7971
|
+
start: number;
|
|
7972
|
+
end: number;
|
|
7973
|
+
type: "label";
|
|
7974
|
+
} | {
|
|
7975
|
+
start: number;
|
|
7976
|
+
end: number;
|
|
7977
|
+
type: string;
|
|
7730
7978
|
})[];
|
|
7731
7979
|
};
|
|
7732
7980
|
} & {
|
|
@@ -7992,7 +8240,7 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
7992
8240
|
text: string;
|
|
7993
8241
|
} & {
|
|
7994
8242
|
spans?: ({
|
|
7995
|
-
data
|
|
8243
|
+
data: ({
|
|
7996
8244
|
__TYPE__: "ImageLink";
|
|
7997
8245
|
} & {
|
|
7998
8246
|
id: string;
|
|
@@ -8031,10 +8279,18 @@ export declare function migrateDocument(document: Document, customType: StaticCu
|
|
|
8031
8279
|
title?: string;
|
|
8032
8280
|
} | null | undefined;
|
|
8033
8281
|
});
|
|
8034
|
-
} & {
|
|
8035
8282
|
start: number;
|
|
8036
8283
|
end: number;
|
|
8037
|
-
type: "
|
|
8284
|
+
type: "hyperlink";
|
|
8285
|
+
} | {
|
|
8286
|
+
data: string;
|
|
8287
|
+
start: number;
|
|
8288
|
+
end: number;
|
|
8289
|
+
type: "label";
|
|
8290
|
+
} | {
|
|
8291
|
+
start: number;
|
|
8292
|
+
end: number;
|
|
8293
|
+
type: string;
|
|
8038
8294
|
})[];
|
|
8039
8295
|
};
|
|
8040
8296
|
} & {
|