@adminide-stack/core 5.0.1-alpha.0 → 5.0.1-alpha.10

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.
Files changed (177) hide show
  1. package/lib/constants/billing-plan.js +1 -4
  2. package/lib/constants/billing-plan.js.map +1 -1
  3. package/lib/constants/configuration.js +7 -10
  4. package/lib/constants/configuration.js.map +1 -1
  5. package/lib/constants/constants.js +2 -5
  6. package/lib/constants/constants.js.map +1 -1
  7. package/lib/constants/default-workspace-config.js +3 -6
  8. package/lib/constants/default-workspace-config.js.map +1 -1
  9. package/lib/constants/index.js +7 -23
  10. package/lib/constants/index.js.map +1 -1
  11. package/lib/constants/routes.js +2 -5
  12. package/lib/constants/routes.js.map +1 -1
  13. package/lib/constants/types.js +5 -8
  14. package/lib/constants/types.js.map +1 -1
  15. package/lib/constants/urls.js +2 -5
  16. package/lib/constants/urls.js.map +1 -1
  17. package/lib/core/configurations/configuration.js +28 -34
  18. package/lib/core/configurations/configuration.js.map +1 -1
  19. package/lib/core/configurations/configuration.test.js +7 -9
  20. package/lib/core/configurations/configuration.test.js.map +1 -1
  21. package/lib/core/configurations/events/ConfigurationChangeEvent.js +11 -16
  22. package/lib/core/configurations/events/ConfigurationChangeEvent.js.map +1 -1
  23. package/lib/core/configurations/events/index.js +1 -17
  24. package/lib/core/configurations/events/index.js.map +1 -1
  25. package/lib/core/configurations/helpers/configuration.js +23 -38
  26. package/lib/core/configurations/helpers/configuration.js.map +1 -1
  27. package/lib/core/configurations/helpers/index.js +1 -17
  28. package/lib/core/configurations/helpers/index.js.map +1 -1
  29. package/lib/core/configurations/index.js +4 -20
  30. package/lib/core/configurations/index.js.map +1 -1
  31. package/lib/core/configurations/models/ConfigurationModel.js +9 -13
  32. package/lib/core/configurations/models/ConfigurationModel.js.map +1 -1
  33. package/lib/core/configurations/models/ConfigurationModel.test.js +33 -35
  34. package/lib/core/configurations/models/ConfigurationModel.test.js.map +1 -1
  35. package/lib/core/configurations/models/index.js +1 -17
  36. package/lib/core/configurations/models/index.js.map +1 -1
  37. package/lib/core/disposable.js +5 -9
  38. package/lib/core/disposable.js.map +1 -1
  39. package/lib/core/event.js +5 -9
  40. package/lib/core/event.js.map +1 -1
  41. package/lib/core/event.test.js +5 -7
  42. package/lib/core/event.test.js.map +1 -1
  43. package/lib/core/index.js +6 -22
  44. package/lib/core/index.js.map +1 -1
  45. package/lib/core/organization/configuration.js +2 -6
  46. package/lib/core/organization/configuration.js.map +1 -1
  47. package/lib/core/organization/helpers/index.js +1 -17
  48. package/lib/core/organization/helpers/index.js.map +1 -1
  49. package/lib/core/organization/helpers/organization-helpers.js +8 -16
  50. package/lib/core/organization/helpers/organization-helpers.js.map +1 -1
  51. package/lib/core/organization/index.js +3 -19
  52. package/lib/core/organization/index.js.map +1 -1
  53. package/lib/core/organization/organization.js +18 -26
  54. package/lib/core/organization/organization.js.map +1 -1
  55. package/lib/core/path.js +1 -5
  56. package/lib/core/path.js.map +1 -1
  57. package/lib/core/path.test.js +13 -15
  58. package/lib/core/path.test.js.map +1 -1
  59. package/lib/core/types.js +1 -2
  60. package/lib/core/uri.js +30 -14
  61. package/lib/core/uri.js.map +1 -1
  62. package/lib/core/uri.test.js +38 -40
  63. package/lib/core/uri.test.js.map +1 -1
  64. package/lib/enums/connection-status.js +2 -5
  65. package/lib/enums/connection-status.js.map +1 -1
  66. package/lib/enums/index.js +7 -23
  67. package/lib/enums/index.js.map +1 -1
  68. package/lib/enums/integration-configuration-status.js +2 -5
  69. package/lib/enums/integration-configuration-status.js.map +1 -1
  70. package/lib/enums/integrations-configuration-steps.js +2 -5
  71. package/lib/enums/integrations-configuration-steps.js.map +1 -1
  72. package/lib/enums/integrations-connection-names.js +2 -5
  73. package/lib/enums/integrations-connection-names.js.map +1 -1
  74. package/lib/enums/integrations.js +2 -5
  75. package/lib/enums/integrations.js.map +1 -1
  76. package/lib/enums/permissions.js +2 -5
  77. package/lib/enums/permissions.js.map +1 -1
  78. package/lib/enums/team-member-status.js +2 -5
  79. package/lib/enums/team-member-status.js.map +1 -1
  80. package/lib/errors/auth-error-messages.js +3 -6
  81. package/lib/errors/auth-error-messages.js.map +1 -1
  82. package/lib/errors/auth-error.js +4 -8
  83. package/lib/errors/auth-error.js.map +1 -1
  84. package/lib/errors/index.js +2 -18
  85. package/lib/errors/index.js.map +1 -1
  86. package/lib/index.js +8 -24
  87. package/lib/index.js.map +1 -1
  88. package/lib/interfaces/apollo-context.d.ts +1 -0
  89. package/lib/interfaces/apollo-context.js +1 -2
  90. package/lib/interfaces/common.js +1 -2
  91. package/lib/interfaces/configuration/configuration-file-service.js +1 -2
  92. package/lib/interfaces/configuration/configuration-server-service.js +1 -2
  93. package/lib/interfaces/configuration/configuration.js +8 -11
  94. package/lib/interfaces/configuration/configuration.js.map +1 -1
  95. package/lib/interfaces/configuration/configurationRegistry.js +1 -2
  96. package/lib/interfaces/configuration/configuraton-service.js +1 -2
  97. package/lib/interfaces/configuration/event.js +1 -2
  98. package/lib/interfaces/configuration/index.js +6 -22
  99. package/lib/interfaces/configuration/index.js.map +1 -1
  100. package/lib/interfaces/contex-key-service.js +1 -2
  101. package/lib/interfaces/database-migration.js +1 -2
  102. package/lib/interfaces/enum.js +1 -2
  103. package/lib/interfaces/enum.js.map +1 -1
  104. package/lib/interfaces/environment/argv.js +1 -2
  105. package/lib/interfaces/environment/environment-service.js +1 -2
  106. package/lib/interfaces/environment/index.js +2 -18
  107. package/lib/interfaces/environment/index.js.map +1 -1
  108. package/lib/interfaces/generated/generated-models.d.ts +3 -3
  109. package/lib/interfaces/generated/generated-models.js +725 -902
  110. package/lib/interfaces/generated/generated-models.js.map +1 -1
  111. package/lib/interfaces/generated/index.js +1 -17
  112. package/lib/interfaces/generated/index.js.map +1 -1
  113. package/lib/interfaces/index.js +18 -34
  114. package/lib/interfaces/index.js.map +1 -1
  115. package/lib/interfaces/lifecycle-service.js +1 -7
  116. package/lib/interfaces/lifecycle-service.js.map +1 -1
  117. package/lib/interfaces/log/index.js +1 -17
  118. package/lib/interfaces/log/index.js.map +1 -1
  119. package/lib/interfaces/log/log-service.js +1 -2
  120. package/lib/interfaces/nav-items.js +1 -2
  121. package/lib/interfaces/organization/index.js +3 -19
  122. package/lib/interfaces/organization/index.js.map +1 -1
  123. package/lib/interfaces/organization/organization-context-service.js +1 -2
  124. package/lib/interfaces/organization/organization-context.js +8 -11
  125. package/lib/interfaces/organization/organization-context.js.map +1 -1
  126. package/lib/interfaces/organization/organizations-context.js +1 -2
  127. package/lib/interfaces/page-store.js +1 -2
  128. package/lib/interfaces/permissions.js +1 -2
  129. package/lib/interfaces/platform.d.ts +1 -0
  130. package/lib/interfaces/platform.js +1 -2
  131. package/lib/interfaces/preferences-service.js +1 -2
  132. package/lib/interfaces/service.js +1 -2
  133. package/lib/interfaces/workbench-exports.js +1 -5
  134. package/lib/interfaces/workbench-exports.js.map +1 -1
  135. package/lib/modules/account-api/enums/index.js +2 -5
  136. package/lib/modules/account-api/enums/index.js.map +1 -1
  137. package/lib/modules/account-api/index.js +1 -17
  138. package/lib/modules/account-api/index.js.map +1 -1
  139. package/lib/modules/billing-api/enums/index.js +4 -7
  140. package/lib/modules/billing-api/enums/index.js.map +1 -1
  141. package/lib/modules/billing-api/index.js +1 -17
  142. package/lib/modules/billing-api/index.js.map +1 -1
  143. package/lib/modules/inbox/enums/index.js +2 -5
  144. package/lib/modules/inbox/enums/index.js.map +1 -1
  145. package/lib/modules/inbox/index.js +1 -17
  146. package/lib/modules/inbox/index.js.map +1 -1
  147. package/lib/modules/index.js +3 -19
  148. package/lib/modules/index.js.map +1 -1
  149. package/lib/services/abstract-configuration.js +25 -28
  150. package/lib/services/abstract-configuration.js.map +1 -1
  151. package/lib/services/abstract-organization-context-service.js +24 -27
  152. package/lib/services/abstract-organization-context-service.js.map +1 -1
  153. package/lib/services/index.js +2 -18
  154. package/lib/services/index.js.map +1 -1
  155. package/lib/utils/configuration-utils.js +1 -5
  156. package/lib/utils/configuration-utils.js.map +1 -1
  157. package/lib/utils/date-utils.js +1 -5
  158. package/lib/utils/date-utils.js.map +1 -1
  159. package/lib/utils/flatten-utils.js +4 -8
  160. package/lib/utils/flatten-utils.js.map +1 -1
  161. package/lib/utils/generate-uri.js +14 -24
  162. package/lib/utils/generate-uri.js.map +1 -1
  163. package/lib/utils/generated-settings-id.js +3 -7
  164. package/lib/utils/generated-settings-id.js.map +1 -1
  165. package/lib/utils/index.js +9 -25
  166. package/lib/utils/index.js.map +1 -1
  167. package/lib/utils/omit-deep.js +3 -7
  168. package/lib/utils/omit-deep.js.map +1 -1
  169. package/lib/utils/roles-utils.js +5 -9
  170. package/lib/utils/roles-utils.js.map +1 -1
  171. package/lib/utils/uri.js +6 -11
  172. package/lib/utils/uri.js.map +1 -1
  173. package/lib/utils/utils.js +4 -21
  174. package/lib/utils/utils.js.map +1 -1
  175. package/lib/utils/validations.js +1 -5
  176. package/lib/utils/validations.js.map +1 -1
  177. package/package.json +3 -2
