@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 37.1.34
4
+
5
+ ### Patch Changes
6
+
7
+ - 526f86e: ED-23030: Overrides layoutSection_full for validator spec
8
+
3
9
  ## 37.1.33
4
10
 
5
11
  ### Patch Changes
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "37.1.33",
3
+ "version": "37.1.34",
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/"
@@ -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