@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
|
@@ -285,7 +285,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
285
285
|
text: t.StringC;
|
|
286
286
|
}>, t.PartialC<{
|
|
287
287
|
spans: t.Type<({
|
|
288
|
-
data
|
|
288
|
+
data: ({
|
|
289
289
|
__TYPE__: "ImageLink";
|
|
290
290
|
} & {
|
|
291
291
|
id: string;
|
|
@@ -324,12 +324,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
324
324
|
title?: string;
|
|
325
325
|
} | null | undefined;
|
|
326
326
|
});
|
|
327
|
-
} & {
|
|
328
327
|
start: number;
|
|
329
328
|
end: number;
|
|
330
|
-
type: "
|
|
329
|
+
type: "hyperlink";
|
|
330
|
+
} | {
|
|
331
|
+
data: string;
|
|
332
|
+
start: number;
|
|
333
|
+
end: number;
|
|
334
|
+
type: "label";
|
|
335
|
+
} | {
|
|
336
|
+
start: number;
|
|
337
|
+
end: number;
|
|
338
|
+
type: string;
|
|
331
339
|
})[], ({
|
|
332
|
-
data
|
|
340
|
+
data: ({
|
|
333
341
|
__TYPE__: "ImageLink";
|
|
334
342
|
} & {
|
|
335
343
|
id: string;
|
|
@@ -368,10 +376,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
368
376
|
title?: string;
|
|
369
377
|
} | null | undefined;
|
|
370
378
|
});
|
|
371
|
-
} & {
|
|
372
379
|
start: number;
|
|
373
380
|
end: number;
|
|
374
|
-
type: "
|
|
381
|
+
type: "hyperlink";
|
|
382
|
+
} | {
|
|
383
|
+
data: string;
|
|
384
|
+
start: number;
|
|
385
|
+
end: number;
|
|
386
|
+
type: "label";
|
|
387
|
+
} | {
|
|
388
|
+
start: number;
|
|
389
|
+
end: number;
|
|
390
|
+
type: string;
|
|
375
391
|
})[], unknown>;
|
|
376
392
|
}>]>;
|
|
377
393
|
}>, t.PartialC<{
|
|
@@ -663,7 +679,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
663
679
|
text: t.StringC;
|
|
664
680
|
}>, t.PartialC<{
|
|
665
681
|
spans: t.Type<({
|
|
666
|
-
data
|
|
682
|
+
data: ({
|
|
667
683
|
__TYPE__: "ImageLink";
|
|
668
684
|
} & {
|
|
669
685
|
id: string;
|
|
@@ -702,12 +718,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
702
718
|
title?: string;
|
|
703
719
|
} | null | undefined;
|
|
704
720
|
});
|
|
705
|
-
} & {
|
|
706
721
|
start: number;
|
|
707
722
|
end: number;
|
|
708
|
-
type: "
|
|
723
|
+
type: "hyperlink";
|
|
724
|
+
} | {
|
|
725
|
+
data: string;
|
|
726
|
+
start: number;
|
|
727
|
+
end: number;
|
|
728
|
+
type: "label";
|
|
729
|
+
} | {
|
|
730
|
+
start: number;
|
|
731
|
+
end: number;
|
|
732
|
+
type: string;
|
|
709
733
|
})[], ({
|
|
710
|
-
data
|
|
734
|
+
data: ({
|
|
711
735
|
__TYPE__: "ImageLink";
|
|
712
736
|
} & {
|
|
713
737
|
id: string;
|
|
@@ -746,10 +770,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
746
770
|
title?: string;
|
|
747
771
|
} | null | undefined;
|
|
748
772
|
});
|
|
749
|
-
} & {
|
|
750
773
|
start: number;
|
|
751
774
|
end: number;
|
|
752
|
-
type: "
|
|
775
|
+
type: "hyperlink";
|
|
776
|
+
} | {
|
|
777
|
+
data: string;
|
|
778
|
+
start: number;
|
|
779
|
+
end: number;
|
|
780
|
+
type: "label";
|
|
781
|
+
} | {
|
|
782
|
+
start: number;
|
|
783
|
+
end: number;
|
|
784
|
+
type: string;
|
|
753
785
|
})[], unknown>;
|
|
754
786
|
}>]>;
|
|
755
787
|
}>, t.PartialC<{
|
|
@@ -1050,7 +1082,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1050
1082
|
text: t.StringC;
|
|
1051
1083
|
}>, t.PartialC<{
|
|
1052
1084
|
spans: t.Type<({
|
|
1053
|
-
data
|
|
1085
|
+
data: ({
|
|
1054
1086
|
__TYPE__: "ImageLink";
|
|
1055
1087
|
} & {
|
|
1056
1088
|
id: string;
|
|
@@ -1089,12 +1121,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1089
1121
|
title?: string;
|
|
1090
1122
|
} | null | undefined;
|
|
1091
1123
|
});
|
|
1092
|
-
} & {
|
|
1093
1124
|
start: number;
|
|
1094
1125
|
end: number;
|
|
1095
|
-
type: "
|
|
1126
|
+
type: "hyperlink";
|
|
1127
|
+
} | {
|
|
1128
|
+
data: string;
|
|
1129
|
+
start: number;
|
|
1130
|
+
end: number;
|
|
1131
|
+
type: "label";
|
|
1132
|
+
} | {
|
|
1133
|
+
start: number;
|
|
1134
|
+
end: number;
|
|
1135
|
+
type: string;
|
|
1096
1136
|
})[], ({
|
|
1097
|
-
data
|
|
1137
|
+
data: ({
|
|
1098
1138
|
__TYPE__: "ImageLink";
|
|
1099
1139
|
} & {
|
|
1100
1140
|
id: string;
|
|
@@ -1133,10 +1173,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1133
1173
|
title?: string;
|
|
1134
1174
|
} | null | undefined;
|
|
1135
1175
|
});
|
|
1136
|
-
} & {
|
|
1137
1176
|
start: number;
|
|
1138
1177
|
end: number;
|
|
1139
|
-
type: "
|
|
1178
|
+
type: "hyperlink";
|
|
1179
|
+
} | {
|
|
1180
|
+
data: string;
|
|
1181
|
+
start: number;
|
|
1182
|
+
end: number;
|
|
1183
|
+
type: "label";
|
|
1184
|
+
} | {
|
|
1185
|
+
start: number;
|
|
1186
|
+
end: number;
|
|
1187
|
+
type: string;
|
|
1140
1188
|
})[], unknown>;
|
|
1141
1189
|
}>]>;
|
|
1142
1190
|
}>, t.PartialC<{
|
|
@@ -1429,7 +1477,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1429
1477
|
text: t.StringC;
|
|
1430
1478
|
}>, t.PartialC<{
|
|
1431
1479
|
spans: t.Type<({
|
|
1432
|
-
data
|
|
1480
|
+
data: ({
|
|
1433
1481
|
__TYPE__: "ImageLink";
|
|
1434
1482
|
} & {
|
|
1435
1483
|
id: string;
|
|
@@ -1468,12 +1516,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1468
1516
|
title?: string;
|
|
1469
1517
|
} | null | undefined;
|
|
1470
1518
|
});
|
|
1471
|
-
} & {
|
|
1472
1519
|
start: number;
|
|
1473
1520
|
end: number;
|
|
1474
|
-
type: "
|
|
1521
|
+
type: "hyperlink";
|
|
1522
|
+
} | {
|
|
1523
|
+
data: string;
|
|
1524
|
+
start: number;
|
|
1525
|
+
end: number;
|
|
1526
|
+
type: "label";
|
|
1527
|
+
} | {
|
|
1528
|
+
start: number;
|
|
1529
|
+
end: number;
|
|
1530
|
+
type: string;
|
|
1475
1531
|
})[], ({
|
|
1476
|
-
data
|
|
1532
|
+
data: ({
|
|
1477
1533
|
__TYPE__: "ImageLink";
|
|
1478
1534
|
} & {
|
|
1479
1535
|
id: string;
|
|
@@ -1512,10 +1568,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1512
1568
|
title?: string;
|
|
1513
1569
|
} | null | undefined;
|
|
1514
1570
|
});
|
|
1515
|
-
} & {
|
|
1516
1571
|
start: number;
|
|
1517
1572
|
end: number;
|
|
1518
|
-
type: "
|
|
1573
|
+
type: "hyperlink";
|
|
1574
|
+
} | {
|
|
1575
|
+
data: string;
|
|
1576
|
+
start: number;
|
|
1577
|
+
end: number;
|
|
1578
|
+
type: "label";
|
|
1579
|
+
} | {
|
|
1580
|
+
start: number;
|
|
1581
|
+
end: number;
|
|
1582
|
+
type: string;
|
|
1519
1583
|
})[], unknown>;
|
|
1520
1584
|
}>]>;
|
|
1521
1585
|
}>, t.PartialC<{
|
|
@@ -1810,7 +1874,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1810
1874
|
text: t.StringC;
|
|
1811
1875
|
}>, t.PartialC<{
|
|
1812
1876
|
spans: t.Type<({
|
|
1813
|
-
data
|
|
1877
|
+
data: ({
|
|
1814
1878
|
__TYPE__: "ImageLink";
|
|
1815
1879
|
} & {
|
|
1816
1880
|
id: string;
|
|
@@ -1849,12 +1913,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1849
1913
|
title?: string;
|
|
1850
1914
|
} | null | undefined;
|
|
1851
1915
|
});
|
|
1852
|
-
} & {
|
|
1853
1916
|
start: number;
|
|
1854
1917
|
end: number;
|
|
1855
|
-
type: "
|
|
1918
|
+
type: "hyperlink";
|
|
1919
|
+
} | {
|
|
1920
|
+
data: string;
|
|
1921
|
+
start: number;
|
|
1922
|
+
end: number;
|
|
1923
|
+
type: "label";
|
|
1924
|
+
} | {
|
|
1925
|
+
start: number;
|
|
1926
|
+
end: number;
|
|
1927
|
+
type: string;
|
|
1856
1928
|
})[], ({
|
|
1857
|
-
data
|
|
1929
|
+
data: ({
|
|
1858
1930
|
__TYPE__: "ImageLink";
|
|
1859
1931
|
} & {
|
|
1860
1932
|
id: string;
|
|
@@ -1893,10 +1965,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1893
1965
|
title?: string;
|
|
1894
1966
|
} | null | undefined;
|
|
1895
1967
|
});
|
|
1896
|
-
} & {
|
|
1897
1968
|
start: number;
|
|
1898
1969
|
end: number;
|
|
1899
|
-
type: "
|
|
1970
|
+
type: "hyperlink";
|
|
1971
|
+
} | {
|
|
1972
|
+
data: string;
|
|
1973
|
+
start: number;
|
|
1974
|
+
end: number;
|
|
1975
|
+
type: "label";
|
|
1976
|
+
} | {
|
|
1977
|
+
start: number;
|
|
1978
|
+
end: number;
|
|
1979
|
+
type: string;
|
|
1900
1980
|
})[], unknown>;
|
|
1901
1981
|
}>]>;
|
|
1902
1982
|
}>, t.PartialC<{
|
|
@@ -2189,7 +2269,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2189
2269
|
text: t.StringC;
|
|
2190
2270
|
}>, t.PartialC<{
|
|
2191
2271
|
spans: t.Type<({
|
|
2192
|
-
data
|
|
2272
|
+
data: ({
|
|
2193
2273
|
__TYPE__: "ImageLink";
|
|
2194
2274
|
} & {
|
|
2195
2275
|
id: string;
|
|
@@ -2228,12 +2308,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2228
2308
|
title?: string;
|
|
2229
2309
|
} | null | undefined;
|
|
2230
2310
|
});
|
|
2231
|
-
} & {
|
|
2232
2311
|
start: number;
|
|
2233
2312
|
end: number;
|
|
2234
|
-
type: "
|
|
2313
|
+
type: "hyperlink";
|
|
2314
|
+
} | {
|
|
2315
|
+
data: string;
|
|
2316
|
+
start: number;
|
|
2317
|
+
end: number;
|
|
2318
|
+
type: "label";
|
|
2319
|
+
} | {
|
|
2320
|
+
start: number;
|
|
2321
|
+
end: number;
|
|
2322
|
+
type: string;
|
|
2235
2323
|
})[], ({
|
|
2236
|
-
data
|
|
2324
|
+
data: ({
|
|
2237
2325
|
__TYPE__: "ImageLink";
|
|
2238
2326
|
} & {
|
|
2239
2327
|
id: string;
|
|
@@ -2272,10 +2360,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2272
2360
|
title?: string;
|
|
2273
2361
|
} | null | undefined;
|
|
2274
2362
|
});
|
|
2275
|
-
} & {
|
|
2276
2363
|
start: number;
|
|
2277
2364
|
end: number;
|
|
2278
|
-
type: "
|
|
2365
|
+
type: "hyperlink";
|
|
2366
|
+
} | {
|
|
2367
|
+
data: string;
|
|
2368
|
+
start: number;
|
|
2369
|
+
end: number;
|
|
2370
|
+
type: "label";
|
|
2371
|
+
} | {
|
|
2372
|
+
start: number;
|
|
2373
|
+
end: number;
|
|
2374
|
+
type: string;
|
|
2279
2375
|
})[], unknown>;
|
|
2280
2376
|
}>]>;
|
|
2281
2377
|
}>, t.PartialC<{
|
|
@@ -2567,7 +2663,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2567
2663
|
text: t.StringC;
|
|
2568
2664
|
}>, t.PartialC<{
|
|
2569
2665
|
spans: t.Type<({
|
|
2570
|
-
data
|
|
2666
|
+
data: ({
|
|
2571
2667
|
__TYPE__: "ImageLink";
|
|
2572
2668
|
} & {
|
|
2573
2669
|
id: string;
|
|
@@ -2606,12 +2702,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2606
2702
|
title?: string;
|
|
2607
2703
|
} | null | undefined;
|
|
2608
2704
|
});
|
|
2609
|
-
} & {
|
|
2610
2705
|
start: number;
|
|
2611
2706
|
end: number;
|
|
2612
|
-
type: "
|
|
2707
|
+
type: "hyperlink";
|
|
2708
|
+
} | {
|
|
2709
|
+
data: string;
|
|
2710
|
+
start: number;
|
|
2711
|
+
end: number;
|
|
2712
|
+
type: "label";
|
|
2713
|
+
} | {
|
|
2714
|
+
start: number;
|
|
2715
|
+
end: number;
|
|
2716
|
+
type: string;
|
|
2613
2717
|
})[], ({
|
|
2614
|
-
data
|
|
2718
|
+
data: ({
|
|
2615
2719
|
__TYPE__: "ImageLink";
|
|
2616
2720
|
} & {
|
|
2617
2721
|
id: string;
|
|
@@ -2650,10 +2754,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2650
2754
|
title?: string;
|
|
2651
2755
|
} | null | undefined;
|
|
2652
2756
|
});
|
|
2653
|
-
} & {
|
|
2654
2757
|
start: number;
|
|
2655
2758
|
end: number;
|
|
2656
|
-
type: "
|
|
2759
|
+
type: "hyperlink";
|
|
2760
|
+
} | {
|
|
2761
|
+
data: string;
|
|
2762
|
+
start: number;
|
|
2763
|
+
end: number;
|
|
2764
|
+
type: "label";
|
|
2765
|
+
} | {
|
|
2766
|
+
start: number;
|
|
2767
|
+
end: number;
|
|
2768
|
+
type: string;
|
|
2657
2769
|
})[], unknown>;
|
|
2658
2770
|
}>]>;
|
|
2659
2771
|
}>, t.PartialC<{
|
|
@@ -2947,7 +3059,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2947
3059
|
text: t.StringC;
|
|
2948
3060
|
}>, t.PartialC<{
|
|
2949
3061
|
spans: t.Type<({
|
|
2950
|
-
data
|
|
3062
|
+
data: ({
|
|
2951
3063
|
__TYPE__: "ImageLink";
|
|
2952
3064
|
} & {
|
|
2953
3065
|
id: string;
|
|
@@ -2986,12 +3098,20 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2986
3098
|
title?: string;
|
|
2987
3099
|
} | null | undefined;
|
|
2988
3100
|
});
|
|
2989
|
-
} & {
|
|
2990
3101
|
start: number;
|
|
2991
3102
|
end: number;
|
|
2992
|
-
type: "
|
|
3103
|
+
type: "hyperlink";
|
|
3104
|
+
} | {
|
|
3105
|
+
data: string;
|
|
3106
|
+
start: number;
|
|
3107
|
+
end: number;
|
|
3108
|
+
type: "label";
|
|
3109
|
+
} | {
|
|
3110
|
+
start: number;
|
|
3111
|
+
end: number;
|
|
3112
|
+
type: string;
|
|
2993
3113
|
})[], ({
|
|
2994
|
-
data
|
|
3114
|
+
data: ({
|
|
2995
3115
|
__TYPE__: "ImageLink";
|
|
2996
3116
|
} & {
|
|
2997
3117
|
id: string;
|
|
@@ -3030,10 +3150,18 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3030
3150
|
title?: string;
|
|
3031
3151
|
} | null | undefined;
|
|
3032
3152
|
});
|
|
3033
|
-
} & {
|
|
3034
3153
|
start: number;
|
|
3035
3154
|
end: number;
|
|
3036
|
-
type: "
|
|
3155
|
+
type: "hyperlink";
|
|
3156
|
+
} | {
|
|
3157
|
+
data: string;
|
|
3158
|
+
start: number;
|
|
3159
|
+
end: number;
|
|
3160
|
+
type: "label";
|
|
3161
|
+
} | {
|
|
3162
|
+
start: number;
|
|
3163
|
+
end: number;
|
|
3164
|
+
type: string;
|
|
3037
3165
|
})[], unknown>;
|
|
3038
3166
|
}>]>;
|
|
3039
3167
|
}>, t.PartialC<{
|
|
@@ -3300,7 +3428,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3300
3428
|
text: string;
|
|
3301
3429
|
} & {
|
|
3302
3430
|
spans?: ({
|
|
3303
|
-
data
|
|
3431
|
+
data: ({
|
|
3304
3432
|
__TYPE__: "ImageLink";
|
|
3305
3433
|
} & {
|
|
3306
3434
|
id: string;
|
|
@@ -3339,10 +3467,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3339
3467
|
title?: string;
|
|
3340
3468
|
} | null | undefined;
|
|
3341
3469
|
});
|
|
3342
|
-
} & {
|
|
3343
3470
|
start: number;
|
|
3344
3471
|
end: number;
|
|
3345
|
-
type: "
|
|
3472
|
+
type: "hyperlink";
|
|
3473
|
+
} | {
|
|
3474
|
+
data: string;
|
|
3475
|
+
start: number;
|
|
3476
|
+
end: number;
|
|
3477
|
+
type: "label";
|
|
3478
|
+
} | {
|
|
3479
|
+
start: number;
|
|
3480
|
+
end: number;
|
|
3481
|
+
type: string;
|
|
3346
3482
|
})[];
|
|
3347
3483
|
};
|
|
3348
3484
|
} & {
|
|
@@ -3608,7 +3744,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3608
3744
|
text: string;
|
|
3609
3745
|
} & {
|
|
3610
3746
|
spans?: ({
|
|
3611
|
-
data
|
|
3747
|
+
data: ({
|
|
3612
3748
|
__TYPE__: "ImageLink";
|
|
3613
3749
|
} & {
|
|
3614
3750
|
id: string;
|
|
@@ -3647,10 +3783,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3647
3783
|
title?: string;
|
|
3648
3784
|
} | null | undefined;
|
|
3649
3785
|
});
|
|
3650
|
-
} & {
|
|
3651
3786
|
start: number;
|
|
3652
3787
|
end: number;
|
|
3653
|
-
type: "
|
|
3788
|
+
type: "hyperlink";
|
|
3789
|
+
} | {
|
|
3790
|
+
data: string;
|
|
3791
|
+
start: number;
|
|
3792
|
+
end: number;
|
|
3793
|
+
type: "label";
|
|
3794
|
+
} | {
|
|
3795
|
+
start: number;
|
|
3796
|
+
end: number;
|
|
3797
|
+
type: string;
|
|
3654
3798
|
})[];
|
|
3655
3799
|
};
|
|
3656
3800
|
} & {
|
|
@@ -3923,7 +4067,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3923
4067
|
text: string;
|
|
3924
4068
|
} & {
|
|
3925
4069
|
spans?: ({
|
|
3926
|
-
data
|
|
4070
|
+
data: ({
|
|
3927
4071
|
__TYPE__: "ImageLink";
|
|
3928
4072
|
} & {
|
|
3929
4073
|
id: string;
|
|
@@ -3962,10 +4106,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3962
4106
|
title?: string;
|
|
3963
4107
|
} | null | undefined;
|
|
3964
4108
|
});
|
|
3965
|
-
} & {
|
|
3966
4109
|
start: number;
|
|
3967
4110
|
end: number;
|
|
3968
|
-
type: "
|
|
4111
|
+
type: "hyperlink";
|
|
4112
|
+
} | {
|
|
4113
|
+
data: string;
|
|
4114
|
+
start: number;
|
|
4115
|
+
end: number;
|
|
4116
|
+
type: "label";
|
|
4117
|
+
} | {
|
|
4118
|
+
start: number;
|
|
4119
|
+
end: number;
|
|
4120
|
+
type: string;
|
|
3969
4121
|
})[];
|
|
3970
4122
|
};
|
|
3971
4123
|
} & {
|
|
@@ -4231,7 +4383,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4231
4383
|
text: string;
|
|
4232
4384
|
} & {
|
|
4233
4385
|
spans?: ({
|
|
4234
|
-
data
|
|
4386
|
+
data: ({
|
|
4235
4387
|
__TYPE__: "ImageLink";
|
|
4236
4388
|
} & {
|
|
4237
4389
|
id: string;
|
|
@@ -4270,10 +4422,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4270
4422
|
title?: string;
|
|
4271
4423
|
} | null | undefined;
|
|
4272
4424
|
});
|
|
4273
|
-
} & {
|
|
4274
4425
|
start: number;
|
|
4275
4426
|
end: number;
|
|
4276
|
-
type: "
|
|
4427
|
+
type: "hyperlink";
|
|
4428
|
+
} | {
|
|
4429
|
+
data: string;
|
|
4430
|
+
start: number;
|
|
4431
|
+
end: number;
|
|
4432
|
+
type: "label";
|
|
4433
|
+
} | {
|
|
4434
|
+
start: number;
|
|
4435
|
+
end: number;
|
|
4436
|
+
type: string;
|
|
4277
4437
|
})[];
|
|
4278
4438
|
};
|
|
4279
4439
|
} & {
|
|
@@ -4540,7 +4700,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4540
4700
|
text: string;
|
|
4541
4701
|
} & {
|
|
4542
4702
|
spans?: ({
|
|
4543
|
-
data
|
|
4703
|
+
data: ({
|
|
4544
4704
|
__TYPE__: "ImageLink";
|
|
4545
4705
|
} & {
|
|
4546
4706
|
id: string;
|
|
@@ -4579,10 +4739,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4579
4739
|
title?: string;
|
|
4580
4740
|
} | null | undefined;
|
|
4581
4741
|
});
|
|
4582
|
-
} & {
|
|
4583
4742
|
start: number;
|
|
4584
4743
|
end: number;
|
|
4585
|
-
type: "
|
|
4744
|
+
type: "hyperlink";
|
|
4745
|
+
} | {
|
|
4746
|
+
data: string;
|
|
4747
|
+
start: number;
|
|
4748
|
+
end: number;
|
|
4749
|
+
type: "label";
|
|
4750
|
+
} | {
|
|
4751
|
+
start: number;
|
|
4752
|
+
end: number;
|
|
4753
|
+
type: string;
|
|
4586
4754
|
})[];
|
|
4587
4755
|
};
|
|
4588
4756
|
} & {
|
|
@@ -4848,7 +5016,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4848
5016
|
text: string;
|
|
4849
5017
|
} & {
|
|
4850
5018
|
spans?: ({
|
|
4851
|
-
data
|
|
5019
|
+
data: ({
|
|
4852
5020
|
__TYPE__: "ImageLink";
|
|
4853
5021
|
} & {
|
|
4854
5022
|
id: string;
|
|
@@ -4887,10 +5055,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4887
5055
|
title?: string;
|
|
4888
5056
|
} | null | undefined;
|
|
4889
5057
|
});
|
|
4890
|
-
} & {
|
|
4891
5058
|
start: number;
|
|
4892
5059
|
end: number;
|
|
4893
|
-
type: "
|
|
5060
|
+
type: "hyperlink";
|
|
5061
|
+
} | {
|
|
5062
|
+
data: string;
|
|
5063
|
+
start: number;
|
|
5064
|
+
end: number;
|
|
5065
|
+
type: "label";
|
|
5066
|
+
} | {
|
|
5067
|
+
start: number;
|
|
5068
|
+
end: number;
|
|
5069
|
+
type: string;
|
|
4894
5070
|
})[];
|
|
4895
5071
|
};
|
|
4896
5072
|
} & {
|
|
@@ -5158,7 +5334,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5158
5334
|
text: string;
|
|
5159
5335
|
} & {
|
|
5160
5336
|
spans?: ({
|
|
5161
|
-
data
|
|
5337
|
+
data: ({
|
|
5162
5338
|
__TYPE__: "ImageLink";
|
|
5163
5339
|
} & {
|
|
5164
5340
|
id: string;
|
|
@@ -5197,10 +5373,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5197
5373
|
title?: string;
|
|
5198
5374
|
} | null | undefined;
|
|
5199
5375
|
});
|
|
5200
|
-
} & {
|
|
5201
5376
|
start: number;
|
|
5202
5377
|
end: number;
|
|
5203
|
-
type: "
|
|
5378
|
+
type: "hyperlink";
|
|
5379
|
+
} | {
|
|
5380
|
+
data: string;
|
|
5381
|
+
start: number;
|
|
5382
|
+
end: number;
|
|
5383
|
+
type: "label";
|
|
5384
|
+
} | {
|
|
5385
|
+
start: number;
|
|
5386
|
+
end: number;
|
|
5387
|
+
type: string;
|
|
5204
5388
|
})[];
|
|
5205
5389
|
};
|
|
5206
5390
|
} & {
|
|
@@ -5466,7 +5650,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5466
5650
|
text: string;
|
|
5467
5651
|
} & {
|
|
5468
5652
|
spans?: ({
|
|
5469
|
-
data
|
|
5653
|
+
data: ({
|
|
5470
5654
|
__TYPE__: "ImageLink";
|
|
5471
5655
|
} & {
|
|
5472
5656
|
id: string;
|
|
@@ -5505,10 +5689,18 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
5505
5689
|
title?: string;
|
|
5506
5690
|
} | null | undefined;
|
|
5507
5691
|
});
|
|
5508
|
-
} & {
|
|
5509
5692
|
start: number;
|
|
5510
5693
|
end: number;
|
|
5511
|
-
type: "
|
|
5694
|
+
type: "hyperlink";
|
|
5695
|
+
} | {
|
|
5696
|
+
data: string;
|
|
5697
|
+
start: number;
|
|
5698
|
+
end: number;
|
|
5699
|
+
type: "label";
|
|
5700
|
+
} | {
|
|
5701
|
+
start: number;
|
|
5702
|
+
end: number;
|
|
5703
|
+
type: string;
|
|
5512
5704
|
})[];
|
|
5513
5705
|
};
|
|
5514
5706
|
} & {
|
|
@@ -5778,7 +5970,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5778
5970
|
text: string;
|
|
5779
5971
|
} & {
|
|
5780
5972
|
spans?: ({
|
|
5781
|
-
data
|
|
5973
|
+
data: ({
|
|
5782
5974
|
__TYPE__: "ImageLink";
|
|
5783
5975
|
} & {
|
|
5784
5976
|
id: string;
|
|
@@ -5817,10 +6009,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5817
6009
|
title?: string;
|
|
5818
6010
|
} | null | undefined;
|
|
5819
6011
|
});
|
|
5820
|
-
} & {
|
|
5821
6012
|
start: number;
|
|
5822
6013
|
end: number;
|
|
5823
|
-
type: "
|
|
6014
|
+
type: "hyperlink";
|
|
6015
|
+
} | {
|
|
6016
|
+
data: string;
|
|
6017
|
+
start: number;
|
|
6018
|
+
end: number;
|
|
6019
|
+
type: "label";
|
|
6020
|
+
} | {
|
|
6021
|
+
start: number;
|
|
6022
|
+
end: number;
|
|
6023
|
+
type: string;
|
|
5824
6024
|
})[];
|
|
5825
6025
|
};
|
|
5826
6026
|
} & {
|
|
@@ -6086,7 +6286,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6086
6286
|
text: string;
|
|
6087
6287
|
} & {
|
|
6088
6288
|
spans?: ({
|
|
6089
|
-
data
|
|
6289
|
+
data: ({
|
|
6090
6290
|
__TYPE__: "ImageLink";
|
|
6091
6291
|
} & {
|
|
6092
6292
|
id: string;
|
|
@@ -6125,10 +6325,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6125
6325
|
title?: string;
|
|
6126
6326
|
} | null | undefined;
|
|
6127
6327
|
});
|
|
6128
|
-
} & {
|
|
6129
6328
|
start: number;
|
|
6130
6329
|
end: number;
|
|
6131
|
-
type: "
|
|
6330
|
+
type: "hyperlink";
|
|
6331
|
+
} | {
|
|
6332
|
+
data: string;
|
|
6333
|
+
start: number;
|
|
6334
|
+
end: number;
|
|
6335
|
+
type: "label";
|
|
6336
|
+
} | {
|
|
6337
|
+
start: number;
|
|
6338
|
+
end: number;
|
|
6339
|
+
type: string;
|
|
6132
6340
|
})[];
|
|
6133
6341
|
};
|
|
6134
6342
|
} & {
|
|
@@ -6401,7 +6609,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6401
6609
|
text: string;
|
|
6402
6610
|
} & {
|
|
6403
6611
|
spans?: ({
|
|
6404
|
-
data
|
|
6612
|
+
data: ({
|
|
6405
6613
|
__TYPE__: "ImageLink";
|
|
6406
6614
|
} & {
|
|
6407
6615
|
id: string;
|
|
@@ -6440,10 +6648,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6440
6648
|
title?: string;
|
|
6441
6649
|
} | null | undefined;
|
|
6442
6650
|
});
|
|
6443
|
-
} & {
|
|
6444
6651
|
start: number;
|
|
6445
6652
|
end: number;
|
|
6446
|
-
type: "
|
|
6653
|
+
type: "hyperlink";
|
|
6654
|
+
} | {
|
|
6655
|
+
data: string;
|
|
6656
|
+
start: number;
|
|
6657
|
+
end: number;
|
|
6658
|
+
type: "label";
|
|
6659
|
+
} | {
|
|
6660
|
+
start: number;
|
|
6661
|
+
end: number;
|
|
6662
|
+
type: string;
|
|
6447
6663
|
})[];
|
|
6448
6664
|
};
|
|
6449
6665
|
} & {
|
|
@@ -6709,7 +6925,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6709
6925
|
text: string;
|
|
6710
6926
|
} & {
|
|
6711
6927
|
spans?: ({
|
|
6712
|
-
data
|
|
6928
|
+
data: ({
|
|
6713
6929
|
__TYPE__: "ImageLink";
|
|
6714
6930
|
} & {
|
|
6715
6931
|
id: string;
|
|
@@ -6748,10 +6964,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6748
6964
|
title?: string;
|
|
6749
6965
|
} | null | undefined;
|
|
6750
6966
|
});
|
|
6751
|
-
} & {
|
|
6752
6967
|
start: number;
|
|
6753
6968
|
end: number;
|
|
6754
|
-
type: "
|
|
6969
|
+
type: "hyperlink";
|
|
6970
|
+
} | {
|
|
6971
|
+
data: string;
|
|
6972
|
+
start: number;
|
|
6973
|
+
end: number;
|
|
6974
|
+
type: "label";
|
|
6975
|
+
} | {
|
|
6976
|
+
start: number;
|
|
6977
|
+
end: number;
|
|
6978
|
+
type: string;
|
|
6755
6979
|
})[];
|
|
6756
6980
|
};
|
|
6757
6981
|
} & {
|
|
@@ -7018,7 +7242,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7018
7242
|
text: string;
|
|
7019
7243
|
} & {
|
|
7020
7244
|
spans?: ({
|
|
7021
|
-
data
|
|
7245
|
+
data: ({
|
|
7022
7246
|
__TYPE__: "ImageLink";
|
|
7023
7247
|
} & {
|
|
7024
7248
|
id: string;
|
|
@@ -7057,10 +7281,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7057
7281
|
title?: string;
|
|
7058
7282
|
} | null | undefined;
|
|
7059
7283
|
});
|
|
7060
|
-
} & {
|
|
7061
7284
|
start: number;
|
|
7062
7285
|
end: number;
|
|
7063
|
-
type: "
|
|
7286
|
+
type: "hyperlink";
|
|
7287
|
+
} | {
|
|
7288
|
+
data: string;
|
|
7289
|
+
start: number;
|
|
7290
|
+
end: number;
|
|
7291
|
+
type: "label";
|
|
7292
|
+
} | {
|
|
7293
|
+
start: number;
|
|
7294
|
+
end: number;
|
|
7295
|
+
type: string;
|
|
7064
7296
|
})[];
|
|
7065
7297
|
};
|
|
7066
7298
|
} & {
|
|
@@ -7326,7 +7558,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7326
7558
|
text: string;
|
|
7327
7559
|
} & {
|
|
7328
7560
|
spans?: ({
|
|
7329
|
-
data
|
|
7561
|
+
data: ({
|
|
7330
7562
|
__TYPE__: "ImageLink";
|
|
7331
7563
|
} & {
|
|
7332
7564
|
id: string;
|
|
@@ -7365,10 +7597,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7365
7597
|
title?: string;
|
|
7366
7598
|
} | null | undefined;
|
|
7367
7599
|
});
|
|
7368
|
-
} & {
|
|
7369
7600
|
start: number;
|
|
7370
7601
|
end: number;
|
|
7371
|
-
type: "
|
|
7602
|
+
type: "hyperlink";
|
|
7603
|
+
} | {
|
|
7604
|
+
data: string;
|
|
7605
|
+
start: number;
|
|
7606
|
+
end: number;
|
|
7607
|
+
type: "label";
|
|
7608
|
+
} | {
|
|
7609
|
+
start: number;
|
|
7610
|
+
end: number;
|
|
7611
|
+
type: string;
|
|
7372
7612
|
})[];
|
|
7373
7613
|
};
|
|
7374
7614
|
} & {
|
|
@@ -7636,7 +7876,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7636
7876
|
text: string;
|
|
7637
7877
|
} & {
|
|
7638
7878
|
spans?: ({
|
|
7639
|
-
data
|
|
7879
|
+
data: ({
|
|
7640
7880
|
__TYPE__: "ImageLink";
|
|
7641
7881
|
} & {
|
|
7642
7882
|
id: string;
|
|
@@ -7675,10 +7915,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7675
7915
|
title?: string;
|
|
7676
7916
|
} | null | undefined;
|
|
7677
7917
|
});
|
|
7678
|
-
} & {
|
|
7679
7918
|
start: number;
|
|
7680
7919
|
end: number;
|
|
7681
|
-
type: "
|
|
7920
|
+
type: "hyperlink";
|
|
7921
|
+
} | {
|
|
7922
|
+
data: string;
|
|
7923
|
+
start: number;
|
|
7924
|
+
end: number;
|
|
7925
|
+
type: "label";
|
|
7926
|
+
} | {
|
|
7927
|
+
start: number;
|
|
7928
|
+
end: number;
|
|
7929
|
+
type: string;
|
|
7682
7930
|
})[];
|
|
7683
7931
|
};
|
|
7684
7932
|
} & {
|
|
@@ -7944,7 +8192,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7944
8192
|
text: string;
|
|
7945
8193
|
} & {
|
|
7946
8194
|
spans?: ({
|
|
7947
|
-
data
|
|
8195
|
+
data: ({
|
|
7948
8196
|
__TYPE__: "ImageLink";
|
|
7949
8197
|
} & {
|
|
7950
8198
|
id: string;
|
|
@@ -7983,10 +8231,18 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
7983
8231
|
title?: string;
|
|
7984
8232
|
} | null | undefined;
|
|
7985
8233
|
});
|
|
7986
|
-
} & {
|
|
7987
8234
|
start: number;
|
|
7988
8235
|
end: number;
|
|
7989
|
-
type: "
|
|
8236
|
+
type: "hyperlink";
|
|
8237
|
+
} | {
|
|
8238
|
+
data: string;
|
|
8239
|
+
start: number;
|
|
8240
|
+
end: number;
|
|
8241
|
+
type: "label";
|
|
8242
|
+
} | {
|
|
8243
|
+
start: number;
|
|
8244
|
+
end: number;
|
|
8245
|
+
type: string;
|
|
7990
8246
|
})[];
|
|
7991
8247
|
};
|
|
7992
8248
|
} & {
|