@atlaskit/adf-schema 36.10.10 → 36.10.11
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 +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -0
- package/dist/es2019/next-schema/full-schema.adf.js +1 -0
- package/dist/esm/next-schema/full-schema.adf.js +1 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +1 -0
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -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 +2 -2
- package/schema-generators/__tests__/unit/jqueries.md +13 -0
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +3 -0
package/CHANGELOG.md
CHANGED
@@ -10,6 +10,7 @@ var _layoutSection = require("./nodes/layoutSection");
|
|
10
10
|
var _blockRootOnlyGroup = require("./groups/blockRootOnlyGroup");
|
11
11
|
var doc = (0, _adfSchemaGenerator.adfNode)('doc').define({
|
12
12
|
root: true,
|
13
|
+
version: 1,
|
13
14
|
content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_blockGroup.blockGroup, _layoutSection.layoutSection, _layoutSection.layoutSection.use('full'), _blockRootOnlyGroup.blockRootOnlyGroup))]
|
14
15
|
});
|
15
16
|
var _default = exports.default = doc;
|
@@ -4,6 +4,7 @@ import { layoutSection } from './nodes/layoutSection';
|
|
4
4
|
import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
|
5
5
|
const doc = adfNode('doc').define({
|
6
6
|
root: true,
|
7
|
+
version: 1,
|
7
8
|
content: [$zeroPlus($or(blockGroup, layoutSection, layoutSection.use('full'), blockRootOnlyGroup))]
|
8
9
|
});
|
9
10
|
export default doc;
|
@@ -4,6 +4,7 @@ import { layoutSection } from './nodes/layoutSection';
|
|
4
4
|
import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
|
5
5
|
var doc = adfNode('doc').define({
|
6
6
|
root: true,
|
7
|
+
version: 1,
|
7
8
|
content: [$zeroPlus($or(blockGroup, layoutSection, layoutSection.use('full'), blockRootOnlyGroup))]
|
8
9
|
});
|
9
10
|
export default doc;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
declare const doc: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -17,6 +18,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
17
18
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
18
19
|
root?: boolean;
|
19
20
|
atom?: boolean;
|
21
|
+
version?: 1;
|
20
22
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
21
23
|
inline?: true;
|
22
24
|
code?: boolean;
|
@@ -35,6 +37,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
35
37
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "caption", "full"], {
|
36
38
|
root?: boolean;
|
37
39
|
atom?: boolean;
|
40
|
+
version?: 1;
|
38
41
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
39
42
|
inline?: true;
|
40
43
|
code?: boolean;
|
@@ -54,6 +57,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
54
57
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_marks", "with_no_marks"], {
|
55
58
|
root?: boolean;
|
56
59
|
atom?: boolean;
|
60
|
+
version?: 1;
|
57
61
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
58
62
|
inline?: true;
|
59
63
|
code?: boolean;
|
@@ -76,6 +80,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
76
80
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_list"], {
|
77
81
|
root?: boolean;
|
78
82
|
atom?: boolean;
|
83
|
+
version?: 1;
|
79
84
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
80
85
|
inline?: true;
|
81
86
|
code?: boolean;
|
@@ -94,6 +99,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
94
99
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
95
100
|
root?: boolean;
|
96
101
|
atom?: boolean;
|
102
|
+
version?: 1;
|
97
103
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
98
104
|
inline?: true;
|
99
105
|
code?: boolean;
|
@@ -112,6 +118,7 @@ export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-gene
|
|
112
118
|
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
113
119
|
root?: boolean;
|
114
120
|
atom?: boolean;
|
121
|
+
version?: 1;
|
115
122
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
116
123
|
inline?: true;
|
117
124
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const blockCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const blockquote: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_list"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const bodiedExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const caption: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -20,6 +21,7 @@ export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/type
|
|
20
21
|
export declare const codeBlockWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], {
|
21
22
|
root?: boolean;
|
22
23
|
atom?: boolean;
|
24
|
+
version?: 1;
|
23
25
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
24
26
|
inline?: true;
|
25
27
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const date: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const decisionItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const decisionList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const embedCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const emoji: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_breakout_mark", "with_no_mark"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const extension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const hardBreak: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -22,6 +23,7 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
|
|
22
23
|
export declare const headingWithMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_alignment", "with_indentation", "with_no_marks"], {
|
23
24
|
root?: boolean;
|
24
25
|
atom?: boolean;
|
26
|
+
version?: 1;
|
25
27
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
26
28
|
inline?: true;
|
27
29
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const inlineCard: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_annotation"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const inlineExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const layoutColumn: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "full"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -18,6 +19,7 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
|
|
18
19
|
export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
19
20
|
root?: boolean;
|
20
21
|
atom?: boolean;
|
22
|
+
version?: 1;
|
21
23
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
22
24
|
inline?: true;
|
23
25
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const media: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const mediaSingle: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "caption", "full"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const mention: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const multiBodiedExtension: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_no_marks"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const panel: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
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
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const placeholder: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const rule: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const status: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const table: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const tableCell: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const tableHeader: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const tableRow: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
@@ -18,6 +19,7 @@ export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types
|
|
18
19
|
export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
19
20
|
root?: boolean;
|
20
21
|
atom?: boolean;
|
22
|
+
version?: 1;
|
21
23
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
22
24
|
inline?: true;
|
23
25
|
code?: boolean;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "formatted", "code_inline"], {
|
2
2
|
root?: boolean;
|
3
3
|
atom?: boolean;
|
4
|
+
version?: 1;
|
4
5
|
attrs?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFAttribute").ADFAttributes;
|
5
6
|
inline?: true;
|
6
7
|
code?: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.10.
|
3
|
+
"version": "36.10.11",
|
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/"
|
@@ -45,7 +45,7 @@
|
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@atlassian/adf-schema-json": "^1.15.0",
|
48
|
-
"@atlaskit/adf-schema-generator": "^1.8.
|
48
|
+
"@atlaskit/adf-schema-generator": "^1.8.4",
|
49
49
|
"@babel/cli": "^7.22.9",
|
50
50
|
"@babel/core": "^7.22.9",
|
51
51
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
@@ -127,3 +127,16 @@ A number of nodes have `marks` defined, yet the array is empty. Assuming this is
|
|
127
127
|
.block_content, .nestedExpand_content, .non_nestable_block_content, .table_cell_content, .inline_node,
|
128
128
|
.bodiedExtension_node.properties.marks, .codeBlock_node.properties.marks, .expand_node.properties.marks, .heading_node.properties.marks, .inlineExtension_node.properties.marks, .text_node.properties.marks, .extension_node.properties.marks, .paragraph_node.properties.marks) else . end)' | pbcopy
|
129
129
|
```
|
130
|
+
|
131
|
+
Base level content objects (not nodes) are deleted. `inline` is also deleted, as it is a content object for paragraph.
|
132
|
+
|
133
|
+
All fields of content except for type and items have been deleted as well.
|
134
|
+
|
135
|
+
A number of nodes have `marks` defined, yet the array is empty. Assuming this is redundant, I've removed them.
|
136
|
+
|
137
|
+
```sh
|
138
|
+
cat packages/adf-schema/json-schema/v1/full.json | jq 'walk(if type == "object" then del(
|
139
|
+
.required, .additionalProperties, .allOf, .content.items.anyOf?, .content.items."$ref"?, .content.items[]?, .content."$ref",
|
140
|
+
.block_content, .nestedExpand_content, .non_nestable_block_content, .table_cell_content, .inline_node,
|
141
|
+
.bodiedExtension_node.properties.marks, .codeBlock_node.properties.marks, .expand_node.properties.marks, .heading_node.properties.marks, .inlineExtension_node.properties.marks, .text_node.properties.marks, .extension_node.properties.marks, .paragraph_node.properties.marks) else . end)' | pbcopy
|
142
|
+
```
|