@atlaskit/adf-schema 52.7.1 → 52.9.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/CHANGELOG.md +18 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +56 -27
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/marks/fontSize.js +1 -2
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +65 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +3 -14
- package/dist/cjs/schema/createPMSpecFactory.js +4 -0
- package/dist/cjs/schema/default-schema.js +3 -6
- package/dist/cjs/schema/index.js +6 -0
- package/dist/cjs/schema/nodes/code-block.js +110 -2
- package/dist/cjs/schema/nodes/index.js +6 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +867 -822
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +55 -26
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/marks/fontSize.js +1 -2
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +65 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +3 -14
- package/dist/es2019/schema/createPMSpecFactory.js +4 -0
- package/dist/es2019/schema/default-schema.js +4 -7
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/code-block.js +107 -3
- package/dist/es2019/schema/nodes/index.js +1 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +866 -821
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/full-schema.adf.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +55 -26
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/marks/fontSize.js +1 -2
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +65 -0
- package/dist/esm/next-schema/nodes/paragraph.js +3 -14
- package/dist/esm/schema/createPMSpecFactory.js +4 -0
- package/dist/esm/schema/default-schema.js +4 -7
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/code-block.js +109 -2
- package/dist/esm/schema/nodes/index.js +1 -1
- package/dist/esm/validator-schema/generated/validatorSpec.js +866 -821
- package/dist/json-schema/v1/full.json +73 -2
- package/dist/json-schema/v1/stage-0.json +107 -67
- package/dist/types/index.d.ts +1 -1
- package/dist/types/next-schema/generated/markTypes.d.ts +22 -21
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +128 -118
- package/dist/types/next-schema/nodes/codeBlock.d.ts +3 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types/schema/createPMSpecFactory.d.ts +4 -0
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/code-block.d.ts +10 -0
- package/dist/types/schema/nodes/index.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +697 -652
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +22 -21
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +128 -118
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +3 -1
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +1 -14
- package/dist/types-ts4.5/schema/createPMSpecFactory.d.ts +4 -0
- package/dist/types-ts4.5/schema/index.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +10 -0
- package/dist/types-ts4.5/schema/nodes/index.d.ts +1 -1
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +697 -652
- package/json-schema/v1/full.json +73 -2
- package/json-schema/v1/stage-0.json +107 -67
- package/package.json +2 -2
- package/schema-generators/validator-full-schema.ts +59 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source files in "packages/adf-schema/src/next-schema" ,
|
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:schema:all" to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
+
import { type PMNodeSpecFactoryInstance } from '../../schema/createPMSpecFactory';
|
|
6
7
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
7
8
|
import type { InlineDefinition, BlockDefinition, BlockRootOnlyDefinition } from './nodeGroupTypes';
|
|
8
9
|
import type { AlignmentMark, AnnotationMark, BackgroundColorMark, BorderMark, BreakoutMark, CodeMark, ConfluenceInlineCommentMark, DataConsumerMark, EmMark, FontSizeMark, FragmentMark, IndentationMark, LinkMark, StrikeMark, StrongMark, SubsupMark, TextColorMark, TypeAheadQueryMark, UnderlineMark, UnsupportedMarkMark, UnsupportedNodeAttributeMark } from './markTypes';
|
|
@@ -27,7 +28,7 @@ export interface BlockCardDefinition {
|
|
|
27
28
|
attrs: BlockCardNodeAttributes0 | BlockCardNodeAttributes1 | BlockCardNodeAttributes2;
|
|
28
29
|
}
|
|
29
30
|
export type BlockCardNode = PMNode & BlockCardDefinition;
|
|
30
|
-
export declare const blockCard:
|
|
31
|
+
export declare const blockCard: PMNodeSpecFactoryInstance<BlockCardNode>;
|
|
31
32
|
export interface BlockquoteDefinition {
|
|
32
33
|
type: 'blockquote';
|
|
33
34
|
content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
|
|
@@ -37,7 +38,7 @@ export interface BlockquoteDefinition {
|
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
export type BlockquoteNode = PMNode & BlockquoteDefinition;
|
|
40
|
-
export declare const blockquote:
|
|
41
|
+
export declare const blockquote: PMNodeSpecFactoryInstance<BlockquoteNode>;
|
|
41
42
|
export interface BlockquoteLegacyDefinition {
|
|
42
43
|
type: 'blockquote';
|
|
43
44
|
content: Array<ParagraphDefinition | UnsupportedBlockDefinition>;
|
|
@@ -47,10 +48,10 @@ export interface BlockquoteLegacyDefinition {
|
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
export type BlockquoteLegacyNode = PMNode & BlockquoteLegacyDefinition;
|
|
50
|
-
export declare const blockquoteLegacy:
|
|
51
|
+
export declare const blockquoteLegacy: PMNodeSpecFactoryInstance<BlockquoteLegacyNode>;
|
|
51
52
|
export interface BlockTaskItemDefinition {
|
|
52
53
|
type: 'blockTaskItem';
|
|
53
|
-
content: Array<ExtensionWithMarksDefinition | ExtensionWithMarksDefinition |
|
|
54
|
+
content: Array<ExtensionWithMarksDefinition | ExtensionWithMarksDefinition | ParagraphWithFontSizeDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition>;
|
|
54
55
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
55
56
|
attrs: {
|
|
56
57
|
localId: string;
|
|
@@ -58,10 +59,10 @@ export interface BlockTaskItemDefinition {
|
|
|
58
59
|
};
|
|
59
60
|
}
|
|
60
61
|
export type BlockTaskItemNode = PMNode & BlockTaskItemDefinition;
|
|
61
|
-
export declare const blockTaskItem:
|
|
62
|
+
export declare const blockTaskItem: PMNodeSpecFactoryInstance<BlockTaskItemNode>;
|
|
62
63
|
export interface BodiedExtensionDefinition {
|
|
63
64
|
type: 'bodiedExtension';
|
|
64
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition |
|
|
65
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
65
66
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
66
67
|
attrs: {
|
|
67
68
|
extensionKey: string;
|
|
@@ -73,7 +74,7 @@ export interface BodiedExtensionDefinition {
|
|
|
73
74
|
};
|
|
74
75
|
}
|
|
75
76
|
export type BodiedExtensionNode = PMNode & BodiedExtensionDefinition;
|
|
76
|
-
export declare const bodiedExtension:
|
|
77
|
+
export declare const bodiedExtension: PMNodeSpecFactoryInstance<BodiedExtensionNode>;
|
|
77
78
|
export interface BodiedExtensionWithMarksDefinition {
|
|
78
79
|
type: 'bodiedExtension';
|
|
79
80
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -87,10 +88,10 @@ export interface BodiedExtensionWithMarksDefinition {
|
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
export type BodiedExtensionWithMarksNode = PMNode & BodiedExtensionWithMarksDefinition;
|
|
90
|
-
export declare const bodiedExtensionWithMarks:
|
|
91
|
+
export declare const bodiedExtensionWithMarks: PMNodeSpecFactoryInstance<BodiedExtensionWithMarksNode>;
|
|
91
92
|
export interface BodiedSyncBlockDefinition {
|
|
92
93
|
type: 'bodiedSyncBlock';
|
|
93
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BulletListDefinition | CodeBlockDefinition | ConfluenceUnsupportedBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExpandDefinition | HeadingDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition |
|
|
94
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | BulletListDefinition | CodeBlockDefinition | ConfluenceUnsupportedBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExpandDefinition | HeadingDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
94
95
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
95
96
|
attrs: {
|
|
96
97
|
resourceId: string;
|
|
@@ -98,7 +99,7 @@ export interface BodiedSyncBlockDefinition {
|
|
|
98
99
|
};
|
|
99
100
|
}
|
|
100
101
|
export type BodiedSyncBlockNode = PMNode & BodiedSyncBlockDefinition;
|
|
101
|
-
export declare const bodiedSyncBlock:
|
|
102
|
+
export declare const bodiedSyncBlock: PMNodeSpecFactoryInstance<BodiedSyncBlockNode>;
|
|
102
103
|
export interface BulletListDefinition {
|
|
103
104
|
type: 'bulletList';
|
|
104
105
|
content: Array<ListItemDefinition>;
|
|
@@ -108,7 +109,7 @@ export interface BulletListDefinition {
|
|
|
108
109
|
};
|
|
109
110
|
}
|
|
110
111
|
export type BulletListNode = PMNode & BulletListDefinition;
|
|
111
|
-
export declare const bulletList:
|
|
112
|
+
export declare const bulletList: PMNodeSpecFactoryInstance<BulletListNode>;
|
|
112
113
|
export interface CaptionDefinition {
|
|
113
114
|
type: 'caption';
|
|
114
115
|
content: Array<DateDefinition | DateStage0Definition | EmojiDefinition | EmojiStage0Definition | HardBreakDefinition | InlineCardDefinition | InlineCardStage0Definition | MentionDefinition | MentionStage0Definition | PlaceholderDefinition | StatusDefinition | StatusStage0Definition | TextCodeInlineDefinition | TextFormattedDefinition | UnsupportedInlineDefinition>;
|
|
@@ -118,7 +119,7 @@ export interface CaptionDefinition {
|
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
121
|
export type CaptionNode = PMNode & CaptionDefinition;
|
|
121
|
-
export declare const caption:
|
|
122
|
+
export declare const caption: PMNodeSpecFactoryInstance<CaptionNode>;
|
|
122
123
|
export interface CodeBlockDefinition {
|
|
123
124
|
type: 'codeBlock';
|
|
124
125
|
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
@@ -129,7 +130,7 @@ export interface CodeBlockDefinition {
|
|
|
129
130
|
};
|
|
130
131
|
}
|
|
131
132
|
export type CodeBlockNode = PMNode & CodeBlockDefinition;
|
|
132
|
-
export declare const codeBlock:
|
|
133
|
+
export declare const codeBlock: PMNodeSpecFactoryInstance<CodeBlockNode>;
|
|
133
134
|
export interface CodeBlockRootOnlyDefinition {
|
|
134
135
|
type: 'codeBlock';
|
|
135
136
|
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
@@ -141,7 +142,34 @@ export interface CodeBlockRootOnlyDefinition {
|
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
144
|
export type CodeBlockRootOnlyNode = PMNode & CodeBlockRootOnlyDefinition;
|
|
144
|
-
export declare const codeBlockRootOnly:
|
|
145
|
+
export declare const codeBlockRootOnly: PMNodeSpecFactoryInstance<CodeBlockRootOnlyNode>;
|
|
146
|
+
export interface CodeBlockRootOnlyWithExtendedAttributesStage0Definition {
|
|
147
|
+
type: 'codeBlock';
|
|
148
|
+
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
149
|
+
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
150
|
+
attrs: {
|
|
151
|
+
language?: string;
|
|
152
|
+
uniqueId?: string;
|
|
153
|
+
localId?: string;
|
|
154
|
+
wrap?: boolean;
|
|
155
|
+
hideLineNumbers?: boolean;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
export type CodeBlockRootOnlyWithExtendedAttributesStage0Node = PMNode & CodeBlockRootOnlyWithExtendedAttributesStage0Definition;
|
|
159
|
+
export declare const codeBlockRootOnlyWithExtendedAttributesStage0: PMNodeSpecFactoryInstance<CodeBlockRootOnlyWithExtendedAttributesStage0Node>;
|
|
160
|
+
export interface CodeBlockWithExtendedAttributesStage0Definition {
|
|
161
|
+
type: 'codeBlock';
|
|
162
|
+
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
163
|
+
attrs: {
|
|
164
|
+
language?: string;
|
|
165
|
+
uniqueId?: string;
|
|
166
|
+
localId?: string;
|
|
167
|
+
wrap?: boolean;
|
|
168
|
+
hideLineNumbers?: boolean;
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
export type CodeBlockWithExtendedAttributesStage0Node = PMNode & CodeBlockWithExtendedAttributesStage0Definition;
|
|
172
|
+
export declare const codeBlockWithExtendedAttributesStage0: PMNodeSpecFactoryInstance<CodeBlockWithExtendedAttributesStage0Node>;
|
|
145
173
|
export interface ConfluenceJiraIssueDefinition {
|
|
146
174
|
type: 'confluenceJiraIssue';
|
|
147
175
|
attrs: {
|
|
@@ -153,7 +181,7 @@ export interface ConfluenceJiraIssueDefinition {
|
|
|
153
181
|
};
|
|
154
182
|
}
|
|
155
183
|
export type ConfluenceJiraIssueNode = PMNode & ConfluenceJiraIssueDefinition;
|
|
156
|
-
export declare const confluenceJiraIssue:
|
|
184
|
+
export declare const confluenceJiraIssue: PMNodeSpecFactoryInstance<ConfluenceJiraIssueNode>;
|
|
157
185
|
export interface ConfluenceUnsupportedBlockDefinition {
|
|
158
186
|
type: 'confluenceUnsupportedBlock';
|
|
159
187
|
attrs: {
|
|
@@ -161,7 +189,7 @@ export interface ConfluenceUnsupportedBlockDefinition {
|
|
|
161
189
|
};
|
|
162
190
|
}
|
|
163
191
|
export type ConfluenceUnsupportedBlockNode = PMNode & ConfluenceUnsupportedBlockDefinition;
|
|
164
|
-
export declare const confluenceUnsupportedBlock:
|
|
192
|
+
export declare const confluenceUnsupportedBlock: PMNodeSpecFactoryInstance<ConfluenceUnsupportedBlockNode>;
|
|
165
193
|
export interface ConfluenceUnsupportedInlineDefinition {
|
|
166
194
|
type: 'confluenceUnsupportedInline';
|
|
167
195
|
attrs: {
|
|
@@ -169,7 +197,7 @@ export interface ConfluenceUnsupportedInlineDefinition {
|
|
|
169
197
|
};
|
|
170
198
|
}
|
|
171
199
|
export type ConfluenceUnsupportedInlineNode = PMNode & ConfluenceUnsupportedInlineDefinition;
|
|
172
|
-
export declare const confluenceUnsupportedInline:
|
|
200
|
+
export declare const confluenceUnsupportedInline: PMNodeSpecFactoryInstance<ConfluenceUnsupportedInlineNode>;
|
|
173
201
|
export interface DateDefinition {
|
|
174
202
|
type: 'date';
|
|
175
203
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -179,7 +207,7 @@ export interface DateDefinition {
|
|
|
179
207
|
};
|
|
180
208
|
}
|
|
181
209
|
export type DateNode = PMNode & DateDefinition;
|
|
182
|
-
export declare const date:
|
|
210
|
+
export declare const date: PMNodeSpecFactoryInstance<DateNode>;
|
|
183
211
|
export interface DateStage0Definition {
|
|
184
212
|
type: 'date';
|
|
185
213
|
marks: Array<AnnotationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -189,7 +217,7 @@ export interface DateStage0Definition {
|
|
|
189
217
|
};
|
|
190
218
|
}
|
|
191
219
|
export type DateStage0Node = PMNode & DateStage0Definition;
|
|
192
|
-
export declare const dateStage0:
|
|
220
|
+
export declare const dateStage0: PMNodeSpecFactoryInstance<DateStage0Node>;
|
|
193
221
|
export interface DecisionItemDefinition {
|
|
194
222
|
type: 'decisionItem';
|
|
195
223
|
content: Array<InlineDefinition>;
|
|
@@ -200,7 +228,7 @@ export interface DecisionItemDefinition {
|
|
|
200
228
|
};
|
|
201
229
|
}
|
|
202
230
|
export type DecisionItemNode = PMNode & DecisionItemDefinition;
|
|
203
|
-
export declare const decisionItem:
|
|
231
|
+
export declare const decisionItem: PMNodeSpecFactoryInstance<DecisionItemNode>;
|
|
204
232
|
export interface DecisionListDefinition {
|
|
205
233
|
type: 'decisionList';
|
|
206
234
|
content: Array<DecisionItemDefinition | UnsupportedBlockDefinition>;
|
|
@@ -210,13 +238,13 @@ export interface DecisionListDefinition {
|
|
|
210
238
|
};
|
|
211
239
|
}
|
|
212
240
|
export type DecisionListNode = PMNode & DecisionListDefinition;
|
|
213
|
-
export declare const decisionList:
|
|
241
|
+
export declare const decisionList: PMNodeSpecFactoryInstance<DecisionListNode>;
|
|
214
242
|
export interface DocDefinition {
|
|
215
243
|
type: 'doc';
|
|
216
|
-
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | SyncBlockDefinition>;
|
|
244
|
+
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | CodeBlockRootOnlyWithExtendedAttributesStage0Definition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | SyncBlockDefinition>;
|
|
217
245
|
}
|
|
218
246
|
export type DocNode = PMNode & DocDefinition;
|
|
219
|
-
export declare const doc:
|
|
247
|
+
export declare const doc: PMNodeSpecFactoryInstance<DocNode>;
|
|
220
248
|
export interface EmbedCardDefinition {
|
|
221
249
|
type: 'embedCard';
|
|
222
250
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -230,7 +258,7 @@ export interface EmbedCardDefinition {
|
|
|
230
258
|
};
|
|
231
259
|
}
|
|
232
260
|
export type EmbedCardNode = PMNode & EmbedCardDefinition;
|
|
233
|
-
export declare const embedCard:
|
|
261
|
+
export declare const embedCard: PMNodeSpecFactoryInstance<EmbedCardNode>;
|
|
234
262
|
export interface EmojiDefinition {
|
|
235
263
|
type: 'emoji';
|
|
236
264
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -242,7 +270,7 @@ export interface EmojiDefinition {
|
|
|
242
270
|
};
|
|
243
271
|
}
|
|
244
272
|
export type EmojiNode = PMNode & EmojiDefinition;
|
|
245
|
-
export declare const emoji:
|
|
273
|
+
export declare const emoji: PMNodeSpecFactoryInstance<EmojiNode>;
|
|
246
274
|
export interface EmojiStage0Definition {
|
|
247
275
|
type: 'emoji';
|
|
248
276
|
marks: Array<AnnotationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -254,10 +282,10 @@ export interface EmojiStage0Definition {
|
|
|
254
282
|
};
|
|
255
283
|
}
|
|
256
284
|
export type EmojiStage0Node = PMNode & EmojiStage0Definition;
|
|
257
|
-
export declare const emojiStage0:
|
|
285
|
+
export declare const emojiStage0: PMNodeSpecFactoryInstance<EmojiStage0Node>;
|
|
258
286
|
export interface ExpandDefinition {
|
|
259
287
|
type: 'expand';
|
|
260
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition |
|
|
288
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
261
289
|
attrs: {
|
|
262
290
|
title?: string;
|
|
263
291
|
__expanded?: boolean;
|
|
@@ -265,10 +293,10 @@ export interface ExpandDefinition {
|
|
|
265
293
|
};
|
|
266
294
|
}
|
|
267
295
|
export type ExpandNode = PMNode & ExpandDefinition;
|
|
268
|
-
export declare const expand:
|
|
296
|
+
export declare const expand: PMNodeSpecFactoryInstance<ExpandNode>;
|
|
269
297
|
export interface ExpandRootOnlyDefinition {
|
|
270
298
|
type: 'expand';
|
|
271
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition |
|
|
299
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
272
300
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
273
301
|
attrs: {
|
|
274
302
|
title?: string;
|
|
@@ -277,7 +305,7 @@ export interface ExpandRootOnlyDefinition {
|
|
|
277
305
|
};
|
|
278
306
|
}
|
|
279
307
|
export type ExpandRootOnlyNode = PMNode & ExpandRootOnlyDefinition;
|
|
280
|
-
export declare const expandRootOnly:
|
|
308
|
+
export declare const expandRootOnly: PMNodeSpecFactoryInstance<ExpandRootOnlyNode>;
|
|
281
309
|
export interface ExtensionDefinition {
|
|
282
310
|
type: 'extension';
|
|
283
311
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -291,7 +319,7 @@ export interface ExtensionDefinition {
|
|
|
291
319
|
};
|
|
292
320
|
}
|
|
293
321
|
export type ExtensionNode = PMNode & ExtensionDefinition;
|
|
294
|
-
export declare const extension:
|
|
322
|
+
export declare const extension: PMNodeSpecFactoryInstance<ExtensionNode>;
|
|
295
323
|
export interface ExtensionWithMarksDefinition {
|
|
296
324
|
type: 'extension';
|
|
297
325
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -305,14 +333,14 @@ export interface ExtensionWithMarksDefinition {
|
|
|
305
333
|
};
|
|
306
334
|
}
|
|
307
335
|
export type ExtensionWithMarksNode = PMNode & ExtensionWithMarksDefinition;
|
|
308
|
-
export declare const extensionWithMarks:
|
|
336
|
+
export declare const extensionWithMarks: PMNodeSpecFactoryInstance<ExtensionWithMarksNode>;
|
|
309
337
|
export interface ExtensionFrameStage0Definition {
|
|
310
338
|
type: 'extensionFrame';
|
|
311
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedExtensionWithMarksDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition |
|
|
339
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedExtensionWithMarksDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
312
340
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
313
341
|
}
|
|
314
342
|
export type ExtensionFrameStage0Node = PMNode & ExtensionFrameStage0Definition;
|
|
315
|
-
export declare const extensionFrameStage0:
|
|
343
|
+
export declare const extensionFrameStage0: PMNodeSpecFactoryInstance<ExtensionFrameStage0Node>;
|
|
316
344
|
export interface HardBreakDefinition {
|
|
317
345
|
type: 'hardBreak';
|
|
318
346
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -322,7 +350,7 @@ export interface HardBreakDefinition {
|
|
|
322
350
|
};
|
|
323
351
|
}
|
|
324
352
|
export type HardBreakNode = PMNode & HardBreakDefinition;
|
|
325
|
-
export declare const hardBreak:
|
|
353
|
+
export declare const hardBreak: PMNodeSpecFactoryInstance<HardBreakNode>;
|
|
326
354
|
export interface HeadingDefinition {
|
|
327
355
|
type: 'heading';
|
|
328
356
|
content: Array<InlineDefinition>;
|
|
@@ -333,7 +361,7 @@ export interface HeadingDefinition {
|
|
|
333
361
|
};
|
|
334
362
|
}
|
|
335
363
|
export type HeadingNode = PMNode & HeadingDefinition;
|
|
336
|
-
export declare const heading:
|
|
364
|
+
export declare const heading: PMNodeSpecFactoryInstance<HeadingNode>;
|
|
337
365
|
export interface HeadingWithAlignmentDefinition {
|
|
338
366
|
type: 'heading';
|
|
339
367
|
marks: Array<AlignmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -343,7 +371,7 @@ export interface HeadingWithAlignmentDefinition {
|
|
|
343
371
|
};
|
|
344
372
|
}
|
|
345
373
|
export type HeadingWithAlignmentNode = PMNode & HeadingWithAlignmentDefinition;
|
|
346
|
-
export declare const headingWithAlignment:
|
|
374
|
+
export declare const headingWithAlignment: PMNodeSpecFactoryInstance<HeadingWithAlignmentNode>;
|
|
347
375
|
export interface HeadingWithIndentationDefinition {
|
|
348
376
|
type: 'heading';
|
|
349
377
|
marks: Array<IndentationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -353,7 +381,7 @@ export interface HeadingWithIndentationDefinition {
|
|
|
353
381
|
};
|
|
354
382
|
}
|
|
355
383
|
export type HeadingWithIndentationNode = PMNode & HeadingWithIndentationDefinition;
|
|
356
|
-
export declare const headingWithIndentation:
|
|
384
|
+
export declare const headingWithIndentation: PMNodeSpecFactoryInstance<HeadingWithIndentationNode>;
|
|
357
385
|
export interface HeadingWithNoMarksDefinition {
|
|
358
386
|
type: 'heading';
|
|
359
387
|
attrs: {
|
|
@@ -362,7 +390,7 @@ export interface HeadingWithNoMarksDefinition {
|
|
|
362
390
|
};
|
|
363
391
|
}
|
|
364
392
|
export type HeadingWithNoMarksNode = PMNode & HeadingWithNoMarksDefinition;
|
|
365
|
-
export declare const headingWithNoMarks:
|
|
393
|
+
export declare const headingWithNoMarks: PMNodeSpecFactoryInstance<HeadingWithNoMarksNode>;
|
|
366
394
|
export interface ImageDefinition {
|
|
367
395
|
type: 'image';
|
|
368
396
|
attrs: {
|
|
@@ -372,7 +400,7 @@ export interface ImageDefinition {
|
|
|
372
400
|
};
|
|
373
401
|
}
|
|
374
402
|
export type ImageNode = PMNode & ImageDefinition;
|
|
375
|
-
export declare const image:
|
|
403
|
+
export declare const image: PMNodeSpecFactoryInstance<ImageNode>;
|
|
376
404
|
export interface InlineCardNodeAttributes0 {
|
|
377
405
|
url: string;
|
|
378
406
|
localId?: string;
|
|
@@ -387,7 +415,7 @@ export interface InlineCardDefinition {
|
|
|
387
415
|
attrs: InlineCardNodeAttributes0 | InlineCardNodeAttributes1;
|
|
388
416
|
}
|
|
389
417
|
export type InlineCardNode = PMNode & InlineCardDefinition;
|
|
390
|
-
export declare const inlineCard:
|
|
418
|
+
export declare const inlineCard: PMNodeSpecFactoryInstance<InlineCardNode>;
|
|
391
419
|
export interface InlineCardStage0NodeAttributes0 {
|
|
392
420
|
url: string;
|
|
393
421
|
localId?: string;
|
|
@@ -402,7 +430,7 @@ export interface InlineCardStage0Definition {
|
|
|
402
430
|
attrs: InlineCardStage0NodeAttributes0 | InlineCardStage0NodeAttributes1;
|
|
403
431
|
}
|
|
404
432
|
export type InlineCardStage0Node = PMNode & InlineCardStage0Definition;
|
|
405
|
-
export declare const inlineCardStage0:
|
|
433
|
+
export declare const inlineCardStage0: PMNodeSpecFactoryInstance<InlineCardStage0Node>;
|
|
406
434
|
export interface InlineExtensionDefinition {
|
|
407
435
|
type: 'inlineExtension';
|
|
408
436
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -415,7 +443,7 @@ export interface InlineExtensionDefinition {
|
|
|
415
443
|
};
|
|
416
444
|
}
|
|
417
445
|
export type InlineExtensionNode = PMNode & InlineExtensionDefinition;
|
|
418
|
-
export declare const inlineExtension:
|
|
446
|
+
export declare const inlineExtension: PMNodeSpecFactoryInstance<InlineExtensionNode>;
|
|
419
447
|
export interface InlineExtensionWithMarksDefinition {
|
|
420
448
|
type: 'inlineExtension';
|
|
421
449
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -428,7 +456,7 @@ export interface InlineExtensionWithMarksDefinition {
|
|
|
428
456
|
};
|
|
429
457
|
}
|
|
430
458
|
export type InlineExtensionWithMarksNode = PMNode & InlineExtensionWithMarksDefinition;
|
|
431
|
-
export declare const inlineExtensionWithMarks:
|
|
459
|
+
export declare const inlineExtensionWithMarks: PMNodeSpecFactoryInstance<InlineExtensionWithMarksNode>;
|
|
432
460
|
export interface LayoutColumnDefinition {
|
|
433
461
|
type: 'layoutColumn';
|
|
434
462
|
content: Array<BlockDefinition | UnsupportedBlockDefinition>;
|
|
@@ -439,7 +467,7 @@ export interface LayoutColumnDefinition {
|
|
|
439
467
|
};
|
|
440
468
|
}
|
|
441
469
|
export type LayoutColumnNode = PMNode & LayoutColumnDefinition;
|
|
442
|
-
export declare const layoutColumn:
|
|
470
|
+
export declare const layoutColumn: PMNodeSpecFactoryInstance<LayoutColumnNode>;
|
|
443
471
|
export interface LayoutSectionDefinition {
|
|
444
472
|
type: 'layoutSection';
|
|
445
473
|
content: Array<LayoutColumnDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
|
@@ -449,7 +477,7 @@ export interface LayoutSectionDefinition {
|
|
|
449
477
|
};
|
|
450
478
|
}
|
|
451
479
|
export type LayoutSectionNode = PMNode & LayoutSectionDefinition;
|
|
452
|
-
export declare const layoutSection:
|
|
480
|
+
export declare const layoutSection: PMNodeSpecFactoryInstance<LayoutSectionNode>;
|
|
453
481
|
export interface LayoutSectionFullDefinition {
|
|
454
482
|
type: 'layoutSection';
|
|
455
483
|
content: Array<LayoutColumnDefinition | UnsupportedBlockDefinition>;
|
|
@@ -459,7 +487,7 @@ export interface LayoutSectionFullDefinition {
|
|
|
459
487
|
};
|
|
460
488
|
}
|
|
461
489
|
export type LayoutSectionFullNode = PMNode & LayoutSectionFullDefinition;
|
|
462
|
-
export declare const layoutSectionFull:
|
|
490
|
+
export declare const layoutSectionFull: PMNodeSpecFactoryInstance<LayoutSectionFullNode>;
|
|
463
491
|
export interface LayoutSectionWithSingleColumnStage0Definition {
|
|
464
492
|
type: 'layoutSection';
|
|
465
493
|
content: Array<LayoutColumnDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
|
@@ -470,17 +498,17 @@ export interface LayoutSectionWithSingleColumnStage0Definition {
|
|
|
470
498
|
};
|
|
471
499
|
}
|
|
472
500
|
export type LayoutSectionWithSingleColumnStage0Node = PMNode & LayoutSectionWithSingleColumnStage0Definition;
|
|
473
|
-
export declare const layoutSectionWithSingleColumnStage0:
|
|
501
|
+
export declare const layoutSectionWithSingleColumnStage0: PMNodeSpecFactoryInstance<LayoutSectionWithSingleColumnStage0Node>;
|
|
474
502
|
export interface ListItemDefinition {
|
|
475
503
|
type: 'listItem';
|
|
476
|
-
content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition |
|
|
504
|
+
content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
477
505
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
478
506
|
attrs: {
|
|
479
507
|
localId?: string;
|
|
480
508
|
};
|
|
481
509
|
}
|
|
482
510
|
export type ListItemNode = PMNode & ListItemDefinition;
|
|
483
|
-
export declare const listItem:
|
|
511
|
+
export declare const listItem: PMNodeSpecFactoryInstance<ListItemNode>;
|
|
484
512
|
export interface MediaNodeAttributes0 {
|
|
485
513
|
type: 'link' | 'file';
|
|
486
514
|
localId?: string;
|
|
@@ -513,14 +541,14 @@ export interface MediaDefinition {
|
|
|
513
541
|
attrs: MediaNodeAttributes0 | MediaNodeAttributes1;
|
|
514
542
|
}
|
|
515
543
|
export type MediaNode = PMNode & MediaDefinition;
|
|
516
|
-
export declare const media:
|
|
544
|
+
export declare const media: PMNodeSpecFactoryInstance<MediaNode>;
|
|
517
545
|
export interface MediaGroupDefinition {
|
|
518
546
|
type: 'mediaGroup';
|
|
519
547
|
content: Array<MediaDefinition | UnsupportedBlockDefinition>;
|
|
520
548
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
521
549
|
}
|
|
522
550
|
export type MediaGroupNode = PMNode & MediaGroupDefinition;
|
|
523
|
-
export declare const mediaGroup:
|
|
551
|
+
export declare const mediaGroup: PMNodeSpecFactoryInstance<MediaGroupNode>;
|
|
524
552
|
export interface MediaInlineDefinition {
|
|
525
553
|
type: 'mediaInline';
|
|
526
554
|
marks: Array<AnnotationMark | BorderMark | DataConsumerMark | LinkMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -545,7 +573,7 @@ export interface MediaInlineDefinition {
|
|
|
545
573
|
};
|
|
546
574
|
}
|
|
547
575
|
export type MediaInlineNode = PMNode & MediaInlineDefinition;
|
|
548
|
-
export declare const mediaInline:
|
|
576
|
+
export declare const mediaInline: PMNodeSpecFactoryInstance<MediaInlineNode>;
|
|
549
577
|
export interface MediaSingleNodeAttributes0 {
|
|
550
578
|
localId?: string;
|
|
551
579
|
width?: number;
|
|
@@ -564,7 +592,7 @@ export interface MediaSingleDefinition {
|
|
|
564
592
|
attrs: MediaSingleNodeAttributes0 | MediaSingleNodeAttributes1;
|
|
565
593
|
}
|
|
566
594
|
export type MediaSingleNode = PMNode & MediaSingleDefinition;
|
|
567
|
-
export declare const mediaSingle:
|
|
595
|
+
export declare const mediaSingle: PMNodeSpecFactoryInstance<MediaSingleNode>;
|
|
568
596
|
export interface MediaSingleCaptionNodeAttributes0 {
|
|
569
597
|
localId?: string;
|
|
570
598
|
width?: number;
|
|
@@ -583,7 +611,7 @@ export interface MediaSingleCaptionDefinition {
|
|
|
583
611
|
attrs: MediaSingleCaptionNodeAttributes0 | MediaSingleCaptionNodeAttributes1;
|
|
584
612
|
}
|
|
585
613
|
export type MediaSingleCaptionNode = PMNode & MediaSingleCaptionDefinition;
|
|
586
|
-
export declare const mediaSingleCaption:
|
|
614
|
+
export declare const mediaSingleCaption: PMNodeSpecFactoryInstance<MediaSingleCaptionNode>;
|
|
587
615
|
export interface MediaSingleFullNodeAttributes0 {
|
|
588
616
|
localId?: string;
|
|
589
617
|
width?: number;
|
|
@@ -602,7 +630,7 @@ export interface MediaSingleFullDefinition {
|
|
|
602
630
|
attrs: MediaSingleFullNodeAttributes0 | MediaSingleFullNodeAttributes1;
|
|
603
631
|
}
|
|
604
632
|
export type MediaSingleFullNode = PMNode & MediaSingleFullDefinition;
|
|
605
|
-
export declare const mediaSingleFull:
|
|
633
|
+
export declare const mediaSingleFull: PMNodeSpecFactoryInstance<MediaSingleFullNode>;
|
|
606
634
|
export interface MediaSingleWidthTypeNodeAttributes0 {
|
|
607
635
|
localId?: string;
|
|
608
636
|
width?: number;
|
|
@@ -621,7 +649,7 @@ export interface MediaSingleWidthTypeDefinition {
|
|
|
621
649
|
attrs: MediaSingleWidthTypeNodeAttributes0 | MediaSingleWidthTypeNodeAttributes1;
|
|
622
650
|
}
|
|
623
651
|
export type MediaSingleWidthTypeNode = PMNode & MediaSingleWidthTypeDefinition;
|
|
624
|
-
export declare const mediaSingleWidthType:
|
|
652
|
+
export declare const mediaSingleWidthType: PMNodeSpecFactoryInstance<MediaSingleWidthTypeNode>;
|
|
625
653
|
export interface MentionDefinition {
|
|
626
654
|
type: 'mention';
|
|
627
655
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -634,7 +662,7 @@ export interface MentionDefinition {
|
|
|
634
662
|
};
|
|
635
663
|
}
|
|
636
664
|
export type MentionNode = PMNode & MentionDefinition;
|
|
637
|
-
export declare const mention:
|
|
665
|
+
export declare const mention: PMNodeSpecFactoryInstance<MentionNode>;
|
|
638
666
|
export interface MentionStage0Definition {
|
|
639
667
|
type: 'mention';
|
|
640
668
|
marks: Array<AnnotationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -647,7 +675,7 @@ export interface MentionStage0Definition {
|
|
|
647
675
|
};
|
|
648
676
|
}
|
|
649
677
|
export type MentionStage0Node = PMNode & MentionStage0Definition;
|
|
650
|
-
export declare const mentionStage0:
|
|
678
|
+
export declare const mentionStage0: PMNodeSpecFactoryInstance<MentionStage0Node>;
|
|
651
679
|
export interface MultiBodiedExtensionStage0Definition {
|
|
652
680
|
type: 'multiBodiedExtension';
|
|
653
681
|
content: Array<ExtensionFrameStage0Definition>;
|
|
@@ -662,10 +690,10 @@ export interface MultiBodiedExtensionStage0Definition {
|
|
|
662
690
|
};
|
|
663
691
|
}
|
|
664
692
|
export type MultiBodiedExtensionStage0Node = PMNode & MultiBodiedExtensionStage0Definition;
|
|
665
|
-
export declare const multiBodiedExtensionStage0:
|
|
693
|
+
export declare const multiBodiedExtensionStage0: PMNodeSpecFactoryInstance<MultiBodiedExtensionStage0Node>;
|
|
666
694
|
export interface NestedExpandDefinition {
|
|
667
695
|
type: 'nestedExpand';
|
|
668
|
-
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition |
|
|
696
|
+
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
669
697
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
670
698
|
attrs: {
|
|
671
699
|
title?: string;
|
|
@@ -674,7 +702,7 @@ export interface NestedExpandDefinition {
|
|
|
674
702
|
};
|
|
675
703
|
}
|
|
676
704
|
export type NestedExpandNode = PMNode & NestedExpandDefinition;
|
|
677
|
-
export declare const nestedExpand:
|
|
705
|
+
export declare const nestedExpand: PMNodeSpecFactoryInstance<NestedExpandNode>;
|
|
678
706
|
export interface NestedExpandWithNoMarksDefinition {
|
|
679
707
|
type: 'nestedExpand';
|
|
680
708
|
attrs: {
|
|
@@ -684,7 +712,7 @@ export interface NestedExpandWithNoMarksDefinition {
|
|
|
684
712
|
};
|
|
685
713
|
}
|
|
686
714
|
export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefinition;
|
|
687
|
-
export declare const nestedExpandWithNoMarks:
|
|
715
|
+
export declare const nestedExpandWithNoMarks: PMNodeSpecFactoryInstance<NestedExpandWithNoMarksNode>;
|
|
688
716
|
export interface OrderedListDefinition {
|
|
689
717
|
type: 'orderedList';
|
|
690
718
|
content: Array<ListItemDefinition>;
|
|
@@ -695,10 +723,10 @@ export interface OrderedListDefinition {
|
|
|
695
723
|
};
|
|
696
724
|
}
|
|
697
725
|
export type OrderedListNode = PMNode & OrderedListDefinition;
|
|
698
|
-
export declare const orderedList:
|
|
726
|
+
export declare const orderedList: PMNodeSpecFactoryInstance<OrderedListNode>;
|
|
699
727
|
export interface PanelDefinition {
|
|
700
728
|
type: 'panel';
|
|
701
|
-
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition |
|
|
729
|
+
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
702
730
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
703
731
|
attrs: {
|
|
704
732
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
|
@@ -710,7 +738,7 @@ export interface PanelDefinition {
|
|
|
710
738
|
};
|
|
711
739
|
}
|
|
712
740
|
export type PanelNode = PMNode & PanelDefinition;
|
|
713
|
-
export declare const panel:
|
|
741
|
+
export declare const panel: PMNodeSpecFactoryInstance<PanelNode>;
|
|
714
742
|
export interface ParagraphDefinition {
|
|
715
743
|
type: 'paragraph';
|
|
716
744
|
content: Array<InlineDefinition>;
|
|
@@ -720,52 +748,34 @@ export interface ParagraphDefinition {
|
|
|
720
748
|
};
|
|
721
749
|
}
|
|
722
750
|
export type ParagraphNode = PMNode & ParagraphDefinition;
|
|
723
|
-
export declare const paragraph:
|
|
751
|
+
export declare const paragraph: PMNodeSpecFactoryInstance<ParagraphNode>;
|
|
724
752
|
export interface ParagraphWithAlignmentDefinition {
|
|
725
|
-
type: 'paragraph';
|
|
726
|
-
marks: Array<AlignmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
727
|
-
attrs: {
|
|
728
|
-
localId?: string;
|
|
729
|
-
};
|
|
730
|
-
}
|
|
731
|
-
export type ParagraphWithAlignmentNode = PMNode & ParagraphWithAlignmentDefinition;
|
|
732
|
-
export declare const paragraphWithAlignment: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ParagraphWithAlignmentNode>) => import("prosemirror-model").NodeSpec;
|
|
733
|
-
export interface ParagraphWithFontSizeAndAlignmentStage0Definition {
|
|
734
753
|
type: 'paragraph';
|
|
735
754
|
marks: Array<AlignmentMark | FontSizeMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
736
755
|
attrs: {
|
|
737
756
|
localId?: string;
|
|
738
757
|
};
|
|
739
758
|
}
|
|
740
|
-
export type
|
|
741
|
-
export declare const
|
|
742
|
-
export interface
|
|
743
|
-
type: 'paragraph';
|
|
744
|
-
marks: Array<FontSizeMark | IndentationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
745
|
-
attrs: {
|
|
746
|
-
localId?: string;
|
|
747
|
-
};
|
|
748
|
-
}
|
|
749
|
-
export type ParagraphWithFontSizeAndIndentationStage0Node = PMNode & ParagraphWithFontSizeAndIndentationStage0Definition;
|
|
750
|
-
export declare const paragraphWithFontSizeAndIndentationStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ParagraphWithFontSizeAndIndentationStage0Node>) => import("prosemirror-model").NodeSpec;
|
|
751
|
-
export interface ParagraphWithFontSizeStage0Definition {
|
|
759
|
+
export type ParagraphWithAlignmentNode = PMNode & ParagraphWithAlignmentDefinition;
|
|
760
|
+
export declare const paragraphWithAlignment: PMNodeSpecFactoryInstance<ParagraphWithAlignmentNode>;
|
|
761
|
+
export interface ParagraphWithFontSizeDefinition {
|
|
752
762
|
type: 'paragraph';
|
|
753
763
|
marks: Array<FontSizeMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
754
764
|
attrs: {
|
|
755
765
|
localId?: string;
|
|
756
766
|
};
|
|
757
767
|
}
|
|
758
|
-
export type
|
|
759
|
-
export declare const
|
|
768
|
+
export type ParagraphWithFontSizeNode = PMNode & ParagraphWithFontSizeDefinition;
|
|
769
|
+
export declare const paragraphWithFontSize: PMNodeSpecFactoryInstance<ParagraphWithFontSizeNode>;
|
|
760
770
|
export interface ParagraphWithIndentationDefinition {
|
|
761
771
|
type: 'paragraph';
|
|
762
|
-
marks: Array<IndentationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
772
|
+
marks: Array<FontSizeMark | IndentationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
763
773
|
attrs: {
|
|
764
774
|
localId?: string;
|
|
765
775
|
};
|
|
766
776
|
}
|
|
767
777
|
export type ParagraphWithIndentationNode = PMNode & ParagraphWithIndentationDefinition;
|
|
768
|
-
export declare const paragraphWithIndentation:
|
|
778
|
+
export declare const paragraphWithIndentation: PMNodeSpecFactoryInstance<ParagraphWithIndentationNode>;
|
|
769
779
|
export interface ParagraphWithNoMarksDefinition {
|
|
770
780
|
type: 'paragraph';
|
|
771
781
|
attrs: {
|
|
@@ -773,7 +783,7 @@ export interface ParagraphWithNoMarksDefinition {
|
|
|
773
783
|
};
|
|
774
784
|
}
|
|
775
785
|
export type ParagraphWithNoMarksNode = PMNode & ParagraphWithNoMarksDefinition;
|
|
776
|
-
export declare const paragraphWithNoMarks:
|
|
786
|
+
export declare const paragraphWithNoMarks: PMNodeSpecFactoryInstance<ParagraphWithNoMarksNode>;
|
|
777
787
|
export interface PlaceholderDefinition {
|
|
778
788
|
type: 'placeholder';
|
|
779
789
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -783,7 +793,7 @@ export interface PlaceholderDefinition {
|
|
|
783
793
|
};
|
|
784
794
|
}
|
|
785
795
|
export type PlaceholderNode = PMNode & PlaceholderDefinition;
|
|
786
|
-
export declare const placeholder:
|
|
796
|
+
export declare const placeholder: PMNodeSpecFactoryInstance<PlaceholderNode>;
|
|
787
797
|
export interface RuleDefinition {
|
|
788
798
|
type: 'rule';
|
|
789
799
|
attrs: {
|
|
@@ -791,7 +801,7 @@ export interface RuleDefinition {
|
|
|
791
801
|
};
|
|
792
802
|
}
|
|
793
803
|
export type RuleNode = PMNode & RuleDefinition;
|
|
794
|
-
export declare const rule:
|
|
804
|
+
export declare const rule: PMNodeSpecFactoryInstance<RuleNode>;
|
|
795
805
|
export interface StatusDefinition {
|
|
796
806
|
type: 'status';
|
|
797
807
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -803,7 +813,7 @@ export interface StatusDefinition {
|
|
|
803
813
|
};
|
|
804
814
|
}
|
|
805
815
|
export type StatusNode = PMNode & StatusDefinition;
|
|
806
|
-
export declare const status:
|
|
816
|
+
export declare const status: PMNodeSpecFactoryInstance<StatusNode>;
|
|
807
817
|
export interface StatusStage0Definition {
|
|
808
818
|
type: 'status';
|
|
809
819
|
marks: Array<AnnotationMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -815,7 +825,7 @@ export interface StatusStage0Definition {
|
|
|
815
825
|
};
|
|
816
826
|
}
|
|
817
827
|
export type StatusStage0Node = PMNode & StatusStage0Definition;
|
|
818
|
-
export declare const statusStage0:
|
|
828
|
+
export declare const statusStage0: PMNodeSpecFactoryInstance<StatusStage0Node>;
|
|
819
829
|
export interface SyncBlockDefinition {
|
|
820
830
|
type: 'syncBlock';
|
|
821
831
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -825,7 +835,7 @@ export interface SyncBlockDefinition {
|
|
|
825
835
|
};
|
|
826
836
|
}
|
|
827
837
|
export type SyncBlockNode = PMNode & SyncBlockDefinition;
|
|
828
|
-
export declare const syncBlock:
|
|
838
|
+
export declare const syncBlock: PMNodeSpecFactoryInstance<SyncBlockNode>;
|
|
829
839
|
export interface TableDefinition {
|
|
830
840
|
type: 'table';
|
|
831
841
|
content: Array<TableRowDefinition>;
|
|
@@ -840,7 +850,7 @@ export interface TableDefinition {
|
|
|
840
850
|
};
|
|
841
851
|
}
|
|
842
852
|
export type TableNode = PMNode & TableDefinition;
|
|
843
|
-
export declare const table:
|
|
853
|
+
export declare const table: PMNodeSpecFactoryInstance<TableNode>;
|
|
844
854
|
export interface TableWithNestedTableDefinition {
|
|
845
855
|
type: 'table';
|
|
846
856
|
content: Array<TableRowWithNestedTableDefinition>;
|
|
@@ -855,10 +865,10 @@ export interface TableWithNestedTableDefinition {
|
|
|
855
865
|
};
|
|
856
866
|
}
|
|
857
867
|
export type TableWithNestedTableNode = PMNode & TableWithNestedTableDefinition;
|
|
858
|
-
export declare const tableWithNestedTable:
|
|
868
|
+
export declare const tableWithNestedTable: PMNodeSpecFactoryInstance<TableWithNestedTableNode>;
|
|
859
869
|
export interface TableCellDefinition {
|
|
860
870
|
type: 'tableCell';
|
|
861
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition |
|
|
871
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
862
872
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
863
873
|
attrs: {
|
|
864
874
|
colspan?: number;
|
|
@@ -869,10 +879,10 @@ export interface TableCellDefinition {
|
|
|
869
879
|
};
|
|
870
880
|
}
|
|
871
881
|
export type TableCellNode = PMNode & TableCellDefinition;
|
|
872
|
-
export declare const tableCell:
|
|
882
|
+
export declare const tableCell: PMNodeSpecFactoryInstance<TableCellNode>;
|
|
873
883
|
export interface TableCellWithNestedTableDefinition {
|
|
874
884
|
type: 'tableCell';
|
|
875
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition |
|
|
885
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
876
886
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
877
887
|
attrs: {
|
|
878
888
|
colspan?: number;
|
|
@@ -883,10 +893,10 @@ export interface TableCellWithNestedTableDefinition {
|
|
|
883
893
|
};
|
|
884
894
|
}
|
|
885
895
|
export type TableCellWithNestedTableNode = PMNode & TableCellWithNestedTableDefinition;
|
|
886
|
-
export declare const tableCellWithNestedTable:
|
|
896
|
+
export declare const tableCellWithNestedTable: PMNodeSpecFactoryInstance<TableCellWithNestedTableNode>;
|
|
887
897
|
export interface TableHeaderDefinition {
|
|
888
898
|
type: 'tableHeader';
|
|
889
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition |
|
|
899
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition>;
|
|
890
900
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
891
901
|
attrs: {
|
|
892
902
|
colspan?: number;
|
|
@@ -897,10 +907,10 @@ export interface TableHeaderDefinition {
|
|
|
897
907
|
};
|
|
898
908
|
}
|
|
899
909
|
export type TableHeaderNode = PMNode & TableHeaderDefinition;
|
|
900
|
-
export declare const tableHeader:
|
|
910
|
+
export declare const tableHeader: PMNodeSpecFactoryInstance<TableHeaderNode>;
|
|
901
911
|
export interface TableHeaderWithNestedTableDefinition {
|
|
902
912
|
type: 'tableHeader';
|
|
903
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition |
|
|
913
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | CodeBlockWithExtendedAttributesStage0Definition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition>;
|
|
904
914
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
905
915
|
attrs: {
|
|
906
916
|
colspan?: number;
|
|
@@ -911,7 +921,7 @@ export interface TableHeaderWithNestedTableDefinition {
|
|
|
911
921
|
};
|
|
912
922
|
}
|
|
913
923
|
export type TableHeaderWithNestedTableNode = PMNode & TableHeaderWithNestedTableDefinition;
|
|
914
|
-
export declare const tableHeaderWithNestedTable:
|
|
924
|
+
export declare const tableHeaderWithNestedTable: PMNodeSpecFactoryInstance<TableHeaderWithNestedTableNode>;
|
|
915
925
|
export interface TableRowDefinition {
|
|
916
926
|
type: 'tableRow';
|
|
917
927
|
content: Array<TableCellDefinition | TableHeaderDefinition>;
|
|
@@ -921,7 +931,7 @@ export interface TableRowDefinition {
|
|
|
921
931
|
};
|
|
922
932
|
}
|
|
923
933
|
export type TableRowNode = PMNode & TableRowDefinition;
|
|
924
|
-
export declare const tableRow:
|
|
934
|
+
export declare const tableRow: PMNodeSpecFactoryInstance<TableRowNode>;
|
|
925
935
|
export interface TableRowWithNestedTableDefinition {
|
|
926
936
|
type: 'tableRow';
|
|
927
937
|
content: Array<TableCellWithNestedTableDefinition | TableHeaderWithNestedTableDefinition>;
|
|
@@ -931,7 +941,7 @@ export interface TableRowWithNestedTableDefinition {
|
|
|
931
941
|
};
|
|
932
942
|
}
|
|
933
943
|
export type TableRowWithNestedTableNode = PMNode & TableRowWithNestedTableDefinition;
|
|
934
|
-
export declare const tableRowWithNestedTable:
|
|
944
|
+
export declare const tableRowWithNestedTable: PMNodeSpecFactoryInstance<TableRowWithNestedTableNode>;
|
|
935
945
|
export interface TaskItemDefinition {
|
|
936
946
|
type: 'taskItem';
|
|
937
947
|
content: Array<InlineDefinition>;
|
|
@@ -942,7 +952,7 @@ export interface TaskItemDefinition {
|
|
|
942
952
|
};
|
|
943
953
|
}
|
|
944
954
|
export type TaskItemNode = PMNode & TaskItemDefinition;
|
|
945
|
-
export declare const taskItem:
|
|
955
|
+
export declare const taskItem: PMNodeSpecFactoryInstance<TaskItemNode>;
|
|
946
956
|
export interface TaskListDefinition {
|
|
947
957
|
type: 'taskList';
|
|
948
958
|
content: Array<BlockTaskItemDefinition | TaskItemDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
@@ -952,29 +962,29 @@ export interface TaskListDefinition {
|
|
|
952
962
|
};
|
|
953
963
|
}
|
|
954
964
|
export type TaskListNode = PMNode & TaskListDefinition;
|
|
955
|
-
export declare const taskList:
|
|
965
|
+
export declare const taskList: PMNodeSpecFactoryInstance<TaskListNode>;
|
|
956
966
|
export interface TextDefinition {
|
|
957
967
|
type: 'text';
|
|
958
968
|
}
|
|
959
969
|
export type TextNode = PMNode & TextDefinition;
|
|
960
|
-
export declare const text:
|
|
970
|
+
export declare const text: PMNodeSpecFactoryInstance<TextNode>;
|
|
961
971
|
export interface TextCodeInlineDefinition {
|
|
962
972
|
type: 'text';
|
|
963
973
|
marks: Array<AnnotationMark | CodeMark | LinkMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
964
974
|
}
|
|
965
975
|
export type TextCodeInlineNode = PMNode & TextCodeInlineDefinition;
|
|
966
|
-
export declare const textCodeInline:
|
|
976
|
+
export declare const textCodeInline: PMNodeSpecFactoryInstance<TextCodeInlineNode>;
|
|
967
977
|
export interface TextFormattedDefinition {
|
|
968
978
|
type: 'text';
|
|
969
979
|
marks: Array<AnnotationMark | BackgroundColorMark | ConfluenceInlineCommentMark | EmMark | LinkMark | StrikeMark | StrongMark | SubsupMark | TextColorMark | TypeAheadQueryMark | UnderlineMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
970
980
|
}
|
|
971
981
|
export type TextFormattedNode = PMNode & TextFormattedDefinition;
|
|
972
|
-
export declare const textFormatted:
|
|
982
|
+
export declare const textFormatted: PMNodeSpecFactoryInstance<TextFormattedNode>;
|
|
973
983
|
export interface TextWithNoMarksDefinition {
|
|
974
984
|
type: 'text';
|
|
975
985
|
}
|
|
976
986
|
export type TextWithNoMarksNode = PMNode & TextWithNoMarksDefinition;
|
|
977
|
-
export declare const textWithNoMarks:
|
|
987
|
+
export declare const textWithNoMarks: PMNodeSpecFactoryInstance<TextWithNoMarksNode>;
|
|
978
988
|
export interface UnsupportedBlockDefinition {
|
|
979
989
|
type: 'unsupportedBlock';
|
|
980
990
|
attrs: {
|
|
@@ -982,7 +992,7 @@ export interface UnsupportedBlockDefinition {
|
|
|
982
992
|
};
|
|
983
993
|
}
|
|
984
994
|
export type UnsupportedBlockNode = PMNode & UnsupportedBlockDefinition;
|
|
985
|
-
export declare const unsupportedBlock:
|
|
995
|
+
export declare const unsupportedBlock: PMNodeSpecFactoryInstance<UnsupportedBlockNode>;
|
|
986
996
|
export interface UnsupportedInlineDefinition {
|
|
987
997
|
type: 'unsupportedInline';
|
|
988
998
|
attrs: {
|
|
@@ -990,4 +1000,4 @@ export interface UnsupportedInlineDefinition {
|
|
|
990
1000
|
};
|
|
991
1001
|
}
|
|
992
1002
|
export type UnsupportedInlineNode = PMNode & UnsupportedInlineDefinition;
|
|
993
|
-
export declare const unsupportedInline:
|
|
1003
|
+
export declare const unsupportedInline: PMNodeSpecFactoryInstance<UnsupportedInlineNode>;
|