@atlaskit/adf-schema 36.14.1 → 36.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +1 -0
- package/dist/cjs/next-schema/nodes/blockCard.js +1 -0
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +1 -0
- package/dist/cjs/next-schema/nodes/caption.js +1 -0
- package/dist/cjs/next-schema/nodes/decisionItem.js +1 -0
- package/dist/cjs/next-schema/nodes/extension.js +1 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +1 -0
- package/dist/cjs/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/cjs/next-schema/nodes/mediaInline.js +1 -0
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +1 -0
- package/dist/cjs/next-schema/nodes/placeholder.js +1 -0
- package/dist/cjs/next-schema/nodes/task.js +1 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +1 -0
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -0
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +1 -0
- package/dist/es2019/next-schema/nodes/caption.js +1 -0
- package/dist/es2019/next-schema/nodes/decisionItem.js +1 -0
- package/dist/es2019/next-schema/nodes/extension.js +1 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +1 -0
- package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -0
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +1 -0
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -0
- package/dist/es2019/next-schema/nodes/task.js +1 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +1 -0
- package/dist/esm/next-schema/nodes/blockCard.js +1 -0
- package/dist/esm/next-schema/nodes/bodiedExtension.js +1 -0
- package/dist/esm/next-schema/nodes/caption.js +1 -0
- package/dist/esm/next-schema/nodes/decisionItem.js +1 -0
- package/dist/esm/next-schema/nodes/extension.js +1 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +1 -0
- package/dist/esm/next-schema/nodes/inlineExtension.js +1 -0
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -0
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +1 -0
- package/dist/esm/next-schema/nodes/placeholder.js +1 -0
- package/dist/esm/next-schema/nodes/task.js +1 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +3 -0
- package/dist/types/next-schema/generated/nodeTypes.d.ts +81 -41
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +12 -0
- package/dist/types/next-schema/nodes/blockCard.d.ts +3 -0
- package/dist/types/next-schema/nodes/blockquote.d.ts +3 -0
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +3 -0
- package/dist/types/next-schema/nodes/caption.d.ts +3 -0
- package/dist/types/next-schema/nodes/codeBlock.d.ts +6 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +3 -0
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +3 -0
- package/dist/types/next-schema/nodes/date.d.ts +3 -0
- package/dist/types/next-schema/nodes/decisionItem.d.ts +3 -0
- package/dist/types/next-schema/nodes/decisionList.d.ts +3 -0
- package/dist/types/next-schema/nodes/embedCard.d.ts +3 -0
- package/dist/types/next-schema/nodes/emoji.d.ts +3 -0
- package/dist/types/next-schema/nodes/expand.d.ts +3 -0
- package/dist/types/next-schema/nodes/extension.d.ts +3 -0
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +3 -0
- package/dist/types/next-schema/nodes/hardBreak.d.ts +3 -0
- package/dist/types/next-schema/nodes/heading.d.ts +3 -0
- package/dist/types/next-schema/nodes/inlineCard.d.ts +3 -0
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +3 -0
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +3 -0
- package/dist/types/next-schema/nodes/layoutSection.d.ts +3 -0
- package/dist/types/next-schema/nodes/list.d.ts +6 -0
- package/dist/types/next-schema/nodes/media.d.ts +3 -0
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +3 -0
- package/dist/types/next-schema/nodes/mediaInline.d.ts +3 -0
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +3 -0
- package/dist/types/next-schema/nodes/mention.d.ts +3 -0
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +3 -0
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +3 -0
- package/dist/types/next-schema/nodes/panel.d.ts +3 -0
- package/dist/types/next-schema/nodes/paragraph.d.ts +3 -0
- package/dist/types/next-schema/nodes/placeholder.d.ts +3 -0
- package/dist/types/next-schema/nodes/rule.d.ts +3 -0
- package/dist/types/next-schema/nodes/status.d.ts +3 -0
- package/dist/types/next-schema/nodes/table.d.ts +3 -0
- package/dist/types/next-schema/nodes/tableCell.d.ts +3 -0
- package/dist/types/next-schema/nodes/tableHeader.d.ts +3 -0
- package/dist/types/next-schema/nodes/tableRow.d.ts +3 -0
- package/dist/types/next-schema/nodes/task.d.ts +6 -0
- package/dist/types/next-schema/nodes/text.d.ts +3 -0
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +3 -0
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +3 -0
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/json-full-schema.unit.ts +9 -3
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +0 -5
@@ -14,6 +14,9 @@ export declare const caption: import("@atlaskit/adf-schema-generator/dist/types/
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
}>;
|
@@ -35,8 +38,11 @@ export declare const codeBlockWithNoMarks: import("@atlaskit/adf-schema-generato
|
|
35
38
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
36
39
|
isolating?: boolean;
|
37
40
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
41
|
+
allowAnyChildMark?: boolean;
|
42
|
+
allowNoChildMark?: boolean;
|
38
43
|
selectable?: boolean;
|
39
44
|
whitespace?: "pre" | "normal";
|
45
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
40
46
|
} & {
|
41
47
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
42
48
|
}>;
|
@@ -14,6 +14,9 @@ export declare const confluenceUnsupportedBlock: import("@atlaskit/adf-schema-ge
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const confluenceUnsupportedInline: import("@atlaskit/adf-schema-g
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const date: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const decisionItem: import("@atlaskit/adf-schema-generator/dist/t
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const decisionList: import("@atlaskit/adf-schema-generator/dist/t
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const embedCard: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const emoji: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const expand: import("@atlaskit/adf-schema-generator/dist/types/a
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
}>;
|
@@ -14,8 +14,11 @@ export declare const extension: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
}>;
|
@@ -14,6 +14,9 @@ export declare const extensionFrame: import("@atlaskit/adf-schema-generator/dist
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const hardBreak: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const heading: import("@atlaskit/adf-schema-generator/dist/types/
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
} & {
|
@@ -14,8 +14,11 @@ export declare const inlineCard: import("@atlaskit/adf-schema-generator/dist/typ
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
}>;
|
@@ -14,8 +14,11 @@ export declare const inlineExtension: import("@atlaskit/adf-schema-generator/dis
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
}>;
|
@@ -14,6 +14,9 @@ export declare const layoutColumn: import("@atlaskit/adf-schema-generator/dist/t
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const orderedList: import("@atlaskit/adf-schema-generator/dist/ty
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
20
23
|
export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
21
24
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
@@ -33,6 +36,9 @@ export declare const bulletList: import("@atlaskit/adf-schema-generator/dist/typ
|
|
33
36
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
34
37
|
isolating?: boolean;
|
35
38
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
39
|
+
allowAnyChildMark?: boolean;
|
40
|
+
allowNoChildMark?: boolean;
|
36
41
|
selectable?: boolean;
|
37
42
|
whitespace?: "pre" | "normal";
|
43
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
38
44
|
}>;
|
@@ -14,6 +14,9 @@ export declare const media: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const mediaGroup: import("@atlaskit/adf-schema-generator/dist/typ
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const mediaInline: import("@atlaskit/adf-schema-generator/dist/ty
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const mediaSingle: import("@atlaskit/adf-schema-generator/dist/ty
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
atom: false;
|
21
24
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOrSpec[];
|
@@ -14,6 +14,9 @@ export declare const mention: import("@atlaskit/adf-schema-generator/dist/types/
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const multiBodiedExtension: import("@atlaskit/adf-schema-generato
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const nestedExpand: import("@atlaskit/adf-schema-generator/dist/t
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const panel: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const paragraph: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
} & {
|
@@ -14,6 +14,9 @@ export declare const placeholder: import("@atlaskit/adf-schema-generator/dist/ty
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const rule: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const status: import("@atlaskit/adf-schema-generator/dist/types/a
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const table: import("@atlaskit/adf-schema-generator/dist/types/ad
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const tableCell: import("@atlaskit/adf-schema-generator/dist/type
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const tableHeader: import("@atlaskit/adf-schema-generator/dist/ty
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const tableRow: import("@atlaskit/adf-schema-generator/dist/types
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,8 +14,11 @@ export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
20
23
|
export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
21
24
|
ignore?: import("@atlaskit/adf-schema-generator/dist/types/transforms/transformerNames").TransformerNames[];
|
@@ -33,6 +36,9 @@ export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types
|
|
33
36
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
34
37
|
isolating?: boolean;
|
35
38
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
39
|
+
allowAnyChildMark?: boolean;
|
40
|
+
allowNoChildMark?: boolean;
|
36
41
|
selectable?: boolean;
|
37
42
|
whitespace?: "pre" | "normal";
|
43
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
38
44
|
}>;
|
@@ -14,8 +14,11 @@ export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
} & {
|
20
23
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
21
24
|
} & {
|
@@ -14,6 +14,9 @@ export declare const unsupportedBlock: import("@atlaskit/adf-schema-generator/di
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
@@ -14,6 +14,9 @@ export declare const unsupportedInline: import("@atlaskit/adf-schema-generator/d
|
|
14
14
|
group?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeGroup").ADFNodeGroup;
|
15
15
|
isolating?: boolean;
|
16
16
|
marks?: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<unknown>[];
|
17
|
+
allowAnyChildMark?: boolean;
|
18
|
+
allowNoChildMark?: boolean;
|
17
19
|
selectable?: boolean;
|
18
20
|
whitespace?: "pre" | "normal";
|
21
|
+
tableRole?: "table" | "row" | "cell" | "header_cell";
|
19
22
|
}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "36.
|
3
|
+
"version": "36.16.0",
|
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/"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@atlassian/adf-schema-json": "^1.15.0",
|
47
|
-
"@atlaskit/adf-schema-generator": "^1.
|
47
|
+
"@atlaskit/adf-schema-generator": "^1.15.0",
|
48
48
|
"@atlaskit/codemod-utils": "^4.2.4",
|
49
49
|
"@atlaskit/json-schema-generator": "^3.3.9",
|
50
50
|
"@babel/cli": "^7.22.9",
|
@@ -144,7 +144,9 @@ const jsonWithTypes = {
|
|
144
144
|
{
|
145
145
|
additionalProperties: false,
|
146
146
|
properties: {
|
147
|
-
data: {
|
147
|
+
data: {
|
148
|
+
type: 'object',
|
149
|
+
},
|
148
150
|
},
|
149
151
|
required: ['data'],
|
150
152
|
type: 'object',
|
@@ -646,7 +648,9 @@ const jsonWithTypes = {
|
|
646
648
|
{
|
647
649
|
additionalProperties: false,
|
648
650
|
properties: {
|
649
|
-
data: {
|
651
|
+
data: {
|
652
|
+
type: 'object',
|
653
|
+
},
|
650
654
|
},
|
651
655
|
required: ['data'],
|
652
656
|
type: 'object',
|
@@ -831,7 +835,9 @@ const jsonWithTypes = {
|
|
831
835
|
collection: {
|
832
836
|
type: 'string',
|
833
837
|
},
|
834
|
-
data: {
|
838
|
+
data: {
|
839
|
+
type: 'object',
|
840
|
+
},
|
835
841
|
height: {
|
836
842
|
type: 'number',
|
837
843
|
},
|
@@ -111,11 +111,6 @@ expect.extend({
|
|
111
111
|
}),
|
112
112
|
};
|
113
113
|
|
114
|
-
if (formattedExpected.marks === '') {
|
115
|
-
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
|
116
|
-
delete formattedExpected['marks'];
|
117
|
-
}
|
118
|
-
|
119
114
|
const pass = this.equals(formattedActual, formattedExpected);
|
120
115
|
return {
|
121
116
|
pass,
|