@atlaskit/adf-schema 36.12.0 → 36.12.2
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 +13 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/nodes/blockCard.js +5 -5
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/codeBlock.js +2 -1
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/inlineCard.js +0 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/list.js +2 -1
- package/dist/cjs/next-schema/nodes/media.js +11 -11
- package/dist/cjs/next-schema/nodes/mediaInline.js +2 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +8 -9
- package/dist/cjs/next-schema/nodes/table.js +3 -1
- package/dist/cjs/next-schema/nodes/tableRow.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +2 -2
- package/dist/es2019/next-schema/nodes/blockCard.js +5 -5
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/codeBlock.js +2 -1
- package/dist/es2019/next-schema/nodes/extension.js +2 -2
- package/dist/es2019/next-schema/nodes/inlineCard.js +0 -2
- package/dist/es2019/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/list.js +2 -1
- package/dist/es2019/next-schema/nodes/media.js +11 -11
- package/dist/es2019/next-schema/nodes/mediaInline.js +2 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +8 -9
- package/dist/es2019/next-schema/nodes/table.js +3 -1
- package/dist/es2019/next-schema/nodes/tableRow.js +2 -2
- package/dist/esm/next-schema/full-schema.adf.js +2 -2
- package/dist/esm/next-schema/nodes/blockCard.js +5 -5
- package/dist/esm/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/esm/next-schema/nodes/codeBlock.js +2 -1
- package/dist/esm/next-schema/nodes/extension.js +2 -2
- package/dist/esm/next-schema/nodes/inlineCard.js +0 -2
- package/dist/esm/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/esm/next-schema/nodes/list.js +2 -1
- package/dist/esm/next-schema/nodes/media.js +11 -11
- package/dist/esm/next-schema/nodes/mediaInline.js +2 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +8 -9
- package/dist/esm/next-schema/nodes/table.js +3 -1
- package/dist/esm/next-schema/nodes/tableRow.js +2 -2
- package/dist/types/next-schema/full-schema.adf.d.ts +1 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +4 -0
- package/dist/types/next-schema/nodes/blockCard.d.ts +1 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +1 -0
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +1 -0
- package/dist/types/next-schema/nodes/caption.d.ts +1 -0
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -0
- package/dist/types/next-schema/nodes/date.d.ts +1 -0
- package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -0
- package/dist/types/next-schema/nodes/decisionList.d.ts +1 -0
- package/dist/types/next-schema/nodes/embedCard.d.ts +1 -0
- package/dist/types/next-schema/nodes/emoji.d.ts +1 -0
- package/dist/types/next-schema/nodes/expand.d.ts +1 -0
- package/dist/types/next-schema/nodes/extension.d.ts +1 -0
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -0
- package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -0
- package/dist/types/next-schema/nodes/heading.d.ts +2 -0
- package/dist/types/next-schema/nodes/inlineCard.d.ts +1 -0
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +1 -0
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +1 -0
- package/dist/types/next-schema/nodes/list.d.ts +2 -0
- package/dist/types/next-schema/nodes/media.d.ts +1 -0
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -0
- package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -0
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -0
- package/dist/types/next-schema/nodes/mention.d.ts +1 -0
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -0
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -0
- package/dist/types/next-schema/nodes/panel.d.ts +1 -0
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -0
- package/dist/types/next-schema/nodes/placeholder.d.ts +1 -0
- package/dist/types/next-schema/nodes/rule.d.ts +1 -0
- package/dist/types/next-schema/nodes/status.d.ts +1 -0
- package/dist/types/next-schema/nodes/table.d.ts +1 -0
- package/dist/types/next-schema/nodes/tableCell.d.ts +1 -0
- package/dist/types/next-schema/nodes/tableHeader.d.ts +1 -0
- package/dist/types/next-schema/nodes/tableRow.d.ts +1 -0
- package/dist/types/next-schema/nodes/task.d.ts +2 -0
- package/dist/types/next-schema/nodes/text.d.ts +1 -0
- package/package.json +5 -4
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +86 -44
- package/schema-generators/__tests__/unit/jqueries.md +13 -0
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +103 -0
@@ -12,6 +12,11 @@ export var media = adfNode('media').define({
|
|
12
12
|
values: ['link', 'file'],
|
13
13
|
default: 'file'
|
14
14
|
},
|
15
|
+
id: {
|
16
|
+
minLength: 1,
|
17
|
+
type: 'string',
|
18
|
+
default: ''
|
19
|
+
},
|
15
20
|
alt: {
|
16
21
|
type: 'string',
|
17
22
|
default: '',
|
@@ -21,11 +26,6 @@ export var media = adfNode('media').define({
|
|
21
26
|
type: 'string',
|
22
27
|
default: ''
|
23
28
|
},
|
24
|
-
id: {
|
25
|
-
minLength: 1,
|
26
|
-
type: 'string',
|
27
|
-
default: ''
|
28
|
-
},
|
29
29
|
height: {
|
30
30
|
type: 'number',
|
31
31
|
default: null,
|
@@ -78,6 +78,11 @@ export var media = adfNode('media').define({
|
|
78
78
|
optional: true
|
79
79
|
}
|
80
80
|
}, {
|
81
|
+
type: {
|
82
|
+
type: 'enum',
|
83
|
+
values: ['external'],
|
84
|
+
default: 'file'
|
85
|
+
},
|
81
86
|
alt: {
|
82
87
|
type: 'string',
|
83
88
|
default: '',
|
@@ -96,12 +101,7 @@ export var media = adfNode('media').define({
|
|
96
101
|
url: {
|
97
102
|
type: 'string',
|
98
103
|
default: null,
|
99
|
-
optional:
|
100
|
-
},
|
101
|
-
type: {
|
102
|
-
type: 'enum',
|
103
|
-
values: ['external'],
|
104
|
-
default: 'file'
|
104
|
+
optional: false
|
105
105
|
}
|
106
106
|
}]
|
107
107
|
}
|
@@ -17,7 +17,8 @@ export var mediaSingle = adfNode('mediaSingle').define({
|
|
17
17
|
},
|
18
18
|
layout: {
|
19
19
|
type: 'enum',
|
20
|
-
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start']
|
20
|
+
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start'],
|
21
|
+
default: 'center'
|
21
22
|
},
|
22
23
|
widthType: {
|
23
24
|
type: 'enum',
|
@@ -29,19 +30,17 @@ export var mediaSingle = adfNode('mediaSingle').define({
|
|
29
30
|
width: {
|
30
31
|
type: 'number',
|
31
32
|
minimum: 0,
|
32
|
-
default: null
|
33
|
-
|
33
|
+
default: null
|
34
|
+
},
|
35
|
+
widthType: {
|
36
|
+
type: 'enum',
|
37
|
+
values: ['pixel'],
|
38
|
+
default: 'pixel'
|
34
39
|
},
|
35
40
|
layout: {
|
36
41
|
type: 'enum',
|
37
42
|
values: ['wide', 'full-width', 'center', 'wrap-right', 'wrap-left', 'align-end', 'align-start'],
|
38
43
|
default: 'center'
|
39
|
-
},
|
40
|
-
widthType: {
|
41
|
-
type: 'enum',
|
42
|
-
values: ['pixel'],
|
43
|
-
default: 'pixel',
|
44
|
-
optional: true
|
45
44
|
}
|
46
45
|
}]
|
47
46
|
}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { $
|
1
|
+
import { $onePlus, $or, adfNode } from '@atlaskit/adf-schema-generator';
|
2
2
|
import { tableCell } from './tableCell';
|
3
3
|
import { tableHeader } from './tableHeader';
|
4
4
|
export var tableRow = adfNode('tableRow').define({
|
5
5
|
selectable: false,
|
6
|
-
content: [$
|
6
|
+
content: [$onePlus($or(tableCell, tableHeader))]
|
7
7
|
});
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -16,6 +17,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
16
17
|
selectable?: boolean;
|
17
18
|
whitespace?: "pre" | "normal";
|
18
19
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, {
|
20
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
19
21
|
root?: boolean;
|
20
22
|
atom?: boolean;
|
21
23
|
version?: 1;
|
@@ -35,6 +37,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
35
37
|
} & {
|
36
38
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
37
39
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, {
|
40
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
38
41
|
root?: boolean;
|
39
42
|
atom?: boolean;
|
40
43
|
version?: 1;
|
@@ -55,6 +58,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
55
58
|
atom: false;
|
56
59
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOrSpec[];
|
57
60
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_list"], {
|
61
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
58
62
|
root?: boolean;
|
59
63
|
atom?: boolean;
|
60
64
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const blockCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_list"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const bodiedExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -19,6 +20,7 @@ export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/type
|
|
19
20
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
20
21
|
}>;
|
21
22
|
export declare const codeBlockWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
23
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
22
24
|
root?: boolean;
|
23
25
|
atom?: boolean;
|
24
26
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const decisionItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const decisionList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const embedCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_breakout_mark", "with_no_mark"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const extension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const hardBreak: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -21,6 +22,7 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
|
|
21
22
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
22
23
|
}>;
|
23
24
|
export declare const headingWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
25
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
24
26
|
root?: boolean;
|
25
27
|
atom?: boolean;
|
26
28
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const inlineCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_annotation"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const inlineExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const layoutColumn: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "full"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -17,6 +18,7 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
|
|
17
18
|
whitespace?: "pre" | "normal";
|
18
19
|
}>;
|
19
20
|
export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
21
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
20
22
|
root?: boolean;
|
21
23
|
atom?: boolean;
|
22
24
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const mediaSingle: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "caption", "full"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const multiBodiedExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_no_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const paragraph: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_marks", "with_no_marks"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const placeholder: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const tableCell: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const tableHeader: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const tableRow: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
@@ -17,6 +18,7 @@ export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types
|
|
17
18
|
whitespace?: "pre" | "normal";
|
18
19
|
}>;
|
19
20
|
export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
21
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
20
22
|
root?: boolean;
|
21
23
|
atom?: boolean;
|
22
24
|
version?: 1;
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "formatted", "code_inline"], {
|
2
|
+
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
2
3
|
root?: boolean;
|
3
4
|
atom?: boolean;
|
4
5
|
version?: 1;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.12.
|
3
|
+
"version": "36.12.2",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -22,6 +22,7 @@
|
|
22
22
|
"ak-postbuild": "yarn build:json-schema",
|
23
23
|
"test": "yarn test:unit",
|
24
24
|
"test:unit": "yarn workspace @atlaskit/editor-prosemirror build && jest --testPathPattern=packages/adf-schema/ --config=../../jest.config.js",
|
25
|
+
"test:json-schema": "yarn run jest --expand --testPathPattern=packages/adf-schema/schema-generators/__tests__/unit/json-full-schema.unit.ts --config=../../jest.config.js",
|
25
26
|
"build:cjs": "NODE_ENV=production BABEL_ENV=production:node-cjs babel --config-file ../../babel.config.js src --out-dir dist/cjs -x .ts,.tsx",
|
26
27
|
"build:esm": "NODE_ENV=production BABEL_ENV=production:esm babel --config-file ../../babel.config.js src -d dist/esm -x .ts,.tsx",
|
27
28
|
"build:es2019": "NODE_ENV=production BABEL_ENV=production:es2019 babel --config-file ../../babel.config.js src -d dist/es2019 -x .ts,.tsx",
|
@@ -35,9 +36,7 @@
|
|
35
36
|
"link:afe": "yarn build:all && node ./copy-dist-to-afe.js"
|
36
37
|
},
|
37
38
|
"dependencies": {
|
38
|
-
"@atlaskit/codemod-utils": "^4.2.0",
|
39
39
|
"@atlaskit/editor-prosemirror": "*",
|
40
|
-
"@atlaskit/json-schema-generator": "^3.3.6",
|
41
40
|
"@babel/runtime": "^7.0.0",
|
42
41
|
"css-color-names": "0.0.4",
|
43
42
|
"linkify-it": "^2.0.3",
|
@@ -45,7 +44,9 @@
|
|
45
44
|
},
|
46
45
|
"devDependencies": {
|
47
46
|
"@atlassian/adf-schema-json": "^1.15.0",
|
48
|
-
"@atlaskit/adf-schema-generator": "^1.
|
47
|
+
"@atlaskit/adf-schema-generator": "^1.11.1",
|
48
|
+
"@atlaskit/codemod-utils": "^4.2.4",
|
49
|
+
"@atlaskit/json-schema-generator": "^3.3.9",
|
49
50
|
"@babel/cli": "^7.22.9",
|
50
51
|
"@babel/core": "^7.22.9",
|
51
52
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|