@atlaskit/adf-schema 44.6.1 → 44.6.2

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
+ ## 44.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 976a85b: Remove validator spec marks override for inlineCard
8
+
3
9
  ## 44.6.1
4
10
 
5
11
  ### Patch Changes
@@ -29,18 +29,6 @@ var inlineCard = exports.inlineCard = (0, _adfSchemaGenerator.adfNode)('inlineCa
29
29
  },
30
30
  stage0: {
31
31
  marks: [_annotation.annotation, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark]
32
- },
33
- DANGEROUS_MANUAL_OVERRIDE: {
34
- 'validator-spec': {
35
- 'props.marks': {
36
- reason: '@DSLCompatibilityException - Annotation mark is in variant, but not full schema. However this has been added for compatibility with current validator.',
37
- value: {
38
- items: ['annotation'],
39
- optional: true,
40
- type: 'array'
41
- }
42
- }
43
- }
44
32
  }
45
33
  }).variant('with_annotation', {
46
34
  marks: [_annotation.annotation, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute]
@@ -766,9 +766,9 @@ var inlineCard = exports.inlineCard = {
766
766
  }
767
767
  }],
768
768
  marks: {
769
- items: ['annotation'],
769
+ type: 'array',
770
770
  optional: true,
771
- type: 'array'
771
+ items: ['annotation']
772
772
  }
773
773
  },
774
774
  required: ['attrs']
@@ -23,18 +23,6 @@ export const inlineCard = adfNode('inlineCard').define({
23
23
  },
24
24
  stage0: {
25
25
  marks: [annotation, unsupportedNodeAttribute, unsupportedMark]
26
- },
27
- DANGEROUS_MANUAL_OVERRIDE: {
28
- 'validator-spec': {
29
- 'props.marks': {
30
- reason: '@DSLCompatibilityException - Annotation mark is in variant, but not full schema. However this has been added for compatibility with current validator.',
31
- value: {
32
- items: ['annotation'],
33
- optional: true,
34
- type: 'array'
35
- }
36
- }
37
- }
38
26
  }
39
27
  }).variant('with_annotation', {
40
28
  marks: [annotation, unsupportedMark, unsupportedNodeAttribute]
@@ -760,9 +760,9 @@ export const inlineCard = {
760
760
  }
761
761
  }],
762
762
  marks: {
763
- items: ['annotation'],
763
+ type: 'array',
764
764
  optional: true,
765
- type: 'array'
765
+ items: ['annotation']
766
766
  }
767
767
  },
768
768
  required: ['attrs']
@@ -23,18 +23,6 @@ export var inlineCard = adfNode('inlineCard').define({
23
23
  },
24
24
  stage0: {
25
25
  marks: [annotation, unsupportedNodeAttribute, unsupportedMark]
26
- },
27
- DANGEROUS_MANUAL_OVERRIDE: {
28
- 'validator-spec': {
29
- 'props.marks': {
30
- reason: '@DSLCompatibilityException - Annotation mark is in variant, but not full schema. However this has been added for compatibility with current validator.',
31
- value: {
32
- items: ['annotation'],
33
- optional: true,
34
- type: 'array'
35
- }
36
- }
37
- }
38
26
  }
39
27
  }).variant('with_annotation', {
40
28
  marks: [annotation, unsupportedMark, unsupportedNodeAttribute]
@@ -760,9 +760,9 @@ export var inlineCard = {
760
760
  }
761
761
  }],
762
762
  marks: {
763
- items: ['annotation'],
763
+ type: 'array',
764
764
  optional: true,
765
- type: 'array'
765
+ items: ['annotation']
766
766
  }
767
767
  },
768
768
  required: ['attrs']
@@ -772,9 +772,9 @@ export declare const inlineCard: {
772
772
  };
773
773
  })[];
774
774
  marks: {
775
- items: string[];
776
- optional: boolean;
777
775
  type: string;
776
+ optional: boolean;
777
+ items: string[];
778
778
  };
779
779
  };
780
780
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "44.6.1",
3
+ "version": "44.6.2",
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/"