@prismicio/types-internal 2.2.0-alpha.1 → 2.2.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/Asset.d.ts +16 -0
- package/lib/common/Asset.js +11 -0
- package/lib/common/Embed.d.ts +15 -0
- package/lib/common/Embed.js +10 -0
- package/lib/common/index.d.ts +2 -0
- package/lib/common/index.js +2 -0
- package/lib/content/Document.d.ts +40 -40
- package/lib/content/fields/GroupContent.d.ts +12 -12
- package/lib/content/fields/GroupContent.js +11 -4
- 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/customtypes/CustomType.d.ts +2 -0
- package/lib/customtypes/CustomType.js +8 -1
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -157
- package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -17
- package/lib/import/converters/Document.d.ts +4 -2
- package/lib/import/converters/Document.js +9 -7
- package/lib/import/converters/fields/UID.d.ts +3 -0
- package/lib/import/converters/fields/UID.js +12 -0
- package/lib/import/converters/fields/index.d.ts +1 -0
- package/lib/import/converters/fields/index.js +1 -0
- package/lib/import/converters/fields/nestable/Boolean.d.ts +3 -0
- package/lib/import/converters/fields/nestable/Boolean.js +12 -0
- package/lib/import/converters/fields/nestable/Color.js +9 -6
- package/lib/import/converters/fields/nestable/Date.d.ts +1 -1
- package/lib/import/converters/fields/nestable/Date.js +5 -5
- package/lib/import/converters/fields/nestable/Embed.d.ts +4 -0
- package/lib/import/converters/fields/nestable/Embed.js +32 -0
- 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 +4 -0
- package/lib/import/converters/fields/nestable/Image.js +55 -0
- package/lib/import/converters/fields/nestable/Link.d.ts +4 -0
- package/lib/import/converters/fields/nestable/Link.js +70 -0
- package/lib/import/converters/fields/nestable/Nestable.d.ts +3 -1
- package/lib/import/converters/fields/nestable/Nestable.js +11 -1
- package/lib/import/converters/fields/nestable/Number.js +9 -6
- package/lib/import/converters/fields/nestable/Select.js +9 -6
- package/lib/import/converters/fields/nestable/Text.js +9 -6
- package/lib/import/converters/fields/nestable/Timestamp.d.ts +1 -1
- package/lib/import/converters/fields/nestable/Timestamp.js +9 -6
- package/lib/import/converters/fields/nestable/index.d.ts +5 -0
- package/lib/import/converters/fields/nestable/index.js +5 -0
- package/lib/import/validators/Document.d.ts +4 -4
- package/lib/import/validators/Document.js +38 -46
- package/lib/import/validators/fields/ImportContent.d.ts +5 -0
- package/lib/import/validators/fields/ImportContent.js +21 -0
- package/lib/import/validators/fields/ImportField.d.ts +125 -0
- package/lib/import/validators/fields/ImportField.js +24 -0
- package/lib/import/validators/fields/UID.d.ts +6 -0
- package/lib/import/validators/fields/UID.js +15 -0
- package/lib/import/validators/fields/index.d.ts +1 -5
- package/lib/import/validators/fields/index.js +1 -0
- package/lib/import/validators/fields/nestable/Boolean.d.ts +6 -0
- package/lib/import/validators/fields/nestable/Boolean.js +6 -0
- package/lib/import/validators/fields/nestable/Color.d.ts +5 -4
- package/lib/import/validators/fields/nestable/Color.js +4 -4
- package/lib/import/validators/fields/nestable/Date.d.ts +5 -3
- package/lib/import/validators/fields/nestable/Date.js +4 -2
- package/lib/import/validators/fields/nestable/Embed.d.ts +10 -0
- package/lib/import/validators/fields/nestable/Embed.js +36 -0
- 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/Decoder.d.ts +26 -0
- package/lib/import/validators/fields/nestable/Image/Decoder.js +40 -0
- package/lib/import/validators/fields/nestable/Image/Validator.d.ts +37 -0
- package/lib/import/validators/fields/nestable/Image/Validator.js +26 -0
- package/lib/import/validators/fields/nestable/Image/index.d.ts +26 -0
- package/lib/import/validators/fields/nestable/Image/index.js +28 -0
- package/lib/import/validators/fields/nestable/Image/model.d.ts +18 -0
- package/lib/import/validators/fields/nestable/Image/model.js +2 -0
- package/lib/import/validators/fields/nestable/Image.d.ts +62 -0
- package/lib/import/validators/fields/nestable/Image.js +76 -0
- package/lib/import/validators/fields/nestable/Link.d.ts +38 -0
- package/lib/import/validators/fields/nestable/Link.js +35 -0
- package/lib/import/validators/fields/nestable/Nestable.d.ts +120 -4
- package/lib/import/validators/fields/nestable/Nestable.js +59 -28
- package/lib/import/validators/fields/nestable/Number.d.ts +16 -9
- package/lib/import/validators/fields/nestable/Number.js +5 -4
- package/lib/import/validators/fields/nestable/Select.d.ts +15 -8
- package/lib/import/validators/fields/nestable/Select.js +4 -2
- package/lib/import/validators/fields/nestable/Text.d.ts +6 -3
- package/lib/import/validators/fields/nestable/Text.js +2 -1
- package/lib/import/validators/fields/nestable/Timestamp.d.ts +5 -3
- package/lib/import/validators/fields/nestable/Timestamp.js +4 -2
- package/lib/import/validators/fields/nestable/index.d.ts +6 -0
- package/lib/import/validators/fields/nestable/index.js +6 -0
- package/lib/utils/DocumentId.d.ts +1 -0
- package/lib/utils/DocumentId.js +7 -0
- package/lib/utils/Objects.d.ts +1 -0
- package/lib/utils/Objects.js +5 -1
- package/lib/validators/BasicTypes.d.ts +8 -0
- package/lib/validators/BasicTypes.js +19 -1
- package/lib/validators/DefaultOrElse.d.ts +5 -0
- package/lib/validators/DefaultOrElse.js +21 -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 +2 -1
- package/lib/validators/index.js +4 -2
- package/package.json +3 -2
- package/src/common/Asset.ts +25 -0
- package/src/common/Embed.ts +22 -0
- package/src/common/index.ts +2 -0
- package/src/content/fields/GroupContent.ts +9 -5
- package/src/customtypes/CustomType.ts +13 -0
- package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -17
- package/src/import/converters/Document.ts +22 -11
- package/src/import/converters/fields/UID.ts +13 -0
- package/src/import/converters/fields/index.ts +1 -0
- package/src/import/converters/fields/nestable/Boolean.ts +13 -0
- package/src/import/converters/fields/nestable/Color.ts +7 -5
- package/src/import/converters/fields/nestable/Date.ts +12 -13
- package/src/import/converters/fields/nestable/Embed.ts +37 -0
- package/src/import/converters/fields/nestable/GeooPoint.ts +16 -0
- package/src/import/converters/fields/nestable/Image.ts +73 -0
- package/src/import/converters/fields/nestable/Link.ts +77 -0
- package/src/import/converters/fields/nestable/Nestable.ts +19 -0
- package/src/import/converters/fields/nestable/Number.ts +7 -5
- package/src/import/converters/fields/nestable/Select.ts +7 -5
- package/src/import/converters/fields/nestable/Text.ts +7 -5
- package/src/import/converters/fields/nestable/Timestamp.ts +8 -6
- package/src/import/converters/fields/nestable/index.ts +5 -0
- package/src/import/validators/Document.ts +86 -79
- package/src/import/validators/fields/ImportContent.ts +30 -0
- package/src/import/validators/fields/ImportField.ts +25 -0
- package/src/import/validators/fields/UID.ts +27 -0
- package/src/import/validators/fields/index.ts +1 -7
- package/src/import/validators/fields/nestable/Boolean.ts +7 -0
- package/src/import/validators/fields/nestable/Color.ts +23 -23
- package/src/import/validators/fields/nestable/Date.ts +26 -27
- package/src/import/validators/fields/nestable/Embed.ts +54 -0
- package/src/import/validators/fields/nestable/GeoPoint.ts +21 -0
- package/src/import/validators/fields/nestable/Image/Decoder.ts +61 -0
- package/src/import/validators/fields/nestable/Image/Validator.ts +35 -0
- package/src/import/validators/fields/nestable/Image/index.ts +45 -0
- package/src/import/validators/fields/nestable/Image/model.ts +18 -0
- package/src/import/validators/fields/nestable/Link.ts +54 -0
- package/src/import/validators/fields/nestable/Nestable.ts +65 -26
- package/src/import/validators/fields/nestable/Number.ts +32 -30
- package/src/import/validators/fields/nestable/Select.ts +32 -30
- package/src/import/validators/fields/nestable/Text.ts +6 -6
- package/src/import/validators/fields/nestable/Timestamp.ts +29 -26
- package/src/import/validators/fields/nestable/index.ts +6 -0
- package/src/utils/DocumentId.ts +9 -0
- package/src/utils/Objects.ts +10 -0
- package/src/validators/BasicTypes.ts +48 -0
- package/src/validators/DefaultOrElse.ts +24 -0
- package/src/validators/NumberRange.ts +51 -0
- package/src/validators/function.ts +44 -0
- package/src/validators/index.ts +2 -1
- package/lib/import/converters/fields/utils.d.ts +0 -1
- package/lib/import/converters/fields/utils.js +0 -10
- package/lib/validators/NullOrT.d.ts +0 -2
- package/lib/validators/NullOrT.js +0 -13
- package/src/import/converters/fields/utils.ts +0 -7
- package/src/validators/NullOrT.ts +0 -18
|
@@ -55,13 +55,13 @@ export declare const ValidatedMetas: (linkCodec: LinkCodec) => t.Type<({
|
|
|
55
55
|
} & {
|
|
56
56
|
start: number;
|
|
57
57
|
end: number;
|
|
58
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
58
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
59
59
|
})[], ({
|
|
60
60
|
data?: unknown;
|
|
61
61
|
} & {
|
|
62
62
|
start: number;
|
|
63
63
|
end: number;
|
|
64
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
64
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
65
65
|
})[], unknown>;
|
|
66
66
|
export declare const ImageBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
67
67
|
type: t.LiteralC<"image">;
|
|
@@ -191,7 +191,7 @@ export declare type EmbedBlock = t.TypeOf<typeof EmbedBlock>;
|
|
|
191
191
|
export declare function checkEmbedBlock(block: Block): block is EmbedBlock;
|
|
192
192
|
declare type LinkCodec = typeof Link | typeof LinkLegacy;
|
|
193
193
|
export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
194
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
194
|
+
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>;
|
|
195
195
|
content: t.IntersectionC<[t.TypeC<{
|
|
196
196
|
text: t.StringC;
|
|
197
197
|
}>, t.PartialC<{
|
|
@@ -200,13 +200,13 @@ export declare const TextBlock: t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
200
200
|
} & {
|
|
201
201
|
start: number;
|
|
202
202
|
end: number;
|
|
203
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
203
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
204
204
|
})[], ({
|
|
205
205
|
data?: unknown;
|
|
206
206
|
} & {
|
|
207
207
|
start: number;
|
|
208
208
|
end: number;
|
|
209
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
209
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
210
210
|
})[], unknown>;
|
|
211
211
|
}>]>;
|
|
212
212
|
}>, t.PartialC<{
|
|
@@ -307,7 +307,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
307
307
|
label?: string | null | undefined;
|
|
308
308
|
direction?: string | null | undefined;
|
|
309
309
|
}) | ({
|
|
310
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
310
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
311
311
|
content: {
|
|
312
312
|
text: string;
|
|
313
313
|
} & {
|
|
@@ -316,7 +316,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
316
316
|
} & {
|
|
317
317
|
start: number;
|
|
318
318
|
end: number;
|
|
319
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
319
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
320
320
|
})[];
|
|
321
321
|
};
|
|
322
322
|
} & {
|
|
@@ -415,7 +415,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
415
415
|
label?: string | null | undefined;
|
|
416
416
|
direction?: string | null | undefined;
|
|
417
417
|
}) | ({
|
|
418
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
418
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
419
419
|
content: {
|
|
420
420
|
text: string;
|
|
421
421
|
} & {
|
|
@@ -424,7 +424,7 @@ export declare const BlockLegacy: t.Type<({
|
|
|
424
424
|
} & {
|
|
425
425
|
start: number;
|
|
426
426
|
end: number;
|
|
427
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
427
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
428
428
|
})[];
|
|
429
429
|
};
|
|
430
430
|
} & {
|
|
@@ -552,7 +552,7 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
552
552
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
553
553
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
554
554
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
555
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
555
|
+
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>;
|
|
556
556
|
content: t.IntersectionC<[t.TypeC<{
|
|
557
557
|
text: t.StringC;
|
|
558
558
|
}>, t.PartialC<{
|
|
@@ -561,13 +561,13 @@ export declare const Block: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
|
561
561
|
} & {
|
|
562
562
|
start: number;
|
|
563
563
|
end: number;
|
|
564
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
564
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
565
565
|
})[], ({
|
|
566
566
|
data?: unknown;
|
|
567
567
|
} & {
|
|
568
568
|
start: number;
|
|
569
569
|
end: number;
|
|
570
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
570
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
571
571
|
})[], unknown>;
|
|
572
572
|
}>]>;
|
|
573
573
|
}>, t.PartialC<{
|
|
@@ -96,7 +96,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
|
|
|
96
96
|
label?: string | null | undefined;
|
|
97
97
|
direction?: string | null | undefined;
|
|
98
98
|
}) | ({
|
|
99
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
99
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
100
100
|
content: {
|
|
101
101
|
text: string;
|
|
102
102
|
} & {
|
|
@@ -105,7 +105,7 @@ export declare const isRichTextContent: (u: unknown) => u is {
|
|
|
105
105
|
} & {
|
|
106
106
|
start: number;
|
|
107
107
|
end: number;
|
|
108
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
108
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
109
109
|
})[];
|
|
110
110
|
};
|
|
111
111
|
} & {
|
|
@@ -236,7 +236,7 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
236
236
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
237
237
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
238
238
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
239
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
239
|
+
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>;
|
|
240
240
|
content: t.IntersectionC<[t.TypeC<{
|
|
241
241
|
text: t.StringC;
|
|
242
242
|
}>, t.PartialC<{
|
|
@@ -245,13 +245,13 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
245
245
|
} & {
|
|
246
246
|
start: number;
|
|
247
247
|
end: number;
|
|
248
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
248
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
249
249
|
})[], ({
|
|
250
250
|
data?: unknown;
|
|
251
251
|
} & {
|
|
252
252
|
start: number;
|
|
253
253
|
end: number;
|
|
254
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
254
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
255
255
|
})[], unknown>;
|
|
256
256
|
}>]>;
|
|
257
257
|
}>, t.PartialC<{
|
|
@@ -356,7 +356,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
356
356
|
label?: string | null | undefined;
|
|
357
357
|
direction?: string | null | undefined;
|
|
358
358
|
}) | ({
|
|
359
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
359
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
360
360
|
content: {
|
|
361
361
|
text: string;
|
|
362
362
|
} & {
|
|
@@ -365,7 +365,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
365
365
|
} & {
|
|
366
366
|
start: number;
|
|
367
367
|
end: number;
|
|
368
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
368
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
369
369
|
})[];
|
|
370
370
|
};
|
|
371
371
|
} & {
|
|
@@ -465,7 +465,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
465
465
|
label?: string | null | undefined;
|
|
466
466
|
direction?: string | null | undefined;
|
|
467
467
|
}) | ({
|
|
468
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
468
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
469
469
|
content: {
|
|
470
470
|
text: string;
|
|
471
471
|
} & {
|
|
@@ -474,7 +474,7 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
474
474
|
} & {
|
|
475
475
|
start: number;
|
|
476
476
|
end: number;
|
|
477
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
477
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
478
478
|
})[];
|
|
479
479
|
};
|
|
480
480
|
} & {
|
|
@@ -252,7 +252,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
252
252
|
label?: string | null | undefined;
|
|
253
253
|
direction?: string | null | undefined;
|
|
254
254
|
}) | ({
|
|
255
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
255
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
256
256
|
content: {
|
|
257
257
|
text: string;
|
|
258
258
|
} & {
|
|
@@ -261,7 +261,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
261
261
|
} & {
|
|
262
262
|
start: number;
|
|
263
263
|
end: number;
|
|
264
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
264
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
265
265
|
})[];
|
|
266
266
|
};
|
|
267
267
|
} & {
|
|
@@ -522,7 +522,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
522
522
|
label?: string | null | undefined;
|
|
523
523
|
direction?: string | null | undefined;
|
|
524
524
|
}) | ({
|
|
525
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
525
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
526
526
|
content: {
|
|
527
527
|
text: string;
|
|
528
528
|
} & {
|
|
@@ -531,7 +531,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
|
|
|
531
531
|
} & {
|
|
532
532
|
start: number;
|
|
533
533
|
end: number;
|
|
534
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
534
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
535
535
|
})[];
|
|
536
536
|
};
|
|
537
537
|
} & {
|
|
@@ -794,7 +794,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
794
794
|
label?: string | null | undefined;
|
|
795
795
|
direction?: string | null | undefined;
|
|
796
796
|
}) | ({
|
|
797
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
797
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
798
798
|
content: {
|
|
799
799
|
text: string;
|
|
800
800
|
} & {
|
|
@@ -803,7 +803,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
803
803
|
} & {
|
|
804
804
|
start: number;
|
|
805
805
|
end: number;
|
|
806
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
806
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
807
807
|
})[];
|
|
808
808
|
};
|
|
809
809
|
} & {
|
|
@@ -1064,7 +1064,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1064
1064
|
label?: string | null | undefined;
|
|
1065
1065
|
direction?: string | null | undefined;
|
|
1066
1066
|
}) | ({
|
|
1067
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1067
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1068
1068
|
content: {
|
|
1069
1069
|
text: string;
|
|
1070
1070
|
} & {
|
|
@@ -1073,7 +1073,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1073
1073
|
} & {
|
|
1074
1074
|
start: number;
|
|
1075
1075
|
end: number;
|
|
1076
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1076
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1077
1077
|
})[];
|
|
1078
1078
|
};
|
|
1079
1079
|
} & {
|
|
@@ -1368,7 +1368,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1368
1368
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1369
1369
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1370
1370
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1371
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1371
|
+
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>;
|
|
1372
1372
|
content: t.IntersectionC<[t.TypeC<{
|
|
1373
1373
|
text: t.StringC;
|
|
1374
1374
|
}>, t.PartialC<{
|
|
@@ -1377,13 +1377,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1377
1377
|
} & {
|
|
1378
1378
|
start: number;
|
|
1379
1379
|
end: number;
|
|
1380
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1380
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1381
1381
|
})[], ({
|
|
1382
1382
|
data?: unknown;
|
|
1383
1383
|
} & {
|
|
1384
1384
|
start: number;
|
|
1385
1385
|
end: number;
|
|
1386
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1386
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1387
1387
|
})[], unknown>;
|
|
1388
1388
|
}>]>;
|
|
1389
1389
|
}>, t.PartialC<{
|
|
@@ -1671,7 +1671,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1671
1671
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1672
1672
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1673
1673
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1674
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1674
|
+
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>;
|
|
1675
1675
|
content: t.IntersectionC<[t.TypeC<{
|
|
1676
1676
|
text: t.StringC;
|
|
1677
1677
|
}>, t.PartialC<{
|
|
@@ -1680,13 +1680,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
|
|
|
1680
1680
|
} & {
|
|
1681
1681
|
start: number;
|
|
1682
1682
|
end: number;
|
|
1683
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1683
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1684
1684
|
})[], ({
|
|
1685
1685
|
data?: unknown;
|
|
1686
1686
|
} & {
|
|
1687
1687
|
start: number;
|
|
1688
1688
|
end: number;
|
|
1689
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1689
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1690
1690
|
})[], unknown>;
|
|
1691
1691
|
}>]>;
|
|
1692
1692
|
}>, t.PartialC<{
|
|
@@ -250,7 +250,7 @@ export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.Array
|
|
|
250
250
|
label?: string | null | undefined;
|
|
251
251
|
direction?: string | null | undefined;
|
|
252
252
|
}) | ({
|
|
253
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
253
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
254
254
|
content: {
|
|
255
255
|
text: string;
|
|
256
256
|
} & {
|
|
@@ -259,7 +259,7 @@ export declare const RepeatableWidgetsLegacy: (ctx: LegacyContentCtx) => t.Array
|
|
|
259
259
|
} & {
|
|
260
260
|
start: number;
|
|
261
261
|
end: number;
|
|
262
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
262
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
263
263
|
})[];
|
|
264
264
|
};
|
|
265
265
|
} & {
|
|
@@ -550,7 +550,7 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
|
|
|
550
550
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
551
551
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
552
552
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
553
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
553
|
+
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>;
|
|
554
554
|
content: t.IntersectionC<[t.TypeC<{
|
|
555
555
|
text: t.StringC;
|
|
556
556
|
}>, t.PartialC<{
|
|
@@ -559,13 +559,13 @@ export declare const RepeatableWidgets: t.ArrayC<t.ExactC<t.TypeC<{
|
|
|
559
559
|
} & {
|
|
560
560
|
start: number;
|
|
561
561
|
end: number;
|
|
562
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
562
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
563
563
|
})[], ({
|
|
564
564
|
data?: unknown;
|
|
565
565
|
} & {
|
|
566
566
|
start: number;
|
|
567
567
|
end: number;
|
|
568
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
568
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
569
569
|
})[], unknown>;
|
|
570
570
|
}>]>;
|
|
571
571
|
}>, t.PartialC<{
|
|
@@ -253,7 +253,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
253
253
|
label?: string | null | undefined;
|
|
254
254
|
direction?: string | null | undefined;
|
|
255
255
|
}) | ({
|
|
256
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
256
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
257
257
|
content: {
|
|
258
258
|
text: string;
|
|
259
259
|
} & {
|
|
@@ -262,7 +262,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
262
262
|
} & {
|
|
263
263
|
start: number;
|
|
264
264
|
end: number;
|
|
265
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
265
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
266
266
|
})[];
|
|
267
267
|
};
|
|
268
268
|
} & {
|
|
@@ -523,7 +523,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
523
523
|
label?: string | null | undefined;
|
|
524
524
|
direction?: string | null | undefined;
|
|
525
525
|
}) | ({
|
|
526
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
526
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
527
527
|
content: {
|
|
528
528
|
text: string;
|
|
529
529
|
} & {
|
|
@@ -532,7 +532,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
|
|
|
532
532
|
} & {
|
|
533
533
|
start: number;
|
|
534
534
|
end: number;
|
|
535
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
535
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
536
536
|
})[];
|
|
537
537
|
};
|
|
538
538
|
} & {
|
|
@@ -796,7 +796,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
796
796
|
label?: string | null | undefined;
|
|
797
797
|
direction?: string | null | undefined;
|
|
798
798
|
}) | ({
|
|
799
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
799
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
800
800
|
content: {
|
|
801
801
|
text: string;
|
|
802
802
|
} & {
|
|
@@ -805,7 +805,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
805
805
|
} & {
|
|
806
806
|
start: number;
|
|
807
807
|
end: number;
|
|
808
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
808
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
809
809
|
})[];
|
|
810
810
|
};
|
|
811
811
|
} & {
|
|
@@ -1066,7 +1066,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1066
1066
|
label?: string | null | undefined;
|
|
1067
1067
|
direction?: string | null | undefined;
|
|
1068
1068
|
}) | ({
|
|
1069
|
-
type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1069
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1070
1070
|
content: {
|
|
1071
1071
|
text: string;
|
|
1072
1072
|
} & {
|
|
@@ -1075,7 +1075,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
1075
1075
|
} & {
|
|
1076
1076
|
start: number;
|
|
1077
1077
|
end: number;
|
|
1078
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1078
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1079
1079
|
})[];
|
|
1080
1080
|
};
|
|
1081
1081
|
} & {
|
|
@@ -1372,7 +1372,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1372
1372
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1373
1373
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1374
1374
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1375
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1375
|
+
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>;
|
|
1376
1376
|
content: t.IntersectionC<[t.TypeC<{
|
|
1377
1377
|
text: t.StringC;
|
|
1378
1378
|
}>, t.PartialC<{
|
|
@@ -1381,13 +1381,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1381
1381
|
} & {
|
|
1382
1382
|
start: number;
|
|
1383
1383
|
end: number;
|
|
1384
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1384
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1385
1385
|
})[], ({
|
|
1386
1386
|
data?: unknown;
|
|
1387
1387
|
} & {
|
|
1388
1388
|
start: number;
|
|
1389
1389
|
end: number;
|
|
1390
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1390
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1391
1391
|
})[], unknown>;
|
|
1392
1392
|
}>]>;
|
|
1393
1393
|
}>, t.PartialC<{
|
|
@@ -1675,7 +1675,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1675
1675
|
label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1676
1676
|
direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
1677
1677
|
}>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
1678
|
-
type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1678
|
+
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>;
|
|
1679
1679
|
content: t.IntersectionC<[t.TypeC<{
|
|
1680
1680
|
text: t.StringC;
|
|
1681
1681
|
}>, t.PartialC<{
|
|
@@ -1684,13 +1684,13 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
|
|
|
1684
1684
|
} & {
|
|
1685
1685
|
start: number;
|
|
1686
1686
|
end: number;
|
|
1687
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1687
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1688
1688
|
})[], ({
|
|
1689
1689
|
data?: unknown;
|
|
1690
1690
|
} & {
|
|
1691
1691
|
start: number;
|
|
1692
1692
|
end: number;
|
|
1693
|
-
type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "
|
|
1693
|
+
type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
1694
1694
|
})[], unknown>;
|
|
1695
1695
|
}>]>;
|
|
1696
1696
|
}>, t.PartialC<{
|