@atlaskit/adf-schema 37.0.2 → 37.1.19
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 +151 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +101 -31
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/inlineGroup.js +1 -1
- package/dist/cjs/next-schema/index.js +511 -0
- package/dist/cjs/next-schema/nodes/blockquote.js +3 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +6 -2
- package/dist/cjs/next-schema/nodes/codeBlock.js +10 -3
- package/dist/cjs/next-schema/nodes/date.js +2 -1
- package/dist/cjs/next-schema/nodes/emoji.js +2 -1
- package/dist/cjs/next-schema/nodes/expand.js +11 -3
- package/dist/cjs/next-schema/nodes/extension.js +5 -2
- package/dist/cjs/next-schema/nodes/heading.js +28 -5
- package/dist/cjs/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +15 -2
- package/dist/cjs/next-schema/nodes/list.js +12 -9
- package/dist/cjs/next-schema/nodes/mediaInline.js +2 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +75 -4
- package/dist/cjs/next-schema/nodes/mention.js +2 -1
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +8 -4
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/cjs/next-schema/nodes/panel.js +3 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +29 -5
- package/dist/cjs/next-schema/nodes/status.js +2 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +4 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +5 -2
- package/dist/cjs/next-schema/nodes/task.js +1 -0
- package/dist/cjs/next-schema/nodes/text.js +7 -1
- package/dist/cjs/schema/nodes/media.js +10 -4
- package/dist/cjs/schema/nodes/text.js +1 -0
- package/dist/es2019/next-schema/full-schema.adf.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +100 -30
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
- package/dist/es2019/next-schema/index.js +2 -0
- package/dist/es2019/next-schema/nodes/blockquote.js +3 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +6 -2
- package/dist/es2019/next-schema/nodes/codeBlock.js +10 -3
- package/dist/es2019/next-schema/nodes/date.js +2 -1
- package/dist/es2019/next-schema/nodes/emoji.js +2 -1
- package/dist/es2019/next-schema/nodes/expand.js +11 -3
- package/dist/es2019/next-schema/nodes/extension.js +5 -2
- package/dist/es2019/next-schema/nodes/heading.js +27 -4
- package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +15 -2
- package/dist/es2019/next-schema/nodes/list.js +12 -9
- package/dist/es2019/next-schema/nodes/mediaInline.js +2 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +76 -5
- package/dist/es2019/next-schema/nodes/mention.js +2 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +8 -4
- package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/es2019/next-schema/nodes/panel.js +3 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +29 -5
- package/dist/es2019/next-schema/nodes/status.js +2 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +4 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +5 -2
- package/dist/es2019/next-schema/nodes/task.js +1 -0
- package/dist/es2019/next-schema/nodes/text.js +7 -1
- package/dist/es2019/schema/nodes/media.js +3 -1
- package/dist/es2019/schema/nodes/text.js +1 -0
- package/dist/esm/next-schema/full-schema.adf.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +100 -30
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
- package/dist/esm/next-schema/index.js +2 -0
- package/dist/esm/next-schema/nodes/blockquote.js +3 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +6 -2
- package/dist/esm/next-schema/nodes/codeBlock.js +10 -3
- package/dist/esm/next-schema/nodes/date.js +2 -1
- package/dist/esm/next-schema/nodes/emoji.js +2 -1
- package/dist/esm/next-schema/nodes/expand.js +11 -3
- package/dist/esm/next-schema/nodes/extension.js +5 -2
- package/dist/esm/next-schema/nodes/heading.js +27 -4
- package/dist/esm/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +15 -2
- package/dist/esm/next-schema/nodes/list.js +12 -9
- package/dist/esm/next-schema/nodes/mediaInline.js +2 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +76 -5
- package/dist/esm/next-schema/nodes/mention.js +2 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +8 -4
- package/dist/esm/next-schema/nodes/nestedExpand.js +5 -1
- package/dist/esm/next-schema/nodes/panel.js +3 -0
- package/dist/esm/next-schema/nodes/paragraph.js +29 -5
- package/dist/esm/next-schema/nodes/status.js +2 -1
- package/dist/esm/next-schema/nodes/tableCell.js +4 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +5 -2
- package/dist/esm/next-schema/nodes/task.js +1 -0
- package/dist/esm/next-schema/nodes/text.js +7 -1
- package/dist/esm/schema/nodes/media.js +9 -4
- package/dist/esm/schema/nodes/text.js +1 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +18 -0
- package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +145 -96
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +128 -6
- package/dist/types/next-schema/index.d.ts +5 -0
- package/dist/types/next-schema/nodes/blockCard.d.ts +18 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +20 -1
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +20 -0
- package/dist/types/next-schema/nodes/caption.d.ts +18 -0
- package/dist/types/next-schema/nodes/codeBlock.d.ts +48 -0
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +18 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +18 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +18 -0
- package/dist/types/next-schema/nodes/date.d.ts +18 -0
- package/dist/types/next-schema/nodes/decisionItem.d.ts +18 -0
- package/dist/types/next-schema/nodes/decisionList.d.ts +18 -0
- package/dist/types/next-schema/nodes/embedCard.d.ts +18 -0
- package/dist/types/next-schema/nodes/emoji.d.ts +18 -0
- package/dist/types/next-schema/nodes/expand.d.ts +25 -0
- package/dist/types/next-schema/nodes/extension.d.ts +19 -0
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +18 -0
- package/dist/types/next-schema/nodes/hardBreak.d.ts +18 -0
- package/dist/types/next-schema/nodes/heading.d.ts +80 -0
- package/dist/types/next-schema/nodes/image.d.ts +18 -0
- package/dist/types/next-schema/nodes/inlineCard.d.ts +18 -0
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +18 -0
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +18 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +22 -0
- package/dist/types/next-schema/nodes/list.d.ts +36 -0
- package/dist/types/next-schema/nodes/media.d.ts +18 -0
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +18 -0
- package/dist/types/next-schema/nodes/mediaInline.d.ts +18 -0
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +67 -1
- package/dist/types/next-schema/nodes/mention.d.ts +18 -0
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +18 -0
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +22 -0
- package/dist/types/next-schema/nodes/panel.d.ts +22 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +29 -0
- package/dist/types/next-schema/nodes/placeholder.d.ts +18 -0
- package/dist/types/next-schema/nodes/rule.d.ts +18 -0
- package/dist/types/next-schema/nodes/status.d.ts +18 -0
- package/dist/types/next-schema/nodes/table.d.ts +18 -0
- package/dist/types/next-schema/nodes/tableCell.d.ts +18 -0
- package/dist/types/next-schema/nodes/tableHeader.d.ts +18 -0
- package/dist/types/next-schema/nodes/tableRow.d.ts +18 -0
- package/dist/types/next-schema/nodes/task.d.ts +36 -0
- package/dist/types/next-schema/nodes/text.d.ts +22 -1
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +18 -0
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +18 -0
- package/package.json +8 -3
- package/schema-generators/__tests__/unit/__fixtures__/index.fixture.ts +140 -0
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -45
- package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +88 -0
- package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +70 -61
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +152 -46
- package/schema-next/package.json +9 -0
- package/schema-generators/__tests__/unit/jqueries.md +0 -194
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +0 -2320
@@ -7,6 +7,8 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,9 +18,25 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, {
|
23
41
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
24
42
|
root?: boolean;
|
@@ -28,6 +46,8 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
28
46
|
inline?: true;
|
29
47
|
code?: boolean;
|
30
48
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
49
|
+
contentMinItems?: number;
|
50
|
+
contentMaxItems?: number;
|
31
51
|
defining?: boolean;
|
32
52
|
definingAsContext?: boolean;
|
33
53
|
definingForContent?: boolean;
|
@@ -37,12 +57,77 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
37
57
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
38
58
|
allowAnyChildMark?: boolean;
|
39
59
|
allowNoChildMark?: boolean;
|
60
|
+
noMarks?: boolean;
|
61
|
+
hasEmptyMarks?: boolean;
|
40
62
|
selectable?: boolean;
|
41
63
|
whitespace?: "pre" | "normal";
|
42
64
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
65
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
66
|
+
'pm-spec'?: {
|
67
|
+
[x: string]: {
|
68
|
+
value: any;
|
69
|
+
reason: string;
|
70
|
+
};
|
71
|
+
};
|
72
|
+
'validator-spec'?: {
|
73
|
+
[x: string]: {
|
74
|
+
value: any;
|
75
|
+
reason: string;
|
76
|
+
};
|
77
|
+
};
|
78
|
+
};
|
43
79
|
} & {
|
44
|
-
|
45
|
-
|
80
|
+
atom: false;
|
81
|
+
ignore: any[];
|
82
|
+
marks: any[];
|
83
|
+
contentMinItems: number;
|
84
|
+
contentMaxItems: number;
|
85
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOrSpec[];
|
86
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
87
|
+
'pm-spec': {
|
88
|
+
content: {
|
89
|
+
value: string;
|
90
|
+
reason: string;
|
91
|
+
};
|
92
|
+
attrs: {
|
93
|
+
value: {
|
94
|
+
layout: {
|
95
|
+
default: string;
|
96
|
+
};
|
97
|
+
width: {
|
98
|
+
default: any;
|
99
|
+
};
|
100
|
+
};
|
101
|
+
reason: string;
|
102
|
+
};
|
103
|
+
};
|
104
|
+
};
|
105
|
+
} & {
|
106
|
+
atom: false;
|
107
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[];
|
108
|
+
ignore: any[];
|
109
|
+
marks: any[];
|
110
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
111
|
+
'pm-spec': {
|
112
|
+
content: {
|
113
|
+
value: string;
|
114
|
+
reason: string;
|
115
|
+
};
|
116
|
+
};
|
117
|
+
};
|
118
|
+
} & {
|
119
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[];
|
120
|
+
ignore: any[];
|
121
|
+
marks: any[];
|
122
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
123
|
+
'pm-spec': {
|
124
|
+
content: {
|
125
|
+
value: string;
|
126
|
+
reason: string;
|
127
|
+
};
|
128
|
+
};
|
129
|
+
};
|
130
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy"], {
|
46
131
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
47
132
|
root?: boolean;
|
48
133
|
atom?: boolean;
|
@@ -51,6 +136,8 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
51
136
|
inline?: true;
|
52
137
|
code?: boolean;
|
53
138
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
139
|
+
contentMinItems?: number;
|
140
|
+
contentMaxItems?: number;
|
54
141
|
defining?: boolean;
|
55
142
|
definingAsContext?: boolean;
|
56
143
|
definingForContent?: boolean;
|
@@ -60,13 +147,29 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
60
147
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
61
148
|
allowAnyChildMark?: boolean;
|
62
149
|
allowNoChildMark?: boolean;
|
150
|
+
noMarks?: boolean;
|
151
|
+
hasEmptyMarks?: boolean;
|
63
152
|
selectable?: boolean;
|
64
153
|
whitespace?: "pre" | "normal";
|
65
154
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
155
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
156
|
+
'pm-spec'?: {
|
157
|
+
[x: string]: {
|
158
|
+
value: any;
|
159
|
+
reason: string;
|
160
|
+
};
|
161
|
+
};
|
162
|
+
'validator-spec'?: {
|
163
|
+
[x: string]: {
|
164
|
+
value: any;
|
165
|
+
reason: string;
|
166
|
+
};
|
167
|
+
};
|
168
|
+
};
|
66
169
|
} & {
|
67
|
-
|
68
|
-
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").
|
69
|
-
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<
|
170
|
+
ignore: ("json-schema" | "validator-spec")[];
|
171
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
172
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, {
|
70
173
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
71
174
|
root?: boolean;
|
72
175
|
atom?: boolean;
|
@@ -75,6 +178,8 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
75
178
|
inline?: true;
|
76
179
|
code?: boolean;
|
77
180
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
181
|
+
contentMinItems?: number;
|
182
|
+
contentMaxItems?: number;
|
78
183
|
defining?: boolean;
|
79
184
|
definingAsContext?: boolean;
|
80
185
|
definingForContent?: boolean;
|
@@ -84,9 +189,26 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
84
189
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
85
190
|
allowAnyChildMark?: boolean;
|
86
191
|
allowNoChildMark?: boolean;
|
192
|
+
noMarks?: boolean;
|
193
|
+
hasEmptyMarks?: boolean;
|
87
194
|
selectable?: boolean;
|
88
195
|
whitespace?: "pre" | "normal";
|
89
196
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
197
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
198
|
+
'pm-spec'?: {
|
199
|
+
[x: string]: {
|
200
|
+
value: any;
|
201
|
+
reason: string;
|
202
|
+
};
|
203
|
+
};
|
204
|
+
'validator-spec'?: {
|
205
|
+
[x: string]: {
|
206
|
+
value: any;
|
207
|
+
reason: string;
|
208
|
+
};
|
209
|
+
};
|
210
|
+
};
|
90
211
|
} & {
|
91
|
-
|
212
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
213
|
+
ignore: any[];
|
92
214
|
}>)[];
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { alignment, annotation, backgroundColor, border, breakout, code, confluenceInlineComment, dataConsumer, em, fragment, indentation, link, strike, strong, subsup, textColor, typeAheadQuery, underline, unsupportedMark, unsupportedNodeAttribute, } from './generated/markTypes';
|
2
|
+
export type { AlignmentDefinition, AlignmentMark, AlignmentMarkAttributes, AnnotationDefinition, AnnotationMark, AnnotationMarkAttributes, BackgroundColorDefinition, BackgroundColorMark, BackgroundColorMarkAttributes, BorderDefinition, BorderMark, BorderMarkAttributes, BreakoutDefinition, BreakoutMark, BreakoutMarkAttributes, CodeDefinition, CodeMark, ConfluenceInlineCommentDefinition, ConfluenceInlineCommentMark, ConfluenceInlineCommentMarkAttributes, DataConsumerDefinition, DataConsumerMark, DataConsumerMarkAttributes, EmDefinition, EmMark, FragmentDefinition, FragmentMark, FragmentMarkAttributes, IndentationDefinition, IndentationMark, IndentationMarkAttributes, LinkDefinition, LinkMark, LinkMarkAttributes, StrikeDefinition, StrikeMark, StrongDefinition, StrongMark, SubsupDefinition, SubsupMark, SubsupMarkAttributes, TextColorDefinition, TextColorMark, TextColorMarkAttributes, TypeAheadQueryDefinition, TypeAheadQueryMark, TypeAheadQueryMarkAttributes, UnderlineDefinition, UnderlineMark, UnsupportedMarkMarkAttributes, UnsupportedMarkDefinition, UnsupportedMarkMark, UnsupportedNodeAttributeDefinition, UnsupportedNodeAttributeMark, UnsupportedNodeAttributeMarkAttributes, } from './generated/markTypes';
|
3
|
+
export { blockCard, blockquote, blockquoteLegacy, bulletList, bodiedExtension, bodiedExtensionWithMarks, caption, codeBlock, codeBlockWithNoMarks, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, decisionItem, decisionList, doc, embedCard, emoji, expandWithNoMark, extension, extensionFrame, extensionWithMarks, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineExtensionWithMarks, layoutColumn, layoutSection, layoutSectionFull, listItem, listItemLegacy, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mention, multiBodiedExtension, nestedExpandWithNoMarks, orderedList, panel, panelLegacy, paragraph, paragraphWithAlignment, paragraphWithNoMarks, placeholder, rule, status, table, tableCell, tableHeader, tableRow, taskItem, taskList, text, textCodeInline, textFormatted, unsupportedBlock, unsupportedInline, } from './generated/nodeTypes';
|
4
|
+
export type { BlockCardDefinition, BlockCardNode, BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockWithNoMarksDefinition, CodeBlockWithNoMarksNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, ExpandDefinition, ExpandNode, ExpandWithNoMarkDefinition, ExpandWithNoMarkNode, ExtensionDefinition, ExtensionFrameDefinition, ExtensionFrameNode, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardDefinition, InlineCardNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnNode, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, ListItemDefinition, ListItemNode, ListItemLegacyDefinition, ListItemLegacyNode, MediaDefinition, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MentionDefinition, MentionNode, MultiBodiedExtensionDefinition, MultiBodiedExtensionNode, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, PanelLegacyDefinition, PanelLegacyNode, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, StatusDefinition, StatusNode, TableCellDefinition, TableCellNode, TableDefinition, TableHeaderDefinition, TableHeaderNode, TableNode, TableRowDefinition, TableRowNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextCodeInlineDefinition, TextCodeInlineNode, TextDefinition, TextFormattedDefinition, TextFormattedNode, TextNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, } from './generated/nodeTypes';
|
5
|
+
export type { BlockDefinition, BlockRootOnlyDefinition, InlineDefinition, } from './generated/nodeGroupTypes';
|
@@ -7,6 +7,8 @@ export declare const blockCard: import("@atlaskit/adf-schema-generator/dist/type
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const blockCard: import("@atlaskit/adf-schema-generator/dist/type
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
1
|
+
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy"], {
|
2
2
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
3
3
|
root?: boolean;
|
4
4
|
atom?: boolean;
|
@@ -7,6 +7,8 @@ export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/typ
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,9 +18,26 @@ export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/typ
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
} & {
|
41
|
+
ignore: ("json-schema" | "validator-spec")[];
|
23
42
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
24
43
|
}>;
|
@@ -7,6 +7,8 @@ export declare const bodiedExtension: import("@atlaskit/adf-schema-generator/dis
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,9 +18,27 @@ export declare const bodiedExtension: import("@atlaskit/adf-schema-generator/dis
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
} & {
|
23
41
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
42
|
+
content: any[];
|
43
|
+
ignore: any[];
|
24
44
|
}>;
|
@@ -7,6 +7,8 @@ export declare const caption: import("@atlaskit/adf-schema-generator/dist/types/
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const caption: import("@atlaskit/adf-schema-generator/dist/types/
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/type
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,11 +18,33 @@ export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/type
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
} & {
|
23
41
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
42
|
+
ignore: "pm-spec"[];
|
43
|
+
} & {
|
44
|
+
content: any[];
|
45
|
+
marks: any[];
|
46
|
+
noMarks: true;
|
47
|
+
ignore: any[];
|
24
48
|
}>;
|
25
49
|
export declare const codeBlockWithNoMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
26
50
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
@@ -31,6 +55,8 @@ export declare const codeBlockWithNoMarks: import("@atlaskit/adf-schema-generato
|
|
31
55
|
inline?: true;
|
32
56
|
code?: boolean;
|
33
57
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
58
|
+
contentMinItems?: number;
|
59
|
+
contentMaxItems?: number;
|
34
60
|
defining?: boolean;
|
35
61
|
definingAsContext?: boolean;
|
36
62
|
definingForContent?: boolean;
|
@@ -40,9 +66,31 @@ export declare const codeBlockWithNoMarks: import("@atlaskit/adf-schema-generato
|
|
40
66
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
41
67
|
allowAnyChildMark?: boolean;
|
42
68
|
allowNoChildMark?: boolean;
|
69
|
+
noMarks?: boolean;
|
70
|
+
hasEmptyMarks?: boolean;
|
43
71
|
selectable?: boolean;
|
44
72
|
whitespace?: "pre" | "normal";
|
45
73
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
74
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
75
|
+
'pm-spec'?: {
|
76
|
+
[x: string]: {
|
77
|
+
value: any;
|
78
|
+
reason: string;
|
79
|
+
};
|
80
|
+
};
|
81
|
+
'validator-spec'?: {
|
82
|
+
[x: string]: {
|
83
|
+
value: any;
|
84
|
+
reason: string;
|
85
|
+
};
|
86
|
+
};
|
87
|
+
};
|
46
88
|
} & {
|
47
89
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
90
|
+
ignore: "pm-spec"[];
|
91
|
+
} & {
|
92
|
+
content: any[];
|
93
|
+
marks: any[];
|
94
|
+
noMarks: true;
|
95
|
+
ignore: any[];
|
48
96
|
}>;
|
@@ -7,6 +7,8 @@ export declare const confluenceJiraIssue: import("@atlaskit/adf-schema-generator
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const confluenceJiraIssue: import("@atlaskit/adf-schema-generator
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const confluenceUnsupportedBlock: import("@atlaskit/adf-schema-ge
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const confluenceUnsupportedBlock: import("@atlaskit/adf-schema-ge
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const confluenceUnsupportedInline: import("@atlaskit/adf-schema-g
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const confluenceUnsupportedInline: import("@atlaskit/adf-schema-g
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const date: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const date: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const decisionItem: import("@atlaskit/adf-schema-generator/dist/t
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const decisionItem: import("@atlaskit/adf-schema-generator/dist/t
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|
@@ -7,6 +7,8 @@ export declare const decisionList: import("@atlaskit/adf-schema-generator/dist/t
|
|
7
7
|
inline?: true;
|
8
8
|
code?: boolean;
|
9
9
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
10
|
+
contentMinItems?: number;
|
11
|
+
contentMaxItems?: number;
|
10
12
|
defining?: boolean;
|
11
13
|
definingAsContext?: boolean;
|
12
14
|
definingForContent?: boolean;
|
@@ -16,7 +18,23 @@ export declare const decisionList: import("@atlaskit/adf-schema-generator/dist/t
|
|
16
18
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
19
|
allowAnyChildMark?: boolean;
|
18
20
|
allowNoChildMark?: boolean;
|
21
|
+
noMarks?: boolean;
|
22
|
+
hasEmptyMarks?: boolean;
|
19
23
|
selectable?: boolean;
|
20
24
|
whitespace?: "pre" | "normal";
|
21
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
+
'pm-spec'?: {
|
28
|
+
[x: string]: {
|
29
|
+
value: any;
|
30
|
+
reason: string;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
'validator-spec'?: {
|
34
|
+
[x: string]: {
|
35
|
+
value: any;
|
36
|
+
reason: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
};
|
22
40
|
}>;
|