@prismicio/types-internal 2.2.0-alpha.2 → 2.2.0-alpha.3
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/common/Asset.d.ts +15 -0
- package/lib/common/Asset.js +2 -0
- package/lib/common/index.d.ts +1 -0
- package/lib/common/index.js +1 -0
- package/lib/content/Document.d.ts +40 -40
- package/lib/content/fields/GroupContent.d.ts +12 -12
- package/lib/content/fields/WidgetContent.d.ts +56 -56
- package/lib/content/fields/nestable/NestableContent.d.ts +7 -7
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +12 -12
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -9
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +14 -14
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +5 -5
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +14 -14
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +14 -14
- package/lib/content/fields/slices/Slice/index.d.ts +30 -30
- package/lib/content/fields/slices/SliceItem.d.ts +30 -30
- package/lib/content/fields/slices/SlicesContent.d.ts +42 -42
- package/lib/import/converters/Document.d.ts +2 -2
- package/lib/import/converters/Document.js +4 -4
- package/lib/import/converters/fields/nestable/GeooPoint.d.ts +3 -0
- package/lib/import/converters/fields/nestable/GeooPoint.js +15 -0
- package/lib/import/converters/fields/nestable/Image.d.ts +2 -16
- package/lib/import/converters/fields/nestable/Image.js +11 -11
- package/lib/import/converters/fields/nestable/Nestable.d.ts +2 -2
- package/lib/import/converters/fields/nestable/Nestable.js +4 -2
- package/lib/import/converters/fields/nestable/index.d.ts +1 -0
- package/lib/import/converters/fields/nestable/index.js +1 -0
- package/lib/import/validators/fields/ImportField.d.ts +105 -6
- package/lib/import/validators/fields/nestable/GeoPoint.d.ts +13 -0
- package/lib/import/validators/fields/nestable/GeoPoint.js +13 -0
- package/lib/import/validators/fields/nestable/Image.d.ts +24 -3
- package/lib/import/validators/fields/nestable/Nestable.d.ts +108 -8
- package/lib/import/validators/fields/nestable/Nestable.js +7 -3
- package/lib/import/validators/fields/nestable/index.d.ts +1 -0
- package/lib/import/validators/fields/nestable/index.js +1 -0
- package/lib/validators/NumberRange.d.ts +32 -0
- package/lib/validators/NumberRange.js +40 -0
- package/lib/validators/function.d.ts +20 -0
- package/lib/validators/function.js +41 -1
- package/lib/validators/index.d.ts +1 -0
- package/lib/validators/index.js +3 -1
- package/package.json +1 -1
- package/src/common/Asset.ts +15 -0
- package/src/common/index.ts +1 -0
- package/src/import/converters/Document.ts +6 -5
- package/src/import/converters/fields/nestable/GeooPoint.ts +16 -0
- package/src/import/converters/fields/nestable/Image.ts +7 -22
- package/src/import/converters/fields/nestable/Nestable.ts +6 -3
- package/src/import/converters/fields/nestable/index.ts +1 -0
- package/src/import/validators/fields/nestable/GeoPoint.ts +21 -0
- package/src/import/validators/fields/nestable/Image.ts +3 -16
- package/src/import/validators/fields/nestable/Nestable.ts +6 -1
- package/src/import/validators/fields/nestable/index.ts +1 -0
- package/src/validators/NumberRange.ts +51 -0
- package/src/validators/function.ts +44 -0
- package/src/validators/index.ts +1 -0
|
@@ -282,7 +282,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
282
282
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
283
283
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
284
284
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
285
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
285
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
286
286
|
content: t.IntersectionC<[t.TypeC<{
|
|
287
287
|
text: t.StringC;
|
|
288
288
|
}>, t.PartialC<{
|
|
@@ -291,13 +291,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
291
291
|
} & {
|
|
292
292
|
start: number;
|
|
293
293
|
end: number;
|
|
294
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
294
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
295
295
|
})[], ({
|
|
296
296
|
data?: unknown;
|
|
297
297
|
} & {
|
|
298
298
|
start: number;
|
|
299
299
|
end: number;
|
|
300
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
300
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
301
301
|
})[], unknown>;
|
|
302
302
|
}>]>;
|
|
303
303
|
}>, t.PartialC<{
|
|
@@ -585,7 +585,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
585
585
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
586
586
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
587
587
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
588
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
588
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
589
589
|
content: t.IntersectionC<[t.TypeC<{
|
|
590
590
|
text: t.StringC;
|
|
591
591
|
}>, t.PartialC<{
|
|
@@ -594,13 +594,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
594
594
|
} & {
|
|
595
595
|
start: number;
|
|
596
596
|
end: number;
|
|
597
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
597
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
598
598
|
})[], ({
|
|
599
599
|
data?: unknown;
|
|
600
600
|
} & {
|
|
601
601
|
start: number;
|
|
602
602
|
end: number;
|
|
603
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
603
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
604
604
|
})[], unknown>;
|
|
605
605
|
}>]>;
|
|
606
606
|
}>, t.PartialC<{
|
|
@@ -890,7 +890,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
890
890
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
891
891
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
892
892
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
893
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
893
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
894
894
|
content: t.IntersectionC<[t.TypeC<{
|
|
895
895
|
text: t.StringC;
|
|
896
896
|
}>, t.PartialC<{
|
|
@@ -899,13 +899,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
899
899
|
} & {
|
|
900
900
|
start: number;
|
|
901
901
|
end: number;
|
|
902
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
902
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
903
903
|
})[], ({
|
|
904
904
|
data?: unknown;
|
|
905
905
|
} & {
|
|
906
906
|
start: number;
|
|
907
907
|
end: number;
|
|
908
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
908
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
909
909
|
})[], unknown>;
|
|
910
910
|
}>]>;
|
|
911
911
|
}>, t.PartialC<{
|
|
@@ -1193,7 +1193,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1193
1193
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1194
1194
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1195
1195
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1196
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1196
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
1197
1197
|
content: t.IntersectionC<[t.TypeC<{
|
|
1198
1198
|
text: t.StringC;
|
|
1199
1199
|
}>, t.PartialC<{
|
|
@@ -1202,13 +1202,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1202
1202
|
} & {
|
|
1203
1203
|
start: number;
|
|
1204
1204
|
end: number;
|
|
1205
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1205
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1206
1206
|
})[], ({
|
|
1207
1207
|
data?: unknown;
|
|
1208
1208
|
} & {
|
|
1209
1209
|
start: number;
|
|
1210
1210
|
end: number;
|
|
1211
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1211
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1212
1212
|
})[], unknown>;
|
|
1213
1213
|
}>]>;
|
|
1214
1214
|
}>, t.PartialC<{
|
|
@@ -1495,7 +1495,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1495
1495
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1496
1496
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1497
1497
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1498
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1498
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
1499
1499
|
content: t.IntersectionC<[t.TypeC<{
|
|
1500
1500
|
text: t.StringC;
|
|
1501
1501
|
}>, t.PartialC<{
|
|
@@ -1504,13 +1504,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1504
1504
|
} & {
|
|
1505
1505
|
start: number;
|
|
1506
1506
|
end: number;
|
|
1507
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1507
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1508
1508
|
})[], ({
|
|
1509
1509
|
data?: unknown;
|
|
1510
1510
|
} & {
|
|
1511
1511
|
start: number;
|
|
1512
1512
|
end: number;
|
|
1513
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1513
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1514
1514
|
})[], unknown>;
|
|
1515
1515
|
}>]>;
|
|
1516
1516
|
}>, t.PartialC<{
|
|
@@ -1799,7 +1799,7 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1799
1799
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1800
1800
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1801
1801
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1802
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1802
|
+
type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
|
|
1803
1803
|
content: t.IntersectionC<[t.TypeC<{
|
|
1804
1804
|
text: t.StringC;
|
|
1805
1805
|
}>, t.PartialC<{
|
|
@@ -1808,13 +1808,13 @@ export declare const SliceItemContent: t.TypeC<{
|
|
|
1808
1808
|
} & {
|
|
1809
1809
|
start: number;
|
|
1810
1810
|
end: number;
|
|
1811
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1811
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1812
1812
|
})[], ({
|
|
1813
1813
|
data?: unknown;
|
|
1814
1814
|
} & {
|
|
1815
1815
|
start: number;
|
|
1816
1816
|
end: number;
|
|
1817
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1817
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1818
1818
|
})[], unknown>;
|
|
1819
1819
|
}>]>;
|
|
1820
1820
|
}>, t.PartialC<{
|
|
@@ -2080,7 +2080,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2080
2080
|
label?: string | null | undefined;
|
|
2081
2081
|
direction?: string | null | undefined;
|
|
2082
2082
|
}) | ({
|
|
2083
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2083
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2084
2084
|
content: {
|
|
2085
2085
|
text: string;
|
|
2086
2086
|
} & {
|
|
@@ -2089,7 +2089,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2089
2089
|
} & {
|
|
2090
2090
|
start: number;
|
|
2091
2091
|
end: number;
|
|
2092
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2092
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2093
2093
|
})[];
|
|
2094
2094
|
};
|
|
2095
2095
|
} & {
|
|
@@ -2350,7 +2350,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2350
2350
|
label?: string | null | undefined;
|
|
2351
2351
|
direction?: string | null | undefined;
|
|
2352
2352
|
}) | ({
|
|
2353
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2353
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2354
2354
|
content: {
|
|
2355
2355
|
text: string;
|
|
2356
2356
|
} & {
|
|
@@ -2359,7 +2359,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2359
2359
|
} & {
|
|
2360
2360
|
start: number;
|
|
2361
2361
|
end: number;
|
|
2362
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2362
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2363
2363
|
})[];
|
|
2364
2364
|
};
|
|
2365
2365
|
} & {
|
|
@@ -2621,7 +2621,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2621
2621
|
label?: string | null | undefined;
|
|
2622
2622
|
direction?: string | null | undefined;
|
|
2623
2623
|
}) | ({
|
|
2624
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2624
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2625
2625
|
content: {
|
|
2626
2626
|
text: string;
|
|
2627
2627
|
} & {
|
|
@@ -2630,7 +2630,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2630
2630
|
} & {
|
|
2631
2631
|
start: number;
|
|
2632
2632
|
end: number;
|
|
2633
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2633
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2634
2634
|
})[];
|
|
2635
2635
|
};
|
|
2636
2636
|
} & {
|
|
@@ -2891,7 +2891,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2891
2891
|
label?: string | null | undefined;
|
|
2892
2892
|
direction?: string | null | undefined;
|
|
2893
2893
|
}) | ({
|
|
2894
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2894
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2895
2895
|
content: {
|
|
2896
2896
|
text: string;
|
|
2897
2897
|
} & {
|
|
@@ -2900,7 +2900,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
2900
2900
|
} & {
|
|
2901
2901
|
start: number;
|
|
2902
2902
|
end: number;
|
|
2903
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2903
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2904
2904
|
})[];
|
|
2905
2905
|
};
|
|
2906
2906
|
} & {
|
|
@@ -3163,7 +3163,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3163
3163
|
label?: string | null | undefined;
|
|
3164
3164
|
direction?: string | null | undefined;
|
|
3165
3165
|
}) | ({
|
|
3166
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3166
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3167
3167
|
content: {
|
|
3168
3168
|
text: string;
|
|
3169
3169
|
} & {
|
|
@@ -3172,7 +3172,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3172
3172
|
} & {
|
|
3173
3173
|
start: number;
|
|
3174
3174
|
end: number;
|
|
3175
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3175
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3176
3176
|
})[];
|
|
3177
3177
|
};
|
|
3178
3178
|
} & {
|
|
@@ -3433,7 +3433,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3433
3433
|
label?: string | null | undefined;
|
|
3434
3434
|
direction?: string | null | undefined;
|
|
3435
3435
|
}) | ({
|
|
3436
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3436
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3437
3437
|
content: {
|
|
3438
3438
|
text: string;
|
|
3439
3439
|
} & {
|
|
@@ -3442,7 +3442,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
3442
3442
|
} & {
|
|
3443
3443
|
start: number;
|
|
3444
3444
|
end: number;
|
|
3445
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3445
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3446
3446
|
})[];
|
|
3447
3447
|
};
|
|
3448
3448
|
} & {
|