@@ -1,18 +1,2 @@
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("./generated-models"), exports);
1
+ export * from './generated-models';
18
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/generated/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/generated/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
@@ -1,36 +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
1
  /* eslint-disable import/export */
18
- __exportStar(require("./enum"), exports);
19
- __exportStar(require("./common"), exports);
20
- __exportStar(require("./generated"), exports);
21
- __exportStar(require("./nav-items"), exports);
22
- __exportStar(require("./page-store"), exports);
23
- __exportStar(require("./apollo-context"), exports);
24
- __exportStar(require("./configuration"), exports);
25
- __exportStar(require("./organization"), exports);
26
- __exportStar(require("./preferences-service"), exports);
27
- __exportStar(require("./workbench-exports"), exports);
28
- __exportStar(require("./contex-key-service"), exports);
29
- __exportStar(require("./lifecycle-service"), exports);
30
- __exportStar(require("./database-migration"), exports);
31
- __exportStar(require("./permissions"), exports);
32
- __exportStar(require("./service"), exports);
33
- __exportStar(require("./log"), exports);
34
- __exportStar(require("./environment"), exports);
35
- __exportStar(require("./platform"), exports);
2
+ export * from './enum';
3
+ export * from './common';
4
+ export * from './generated';
5
+ export * from './nav-items';
6
+ export * from './page-store';
7
+ export * from './apollo-context';
8
+ export * from './configuration';
9
+ export * from './organization';
10
+ export * from './preferences-service';
11
+ export * from './workbench-exports';
12
+ export * from './contex-key-service';
13
+ export * from './lifecycle-service';
14
+ export * from './database-migration';
15
+ export * from './permissions';
16
+ export * from './service';
17
+ export * from './log';
18
+ export * from './environment';
19
+ export * from './platform';
36
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kCAAkC;AAClC,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;AAC9B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AAErC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC"}
@@ -1,8 +1,2 @@
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; } });
1
+ export { LifecyclePhase, StartupKind, ShutdownReason } from '@workbench-stack/core';
8
2
  //# sourceMappingURL=lifecycle-service.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"lifecycle-service.js","sourceRoot":"","sources":["../../src/interfaces/lifecycle-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,cAAc,EAAqB,WAAW,EAAuB,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,18 +1,2 @@
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);
1
+ export * from './log-service';
18
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/log/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/log/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=log-service.js.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=nav-items.js.map
@@ -1,20 +1,4 @@
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);
1
+ export * from './organization-context';
2
+ export * from './organizations-context';
3
+ export * from './organization-context-service';
20
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/organization/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,0DAAwC;AACxC,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/interfaces/organization/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gCAAgC,CAAC"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=organization-context-service.js.map
@@ -1,14 +1,11 @@
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;
1
+ import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
2
+ export var ApplicationState;
6
3
  (function (ApplicationState) {
7
4
  ApplicationState[ApplicationState["EMPTY"] = 1] = "EMPTY";
8
5
  ApplicationState[ApplicationState["RESOURCE"] = 2] = "RESOURCE";
9
6
  ApplicationState[ApplicationState["ORGANIZATION"] = 3] = "ORGANIZATION";
10
- })(ApplicationState = exports.ApplicationState || (exports.ApplicationState = {}));
11
- var IOrganizationContext;
7
+ })(ApplicationState || (ApplicationState = {}));
8
+ export var IOrganizationContext;
12
9
  (function (IOrganizationContext) {
13
10
  function isIOrganization(thing) {
14
11
  return thing && typeof thing === 'object'
@@ -16,16 +13,16 @@ var IOrganizationContext;
16
13
  && Array.isArray(thing.resources);
17
14
  }
18
15
  IOrganizationContext.isIOrganization = isIOrganization;
19
- })(IOrganizationContext = exports.IOrganizationContext || (exports.IOrganizationContext = {}));
16
+ })(IOrganizationContext || (IOrganizationContext = {}));
20
17
  // since IOrganizationFolder interface and namespace should exist in same file
