@atlaskit/adf-schema 37.0.3 → 37.1.20
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 +153 -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 +20 -8
- package/dist/cjs/next-schema/marks/link.js +2 -1
- 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/embedCard.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 +1 -1
- package/dist/es2019/next-schema/marks/link.js +2 -1
- 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/embedCard.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 +1 -1
- package/dist/esm/next-schema/marks/link.js +2 -1
- 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/embedCard.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 +2 -2
- 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 +85 -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-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 embedCard: 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 embedCard: 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
|
}>;
|
@@ -7,6 +7,8 @@ export declare const emoji: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 emoji: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 expand: import("@atlaskit/adf-schema-generator/dist/types/a
|
|
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,32 @@ export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/a
|
|
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: "pm-spec"[];
|
44
|
+
} & {
|
45
|
+
content: any[];
|
46
|
+
marks: any[];
|
47
|
+
noMarks: true;
|
48
|
+
ignore: any[];
|
24
49
|
}>;
|
@@ -7,6 +7,8 @@ export declare const extension: 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,9 +18,26 @@ export declare const extension: 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: any[];
|
24
43
|
}>;
|
@@ -7,6 +7,8 @@ export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist
|
|
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 extensionFrame: import("@atlaskit/adf-schema-generator/dist
|
|
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 hardBreak: 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 hardBreak: 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
|
}>;
|
@@ -7,6 +7,8 @@ export declare const heading: 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,11 +18,89 @@ export declare const heading: 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
|
} & {
|
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
|
} & {
|
25
45
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
46
|
+
content: any[];
|
47
|
+
ignore: any[];
|
48
|
+
} & {
|
49
|
+
content: any[];
|
50
|
+
marks: any[];
|
51
|
+
noMarks: true;
|
52
|
+
ignore: any[];
|
53
|
+
}>;
|
54
|
+
export declare const headingWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
55
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
56
|
+
root?: boolean;
|
57
|
+
atom?: boolean;
|
58
|
+
version?: 1;
|
59
|
+
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
60
|
+
inline?: true;
|
61
|
+
code?: boolean;
|
62
|
+
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
63
|
+
contentMinItems?: number;
|
64
|
+
contentMaxItems?: number;
|
65
|
+
defining?: boolean;
|
66
|
+
definingAsContext?: boolean;
|
67
|
+
definingForContent?: boolean;
|
68
|
+
draggable?: boolean;
|
69
|
+
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
70
|
+
isolating?: boolean;
|
71
|
+
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
72
|
+
allowAnyChildMark?: boolean;
|
73
|
+
allowNoChildMark?: boolean;
|
74
|
+
noMarks?: boolean;
|
75
|
+
hasEmptyMarks?: boolean;
|
76
|
+
selectable?: boolean;
|
77
|
+
whitespace?: "pre" | "normal";
|
78
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
79
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
80
|
+
'pm-spec'?: {
|
81
|
+
[x: string]: {
|
82
|
+
value: any;
|
83
|
+
reason: string;
|
84
|
+
};
|
85
|
+
};
|
86
|
+
'validator-spec'?: {
|
87
|
+
[x: string]: {
|
88
|
+
value: any;
|
89
|
+
reason: string;
|
90
|
+
};
|
91
|
+
};
|
92
|
+
};
|
93
|
+
} & {
|
94
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
95
|
+
content: any[];
|
96
|
+
ignore: any[];
|
97
|
+
} & {
|
98
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
99
|
+
content: any[];
|
100
|
+
ignore: any[];
|
101
|
+
} & {
|
102
|
+
content: any[];
|
103
|
+
marks: any[];
|
104
|
+
noMarks: true;
|
105
|
+
ignore: any[];
|
26
106
|
}>;
|
@@ -7,6 +7,8 @@ export declare const image: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 image: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 inlineCard: 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,25 @@ export declare const inlineCard: 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
|
} & {
|
23
41
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
24
42
|
}>;
|
@@ -7,6 +7,8 @@ export declare const inlineExtension: 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,25 @@ export declare const inlineExtension: 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>[];
|
24
42
|
}>;
|
@@ -7,6 +7,8 @@ export declare const layoutColumn: 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 layoutColumn: 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 layoutSection: import("@atlaskit/adf-schema-generator/dist/
|
|
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,27 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
|
|
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
|
+
};
|
40
|
+
} & {
|
41
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
42
|
+
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[];
|
43
|
+
ignore: any[];
|
22
44
|
}>;
|
@@ -7,6 +7,8 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
|
|
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 orderedList: import("@atlaskit/adf-schema-generator/dist/ty
|
|
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
|
export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
24
42
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
@@ -29,6 +47,8 @@ export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/typ
|
|
29
47
|
inline?: true;
|
30
48
|
code?: boolean;
|
31
49
|
content?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentSpec[];
|
50
|
+
contentMinItems?: number;
|
51
|
+
contentMaxItems?: number;
|
32
52
|
defining?: boolean;
|
33
53
|
definingAsContext?: boolean;
|
34
54
|
definingForContent?: boolean;
|
@@ -38,7 +58,23 @@ export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/typ
|
|
38
58
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
39
59
|
allowAnyChildMark?: boolean;
|
40
60
|
allowNoChildMark?: boolean;
|
61
|
+
noMarks?: boolean;
|
62
|
+
hasEmptyMarks?: boolean;
|
41
63
|
selectable?: boolean;
|
42
64
|
whitespace?: "pre" | "normal";
|
43
65
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
66
|
+
DANGEROUS_MANUAL_OVERRIDE?: {
|
67
|
+
'pm-spec'?: {
|
68
|
+
[x: string]: {
|
69
|
+
value: any;
|
70
|
+
reason: string;
|
71
|
+
};
|
72
|
+
};
|
73
|
+
'validator-spec'?: {
|
74
|
+
[x: string]: {
|
75
|
+
value: any;
|
76
|
+
reason: string;
|
77
|
+
};
|
78
|
+
};
|
79
|
+
};
|
44
80
|
}>;
|
@@ -7,6 +7,8 @@ export declare const media: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 media: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
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 mediaGroup: 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,7 +18,23 @@ export declare const mediaGroup: 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
|
}>;
|
@@ -7,6 +7,8 @@ export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/ty
|
|
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 mediaInline: import("@atlaskit/adf-schema-generator/dist/ty
|
|
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
|
}>;
|