@prismicio/types-internal 2.2.0-traverse.alpha-11 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/content/Document.d.ts +32 -32
- package/lib/content/fields/GroupContent.d.ts +7 -7
- package/lib/content/fields/WidgetContent.d.ts +32 -32
- package/lib/content/fields/nestable/NestableContent.d.ts +4 -4
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +9 -6
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +1 -0
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +5 -5
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +8 -8
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +3 -3
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +8 -8
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +8 -8
- package/lib/content/fields/slices/Slice/index.d.ts +18 -18
- package/lib/content/fields/slices/SliceItem.d.ts +18 -18
- package/lib/content/fields/slices/SlicesContent.d.ts +24 -24
- package/lib/import/converters/Document.js +2 -0
- package/lib/import/converters/fields/Group.d.ts +4 -0
- package/lib/import/converters/fields/Group.js +14 -0
- package/lib/import/converters/fields/RepeatableZone.d.ts +317 -0
- package/lib/import/converters/fields/RepeatableZone.js +15 -0
- package/lib/import/converters/fields/RepeatableZoneItem.d.ts +11 -0
- package/lib/import/converters/fields/RepeatableZoneItem.js +19 -0
- package/lib/import/converters/fields/Slices/SharedSliceContent.js +6 -41
- package/lib/import/converters/fields/index.d.ts +1 -0
- package/lib/import/converters/fields/index.js +1 -0
- package/lib/import/validators/fields/ImportField.d.ts +11 -1
- package/lib/import/validators/fields/ImportField.js +6 -1
- package/lib/import/validators/fields/ImportGroup.d.ts +345 -0
- package/lib/import/validators/fields/ImportGroup.js +27 -0
- package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.d.ts +5 -3
- package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.js +4 -4
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.d.ts +0 -1
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.js +0 -1
- package/lib/import/validators/fields/RepeatableZone.d.ts +11 -0
- package/lib/import/validators/fields/RepeatableZone.js +14 -0
- package/lib/import/validators/fields/RepeatableZoneItem.d.ts +11 -0
- package/lib/import/validators/fields/RepeatableZoneItem.js +39 -0
- package/lib/import/validators/fields/index.d.ts +2 -0
- package/lib/import/validators/fields/index.js +2 -0
- package/lib/import/validators/fields/nestable/Nestable.d.ts +60 -0
- package/lib/import/validators/fields/nestable/Nestable.js +32 -30
- package/package.json +1 -1
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +1 -0
- package/src/import/converters/Document.ts +7 -1
- package/src/import/converters/fields/Group.ts +18 -0
- package/src/import/converters/fields/RepeatableZone.ts +19 -0
- package/src/import/converters/fields/RepeatableZoneItem.ts +32 -0
- package/src/import/converters/fields/Slices/SharedSliceContent.ts +9 -76
- package/src/import/converters/fields/index.ts +1 -0
- package/src/import/validators/fields/ImportField.ts +7 -2
- package/src/import/validators/fields/ImportGroup.ts +45 -0
- package/src/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.ts +6 -18
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/index.ts +0 -1
- package/src/import/validators/fields/RepeatableZone.ts +21 -0
- package/src/import/validators/fields/RepeatableZoneItem.ts +64 -0
- package/src/import/validators/fields/index.ts +2 -0
- package/src/import/validators/fields/nestable/Nestable.ts +34 -31
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceContent/SharedSliceContent.ts +0 -64
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceContent/SharedSliceContentEntry.ts +0 -100
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceContent/errors.ts +0 -10
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceContent/index.ts +0 -2
- package/src/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceContent/types.ts +0 -1
- package/src/utils/io-ts.ts +0 -29
|
@@ -121,6 +121,7 @@ export declare const Span: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
121
121
|
type: t.KeyofC<{
|
|
122
122
|
strong: null;
|
|
123
123
|
em: null;
|
|
124
|
+
"list-item": null;
|
|
124
125
|
}>;
|
|
125
126
|
}>>]>;
|
|
126
127
|
export declare type Span = t.TypeOf<typeof Span>;
|
|
@@ -246,6 +247,7 @@ export declare const SpanLegacy: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
246
247
|
type: t.KeyofC<{
|
|
247
248
|
strong: null;
|
|
248
249
|
em: null;
|
|
250
|
+
"list-item": null;
|
|
249
251
|
}>;
|
|
250
252
|
}>>]>;
|
|
251
253
|
export declare type SpanLegacy = t.TypeOf<typeof SpanLegacy>;
|
|
@@ -371,6 +373,7 @@ export declare const ValidatedSpans: <C extends t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
371
373
|
type: t.KeyofC<{
|
|
372
374
|
strong: null;
|
|
373
375
|
em: null;
|
|
376
|
+
"list-item": null;
|
|
374
377
|
}>;
|
|
375
378
|
}>>]>>(spanCodec: C) => t.Type<t.TypeOf<C>[], t.TypeOf<C>[], unknown>;
|
|
376
379
|
export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
@@ -555,7 +558,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
555
558
|
} | {
|
|
556
559
|
start: number;
|
|
557
560
|
end: number;
|
|
558
|
-
type: "strong" | "em";
|
|
561
|
+
type: "strong" | "em" | "list-item";
|
|
559
562
|
})[], ({
|
|
560
563
|
data: ({
|
|
561
564
|
__TYPE__: "ImageLink";
|
|
@@ -607,7 +610,7 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
607
610
|
} | {
|
|
608
611
|
start: number;
|
|
609
612
|
end: number;
|
|
610
|
-
type: "strong" | "em";
|
|
613
|
+
type: "strong" | "em" | "list-item";
|
|
611
614
|
})[], unknown>;
|
|
612
615
|
}>]>;
|
|
613
616
|
}>, t.PartialC<{
|
|
@@ -763,7 +766,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
763
766
|
} | {
|
|
764
767
|
start: number;
|
|
765
768
|
end: number;
|
|
766
|
-
type: "strong" | "em";
|
|
769
|
+
type: "strong" | "em" | "list-item";
|
|
767
770
|
})[];
|
|
768
771
|
};
|
|
769
772
|
} & {
|
|
@@ -917,7 +920,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
917
920
|
} | {
|
|
918
921
|
start: number;
|
|
919
922
|
end: number;
|
|
920
|
-
type: "strong" | "em";
|
|
923
|
+
type: "strong" | "em" | "list-item";
|
|
921
924
|
})[];
|
|
922
925
|
};
|
|
923
926
|
} & {
|
|
@@ -1100,7 +1103,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1100
1103
|
} | {
|
|
1101
1104
|
start: number;
|
|
1102
1105
|
end: number;
|
|
1103
|
-
type: "strong" | "em";
|
|
1106
|
+
type: "strong" | "em" | "list-item";
|
|
1104
1107
|
})[], ({
|
|
1105
1108
|
data: ({
|
|
1106
1109
|
__TYPE__: "ImageLink";
|
|
@@ -1152,7 +1155,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
1152
1155
|
} | {
|
|
1153
1156
|
start: number;
|
|
1154
1157
|
end: number;
|
|
1155
|
-
type: "strong" | "em";
|
|
1158
|
+
type: "strong" | "em" | "list-item";
|
|
1156
1159
|
})[], unknown>;
|
|
1157
1160
|
}>]>;
|
|
1158
1161
|
}>, t.PartialC<{
|
|
@@ -31,6 +31,7 @@ const basicSpan = t.strict({
|
|
|
31
31
|
type: t.keyof({
|
|
32
32
|
[nestable_1.RichTextNodeType.strong]: null,
|
|
33
33
|
[nestable_1.RichTextNodeType.em]: null,
|
|
34
|
+
"list-item": null, // legacy case that should not happen, we shouldn't support this in new page builder or migration API
|
|
34
35
|
}),
|
|
35
36
|
});
|
|
36
37
|
exports.Span = t.union([linkSpan(LinkContent_1.Link), labelSpan, basicSpan]);
|
|
@@ -151,7 +151,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
|
|
|
151
151
|
} | {
|
|
152
152
|
start: number;
|
|
153
153
|
end: number;
|
|
154
|
-
type: "strong" | "em";
|
|
154
|
+
type: "strong" | "em" | "list-item";
|
|
155
155
|
})[];
|
|
156
156
|
};
|
|
157
157
|
} & {
|
|
@@ -337,7 +337,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
337
337
|
} | {
|
|
338
338
|
start: number;
|
|
339
339
|
end: number;
|
|
340
|
-
type: "strong" | "em";
|
|
340
|
+
type: "strong" | "em" | "list-item";
|
|
341
341
|
})[], ({
|
|
342
342
|
data: ({
|
|
343
343
|
__TYPE__: "ImageLink";
|
|
@@ -389,7 +389,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
389
389
|
} | {
|
|
390
390
|
start: number;
|
|
391
391
|
end: number;
|
|
392
|
-
type: "strong" | "em";
|
|
392
|
+
type: "strong" | "em" | "list-item";
|
|
393
393
|
})[], unknown>;
|
|
394
394
|
}>]>;
|
|
395
395
|
}>, t.PartialC<{
|
|
@@ -549,7 +549,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
549
549
|
} | {
|
|
550
550
|
start: number;
|
|
551
551
|
end: number;
|
|
552
|
-
type: "strong" | "em";
|
|
552
|
+
type: "strong" | "em" | "list-item";
|
|
553
553
|
})[];
|
|
554
554
|
};
|
|
555
555
|
} & {
|
|
@@ -704,7 +704,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
704
704
|
} | {
|
|
705
705
|
start: number;
|
|
706
706
|
end: number;
|
|
707
|
-
type: "strong" | "em";
|
|
707
|
+
type: "strong" | "em" | "list-item";
|
|
708
708
|
})[];
|
|
709
709
|
};
|
|
710
710
|
} & {
|
|
@@ -310,7 +310,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
310
310
|
} | {
|
|
311
311
|
start: number;
|
|
312
312
|
end: number;
|
|
313
|
-
type: "strong" | "em";
|
|
313
|
+
type: "strong" | "em" | "list-item";
|
|
314
314
|
})[];
|
|
315
315
|
};
|
|
316
316
|
} & {
|
|
@@ -626,7 +626,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
626
626
|
} | {
|
|
627
627
|
start: number;
|
|
628
628
|
end: number;
|
|
629
|
-
type: "strong" | "em";
|
|
629
|
+
type: "strong" | "em" | "list-item";
|
|
630
630
|
})[];
|
|
631
631
|
};
|
|
632
632
|
} & {
|
|
@@ -944,7 +944,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
944
944
|
} | {
|
|
945
945
|
start: number;
|
|
946
946
|
end: number;
|
|
947
|
-
type: "strong" | "em";
|
|
947
|
+
type: "strong" | "em" | "list-item";
|
|
948
948
|
})[];
|
|
949
949
|
};
|
|
950
950
|
} & {
|
|
@@ -1260,7 +1260,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1260
1260
|
} | {
|
|
1261
1261
|
start: number;
|
|
1262
1262
|
end: number;
|
|
1263
|
-
type: "strong" | "em";
|
|
1263
|
+
type: "strong" | "em" | "list-item";
|
|
1264
1264
|
})[];
|
|
1265
1265
|
};
|
|
1266
1266
|
} & {
|
|
@@ -1610,7 +1610,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1610
1610
|
} | {
|
|
1611
1611
|
start: number;
|
|
1612
1612
|
end: number;
|
|
1613
|
-
type: "strong" | "em";
|
|
1613
|
+
type: "strong" | "em" | "list-item";
|
|
1614
1614
|
})[], ({
|
|
1615
1615
|
data: ({
|
|
1616
1616
|
__TYPE__: "ImageLink";
|
|
@@ -1662,7 +1662,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1662
1662
|
} | {
|
|
1663
1663
|
start: number;
|
|
1664
1664
|
end: number;
|
|
1665
|
-
type: "strong" | "em";
|
|
1665
|
+
type: "strong" | "em" | "list-item";
|
|
1666
1666
|
})[], unknown>;
|
|
1667
1667
|
}>]>;
|
|
1668
1668
|
}>, t.PartialC<{
|
|
@@ -2005,7 +2005,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2005
2005
|
} | {
|
|
2006
2006
|
start: number;
|
|
2007
2007
|
end: number;
|
|
2008
|
-
type: "strong" | "em";
|
|
2008
|
+
type: "strong" | "em" | "list-item";
|
|
2009
2009
|
})[], ({
|
|
2010
2010
|
data: ({
|
|
2011
2011
|
__TYPE__: "ImageLink";
|
|
@@ -2057,7 +2057,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
2057
2057
|
} | {
|
|
2058
2058
|
start: number;
|
|
2059
2059
|
end: number;
|
|
2060
|
-
type: "strong" | "em";
|
|
2060
|
+
type: "strong" | "em" | "list-item";
|
|
2061
2061
|
})[], unknown>;
|
|
2062
2062
|
}>]>;
|
|
2063
2063
|
}>, t.PartialC<{
|
|
@@ -305,7 +305,7 @@ export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.Array
|
|
|
305
305
|
} | {
|
|
306
306
|
start: number;
|
|
307
307
|
end: number;
|
|
308
|
-
type: "strong" | "em";
|
|
308
|
+
type: "strong" | "em" | "list-item";
|
|
309
309
|
})[];
|
|
310
310
|
};
|
|
311
311
|
} & {
|
|
@@ -651,7 +651,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
|
|
|
651
651
|
} | {
|
|
652
652
|
start: number;
|
|
653
653
|
end: number;
|
|
654
|
-
type: "strong" | "em";
|
|
654
|
+
type: "strong" | "em" | "list-item";
|
|
655
655
|
})[], ({
|
|
656
656
|
data: ({
|
|
657
657
|
__TYPE__: "ImageLink";
|
|
@@ -703,7 +703,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
|
|
|
703
703
|
} | {
|
|
704
704
|
start: number;
|
|
705
705
|
end: number;
|
|
706
|
-
type: "strong" | "em";
|
|
706
|
+
type: "strong" | "em" | "list-item";
|
|
707
707
|
})[], unknown>;
|
|
708
708
|
}>]>;
|
|
709
709
|
}>, t.PartialC<{
|
|
@@ -311,7 +311,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
311
311
|
} | {
|
|
312
312
|
start: number;
|
|
313
313
|
end: number;
|
|
314
|
-
type: "strong" | "em";
|
|
314
|
+
type: "strong" | "em" | "list-item";
|
|
315
315
|
})[];
|
|
316
316
|
};
|
|
317
317
|
} & {
|
|
@@ -627,7 +627,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
627
627
|
} | {
|
|
628
628
|
start: number;
|
|
629
629
|
end: number;
|
|
630
|
-
type: "strong" | "em";
|
|
630
|
+
type: "strong" | "em" | "list-item";
|
|
631
631
|
})[];
|
|
632
632
|
};
|
|
633
633
|
} & {
|
|
@@ -946,7 +946,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
946
946
|
} | {
|
|
947
947
|
start: number;
|
|
948
948
|
end: number;
|
|
949
|
-
type: "strong" | "em";
|
|
949
|
+
type: "strong" | "em" | "list-item";
|
|
950
950
|
})[];
|
|
951
951
|
};
|
|
952
952
|
} & {
|
|
@@ -1262,7 +1262,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1262
1262
|
} | {
|
|
1263
1263
|
start: number;
|
|
1264
1264
|
end: number;
|
|
1265
|
-
type: "strong" | "em";
|
|
1265
|
+
type: "strong" | "em" | "list-item";
|
|
1266
1266
|
})[];
|
|
1267
1267
|
};
|
|
1268
1268
|
} & {
|
|
@@ -1614,7 +1614,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1614
1614
|
} | {
|
|
1615
1615
|
start: number;
|
|
1616
1616
|
end: number;
|
|
1617
|
-
type: "strong" | "em";
|
|
1617
|
+
type: "strong" | "em" | "list-item";
|
|
1618
1618
|
})[], ({
|
|
1619
1619
|
data: ({
|
|
1620
1620
|
__TYPE__: "ImageLink";
|
|
@@ -1666,7 +1666,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1666
1666
|
} | {
|
|
1667
1667
|
start: number;
|
|
1668
1668
|
end: number;
|
|
1669
|
-
type: "strong" | "em";
|
|
1669
|
+
type: "strong" | "em" | "list-item";
|
|
1670
1670
|
})[], unknown>;
|
|
1671
1671
|
}>]>;
|
|
1672
1672
|
}>, t.PartialC<{
|
|
@@ -2009,7 +2009,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2009
2009
|
} | {
|
|
2010
2010
|
start: number;
|
|
2011
2011
|
end: number;
|
|
2012
|
-
type: "strong" | "em";
|
|
2012
|
+
type: "strong" | "em" | "list-item";
|
|
2013
2013
|
})[], ({
|
|
2014
2014
|
data: ({
|
|
2015
2015
|
__TYPE__: "ImageLink";
|
|
@@ -2061,7 +2061,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
2061
2061
|
} | {
|
|
2062
2062
|
start: number;
|
|
2063
2063
|
end: number;
|
|
2064
|
-
type: "strong" | "em";
|
|
2064
|
+
type: "strong" | "em" | "list-item";
|
|
2065
2065
|
})[], unknown>;
|
|
2066
2066
|
}>]>;
|
|
2067
2067
|
}>, t.PartialC<{
|
|
@@ -334,7 +334,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
334
334
|
} | {
|
|
335
335
|
start: number;
|
|
336
336
|
end: number;
|
|
337
|
-
type: "strong" | "em";
|
|
337
|
+
type: "strong" | "em" | "list-item";
|
|
338
338
|
})[], ({
|
|
339
339
|
data: ({
|
|
340
340
|
__TYPE__: "ImageLink";
|
|
@@ -386,7 +386,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
386
386
|
} | {
|
|
387
387
|
start: number;
|
|
388
388
|
end: number;
|
|
389
|
-
type: "strong" | "em";
|
|
389
|
+
type: "strong" | "em" | "list-item";
|
|
390
390
|
})[], unknown>;
|
|
391
391
|
}>]>;
|
|
392
392
|
}>, t.PartialC<{
|
|
@@ -730,7 +730,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
730
730
|
} | {
|
|
731
731
|
start: number;
|
|
732
732
|
end: number;
|
|
733
|
-
type: "strong" | "em";
|
|
733
|
+
type: "strong" | "em" | "list-item";
|
|
734
734
|
})[], ({
|
|
735
735
|
data: ({
|
|
736
736
|
__TYPE__: "ImageLink";
|
|
@@ -782,7 +782,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
782
782
|
} | {
|
|
783
783
|
start: number;
|
|
784
784
|
end: number;
|
|
785
|
-
type: "strong" | "em";
|
|
785
|
+
type: "strong" | "em" | "list-item";
|
|
786
786
|
})[], unknown>;
|
|
787
787
|
}>]>;
|
|
788
788
|
}>, t.PartialC<{
|
|
@@ -1098,7 +1098,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
1098
1098
|
} | {
|
|
1099
1099
|
start: number;
|
|
1100
1100
|
end: number;
|
|
1101
|
-
type: "strong" | "em";
|
|
1101
|
+
type: "strong" | "em" | "list-item";
|
|
1102
1102
|
})[];
|
|
1103
1103
|
};
|
|
1104
1104
|
} & {
|
|
@@ -1414,7 +1414,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
|
|
|
1414
1414
|
} | {
|
|
1415
1415
|
start: number;
|
|
1416
1416
|
end: number;
|
|
1417
|
-
type: "strong" | "em";
|
|
1417
|
+
type: "strong" | "em" | "list-item";
|
|
1418
1418
|
})[];
|
|
1419
1419
|
};
|
|
1420
1420
|
} & {
|
|
@@ -1730,7 +1730,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1730
1730
|
} | {
|
|
1731
1731
|
start: number;
|
|
1732
1732
|
end: number;
|
|
1733
|
-
type: "strong" | "em";
|
|
1733
|
+
type: "strong" | "em" | "list-item";
|
|
1734
1734
|
})[];
|
|
1735
1735
|
};
|
|
1736
1736
|
} & {
|
|
@@ -2046,7 +2046,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
2046
2046
|
} | {
|
|
2047
2047
|
start: number;
|
|
2048
2048
|
end: number;
|
|
2049
|
-
type: "strong" | "em";
|
|
2049
|
+
type: "strong" | "em" | "list-item";
|
|
2050
2050
|
})[];
|
|
2051
2051
|
};
|
|
2052
2052
|
} & {
|
|
@@ -304,7 +304,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
304
304
|
} | {
|
|
305
305
|
start: number;
|
|
306
306
|
end: number;
|
|
307
|
-
type: "strong" | "em";
|
|
307
|
+
type: "strong" | "em" | "list-item";
|
|
308
308
|
})[];
|
|
309
309
|
};
|
|
310
310
|
} & {
|
|
@@ -620,7 +620,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
620
620
|
} | {
|
|
621
621
|
start: number;
|
|
622
622
|
end: number;
|
|
623
|
-
type: "strong" | "em";
|
|
623
|
+
type: "strong" | "em" | "list-item";
|
|
624
624
|
})[];
|
|
625
625
|
};
|
|
626
626
|
} & {
|
|
@@ -937,7 +937,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
937
937
|
} | {
|
|
938
938
|
start: number;
|
|
939
939
|
end: number;
|
|
940
|
-
type: "strong" | "em";
|
|
940
|
+
type: "strong" | "em" | "list-item";
|
|
941
941
|
})[];
|
|
942
942
|
};
|
|
943
943
|
} & {
|
|
@@ -1253,7 +1253,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1253
1253
|
} | {
|
|
1254
1254
|
start: number;
|
|
1255
1255
|
end: number;
|
|
1256
|
-
type: "strong" | "em";
|
|
1256
|
+
type: "strong" | "em" | "list-item";
|
|
1257
1257
|
})[];
|
|
1258
1258
|
};
|
|
1259
1259
|
} & {
|
|
@@ -1571,7 +1571,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1571
1571
|
} | {
|
|
1572
1572
|
start: number;
|
|
1573
1573
|
end: number;
|
|
1574
|
-
type: "strong" | "em";
|
|
1574
|
+
type: "strong" | "em" | "list-item";
|
|
1575
1575
|
})[];
|
|
1576
1576
|
};
|
|
1577
1577
|
} & {
|
|
@@ -1887,7 +1887,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
|
|
|
1887
1887
|
} | {
|
|
1888
1888
|
start: number;
|
|
1889
1889
|
end: number;
|
|
1890
|
-
type: "strong" | "em";
|
|
1890
|
+
type: "strong" | "em" | "list-item";
|
|
1891
1891
|
})[];
|
|
1892
1892
|
};
|
|
1893
1893
|
} & {
|
|
@@ -2234,7 +2234,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2234
2234
|
} | {
|
|
2235
2235
|
start: number;
|
|
2236
2236
|
end: number;
|
|
2237
|
-
type: "strong" | "em";
|
|
2237
|
+
type: "strong" | "em" | "list-item";
|
|
2238
2238
|
})[], ({
|
|
2239
2239
|
data: ({
|
|
2240
2240
|
__TYPE__: "ImageLink";
|
|
@@ -2286,7 +2286,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2286
2286
|
} | {
|
|
2287
2287
|
start: number;
|
|
2288
2288
|
end: number;
|
|
2289
|
-
type: "strong" | "em";
|
|
2289
|
+
type: "strong" | "em" | "list-item";
|
|
2290
2290
|
})[], unknown>;
|
|
2291
2291
|
}>]>;
|
|
2292
2292
|
}>, t.PartialC<{
|
|
@@ -2629,7 +2629,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2629
2629
|
} | {
|
|
2630
2630
|
start: number;
|
|
2631
2631
|
end: number;
|
|
2632
|
-
type: "strong" | "em";
|
|
2632
|
+
type: "strong" | "em" | "list-item";
|
|
2633
2633
|
})[], ({
|
|
2634
2634
|
data: ({
|
|
2635
2635
|
__TYPE__: "ImageLink";
|
|
@@ -2681,7 +2681,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2681
2681
|
} | {
|
|
2682
2682
|
start: number;
|
|
2683
2683
|
end: number;
|
|
2684
|
-
type: "strong" | "em";
|
|
2684
|
+
type: "strong" | "em" | "list-item";
|
|
2685
2685
|
})[], unknown>;
|
|
2686
2686
|
}>]>;
|
|
2687
2687
|
}>, t.PartialC<{
|
|
@@ -3026,7 +3026,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3026
3026
|
} | {
|
|
3027
3027
|
start: number;
|
|
3028
3028
|
end: number;
|
|
3029
|
-
type: "strong" | "em";
|
|
3029
|
+
type: "strong" | "em" | "list-item";
|
|
3030
3030
|
})[], ({
|
|
3031
3031
|
data: ({
|
|
3032
3032
|
__TYPE__: "ImageLink";
|
|
@@ -3078,7 +3078,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3078
3078
|
} | {
|
|
3079
3079
|
start: number;
|
|
3080
3080
|
end: number;
|
|
3081
|
-
type: "strong" | "em";
|
|
3081
|
+
type: "strong" | "em" | "list-item";
|
|
3082
3082
|
})[], unknown>;
|
|
3083
3083
|
}>]>;
|
|
3084
3084
|
}>, t.PartialC<{
|
|
@@ -3421,7 +3421,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3421
3421
|
} | {
|
|
3422
3422
|
start: number;
|
|
3423
3423
|
end: number;
|
|
3424
|
-
type: "strong" | "em";
|
|
3424
|
+
type: "strong" | "em" | "list-item";
|
|
3425
3425
|
})[], ({
|
|
3426
3426
|
data: ({
|
|
3427
3427
|
__TYPE__: "ImageLink";
|
|
@@ -3473,7 +3473,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3473
3473
|
} | {
|
|
3474
3474
|
start: number;
|
|
3475
3475
|
end: number;
|
|
3476
|
-
type: "strong" | "em";
|
|
3476
|
+
type: "strong" | "em" | "list-item";
|
|
3477
3477
|
})[], unknown>;
|
|
3478
3478
|
}>]>;
|
|
3479
3479
|
}>, t.PartialC<{
|
|
@@ -3815,7 +3815,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3815
3815
|
} | {
|
|
3816
3816
|
start: number;
|
|
3817
3817
|
end: number;
|
|
3818
|
-
type: "strong" | "em";
|
|
3818
|
+
type: "strong" | "em" | "list-item";
|
|
3819
3819
|
})[], ({
|
|
3820
3820
|
data: ({
|
|
3821
3821
|
__TYPE__: "ImageLink";
|
|
@@ -3867,7 +3867,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
3867
3867
|
} | {
|
|
3868
3868
|
start: number;
|
|
3869
3869
|
end: number;
|
|
3870
|
-
type: "strong" | "em";
|
|
3870
|
+
type: "strong" | "em" | "list-item";
|
|
3871
3871
|
})[], unknown>;
|
|
3872
3872
|
}>]>;
|
|
3873
3873
|
}>, t.PartialC<{
|
|
@@ -4211,7 +4211,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4211
4211
|
} | {
|
|
4212
4212
|
start: number;
|
|
4213
4213
|
end: number;
|
|
4214
|
-
type: "strong" | "em";
|
|
4214
|
+
type: "strong" | "em" | "list-item";
|
|
4215
4215
|
})[], ({
|
|
4216
4216
|
data: ({
|
|
4217
4217
|
__TYPE__: "ImageLink";
|
|
@@ -4263,7 +4263,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
4263
4263
|
} | {
|
|
4264
4264
|
start: number;
|
|
4265
4265
|
end: number;
|
|
4266
|
-
type: "strong" | "em";
|
|
4266
|
+
type: "strong" | "em" | "list-item";
|
|
4267
4267
|
})[], unknown>;
|
|
4268
4268
|
}>]>;
|
|
4269
4269
|
}>, t.PartialC<{
|