21
- var IOrganizationResource;
18
+ export var IOrganizationResource;
22
19
  (function (IOrganizationResource) {
23
20
  function isIOrganizationResource(thing) {
24
21
  return thing && typeof thing === 'object'
25
- && uri_1.URI.isUri(thing.uri)
22
+ && URI.isUri(thing.uri)
26
23
  && typeof thing.name === 'string'
27
24
  && typeof thing.toResource === 'function';
28
25
  }
29
26
  IOrganizationResource.isIOrganizationResource = isIOrganizationResource;
30
- })(IOrganizationResource = exports.IOrganizationResource || (exports.IOrganizationResource = {}));
27
+ })(IOrganizationResource || (IOrganizationResource = {}));
31
28
  //# sourceMappingURL=organization-context.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"organization-context.js","sourceRoot":"","sources":["../../../src/interfaces/organization/organization-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kDAAkD,CAAC;AAIvE,MAAM,CAAN,IAAkB,gBAIjB;AAJD,WAAkB,gBAAgB;IAC9B,yDAAS,CAAA;IACT,+DAAQ,CAAA;IACR,uEAAY,CAAA;AAChB,CAAC,EAJiB,gBAAgB,KAAhB,gBAAgB,QAIjC;AAQD,MAAM,KAAW,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,KAApB,oBAAoB,QAMpC;AAuBD,8EAA8E;AAC9E,MAAM,KAAW,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IAClC,SAAgB,uBAAuB,CAAC,KAAU;QAC9C,OAAO,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ;eAClC,GAAG,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,KAArB,qBAAqB,QAOrC"}
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=organizations-context.js.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=page-store.js.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=permissions.js.map
@@ -1,5 +1,6 @@
1
1
  export type IPlatformState = {
2
2
  orgName: string;
3
+ teamName: string;
3
4
  loading: boolean;
4
5
  initialized: boolean;
5
6
  };
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=platform.js.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=preferences-service.js.map
@@ -1,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ export {};
3
2
  //# sourceMappingURL=service.js.map
