@adminide-stack/core 1.1.1-alpha.86 → 1.1.3-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/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 +0 -5
- package/lib/constants/configuration.js +1 -6
- package/lib/constants/configuration.js.map +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +1 -0
- package/lib/constants/index.js.map +1 -1
- package/lib/core/configurations/configuration.d.ts +14 -11
- package/lib/core/configurations/configuration.js +24 -16
- package/lib/core/configurations/configuration.js.map +1 -1
- package/lib/core/configurations/events/{abastract-configuration-change-event.d.ts → abstract-configuration-change-event.d.ts} +0 -0
- package/lib/core/configurations/events/{abastract-configuration-change-event.js → abstract-configuration-change-event.js} +1 -1
- 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 +1 -1
- package/lib/core/configurations/events/all-keys-configuration-change-event.js +2 -2
- package/lib/core/configurations/events/all-keys-configuration-change-event.js.map +1 -1
- package/lib/core/configurations/events/configuration-change-event.d.ts +1 -1
- package/lib/core/configurations/events/configuration-change-event.js +2 -2
- package/lib/core/configurations/events/configuration-change-event.js.map +1 -1
- package/lib/core/configurations/events/index.d.ts +1 -1
- package/lib/core/configurations/events/index.js +1 -1
- package/lib/core/configurations/events/index.js.map +1 -1
- package/lib/core/configurations/helpers/configuration.js +4 -4
- package/lib/core/configurations/helpers/configuration.js.map +1 -1
- package/lib/core/organization/configuration.d.ts +5 -4
- package/lib/core/organization/configuration.js +10 -11
- package/lib/core/organization/configuration.js.map +1 -1
- package/lib/core/organization/organization.d.ts +4 -3
- package/lib/core/organization/organization.js +2 -1
- package/lib/core/organization/organization.js.map +1 -1
- package/lib/enums/integrations-connection-names.d.ts +2 -0
- package/lib/enums/integrations-connection-names.js +2 -0
- package/lib/enums/integrations-connection-names.js.map +1 -1
- package/lib/enums/integrations.d.ts +3 -1
- package/lib/enums/integrations.js +2 -0
- package/lib/enums/integrations.js.map +1 -1
- package/lib/interfaces/configuration/configuration.d.ts +9 -3
- package/lib/interfaces/configuration/configuration.js +9 -3
- package/lib/interfaces/configuration/configuration.js.map +1 -1
- package/lib/interfaces/configuration/configuraton-service.d.ts +12 -1
- package/lib/interfaces/enum.d.ts +0 -8
- package/lib/interfaces/enum.js +0 -10
- package/lib/interfaces/enum.js.map +1 -1
- package/lib/interfaces/generated/generated-models.d.ts +1535 -4271
- package/lib/interfaces/generated/generated-models.js +470 -3330
- package/lib/interfaces/generated/generated-models.js.map +1 -1
- package/lib/interfaces/generated/index.d.ts +0 -20
- package/lib/interfaces/organization/organization-context-service.d.ts +3 -3
- package/lib/interfaces/page-store.d.ts +3 -2
- package/lib/interfaces/preferences-service.d.ts +8 -4
- package/lib/interfaces/service.d.ts +1 -0
- package/lib/interfaces/workbench-exports.js.map +1 -1
- package/lib/modules/account-api/enums/index.d.ts +26 -1
- package/lib/modules/account-api/enums/index.js +25 -0
- package/lib/modules/account-api/enums/index.js.map +1 -1
- package/lib/services/abstract-configuration.d.ts +8 -4
- package/lib/services/abstract-configuration.js +7 -2
- package/lib/services/abstract-configuration.js.map +1 -1
- 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 +12 -3
- package/lib/utils/generate-uri.js +13 -4
- package/lib/utils/generate-uri.js.map +1 -1
- package/lib/utils/generated-settings-id.js +6 -1
- package/lib/utils/generated-settings-id.js.map +1 -1
- package/package.json +4 -4
- package/lib/core/configurations/events/abastract-configuration-change-event.js.map +0 -1
@@ -8,6 +8,8 @@ var IntegrationConnections;
|
|
8
8
|
IntegrationConnections["Bitbucket"] = "bitbucket";
|
9
9
|
IntegrationConnections["GitLab"] = "Gitlab";
|
10
10
|
IntegrationConnections["Asana"] = "asana";
|
11
|
+
IntegrationConnections["Apple"] = "apple";
|
12
|
+
IntegrationConnections["Facebook"] = "facebook";
|
11
13
|
// Payment Integrations
|
12
14
|
IntegrationConnections["PaypalSandbox"] = "paypal-sandbox";
|
13
15
|
IntegrationConnections["Paypal"] = "paypal";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"integrations-connection-names.js","sourceRoot":"","sources":["../../src/enums/integrations-connection-names.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"integrations-connection-names.js","sourceRoot":"","sources":["../../src/enums/integrations-connection-names.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAYX;AAZD,WAAY,sBAAsB;IAChC,kDAAwB,CAAA;IACxB,2CAAiB,CAAA;IACjB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA;IACjB,yCAAe,CAAA;IACf,yCAAe,CAAA;IACf,+CAAqB,CAAA;IAErB,uBAAuB;IACvB,0DAAgC,CAAA;IAChC,2CAAiB,CAAA;AACnB,CAAC,EAZW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAYjC"}
|
@@ -8,5 +8,7 @@ var Integrations;
|
|
8
8
|
Integrations["Bitbucket"] = "Bitbucket";
|
9
9
|
Integrations["GitLab"] = "Gitlab";
|
10
10
|
Integrations["Asana"] = "Asana";
|
11
|
+
Integrations["Apple"] = "Apple";
|
12
|
+
Integrations["Facebook"] = "Facebook";
|
11
13
|
})(Integrations = exports.Integrations || (exports.Integrations = {}));
|
12
14
|
//# sourceMappingURL=integrations.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/enums/integrations.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/enums/integrations.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,uCAAuB,CAAA;IACvB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,+BAAe,CAAA;IACf,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB"}
|
@@ -2,11 +2,17 @@ import { ConfigurationScope } from '@workbench-stack/core';
|
|
2
2
|
export { ConfigurationScope };
|
3
3
|
export declare const enum ConfigurationTarget {
|
4
4
|
/**
|
5
|
-
* Targets the user configuraton file for writing.
|
5
|
+
* Targets the user/application configuraton file for writing.
|
6
6
|
*/
|
7
7
|
USER = 1,
|
8
|
-
|
9
|
-
|
8
|
+
/**
|
9
|
+
* Targets the application configuration file for writing.
|
10
|
+
*/
|
11
|
+
APPLICATION = 2,
|
12
|
+
/**
|
13
|
+
* Targets the machine configuration file for writing. This only works if a machine is opened.
|
14
|
+
*/
|
15
|
+
MACHINE = 3,
|
10
16
|
/**
|
11
17
|
* Targets the organization configuration file for writing. This only works if organization is opened.
|
12
18
|
*/
|
@@ -22,11 +22,17 @@ exports.RESOURCE_SCOPES = exports.ORGANIZATION_SCOPES = exports.REMOTE_MACHINE_S
|
|
22
22
|
var ConfigurationTarget;
|
23
23
|
(function (ConfigurationTarget) {
|
24
24
|
/**
|
25
|
-
* Targets the user configuraton file for writing.
|
25
|
+
* Targets the user/application configuraton file for writing.
|
26
26
|
*/
|
27
27
|
ConfigurationTarget[ConfigurationTarget["USER"] = 1] = "USER";
|
28
|
-
|
29
|
-
|
28
|
+
/**
|
29
|
+
* Targets the application configuration file for writing.
|
30
|
+
*/
|
31
|
+
ConfigurationTarget[ConfigurationTarget["APPLICATION"] = 2] = "APPLICATION";
|
32
|
+
/**
|
33
|
+
* Targets the machine configuration file for writing. This only works if a machine is opened.
|
34
|
+
*/
|
35
|
+
ConfigurationTarget[ConfigurationTarget["MACHINE"] = 3] = "MACHINE";
|
30
36
|
/**
|
31
37
|
* Targets the organization configuration file for writing. This only works if organization is opened.
|
32
38
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/interfaces/configuration/configuration.ts"],"names":[],"mappings":";;;AAIA,yCAAyC;AACzC,UAAU;AACV,kGAAkG;AAClG,UAAU;AACV,uBAAuB;AACvB,UAAU;AACV,yGAAyG;AACzG,UAAU;AACV,eAAe;AACf,UAAU;AACV,sGAAsG;AACtG,UAAU;AACV,cAAc;AACd,UAAU;AACV,mHAAmH;AACnH,UAAU;AACV,gBAAgB;AAChB,IAAI;AAEJ,IAAkB,
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/interfaces/configuration/configuration.ts"],"names":[],"mappings":";;;AAIA,yCAAyC;AACzC,UAAU;AACV,kGAAkG;AAClG,UAAU;AACV,uBAAuB;AACvB,UAAU;AACV,yGAAyG;AACzG,UAAU;AACV,eAAe;AACf,UAAU;AACV,sGAAsG;AACtG,UAAU;AACV,cAAc;AACd,UAAU;AACV,mHAAmH;AACnH,UAAU;AACV,gBAAgB;AAChB,IAAI;AAEJ,IAAkB,mBAuBjB;AAvBD,WAAkB,mBAAmB;IACjC;;OAEG;IACH,6DAAQ,CAAA;IACR;;OAEG;IACH,2EAAW,CAAA;IACX;;OAEG;IACH,mEAAO,CAAA;IACP;;OAEG;IACH,6EAAY,CAAA;IACZ;;OAEG;IACH,+FAAqB,CAAA;IACrB,mEAAO,CAAA;IACP,iEAAM,CAAA;AACV,CAAC,EAvBiB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAuBpC;AAGY,QAAA,oBAAoB,GAAG,uDAAwF,CAAC;AAChH,QAAA,qBAAqB,GAAG,mDAAoF,CAAC;AAC7G,QAAA,mBAAmB,GAAG,kCAAwD,CAAC;AAC/E,QAAA,eAAe,GAAG,kBAA6B,CAAC"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event';
|
2
2
|
import { ConfigurationTarget } from './configuration';
|
3
3
|
import { IConfigurationChangeEvent } from './event';
|
4
|
-
import { IConfigurationOverrides, IConfigurationData } from '../generated';
|
4
|
+
import { IConfigurationOverrides, IConfigurationData, IConfigurationModel, IIResourceData, IIConfigurationModel } from '../generated';
|
5
5
|
import { IDisposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle';
|
6
6
|
import { IOrganizationContext } from '../organization';
|
7
|
+
import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
|
7
8
|
export interface IConfigurationService extends IDisposable {
|
8
9
|
onDidChangeConfiguration: Event<IConfigurationChangeEvent>;
|
9
10
|
getConfigurationData(): IConfigurationData;
|
@@ -22,7 +23,16 @@ export interface IConfigurationService extends IDisposable {
|
|
22
23
|
updateValue(key: string, value: any, overrides: IConfigurationOverrides): Promise<void>;
|
23
24
|
updateValue(key: string, value: any, target: ConfigurationTarget): Promise<void>;
|
24
25
|
updateValue(key: string, value: any, overrides: IConfigurationOverrides, target: ConfigurationTarget, donotNotifyError?: boolean): Promise<void>;
|
26
|
+
/**
|
27
|
+
* Load the resource configuration if it is not loaded.
|
28
|
+
* @param resource
|
29
|
+
*/
|
30
|
+
loadResourceConfiguration(resources: IIResourceData[], force: any): Promise<IIConfigurationModel[]>;
|
25
31
|
reloadConfiguration(): Promise<void>;
|
32
|
+
/**
|
33
|
+
* Reloads the Organization Resource configuration
|
34
|
+
* @param resource
|
35
|
+
*/
|
26
36
|
reloadConfiguration(resource: any): Promise<void>;
|
27
37
|
initialize(organizationContext: IOrganizationContext): Promise<void>;
|
28
38
|
inspect<T>(key: string, overrides?: IConfigurationOverrides): {
|
@@ -42,6 +52,7 @@ export interface IConfigurationService extends IDisposable {
|
|
42
52
|
};
|
43
53
|
}
|
44
54
|
export interface IClientConfigurationService extends IConfigurationService {
|
55
|
+
externalConfiguration?(resource: URI): IConfigurationModel;
|
45
56
|
extAcceptConfigurationChanged(data: IConfigurationData, event: IConfigurationChangeEvent): void;
|
46
57
|
}
|
47
58
|
export interface IConfigurationMicroserviceEvent {
|
package/lib/interfaces/enum.d.ts
CHANGED
@@ -21,14 +21,6 @@ export interface IUserProjectSecrets {
|
|
21
21
|
export interface IUserProjectResource {
|
22
22
|
[key: string]: IUserProjectDetails;
|
23
23
|
}
|
24
|
-
export declare enum InactivityInterval {
|
25
|
-
Hour = 60,
|
26
|
-
Day = 1440,
|
27
|
-
Never = -1,
|
28
|
-
Week = 10080,
|
29
|
-
HalfHour = 30,
|
30
|
-
FourHours = 240
|
31
|
-
}
|
32
24
|
export interface IGiturlCreateRequest {
|
33
25
|
gitUrl: string;
|
34
26
|
}
|
package/lib/interfaces/enum.js
CHANGED
@@ -5,16 +5,6 @@
|
|
5
5
|
// MONOCULAR_STACK = 'MONOCULAR_STACK',
|
6
6
|
// }
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
8
|
-
exports.InactivityInterval = void 0;
|
9
|
-
var InactivityInterval;
|
10
|
-
(function (InactivityInterval) {
|
11
|
-
InactivityInterval[InactivityInterval["Hour"] = 60] = "Hour";
|
12
|
-
InactivityInterval[InactivityInterval["Day"] = 1440] = "Day";
|
13
|
-
InactivityInterval[InactivityInterval["Never"] = -1] = "Never";
|
14
|
-
InactivityInterval[InactivityInterval["Week"] = 10080] = "Week";
|
15
|
-
InactivityInterval[InactivityInterval["HalfHour"] = 30] = "HalfHour";
|
16
|
-
InactivityInterval[InactivityInterval["FourHours"] = 240] = "FourHours";
|
17
|
-
})(InactivityInterval = exports.InactivityInterval || (exports.InactivityInterval = {}));
|
18
8
|
// /**
|
19
9
|
// * @description
|
20
10
|
// * WorkspaceStatus: Different status the workspace can be on.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../src/interfaces/enum.ts"],"names":[],"mappings":";AAEA,0BAA0B;AAC1B,+BAA+B;AAC/B,qCAAqC;AACrC,2CAA2C;AAC3C,IAAI
|
1
|
+
{"version":3,"file":"enum.js","sourceRoot":"","sources":["../../src/interfaces/enum.ts"],"names":[],"mappings":";AAEA,0BAA0B;AAC1B,+BAA+B;AAC/B,qCAAqC;AACrC,2CAA2C;AAC3C,IAAI;;AAyDJ,MAAM;AACN,kBAAkB;AAClB,gEAAgE;AAChE,KAAK;AACL,eAAe;AACf,+GAA+G;AAC/G,eAAe;AACf,mFAAmF;AACnF,eAAe;AACf,8EAA8E;AAC9E,eAAe;AACf,+EAA+E;AAC/E,eAAe;AACf,wDAAwD;AACxD,MAAM;AACN,gCAAgC;AAChC,uEAAuE;AACvE,iEAAiE;AACjE,6DAA6D;AAC7D,+DAA+D;AAC/D,6DAA6D;AAC7D,+DAA+D;AAC/D,6DAA6D;AAC7D,+DAA+D;AAC/D,+DAA+D;AAC/D,6DAA6D;AAC7D,+DAA+D;AAC/D,2DAA2D;AAC3D,+DAA+D;AAC/D,6DAA6D;AAC7D,6DAA6D;AAC7D,6DAA6D;AAC7D,iEAAiE;AACjE,+DAA+D;AAC/D,IAAI;AAEJ,MAAM;AACN,oEAAoE;AACpE,mDAAmD;AACnD,MAAM;AACN,sCAAsC;AACtC,2DAA2D;AAC3D,2DAA2D;AAC3D,2DAA2D;AAC3D,2DAA2D;AAC3D,2DAA2D;AAC3D,IAAI;AAEJ,4CAA4C;AAC5C,6CAA6C;AAC7C,6CAA6C;AAC7C,2CAA2C;AAC3C,yCAAyC;AACzC,6CAA6C;AAC7C,IAAI;AAEJ,yCAAyC;AACzC,yCAAyC;AACzC,6CAA6C;AAC7C,6CAA6C;AAC7C,2CAA2C;AAC3C,yCAAyC;AACzC,6CAA6C;AAE7C,2DAA2D;AAC3D,6DAA6D;AAC7D,IAAI"}
|