@trackunit/iris-app-api
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -5,2 +5,4 @@ # Changelog | ||
## [0.2.8](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.7...iris-app-api/0.2.8) (2024-10-07) | ||
## [0.2.7](https://github.com/Trackunit/manager/compare/iris-app-api/0.2.6...iris-app-api/0.2.7) (2024-09-30) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@trackunit/iris-app-api", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"license": "SEE LICENSE IN LICENSE.txt", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/Trackunit/manager", |
@@ -39,2 +39,6 @@ export declare const accountScope: { | ||
export type AssetScope = (typeof assetScope)[keyof typeof assetScope]; | ||
export declare const siteScope: { | ||
readonly SITE_VIEW: "site.view"; | ||
}; | ||
export type SiteScope = (typeof siteScope)[keyof typeof siteScope]; | ||
export declare const functionalityScope: { | ||
@@ -46,2 +50,3 @@ readonly API_IRIS_APP_SDK_PROXY_FETCH: "api.iris.app.proxy.fetch"; | ||
API_IRIS_APP_SDK_PROXY_FETCH: "api.iris.app.proxy.fetch"; | ||
SITE_VIEW: "site.view"; | ||
ASSET_VIEW: "asset.view"; | ||
@@ -80,2 +85,2 @@ ACCOUNT_ACCESS_MANAGEMENT_MANAGE: "account.access-management.manage"; | ||
}; | ||
export type Scope = AccountScope | AssetScope | FunctionalityScope; | ||
export type Scope = AccountScope | AssetScope | SiteScope | FunctionalityScope; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.allScopes = exports.functionalityScope = exports.assetScope = exports.accountScope = void 0; | ||
exports.allScopes = exports.functionalityScope = exports.siteScope = exports.assetScope = exports.accountScope = void 0; | ||
exports.accountScope = { | ||
@@ -40,6 +40,9 @@ ACCOUNT_ACCESS_MANAGEMENT_MANAGE: "account.access-management.manage", | ||
}; | ||
exports.siteScope = { | ||
SITE_VIEW: "site.view", | ||
}; | ||
exports.functionalityScope = { | ||
API_IRIS_APP_SDK_PROXY_FETCH: "api.iris.app.proxy.fetch", | ||
}; | ||
exports.allScopes = { ...exports.accountScope, ...exports.assetScope, ...exports.functionalityScope }; | ||
exports.allScopes = { ...exports.accountScope, ...exports.assetScope, ...exports.siteScope, ...exports.functionalityScope }; | ||
//# sourceMappingURL=scopes.js.map |
Sorry, the diff of this file is not supported yet
212641
2474
285
45
7
106