@@ -1,9 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Extensions = void 0;
4
1
  // export type IConfigurationRegistry = IWorkspaceIConfigurationRegistry<ConfigurationScope>;
5
2
  // export type IConfigurationPropertySchema = IWorksapceConfigurationPropertySchema<ConfigurationScope>;
6
3
  // export type IConfigurationNode = IWorkspaceConfigurationNode<ConfigurationScope>;
7
- var core_1 = require("@workbench-stack/core");
8
- Object.defineProperty(exports, "Extensions", { enumerable: true, get: function () { return core_1.Extensions; } });
4
+ export { Extensions } from '@workbench-stack/core';
9
5
  //# sourceMappingURL=workbench-exports.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workbench-exports.js","sourceRoot":"","sources":["../../src/interfaces/workbench-exports.ts"],"names":[],"mappings":";;;AAOA,6FAA6F;AAC7F,wGAAwG;AACxG,oFAAoF;AAEpF,8CAA8D;AAA1C,kGAAA,UAAU,OAAA"}
1
+ {"version":3,"file":"workbench-exports.js","sourceRoot":"","sources":["../../src/interfaces/workbench-exports.ts"],"names":[],"mappings":"AAOA,6FAA6F;AAC7F,wGAAwG;AACxG,oFAAoF;AAEpF,OAAO,EAAa,UAAU,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IPreDefineAccountPermissions = void 0;
4
- var IPreDefineAccountPermissions;
1
+ export var IPreDefineAccountPermissions;
5
2
  (function (IPreDefineAccountPermissions) {
6
3
  IPreDefineAccountPermissions["secureUser"] = "account.user.secure";
7
4
  IPreDefineAccountPermissions["guestUser"] = "account.user.guest";
@@ -67,5 +64,5 @@ var IPreDefineAccountPermissions;
67
64
  IPreDefineAccountPermissions["viewSettings"] = "organization.settings.view";
68
65
  IPreDefineAccountPermissions["editSettings"] = "organization.settings.edit";
69
66
  IPreDefineAccountPermissions["viewReports"] = "organization.reports.view";
70
- })(IPreDefineAccountPermissions = exports.IPreDefineAccountPermissions || (exports.IPreDefineAccountPermissions = {}));
67
+ })(IPreDefineAccountPermissions || (IPreDefineAccountPermissions = {}));
71
68
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/account-api/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,4BAyEX;AAzED,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,MAAM;IACN,oFAAoD,CAAA;IACpD,wFAAwD,CAAA;IACxD,oFAAoD,CAAA;IACpD,wFAAwD,CAAA;IACxD,wFAAwD,CAAA;IACxD,gGAAgE,CAAA;IAChE,QAAQ;IACR,wFAAwD,CAAA;IACxD,4FAA4D,CAAA;IAC5D,wFAAwD,CAAA;IACxD,4FAA4D,CAAA;IAC5D,4FAA4D,CAAA;IAC5D,oGAAoE,CAAA;IAEpE,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,MAAM;IACN,kFAAkD,CAAA;IAClD,sFAAsD,CAAA;IACtD,kFAAkD,CAAA;IAClD,sFAAsD,CAAA;IACtD,sFAAsD,CAAA;IACtD,QAAQ;IACR,sFAAsD,CAAA;IACtD,0FAA0D,CAAA;IAC1D,sFAAsD,CAAA;IACtD,0FAA0D,CAAA;IAC1D,0FAA0D,CAAA;IAE1D,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,EAzEW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAyEvC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/account-api/enums/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,4BAyEX;AAzED,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,MAAM;IACN,oFAAoD,CAAA;IACpD,wFAAwD,CAAA;IACxD,oFAAoD,CAAA;IACpD,wFAAwD,CAAA;IACxD,wFAAwD,CAAA;IACxD,gGAAgE,CAAA;IAChE,QAAQ;IACR,wFAAwD,CAAA;IACxD,4FAA4D,CAAA;IAC5D,wFAAwD,CAAA;IACxD,4FAA4D,CAAA;IAC5D,4FAA4D,CAAA;IAC5D,oGAAoE,CAAA;IAEpE,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,yEAAyC,CAAA;IACzC,6EAA6C,CAAA;IAC7C,6EAA6C,CAAA;IAE7C,MAAM;IACN,kFAAkD,CAAA;IAClD,sFAAsD,CAAA;IACtD,kFAAkD,CAAA;IAClD,sFAAsD,CAAA;IACtD,sFAAsD,CAAA;IACtD,QAAQ;IACR,sFAAsD,CAAA;IACtD,0FAA0D,CAAA;IAC1D,sFAAsD,CAAA;IACtD,0FAA0D,CAAA;IAC1D,0FAA0D,CAAA;IAE1D,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,EAzEW,4BAA4B,KAA5B,4BAA4B,QAyEvC"}
@@ -1,18 +1,2 @@
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);
1
+ export * from './enums';
18
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/account-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/account-api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,13 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IPreDefineBillingPermissions = exports.IBillingModules = void 0;
4
- var IBillingModules;
1
+ export var IBillingModules;
5
2
  (function (IBillingModules) {
6
3
  IBillingModules["subscriptions"] = "subscriptions";
7
4
  IBillingModules["paymentMethods"] = "paymentMethods";
8
5
  IBillingModules["paymentProfile"] = "paymentProfile";
9
- })(IBillingModules = exports.IBillingModules || (exports.IBillingModules = {}));
10
- var IPreDefineBillingPermissions;
6
+ })(IBillingModules || (IBillingModules = {}));
7
+ export var IPreDefineBillingPermissions;
11
8
  (function (IPreDefineBillingPermissions) {
12
9
  IPreDefineBillingPermissions["viewSubscriptions"] = "organization.billing.subscriptions.view";
13
10
  IPreDefineBillingPermissions["createSubscriptions"] = "organization.billing.subscriptions.create";
@@ -24,5 +21,5 @@ var IPreDefineBillingPermissions;
24
21
  IPreDefineBillingPermissions["editPaymentProfile"] = "billing.paymentProfile.edit";
25
22
  IPreDefineBillingPermissions["deletePaymentProfile"] = "billing.paymentProfile.delete";
26
23
  IPreDefineBillingPermissions["managePaymentProfile"] = "billing.paymentProfile.manage";
27
- })(IPreDefineBillingPermissions = exports.IPreDefineBillingPermissions || (exports.IPreDefineBillingPermissions = {}));
24
+ })(IPreDefineBillingPermissions || (IPreDefineBillingPermissions = {}));
28
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/billing-api/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kDAA8B,CAAA;IAC9B,oDAAiC,CAAA;IACjC,oDAAgC,CAAA;AACpC,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,4BAkBX;AAlBD,WAAY,4BAA4B;IACpC,6FAA4D,CAAA;IAC5D,iGAAgE,CAAA;IAChE,6FAA4D,CAAA;IAC5D,iGAAgE,CAAA;IAChE,iGAAgE,CAAA;IAEhE,+FAA8D,CAAA;IAC9D,mGAAkE,CAAA;IAClE,+FAA8D,CAAA;IAC9D,mGAAkE,CAAA;IAClE,mGAAkE,CAAA;IAElE,kFAAiD,CAAA;IACjD,sFAAqD,CAAA;IACrD,kFAAiD,CAAA;IACjD,sFAAqD,CAAA;IACrD,sFAAqD,CAAA;AACzD,CAAC,EAlBW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAkBvC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/billing-api/enums/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACvB,kDAA8B,CAAA;IAC9B,oDAAiC,CAAA;IACjC,oDAAgC,CAAA;AACpC,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AAED,MAAM,CAAN,IAAY,4BAkBX;AAlBD,WAAY,4BAA4B;IACpC,6FAA4D,CAAA;IAC5D,iGAAgE,CAAA;IAChE,6FAA4D,CAAA;IAC5D,iGAAgE,CAAA;IAChE,iGAAgE,CAAA;IAEhE,+FAA8D,CAAA;IAC9D,mGAAkE,CAAA;IAClE,+FAA8D,CAAA;IAC9D,mGAAkE,CAAA;IAClE,mGAAkE,CAAA;IAElE,kFAAiD,CAAA;IACjD,sFAAqD,CAAA;IACrD,kFAAiD,CAAA;IACjD,sFAAqD,CAAA;IACrD,sFAAqD,CAAA;AACzD,CAAC,EAlBW,4BAA4B,KAA5B,4BAA4B,QAkBvC"}
@@ -1,18 +1,2 @@
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);
1
+ export * from './enums';
18
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/billing-api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/billing-api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IPreDefineInboxPermissions = void 0;
4
- var IPreDefineInboxPermissions;
1
+ export var IPreDefineInboxPermissions;
5
2
  (function (IPreDefineInboxPermissions) {
6
3
  //inbox
7
4
  //inbox/posts
@@ -26,5 +23,5 @@ var IPreDefineInboxPermissions;
26
23
  IPreDefineInboxPermissions["replyOthersThread"] = "organization.inbox.threads.replyOthersThread";
27
24
  IPreDefineInboxPermissions["editOthersThreadReply"] = "organization.inbox.threads.editOthersThreadReply";
28
25
  IPreDefineInboxPermissions["deleteOthersThreadReply"] = "organization.inbox.threads.deleteOthersThreadReply";
29
- })(IPreDefineInboxPermissions = exports.IPreDefineInboxPermissions || (exports.IPreDefineInboxPermissions = {}));
26
+ })(IPreDefineInboxPermissions || (IPreDefineInboxPermissions = {}));
30
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inbox/enums/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BA0BX;AA1BD,WAAY,0BAA0B;IAClC,OAAO;IACP,aAAa;IACb,yEAA2C,CAAA;IAC3C,4EAA8C,CAAA;IAC9C,wEAA0C,CAAA;IAC1C,4EAA8C,CAAA;IAE9C,eAAe;IACf,6EAA+C,CAAA;IAC/C,4EAA8C,CAAA;IAC9C,gFAAkD,CAAA;IAClD,8EAAgD,CAAA;IAChD,2BAA2B;IAC3B,wFAA0D,CAAA;IAC1D,iGAAmE,CAAA;IACnE,gGAAkE,CAAA;IAClE,4FAA8D,CAAA;IAC9D,gGAAkE,CAAA;IAElE,wBAAwB;IACxB,8FAAgE,CAAA;IAChE,kGAAoE,CAAA;IACpE,gGAAkE,CAAA;IAClE,wGAA0E,CAAA;IAC1E,4GAA8E,CAAA;AAClF,CAAC,EA1BW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA0BrC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/inbox/enums/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,0BA0BX;AA1BD,WAAY,0BAA0B;IAClC,OAAO;IACP,aAAa;IACb,yEAA2C,CAAA;IAC3C,4EAA8C,CAAA;IAC9C,wEAA0C,CAAA;IAC1C,4EAA8C,CAAA;IAE9C,eAAe;IACf,6EAA+C,CAAA;IAC/C,4EAA8C,CAAA;IAC9C,gFAAkD,CAAA;IAClD,8EAAgD,CAAA;IAChD,2BAA2B;IAC3B,wFAA0D,CAAA;IAC1D,iGAAmE,CAAA;IACnE,gGAAkE,CAAA;IAClE,4FAA8D,CAAA;IAC9D,gGAAkE,CAAA;IAElE,wBAAwB;IACxB,8FAAgE,CAAA;IAChE,kGAAoE,CAAA;IACpE,gGAAkE,CAAA;IAClE,wGAA0E,CAAA;IAC1E,4GAA8E,CAAA;AAClF,CAAC,EA1BW,0BAA0B,KAA1B,0BAA0B,QA0BrC"}
@@ -1,18 +1,2 @@
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);
1
+ export * from './enums';
18
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/inbox/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/inbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,20 +1,4 @@
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("./account-api"), exports);
18
- __exportStar(require("./billing-api"), exports);
19
- __exportStar(require("./inbox"), exports);
1
+ export * from './account-api';
2
+ export * from './billing-api';
3
+ export * from './inbox';
20
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,gDAA8B;AAC9B,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAA"}
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
2
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
3
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -12,22 +11,20 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
11
  return function (target, key) { decorator(target, key, paramIndex); }
