@atlaskit/adf-schema 44.5.0 → 44.6.1

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,17 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 44.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - d58545f: Alphabetically sort nodes in generated json schema & validator spec
8
+
9
+ ## 44.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - c8a4a74: Fix ADF Inconsistency for Block Card
14
+
3
15
  ## 44.5.0
4
16
 
5
17
  ### Minor Changes
@@ -28,13 +28,18 @@ var blockCard = exports.blockCard = (0, _adfSchemaGenerator.adfNode)('blockCard'
28
28
  type: 'string'
29
29
  },
30
30
  // Empty parameters object carried over from original JSON Schema.
31
- parameters: {},
31
+ parameters: {
32
+ type: 'object'
33
+ },
32
34
  views: {
33
35
  items: {
34
36
  additionalProperties: false,
35
37
  properties: {
36
38
  // Empty properties object carried over from original JSON Schema
37
- properties: {},
39
+ properties: {
40
+ optional: true,
41
+ type: 'object'
42
+ },
38
43
  type: {
39
44
  type: 'string'
40
45
  }
@@ -70,37 +75,5 @@ var blockCard = exports.blockCard = (0, _adfSchemaGenerator.adfNode)('blockCard'
70
75
  default: null
71
76
  }
72
77
  }]
73
- },
74
- DANGEROUS_MANUAL_OVERRIDE: {
75
- 'validator-spec': {
76
- 'props.attrs[0].props.datasource': {
77
- reason: '@DSLCompatibilityException - mismatch for blockcard',
78
- value: {
79
- props: {
80
- id: {
81
- type: 'string'
82
- },
83
- parameters: {
84
- type: 'object'
85
- },
86
- views: {
87
- items: [{
88
- props: {
89
- properties: {
90
- optional: true,
91
- type: 'object'
92
- },
93
- type: {
94
- type: 'string'
95
- }
96
- }
97
- }],
98
- minItems: 1,
99
- type: 'array'
100
- }
101
- }
102
- }
103
- }
104
- }
105
78
  }
106
79
  });