@atlaskit/adf-schema 37.1.24 → 37.1.25
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/nodes/blockCard.js +36 -2
- package/dist/cjs/next-schema/nodes/heading.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +6 -0
- package/dist/cjs/next-schema/nodes/paragraph.js +1 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +36 -2
- package/dist/es2019/next-schema/nodes/heading.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +6 -0
- package/dist/es2019/next-schema/nodes/paragraph.js +1 -1
- package/dist/esm/next-schema/nodes/blockCard.js +36 -2
- package/dist/esm/next-schema/nodes/heading.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +6 -0
- package/dist/esm/next-schema/nodes/paragraph.js +1 -1
- package/dist/types/next-schema/full-schema.adf.d.ts +2 -12
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +8 -48
- package/dist/types/next-schema/nodes/blockCard.d.ts +2 -12
- package/dist/types/next-schema/nodes/blockquote.d.ts +2 -12
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +2 -12
- package/dist/types/next-schema/nodes/caption.d.ts +2 -12
- package/dist/types/next-schema/nodes/codeBlock.d.ts +4 -24
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -12
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -12
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -12
- package/dist/types/next-schema/nodes/date.d.ts +2 -12
- package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -12
- package/dist/types/next-schema/nodes/decisionList.d.ts +2 -12
- package/dist/types/next-schema/nodes/embedCard.d.ts +2 -12
- package/dist/types/next-schema/nodes/emoji.d.ts +2 -12
- package/dist/types/next-schema/nodes/expand.d.ts +2 -12
- package/dist/types/next-schema/nodes/extension.d.ts +2 -12
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -12
- package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -12
- package/dist/types/next-schema/nodes/heading.d.ts +4 -24
- package/dist/types/next-schema/nodes/image.d.ts +2 -12
- package/dist/types/next-schema/nodes/inlineCard.d.ts +2 -12
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +2 -12
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -12
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -12
- package/dist/types/next-schema/nodes/list.d.ts +4 -24
- package/dist/types/next-schema/nodes/media.d.ts +2 -12
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -12
- package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -12
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +2 -12
- package/dist/types/next-schema/nodes/mention.d.ts +2 -12
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -12
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +2 -12
- package/dist/types/next-schema/nodes/panel.d.ts +2 -12
- package/dist/types/next-schema/nodes/paragraph.d.ts +2 -12
- package/dist/types/next-schema/nodes/placeholder.d.ts +2 -12
- package/dist/types/next-schema/nodes/rule.d.ts +2 -12
- package/dist/types/next-schema/nodes/status.d.ts +2 -12
- package/dist/types/next-schema/nodes/table.d.ts +2 -12
- package/dist/types/next-schema/nodes/tableCell.d.ts +2 -12
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -12
- package/dist/types/next-schema/nodes/tableHeader.d.ts +2 -12
- package/dist/types/next-schema/nodes/tableRow.d.ts +2 -12
- package/dist/types/next-schema/nodes/task.d.ts +4 -24
- package/dist/types/next-schema/nodes/text.d.ts +2 -12
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -12
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -12
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +0 -1
@@ -24,17 +24,7 @@ export declare const tableHeader: import("@atlaskit/adf-schema-generator/dist/ty
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
}>;
|
@@ -24,17 +24,7 @@ export declare const tableRow: import("@atlaskit/adf-schema-generator/dist/types
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
}>;
|
@@ -24,18 +24,8 @@ export declare const taskItem: import("@atlaskit/adf-schema-generator/dist/types
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
}>;
|
41
31
|
export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], {
|
@@ -64,17 +54,7 @@ export declare const taskList: import("@atlaskit/adf-schema-generator/dist/types
|
|
64
54
|
whitespace?: "pre" | "normal";
|
65
55
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
66
56
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
67
|
-
'pm-spec'?:
|
68
|
-
|
69
|
-
value: any;
|
70
|
-
reason: string;
|
71
|
-
};
|
72
|
-
};
|
73
|
-
'validator-spec'?: {
|
74
|
-
[x: string]: {
|
75
|
-
value: any;
|
76
|
-
reason: string;
|
77
|
-
};
|
78
|
-
};
|
57
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
58
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
79
59
|
};
|
80
60
|
}>;
|
@@ -24,18 +24,8 @@ export declare const text: import("@atlaskit/adf-schema-generator/dist/types/adf
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
} & {
|
41
31
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
@@ -24,17 +24,7 @@ export declare const unsupportedBlock: import("@atlaskit/adf-schema-generator/di
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
}>;
|
@@ -24,17 +24,7 @@ export declare const unsupportedInline: import("@atlaskit/adf-schema-generator/d
|
|
24
24
|
whitespace?: "pre" | "normal";
|
25
25
|
tableRole?: "table" | "row" | "cell" | "header_cell";
|
26
26
|
DANGEROUS_MANUAL_OVERRIDE?: {
|
27
|
-
'pm-spec'?:
|
28
|
-
|
29
|
-
value: any;
|
30
|
-
reason: string;
|
31
|
-
};
|
32
|
-
};
|
33
|
-
'validator-spec'?: {
|
34
|
-
[x: string]: {
|
35
|
-
value: any;
|
36
|
-
reason: string;
|
37
|
-
};
|
38
|
-
};
|
27
|
+
'pm-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
28
|
+
'validator-spec'?: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").DangerousManualOverride;
|
39
29
|
};
|
40
30
|
}>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "37.1.
|
3
|
+
"version": "37.1.25",
|
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/"
|
@@ -47,7 +47,7 @@
|
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
49
49
|
"@atlassian/adf-schema-json": "^1.16.0",
|
50
|
-
"@atlaskit/adf-schema-generator": "^1.25.
|
50
|
+
"@atlaskit/adf-schema-generator": "^1.25.4",
|
51
51
|
"@atlaskit/adf-utils": "^19.2.2",
|
52
52
|
"@atlaskit/codemod-utils": "^4.2.4",
|
53
53
|
"@atlaskit/json-schema-generator": "^3.3.9",
|
@@ -4,7 +4,6 @@ import adfNode from '../../../src/next-schema/full-schema.adf';
|
|
4
4
|
|
5
5
|
const newSpecs = sortNestedArrays(adfToValidatorSpec(adfNode));
|
6
6
|
const SKIP_LIST = [
|
7
|
-
'blockCard', // doesn't match existing spec
|
8
7
|
'caption', // doesn't match existing spec
|
9
8
|
'codeBlock', // doesn't match existing spec
|
10
9
|
'doc', // doesn't match existing spec, need to flatten groups
|