13
12
  };
14
13
  var AbstractOrganizationConfigurationClientService_1;
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AbstractOrganizationConfigurationClientService = void 0;
17
- const inversify_1 = require("inversify");
18
- const client_core_1 = require("@common-stack/client-core");
19
- const core_1 = require("@workbench-stack/core");
20
- const map_1 = require("@vscode-alt/monaco-editor/esm/vs/base/common/map");
21
- const uri_1 = require("@vscode-alt/monaco-editor/esm/vs/base/common/uri");
22
- const event_1 = require("@vscode-alt/monaco-editor/esm/vs/base/common/event");
23
- const core_2 = require("../core");
14
+ import { injectable, inject } from 'inversify';
15
+ import { ClientTypes } from '@common-stack/client-core';
16
+ import { Disposable } from '@workbench-stack/core';
17
+ import { ResourceMap } from '@vscode-alt/monaco-editor/esm/vs/base/common/map';
18
+ import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
19
+ import { Emitter } from '@vscode-alt/monaco-editor/esm/vs/base/common/event';
20
+ import { OrganizationConfiguration as Configuration, isConfigurationOverrides, ConfigurationModel, ConfigurationChangeEvent, } from '../core';
24
21
  const MAX_EXTERNAL_RESOURCE_SIZE = 5;
