@prismicio/types-internal 2.3.1 → 2.4.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/content/Document.d.ts +10952 -5168
- package/lib/content/fields/GroupContent.d.ts +1594 -337
- package/lib/content/fields/WidgetContent.d.ts +10285 -4501
- package/lib/content/fields/nestable/ImageContent.d.ts +723 -0
- package/lib/content/fields/nestable/ImageContent.js +2 -0
- package/lib/content/fields/nestable/NestableContent.d.ts +946 -223
- package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +370 -507
- package/lib/content/fields/nestable/RichTextContent/Blocks.js +6 -73
- package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +727 -0
- package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
- package/lib/content/fields/nestable/RichTextContent/index.d.ts +491 -186
- package/lib/content/fields/nestable/RichTextContent/index.js +1 -0
- package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1994 -548
- package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +638 -104
- package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1996 -550
- package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +2153 -707
- package/lib/content/fields/slices/Slice/index.d.ts +4949 -1745
- package/lib/content/fields/slices/SliceItem.d.ts +4841 -1637
- package/lib/content/fields/slices/SlicesContent.d.ts +7134 -2796
- package/lib/customtypes/CustomType.d.ts +14 -0
- package/lib/customtypes/Section.d.ts +14 -0
- package/lib/customtypes/diff/SharedSlice.d.ts +4 -0
- package/lib/customtypes/diff/Variation.d.ts +4 -0
- package/lib/customtypes/widgets/Group.d.ts +2 -0
- package/lib/customtypes/widgets/Widget.d.ts +16 -0
- package/lib/customtypes/widgets/nestable/Image.d.ts +2 -0
- package/lib/customtypes/widgets/nestable/Image.js +1 -0
- package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
- package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
- package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -0
- package/lib/customtypes/widgets/slices/Slices.d.ts +24 -0
- package/package.json +3 -3
- package/src/content/fields/nestable/ImageContent.ts +2 -0
- package/src/content/fields/nestable/RichTextContent/Blocks.ts +3 -101
- package/src/content/fields/nestable/RichTextContent/TextBlock.ts +118 -0
- package/src/content/fields/nestable/RichTextContent/index.ts +1 -0
- package/src/customtypes/widgets/nestable/Image.ts +1 -0
- package/lib/import/converters/Document.d.ts +0 -4
- package/lib/import/converters/Document.js +0 -21
- package/lib/import/converters/fields/Group.d.ts +0 -4
- package/lib/import/converters/fields/Group.js +0 -14
- package/lib/import/converters/fields/RepeatableZone.d.ts +0 -317
- package/lib/import/converters/fields/RepeatableZone.js +0 -15
- package/lib/import/converters/fields/RepeatableZoneItem.d.ts +0 -11
- package/lib/import/converters/fields/RepeatableZoneItem.js +0 -19
- package/lib/import/converters/fields/Slices/SharedSlice.d.ts +0 -4
- package/lib/import/converters/fields/Slices/SharedSlice.js +0 -19
- package/lib/import/converters/fields/Slices/SharedSliceContent.d.ts +0 -10
- package/lib/import/converters/fields/Slices/SharedSliceContent.js +0 -23
- package/lib/import/converters/fields/Slices/Slices.d.ts +0 -4
- package/lib/import/converters/fields/Slices/Slices.js +0 -16
- package/lib/import/converters/fields/Slices/index.d.ts +0 -1
- package/lib/import/converters/fields/Slices/index.js +0 -4
- package/lib/import/converters/fields/UID.d.ts +0 -3
- package/lib/import/converters/fields/UID.js +0 -10
- package/lib/import/converters/fields/index.d.ts +0 -4
- package/lib/import/converters/fields/index.js +0 -7
- package/lib/import/converters/fields/nestable/Boolean.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Boolean.js +0 -12
- package/lib/import/converters/fields/nestable/Color.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Color.js +0 -13
- package/lib/import/converters/fields/nestable/Date.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Date.js +0 -15
- package/lib/import/converters/fields/nestable/Embed.d.ts +0 -4
- package/lib/import/converters/fields/nestable/Embed.js +0 -32
- package/lib/import/converters/fields/nestable/GeoPoint.d.ts +0 -3
- package/lib/import/converters/fields/nestable/GeoPoint.js +0 -15
- package/lib/import/converters/fields/nestable/Image.d.ts +0 -28
- package/lib/import/converters/fields/nestable/Image.js +0 -67
- package/lib/import/converters/fields/nestable/Link.d.ts +0 -4
- package/lib/import/converters/fields/nestable/Link.js +0 -70
- package/lib/import/converters/fields/nestable/Nestable.d.ts +0 -5
- package/lib/import/converters/fields/nestable/Nestable.js +0 -35
- package/lib/import/converters/fields/nestable/Number.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Number.js +0 -13
- package/lib/import/converters/fields/nestable/RichText/embedBlock.d.ts +0 -4
- package/lib/import/converters/fields/nestable/RichText/embedBlock.js +0 -14
- package/lib/import/converters/fields/nestable/RichText/imageBlock.d.ts +0 -4
- package/lib/import/converters/fields/nestable/RichText/imageBlock.js +0 -12
- package/lib/import/converters/fields/nestable/RichText/index.d.ts +0 -4
- package/lib/import/converters/fields/nestable/RichText/index.js +0 -22
- package/lib/import/converters/fields/nestable/RichText/textBlock.d.ts +0 -4
- package/lib/import/converters/fields/nestable/RichText/textBlock.js +0 -54
- package/lib/import/converters/fields/nestable/Select.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Select.js +0 -13
- package/lib/import/converters/fields/nestable/Text.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Text.js +0 -13
- package/lib/import/converters/fields/nestable/Timestamp.d.ts +0 -3
- package/lib/import/converters/fields/nestable/Timestamp.js +0 -13
- package/lib/import/converters/fields/nestable/index.d.ts +0 -13
- package/lib/import/converters/fields/nestable/index.js +0 -16
- package/lib/import/converters/index.d.ts +0 -2
- package/lib/import/converters/index.js +0 -5
- package/lib/import/index.d.ts +0 -2
- package/lib/import/index.js +0 -5
- package/lib/import/validators/Document.d.ts +0 -6
- package/lib/import/validators/Document.js +0 -64
- package/lib/import/validators/fields/ImportContent.d.ts +0 -5
- package/lib/import/validators/fields/ImportContent.js +0 -21
- package/lib/import/validators/fields/ImportField.d.ts +0 -141
- package/lib/import/validators/fields/ImportField.js +0 -33
- package/lib/import/validators/fields/ImportGroup.d.ts +0 -345
- package/lib/import/validators/fields/ImportGroup.js +0 -27
- package/lib/import/validators/fields/ImportSlices/ImportSlices.d.ts +0 -8
- package/lib/import/validators/fields/ImportSlices/ImportSlices.js +0 -30
- package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.d.ts +0 -16
- package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.js +0 -61
- package/lib/import/validators/fields/ImportSlices/SharedSlice/errors.d.ts +0 -4
- package/lib/import/validators/fields/ImportSlices/SharedSlice/errors.js +0 -7
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/OptionalSharedSliceId.d.ts +0 -2
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/OptionalSharedSliceId.js +0 -15
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceId.d.ts +0 -9
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceId.js +0 -39
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceType.d.ts +0 -11
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceType.js +0 -24
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceVariation.d.ts +0 -11
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceVariation.js +0 -24
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.d.ts +0 -4
- package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.js +0 -7
- package/lib/import/validators/fields/ImportSlices/SharedSlice/index.d.ts +0 -3
- package/lib/import/validators/fields/ImportSlices/SharedSlice/index.js +0 -6
- package/lib/import/validators/fields/ImportSlices/SharedSlice/utils.d.ts +0 -342
- package/lib/import/validators/fields/ImportSlices/SharedSlice/utils.js +0 -11
- package/lib/import/validators/fields/ImportSlices/index.d.ts +0 -1
- package/lib/import/validators/fields/ImportSlices/index.js +0 -4
- package/lib/import/validators/fields/ImportSlices/utils.d.ts +0 -4
- package/lib/import/validators/fields/ImportSlices/utils.js +0 -35
- package/lib/import/validators/fields/RepeatableZone.d.ts +0 -11
- package/lib/import/validators/fields/RepeatableZone.js +0 -14
- package/lib/import/validators/fields/RepeatableZoneItem.d.ts +0 -11
- package/lib/import/validators/fields/RepeatableZoneItem.js +0 -39
- package/lib/import/validators/fields/UID.d.ts +0 -6
- package/lib/import/validators/fields/UID.js +0 -15
- package/lib/import/validators/fields/index.d.ts +0 -4
- package/lib/import/validators/fields/index.js +0 -7
- package/lib/import/validators/fields/nestable/Boolean.d.ts +0 -6
- package/lib/import/validators/fields/nestable/Boolean.js +0 -6
- package/lib/import/validators/fields/nestable/Color.d.ts +0 -6
- package/lib/import/validators/fields/nestable/Color.js +0 -15
- package/lib/import/validators/fields/nestable/Date.d.ts +0 -6
- package/lib/import/validators/fields/nestable/Date.js +0 -19
- package/lib/import/validators/fields/nestable/Embed.d.ts +0 -13
- package/lib/import/validators/fields/nestable/Embed.js +0 -31
- package/lib/import/validators/fields/nestable/GeoPoint.d.ts +0 -13
- package/lib/import/validators/fields/nestable/GeoPoint.js +0 -13
- package/lib/import/validators/fields/nestable/Image/default.d.ts +0 -22
- package/lib/import/validators/fields/nestable/Image/default.js +0 -19
- package/lib/import/validators/fields/nestable/Image/index.d.ts +0 -26
- package/lib/import/validators/fields/nestable/Image/index.js +0 -32
- package/lib/import/validators/fields/nestable/Image/merge.d.ts +0 -23
- package/lib/import/validators/fields/nestable/Image/merge.js +0 -44
- package/lib/import/validators/fields/nestable/Image/model.d.ts +0 -18
- package/lib/import/validators/fields/nestable/Image/model.js +0 -2
- package/lib/import/validators/fields/nestable/Image/validators.d.ts +0 -132
- package/lib/import/validators/fields/nestable/Image/validators.js +0 -43
- package/lib/import/validators/fields/nestable/ImportRichText/ImportBlock.d.ts +0 -6
- package/lib/import/validators/fields/nestable/ImportRichText/ImportBlock.js +0 -25
- package/lib/import/validators/fields/nestable/ImportRichText/ImportRichText.d.ts +0 -24
- package/lib/import/validators/fields/nestable/ImportRichText/ImportRichText.js +0 -32
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportBlockType.d.ts +0 -6
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportBlockType.js +0 -18
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportEmbedBlock.d.ts +0 -10
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportEmbedBlock.js +0 -11
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportImageBlock.d.ts +0 -22
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportImageBlock.js +0 -13
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportTextBlock.d.ts +0 -78
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportTextBlock.js +0 -43
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.d.ts +0 -79
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.js +0 -27
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/index.d.ts +0 -4
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/index.js +0 -7
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/HyperlinkSpan.d.ts +0 -24
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/HyperlinkSpan.js +0 -18
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.d.ts +0 -12
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.js +0 -16
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/SpanLocation.d.ts +0 -5
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/SpanLocation.js +0 -10
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.d.ts +0 -15
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.js +0 -20
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/index.d.ts +0 -2
- package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/index.js +0 -5
- package/lib/import/validators/fields/nestable/ImportRichText/index.d.ts +0 -2
- package/lib/import/validators/fields/nestable/ImportRichText/index.js +0 -7
- package/lib/import/validators/fields/nestable/Link.d.ts +0 -53
- package/lib/import/validators/fields/nestable/Link.js +0 -35
- package/lib/import/validators/fields/nestable/Nestable.d.ts +0 -192
- package/lib/import/validators/fields/nestable/Nestable.js +0 -71
- package/lib/import/validators/fields/nestable/Number.d.ts +0 -17
- package/lib/import/validators/fields/nestable/Number.js +0 -17
- package/lib/import/validators/fields/nestable/Select.d.ts +0 -16
- package/lib/import/validators/fields/nestable/Select.js +0 -19
- package/lib/import/validators/fields/nestable/Text.d.ts +0 -6
- package/lib/import/validators/fields/nestable/Text.js +0 -6
- package/lib/import/validators/fields/nestable/Timestamp.d.ts +0 -7
- package/lib/import/validators/fields/nestable/Timestamp.js +0 -19
- package/lib/import/validators/fields/nestable/index.d.ts +0 -14
- package/lib/import/validators/fields/nestable/index.js +0 -19
- package/lib/import/validators/index.d.ts +0 -2
- package/lib/import/validators/index.js +0 -5
|
@@ -4,6 +4,68 @@ export declare const RichTextContentType = "StructuredTextContent";
|
|
|
4
4
|
export declare const isRichTextContent: (u: unknown) => u is {
|
|
5
5
|
__TYPE__: "StructuredTextContent";
|
|
6
6
|
value: (({
|
|
7
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
8
|
+
content: {
|
|
9
|
+
text: string;
|
|
10
|
+
} & {
|
|
11
|
+
spans?: ({
|
|
12
|
+
data: ({
|
|
13
|
+
__TYPE__: "ImageLink";
|
|
14
|
+
} & {
|
|
15
|
+
id: string;
|
|
16
|
+
url: string;
|
|
17
|
+
height: string;
|
|
18
|
+
width: string;
|
|
19
|
+
size: string;
|
|
20
|
+
name: string;
|
|
21
|
+
kind: string;
|
|
22
|
+
} & {
|
|
23
|
+
date?: string | null | undefined;
|
|
24
|
+
}) | ({
|
|
25
|
+
id: string;
|
|
26
|
+
url: string;
|
|
27
|
+
name: string;
|
|
28
|
+
kind: string;
|
|
29
|
+
size: string;
|
|
30
|
+
} & {
|
|
31
|
+
date?: string | null | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
__TYPE__: "FileLink";
|
|
34
|
+
} & {
|
|
35
|
+
size?: string;
|
|
36
|
+
}) | ({
|
|
37
|
+
__TYPE__: "DocumentLink";
|
|
38
|
+
} & {
|
|
39
|
+
id: string;
|
|
40
|
+
}) | ({
|
|
41
|
+
__TYPE__: "ExternalLink";
|
|
42
|
+
} & {
|
|
43
|
+
url: string;
|
|
44
|
+
} & {
|
|
45
|
+
kind?: "web";
|
|
46
|
+
target?: string | null | undefined;
|
|
47
|
+
preview?: {
|
|
48
|
+
title?: string;
|
|
49
|
+
} | null | undefined;
|
|
50
|
+
});
|
|
51
|
+
start: number;
|
|
52
|
+
end: number;
|
|
53
|
+
type: "hyperlink";
|
|
54
|
+
} | {
|
|
55
|
+
data: string;
|
|
56
|
+
start: number;
|
|
57
|
+
end: number;
|
|
58
|
+
type: "label";
|
|
59
|
+
} | {
|
|
60
|
+
start: number;
|
|
61
|
+
end: number;
|
|
62
|
+
type: "strong" | "em" | "list-item";
|
|
63
|
+
})[];
|
|
64
|
+
};
|
|
65
|
+
} & {
|
|
66
|
+
label?: string;
|
|
67
|
+
direction?: string;
|
|
68
|
+
}) | ({
|
|
7
69
|
type: "image";
|
|
8
70
|
data: {
|
|
9
71
|
origin: {
|
|
@@ -27,6 +89,69 @@ export declare const isRichTextContent: (u: unknown) => u is {
|
|
|
27
89
|
credits?: string | null;
|
|
28
90
|
alt?: string | null;
|
|
29
91
|
provider?: string | null | undefined;
|
|
92
|
+
caption?: ({
|
|
93
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
94
|
+
content: {
|
|
95
|
+
text: string;
|
|
96
|
+
} & {
|
|
97
|
+
spans?: ({
|
|
98
|
+
data: ({
|
|
99
|
+
__TYPE__: "ImageLink";
|
|
100
|
+
} & {
|
|
101
|
+
id: string;
|
|
102
|
+
url: string;
|
|
103
|
+
height: string;
|
|
104
|
+
width: string;
|
|
105
|
+
size: string;
|
|
106
|
+
name: string;
|
|
107
|
+
kind: string;
|
|
108
|
+
} & {
|
|
109
|
+
date?: string | null | undefined;
|
|
110
|
+
}) | ({
|
|
111
|
+
id: string;
|
|
112
|
+
url: string;
|
|
113
|
+
name: string;
|
|
114
|
+
kind: string;
|
|
115
|
+
size: string;
|
|
116
|
+
} & {
|
|
117
|
+
date?: string | null | undefined;
|
|
118
|
+
} & {
|
|
119
|
+
__TYPE__: "FileLink";
|
|
120
|
+
} & {
|
|
121
|
+
size?: string;
|
|
122
|
+
}) | ({
|
|
123
|
+
__TYPE__: "DocumentLink";
|
|
124
|
+
} & {
|
|
125
|
+
id: string;
|
|
126
|
+
}) | ({
|
|
127
|
+
__TYPE__: "ExternalLink";
|
|
128
|
+
} & {
|
|
129
|
+
url: string;
|
|
130
|
+
} & {
|
|
131
|
+
kind?: "web";
|
|
132
|
+
target?: string | null | undefined;
|
|
133
|
+
preview?: {
|
|
134
|
+
title?: string;
|
|
135
|
+
} | null | undefined;
|
|
136
|
+
});
|
|
137
|
+
start: number;
|
|
138
|
+
end: number;
|
|
139
|
+
type: "hyperlink";
|
|
140
|
+
} | {
|
|
141
|
+
data: string;
|
|
142
|
+
start: number;
|
|
143
|
+
end: number;
|
|
144
|
+
type: "label";
|
|
145
|
+
} | {
|
|
146
|
+
start: number;
|
|
147
|
+
end: number;
|
|
148
|
+
type: "strong" | "em" | "list-item";
|
|
149
|
+
})[];
|
|
150
|
+
};
|
|
151
|
+
} & {
|
|
152
|
+
label?: string;
|
|
153
|
+
direction?: string;
|
|
154
|
+
})[];
|
|
30
155
|
} & {
|
|
31
156
|
linkTo?: ({
|
|
32
157
|
__TYPE__: "ImageLink";
|
|
@@ -95,68 +220,6 @@ export declare const isRichTextContent: (u: unknown) => u is {
|
|
|
95
220
|
} & {
|
|
96
221
|
label?: string | null | undefined;
|
|
97
222
|
direction?: string | null | undefined;
|
|
98
|
-
}) | ({
|
|
99
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
100
|
-
content: {
|
|
101
|
-
text: string;
|
|
102
|
-
} & {
|
|
103
|
-
spans?: ({
|
|
104
|
-
data: ({
|
|
105
|
-
__TYPE__: "ImageLink";
|
|
106
|
-
} & {
|
|
107
|
-
id: string;
|
|
108
|
-
url: string;
|
|
109
|
-
height: string;
|
|
110
|
-
width: string;
|
|
111
|
-
size: string;
|
|
112
|
-
name: string;
|
|
113
|
-
kind: string;
|
|
114
|
-
} & {
|
|
115
|
-
date?: string | null | undefined;
|
|
116
|
-
}) | ({
|
|
117
|
-
id: string;
|
|
118
|
-
url: string;
|
|
119
|
-
name: string;
|
|
120
|
-
kind: string;
|
|
121
|
-
size: string;
|
|
122
|
-
} & {
|
|
123
|
-
date?: string | null | undefined;
|
|
124
|
-
} & {
|
|
125
|
-
__TYPE__: "FileLink";
|
|
126
|
-
} & {
|
|
127
|
-
size?: string;
|
|
128
|
-
}) | ({
|
|
129
|
-
__TYPE__: "DocumentLink";
|
|
130
|
-
} & {
|
|
131
|
-
id: string;
|
|
132
|
-
}) | ({
|
|
133
|
-
__TYPE__: "ExternalLink";
|
|
134
|
-
} & {
|
|
135
|
-
url: string;
|
|
136
|
-
} & {
|
|
137
|
-
kind?: "web";
|
|
138
|
-
target?: string | null | undefined;
|
|
139
|
-
preview?: {
|
|
140
|
-
title?: string;
|
|
141
|
-
} | null | undefined;
|
|
142
|
-
});
|
|
143
|
-
start: number;
|
|
144
|
-
end: number;
|
|
145
|
-
type: "hyperlink";
|
|
146
|
-
} | {
|
|
147
|
-
data: string;
|
|
148
|
-
start: number;
|
|
149
|
-
end: number;
|
|
150
|
-
type: "label";
|
|
151
|
-
} | {
|
|
152
|
-
start: number;
|
|
153
|
-
end: number;
|
|
154
|
-
type: "strong" | "em" | "list-item";
|
|
155
|
-
})[];
|
|
156
|
-
};
|
|
157
|
-
} & {
|
|
158
|
-
label?: string;
|
|
159
|
-
direction?: string;
|
|
160
223
|
}))[];
|
|
161
224
|
};
|
|
162
225
|
export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
@@ -185,6 +248,121 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
185
248
|
credits: t.Type<string | null, string | null, unknown>;
|
|
186
249
|
alt: t.Type<string | null, string | null, unknown>;
|
|
187
250
|
provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
|
|
251
|
+
caption: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
|
|
252
|
+
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>;
|
|
253
|
+
content: t.IntersectionC<[t.TypeC<{
|
|
254
|
+
text: t.StringC;
|
|
255
|
+
}>, t.PartialC<{
|
|
256
|
+
spans: t.Type<({
|
|
257
|
+
data: ({
|
|
258
|
+
__TYPE__: "ImageLink";
|
|
259
|
+
} & {
|
|
260
|
+
id: string;
|
|
261
|
+
url: string;
|
|
262
|
+
height: string;
|
|
263
|
+
width: string;
|
|
264
|
+
size: string;
|
|
265
|
+
name: string;
|
|
266
|
+
kind: string;
|
|
267
|
+
} & {
|
|
268
|
+
date?: string | null | undefined;
|
|
269
|
+
}) | ({
|
|
270
|
+
id: string;
|
|
271
|
+
url: string;
|
|
272
|
+
name: string;
|
|
273
|
+
kind: string;
|
|
274
|
+
size: string;
|
|
275
|
+
} & {
|
|
276
|
+
date?: string | null | undefined;
|
|
277
|
+
} & {
|
|
278
|
+
__TYPE__: "FileLink";
|
|
279
|
+
} & {
|
|
280
|
+
size?: string;
|
|
281
|
+
}) | ({
|
|
282
|
+
__TYPE__: "DocumentLink";
|
|
283
|
+
} & {
|
|
284
|
+
id: string;
|
|
285
|
+
}) | ({
|
|
286
|
+
__TYPE__: "ExternalLink";
|
|
287
|
+
} & {
|
|
288
|
+
url: string;
|
|
289
|
+
} & {
|
|
290
|
+
kind?: "web";
|
|
291
|
+
target?: string | null | undefined;
|
|
292
|
+
preview?: {
|
|
293
|
+
title?: string;
|
|
294
|
+
} | null | undefined;
|
|
295
|
+
});
|
|
296
|
+
start: number;
|
|
297
|
+
end: number;
|
|
298
|
+
type: "hyperlink";
|
|
299
|
+
} | {
|
|
300
|
+
data: string;
|
|
301
|
+
start: number;
|
|
302
|
+
end: number;
|
|
303
|
+
type: "label";
|
|
304
|
+
} | {
|
|
305
|
+
start: number;
|
|
306
|
+
end: number;
|
|
307
|
+
type: "strong" | "em" | "list-item";
|
|
308
|
+
})[], ({
|
|
309
|
+
data: ({
|
|
310
|
+
__TYPE__: "ImageLink";
|
|
311
|
+
} & {
|
|
312
|
+
id: string;
|
|
313
|
+
url: string;
|
|
314
|
+
height: string;
|
|
315
|
+
width: string;
|
|
316
|
+
size: string;
|
|
317
|
+
name: string;
|
|
318
|
+
kind: string;
|
|
319
|
+
} & {
|
|
320
|
+
date?: string | null | undefined;
|
|
321
|
+
}) | ({
|
|
322
|
+
id: string;
|
|
323
|
+
url: string;
|
|
324
|
+
name: string;
|
|
325
|
+
kind: string;
|
|
326
|
+
size: string;
|
|
327
|
+
} & {
|
|
328
|
+
date?: string | null | undefined;
|
|
329
|
+
} & {
|
|
330
|
+
__TYPE__: "FileLink";
|
|
331
|
+
} & {
|
|
332
|
+
size?: string;
|
|
333
|
+
}) | ({
|
|
334
|
+
__TYPE__: "DocumentLink";
|
|
335
|
+
} & {
|
|
336
|
+
id: string;
|
|
337
|
+
}) | ({
|
|
338
|
+
__TYPE__: "ExternalLink";
|
|
339
|
+
} & {
|
|
340
|
+
url: string;
|
|
341
|
+
} & {
|
|
342
|
+
kind?: "web";
|
|
343
|
+
target?: string | null | undefined;
|
|
344
|
+
preview?: {
|
|
345
|
+
title?: string;
|
|
346
|
+
} | null | undefined;
|
|
347
|
+
});
|
|
348
|
+
start: number;
|
|
349
|
+
end: number;
|
|
350
|
+
type: "hyperlink";
|
|
351
|
+
} | {
|
|
352
|
+
data: string;
|
|
353
|
+
start: number;
|
|
354
|
+
end: number;
|
|
355
|
+
type: "label";
|
|
356
|
+
} | {
|
|
357
|
+
start: number;
|
|
358
|
+
end: number;
|
|
359
|
+
type: "strong" | "em" | "list-item";
|
|
360
|
+
})[], unknown>;
|
|
361
|
+
}>]>;
|
|
362
|
+
}>, t.PartialC<{
|
|
363
|
+
label: t.StringC;
|
|
364
|
+
direction: t.StringC;
|
|
365
|
+
}>]>>>;
|
|
188
366
|
}>]>>, t.PartialC<{
|
|
189
367
|
linkTo: t.UnionC<[t.Type<({
|
|
190
368
|
__TYPE__: "ImageLink";
|
|
@@ -399,9 +577,72 @@ export declare const RichTextContent: t.ExactC<t.TypeC<{
|
|
|
399
577
|
}>>;
|
|
400
578
|
export declare type RichTextContent = t.TypeOf<typeof RichTextContent>;
|
|
401
579
|
export * from "./Blocks";
|
|
580
|
+
export * from "./TextBlock";
|
|
402
581
|
export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
403
582
|
__TYPE__: "StructuredTextContent";
|
|
404
583
|
value: (({
|
|
584
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
585
|
+
content: {
|
|
586
|
+
text: string;
|
|
587
|
+
} & {
|
|
588
|
+
spans?: ({
|
|
589
|
+
data: ({
|
|
590
|
+
__TYPE__: "ImageLink";
|
|
591
|
+
} & {
|
|
592
|
+
id: string;
|
|
593
|
+
url: string;
|
|
594
|
+
height: string;
|
|
595
|
+
width: string;
|
|
596
|
+
size: string;
|
|
597
|
+
name: string;
|
|
598
|
+
kind: string;
|
|
599
|
+
} & {
|
|
600
|
+
date?: string | null | undefined;
|
|
601
|
+
}) | ({
|
|
602
|
+
id: string;
|
|
603
|
+
url: string;
|
|
604
|
+
name: string;
|
|
605
|
+
kind: string;
|
|
606
|
+
size: string;
|
|
607
|
+
} & {
|
|
608
|
+
date?: string | null | undefined;
|
|
609
|
+
} & {
|
|
610
|
+
__TYPE__: "FileLink";
|
|
611
|
+
} & {
|
|
612
|
+
size?: string;
|
|
613
|
+
}) | ({
|
|
614
|
+
__TYPE__: "DocumentLink";
|
|
615
|
+
} & {
|
|
616
|
+
id: string;
|
|
617
|
+
}) | ({
|
|
618
|
+
__TYPE__: "ExternalLink";
|
|
619
|
+
} & {
|
|
620
|
+
url: string;
|
|
621
|
+
} & {
|
|
622
|
+
kind?: "web";
|
|
623
|
+
target?: string | null | undefined;
|
|
624
|
+
preview?: {
|
|
625
|
+
title?: string;
|
|
626
|
+
} | null | undefined;
|
|
627
|
+
});
|
|
628
|
+
start: number;
|
|
629
|
+
end: number;
|
|
630
|
+
type: "hyperlink";
|
|
631
|
+
} | {
|
|
632
|
+
data: string;
|
|
633
|
+
start: number;
|
|
634
|
+
end: number;
|
|
635
|
+
type: "label";
|
|
636
|
+
} | {
|
|
637
|
+
start: number;
|
|
638
|
+
end: number;
|
|
639
|
+
type: "strong" | "em" | "list-item";
|
|
640
|
+
})[];
|
|
641
|
+
};
|
|
642
|
+
} & {
|
|
643
|
+
label?: string;
|
|
644
|
+
direction?: string;
|
|
645
|
+
}) | ({
|
|
405
646
|
type: "image";
|
|
406
647
|
data: {
|
|
407
648
|
origin: {
|
|
@@ -425,6 +666,69 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
425
666
|
credits?: string | null;
|
|
426
667
|
alt?: string | null;
|
|
427
668
|
provider?: string | null | undefined;
|
|
669
|
+
caption?: ({
|
|
670
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
671
|
+
content: {
|
|
672
|
+
text: string;
|
|
673
|
+
} & {
|
|
674
|
+
spans?: ({
|
|
675
|
+
data: ({
|
|
676
|
+
__TYPE__: "ImageLink";
|
|
677
|
+
} & {
|
|
678
|
+
id: string;
|
|
679
|
+
url: string;
|
|
680
|
+
height: string;
|
|
681
|
+
width: string;
|
|
682
|
+
size: string;
|
|
683
|
+
name: string;
|
|
684
|
+
kind: string;
|
|
685
|
+
} & {
|
|
686
|
+
date?: string | null | undefined;
|
|
687
|
+
}) | ({
|
|
688
|
+
id: string;
|
|
689
|
+
url: string;
|
|
690
|
+
name: string;
|
|
691
|
+
kind: string;
|
|
692
|
+
size: string;
|
|
693
|
+
} & {
|
|
694
|
+
date?: string | null | undefined;
|
|
695
|
+
} & {
|
|
696
|
+
__TYPE__: "FileLink";
|
|
697
|
+
} & {
|
|
698
|
+
size?: string;
|
|
699
|
+
}) | ({
|
|
700
|
+
__TYPE__: "DocumentLink";
|
|
701
|
+
} & {
|
|
702
|
+
id: string;
|
|
703
|
+
}) | ({
|
|
704
|
+
__TYPE__: "ExternalLink";
|
|
705
|
+
} & {
|
|
706
|
+
url: string;
|
|
707
|
+
} & {
|
|
708
|
+
kind?: "web";
|
|
709
|
+
target?: string | null | undefined;
|
|
710
|
+
preview?: {
|
|
711
|
+
title?: string;
|
|
712
|
+
} | null | undefined;
|
|
713
|
+
});
|
|
714
|
+
start: number;
|
|
715
|
+
end: number;
|
|
716
|
+
type: "hyperlink";
|
|
717
|
+
} | {
|
|
718
|
+
data: string;
|
|
719
|
+
start: number;
|
|
720
|
+
end: number;
|
|
721
|
+
type: "label";
|
|
722
|
+
} | {
|
|
723
|
+
start: number;
|
|
724
|
+
end: number;
|
|
725
|
+
type: "strong" | "em" | "list-item";
|
|
726
|
+
})[];
|
|
727
|
+
};
|
|
728
|
+
} & {
|
|
729
|
+
label?: string;
|
|
730
|
+
direction?: string;
|
|
731
|
+
})[];
|
|
428
732
|
} & {
|
|
429
733
|
linkTo?: ({
|
|
430
734
|
__TYPE__: "ImageLink";
|
|
@@ -493,70 +797,70 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
493
797
|
} & {
|
|
494
798
|
label?: string | null | undefined;
|
|
495
799
|
direction?: string | null | undefined;
|
|
496
|
-
}) | ({
|
|
497
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
498
|
-
content: {
|
|
499
|
-
text: string;
|
|
500
|
-
} & {
|
|
501
|
-
spans?: ({
|
|
502
|
-
data: ({
|
|
503
|
-
__TYPE__: "ImageLink";
|
|
504
|
-
} & {
|
|
505
|
-
id: string;
|
|
506
|
-
url: string;
|
|
507
|
-
height: string;
|
|
508
|
-
width: string;
|
|
509
|
-
size: string;
|
|
510
|
-
name: string;
|
|
511
|
-
kind: string;
|
|
512
|
-
} & {
|
|
513
|
-
date?: string | null | undefined;
|
|
514
|
-
}) | ({
|
|
515
|
-
id: string;
|
|
516
|
-
url: string;
|
|
517
|
-
name: string;
|
|
518
|
-
kind: string;
|
|
519
|
-
size: string;
|
|
520
|
-
} & {
|
|
521
|
-
date?: string | null | undefined;
|
|
522
|
-
} & {
|
|
523
|
-
__TYPE__: "FileLink";
|
|
524
|
-
} & {
|
|
525
|
-
size?: string;
|
|
526
|
-
}) | ({
|
|
527
|
-
__TYPE__: "DocumentLink";
|
|
528
|
-
} & {
|
|
529
|
-
id: string;
|
|
530
|
-
}) | ({
|
|
531
|
-
__TYPE__: "ExternalLink";
|
|
532
|
-
} & {
|
|
533
|
-
url: string;
|
|
534
|
-
} & {
|
|
535
|
-
kind?: "web";
|
|
536
|
-
target?: string | null | undefined;
|
|
537
|
-
preview?: {
|
|
538
|
-
title?: string;
|
|
539
|
-
} | null | undefined;
|
|
540
|
-
});
|
|
541
|
-
start: number;
|
|
542
|
-
end: number;
|
|
543
|
-
type: "hyperlink";
|
|
544
|
-
} | {
|
|
545
|
-
data: string;
|
|
546
|
-
start: number;
|
|
547
|
-
end: number;
|
|
548
|
-
type: "label";
|
|
549
|
-
} | {
|
|
550
|
-
start: number;
|
|
551
|
-
end: number;
|
|
552
|
-
type: "strong" | "em" | "list-item";
|
|
553
|
-
})[];
|
|
554
|
-
};
|
|
555
|
-
} & {
|
|
556
|
-
label?: string;
|
|
557
|
-
direction?: string;
|
|
558
800
|
}))[];
|
|
559
801
|
}, WithTypes<(({
|
|
802
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
803
|
+
content: {
|
|
804
|
+
text: string;
|
|
805
|
+
} & {
|
|
806
|
+
spans?: ({
|
|
807
|
+
data: ({
|
|
808
|
+
__TYPE__: "ImageLink";
|
|
809
|
+
} & {
|
|
810
|
+
id: string;
|
|
811
|
+
url: string;
|
|
812
|
+
height: string;
|
|
813
|
+
width: string;
|
|
814
|
+
size: string;
|
|
815
|
+
name: string;
|
|
816
|
+
kind: string;
|
|
817
|
+
} & {
|
|
818
|
+
date?: string | null | undefined;
|
|
819
|
+
}) | ({
|
|
820
|
+
id: string;
|
|
821
|
+
url: string;
|
|
822
|
+
name: string;
|
|
823
|
+
kind: string;
|
|
824
|
+
size: string;
|
|
825
|
+
} & {
|
|
826
|
+
date?: string | null | undefined;
|
|
827
|
+
} & {
|
|
828
|
+
__TYPE__: "FileLink";
|
|
829
|
+
} & {
|
|
830
|
+
size?: string;
|
|
831
|
+
}) | ({
|
|
832
|
+
__TYPE__: "DocumentLink";
|
|
833
|
+
} & {
|
|
834
|
+
id: string;
|
|
835
|
+
}) | ({
|
|
836
|
+
__TYPE__: "ExternalLink";
|
|
837
|
+
} & {
|
|
838
|
+
url: string;
|
|
839
|
+
} & {
|
|
840
|
+
kind?: "web";
|
|
841
|
+
target?: string | null | undefined;
|
|
842
|
+
preview?: {
|
|
843
|
+
title?: string;
|
|
844
|
+
} | null | undefined;
|
|
845
|
+
});
|
|
846
|
+
start: number;
|
|
847
|
+
end: number;
|
|
848
|
+
type: "hyperlink";
|
|
849
|
+
} | {
|
|
850
|
+
data: string;
|
|
851
|
+
start: number;
|
|
852
|
+
end: number;
|
|
853
|
+
type: "label";
|
|
854
|
+
} | {
|
|
855
|
+
start: number;
|
|
856
|
+
end: number;
|
|
857
|
+
type: "strong" | "em" | "list-item";
|
|
858
|
+
})[];
|
|
859
|
+
};
|
|
860
|
+
} & {
|
|
861
|
+
label?: string;
|
|
862
|
+
direction?: string;
|
|
863
|
+
}) | ({
|
|
560
864
|
type: "image";
|
|
561
865
|
data: {
|
|
562
866
|
origin: {
|
|
@@ -580,6 +884,69 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
580
884
|
credits?: string | null;
|
|
581
885
|
alt?: string | null;
|
|
582
886
|
provider?: string | null | undefined;
|
|
887
|
+
caption?: ({
|
|
888
|
+
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
889
|
+
content: {
|
|
890
|
+
text: string;
|
|
891
|
+
} & {
|
|
892
|
+
spans?: ({
|
|
893
|
+
data: ({
|
|
894
|
+
__TYPE__: "ImageLink";
|
|
895
|
+
} & {
|
|
896
|
+
id: string;
|
|
897
|
+
url: string;
|
|
898
|
+
height: string;
|
|
899
|
+
width: string;
|
|
900
|
+
size: string;
|
|
901
|
+
name: string;
|
|
902
|
+
kind: string;
|
|
903
|
+
} & {
|
|
904
|
+
date?: string | null | undefined;
|
|
905
|
+
}) | ({
|
|
906
|
+
id: string;
|
|
907
|
+
url: string;
|
|
908
|
+
name: string;
|
|
909
|
+
kind: string;
|
|
910
|
+
size: string;
|
|
911
|
+
} & {
|
|
912
|
+
date?: string | null | undefined;
|
|
913
|
+
} & {
|
|
914
|
+
__TYPE__: "FileLink";
|
|
915
|
+
} & {
|
|
916
|
+
size?: string;
|
|
917
|
+
}) | ({
|
|
918
|
+
__TYPE__: "DocumentLink";
|
|
919
|
+
} & {
|
|
920
|
+
id: string;
|
|
921
|
+
}) | ({
|
|
922
|
+
__TYPE__: "ExternalLink";
|
|
923
|
+
} & {
|
|
924
|
+
url: string;
|
|
925
|
+
} & {
|
|
926
|
+
kind?: "web";
|
|
927
|
+
target?: string | null | undefined;
|
|
928
|
+
preview?: {
|
|
929
|
+
title?: string;
|
|
930
|
+
} | null | undefined;
|
|
931
|
+
});
|
|
932
|
+
start: number;
|
|
933
|
+
end: number;
|
|
934
|
+
type: "hyperlink";
|
|
935
|
+
} | {
|
|
936
|
+
data: string;
|
|
937
|
+
start: number;
|
|
938
|
+
end: number;
|
|
939
|
+
type: "label";
|
|
940
|
+
} | {
|
|
941
|
+
start: number;
|
|
942
|
+
end: number;
|
|
943
|
+
type: "strong" | "em" | "list-item";
|
|
944
|
+
})[];
|
|
945
|
+
};
|
|
946
|
+
} & {
|
|
947
|
+
label?: string;
|
|
948
|
+
direction?: string;
|
|
949
|
+
})[];
|
|
583
950
|
} & {
|
|
584
951
|
linkTo?: ({
|
|
585
952
|
__TYPE__: "ImageLink";
|
|
@@ -648,66 +1015,4 @@ export declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<{
|
|
|
648
1015
|
} & {
|
|
649
1016
|
label?: string | null | undefined;
|
|
650
1017
|
direction?: string | null | undefined;
|
|
651
|
-
}) | ({
|
|
652
|
-
type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
|
|
653
|
-
content: {
|
|
654
|
-
text: string;
|
|
655
|
-
} & {
|
|
656
|
-
spans?: ({
|
|
657
|
-
data: ({
|
|
658
|
-
__TYPE__: "ImageLink";
|
|
659
|
-
} & {
|
|
660
|
-
id: string;
|
|
661
|
-
url: string;
|
|
662
|
-
height: string;
|
|
663
|
-
width: string;
|
|
664
|
-
size: string;
|
|
665
|
-
name: string;
|
|
666
|
-
kind: string;
|
|
667
|
-
} & {
|
|
668
|
-
date?: string | null | undefined;
|
|
669
|
-
}) | ({
|
|
670
|
-
id: string;
|
|
671
|
-
url: string;
|
|
672
|
-
name: string;
|
|
673
|
-
kind: string;
|
|
674
|
-
size: string;
|
|
675
|
-
} & {
|
|
676
|
-
date?: string | null | undefined;
|
|
677
|
-
} & {
|
|
678
|
-
__TYPE__: "FileLink";
|
|
679
|
-
} & {
|
|
680
|
-
size?: string;
|
|
681
|
-
}) | ({
|
|
682
|
-
__TYPE__: "DocumentLink";
|
|
683
|
-
} & {
|
|
684
|
-
id: string;
|
|
685
|
-
}) | ({
|
|
686
|
-
__TYPE__: "ExternalLink";
|
|
687
|
-
} & {
|
|
688
|
-
url: string;
|
|
689
|
-
} & {
|
|
690
|
-
kind?: "web";
|
|
691
|
-
target?: string | null | undefined;
|
|
692
|
-
preview?: {
|
|
693
|
-
title?: string;
|
|
694
|
-
} | null | undefined;
|
|
695
|
-
});
|
|
696
|
-
start: number;
|
|
697
|
-
end: number;
|
|
698
|
-
type: "hyperlink";
|
|
699
|
-
} | {
|
|
700
|
-
data: string;
|
|
701
|
-
start: number;
|
|
702
|
-
end: number;
|
|
703
|
-
type: "label";
|
|
704
|
-
} | {
|
|
705
|
-
start: number;
|
|
706
|
-
end: number;
|
|
707
|
-
type: "strong" | "em" | "list-item";
|
|
708
|
-
})[];
|
|
709
|
-
};
|
|
710
|
-
} & {
|
|
711
|
-
label?: string;
|
|
712
|
-
direction?: string;
|
|
713
1018
|
}))[]>, unknown>;
|