@forge/manifest 4.8.0-next.2 → 4.8.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,24 @@
|
|
|
1
1
|
# @forge/manifest
|
|
2
2
|
|
|
3
|
+
## 4.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9614f64: Add warning to Forge linter for scopes that require interactive user consent
|
|
8
|
+
- 32ca02f: Add support for Custom Entities
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 4d594e7: Update manifest definitions
|
|
13
|
+
- Updated dependencies [7100287]
|
|
14
|
+
- @forge/util@1.2.2
|
|
15
|
+
|
|
16
|
+
## 4.8.0-next.3
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 9614f64: Add warning to Forge linter for scopes that require interactive user consent
|
|
21
|
+
|
|
3
22
|
## 4.8.0-next.2
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/out/scopes/index.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export declare type RequiredScopes = {
|
|
|
4
4
|
beta?: string[];
|
|
5
5
|
};
|
|
6
6
|
export declare function getMissingScopes(existing: string[] | undefined, required: RequiredScopes): Promise<string[]>;
|
|
7
|
+
export declare function getScopesWithInteractiveConsent(): Set<string>;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scopes/index.ts"],"names":[],"mappings":"AAEA,oBAAY,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAoBlH;AAED,wBAAgB,+BAA+B,IAAI,GAAG,CAAC,MAAM,CAAC,CAE7D"}
|
package/out/scopes/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getMissingScopes = void 0;
|
|
3
|
+
exports.getScopesWithInteractiveConsent = exports.getMissingScopes = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const shipyard_scopes_with_interactive_consent_json_1 = tslib_1.__importDefault(require("./shipyard-scopes-with-interactive-consent.json"));
|
|
4
6
|
async function getMissingScopes(existing, required) {
|
|
5
7
|
var _a, _b;
|
|
6
8
|
if (!(existing === null || existing === void 0 ? void 0 : existing.length)) {
|
|
@@ -20,3 +22,7 @@ async function getMissingScopes(existing, required) {
|
|
|
20
22
|
return missingCurrent;
|
|
21
23
|
}
|
|
22
24
|
exports.getMissingScopes = getMissingScopes;
|
|
25
|
+
function getScopesWithInteractiveConsent() {
|
|
26
|
+
return new Set(shipyard_scopes_with_interactive_consent_json_1.default);
|
|
27
|
+
}
|
|
28
|
+
exports.getScopesWithInteractiveConsent = getScopesWithInteractiveConsent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/manifest",
|
|
3
|
-
"version": "4.8.0
|
|
3
|
+
"version": "4.8.0",
|
|
4
4
|
"description": "Definitions and validations of the Forge manifest",
|
|
5
5
|
"main": "out/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Atlassian",
|
|
24
24
|
"license": "UNLICENSED",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@forge/util": "1.2.2
|
|
26
|
+
"@forge/util": "1.2.2",
|
|
27
27
|
"ajv": "^6.12.6",
|
|
28
28
|
"cheerio": "^0.22.0",
|
|
29
29
|
"js-yaml": "^3.13.1",
|