@atlaskit/adf-schema 37.1.33 → 37.1.34
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/layoutSection.js +12 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +12 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +12 -1
- package/dist/types/next-schema/nodes/layoutSection.d.ts +11 -0
- package/package.json +1 -1
- package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +0 -1
package/CHANGELOG.md
CHANGED
@@ -34,5 +34,16 @@ var layoutSection = exports.layoutSection = (0, _adfSchemaGenerator.adfNode)('la
|
|
34
34
|
}).variant('full', {
|
35
35
|
marks: [_breakout.breakout, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
36
36
|
content: [(0, _adfSchemaGenerator.$range)(2, 3, (0, _adfSchemaGenerator.$or)(_layoutColumn.layoutColumn, _unsupportedBlock.unsupportedBlock))],
|
37
|
-
ignore: []
|
37
|
+
ignore: [],
|
38
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
39
|
+
'validator-spec': {
|
40
|
+
'props.type': {
|
41
|
+
value: {
|
42
|
+
type: 'enum',
|
43
|
+
values: ['layoutSection']
|
44
|
+
},
|
45
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
38
49
|
});
|
@@ -28,5 +28,16 @@ export const layoutSection = adfNode('layoutSection').define({
|
|
28
28
|
}).variant('full', {
|
29
29
|
marks: [breakout, unsupportedNodeAttribute, unsupportedMark],
|
30
30
|
content: [$range(2, 3, $or(layoutColumn, unsupportedBlock))],
|
31
|
-
ignore: []
|
31
|
+
ignore: [],
|
32
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
33
|
+
'validator-spec': {
|
34
|
+
'props.type': {
|
35
|
+
value: {
|
36
|
+
type: 'enum',
|
37
|
+
values: ['layoutSection']
|
38
|
+
},
|
39
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
32
43
|
});
|
@@ -28,5 +28,16 @@ export var layoutSection = adfNode('layoutSection').define({
|
|
28
28
|
}).variant('full', {
|
29
29
|
marks: [breakout, unsupportedNodeAttribute, unsupportedMark],
|
30
30
|
content: [$range(2, 3, $or(layoutColumn, unsupportedBlock))],
|
31
|
-
ignore: []
|
31
|
+
ignore: [],
|
32
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
33
|
+
'validator-spec': {
|
34
|
+
'props.type': {
|
35
|
+
value: {
|
36
|
+
type: 'enum',
|
37
|
+
values: ['layoutSection']
|
38
|
+
},
|
39
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
32
43
|
});
|
@@ -34,4 +34,15 @@ export declare const layoutSection: import("@atlaskit/adf-schema-generator/dist/
|
|
34
34
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
35
35
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentRangeSpec[];
|
36
36
|
ignore: any[];
|
37
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
38
|
+
'validator-spec': {
|
39
|
+
'props.type': {
|
40
|
+
value: {
|
41
|
+
type: string;
|
42
|
+
values: string[];
|
43
|
+
};
|
44
|
+
reason: string;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
};
|
37
48
|
}>;
|
package/package.json
CHANGED
@@ -6,7 +6,6 @@ const newSpecs = sortNestedArrays(adfToValidatorSpec(adfNode));
|
|
6
6
|
const SKIP_LIST = [
|
7
7
|
'codeBlock', // doesn't match existing spec
|
8
8
|
'inline_comment_marker', // doesn't exist in the output
|
9
|
-
'layoutSection_full', // doesn't match existing spec, allowUnsupportedBlock, extra marks
|
10
9
|
'layoutSection_with_single_column', // doesn't exist in the output
|
11
10
|
'media', // doesn't match existing spec
|
12
11
|
'mediaInline', // doesn't match existing spec
|