@prismicio/types-internal 2.2.0-alpha.2 → 2.2.0-alpha.4
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/Link.d.ts +1 -1
- package/lib/import/converters/fields/nestable/Link.js +23 -11
- package/lib/import/converters/fields/nestable/Nestable.d.ts +2 -2
- package/lib/import/converters/fields/nestable/Nestable.js +6 -2
- package/lib/import/converters/fields/nestable/index.d.ts +2 -0
- package/lib/import/converters/fields/nestable/index.js +2 -0
- package/lib/import/validators/fields/ImportField.d.ts +135 -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/Link.js +11 -6
- package/lib/import/validators/fields/nestable/Nestable.d.ts +139 -8
- package/lib/import/validators/fields/nestable/Nestable.js +13 -5
- package/lib/import/validators/fields/nestable/index.d.ts +2 -0
- package/lib/import/validators/fields/nestable/index.js +2 -0
- package/lib/utils/DocumentId.d.ts +1 -0
- package/lib/utils/DocumentId.js +7 -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/Link.ts +33 -0
- package/src/import/converters/fields/nestable/Nestable.ts +9 -3
- package/src/import/converters/fields/nestable/index.ts +2 -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/Link.ts +51 -0
- package/src/import/validators/fields/nestable/Nestable.ts +13 -3
- package/src/import/validators/fields/nestable/index.ts +2 -0
- package/src/utils/DocumentId.ts +9 -0
- package/src/validators/NumberRange.ts +51 -0
- package/src/validators/function.ts +44 -0
- package/src/validators/index.ts +1 -0
|
@@ -280,7 +280,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
280
280
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
281
281
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
282
282
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
283
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
283
|
+
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>;
|
|
284
284
|
content: t.IntersectionC<[t.TypeC<{
|
|
285
285
|
text: t.StringC;
|
|
286
286
|
}>, t.PartialC<{
|
|
@@ -289,13 +289,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
289
289
|
} & {
|
|
290
290
|
start: number;
|
|
291
291
|
end: number;
|
|
292
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
292
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
293
293
|
})[], ({
|
|
294
294
|
data?: unknown;
|
|
295
295
|
} & {
|
|
296
296
|
start: number;
|
|
297
297
|
end: number;
|
|
298
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
298
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
299
299
|
})[], unknown>;
|
|
300
300
|
}>]>;
|
|
301
301
|
}>, t.PartialC<{
|
|
@@ -582,7 +582,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
582
582
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
583
583
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
584
584
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
585
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
585
|
+
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>;
|
|
586
586
|
content: t.IntersectionC<[t.TypeC<{
|
|
587
587
|
text: t.StringC;
|
|
588
588
|
}>, t.PartialC<{
|
|
@@ -591,13 +591,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
591
591
|
} & {
|
|
592
592
|
start: number;
|
|
593
593
|
end: number;
|
|
594
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
594
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
595
595
|
})[], ({
|
|
596
596
|
data?: unknown;
|
|
597
597
|
} & {
|
|
598
598
|
start: number;
|
|
599
599
|
end: number;
|
|
600
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
600
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
601
601
|
})[], unknown>;
|
|
602
602
|
}>]>;
|
|
603
603
|
}>, t.PartialC<{
|
|
@@ -893,7 +893,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
893
893
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
894
894
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
895
895
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
896
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
896
|
+
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>;
|
|
897
897
|
content: t.IntersectionC<[t.TypeC<{
|
|
898
898
|
text: t.StringC;
|
|
899
899
|
}>, t.PartialC<{
|
|
@@ -902,13 +902,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
902
902
|
} & {
|
|
903
903
|
start: number;
|
|
904
904
|
end: number;
|
|
905
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
905
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
906
906
|
})[], ({
|
|
907
907
|
data?: unknown;
|
|
908
908
|
} & {
|
|
909
909
|
start: number;
|
|
910
910
|
end: number;
|
|
911
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
911
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
912
912
|
})[], unknown>;
|
|
913
913
|
}>]>;
|
|
914
914
|
}>, t.PartialC<{
|
|
@@ -1196,7 +1196,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1196
1196
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1197
1197
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1198
1198
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1199
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1199
|
+
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>;
|
|
1200
1200
|
content: t.IntersectionC<[t.TypeC<{
|
|
1201
1201
|
text: t.StringC;
|
|
1202
1202
|
}>, t.PartialC<{
|
|
@@ -1205,13 +1205,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1205
1205
|
} & {
|
|
1206
1206
|
start: number;
|
|
1207
1207
|
end: number;
|
|
1208
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1208
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1209
1209
|
})[], ({
|
|
1210
1210
|
data?: unknown;
|
|
1211
1211
|
} & {
|
|
1212
1212
|
start: number;
|
|
1213
1213
|
end: number;
|
|
1214
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1214
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1215
1215
|
})[], unknown>;
|
|
1216
1216
|
}>]>;
|
|
1217
1217
|
}>, t.PartialC<{
|
|
@@ -1501,7 +1501,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1501
1501
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1502
1502
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1503
1503
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1504
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1504
|
+
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>;
|
|
1505
1505
|
content: t.IntersectionC<[t.TypeC<{
|
|
1506
1506
|
text: t.StringC;
|
|
1507
1507
|
}>, t.PartialC<{
|
|
@@ -1510,13 +1510,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
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
|
})[], ({
|
|
1515
1515
|
data?: unknown;
|
|
1516
1516
|
} & {
|
|
1517
1517
|
start: number;
|
|
1518
1518
|
end: number;
|
|
1519
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1519
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1520
1520
|
})[], unknown>;
|
|
1521
1521
|
}>]>;
|
|
1522
1522
|
}>, t.PartialC<{
|
|
@@ -1804,7 +1804,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1804
1804
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1805
1805
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1806
1806
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1807
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1807
|
+
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>;
|
|
1808
1808
|
content: t.IntersectionC<[t.TypeC<{
|
|
1809
1809
|
text: t.StringC;
|
|
1810
1810
|
}>, t.PartialC<{
|
|
@@ -1813,13 +1813,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
1813
1813
|
} & {
|
|
1814
1814
|
start: number;
|
|
1815
1815
|
end: number;
|
|
1816
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1816
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1817
1817
|
})[], ({
|
|
1818
1818
|
data?: unknown;
|
|
1819
1819
|
} & {
|
|
1820
1820
|
start: number;
|
|
1821
1821
|
end: number;
|
|
1822
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1822
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1823
1823
|
})[], unknown>;
|
|
1824
1824
|
}>]>;
|
|
1825
1825
|
}>, t.PartialC<{
|
|
@@ -2106,7 +2106,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2106
2106
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2107
2107
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2108
2108
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2109
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2109
|
+
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>;
|
|
2110
2110
|
content: t.IntersectionC<[t.TypeC<{
|
|
2111
2111
|
text: t.StringC;
|
|
2112
2112
|
}>, t.PartialC<{
|
|
@@ -2115,13 +2115,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2115
2115
|
} & {
|
|
2116
2116
|
start: number;
|
|
2117
2117
|
end: number;
|
|
2118
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2118
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2119
2119
|
})[], ({
|
|
2120
2120
|
data?: unknown;
|
|
2121
2121
|
} & {
|
|
2122
2122
|
start: number;
|
|
2123
2123
|
end: number;
|
|
2124
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2124
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2125
2125
|
})[], unknown>;
|
|
2126
2126
|
}>]>;
|
|
2127
2127
|
}>, t.PartialC<{
|
|
@@ -2410,7 +2410,7 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2410
2410
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2411
2411
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
2412
2412
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
2413
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2413
|
+
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>;
|
|
2414
2414
|
content: t.IntersectionC<[t.TypeC<{
|
|
2415
2415
|
text: t.StringC;
|
|
2416
2416
|
}>, t.PartialC<{
|
|
@@ -2419,13 +2419,13 @@ export declare const WidgetContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
2419
2419
|
} & {
|
|
2420
2420
|
start: number;
|
|
2421
2421
|
end: number;
|
|
2422
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2422
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2423
2423
|
})[], ({
|
|
2424
2424
|
data?: unknown;
|
|
2425
2425
|
} & {
|
|
2426
2426
|
start: number;
|
|
2427
2427
|
end: number;
|
|
2428
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2428
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2429
2429
|
})[], unknown>;
|
|
2430
2430
|
}>]>;
|
|
2431
2431
|
}>, t.PartialC<{
|
|
@@ -2687,7 +2687,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2687
2687
|
label?: string | null | undefined;
|
|
2688
2688
|
direction?: string | null | undefined;
|
|
2689
2689
|
}) | ({
|
|
2690
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2690
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2691
2691
|
content: {
|
|
2692
2692
|
text: string;
|
|
2693
2693
|
} & {
|
|
@@ -2696,7 +2696,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2696
2696
|
} & {
|
|
2697
2697
|
start: number;
|
|
2698
2698
|
end: number;
|
|
2699
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2699
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2700
2700
|
})[];
|
|
2701
2701
|
};
|
|
2702
2702
|
} & {
|
|
@@ -2957,7 +2957,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2957
2957
|
label?: string | null | undefined;
|
|
2958
2958
|
direction?: string | null | undefined;
|
|
2959
2959
|
}) | ({
|
|
2960
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2960
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2961
2961
|
content: {
|
|
2962
2962
|
text: string;
|
|
2963
2963
|
} & {
|
|
@@ -2966,7 +2966,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
2966
2966
|
} & {
|
|
2967
2967
|
start: number;
|
|
2968
2968
|
end: number;
|
|
2969
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
2969
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
2970
2970
|
})[];
|
|
2971
2971
|
};
|
|
2972
2972
|
} & {
|
|
@@ -3231,7 +3231,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3231
3231
|
label?: string | null | undefined;
|
|
3232
3232
|
direction?: string | null | undefined;
|
|
3233
3233
|
}) | ({
|
|
3234
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3234
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3235
3235
|
content: {
|
|
3236
3236
|
text: string;
|
|
3237
3237
|
} & {
|
|
@@ -3240,7 +3240,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3240
3240
|
} & {
|
|
3241
3241
|
start: number;
|
|
3242
3242
|
end: number;
|
|
3243
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3243
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3244
3244
|
})[];
|
|
3245
3245
|
};
|
|
3246
3246
|
} & {
|
|
@@ -3501,7 +3501,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3501
3501
|
label?: string | null | undefined;
|
|
3502
3502
|
direction?: string | null | undefined;
|
|
3503
3503
|
}) | ({
|
|
3504
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3504
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3505
3505
|
content: {
|
|
3506
3506
|
text: string;
|
|
3507
3507
|
} & {
|
|
@@ -3510,7 +3510,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3510
3510
|
} & {
|
|
3511
3511
|
start: number;
|
|
3512
3512
|
end: number;
|
|
3513
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3513
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3514
3514
|
})[];
|
|
3515
3515
|
};
|
|
3516
3516
|
} & {
|
|
@@ -3772,7 +3772,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3772
3772
|
label?: string | null | undefined;
|
|
3773
3773
|
direction?: string | null | undefined;
|
|
3774
3774
|
}) | ({
|
|
3775
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3775
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3776
3776
|
content: {
|
|
3777
3777
|
text: string;
|
|
3778
3778
|
} & {
|
|
@@ -3781,7 +3781,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
3781
3781
|
} & {
|
|
3782
3782
|
start: number;
|
|
3783
3783
|
end: number;
|
|
3784
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
3784
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
3785
3785
|
})[];
|
|
3786
3786
|
};
|
|
3787
3787
|
} & {
|
|
@@ -4042,7 +4042,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4042
4042
|
label?: string | null | undefined;
|
|
4043
4043
|
direction?: string | null | undefined;
|
|
4044
4044
|
}) | ({
|
|
4045
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4045
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4046
4046
|
content: {
|
|
4047
4047
|
text: string;
|
|
4048
4048
|
} & {
|
|
@@ -4051,7 +4051,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4051
4051
|
} & {
|
|
4052
4052
|
start: number;
|
|
4053
4053
|
end: number;
|
|
4054
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4054
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4055
4055
|
})[];
|
|
4056
4056
|
};
|
|
4057
4057
|
} & {
|
|
@@ -4314,7 +4314,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4314
4314
|
label?: string | null | undefined;
|
|
4315
4315
|
direction?: string | null | undefined;
|
|
4316
4316
|
}) | ({
|
|
4317
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4317
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4318
4318
|
content: {
|
|
4319
4319
|
text: string;
|
|
4320
4320
|
} & {
|
|
@@ -4323,7 +4323,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4323
4323
|
} & {
|
|
4324
4324
|
start: number;
|
|
4325
4325
|
end: number;
|
|
4326
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4326
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4327
4327
|
})[];
|
|
4328
4328
|
};
|
|
4329
4329
|
} & {
|
|
@@ -4584,7 +4584,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4584
4584
|
label?: string | null | undefined;
|
|
4585
4585
|
direction?: string | null | undefined;
|
|
4586
4586
|
}) | ({
|
|
4587
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4587
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4588
4588
|
content: {
|
|
4589
4589
|
text: string;
|
|
4590
4590
|
} & {
|
|
@@ -4593,7 +4593,7 @@ export declare const isWidgetContent: (u: unknown) => u is {
|
|
|
4593
4593
|
} & {
|
|
4594
4594
|
start: number;
|
|
4595
4595
|
end: number;
|
|
4596
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4596
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4597
4597
|
})[];
|
|
4598
4598
|
};
|
|
4599
4599
|
} & {
|
|
@@ -4861,7 +4861,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4861
4861
|
label?: string | null | undefined;
|
|
4862
4862
|
direction?: string | null | undefined;
|
|
4863
4863
|
}) | ({
|
|
4864
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4864
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4865
4865
|
content: {
|
|
4866
4866
|
text: string;
|
|
4867
4867
|
} & {
|
|
@@ -4870,7 +4870,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
4870
4870
|
} & {
|
|
4871
4871
|
start: number;
|
|
4872
4872
|
end: number;
|
|
4873
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
4873
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
4874
4874
|
})[];
|
|
4875
4875
|
};
|
|
4876
4876
|
} & {
|
|
@@ -5131,7 +5131,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5131
5131
|
label?: string | null | undefined;
|
|
5132
5132
|
direction?: string | null | undefined;
|
|
5133
5133
|
}) | ({
|
|
5134
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5134
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5135
5135
|
content: {
|
|
5136
5136
|
text: string;
|
|
5137
5137
|
} & {
|
|
@@ -5140,7 +5140,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5140
5140
|
} & {
|
|
5141
5141
|
start: number;
|
|
5142
5142
|
end: number;
|
|
5143
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5143
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5144
5144
|
})[];
|
|
5145
5145
|
};
|
|
5146
5146
|
} & {
|
|
@@ -5405,7 +5405,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5405
5405
|
label?: string | null | undefined;
|
|
5406
5406
|
direction?: string | null | undefined;
|
|
5407
5407
|
}) | ({
|
|
5408
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5408
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5409
5409
|
content: {
|
|
5410
5410
|
text: string;
|
|
5411
5411
|
} & {
|
|
@@ -5414,7 +5414,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5414
5414
|
} & {
|
|
5415
5415
|
start: number;
|
|
5416
5416
|
end: number;
|
|
5417
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5417
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5418
5418
|
})[];
|
|
5419
5419
|
};
|
|
5420
5420
|
} & {
|
|
@@ -5675,7 +5675,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5675
5675
|
label?: string | null | undefined;
|
|
5676
5676
|
direction?: string | null | undefined;
|
|
5677
5677
|
}) | ({
|
|
5678
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5678
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5679
5679
|
content: {
|
|
5680
5680
|
text: string;
|
|
5681
5681
|
} & {
|
|
@@ -5684,7 +5684,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5684
5684
|
} & {
|
|
5685
5685
|
start: number;
|
|
5686
5686
|
end: number;
|
|
5687
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5687
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5688
5688
|
})[];
|
|
5689
5689
|
};
|
|
5690
5690
|
} & {
|
|
@@ -5946,7 +5946,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5946
5946
|
label?: string | null | undefined;
|
|
5947
5947
|
direction?: string | null | undefined;
|
|
5948
5948
|
}) | ({
|
|
5949
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5949
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5950
5950
|
content: {
|
|
5951
5951
|
text: string;
|
|
5952
5952
|
} & {
|
|
@@ -5955,7 +5955,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
5955
5955
|
} & {
|
|
5956
5956
|
start: number;
|
|
5957
5957
|
end: number;
|
|
5958
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
5958
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
5959
5959
|
})[];
|
|
5960
5960
|
};
|
|
5961
5961
|
} & {
|
|
@@ -6216,7 +6216,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6216
6216
|
label?: string | null | undefined;
|
|
6217
6217
|
direction?: string | null | undefined;
|
|
6218
6218
|
}) | ({
|
|
6219
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6219
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6220
6220
|
content: {
|
|
6221
6221
|
text: string;
|
|
6222
6222
|
} & {
|
|
@@ -6225,7 +6225,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6225
6225
|
} & {
|
|
6226
6226
|
start: number;
|
|
6227
6227
|
end: number;
|
|
6228
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6228
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6229
6229
|
})[];
|
|
6230
6230
|
};
|
|
6231
6231
|
} & {
|
|
@@ -6488,7 +6488,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6488
6488
|
label?: string | null | undefined;
|
|
6489
6489
|
direction?: string | null | undefined;
|
|
6490
6490
|
}) | ({
|
|
6491
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6491
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6492
6492
|
content: {
|
|
6493
6493
|
text: string;
|
|
6494
6494
|
} & {
|
|
@@ -6497,7 +6497,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6497
6497
|
} & {
|
|
6498
6498
|
start: number;
|
|
6499
6499
|
end: number;
|
|
6500
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6500
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6501
6501
|
})[];
|
|
6502
6502
|
};
|
|
6503
6503
|
} & {
|
|
@@ -6758,7 +6758,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6758
6758
|
label?: string | null | undefined;
|
|
6759
6759
|
direction?: string | null | undefined;
|
|
6760
6760
|
}) | ({
|
|
6761
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6761
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6762
6762
|
content: {
|
|
6763
6763
|
text: string;
|
|
6764
6764
|
} & {
|
|
@@ -6767,7 +6767,7 @@ export declare const WidgetLegacy: (ctx: LegacyContentCtx) => {
|
|
|
6767
6767
|
} & {
|
|
6768
6768
|
start: number;
|
|
6769
6769
|
end: number;
|
|
6770
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
6770
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
6771
6771
|
})[];
|
|
6772
6772
|
};
|
|
6773
6773
|
} & {
|
|
@@ -276,7 +276,7 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
276
276
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
277
277
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
278
278
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
279
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
279
|
+
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>;
|
|
280
280
|
content: t.IntersectionC<[t.TypeC<{
|
|
281
281
|
text: t.StringC;
|
|
282
282
|
}>, t.PartialC<{
|
|
@@ -285,13 +285,13 @@ export declare const NestableContent: t.UnionC<[t.ExactC<t.TypeC<{
|
|
|
285
285
|
} & {
|
|
286
286
|
start: number;
|
|
287
287
|
end: number;
|
|
288
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
288
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
289
289
|
})[], ({
|
|
290
290
|
data?: unknown;
|
|
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
|
})[], unknown>;
|
|
296
296
|
}>]>;
|
|
297
297
|
}>, t.PartialC<{
|
|
@@ -551,7 +551,7 @@ export declare const isNestableContent: (u: unknown) => u is {
|
|
|
551
551
|
label?: string | null | undefined;
|
|
552
552
|
direction?: string | null | undefined;
|
|
553
553
|
}) | ({
|
|
554
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
554
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
555
555
|
content: {
|
|
556
556
|
text: string;
|
|
557
557
|
} & {
|
|
@@ -560,7 +560,7 @@ export declare const isNestableContent: (u: unknown) => u is {
|
|
|
560
560
|
} & {
|
|
561
561
|
start: number;
|
|
562
562
|
end: number;
|
|
563
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
563
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
564
564
|
})[];
|
|
565
565
|
};
|
|
566
566
|
} & {
|
|
@@ -819,7 +819,7 @@ export declare const NestableLegacy: (ctx: LegacyContentCtx) => {
|
|
|
819
819
|
label?: string | null | undefined;
|
|
820
820
|
direction?: string | null | undefined;
|
|
821
821
|
}) | ({
|
|
822
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
822
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
823
823
|
content: {
|
|
824
824
|
text: string;
|
|
825
825
|
} & {
|
|
@@ -828,7 +828,7 @@ export declare const NestableLegacy: (ctx: LegacyContentCtx) => {
|
|
|
828
828
|
} & {
|
|
829
829
|
start: number;
|
|
830
830
|
end: number;
|
|
831
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
831
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
832
832
|
})[];
|
|
833
833
|
};
|
|
834
834
|
} & {
|