@adminide-stack/core 7.0.3-alpha.25 → 7.0.3-alpha.27
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/lib/constants/types.js +13 -13
- package/lib/constants/types.js.map +1 -1
- package/lib/constants/urls.js +3 -3
- package/lib/constants/urls.js.map +1 -1
- package/lib/core/configurations/configuration.js +546 -444
- package/lib/core/configurations/configuration.js.map +1 -1
- package/lib/core/configurations/events/ConfigurationChangeEvent.js +52 -49
- package/lib/core/configurations/events/ConfigurationChangeEvent.js.map +1 -1
- package/lib/core/configurations/helpers/configuration.js +138 -149
- package/lib/core/configurations/helpers/configuration.js.map +1 -1
- package/lib/core/configurations/models/ConfigurationModel.js +186 -190
- package/lib/core/configurations/models/ConfigurationModel.js.map +1 -1
- package/lib/core/disposable.js +66 -67
- package/lib/core/disposable.js.map +1 -1
- package/lib/core/event.js +239 -235
- package/lib/core/event.js.map +1 -1
- package/lib/core/organization/configuration.js +15 -15
- package/lib/core/organization/configuration.js.map +1 -1
- package/lib/core/organization/helpers/organization-helpers.js +7 -14
- package/lib/core/organization/helpers/organization-helpers.js.map +1 -1
- package/lib/core/organization/organization.js +132 -113
- package/lib/core/organization/organization.js.map +1 -1
- package/lib/core/path.js +154 -158
- package/lib/core/path.js.map +1 -1
- package/lib/enums/connection-status.js +4 -4
- package/lib/enums/connection-status.js.map +1 -1
- package/lib/enums/integration-configuration-status.js +3 -3
- package/lib/enums/integration-configuration-status.js.map +1 -1
- package/lib/enums/integrations-configuration-steps.js +6 -6
- package/lib/enums/integrations-configuration-steps.js.map +1 -1
- package/lib/enums/integrations-connection-names.js +10 -10
- package/lib/enums/integrations-connection-names.js.map +1 -1
- package/lib/enums/integrations.js +8 -8
- package/lib/enums/integrations.js.map +1 -1
- package/lib/enums/permissions.js +5 -5
- package/lib/enums/permissions.js.map +1 -1
- package/lib/enums/team-member-status.js +2 -2
- package/lib/enums/team-member-status.js.map +1 -1
- package/lib/errors/auth-error-messages.js +22 -22
- package/lib/errors/auth-error-messages.js.map +1 -1
- package/lib/errors/auth-error.js +9 -5
- package/lib/errors/auth-error.js.map +1 -1
- package/lib/interfaces/configuration/configuration.js +30 -30
- package/lib/interfaces/configuration/configuration.js.map +1 -1
- package/lib/interfaces/generated/generated-models.js +15741 -919
- package/lib/interfaces/generated/generated-models.js.map +1 -1
- package/lib/interfaces/organization/organization-context.js +12 -17
- package/lib/interfaces/organization/organization-context.js.map +1 -1
- package/lib/modules/account-api/enums/index.js +64 -64
- package/lib/modules/account-api/enums/index.js.map +1 -1
- package/lib/modules/billing-api/enums/index.js +18 -18
- package/lib/modules/billing-api/enums/index.js.map +1 -1
- package/lib/modules/inbox/enums/index.js +23 -23
- package/lib/modules/inbox/enums/index.js.map +1 -1
- package/lib/services/abstract-configuration.js +113 -116
- package/lib/services/abstract-configuration.js.map +1 -1
- package/lib/services/abstract-organization-context-service.js +97 -93
- package/lib/services/abstract-organization-context-service.js.map +1 -1
- package/lib/utils/configuration-utils.js +8 -8
- package/lib/utils/configuration-utils.js.map +1 -1
- package/lib/utils/date-utils.js +2 -2
- package/lib/utils/date-utils.js.map +1 -1
- package/lib/utils/flatten-utils.js +35 -39
- package/lib/utils/flatten-utils.js.map +1 -1
- package/lib/utils/generate-uri.js +25 -15
- package/lib/utils/generate-uri.js.map +1 -1
- package/lib/utils/generated-settings-id.js +4 -4
- package/lib/utils/generated-settings-id.js.map +1 -1
- package/lib/utils/omit-deep.js +7 -7
- package/lib/utils/omit-deep.js.map +1 -1
- package/lib/utils/roles-utils.js +6 -2
- package/lib/utils/roles-utils.js.map +1 -1
- package/lib/utils/uri.js +10 -12
- package/lib/utils/uri.js.map +1 -1
- package/lib/utils/utils.js +19 -14
- package/lib/utils/utils.js.map +1 -1
- package/lib/utils/validations.js +2 -2
- package/lib/utils/validations.js.map +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth-error-messages.js","sources":["../../src/errors/auth-error-messages.ts"],"sourcesContent":[null],"names":[],"mappings":"IAAY,WAaX;AAbD,CAAA,UAAY,UAAU,EAAA;AAClB,
|
1
|
+
{"version":3,"file":"auth-error-messages.js","sources":["../../src/errors/auth-error-messages.ts"],"sourcesContent":[null],"names":[],"mappings":"IAAY,WAaX;AAbD,CAAA,UAAY,UAAU,EAAA;AAClB,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;;AAEA,EAAA,UAAA,CAAA,gCAAA,CAAA,GAAA,uCAAA,CAAA;AACA,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;AACA,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;AACA,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;AACA,EAAA,UAAA,CAAA,sBAAA,CAAA,GAAA,sBAAA,CAAA;AACA,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;AACA,EAAA,UAAA,CAAA,eAAA,CAAA,GAAA,eAAA,CAAA;AACA,EAAA,UAAA,CAAA,cAAA,CAAA,GAAA,cAAA,CAAA;AACA,EAAA,UAAA,CAAA,iBAAA,CAAA,GAAA,iBAAA,CAAA;AACA,EAAA,UAAA,CAAA,eAAA,CAAA,GAAA,iBAAA,CAAA;AACJ,CAAC,EAbW,UAAU,KAAV,UAAU,GAarB,EAAA,CAAA,CAAA,CAAA;AAGY,MAAA,iBAAiB,GAAG;AAC7B,EAAA,YAAA,EAAY,wCAA0C;AACtD,EAAA,YAAA,EAAY,gCAAkC;AAC9C,EAAA,YAAA,EAAY,yCAA2C;AACvD,EAAA,YAAA,EAAY,yBAA2B;AACvC,EAAA,oBAAA,EAAoB,8BAAgC;AACpD,EAAA,YAAA,EAAY,0CAA4C;AACxD,EAAA,aAAA,EAAa,qBAAuB;AACpC,EAAA,YAAA,EAAY,yBAA2B;AACvC,EAAA,eAAA,EAAe,sBAAwB;AACvC,EAAA,aAAA,EAAa,uEAAyE;"}
|
package/lib/errors/auth-error.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
import {AuthErrors,AuthErrorsMessage}from'./auth-error-messages.js';class AuthError extends Error {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
static code = '403';
|
3
|
+
static title = AuthErrors.NotAuthorized;
|
4
|
+
constructor({
|
5
|
+
message
|
6
|
+
} = {
|
7
|
+
message: AuthErrorsMessage.NotAuthorized
|
8
|
+
}) {
|
9
|
+
super(message);
|
10
|
+
}
|
7
11
|
}export{AuthError};//# sourceMappingURL=auth-error.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth-error.js","sources":["../../src/errors/auth-error.ts"],"sourcesContent":[null],"names":[],"mappings":"oEAEM,MAAO,SAAU,SAAQ,KAAK,CAAA;AACzB,
|
1
|
+
{"version":3,"file":"auth-error.js","sources":["../../src/errors/auth-error.ts"],"sourcesContent":[null],"names":[],"mappings":"oEAEM,MAAO,SAAU,SAAQ,KAAK,CAAA;AACzB,EAAA,OAAA,IAAO,GAAO,KAAA,CAAA;AACd,EAAA,OAAA,KAAY,GAAA,UAAa,CAAA;aAEpB,CAAA;WACH;MACR;;;;;"}
|
@@ -18,36 +18,36 @@ export{ConfigurationScope}from'@workbench-stack/core/lib/interfaces/configuratio
|
|
18
18
|
// }
|
19
19
|
var ConfigurationTarget;
|
20
20
|
(function (ConfigurationTarget) {
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
21
|
+
/**
|
22
|
+
* Targets the user/application configuraton file for writing.
|
23
|
+
*/
|
24
|
+
ConfigurationTarget[ConfigurationTarget["USER"] = 1] = "USER";
|
25
|
+
/**
|
26
|
+
* Targets the application configuration file for writing.
|
27
|
+
*/
|
28
|
+
ConfigurationTarget[ConfigurationTarget["APPLICATION"] = 2] = "APPLICATION";
|
29
|
+
/**
|
30
|
+
* Targets the machine configuration file for writing. This only works if a machine is opened.
|
31
|
+
*/
|
32
|
+
ConfigurationTarget[ConfigurationTarget["MACHINE"] = 3] = "MACHINE";
|
33
|
+
/**
|
34
|
+
* Targets the organization configuration file for writing. This only works if organization is opened.
|
35
|
+
*/
|
36
|
+
ConfigurationTarget[ConfigurationTarget["ORGANIZATION"] = 4] = "ORGANIZATION";
|
37
|
+
/**
|
38
|
+
* Targets the resource configuration file for writing. This only works if a organization is opened.
|
39
|
+
*/
|
40
|
+
ConfigurationTarget[ConfigurationTarget["ORGANIZATION_RESOURCE"] = 5] = "ORGANIZATION_RESOURCE";
|
41
|
+
ConfigurationTarget[ConfigurationTarget["DEFAULT"] = 6] = "DEFAULT";
|
42
|
+
ConfigurationTarget[ConfigurationTarget["MEMORY"] = 7] = "MEMORY";
|
43
|
+
/**
|
44
|
+
* Resource specific configuration that can be configured
|
45
|
+
*/
|
46
|
+
ConfigurationTarget[ConfigurationTarget["RESOURCE_OVERRIDABLE"] = 8] = "RESOURCE_OVERRIDABLE";
|
47
|
+
/**
|
48
|
+
* Machine specific conifugration that can also be configured
|
49
|
+
*/
|
50
|
+
ConfigurationTarget[ConfigurationTarget["MACHINE_OVERRIDABLE"] = 9] = "MACHINE_OVERRIDABLE";
|
51
51
|
})(ConfigurationTarget || (ConfigurationTarget = {}));
|
52
52
|
const LOCAL_MACHINE_SCOPES = [1 /* ConfigurationScope.APPLICATION */, 3 /* ConfigurationScope.WINDOW */, 4 /* ConfigurationScope.RESOURCE */];
|
53
53
|
const REMOTE_MACHINE_SCOPES = [2 /* ConfigurationScope.MACHINE */, 3 /* ConfigurationScope.WINDOW */, 4 /* ConfigurationScope.RESOURCE */];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"configuration.js","sources":["../../../src/interfaces/configuration/configuration.ts"],"sourcesContent":[null],"names":[],"mappings":"oGAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IAEkB,oBA+BjB;AA/BD,CAAA,UAAkB,mBAAmB,EAAA;AACjC;;AAEG;AACH,
|
1
|
+
{"version":3,"file":"configuration.js","sources":["../../../src/interfaces/configuration/configuration.ts"],"sourcesContent":[null],"names":[],"mappings":"oGAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IAEkB,oBA+BjB;AA/BD,CAAA,UAAkB,mBAAmB,EAAA;AACjC;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,aAAA,CAAA,GAAA,CAAA,CAAA,GAAA,aAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,cAAA,CAAA,GAAA,CAAA,CAAA,GAAA,cAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,uBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,uBAAA,CAAA;AACA,EAAA,mBAAA,CAAA,mBAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAA,CAAA;AACA,EAAA,mBAAA,CAAA,mBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,sBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,sBAAA,CAAA;AACA;;AAEG;AACH,EAAA,mBAAA,CAAA,mBAAA,CAAA,qBAAA,CAAA,GAAA,CAAA,CAAA,GAAA,qBAAA,CAAA;AACJ,CAAC,EA/BiB,mBAAmB,KAAnB,mBAAmB,GA+BpC,EAAA,CAAA,CAAA,CAAA;AAGM,MAAM,oBAAoB,GAAG,iHAAyF;AACtH,MAAM,qBAAqB,GAAG,6GAAqF;AACnH,MAAM,mBAAmB,GAAG,yEAAyD;AACrF,MAAM,eAAe,GAAG"}
|