@prismicio/types-internal 2.2.0-traverse.alpha-9 → 2.2.0-traverse.alpha-11
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 +384 -192
- package/lib/content/fields/GroupContent.d.ts +84 -42
- package/lib/content/fields/WidgetContent.d.ts +384 -192
- package/lib/content/fields/nestable/NestableContent.d.ts +48 -24
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +117 -105
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +23 -18
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +60 -30
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +96 -48
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +36 -18
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +96 -48
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +96 -48
- package/lib/content/fields/slices/Slice/index.d.ts +216 -108
- package/lib/content/fields/slices/SliceItem.d.ts +216 -108
- package/lib/content/fields/slices/SlicesContent.d.ts +288 -144
- package/lib/import/converters/fields/nestable/RichText/textBlock.js +29 -16
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportTextBlock.d.ts +9 -1
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.d.ts +18 -4
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.js +9 -2
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.d.ts +12 -0
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.js +16 -0
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.d.ts +0 -2
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.js +0 -2
- package/package.json +1 -1
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +26 -25
- package/src/import/converters/fields/nestable/RichText/textBlock.ts +30 -16
- package/src/import/validators/fields/nestable/ImportRichText/blocks/Span.ts +9 -5
- package/src/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.ts +19 -0
- package/src/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.ts +0 -2
- 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
|
@@ -254,7 +254,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
254
254
|
text: string;
|
|
255
255
|
} & {
|
|
256
256
|
spans?: ({
|
|
257
|
-
data
|
|
257
|
+
data: ({
|
|
258
258
|
__TYPE__: "ImageLink";
|
|
259
259
|
} & {
|
|
260
260
|
id: string;
|
|
@@ -292,13 +292,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
292
292
|
preview?: {
|
|
293
293
|
title?: string;
|
|
294
294
|
} | null | undefined;
|
|
295
|
-
})
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
295
|
+
});
|
|
296
|
+
start: number;
|
|
297
|
+
end: number;
|
|
298
|
+
type: "hyperlink";
|
|
299
|
+
} | {
|
|
300
|
+
data: string;
|
|
301
|
+
start: number;
|
|
302
|
+
end: number;
|
|
303
|
+
type: "label";
|
|
304
|
+
} | {
|
|
299
305
|
start: number;
|
|
300
306
|
end: number;
|
|
301
|
-
type: "
|
|
307
|
+
type: "strong" | "em";
|
|
302
308
|
})[];
|
|
303
309
|
};
|
|
304
310
|
} & {
|
|
@@ -564,7 +570,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
564
570
|
text: string;
|
|
565
571
|
} & {
|
|
566
572
|
spans?: ({
|
|
567
|
-
data
|
|
573
|
+
data: ({
|
|
568
574
|
__TYPE__: "ImageLink";
|
|
569
575
|
} & {
|
|
570
576
|
id: string;
|
|
@@ -602,13 +608,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
602
608
|
preview?: {
|
|
603
609
|
title?: string;
|
|
604
610
|
} | null | undefined;
|
|
605
|
-
})
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
611
|
+
});
|
|
612
|
+
start: number;
|
|
613
|
+
end: number;
|
|
614
|
+
type: "hyperlink";
|
|
615
|
+
} | {
|
|
616
|
+
data: string;
|
|
617
|
+
start: number;
|
|
618
|
+
end: number;
|
|
619
|
+
type: "label";
|
|
620
|
+
} | {
|
|
609
621
|
start: number;
|
|
610
622
|
end: number;
|
|
611
|
-
type: "
|
|
623
|
+
type: "strong" | "em";
|
|
612
624
|
})[];
|
|
613
625
|
};
|
|
614
626
|
} & {
|
|
@@ -875,7 +887,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
875
887
|
text: string;
|
|
876
888
|
} & {
|
|
877
889
|
spans?: ({
|
|
878
|
-
data
|
|
890
|
+
data: ({
|
|
879
891
|
__TYPE__: "ImageLink";
|
|
880
892
|
} & {
|
|
881
893
|
id: string;
|
|
@@ -913,13 +925,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
913
925
|
preview?: {
|
|
914
926
|
title?: string;
|
|
915
927
|
} | null | undefined;
|
|
916
|
-
})
|
|
917
|
-
label: string;
|
|
918
|
-
};
|
|
919
|
-
} & {
|
|
928
|
+
});
|
|
920
929
|
start: number;
|
|
921
930
|
end: number;
|
|
922
|
-
type: "
|
|
931
|
+
type: "hyperlink";
|
|
932
|
+
} | {
|
|
933
|
+
data: string;
|
|
934
|
+
start: number;
|
|
935
|
+
end: number;
|
|
936
|
+
type: "label";
|
|
937
|
+
} | {
|
|
938
|
+
start: number;
|
|
939
|
+
end: number;
|
|
940
|
+
type: "strong" | "em";
|
|
923
941
|
})[];
|
|
924
942
|
};
|
|
925
943
|
} & {
|
|
@@ -1185,7 +1203,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1185
1203
|
text: string;
|
|
1186
1204
|
} & {
|
|
1187
1205
|
spans?: ({
|
|
1188
|
-
data
|
|
1206
|
+
data: ({
|
|
1189
1207
|
__TYPE__: "ImageLink";
|
|
1190
1208
|
} & {
|
|
1191
1209
|
id: string;
|
|
@@ -1223,13 +1241,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1223
1241
|
preview?: {
|
|
1224
1242
|
title?: string;
|
|
1225
1243
|
} | null | undefined;
|
|
1226
|
-
})
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1244
|
+
});
|
|
1245
|
+
start: number;
|
|
1246
|
+
end: number;
|
|
1247
|
+
type: "hyperlink";
|
|
1248
|
+
} | {
|
|
1249
|
+
data: string;
|
|
1230
1250
|
start: number;
|
|
1231
1251
|
end: number;
|
|
1232
|
-
type: "
|
|
1252
|
+
type: "label";
|
|
1253
|
+
} | {
|
|
1254
|
+
start: number;
|
|
1255
|
+
end: number;
|
|
1256
|
+
type: "strong" | "em";
|
|
1233
1257
|
})[];
|
|
1234
1258
|
};
|
|
1235
1259
|
} & {
|
|
@@ -1497,7 +1521,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1497
1521
|
text: string;
|
|
1498
1522
|
} & {
|
|
1499
1523
|
spans?: ({
|
|
1500
|
-
data
|
|
1524
|
+
data: ({
|
|
1501
1525
|
__TYPE__: "ImageLink";
|
|
1502
1526
|
} & {
|
|
1503
1527
|
id: string;
|
|
@@ -1535,13 +1559,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1535
1559
|
preview?: {
|
|
1536
1560
|
title?: string;
|
|
1537
1561
|
} | null | undefined;
|
|
1538
|
-
})
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1562
|
+
});
|
|
1563
|
+
start: number;
|
|
1564
|
+
end: number;
|
|
1565
|
+
type: "hyperlink";
|
|
1566
|
+
} | {
|
|
1567
|
+
data: string;
|
|
1568
|
+
start: number;
|
|
1569
|
+
end: number;
|
|
1570
|
+
type: "label";
|
|
1571
|
+
} | {
|
|
1542
1572
|
start: number;
|
|
1543
1573
|
end: number;
|
|
1544
|
-
type: "
|
|
1574
|
+
type: "strong" | "em";
|
|
1545
1575
|
})[];
|
|
1546
1576
|
};
|
|
1547
1577
|
} & {
|
|
@@ -1807,7 +1837,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1807
1837
|
text: string;
|
|
1808
1838
|
} & {
|
|
1809
1839
|
spans?: ({
|
|
1810
|
-
data
|
|
1840
|
+
data: ({
|
|
1811
1841
|
__TYPE__: "ImageLink";
|
|
1812
1842
|
} & {
|
|
1813
1843
|
id: string;
|
|
@@ -1845,13 +1875,19 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1845
1875
|
preview?: {
|
|
1846
1876
|
title?: string;
|
|
1847
1877
|
} | null | undefined;
|
|
1848
|
-
})
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1878
|
+
});
|
|
1879
|
+
start: number;
|
|
1880
|
+
end: number;
|
|
1881
|
+
type: "hyperlink";
|
|
1882
|
+
} | {
|
|
1883
|
+
data: string;
|
|
1852
1884
|
start: number;
|
|
1853
1885
|
end: number;
|
|
1854
|
-
type: "
|
|
1886
|
+
type: "label";
|
|
1887
|
+
} | {
|
|
1888
|
+
start: number;
|
|
1889
|
+
end: number;
|
|
1890
|
+
type: "strong" | "em";
|
|
1855
1891
|
})[];
|
|
1856
1892
|
};
|
|
1857
1893
|
} & {
|
|
@@ -2148,7 +2184,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2148
2184
|
text: t.StringC;
|
|
2149
2185
|
}>, t.PartialC<{
|
|
2150
2186
|
spans: t.Type<({
|
|
2151
|
-
data
|
|
2187
|
+
data: ({
|
|
2152
2188
|
__TYPE__: "ImageLink";
|
|
2153
2189
|
} & {
|
|
2154
2190
|
id: string;
|
|
@@ -2186,15 +2222,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2186
2222
|
preview?: {
|
|
2187
2223
|
title?: string;
|
|
2188
2224
|
} | null | undefined;
|
|
2189
|
-
})
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2225
|
+
});
|
|
2226
|
+
start: number;
|
|
2227
|
+
end: number;
|
|
2228
|
+
type: "hyperlink";
|
|
2229
|
+
} | {
|
|
2230
|
+
data: string;
|
|
2193
2231
|
start: number;
|
|
2194
2232
|
end: number;
|
|
2195
|
-
type: "
|
|
2233
|
+
type: "label";
|
|
2234
|
+
} | {
|
|
2235
|
+
start: number;
|
|
2236
|
+
end: number;
|
|
2237
|
+
type: "strong" | "em";
|
|
2196
2238
|
})[], ({
|
|
2197
|
-
data
|
|
2239
|
+
data: ({
|
|
2198
2240
|
__TYPE__: "ImageLink";
|
|
2199
2241
|
} & {
|
|
2200
2242
|
id: string;
|
|
@@ -2232,13 +2274,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2232
2274
|
preview?: {
|
|
2233
2275
|
title?: string;
|
|
2234
2276
|
} | null | undefined;
|
|
2235
|
-
})
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2277
|
+
});
|
|
2278
|
+
start: number;
|
|
2279
|
+
end: number;
|
|
2280
|
+
type: "hyperlink";
|
|
2281
|
+
} | {
|
|
2282
|
+
data: string;
|
|
2283
|
+
start: number;
|
|
2284
|
+
end: number;
|
|
2285
|
+
type: "label";
|
|
2286
|
+
} | {
|
|
2239
2287
|
start: number;
|
|
2240
2288
|
end: number;
|
|
2241
|
-
type: "
|
|
2289
|
+
type: "strong" | "em";
|
|
2242
2290
|
})[], unknown>;
|
|
2243
2291
|
}>]>;
|
|
2244
2292
|
}>, t.PartialC<{
|
|
@@ -2531,7 +2579,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2531
2579
|
text: t.StringC;
|
|
2532
2580
|
}>, t.PartialC<{
|
|
2533
2581
|
spans: t.Type<({
|
|
2534
|
-
data
|
|
2582
|
+
data: ({
|
|
2535
2583
|
__TYPE__: "ImageLink";
|
|
2536
2584
|
} & {
|
|
2537
2585
|
id: string;
|
|
@@ -2569,15 +2617,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2569
2617
|
preview?: {
|
|
2570
2618
|
title?: string;
|
|
2571
2619
|
} | null | undefined;
|
|
2572
|
-
})
|
|
2573
|
-
label: string;
|
|
2574
|
-
};
|
|
2575
|
-
} & {
|
|
2620
|
+
});
|
|
2576
2621
|
start: number;
|
|
2577
2622
|
end: number;
|
|
2578
|
-
type: "
|
|
2623
|
+
type: "hyperlink";
|
|
2624
|
+
} | {
|
|
2625
|
+
data: string;
|
|
2626
|
+
start: number;
|
|
2627
|
+
end: number;
|
|
2628
|
+
type: "label";
|
|
2629
|
+
} | {
|
|
2630
|
+
start: number;
|
|
2631
|
+
end: number;
|
|
2632
|
+
type: "strong" | "em";
|
|
2579
2633
|
})[], ({
|
|
2580
|
-
data
|
|
2634
|
+
data: ({
|
|
2581
2635
|
__TYPE__: "ImageLink";
|
|
2582
2636
|
} & {
|
|
2583
2637
|
id: string;
|
|
@@ -2615,13 +2669,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2615
2669
|
preview?: {
|
|
2616
2670
|
title?: string;
|
|
2617
2671
|
} | null | undefined;
|
|
2618
|
-
})
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2672
|
+
});
|
|
2673
|
+
start: number;
|
|
2674
|
+
end: number;
|
|
2675
|
+
type: "hyperlink";
|
|
2676
|
+
} | {
|
|
2677
|
+
data: string;
|
|
2622
2678
|
start: number;
|
|
2623
2679
|
end: number;
|
|
2624
|
-
type: "
|
|
2680
|
+
type: "label";
|
|
2681
|
+
} | {
|
|
2682
|
+
start: number;
|
|
2683
|
+
end: number;
|
|
2684
|
+
type: "strong" | "em";
|
|
2625
2685
|
})[], unknown>;
|
|
2626
2686
|
}>]>;
|
|
2627
2687
|
}>, t.PartialC<{
|
|
@@ -2916,7 +2976,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2916
2976
|
text: t.StringC;
|
|
2917
2977
|
}>, t.PartialC<{
|
|
2918
2978
|
spans: t.Type<({
|
|
2919
|
-
data
|
|
2979
|
+
data: ({
|
|
2920
2980
|
__TYPE__: "ImageLink";
|
|
2921
2981
|
} & {
|
|
2922
2982
|
id: string;
|
|
@@ -2954,15 +3014,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2954
3014
|
preview?: {
|
|
2955
3015
|
title?: string;
|
|
2956
3016
|
} | null | undefined;
|
|
2957
|
-
})
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
3017
|
+
});
|
|
3018
|
+
start: number;
|
|
3019
|
+
end: number;
|
|
3020
|
+
type: "hyperlink";
|
|
3021
|
+
} | {
|
|
3022
|
+
data: string;
|
|
2961
3023
|
start: number;
|
|
2962
3024
|
end: number;
|
|
2963
|
-
type: "
|
|
3025
|
+
type: "label";
|
|
3026
|
+
} | {
|
|
3027
|
+
start: number;
|
|
3028
|
+
end: number;
|
|
3029
|
+
type: "strong" | "em";
|
|
2964
3030
|
})[], ({
|
|
2965
|
-
data
|
|
3031
|
+
data: ({
|
|
2966
3032
|
__TYPE__: "ImageLink";
|
|
2967
3033
|
} & {
|
|
2968
3034
|
id: string;
|
|
@@ -3000,13 +3066,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3000
3066
|
preview?: {
|
|
3001
3067
|
title?: string;
|
|
3002
3068
|
} | null | undefined;
|
|
3003
|
-
})
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3069
|
+
});
|
|
3070
|
+
start: number;
|
|
3071
|
+
end: number;
|
|
3072
|
+
type: "hyperlink";
|
|
3073
|
+
} | {
|
|
3074
|
+
data: string;
|
|
3075
|
+
start: number;
|
|
3076
|
+
end: number;
|
|
3077
|
+
type: "label";
|
|
3078
|
+
} | {
|
|
3007
3079
|
start: number;
|
|
3008
3080
|
end: number;
|
|
3009
|
-
type: "
|
|
3081
|
+
type: "strong" | "em";
|
|
3010
3082
|
})[], unknown>;
|
|
3011
3083
|
}>]>;
|
|
3012
3084
|
}>, t.PartialC<{
|
|
@@ -3299,7 +3371,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3299
3371
|
text: t.StringC;
|
|
3300
3372
|
}>, t.PartialC<{
|
|
3301
3373
|
spans: t.Type<({
|
|
3302
|
-
data
|
|
3374
|
+
data: ({
|
|
3303
3375
|
__TYPE__: "ImageLink";
|
|
3304
3376
|
} & {
|
|
3305
3377
|
id: string;
|
|
@@ -3337,15 +3409,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3337
3409
|
preview?: {
|
|
3338
3410
|
title?: string;
|
|
3339
3411
|
} | null | undefined;
|
|
3340
|
-
})
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3412
|
+
});
|
|
3413
|
+
start: number;
|
|
3414
|
+
end: number;
|
|
3415
|
+
type: "hyperlink";
|
|
3416
|
+
} | {
|
|
3417
|
+
data: string;
|
|
3418
|
+
start: number;
|
|
3419
|
+
end: number;
|
|
3420
|
+
type: "label";
|
|
3421
|
+
} | {
|
|
3344
3422
|
start: number;
|
|
3345
3423
|
end: number;
|
|
3346
|
-
type: "
|
|
3424
|
+
type: "strong" | "em";
|
|
3347
3425
|
})[], ({
|
|
3348
|
-
data
|
|
3426
|
+
data: ({
|
|
3349
3427
|
__TYPE__: "ImageLink";
|
|
3350
3428
|
} & {
|
|
3351
3429
|
id: string;
|
|
@@ -3383,13 +3461,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3383
3461
|
preview?: {
|
|
3384
3462
|
title?: string;
|
|
3385
3463
|
} | null | undefined;
|
|
3386
|
-
})
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3464
|
+
});
|
|
3465
|
+
start: number;
|
|
3466
|
+
end: number;
|
|
3467
|
+
type: "hyperlink";
|
|
3468
|
+
} | {
|
|
3469
|
+
data: string;
|
|
3390
3470
|
start: number;
|
|
3391
3471
|
end: number;
|
|
3392
|
-
type: "
|
|
3472
|
+
type: "label";
|
|
3473
|
+
} | {
|
|
3474
|
+
start: number;
|
|
3475
|
+
end: number;
|
|
3476
|
+
type: "strong" | "em";
|
|
3393
3477
|
})[], unknown>;
|
|
3394
3478
|
}>]>;
|
|
3395
3479
|
}>, t.PartialC<{
|
|
@@ -3681,7 +3765,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3681
3765
|
text: t.StringC;
|
|
3682
3766
|
}>, t.PartialC<{
|
|
3683
3767
|
spans: t.Type<({
|
|
3684
|
-
data
|
|
3768
|
+
data: ({
|
|
3685
3769
|
__TYPE__: "ImageLink";
|
|
3686
3770
|
} & {
|
|
3687
3771
|
id: string;
|
|
@@ -3719,15 +3803,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3719
3803
|
preview?: {
|
|
3720
3804
|
title?: string;
|
|
3721
3805
|
} | null | undefined;
|
|
3722
|
-
})
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3806
|
+
});
|
|
3807
|
+
start: number;
|
|
3808
|
+
end: number;
|
|
3809
|
+
type: "hyperlink";
|
|
3810
|
+
} | {
|
|
3811
|
+
data: string;
|
|
3812
|
+
start: number;
|
|
3813
|
+
end: number;
|
|
3814
|
+
type: "label";
|
|
3815
|
+
} | {
|
|
3726
3816
|
start: number;
|
|
3727
3817
|
end: number;
|
|
3728
|
-
type: "
|
|
3818
|
+
type: "strong" | "em";
|
|
3729
3819
|
})[], ({
|
|
3730
|
-
data
|
|
3820
|
+
data: ({
|
|
3731
3821
|
__TYPE__: "ImageLink";
|
|
3732
3822
|
} & {
|
|
3733
3823
|
id: string;
|
|
@@ -3765,13 +3855,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3765
3855
|
preview?: {
|
|
3766
3856
|
title?: string;
|
|
3767
3857
|
} | null | undefined;
|
|
3768
|
-
})
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3858
|
+
});
|
|
3859
|
+
start: number;
|
|
3860
|
+
end: number;
|
|
3861
|
+
type: "hyperlink";
|
|
3862
|
+
} | {
|
|
3863
|
+
data: string;
|
|
3772
3864
|
start: number;
|
|
3773
3865
|
end: number;
|
|
3774
|
-
type: "
|
|
3866
|
+
type: "label";
|
|
3867
|
+
} | {
|
|
3868
|
+
start: number;
|
|
3869
|
+
end: number;
|
|
3870
|
+
type: "strong" | "em";
|
|
3775
3871
|
})[], unknown>;
|
|
3776
3872
|
}>]>;
|
|
3777
3873
|
}>, t.PartialC<{
|
|
@@ -4065,7 +4161,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4065
4161
|
text: t.StringC;
|
|
4066
4162
|
}>, t.PartialC<{
|
|
4067
4163
|
spans: t.Type<({
|
|
4068
|
-
data
|
|
4164
|
+
data: ({
|
|
4069
4165
|
__TYPE__: "ImageLink";
|
|
4070
4166
|
} & {
|
|
4071
4167
|
id: string;
|
|
@@ -4103,15 +4199,21 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4103
4199
|
preview?: {
|
|
4104
4200
|
title?: string;
|
|
4105
4201
|
} | null | undefined;
|
|
4106
|
-
})
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4202
|
+
});
|
|
4203
|
+
start: number;
|
|
4204
|
+
end: number;
|
|
4205
|
+
type: "hyperlink";
|
|
4206
|
+
} | {
|
|
4207
|
+
data: string;
|
|
4110
4208
|
start: number;
|
|
4111
4209
|
end: number;
|
|
4112
|
-
type: "
|
|
4210
|
+
type: "label";
|
|
4211
|
+
} | {
|
|
4212
|
+
start: number;
|
|
4213
|
+
end: number;
|
|
4214
|
+
type: "strong" | "em";
|
|
4113
4215
|
})[], ({
|
|
4114
|
-
data
|
|
4216
|
+
data: ({
|
|
4115
4217
|
__TYPE__: "ImageLink";
|
|
4116
4218
|
} & {
|
|
4117
4219
|
id: string;
|
|
@@ -4149,13 +4251,19 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4149
4251
|
preview?: {
|
|
4150
4252
|
title?: string;
|
|
4151
4253
|
} | null | undefined;
|
|
4152
|
-
})
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4254
|
+
});
|
|
4255
|
+
start: number;
|
|
4256
|
+
end: number;
|
|
4257
|
+
type: "hyperlink";
|
|
4258
|
+
} | {
|
|
4259
|
+
data: string;
|
|
4260
|
+
start: number;
|
|
4261
|
+
end: number;
|
|
4262
|
+
type: "label";
|
|
4263
|
+
} | {
|
|
4156
4264
|
start: number;
|
|
4157
4265
|
end: number;
|
|
4158
|
-
type: "
|
|
4266
|
+
type: "strong" | "em";
|
|
4159
4267
|
})[], unknown>;
|
|
4160
4268
|
}>]>;
|
|
4161
4269
|
}>, t.PartialC<{
|