@atlaskit/adf-utils 17.0.0 → 17.1.0

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,15 @@
1
1
  # @atlaskit/adf-utils
2
2
 
3
+ ## 17.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4d8c675bd2a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4d8c675bd2a) - EDM-3779 Hotfix: Extend Media Inline ADF Schema to have type attribute
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 17.0.0
4
14
 
5
15
  ### Major Changes
@@ -16,6 +16,11 @@ var _default = {
16
16
  type: 'object',
17
17
  optional: true
18
18
  },
19
+ type: {
20
+ type: 'enum',
21
+ values: ['link', 'file'],
22
+ optional: true
23
+ },
19
24
  id: {
20
25
  type: 'string',
21
26
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,6 +10,11 @@ export default {
10
10
  type: 'object',
11
11
  optional: true
12
12
  },
13
+ type: {
14
+ type: 'enum',
15
+ values: ['link', 'file'],
16
+ optional: true
17
+ },
13
18
  id: {
14
19
  type: 'string',
15
20
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,6 +10,11 @@ export default {
10
10
  type: 'object',
11
11
  optional: true
12
12
  },
13
+ type: {
14
+ type: 'enum',
15
+ values: ['link', 'file'],
16
+ optional: true
17
+ },
13
18
  id: {
14
19
  type: 'string',
15
20
  minLength: 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,6 +10,11 @@ declare const _default: {
10
10
  type: string;
11
11
  optional: boolean;
12
12
  };
13
+ type: {
14
+ type: string;
15
+ values: string[];
16
+ optional: boolean;
17
+ };
13
18
  id: {
14
19
  type: string;
15
20
  minLength: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-utils",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "description": "Set of utilities to traverse, modify and create ADF documents.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,7 @@
33
33
  "generate:spec": "rm -rf ./src/validator/specs/ && ../json-schema-generator/bin.js --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^23.1.0",
36
+ "@atlaskit/adf-schema": "^23.2.0",
37
37
  "@atlaskit/codemod-utils": "^4.1.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
package/report.api.md ADDED
@@ -0,0 +1,7 @@
1
+ ## API Report File for "@atlaskit/adf-utils"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+ // (No @packageDocumentation comment for this package)
7
+ ```