@forge/api 7.0.1-next.1 → 7.0.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 +19 -0
- package/out/api/permissions.d.ts.map +1 -1
- package/out/api/permissions.js +5 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @forge/api
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 63d29ca: Update dynamic egress and remote manifest in preparation for Preview
|
|
8
|
+
- Updated dependencies [6204a94]
|
|
9
|
+
- Updated dependencies [e4c143c]
|
|
10
|
+
- Updated dependencies [42e069d]
|
|
11
|
+
- Updated dependencies [19807bf]
|
|
12
|
+
- Updated dependencies [e98e35c]
|
|
13
|
+
- Updated dependencies [5de91aa]
|
|
14
|
+
- Updated dependencies [6247657]
|
|
15
|
+
- Updated dependencies [434fb15]
|
|
16
|
+
- Updated dependencies [d4bbee9]
|
|
17
|
+
- Updated dependencies [8246b16]
|
|
18
|
+
- Updated dependencies [fa9b5aa]
|
|
19
|
+
- Updated dependencies [63d29ca]
|
|
20
|
+
- @forge/manifest@12.1.0
|
|
21
|
+
|
|
3
22
|
## 7.0.1-next.1
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/api/permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,sBAAsB,EAAE,kBAAkB,EAAgB,MAAM,WAAW,CAAC;AAEpG,OAAO,EAAU,QAAQ,EAAS,MAAM,iBAAiB,CAAC;AAM1D,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,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AAO,CAAC,OAAO,MAAM,KAAG,OAAO;CAe5F,CAAC"}
|
package/out/api/permissions.js
CHANGED
|
@@ -52,7 +52,8 @@ const VALID_EXTERNAL_TYPES = [
|
|
|
52
52
|
'images',
|
|
53
53
|
'media',
|
|
54
54
|
'scripts',
|
|
55
|
-
'styles'
|
|
55
|
+
'styles',
|
|
56
|
+
'configurable'
|
|
56
57
|
];
|
|
57
58
|
const VALID_FETCH_TYPES = ['backend', 'client'];
|
|
58
59
|
const validateKeys = (obj, validKeys) => {
|
|
@@ -102,6 +103,9 @@ const getMissingExternalPermissions = (requiredExternal, currentGrantedExternal)
|
|
|
102
103
|
}
|
|
103
104
|
return;
|
|
104
105
|
}
|
|
106
|
+
if (type === 'configurable') {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
105
109
|
const externalUrls = requiredExternal[type];
|
|
106
110
|
if (!externalUrls || !Array.isArray(externalUrls) || externalUrls.length === 0) {
|
|
107
111
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/api",
|
|
3
|
-
"version": "7.0.1
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Forge API methods",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@forge/auth": "0.0.9",
|
|
29
29
|
"@forge/egress": "2.3.1",
|
|
30
30
|
"@forge/i18n": "0.0.7",
|
|
31
|
-
"@forge/manifest": "^12.1.0
|
|
31
|
+
"@forge/manifest": "^12.1.0",
|
|
32
32
|
"@forge/storage": "2.0.3",
|
|
33
33
|
"headers-utils": "^3.0.2"
|
|
34
34
|
},
|