25
- let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigurationClientService_1 = class AbstractOrganizationConfigurationClientService extends core_1.Disposable {
22
+ let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigurationClientService_1 = class AbstractOrganizationConfigurationClientService extends Disposable {
26
23
  constructor(_apolloClientFactory, utility, logger) {
27
24
  super();
28
25
  this._apolloClientFactory = _apolloClientFactory;
29
26
  this.utility = utility;
30
- this._onDidChangeConfiguration = this._register(new event_1.Emitter());
27
+ this._onDidChangeConfiguration = this._register(new Emitter());
31
28
  this.onDidChangeConfiguration = this._onDidChangeConfiguration.event;
32
29
  this.externalResources = [];
33
30
  this.logger = logger.child({ className: 'OrganizationConfigurationClientService' });
@@ -43,8 +40,8 @@ let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigu
43
40
  }
44
41
  getValue(arg1, arg2) {
45
42
  const section = typeof arg1 === 'string' ? arg1 : undefined;
46
- const overrides = (0, core_2.isConfigurationOverrides)(arg1) ? arg1 : (0, core_2.isConfigurationOverrides)(arg2) ? arg2 : {};
47
- if (overrides === null || overrides === void 0 ? void 0 : overrides.externalResource) {
43
+ const overrides = isConfigurationOverrides(arg1) ? arg1 : isConfigurationOverrides(arg2) ? arg2 : {};
44
+ if (overrides?.externalResource) {
48
45
  this.addResource(overrides.externalResource);
49
46
  }
50
47
  return this.configuration.getValue(section, overrides);
@@ -55,7 +52,7 @@ let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigu
55
52
  this.trimOldResource();
56
53
  const externalConfiguration = this.externalConfiguration(resource);
57
54
  const { contents, keys, overrides } = externalConfiguration;
58
- this.configuration.addResourceConfiguration(resource, new core_2.ConfigurationModel(contents, keys, overrides));
55
+ this.configuration.addResourceConfiguration(resource, new ConfigurationModel(contents, keys, overrides));
59
56
  }
60
57
  else {
61
58
  this.prioritiseResourceCache(resource);
@@ -92,26 +89,26 @@ let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigu
92
89
  const defaultConfiguration = AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.defaults);
93
90
  const policyConfiguration = data.policy
94
91
  ? AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.policy)
95
- : new core_2.ConfigurationModel();
92
+ : new ConfigurationModel();
96
93
  const applicationConfiguration = data.application
97
94
  ? AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.application)
98
- : new core_2.ConfigurationModel();
95
+ : new ConfigurationModel();
99
96
  const userConfiguration = AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.user);
