@forge/manifest 4.8.0-next.2 → 4.8.0-next.3
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
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;
|