@adminide-stack/core 10.2.3-alpha.4 → 10.3.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.
- package/lib/constants/index.d.ts +0 -2
- package/lib/core/configurations/configuration.d.ts +24 -25
- package/lib/core/configurations/configuration.js +1 -1
- package/lib/core/configurations/configuration.js.map +1 -1
- package/lib/core/configurations/events/ConfigurationChangeEvent.d.ts +1 -1
- package/lib/core/configurations/events/ConfigurationChangeEvent.js.map +1 -1
- package/lib/core/configurations/helpers/configuration.d.ts +1 -1
- package/lib/core/configurations/helpers/configuration.js +1 -1
- package/lib/core/configurations/helpers/configuration.js.map +1 -1
- package/lib/core/configurations/models/ConfigurationModel.d.ts +3 -3
- package/lib/core/configurations/models/ConfigurationModel.js.map +1 -1
- package/lib/core/organization/configuration.d.ts +1 -2
- package/lib/core/organization/configuration.js +1 -1
- package/lib/core/organization/configuration.js.map +1 -1
- package/lib/core/organization/helpers/organization-helpers.d.ts +1 -1
- package/lib/core/organization/organization.d.ts +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/interfaces/configuration/configuration-server-service.d.ts +1 -1
- package/lib/interfaces/index.d.ts +0 -2
- package/lib/interfaces/preferences-service.d.ts +1 -16
- package/lib/services/abstract-configuration.d.ts +1 -1
- package/lib/services/abstract-configuration.js +1 -1
- package/lib/services/abstract-organization-context-service.d.ts +1 -1
- package/lib/services/abstract-organization-context-service.js +1 -1
- package/lib/services/abstract-organization-context-service.js.map +1 -1
- package/lib/templates/modules/IConfigurationModel.ts.template +92 -0
- package/lib/utils/cdecodeUri.d.ts +1 -1
- package/lib/utils/cdecodeUri.js +4 -4
- package/lib/utils/cdecodeUri.js.map +1 -1
- package/lib/utils/configuration-utils.d.ts +1 -1
- package/lib/utils/generate-uri.d.ts +1 -2
- package/lib/utils/generate-uri.js +2 -2
- package/lib/utils/generate-uri.js.map +1 -1
- package/lib/utils/generated-settings-id.js +1 -1
- package/lib/utils/generated-settings-id.js.map +1 -1
- package/lib/utils/getUserAlias.d.ts +1 -1
- package/lib/utils/getUserAlias.js +1 -1
- package/lib/utils/getUserAlias.js.map +1 -1
- package/lib/utils/nodeContext.d.ts +1 -2
- package/lib/utils/nodeContext.js +1 -1
- package/lib/utils/nodeContext.js.map +1 -1
- package/lib/utils/preferenceUri.d.ts +1 -1
- package/lib/utils/preferenceUri.js +1 -1
- package/lib/utils/preferenceUri.js.map +1 -1
- package/lib/utils/resourceUriConversion.js +6 -6
- package/lib/utils/resourceUriConversion.js.map +1 -1
- package/lib/utils/splitCdecodeUri.js +3 -3
- package/lib/utils/splitCdecodeUri.js.map +1 -1
- package/package.json +11 -4
- package/lib/constants/scheme.d.ts +0 -40
- package/lib/constants/scheme.js +0 -43
- package/lib/constants/scheme.js.map +0 -1
- package/lib/constants/types.d.ts +0 -19
- package/lib/constants/types.js +0 -19
- package/lib/constants/types.js.map +0 -1
- package/lib/enums/connection-status.d.ts +0 -6
- package/lib/enums/connection-status.js +0 -7
- package/lib/enums/connection-status.js.map +0 -1
- package/lib/enums/index.d.ts +0 -6
- package/lib/enums/integration-configuration-status.d.ts +0 -5
- package/lib/enums/integration-configuration-status.js +0 -6
- package/lib/enums/integration-configuration-status.js.map +0 -1
- package/lib/enums/integrations-configuration-steps.d.ts +0 -8
- package/lib/enums/integrations-configuration-steps.js +0 -9
- package/lib/enums/integrations-configuration-steps.js.map +0 -1
- package/lib/enums/integrations-connection-names.d.ts +0 -12
- package/lib/enums/integrations-connection-names.js +0 -14
- package/lib/enums/integrations-connection-names.js.map +0 -1
- package/lib/enums/integrations.d.ts +0 -11
- package/lib/enums/integrations.js +0 -12
- package/lib/enums/integrations.js.map +0 -1
- package/lib/enums/permissions.d.ts +0 -7
- package/lib/enums/permissions.js +0 -8
- package/lib/enums/permissions.js.map +0 -1
- package/lib/interfaces/apollo-context.d.ts +0 -66
- package/lib/interfaces/log/index.d.ts +0 -1
- package/lib/interfaces/log/log-service.d.ts +0 -16
package/lib/enums/permissions.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
var PermissionTypes;
|
2
|
-
(function (PermissionTypes) {
|
3
|
-
PermissionTypes["view"] = "view";
|
4
|
-
PermissionTypes["create"] = "create";
|
5
|
-
PermissionTypes["edit"] = "edit";
|
6
|
-
PermissionTypes["delete"] = "delete";
|
7
|
-
PermissionTypes["manage"] = "manage";
|
8
|
-
})(PermissionTypes || (PermissionTypes = {}));export{PermissionTypes};//# sourceMappingURL=permissions.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"permissions.js","sources":["../../src/enums/permissions.ts"],"sourcesContent":[null],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB,EAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAA;AACA,EAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACA,EAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAA;AACA,EAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACA,EAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAA;AACJ,CAAC,EANW,eAAe,KAAf,eAAe,GAM1B,EAAA,CAAA,CAAA"}
|
@@ -1,66 +0,0 @@
|
|
1
|
-
import { DataProxy } from '@apollo/client/cache';
|
2
|
-
import { ApolloClient } from '@apollo/client/index.js';
|
3
|
-
import { CdmLogger } from '@cdm-logger/core';
|
4
|
-
import express from 'express';
|
5
|
-
import { IPreferncesTransformed } from '@common-stack/server-core';
|
6
|
-
import { IUserContext, IUserProfile, IIAuth0Token, AuthStrategy, ICdecodeParsedUri } from 'common/lib/generated/generated-models.js';
|
7
|
-
import { IClientService } from './service';
|
8
|
-
import { IEnvironmentService } from './environment';
|
9
|
-
import { IPreferencesService } from './preferences-service';
|
10
|
-
/**
|
11
|
-
*
|
12
|
-
* Context
|
13
|
-
* @export
|
14
|
-
* @interface MyContext
|
15
|
-
*/
|
16
|
-
export interface MyContext extends ClientContext, ServerContext {
|
17
|
-
}
|
18
|
-
export interface ClientContext {
|
19
|
-
/**
|
20
|
-
* Only application on the client side
|
21
|
-
*/
|
22
|
-
cache: DataProxy;
|
23
|
-
/**
|
24
|
-
* Only application on the client side
|
25
|
-
*/
|
26
|
-
getCacheKey: (options: {
|
27
|
-
__typename: string;
|
28
|
-
id?: string;
|
29
|
-
}) => string;
|
30
|
-
/**
|
31
|
-
* Only applicable on the client side
|
32
|
-
*/
|
33
|
-
apolloClient: ApolloClient<any>;
|
34
|
-
client: ApolloClient<any>;
|
35
|
-
getClientServices: () => IClientService;
|
36
|
-
}
|
37
|
-
export interface IDataSources {
|
38
|
-
}
|
39
|
-
export interface IHttpMiddlewareContext {
|
40
|
-
req?: express.Request & {
|
41
|
-
authStrategy: AuthStrategy | string;
|
42
|
-
permissions?: any;
|
43
|
-
cdecodeuri?: any;
|
44
|
-
currentPageUriSegments: ICdecodeParsedUri;
|
45
|
-
logger?: CdmLogger.ILogger;
|
46
|
-
user?: IIAuth0Token;
|
47
|
-
errors?: any;
|
48
|
-
profile?: IUserProfile;
|
49
|
-
};
|
50
|
-
res: express.Response;
|
51
|
-
}
|
52
|
-
export interface ServerContext extends IHttpMiddlewareContext {
|
53
|
-
accessRoleService: any;
|
54
|
-
user?: IIAuth0Token;
|
55
|
-
userContext?: IUserContext;
|
56
|
-
orgname?: string;
|
57
|
-
profile?: IUserProfile;
|
58
|
-
/** Backend Datasource */
|
59
|
-
dataSources: IDataSources;
|
60
|
-
orgRole?: string;
|
61
|
-
teamName?: string;
|
62
|
-
preferences: IPreferncesTransformed[];
|
63
|
-
environmentService: IEnvironmentService;
|
64
|
-
preferenceService?: IPreferencesService;
|
65
|
-
accountService?: any;
|
66
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './log-service';
|
@@ -1,16 +0,0 @@
|
|
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
|
-
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 {};
|