100
97
  const machineConfiguration = data.machine
101
98
  ? AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.machine)
102
- : new core_2.ConfigurationModel();
99
+ : new ConfigurationModel();
103
100
  const organizationConfiguration = AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.organization);
104
101
  const resources = Object.keys(data.resources).reduce((result, key) => {
105
- result.set(uri_1.URI.parse(key), AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.resources[key]));
102
+ result.set(URI.parse(key), AbstractOrganizationConfigurationClientService_1.parseConfigurationModel(data.resources[key]));
106
103
  return result;
107
- }, new map_1.ResourceMap());
108
- return new core_2.OrganizationConfiguration(defaultConfiguration, policyConfiguration, applicationConfiguration, userConfiguration, machineConfiguration, organizationConfiguration, resources, previousConfiguration || new core_2.ConfigurationModel(), prevResourceConfigurations || new map_1.ResourceMap(), organization);
104
+ }, new ResourceMap());
105
+ return new Configuration(defaultConfiguration, policyConfiguration, applicationConfiguration, userConfiguration, machineConfiguration, organizationConfiguration, resources, previousConfiguration || new ConfigurationModel(), prevResourceConfigurations || new ResourceMap(), organization);
109
106
  }
110
107
  static parseConfigurationModel(model) {
111
- return new core_2.ConfigurationModel(model.contents, model.keys, model.overrides).freeze();
108
+ return new ConfigurationModel(model?.contents, model?.keys, model?.overrides).freeze();
112
109
  }
