@atlaskit/adf-schema 37.1.26 → 37.1.27
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 +6 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +6 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +6 -0
- package/package.json +1 -1
- package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +0 -2
package/CHANGELOG.md
CHANGED
@@ -20,6 +20,12 @@ var layoutSection = exports.layoutSection = (0, _adfSchemaGenerator.adfNode)('la
|
|
20
20
|
value: '(layoutColumn | unsupportedBlock){1,3} unsupportedBlock* | unsupportedBlock+',
|
21
21
|
reason: "The content expression is not correct or redundant around 'unsupportedBlock* | unsupportedBlock+'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM."
|
22
22
|
}
|
23
|
+
},
|
24
|
+
'validator-spec': {
|
25
|
+
'props.content.allowUnsupportedBlock': {
|
26
|
+
remove: true,
|
27
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
28
|
+
}
|
23
29
|
}
|
24
30
|
}
|
25
31
|
}).variant('full', {
|
@@ -14,6 +14,12 @@ export const layoutSection = adfNode('layoutSection').define({
|
|
14
14
|
value: '(layoutColumn | unsupportedBlock){1,3} unsupportedBlock* | unsupportedBlock+',
|
15
15
|
reason: `The content expression is not correct or redundant around 'unsupportedBlock* | unsupportedBlock+'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM.`
|
16
16
|
}
|
17
|
+
},
|
18
|
+
'validator-spec': {
|
19
|
+
'props.content.allowUnsupportedBlock': {
|
20
|
+
remove: true,
|
21
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
22
|
+
}
|
17
23
|
}
|
18
24
|
}
|
19
25
|
}).variant('full', {
|
@@ -14,6 +14,12 @@ export var layoutSection = adfNode('layoutSection').define({
|
|
14
14
|
value: '(layoutColumn | unsupportedBlock){1,3} unsupportedBlock* | unsupportedBlock+',
|
15
15
|
reason: "The content expression is not correct or redundant around 'unsupportedBlock* | unsupportedBlock+'. This case is not supported by the DSL. Also in JSON schema there is no range for the items, so theres a mismatch between JSON and PM."
|
16
16
|
}
|
17
|
+
},
|
18
|
+
'validator-spec': {
|
19
|
+
'props.content.allowUnsupportedBlock': {
|
20
|
+
remove: true,
|
21
|
+
reason: '@DSLCompatibilityException - mismatch for layoutSection'
|
22
|
+
}
|
17
23
|
}
|
18
24
|
}
|
19
25
|
}).variant('full', {
|
package/package.json
CHANGED
@@ -10,9 +10,7 @@ const SKIP_LIST = [
|
|
10
10
|
'expand', // doesn't match existing spec
|
11
11
|
'extensionFrame', // doesn't match existing spec
|
12
12
|
'inlineCard', // doesn't match existing spec
|
13
|
-
'inlineExtension', // doesn't exist in the output
|
14
13
|
'inline_comment_marker', // doesn't exist in the output
|
15
|
-
'layoutSection', // doesn't match existing spec, maxItem/minItem, extra marks
|
16
14
|
'layoutSection_full', // doesn't match existing spec, allowUnsupportedBlock, extra marks
|
17
15
|
'layoutSection_with_single_column', // doesn't exist in the output
|
18
16
|
'media', // doesn't match existing spec
|