@adminide-stack/core 0.0.2-0.0.16-6.0 → 0.0.2-alpha.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/LICENSE +674 -0
- package/README.md +2 -2
- package/lib/constants/billing-plan.d.ts +1 -0
- package/lib/constants/billing-plan.js +5 -0
- package/lib/constants/billing-plan.js.map +1 -0
- package/lib/constants/configuration.d.ts +6 -0
- package/lib/constants/configuration.js +10 -0
- package/lib/constants/configuration.js.map +1 -0
- package/lib/constants/constants.d.ts +0 -41
- package/lib/constants/constants.js +6 -0
- package/lib/constants/constants.js.map +1 -0
- package/lib/constants/default-workspace-config.js +7 -0
- package/lib/constants/default-workspace-config.js.map +1 -0
- package/lib/constants/index.d.ts +5 -0
- package/lib/constants/index.js +24 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/routes.d.ts +4 -0
- package/lib/constants/routes.js +10 -0
- package/lib/constants/routes.js.map +1 -0
- package/lib/constants/types.d.ts +19 -0
- package/lib/constants/types.js +23 -0
- package/lib/constants/types.js.map +1 -0
- package/lib/constants/urls.d.ts +3 -0
- package/lib/constants/urls.js +7 -0
- package/lib/constants/urls.js.map +1 -0
- package/lib/core/configurations/configuration.d.ts +64 -0
- package/lib/core/configurations/configuration.js +236 -0
- package/lib/core/configurations/configuration.js.map +1 -0
- package/lib/core/configurations/events/abstract-configuration-change-event.d.ts +6 -0
- package/lib/core/configurations/events/abstract-configuration-change-event.js +27 -0
- package/lib/core/configurations/events/abstract-configuration-change-event.js.map +1 -0
- package/lib/core/configurations/events/all-keys-configuration-change-event.d.ts +17 -0
- package/lib/core/configurations/events/all-keys-configuration-change-event.js +33 -0
- package/lib/core/configurations/events/all-keys-configuration-change-event.js.map +1 -0
- package/lib/core/configurations/events/configuration-change-event.d.ts +24 -0
- package/lib/core/configurations/events/configuration-change-event.js +84 -0
- package/lib/core/configurations/events/configuration-change-event.js.map +1 -0
- package/lib/core/configurations/events/index.d.ts +4 -0
- package/lib/core/configurations/events/index.js +21 -0
- package/lib/core/configurations/events/index.js.map +1 -0
- package/lib/core/configurations/events/organization-configuration-change-event.d.ts +15 -0
- package/lib/core/configurations/events/organization-configuration-change-event.js +39 -0
- package/lib/core/configurations/events/organization-configuration-change-event.js.map +1 -0
- package/lib/core/configurations/helpers/configuration.d.ts +26 -0
- package/lib/core/configurations/helpers/configuration.js +203 -0
- package/lib/core/configurations/helpers/configuration.js.map +1 -0
- package/lib/core/configurations/helpers/index.d.ts +1 -0
- package/lib/core/configurations/helpers/index.js +18 -0
- package/lib/core/configurations/helpers/index.js.map +1 -0
- package/lib/core/configurations/index.d.ts +4 -0
- package/lib/core/configurations/index.js +21 -0
- package/lib/core/configurations/index.js.map +1 -0
- package/lib/core/configurations/models/configuration-model.d.ts +24 -0
- package/lib/core/configurations/models/configuration-model.js +143 -0
- package/lib/core/configurations/models/configuration-model.js.map +1 -0
- package/lib/core/configurations/models/index.d.ts +1 -0
- package/lib/core/configurations/models/index.js +18 -0
- package/lib/core/configurations/models/index.js.map +1 -0
- package/lib/core/disposable.d.ts +28 -0
- package/lib/core/disposable.js +82 -0
- package/lib/core/disposable.js.map +1 -0
- package/lib/core/event.d.ts +76 -0
- package/lib/core/event.js +249 -0
- package/lib/core/event.js.map +1 -0
- package/lib/core/event.test.d.ts +1 -0
- package/lib/core/event.test.js +15 -0
- package/lib/core/event.test.js.map +1 -0
- package/lib/core/index.d.ts +6 -0
- package/lib/core/index.js +23 -0
- package/lib/core/index.js.map +1 -0
- package/lib/core/organization/configuration.d.ts +31 -0
- package/lib/core/organization/configuration.js +87 -0
- package/lib/core/organization/configuration.js.map +1 -0
- package/lib/core/organization/helpers/index.d.ts +1 -0
- package/lib/core/organization/helpers/index.js +18 -0
- package/lib/core/organization/helpers/index.js.map +1 -0
- package/lib/core/organization/helpers/organization-helpers.d.ts +6 -0
- package/lib/core/organization/helpers/organization-helpers.js +34 -0
- package/lib/core/organization/helpers/organization-helpers.js.map +1 -0
- package/lib/core/organization/index.d.ts +3 -0
- package/lib/core/organization/index.js +20 -0
- package/lib/core/organization/index.js.map +1 -0
- package/lib/core/organization/organization.d.ts +31 -0
- package/lib/core/organization/organization.js +135 -0
- package/lib/core/organization/organization.js.map +1 -0
- package/lib/core/path.d.ts +58 -0
- package/lib/core/path.js +189 -0
- package/lib/core/path.js.map +1 -0
- package/lib/core/path.test.d.ts +1 -0
- package/lib/core/path.test.js +205 -0
- package/lib/core/path.test.js.map +1 -0
- package/lib/core/types.d.ts +1 -0
- package/lib/core/types.js +3 -0
- package/lib/core/types.js.map +1 -0
- package/lib/core/uri.d.ts +68 -0
- package/lib/core/uri.js +158 -0
- package/lib/core/uri.js.map +1 -0
- package/lib/core/uri.test.d.ts +1 -0
- package/lib/core/uri.test.js +136 -0
- package/lib/core/uri.test.js.map +1 -0
- package/lib/enums/connection-status.d.ts +6 -0
- package/lib/enums/connection-status.js +11 -0
- package/lib/enums/connection-status.js.map +1 -0
- package/lib/enums/index.d.ts +7 -0
- package/lib/enums/index.js +24 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/integration-configuration-status.d.ts +5 -0
- package/lib/enums/integration-configuration-status.js +10 -0
- package/lib/enums/integration-configuration-status.js.map +1 -0
- package/lib/enums/integrations-configuration-steps.d.ts +8 -0
- package/lib/enums/integrations-configuration-steps.js +13 -0
- package/lib/enums/integrations-configuration-steps.js.map +1 -0
- package/lib/enums/integrations-connection-names.d.ts +11 -0
- package/lib/enums/integrations-connection-names.js +17 -0
- package/lib/enums/integrations-connection-names.js.map +1 -0
- package/lib/enums/integrations.d.ts +9 -0
- package/lib/enums/integrations.js +14 -0
- package/lib/enums/integrations.js.map +1 -0
- package/lib/enums/permissions.d.ts +7 -0
- package/lib/enums/permissions.js +12 -0
- package/lib/enums/permissions.js.map +1 -0
- package/lib/enums/team-member-status.d.ts +4 -0
- package/lib/enums/team-member-status.js +9 -0
- package/lib/enums/team-member-status.js.map +1 -0
- package/lib/errors/auth-error-messages.d.ts +25 -0
- package/lib/errors/auth-error-messages.js +31 -0
- package/lib/errors/auth-error-messages.js.map +1 -0
- package/lib/errors/auth-error.d.ts +8 -0
- package/lib/errors/auth-error.js +13 -0
- package/lib/errors/auth-error.js.map +1 -0
- package/lib/errors/index.d.ts +2 -0
- package/lib/errors/index.js +19 -0
- package/lib/errors/index.js.map +1 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +23 -256
- package/lib/index.js.map +1 -1
- package/lib/interfaces/apollo-context.d.ts +48 -0
- package/lib/interfaces/apollo-context.js +3 -0
- package/lib/interfaces/apollo-context.js.map +1 -0
- package/lib/interfaces/common.d.ts +2 -2
- package/lib/interfaces/common.js +3 -0
- package/lib/interfaces/common.js.map +1 -0
- package/lib/interfaces/configuration/configuration-file-service.d.ts +5 -0
- package/lib/interfaces/configuration/configuration-file-service.js +3 -0
- package/lib/interfaces/configuration/configuration-file-service.js.map +1 -0
- package/lib/interfaces/configuration/configuration-server-service.d.ts +10 -0
- package/lib/interfaces/configuration/configuration-server-service.js +3 -0
- package/lib/interfaces/configuration/configuration-server-service.js.map +1 -0
- package/lib/interfaces/configuration/configuration.d.ts +39 -0
- package/lib/interfaces/configuration/configuration.js +53 -0
- package/lib/interfaces/configuration/configuration.js.map +1 -0
- package/lib/interfaces/configuration/configuraton-service.d.ts +60 -0
- package/lib/interfaces/configuration/configuraton-service.js +3 -0
- package/lib/interfaces/configuration/configuraton-service.js.map +1 -0
- package/lib/interfaces/configuration/event.d.ts +12 -0
- package/lib/interfaces/configuration/event.js +3 -0
- package/lib/interfaces/configuration/event.js.map +1 -0
- package/lib/interfaces/configuration/index.d.ts +5 -0
- package/lib/interfaces/configuration/index.js +22 -0
- package/lib/interfaces/configuration/index.js.map +1 -0
- package/lib/interfaces/contex-key-service.d.ts +2 -0
- package/lib/interfaces/contex-key-service.js +3 -0
- package/lib/interfaces/contex-key-service.js.map +1 -0
- package/lib/interfaces/database-migration.d.ts +8 -0
- package/lib/interfaces/database-migration.js +3 -0
- package/lib/interfaces/database-migration.js.map +1 -0
- package/lib/interfaces/enum.d.ts +26 -0
- package/lib/interfaces/enum.js +71 -0
- package/lib/interfaces/enum.js.map +1 -0
- package/lib/interfaces/environment/argv.d.ts +6 -0
- package/lib/interfaces/environment/argv.js +3 -0
- package/lib/interfaces/environment/argv.js.map +1 -0
- package/lib/interfaces/environment/environment-service.d.ts +7 -0
- package/lib/interfaces/environment/environment-service.js +3 -0
- package/lib/interfaces/environment/environment-service.js.map +1 -0
- package/lib/interfaces/environment/index.d.ts +2 -0
- package/lib/interfaces/environment/index.js +19 -0
- package/lib/interfaces/environment/index.js.map +1 -0
- package/lib/interfaces/generated/generated-models.d.ts +9198 -0
- package/lib/interfaces/generated/generated-models.js +3183 -0
- package/lib/interfaces/generated/generated-models.js.map +1 -0
- package/lib/interfaces/generated/index.d.ts +1 -0
- package/lib/interfaces/generated/index.js +18 -0
- package/lib/interfaces/generated/index.js.map +1 -0
- package/lib/interfaces/index.d.ts +16 -1
- package/lib/interfaces/index.js +34 -0
- package/lib/interfaces/index.js.map +1 -0
- package/lib/interfaces/lifecycle-service.d.ts +1 -0
- package/lib/interfaces/lifecycle-service.js +8 -0
- package/lib/interfaces/lifecycle-service.js.map +1 -0
- package/lib/interfaces/log/index.d.ts +1 -0
- package/lib/interfaces/log/index.js +18 -0
- package/lib/interfaces/log/index.js.map +1 -0
- package/lib/interfaces/log/log-service.d.ts +16 -0
- package/lib/interfaces/log/log-service.js +3 -0
- package/lib/interfaces/log/log-service.js.map +1 -0
- package/lib/interfaces/nav-items.d.ts +5 -0
- package/lib/interfaces/nav-items.js +3 -0
- package/lib/interfaces/nav-items.js.map +1 -0
- package/lib/interfaces/organization/index.d.ts +3 -0
- package/lib/interfaces/organization/index.js +20 -0
- package/lib/interfaces/organization/index.js.map +1 -0
- package/lib/interfaces/organization/organization-context-service.d.ts +65 -0
- package/lib/interfaces/organization/organization-context-service.js +3 -0
- package/lib/interfaces/organization/organization-context-service.js.map +1 -0
- package/lib/interfaces/organization/organization-context.d.ts +39 -0
- package/lib/interfaces/organization/organization-context.js +31 -0
- package/lib/interfaces/organization/organization-context.js.map +1 -0
- package/lib/interfaces/organization/organizations-context.d.ts +35 -0
- package/lib/interfaces/organization/organizations-context.js +3 -0
- package/lib/interfaces/organization/organizations-context.js.map +1 -0
- package/lib/interfaces/page-store.d.ts +16 -0
- package/lib/interfaces/page-store.js +3 -0
- package/lib/interfaces/page-store.js.map +1 -0
- package/lib/interfaces/permissions.d.ts +2 -0
- package/lib/interfaces/permissions.js +3 -0
- package/lib/interfaces/permissions.js.map +1 -0
- package/lib/interfaces/preferences-service.d.ts +40 -0
- package/lib/interfaces/preferences-service.js +3 -0
- package/lib/interfaces/preferences-service.js.map +1 -0
- package/lib/interfaces/service.d.ts +18 -0
- package/lib/interfaces/service.js +3 -0
- package/lib/interfaces/service.js.map +1 -0
- package/lib/interfaces/workbench-exports.d.ts +5 -0
- package/lib/interfaces/workbench-exports.js +6 -0
- package/lib/interfaces/workbench-exports.js.map +1 -0
- package/lib/modules/account-api/enums/index.d.ts +51 -0
- package/lib/modules/account-api/enums/index.js +56 -0
- package/lib/modules/account-api/enums/index.js.map +1 -0
- package/lib/modules/account-api/index.d.ts +1 -0
- package/lib/modules/account-api/index.js +18 -0
- package/lib/modules/account-api/index.js.map +1 -0
- package/lib/modules/billing-api/enums/index.d.ts +22 -0
- package/lib/modules/billing-api/enums/index.js +28 -0
- package/lib/modules/billing-api/enums/index.js.map +1 -0
- package/lib/modules/billing-api/index.d.ts +1 -0
- package/lib/modules/billing-api/index.js +18 -0
- package/lib/modules/billing-api/index.js.map +1 -0
- package/lib/modules/index.d.ts +2 -0
- package/lib/modules/index.js +19 -0
- package/lib/modules/index.js.map +1 -0
- package/lib/services/abstract-configuration.d.ts +54 -0
- package/lib/services/abstract-configuration.js +80 -0
- package/lib/services/abstract-configuration.js.map +1 -0
- package/lib/services/abstract-organization-context-service.d.ts +40 -0
- package/lib/services/abstract-organization-context-service.js +115 -0
- package/lib/services/abstract-organization-context-service.js.map +1 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.js +19 -0
- package/lib/services/index.js.map +1 -0
- package/lib/utils/configuration-utils.d.ts +4 -0
- package/lib/utils/configuration-utils.js +15 -0
- package/lib/utils/configuration-utils.js.map +1 -0
- package/lib/utils/date-utils.d.ts +1 -0
- package/lib/utils/date-utils.js +9 -0
- package/lib/utils/date-utils.js.map +1 -0
- package/lib/utils/flatten-utils.d.ts +1 -0
- package/lib/utils/flatten-utils.js +20 -0
- package/lib/utils/flatten-utils.js.map +1 -0
- package/lib/utils/generate-uri.d.ts +35 -0
- package/lib/utils/generate-uri.js +50 -0
- package/lib/utils/generate-uri.js.map +1 -0
- package/lib/utils/generated-settings-id.d.ts +2 -0
- package/lib/utils/generated-settings-id.js +13 -0
- package/lib/utils/generated-settings-id.js.map +1 -0
- package/lib/utils/index.d.ts +9 -0
- package/lib/utils/index.js +26 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/omit-deep.d.ts +1 -0
- package/lib/utils/omit-deep.js +16 -0
- package/lib/utils/omit-deep.js.map +1 -0
- package/lib/utils/roles-utils.d.ts +2 -0
- package/lib/utils/roles-utils.js +11 -0
- package/lib/utils/roles-utils.js.map +1 -0
- package/lib/utils/uri.d.ts +3 -0
- package/lib/utils/uri.js +21 -0
- package/lib/utils/uri.js.map +1 -0
- package/lib/utils/utils.d.ts +3 -0
- package/lib/utils/utils.js +37 -0
- package/lib/utils/utils.js.map +1 -0
- package/lib/utils/validations.d.ts +1 -0
- package/lib/utils/validations.js +9 -0
- package/lib/utils/validations.js.map +1 -0
- package/package.json +34 -48
- package/lib/interfaces/workspace.d.ts +0 -159
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./enum"), exports);
|
18
|
+
__exportStar(require("./common"), exports);
|
19
|
+
__exportStar(require("./generated"), exports);
|
20
|
+
__exportStar(require("./nav-items"), exports);
|
21
|
+
__exportStar(require("./page-store"), exports);
|
22
|
+
__exportStar(require("./apollo-context"), exports);
|
23
|
+
__exportStar(require("./configuration"), exports);
|
24
|
+
__exportStar(require("./organization"), exports);
|
25
|
+
__exportStar(require("./preferences-service"), exports);
|
26
|
+
__exportStar(require("./workbench-exports"), exports);
|
27
|
+
__exportStar(require("./contex-key-service"), exports);
|
28
|
+
__exportStar(require("./lifecycle-service"), exports);
|
29
|
+
__exportStar(require("./database-migration"), exports);
|
30
|
+
__exportStar(require("./permissions"), exports);
|
31
|
+
__exportStar(require("./service"), exports);
|
32
|
+
__exportStar(require("./log"), exports);
|
33
|
+
__exportStar(require("./environment"), exports);
|
34
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,kDAAgC;AAChC,iDAA+B;AAC/B,wDAAsC;AACtC,sDAAoC;AACpC,uDAAqC;AAErC,sDAAoC;AACpC,uDAAqC;AACrC,gDAA8B;AAC9B,4CAA0B;AAC1B,wCAAsB;AACtB,gDAA8B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ILifecycleService, LifecyclePhase, WillShutdownEvent, StartupKind, BeforeShutdownEvent, ShutdownReason } from '@workbench-stack/core';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ShutdownReason = exports.StartupKind = exports.LifecyclePhase = void 0;
|
4
|
+
var core_1 = require("@workbench-stack/core");
|
5
|
+
Object.defineProperty(exports, "LifecyclePhase", { enumerable: true, get: function () { return core_1.LifecyclePhase; } });
|
6
|
+
Object.defineProperty(exports, "StartupKind", { enumerable: true, get: function () { return core_1.StartupKind; } });
|
7
|
+
Object.defineProperty(exports, "ShutdownReason", { enumerable: true, get: function () { return core_1.ShutdownReason; } });
|
8
|
+
//# sourceMappingURL=lifecycle-service.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lifecycle-service.js","sourceRoot":"","sources":["../../src/interfaces/lifecycle-service.ts"],"names":[],"mappings":";;;AACA,8CAA+I;AAAnH,sGAAA,cAAc,OAAA;AAAqB,mGAAA,WAAW,OAAA;AAAuB,sGAAA,cAAc,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './log-service';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./log-service"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/log/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event';
|
2
|
+
import { IDisposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle';
|
3
|
+
import { CdmLogger } from '@cdm-logger/core';
|
4
|
+
declare type LogLevel = CdmLogger.LoggerLevel;
|
5
|
+
export interface ILogService extends IDisposable {
|
6
|
+
onDidChangeLogLevel: Event<LogLevel>;
|
7
|
+
getLevel(): LogLevel;
|
8
|
+
setLevel(level: LogLevel): void;
|
9
|
+
trace(message: string, ...args: any[]): void;
|
10
|
+
debug(message: string, ...args: any[]): void;
|
11
|
+
info(message: string, ...args: any[]): void;
|
12
|
+
warn(message: string, ...args: any[]): void;
|
13
|
+
error(message: string | Error, ...args: any[]): void;
|
14
|
+
critical(message: string | Error, ...args: any[]): void;
|
15
|
+
}
|
16
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"log-service.js","sourceRoot":"","sources":["../../../src/interfaces/log/log-service.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"nav-items.js","sourceRoot":"","sources":["../../src/interfaces/nav-items.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./organization-context"), exports);
|
18
|
+
__exportStar(require("./organizations-context"), exports);
|
19
|
+
__exportStar(require("./organization-context-service"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,0DAAwC;AACxC,iEAA+C"}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
2
|
+
import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event';
|
3
|
+
import { IDisposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle';
|
4
|
+
import { IOrganizationData, IOrganizationIdentifier, IResourceCreationDataInput } from '../generated';
|
5
|
+
import { IOrganizationResource, ApplicationState, IOrganizationResourcesChangeEvent, IOrganizationContext } from './organization-context';
|
6
|
+
import { IOrganizationResourceCreationData, ISingleResourceOrganizationIdentifier } from './organizations-context';
|
7
|
+
export interface IOrganizationContextService extends IDisposable {
|
8
|
+
/**
|
9
|
+
* An event which fires on workbench state changes.
|
10
|
+
*/
|
11
|
+
onDidChangeApplicationState: Event<ApplicationState>;
|
12
|
+
/**
|
13
|
+
* An event which fires on organization name changes.
|
14
|
+
*/
|
15
|
+
onDidChangeOrganizationName: Event<string>;
|
16
|
+
/**
|
17
|
+
* An event which fires on organization resources change.
|
18
|
+
*/
|
19
|
+
onDidChangeOrganizationResources: Event<IOrganizationResourcesChangeEvent>;
|
20
|
+
/**
|
21
|
+
* Provides access to the complete organization object.
|
22
|
+
*/
|
23
|
+
getCompleteOrganization(): Promise<IOrganizationContext>;
|
24
|
+
/**
|
25
|
+
* Provides access to the organization object the platform is running with.
|
26
|
+
*/
|
27
|
+
getOrganization(): IOrganizationContext;
|
28
|
+
/**
|
29
|
+
* Return the state of the workbench.
|
30
|
+
*
|
31
|
+
* ApplicationState.EMPTY - if the workbench was opened with empty window or file
|
32
|
+
* ApplicationState.FOLDER - if the workbench was opened with a resource
|
33
|
+
* ApplicationState.WORKSPACE - if the workbench was opened with a organization
|
34
|
+
*/
|
35
|
+
getApplicationState(): ApplicationState;
|
36
|
+
/**
|
37
|
+
* Returns the resource for the given resource from the organization.
|
38
|
+
* Can be null if there is no organization or the resource is not inside the organization.
|
39
|
+
*/
|
40
|
+
getOrganizationResource(resource: URI): IOrganizationResource;
|
41
|
+
/**
|
42
|
+
* Return `true` if the current organization has the given identifier otherwise `false`.
|
43
|
+
*/
|
44
|
+
isCurrentOrganization(organizationIdentifier: ISingleResourceOrganizationIdentifier | IOrganizationIdentifier): boolean;
|
45
|
+
/**
|
46
|
+
* Returns if the provided resource is inside the organization or not.
|
47
|
+
*/
|
48
|
+
isInsideOrganization(resource: URI): boolean;
|
49
|
+
addResources(resourcesToAdd: IOrganizationResourceCreationData[], index?: number): Promise<void>;
|
50
|
+
removeResources(resourcesToRemove: URI[]): Promise<void>;
|
51
|
+
updateResources(resourcesToAdd: IOrganizationResourceCreationData[], resourcesToRemove: URI[], index?: number): Promise<void>;
|
52
|
+
}
|
53
|
+
export interface IClientOrganizationContextService extends IOrganizationContextService {
|
54
|
+
extAcceptChangedApplicationState(organization: IOrganizationData, event: ApplicationState): any;
|
55
|
+
extAcceptChangedOrganizationResources(data: IOrganizationData, event: IOrganizationResourcesChangeEvent): any;
|
56
|
+
extAcceptChangedOrganizationName(date: IOrganizationData): any;
|
57
|
+
initialize(args: any): any;
|
58
|
+
}
|
59
|
+
export interface IServerOrganizationContextService {
|
60
|
+
addResources(orgId: string, resourcesToAdd: IResourceCreationDataInput[], index?: number): Promise<void>;
|
61
|
+
removeResources(orgId: string, resourcesToRemove: URI[]): Promise<void>;
|
62
|
+
updateResources(orgId: string, resourcesToAdd: IResourceCreationDataInput[], resourcesToRemove: URI[], index?: number): Promise<void>;
|
63
|
+
getOrganizationContext(orgId: string): Promise<IOrganizationData>;
|
64
|
+
getOrganizationResources(resource: URI): Promise<IOrganizationResource[]>;
|
65
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"organization-context-service.js","sourceRoot":"","sources":["../../../src/interfaces/organization/organization-context-service.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
2
|
+
import { IOrganizationResourceData, IOrganizationData } from '../generated';
|
3
|
+
export declare const enum ApplicationState {
|
4
|
+
EMPTY = 1,
|
5
|
+
RESOURCE = 2,
|
6
|
+
ORGANIZATION = 3
|
7
|
+
}
|
8
|
+
export interface IOrganizationResourcesChangeEvent {
|
9
|
+
added: IOrganizationResource[];
|
10
|
+
removed: IOrganizationResource[];
|
11
|
+
changed: IOrganizationResource[];
|
12
|
+
}
|
13
|
+
export declare namespace IOrganizationContext {
|
14
|
+
function isIOrganization(thing: any): thing is IOrganizationContext;
|
15
|
+
}
|
16
|
+
export interface IOrganizationContext extends IOrganizationData {
|
17
|
+
/**
|
18
|
+
* the unique of the organization.
|
19
|
+
*/
|
20
|
+
readonly id: string;
|
21
|
+
/**
|
22
|
+
* Resources in the organization.
|
23
|
+
*/
|
24
|
+
readonly resources: IOrganizationResource[];
|
25
|
+
/**
|
26
|
+
* the location of the organization configuration
|
27
|
+
*/
|
28
|
+
readonly configuration?: URI | null;
|
29
|
+
getResource?(resource: URI): IOrganizationResource | null;
|
30
|
+
}
|
31
|
+
export declare namespace IOrganizationResource {
|
32
|
+
function isIOrganizationResource(thing: any): thing is IOrganizationResource;
|
33
|
+
}
|
34
|
+
export interface IOrganizationResource extends IOrganizationResourceData {
|
35
|
+
/**
|
36
|
+
* Given organization resource relative path, returns the resource with the absolute path.
|
37
|
+
*/
|
38
|
+
toResource?: (relativePath: string) => URI;
|
39
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IOrganizationResource = exports.IOrganizationContext = exports.ApplicationState = void 0;
|
4
|
+
const uri_1 = require("@vscode-alt/monaco-editor/esm/vs/base/common/uri");
|
5
|
+
var ApplicationState;
|
6
|
+
(function (ApplicationState) {
|
7
|
+
ApplicationState[ApplicationState["EMPTY"] = 1] = "EMPTY";
|
8
|
+
ApplicationState[ApplicationState["RESOURCE"] = 2] = "RESOURCE";
|
9
|
+
ApplicationState[ApplicationState["ORGANIZATION"] = 3] = "ORGANIZATION";
|
10
|
+
})(ApplicationState = exports.ApplicationState || (exports.ApplicationState = {}));
|
11
|
+
var IOrganizationContext;
|
12
|
+
(function (IOrganizationContext) {
|
13
|
+
function isIOrganization(thing) {
|
14
|
+
return thing && typeof thing === 'object'
|
15
|
+
&& typeof thing.id === 'string'
|
16
|
+
&& Array.isArray(thing.resources);
|
17
|
+
}
|
18
|
+
IOrganizationContext.isIOrganization = isIOrganization;
|
19
|
+
})(IOrganizationContext = exports.IOrganizationContext || (exports.IOrganizationContext = {}));
|
20
|
+
// since IOrganizationFolder interface and namespace should exist in same file
|
21
|
+
var IOrganizationResource;
|
22
|
+
(function (IOrganizationResource) {
|
23
|
+
function isIOrganizationResource(thing) {
|
24
|
+
return thing && typeof thing === 'object'
|
25
|
+
&& uri_1.URI.isUri(thing.uri)
|
26
|
+
&& typeof thing.name === 'string'
|
27
|
+
&& typeof thing.toResource === 'function';
|
28
|
+
}
|
29
|
+
IOrganizationResource.isIOrganizationResource = isIOrganizationResource;
|
30
|
+
})(IOrganizationResource = exports.IOrganizationResource || (exports.IOrganizationResource = {}));
|
31
|
+
//# sourceMappingURL=organization-context.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"organization-context.js","sourceRoot":"","sources":["../../../src/interfaces/organization/organization-context.ts"],"names":[],"mappings":";;;AAAA,0EAAuE;AAIvE,IAAkB,gBAIjB;AAJD,WAAkB,gBAAgB;IAC9B,yDAAS,CAAA;IACT,+DAAQ,CAAA;IACR,uEAAY,CAAA;AAChB,CAAC,EAJiB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAIjC;AAQD,IAAiB,oBAAoB,CAMpC;AAND,WAAiB,oBAAoB;IACjC,SAAgB,eAAe,CAAC,KAAU;QACtC,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;eAClC,OAAQ,KAA8B,CAAC,EAAE,KAAK,QAAQ;eACtD,KAAK,CAAC,OAAO,CAAE,KAA8B,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;IAJe,oCAAe,kBAI9B,CAAA;AACL,CAAC,EANgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAMpC;AAuBD,8EAA8E;AAC9E,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAClC,SAAgB,uBAAuB,CAAC,KAAU;QAC9C,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;eAClC,SAAG,CAAC,KAAK,CAAE,KAA+B,CAAC,GAAG,CAAC;eAC/C,OAAQ,KAA+B,CAAC,IAAI,KAAK,QAAQ;eACzD,OAAQ,KAA+B,CAAC,UAAU,KAAK,UAAU,CAAC;IAC7E,CAAC;IALe,6CAAuB,0BAKtC,CAAA;AACL,CAAC,EAPgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOrC"}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
2
|
+
import { IOrganizationIdentifier } from '../generated';
|
3
|
+
/**
|
4
|
+
* A single folder workspace identifier is just the path to the folder.
|
5
|
+
*/
|
6
|
+
export declare type ISingleResourceOrganizationIdentifier = URI;
|
7
|
+
export interface ISingleResourceOrganizaionInitializationPayload {
|
8
|
+
id: string;
|
9
|
+
resource: ISingleResourceOrganizationIdentifier;
|
10
|
+
}
|
11
|
+
export interface IOrganizationResourceCreationData {
|
12
|
+
uri: URI;
|
13
|
+
name?: string;
|
14
|
+
}
|
15
|
+
export interface IStoredOrganization {
|
16
|
+
folders: IStoredOrganizationResource[];
|
17
|
+
}
|
18
|
+
export interface IRawFileOrganizationResource {
|
19
|
+
path: string;
|
20
|
+
name?: string;
|
21
|
+
}
|
22
|
+
export interface IRawUriOrganizationResource {
|
23
|
+
uri: string;
|
24
|
+
name?: string;
|
25
|
+
}
|
26
|
+
export declare type IStoredOrganizationResource = IRawFileOrganizationResource | IRawUriOrganizationResource;
|
27
|
+
export declare type IMultiResourceOrganizationInitializationPayload = IOrganizationIdentifier;
|
28
|
+
export interface ISingleResourceOrganizationInitializationPayload {
|
29
|
+
id: string;
|
30
|
+
folder: ISingleResourceOrganizationIdentifier;
|
31
|
+
}
|
32
|
+
export interface IEmptyOrganizationInitializationPayload {
|
33
|
+
id: string;
|
34
|
+
}
|
35
|
+
export declare type IOrganizationInitializationPayload = IMultiResourceOrganizationInitializationPayload | ISingleResourceOrganizationInitializationPayload | IEmptyOrganizationInitializationPayload;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"organizations-context.js","sourceRoot":"","sources":["../../../src/interfaces/organization/organizations-context.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IMenuPosition, IMappedData } from '@common-stack/client-react';
|
2
|
+
export interface IPageStore extends IMappedData {
|
3
|
+
key: string;
|
4
|
+
tab?: string;
|
5
|
+
tabTitle?: string;
|
6
|
+
path: string;
|
7
|
+
exact?: boolean;
|
8
|
+
name?: string;
|
9
|
+
authority?: string[];
|
10
|
+
/**
|
11
|
+
* When `exact: false` we may not have an component
|
12
|
+
*/
|
13
|
+
component?: any;
|
14
|
+
position?: IMenuPosition;
|
15
|
+
icon?: any;
|
16
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"page-store.js","sourceRoot":"","sources":["../../src/interfaces/page-store.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../../src/interfaces/permissions.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
2
|
+
import { ISettingsSubject, IViewerSettingsInput, IRoleInput, IPermissionSubject, IViewerSettingsSubject, IPolicySubject, IViewerPoliciesInput } from './generated';
|
3
|
+
import { ConfigurationTarget, IPreferencesInput, IPreferencesOpenOptionsInput as IPreferencesOpenOptions, IContributionSettings } from './generated';
|
4
|
+
export declare type IPrefFragment = {
|
5
|
+
fragmentName?: string;
|
6
|
+
fragmentDoc?: string;
|
7
|
+
};
|
8
|
+
export interface IPreferencesService {
|
9
|
+
initiateSettingsFile(resource: URI): Promise<any>;
|
10
|
+
defaultViewerSettingsSubject(target: ConfigurationTarget): ISettingsSubject;
|
11
|
+
/**
|
12
|
+
* Viewer Settings for an Organization and its resources.
|
13
|
+
* @param params
|
14
|
+
* @param context
|
15
|
+
*/
|
16
|
+
viewerSettings<T = IViewerSettingsSubject>(input: IViewerSettingsInput, fragment?: IPrefFragment): Promise<T>;
|
17
|
+
viewerPolicies<T = IPolicySubject>(input: IViewerPoliciesInput, fragment?: IPrefFragment): Promise<T>;
|
18
|
+
viewerPermissions<T = IPermissionSubject>(input: IRoleInput, fragment?: IPrefFragment): Promise<T>;
|
19
|
+
}
|
20
|
+
export interface IPreferenceClientService {
|
21
|
+
readonly defaultKeybindingsResource: URI;
|
22
|
+
userSettingsResource: URI;
|
23
|
+
organizationSettingsResource: URI | null;
|
24
|
+
getResourceSettingsResource(resource: URI): URI | null;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @param resource is the resource which to be opened.
|
28
|
+
* @param jsonEditor If the data should be shown in jsonc format
|
29
|
+
* @param options to customize the default URI
|
30
|
+
*/
|
31
|
+
openSettings(resource: URI, jsonEditor: boolean | undefined, options?: IPreferencesOpenOptions): Promise<IPreferencesInput>;
|
32
|
+
getConfigurationTargetFromSettingsResource(resource: URI): ConfigurationTarget;
|
33
|
+
resolveSettings(uri: URI): Promise<({
|
34
|
+
__typename?: 'ContributionSettings';
|
35
|
+
} & {
|
36
|
+
__typename?: 'ContributionSettings';
|
37
|
+
} & Pick<IContributionSettings, 'type' | 'key' | 'value' | 'description' | 'descriptionIsMarkdown' | 'deprecationMessage' | 'enum' | 'enumDescriptions' | 'enumDescriptionsAreMarkdown' | 'tags'>)[]>;
|
38
|
+
createIfNotExists(resource: URI, contents: string): Promise<any>;
|
39
|
+
resetSetting(resource: URI, settingKey: string): Promise<boolean>;
|
40
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"preferences-service.js","sourceRoot":"","sources":["../../src/interfaces/preferences-service.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ILifecycleService } from './lifecycle-service';
|
2
|
+
import { IContextKeyService } from './contex-key-service';
|
3
|
+
import { IClientConfigurationService, IConfigurationFileService } from './configuration';
|
4
|
+
import { IOrganizationContextService } from './organization';
|
5
|
+
import { IPreferenceClientService } from './preferences-service';
|
6
|
+
import { IEnvironmentService } from './environment';
|
7
|
+
import { IRegistry } from './workbench-exports';
|
8
|
+
export interface IClientService {
|
9
|
+
readonly configurationService: IClientConfigurationService;
|
10
|
+
readonly permissionService?: IClientConfigurationService;
|
11
|
+
readonly contextKeyService: IContextKeyService;
|
12
|
+
readonly organizationContextService: IOrganizationContextService;
|
13
|
+
readonly lifecycleService: ILifecycleService;
|
14
|
+
readonly preferenceService: IPreferenceClientService;
|
15
|
+
readonly registry: IRegistry;
|
16
|
+
readonly environmentService?: IEnvironmentService;
|
17
|
+
readonly configurationFileService?: IConfigurationFileService;
|
18
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/interfaces/service.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { IConfigurationRegistry as IWorkspaceIConfigurationRegistry, IConfigurationPropertySchema as IWorksapceConfigurationPropertySchema, IConfigurationNode as IWorkspaceConfigurationNode, ConfigurationScope } from '@workbench-stack/core';
|
2
|
+
export declare type IConfigurationRegistry = IWorkspaceIConfigurationRegistry<ConfigurationScope>;
|
3
|
+
export declare type IConfigurationPropertySchema = IWorksapceConfigurationPropertySchema<ConfigurationScope>;
|
4
|
+
export declare type IConfigurationNode = IWorkspaceConfigurationNode<ConfigurationScope>;
|
5
|
+
export { IRegistry, Extensions } from '@workbench-stack/core';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Extensions = void 0;
|
4
|
+
var core_1 = require("@workbench-stack/core");
|
5
|
+
Object.defineProperty(exports, "Extensions", { enumerable: true, get: function () { return core_1.Extensions; } });
|
6
|
+
//# sourceMappingURL=workbench-exports.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"workbench-exports.js","sourceRoot":"","sources":["../../src/interfaces/workbench-exports.ts"],"names":[],"mappings":";;;AAWA,8CAA8D;AAA1C,kGAAA,UAAU,OAAA"}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
export declare enum IPreDefineAccountPermissions {
|
2
|
+
secureUser = "account.user.secure",
|
3
|
+
guestUser = "account.user.guest",
|
4
|
+
inviteMember = "organization.teams.inviteMember",
|
5
|
+
viewTeams = "organization.teams.view",
|
6
|
+
createTeams = "organization.teams.create",
|
7
|
+
editTeams = "organization.teams.edit",
|
8
|
+
deleteTeams = "organization.teams.delete",
|
9
|
+
manageTeams = "organization.teams.manage",
|
10
|
+
accessTeamDashboard = "organization.teams.dashboard.access",
|
11
|
+
viewProjects = "organization.projects.view",
|
12
|
+
createProjects = "organization.projects.create",
|
13
|
+
editProjects = "organization.projects.edit",
|
14
|
+
deleteProjects = "organization.projects.delete",
|
15
|
+
manageProjects = "organization.projects.manage",
|
16
|
+
viewProjectStatus = "organization.projects.status.view",
|
17
|
+
viewMembers = "organization.members.view",
|
18
|
+
createMembers = "organization.members.create",
|
19
|
+
editMembers = "organization.members.edit",
|
20
|
+
deleteMembers = "organization.members.delete",
|
21
|
+
manageMembers = "organization.members.manage",
|
22
|
+
viewClients = "organization.clients.view",
|
23
|
+
createClients = "organization.clients.create",
|
24
|
+
editClients = "organization.clients.edit",
|
25
|
+
deleteClients = "organization.clients.delete",
|
26
|
+
manageClients = "organization.clients.manage",
|
27
|
+
viewTasks = "organization.tasks.view",
|
28
|
+
createTasks = "organization.tasks.create",
|
29
|
+
editTasks = "organization.tasks.edit",
|
30
|
+
deleteTasks = "organization.tasks.delete",
|
31
|
+
manageTasks = "organization.tasks.manage",
|
32
|
+
viewTags = "organization.tags.view",
|
33
|
+
createTags = "organization.tags.create",
|
34
|
+
editTags = "organization.tags.edit",
|
35
|
+
deleteTags = "organization.tags.delete",
|
36
|
+
manageTags = "organization.tags.manage",
|
37
|
+
viewOrganization = "organization.view",
|
38
|
+
createOrganization = "organization.create",
|
39
|
+
editOrganization = "organization.edit",
|
40
|
+
deleteOrganization = "organization.delete",
|
41
|
+
manageOrganization = "organization.manage",
|
42
|
+
viewRoles = "organization.roles.view",
|
43
|
+
editRoles = "organization.roles.edit",
|
44
|
+
viewPermissions = "organization.permissions.view",
|
45
|
+
editPermissions = "organization.permissions.edit",
|
46
|
+
viewPolicies = "organization.policies.view",
|
47
|
+
editPolicies = "organization.policies.edit",
|
48
|
+
viewSettings = "organization.settings.view",
|
49
|
+
editSettings = "organization.settings.edit",
|
50
|
+
viewReports = "organization.reports.view"
|
51
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IPreDefineAccountPermissions = void 0;
|
4
|
+
var IPreDefineAccountPermissions;
|
5
|
+
(function (IPreDefineAccountPermissions) {
|
6
|
+
IPreDefineAccountPermissions["secureUser"] = "account.user.secure";
|
7
|
+
IPreDefineAccountPermissions["guestUser"] = "account.user.guest";
|
8
|
+
IPreDefineAccountPermissions["inviteMember"] = "organization.teams.inviteMember";
|
9
|
+
IPreDefineAccountPermissions["viewTeams"] = "organization.teams.view";
|
10
|
+
IPreDefineAccountPermissions["createTeams"] = "organization.teams.create";
|
11
|
+
IPreDefineAccountPermissions["editTeams"] = "organization.teams.edit";
|
12
|
+
IPreDefineAccountPermissions["deleteTeams"] = "organization.teams.delete";
|
13
|
+
IPreDefineAccountPermissions["manageTeams"] = "organization.teams.manage";
|
14
|
+
IPreDefineAccountPermissions["accessTeamDashboard"] = "organization.teams.dashboard.access";
|
15
|
+
IPreDefineAccountPermissions["viewProjects"] = "organization.projects.view";
|
16
|
+
IPreDefineAccountPermissions["createProjects"] = "organization.projects.create";
|
17
|
+
IPreDefineAccountPermissions["editProjects"] = "organization.projects.edit";
|
18
|
+
IPreDefineAccountPermissions["deleteProjects"] = "organization.projects.delete";
|
19
|
+
IPreDefineAccountPermissions["manageProjects"] = "organization.projects.manage";
|
20
|
+
IPreDefineAccountPermissions["viewProjectStatus"] = "organization.projects.status.view";
|
21
|
+
IPreDefineAccountPermissions["viewMembers"] = "organization.members.view";
|
22
|
+
IPreDefineAccountPermissions["createMembers"] = "organization.members.create";
|
23
|
+
IPreDefineAccountPermissions["editMembers"] = "organization.members.edit";
|
24
|
+
IPreDefineAccountPermissions["deleteMembers"] = "organization.members.delete";
|
25
|
+
IPreDefineAccountPermissions["manageMembers"] = "organization.members.manage";
|
26
|
+
IPreDefineAccountPermissions["viewClients"] = "organization.clients.view";
|
27
|
+
IPreDefineAccountPermissions["createClients"] = "organization.clients.create";
|
28
|
+
IPreDefineAccountPermissions["editClients"] = "organization.clients.edit";
|
29
|
+
IPreDefineAccountPermissions["deleteClients"] = "organization.clients.delete";
|
30
|
+
IPreDefineAccountPermissions["manageClients"] = "organization.clients.manage";
|
31
|
+
IPreDefineAccountPermissions["viewTasks"] = "organization.tasks.view";
|
32
|
+
IPreDefineAccountPermissions["createTasks"] = "organization.tasks.create";
|
33
|
+
IPreDefineAccountPermissions["editTasks"] = "organization.tasks.edit";
|
34
|
+
IPreDefineAccountPermissions["deleteTasks"] = "organization.tasks.delete";
|
35
|
+
IPreDefineAccountPermissions["manageTasks"] = "organization.tasks.manage";
|
36
|
+
IPreDefineAccountPermissions["viewTags"] = "organization.tags.view";
|
37
|
+
IPreDefineAccountPermissions["createTags"] = "organization.tags.create";
|
38
|
+
IPreDefineAccountPermissions["editTags"] = "organization.tags.edit";
|
39
|
+
IPreDefineAccountPermissions["deleteTags"] = "organization.tags.delete";
|
40
|
+
IPreDefineAccountPermissions["manageTags"] = "organization.tags.manage";
|
41
|
+
IPreDefineAccountPermissions["viewOrganization"] = "organization.view";
|
42
|
+
IPreDefineAccountPermissions["createOrganization"] = "organization.create";
|
43
|
+
IPreDefineAccountPermissions["editOrganization"] = "organization.edit";
|
44
|
+
IPreDefineAccountPermissions["deleteOrganization"] = "organization.delete";
|
45
|
+
IPreDefineAccountPermissions["manageOrganization"] = "organization.manage";
|
46
|
+
IPreDefineAccountPermissions["viewRoles"] = "organization.roles.view";
|
47
|
+
IPreDefineAccountPermissions["editRoles"] = "organization.roles.edit";
|
48
|
+
IPreDefineAccountPermissions["viewPermissions"] = "organization.permissions.view";
|
49
|
+
IPreDefineAccountPermissions["editPermissions"] = "organization.permissions.edit";
|
50
|
+
IPreDefineAccountPermissions["viewPolicies"] = "organization.policies.view";
|
51
|
+
IPreDefineAccountPermissions["editPolicies"] = "organization.policies.edit";
|
52
|
+
IPreDefineAccountPermissions["viewSettings"] = "organization.settings.view";
|
53
|
+
IPreDefineAccountPermissions["editSettings"] = "organization.settings.edit";
|
54
|
+
IPreDefineAccountPermissions["viewReports"] = "organization.reports.view";
|
55
|
+
})(IPreDefineAccountPermissions = exports.IPreDefineAccountPermissions || (exports.IPreDefineAccountPermissions = {}));
|
56
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/account-api/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BA0DX;AA1DD,WAAY,4BAA4B;IACtC,kEAAkC,CAAA;IAClC,gEAAgC,CAAA;IAChC,gFAAgD,CAAA;IAChD,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IACzC,2FAA2D,CAAA;IAE3D,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,2EAA2C,CAAA;IAC3C,+EAA+C,CAAA;IAC/C,+EAA+C,CAAA;IAC/C,uFAAuD,CAAA;IAEvD,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,qEAAqC,CAAA;IACrC,yEAAyC,CAAA;IACzC,yEAAyC,CAAA;IAEzC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,mEAAmC,CAAA;IACnC,uEAAuC,CAAA;IACvC,uEAAuC,CAAA;IAEvC,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,sEAAsC,CAAA;IACtC,0EAA0C,CAAA;IAC1C,0EAA0C,CAAA;IAE1C,qEAAqC,CAAA;IACrC,qEAAsC,CAAA;IACtC,iFAAiD,CAAA;IACjD,iFAAiD,CAAA;IACjD,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAC3C,2EAA2C,CAAA;IAE3C,yEAAyC,CAAA;AAC3C,CAAC,EA1DW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QA0DvC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './enums';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./enums"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|