113
110
  trigger(configurationChange, previous, source) {
114
- const event = new core_2.ConfigurationChangeEvent(configurationChange, { data: previous }, this._configuration);
111
+ const event = new ConfigurationChangeEvent(configurationChange, { data: previous }, this._configuration);
115
112
  event.source = source;
116
113
  event.sourceConfig = this.getTargetConfiguration(source);
117
114
  this._onDidChangeConfiguration.fire(event);
@@ -131,11 +128,11 @@ let AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigu
131
128
  }
132
129
  };
133
130
  AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigurationClientService_1 = __decorate([
134
- (0, inversify_1.injectable)(),
135
- __param(0, (0, inversify_1.inject)(client_core_1.ClientTypes.ApolloClientFactory)),
136
- __param(1, (0, inversify_1.inject)(client_core_1.ClientTypes.UtilityClass)),
137
- __param(2, (0, inversify_1.inject)(client_core_1.ClientTypes.Logger)),
131
+ injectable(),
132
+ __param(0, inject(ClientTypes.ApolloClientFactory)),
133
+ __param(1, inject(ClientTypes.UtilityClass)),
134
+ __param(2, inject(ClientTypes.Logger)),
138
135
  __metadata("design:paramtypes", [Function, Object, Object])
139
136
  ], AbstractOrganizationConfigurationClientService);
140
- exports.AbstractOrganizationConfigurationClientService = AbstractOrganizationConfigurationClientService;
137
+ export { AbstractOrganizationConfigurationClientService };
141
138
  //# sourceMappingURL=abstract-configuration.js.map