@aristid/leav-types 1.12.0-e8c84be4 → 1.12.0-e94cad52
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/apps/core/config/default.d.ts +9 -2
- package/apps/core/src/_types/config.d.ts +9 -0
- package/apps/core/src/_types/errors.d.ts +1 -0
- package/apps/core/src/_types/events.d.ts +3 -0
- package/apps/core/src/_types/eventsManager.d.ts +8 -0
- package/apps/core/src/_types/extensionPoints.d.ts +2 -0
- package/apps/core/src/_types/record.d.ts +1 -0
- package/apps/core/src/app/core/automationApp.d.ts +3 -1
- package/apps/core/src/app/trpc/index.d.ts +1 -0
- package/apps/core/src/app/trpc/trpcApp.d.ts +30 -0
- package/apps/core/src/domain/actions/index.d.ts +1 -0
- package/apps/core/src/domain/actions/jexlCalculationAction.d.ts +14 -0
- package/apps/core/src/domain/automation/automationTriggers.d.ts +25 -0
- package/apps/core/src/domain/automation/index.d.ts +1 -0
- package/apps/core/src/domain/automation/pipelineExecutor.d.ts +3 -1
- package/apps/core/src/domain/automation/types.d.ts +15 -0
- package/apps/core/src/domain/discussion/discussionDomain.d.ts +3 -1
- package/apps/core/src/domain/jexl/index.d.ts +1 -0
- package/apps/core/src/domain/jexl/jexlDomain.d.ts +18 -0
- package/apps/core/src/domain/jexl/jexlExtended.d.ts +2 -0
- package/apps/core/src/domain/jexl/types.d.ts +37 -0
- package/apps/core/src/interface/server.d.ts +3 -1
- package/apps/core/tsconfig.types.tsbuildinfo +1 -1
- package/apps/core/vitest.e2e-api.config.d.ts +2 -0
- package/apps/core/vitest.e2e-fileManager.config.d.ts +2 -0
- package/apps/core/vitest.e2e-indexationManager.config.d.ts +2 -0
- package/apps/core/vitest.integration.config.d.ts +2 -0
- package/libs/utils/src/types/events.d.ts +2 -0
- package/package.json +2 -4
|
@@ -9,6 +9,9 @@ export declare namespace server {
|
|
|
9
9
|
let allowIntrospection: boolean;
|
|
10
10
|
let uploadLimit: string;
|
|
11
11
|
let supportEmail: string;
|
|
12
|
+
namespace trpc {
|
|
13
|
+
let ssePingIntervalMs: string | number;
|
|
14
|
+
}
|
|
12
15
|
namespace admin {
|
|
13
16
|
let login: string;
|
|
14
17
|
let password: string;
|
|
@@ -105,6 +108,10 @@ export declare namespace actions {
|
|
|
105
108
|
namespace excel {
|
|
106
109
|
let debug: boolean;
|
|
107
110
|
}
|
|
111
|
+
namespace jexl {
|
|
112
|
+
let debug_1: boolean;
|
|
113
|
+
export { debug_1 as debug };
|
|
114
|
+
}
|
|
108
115
|
}
|
|
109
116
|
export declare namespace bugsnag {
|
|
110
117
|
let enable_1: boolean;
|
|
@@ -230,7 +237,7 @@ export declare namespace indexationManager {
|
|
|
230
237
|
}
|
|
231
238
|
export { queues_3 as queues };
|
|
232
239
|
}
|
|
233
|
-
declare let
|
|
240
|
+
declare let debug_2: boolean;
|
|
234
241
|
export declare let defaultUserId: string;
|
|
235
242
|
export declare namespace _export {
|
|
236
243
|
let directory_1: string;
|
|
@@ -291,4 +298,4 @@ export declare namespace automation {
|
|
|
291
298
|
let enable_7: boolean;
|
|
292
299
|
export { enable_7 as enable };
|
|
293
300
|
}
|
|
294
|
-
export {
|
|
301
|
+
export { debug_2 as debug, _export as export, _import as import };
|
|
@@ -60,6 +60,9 @@ export interface IServer {
|
|
|
60
60
|
allowIntrospection: boolean;
|
|
61
61
|
uploadLimit: number | string;
|
|
62
62
|
supportEmail: string;
|
|
63
|
+
trpc: {
|
|
64
|
+
ssePingIntervalMs: number;
|
|
65
|
+
};
|
|
63
66
|
admin: {
|
|
64
67
|
login: string;
|
|
65
68
|
password: string;
|
|
@@ -77,6 +80,12 @@ export interface IActions {
|
|
|
77
80
|
*/
|
|
78
81
|
debug: boolean;
|
|
79
82
|
};
|
|
83
|
+
jexl: {
|
|
84
|
+
/**
|
|
85
|
+
* Add debug log for each calculation with formula and result or error
|
|
86
|
+
*/
|
|
87
|
+
debug: boolean;
|
|
88
|
+
};
|
|
80
89
|
}
|
|
81
90
|
export interface IDb {
|
|
82
91
|
url: string;
|
|
@@ -28,6 +28,7 @@ export declare enum Errors {
|
|
|
28
28
|
FORMAT_ERROR = "FORMAT_ERROR",
|
|
29
29
|
IMMUTABLE_CORE_SYSTEM_ATTRIBUTE = "IMMUTABLE_CORE_SYSTEM_ATTRIBUTE",
|
|
30
30
|
INVALID_ACTION_TYPE = "INVALID_ACTION_TYPE",
|
|
31
|
+
INVALID_ACTION_PARAMS = "INVALID_ACTION_PARAMS",
|
|
31
32
|
INVALID_ATTRIBUTE_TYPE = "INVALID_ATTRIBUTE_TYPE",
|
|
32
33
|
INVALID_ATTRIBUTE_FILTER_FORMAT = "INVALID_ATTRIBUTE_FILTER_FORMAT",
|
|
33
34
|
INVALID_ATTRIBUTE_FOR_LIBRARY = "INVALID_ATTRIBUTE_FOR_LIBRARY",
|
|
@@ -10,6 +10,7 @@ import { type IVersionProfile } from './versionProfile';
|
|
|
10
10
|
import { type IPermission } from './permissions';
|
|
11
11
|
import { type ITreeDbEvent, type ITree } from './tree';
|
|
12
12
|
import { type IAutomationRule } from './automation';
|
|
13
|
+
import { type IAutomationPipelineFailure, type IAutomationPipelineSuccess } from '../domain/automation/types';
|
|
13
14
|
type OnlyObject<T> = T extends object ? T : never;
|
|
14
15
|
/**
|
|
15
16
|
* Maybe move all DBPayloadData types in @leav/utils type to allow event consumers outside core to use them
|
|
@@ -33,6 +34,8 @@ interface IDBPayloadDataMap {
|
|
|
33
34
|
[EventAction.APP_DELETE]: IApplication;
|
|
34
35
|
[EventAction.AUTOMATION_RULE_CREATE]: IAutomationRule;
|
|
35
36
|
[EventAction.AUTOMATION_RULE_UPDATE]: IAutomationRule;
|
|
37
|
+
[EventAction.AUTOMATION_PIPELINE_SUCCESS]: IAutomationPipelineSuccess;
|
|
38
|
+
[EventAction.AUTOMATION_PIPELINE_FAILURE]: IAutomationPipelineFailure;
|
|
36
39
|
[EventAction.GLOBAL_SETTINGS_SAVE]: IGlobalSettings;
|
|
37
40
|
[EventAction.LIBRARY_SAVE]: ILibraryDbEvent;
|
|
38
41
|
[EventAction.LIBRARY_DELETE]: ILibraryDbEvent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type INotification } from './notification';
|
|
2
|
+
import { type IRecord } from './record';
|
|
2
3
|
import { type ITask } from './tasksManager';
|
|
3
4
|
export declare enum TriggerNames {
|
|
4
5
|
APPLICATION_EVENT = "APPLICATION_EVENT",
|
|
@@ -7,6 +8,7 @@ export declare enum TriggerNames {
|
|
|
7
8
|
TASK = "TASK",
|
|
8
9
|
TREE_EVENT = "TREE_EVENT",
|
|
9
10
|
RECORD_UPDATE = "RECORD_UPDATE",
|
|
11
|
+
RECORD_NEW_COMMENT = "RECORD_NEW_COMMENT",
|
|
10
12
|
NOTIFICATION = "NOTIFICATION"
|
|
11
13
|
}
|
|
12
14
|
export interface IPubSubNotificationData {
|
|
@@ -16,3 +18,9 @@ export interface IPubSubNotificationData {
|
|
|
16
18
|
export interface IPubSubTaskData {
|
|
17
19
|
task: ITask;
|
|
18
20
|
}
|
|
21
|
+
export interface IPubSubRecordNewCommentData {
|
|
22
|
+
recordNewComment: {
|
|
23
|
+
record: IRecord;
|
|
24
|
+
comment: IRecord;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -4,6 +4,7 @@ import { type PermissionTypes } from './permissions';
|
|
|
4
4
|
import { type PluginRegisterRoute } from './endpoint';
|
|
5
5
|
import { type AuthPostOidcLoginCallback } from './auth';
|
|
6
6
|
import { type RegisterCronTask } from './cronTask';
|
|
7
|
+
import { type ITRPCRouterFactory } from '../app/trpc/trpcApp';
|
|
7
8
|
export interface IExtensionPoints {
|
|
8
9
|
[name: string]: (...args: any[]) => void;
|
|
9
10
|
}
|
|
@@ -16,6 +17,7 @@ export interface IExtensionPointsFunctions extends IExtensionPoints {
|
|
|
16
17
|
* @param {IAppGraphQLSchema} schemaPart
|
|
17
18
|
*/
|
|
18
19
|
registerGraphQLSchema: (schemaPart: IAppGraphQLSchema) => void;
|
|
20
|
+
registerTRPCRouter: (initRouter: ITRPCRouterFactory) => void;
|
|
19
21
|
registerTranslations: (path: string) => Promise<void>;
|
|
20
22
|
registerPermissionActions: (type: PermissionTypes, actions: string[], applyOn?: string[]) => void;
|
|
21
23
|
registerEventActions: (actions: string[], prefix: string) => void;
|
|
@@ -102,6 +102,7 @@ export interface IRecordUpdateEventFilters {
|
|
|
102
102
|
libraries?: string[];
|
|
103
103
|
records?: string[];
|
|
104
104
|
}
|
|
105
|
+
export type IRecordCommentEventFilters = IRecordUpdateEventFilters;
|
|
105
106
|
export interface IRecordFilterLight {
|
|
106
107
|
field?: string;
|
|
107
108
|
value?: string;
|
|
@@ -3,9 +3,11 @@ import { type IAutomationDomain } from '../../domain/automation/automationDomain
|
|
|
3
3
|
import { type IAutomationRule } from '../../_types/automation';
|
|
4
4
|
import { type IPaginationParams, type ISortParams } from '../../_types/list';
|
|
5
5
|
import { type IEventsManagerDomain } from '../../domain/eventsManager/eventsManagerDomain';
|
|
6
|
+
import { type IAutomationTriggers } from '../../domain/automation/automationTriggers';
|
|
6
7
|
export type ICoreImportApp = IGraphqlAppModule;
|
|
7
8
|
interface IAutomationAppDeps {
|
|
8
9
|
'core.domain.automation': IAutomationDomain;
|
|
10
|
+
'core.domain.automation.triggers': IAutomationTriggers;
|
|
9
11
|
'core.domain.eventsManager': IEventsManagerDomain;
|
|
10
12
|
}
|
|
11
13
|
export interface IGetAutomationRulesArgs {
|
|
@@ -18,5 +20,5 @@ export interface IGetAutomationRulesArgs {
|
|
|
18
20
|
pagination?: IPaginationParams;
|
|
19
21
|
sort?: ISortParams;
|
|
20
22
|
}
|
|
21
|
-
export default function ({ 'core.domain.automation': automationDomain, 'core.domain.eventsManager': eventsManagerDomain, }: IAutomationAppDeps): ICoreImportApp;
|
|
23
|
+
export default function ({ 'core.domain.automation': automationDomain, 'core.domain.automation.triggers': automationTriggers, 'core.domain.eventsManager': eventsManagerDomain, }: IAutomationAppDeps): ICoreImportApp;
|
|
22
24
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './trpcApp';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type IAppModule } from '../../_types/shared';
|
|
2
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
|
+
import { type CreateExpressContextOptions } from '@trpc/server/adapters/express';
|
|
4
|
+
import { type Handler } from 'express';
|
|
5
|
+
import { type IConfig } from '../../_types/config';
|
|
6
|
+
import { type ILogger } from '@leav/logger';
|
|
7
|
+
export interface ITRPCApp extends IAppModule {
|
|
8
|
+
createExpressHandler: (initContext: (opts: CreateExpressContextOptions) => Promise<IQueryInfos>) => Handler;
|
|
9
|
+
}
|
|
10
|
+
declare const createTrpc: (config: IConfig) => import("@trpc/server").TRPCRootObject<IQueryInfos, object, {
|
|
11
|
+
sse: {
|
|
12
|
+
ping: {
|
|
13
|
+
enabled: true;
|
|
14
|
+
intervalMs: number;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
ctx: IQueryInfos;
|
|
19
|
+
meta: object;
|
|
20
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
21
|
+
transformer: false;
|
|
22
|
+
}>;
|
|
23
|
+
export type TTrpc = ReturnType<typeof createTrpc>;
|
|
24
|
+
export type ITRPCRouterFactory = (trpc: TTrpc) => ReturnType<TTrpc['router']>;
|
|
25
|
+
interface IDeps {
|
|
26
|
+
config: IConfig;
|
|
27
|
+
'core.utils.logger'?: ILogger;
|
|
28
|
+
}
|
|
29
|
+
export default function ({ config, 'core.utils.logger': logger }: IDeps): ITRPCApp;
|
|
30
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as dateRangeToNumberAction } from './dateRangeToNumberAction';
|
|
2
2
|
export { default as encryptAction } from './encryptAction';
|
|
3
3
|
export { default as excelAction } from './excelCalculationAction';
|
|
4
|
+
export { default as jexlCalculationAction } from './jexlCalculationAction';
|
|
4
5
|
export { default as formatDateAction } from './formatDateAction';
|
|
5
6
|
export { default as formatDateRangeAction } from './formatDateRangeAction';
|
|
6
7
|
export { default as formatNumberAction } from './formatNumberAction';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type IJexlDomain } from '../jexl/jexlDomain';
|
|
2
|
+
import { type IActionsListFunction } from '../../_types/actionsList';
|
|
3
|
+
import { type IConfig } from '../../_types/config';
|
|
4
|
+
interface IDeps {
|
|
5
|
+
'core.domain.jexl': IJexlDomain;
|
|
6
|
+
config: IConfig;
|
|
7
|
+
}
|
|
8
|
+
type ActionParams = {
|
|
9
|
+
Formula: true;
|
|
10
|
+
Description: true;
|
|
11
|
+
['Return only calculated value']: false;
|
|
12
|
+
};
|
|
13
|
+
export default function ({ 'core.domain.jexl': jexlDomain, config }: IDeps): IActionsListFunction<ActionParams>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { type AutomationRuleEventAction } from '../../_types/automation';
|
|
2
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
|
+
/**
|
|
4
|
+
* This list of topic should match AutomationRulesEventTopic properties
|
|
5
|
+
*/
|
|
6
|
+
export declare enum AutomationTriggerDefTopics {
|
|
7
|
+
LIBRARY = "LIBRARY",
|
|
8
|
+
ATTRIBUTE = "ATTRIBUTE"
|
|
9
|
+
}
|
|
10
|
+
export declare enum AutomationTriggerDefSynchronicity {
|
|
11
|
+
SYNC = "SYNC",
|
|
12
|
+
ASYNC = "ASYNC",
|
|
13
|
+
BOTH = "BOTH"
|
|
14
|
+
}
|
|
15
|
+
export type AutomationTriggerDef = {
|
|
16
|
+
eventAction: AutomationRuleEventAction;
|
|
17
|
+
topics: AutomationTriggerDefTopics[];
|
|
18
|
+
synchronicity: AutomationTriggerDefSynchronicity;
|
|
19
|
+
};
|
|
20
|
+
export interface IAutomationTriggers {
|
|
21
|
+
getAutomationTriggers({ ctx }: {
|
|
22
|
+
ctx: IQueryInfos;
|
|
23
|
+
}): AutomationTriggerDef[];
|
|
24
|
+
}
|
|
25
|
+
export default function (): IAutomationTriggers;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type AwilixContainer } from 'awilix';
|
|
2
2
|
import { type AutomationRuleTrigger, type AutomationRulePipeline } from '../../_types/automation';
|
|
3
|
+
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
3
4
|
import { type IAutomationAction } from './types';
|
|
4
5
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
5
6
|
export type AutomationPipelineToExecute = AutomationRulePipeline & {
|
|
@@ -12,5 +13,6 @@ export interface IPipelineExecutor {
|
|
|
12
13
|
}
|
|
13
14
|
export interface IPipelineExecutorDeps {
|
|
14
15
|
'core.depsManager': AwilixContainer;
|
|
16
|
+
'core.domain.eventsManager': IEventsManagerDomain;
|
|
15
17
|
}
|
|
16
|
-
export default function ({ 'core.depsManager': depsManager }: IPipelineExecutorDeps): IPipelineExecutor;
|
|
18
|
+
export default function ({ 'core.depsManager': depsManager, 'core.domain.eventsManager': eventsManager, }: IPipelineExecutorDeps): IPipelineExecutor;
|
|
@@ -7,12 +7,16 @@ export declare enum ActionExecutionResultStatus {
|
|
|
7
7
|
}
|
|
8
8
|
export type IActionExecutionResult = {
|
|
9
9
|
status: ActionExecutionResultStatus.CONTINUE;
|
|
10
|
+
result?: unknown;
|
|
10
11
|
} | {
|
|
11
12
|
status: ActionExecutionResultStatus.STOP;
|
|
12
13
|
reason?: string;
|
|
13
14
|
};
|
|
15
|
+
export type IAutomationPipelineExecutionResults = Record<string, unknown>;
|
|
14
16
|
export type IAutomationPipelineExecutionState = {
|
|
15
17
|
readonly trigger: AutomationRuleTrigger;
|
|
18
|
+
readonly results: IAutomationPipelineExecutionResults;
|
|
19
|
+
readonly startDateMs: number;
|
|
16
20
|
};
|
|
17
21
|
export interface IAutomationAction<Params = unknown> {
|
|
18
22
|
readonly type: AutomationRuleActions | string;
|
|
@@ -20,3 +24,14 @@ export interface IAutomationAction<Params = unknown> {
|
|
|
20
24
|
validateParams?: (params: Params) => Promise<void>;
|
|
21
25
|
execute(params: Params, state: IAutomationPipelineExecutionState, ctx: IQueryInfos): Promise<IActionExecutionResult | void>;
|
|
22
26
|
}
|
|
27
|
+
export type IAutomationPipelineSuccess = {
|
|
28
|
+
readonly results: Record<string, unknown>;
|
|
29
|
+
};
|
|
30
|
+
export type IAutomationPipelineFailure = {
|
|
31
|
+
readonly results: Record<string, unknown | {
|
|
32
|
+
stack?: string;
|
|
33
|
+
message: string;
|
|
34
|
+
name: string;
|
|
35
|
+
[k: string]: unknown;
|
|
36
|
+
}>;
|
|
37
|
+
};
|
|
@@ -6,6 +6,7 @@ import { type IValueDomain } from '../value/valueDomain';
|
|
|
6
6
|
import { type IUserDomain } from '../user/userDomain';
|
|
7
7
|
import { type i18n } from 'i18next';
|
|
8
8
|
import { type IConfig } from '../../_types/config';
|
|
9
|
+
import { type IEventsManagerDomain } from '../../domain/eventsManager/eventsManagerDomain';
|
|
9
10
|
export interface IDiscussionDomain {
|
|
10
11
|
postDiscussionComment(params: {
|
|
11
12
|
params?: IPostDiscussionCommentParams;
|
|
@@ -17,7 +18,8 @@ export interface IDiscussionDomainDeps {
|
|
|
17
18
|
'core.domain.record': IRecordDomain;
|
|
18
19
|
'core.domain.value': IValueDomain;
|
|
19
20
|
'core.domain.user': IUserDomain;
|
|
21
|
+
'core.domain.eventsManager': IEventsManagerDomain;
|
|
20
22
|
translator: i18n;
|
|
21
23
|
config: IConfig;
|
|
22
24
|
}
|
|
23
|
-
export default function ({ 'core.domain.notification': notificationDomain, 'core.domain.record': recordDomain, 'core.domain.value': valueDomain, 'core.domain.user': userDomain, translator, config, }: IDiscussionDomainDeps): IDiscussionDomain;
|
|
25
|
+
export default function ({ 'core.domain.notification': notificationDomain, 'core.domain.record': recordDomain, 'core.domain.value': valueDomain, 'core.domain.user': userDomain, 'core.domain.eventsManager': eventsManagerDomain, translator, config, }: IDiscussionDomainDeps): IDiscussionDomain;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './jexlDomain';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type IValueDomain } from '../value/valueDomain';
|
|
2
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
|
+
import { type IRecord } from '../../_types/record';
|
|
4
|
+
import { type IValue } from '../../_types/value';
|
|
5
|
+
import { type ITreeNode } from '../../_types/tree';
|
|
6
|
+
import { type JexlContext, type JexlRecordContext, type JexlRootContext, type JexlTreeNodeContext, type JexlValueContext } from './types';
|
|
7
|
+
interface IDeps {
|
|
8
|
+
'core.domain.value': IValueDomain;
|
|
9
|
+
}
|
|
10
|
+
export interface IJexlDomain {
|
|
11
|
+
eval<Ctx extends JexlContext>(expression: string, context?: Ctx): Promise<any>;
|
|
12
|
+
buildRootContext: <T>(contextData: T, ctx: IQueryInfos) => JexlRootContext<T>;
|
|
13
|
+
buildRecordContext: (record: IRecord, ctx: IQueryInfos) => JexlRecordContext;
|
|
14
|
+
buildTreeNodeContext: (treeNode: ITreeNode, ctx: IQueryInfos) => JexlTreeNodeContext;
|
|
15
|
+
buildValuesContext: (values: IValue[], ctx: IQueryInfos) => JexlValueContext[];
|
|
16
|
+
}
|
|
17
|
+
export default function ({ 'core.domain.value': valueDomain }: IDeps): IJexlDomain;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
2
|
+
import { type IRecord } from '../../_types/record';
|
|
3
|
+
import { type ITreeNode } from '../../_types/tree';
|
|
4
|
+
import { type IStandardValue } from '../../_types/value';
|
|
5
|
+
export declare enum JexlContextType {
|
|
6
|
+
ROOT = "root",
|
|
7
|
+
RECORD = "record",
|
|
8
|
+
TREE_NODE = "treeNode",
|
|
9
|
+
USER = "user"
|
|
10
|
+
}
|
|
11
|
+
export type JexlContext<T extends JexlContextType = JexlContextType> = {
|
|
12
|
+
/**
|
|
13
|
+
* This property is used internally to identify the type of context (root, record, tree node, user)
|
|
14
|
+
* and should not be used in Jexl expressions as it may cause conflicts with user-defined properties.
|
|
15
|
+
*/
|
|
16
|
+
__jexlContextType: T;
|
|
17
|
+
/**
|
|
18
|
+
* This method is used internally to retrieve the IQueryInfos context for the current Jexl evaluation.
|
|
19
|
+
* It should not be used in Jexl expressions as it may cause conflicts with user-defined properties and is not intended for direct use in expressions.
|
|
20
|
+
*/
|
|
21
|
+
__getJexlQueryCtx(): IQueryInfos;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* The jexl context to be passed in jexl evaluation
|
|
25
|
+
* Still subject to change but the idea is to have a clear separation between root context (which can be defined by the user of the jexl domain)
|
|
26
|
+
* and record/tree node contexts which are built from values payload when using getValues transform or function in jexl expressions
|
|
27
|
+
*/
|
|
28
|
+
export type JexlRootContext<T = unknown> = T & JexlContext<JexlContextType.ROOT> & {
|
|
29
|
+
currentUser: JexlUserContext;
|
|
30
|
+
};
|
|
31
|
+
export type JexlRecordContext = IRecord & JexlContext<JexlContextType.RECORD>;
|
|
32
|
+
export type JexlTreeNodeContext = ITreeNode & JexlContext<JexlContextType.TREE_NODE>;
|
|
33
|
+
export type JexlUserContext = JexlContext<JexlContextType.USER> & {
|
|
34
|
+
record: JexlRecordContext;
|
|
35
|
+
lang?: string;
|
|
36
|
+
};
|
|
37
|
+
export type JexlValueContext = IStandardValue['payload'] | JexlRecordContext | JexlTreeNodeContext;
|
|
@@ -10,6 +10,7 @@ import { type IConfig } from '../_types/config';
|
|
|
10
10
|
import { type ValidateRequestTokenFunc } from '../app/helpers/validateRequestToken';
|
|
11
11
|
import { type HandleGraphqlErrorFunc } from './helpers/handleGraphqlError';
|
|
12
12
|
import { type InitQueryContextFunc } from '../app/helpers/initQueryContext';
|
|
13
|
+
import { type ITRPCApp } from '../app/trpc/trpcApp';
|
|
13
14
|
export interface IServer {
|
|
14
15
|
init(): Promise<void>;
|
|
15
16
|
initConsumers(): Promise<void>;
|
|
@@ -24,6 +25,7 @@ interface IDeps {
|
|
|
24
25
|
config?: IConfig;
|
|
25
26
|
'core.interface.helpers.handleGraphqlError'?: HandleGraphqlErrorFunc;
|
|
26
27
|
'core.app.graphql'?: IGraphqlApp;
|
|
28
|
+
'core.app.trpc'?: ITRPCApp;
|
|
27
29
|
'core.app.auth'?: IAuthApp;
|
|
28
30
|
'core.app.application'?: IApplicationApp;
|
|
29
31
|
'core.app.core'?: ICoreApp;
|
|
@@ -33,5 +35,5 @@ interface IDeps {
|
|
|
33
35
|
'core.utils'?: IUtils;
|
|
34
36
|
'core.depsManager'?: AwilixContainer;
|
|
35
37
|
}
|
|
36
|
-
export default function ({ config: config, 'core.interface.helpers.handleGraphqlError': handleGraphqlError, 'core.app.graphql': graphqlApp, 'core.app.auth': authApp, 'core.app.application': applicationApp, 'core.app.core': coreApp, 'core.app.helpers.validateRequestToken': validateRequestToken, 'core.app.helpers.initQueryContext': initQueryContext, 'core.utils.logger': logger, 'core.utils': utils, 'core.depsManager': depsManager, }?: IDeps): IServer;
|
|
38
|
+
export default function ({ config: config, 'core.interface.helpers.handleGraphqlError': handleGraphqlError, 'core.app.graphql': graphqlApp, 'core.app.trpc': trpcApp, 'core.app.auth': authApp, 'core.app.application': applicationApp, 'core.app.core': coreApp, 'core.app.helpers.validateRequestToken': validateRequestToken, 'core.app.helpers.initQueryContext': initQueryContext, 'core.utils.logger': logger, 'core.utils': utils, 'core.depsManager': depsManager, }?: IDeps): IServer;
|
|
37
39
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"root":["../../../codegen.ts","../../../vitest.unit.config.ts","../../../config/default.js","../../../config/development.js","../../../config/test.js","../../../src/config.ts","../../../src/depsManager.ts","../../../src/env.ts","../../../src/i18nextInit.ts","../../../src/index.ts","../../../src/pluginsLoader.ts","../../../src/pluginsModuleResolver.ts","../../../src/testConfig.ts","../../../src/_constants/attributes.ts","../../../src/_constants/discussions.ts","../../../src/_constants/globalSettings.ts","../../../src/_constants/libraries.ts","../../../src/_constants/notifications.ts","../../../src/_constants/users.ts","../../../src/_constants/values.ts","../../../src/_types/actionsList.ts","../../../src/_types/apiKey.ts","../../../src/_types/application.ts","../../../src/_types/attribute.ts","../../../src/_types/auth.ts","../../../src/_types/automation.ts","../../../src/_types/config.ts","../../../src/_types/cronTask.ts","../../../src/_types/dbProfiler.ts","../../../src/_types/discussion.ts","../../../src/_types/elasticSearch.ts","../../../src/_types/endpoint.ts","../../../src/_types/errors.ts","../../../src/_types/events.ts","../../../src/_types/eventsManager.ts","../../../src/_types/express.ts","../../../src/_types/extensionPoints.ts","../../../src/_types/filesManager.ts","../../../src/_types/forms.ts","../../../src/_types/globalSettings.ts","../../../src/_types/graphql.ts","../../../src/_types/import.ts","../../../src/_types/library.ts","../../../src/_types/list.ts","../../../src/_types/log.ts","../../../src/_types/migration.ts","../../../src/_types/notification.ts","../../../src/_types/permissions.ts","../../../src/_types/plugin.ts","../../../src/_types/preview.ts","../../../src/_types/queryInfos.ts","../../../src/_types/record.ts","../../../src/_types/shared.ts","../../../src/_types/systemTranslation.ts","../../../src/_types/tasksManager.ts","../../../src/_types/tree.ts","../../../src/_types/userData.ts","../../../src/_types/utils.ts","../../../src/_types/value.ts","../../../src/_types/versionProfile.ts","../../../src/_types/views.ts","../../../src/app/application/applicationApp.ts","../../../src/app/application/index.ts","../../../src/app/auth/authApp.ts","../../../src/app/auth/index.ts","../../../src/app/core/actionListApp.ts","../../../src/app/core/automationApp.ts","../../../src/app/core/coreApp.ts","../../../src/app/core/discussionApp.ts","../../../src/app/core/eventsManagerApp.ts","../../../src/app/core/exportApp.ts","../../../src/app/core/filesManagerApp.ts","../../../src/app/core/globalSettingsApp.ts","../../../src/app/core/importApp.ts","../../../src/app/core/index.ts","../../../src/app/core/indexationManagerApp.ts","../../../src/app/core/logApp.ts","../../../src/app/core/logsCollectorApp.ts","../../../src/app/core/notificationApp.ts","../../../src/app/core/pluginsApp.ts","../../../src/app/core/tasksManagerApp.ts","../../../src/app/core/userDataApp.ts","../../../src/app/core/valueApp.ts","../../../src/app/core/viewApp.ts","../../../src/app/core/apiKeyApp/_types.ts","../../../src/app/core/apiKeyApp/apiKeyApp.ts","../../../src/app/core/attributeApp/attributeApp.ts","../../../src/app/core/formApp/_types.ts","../../../src/app/core/formApp/formApp.ts","../../../src/app/core/helpers/subscriptions.ts","../../../src/app/core/libraryApp/_types.ts","../../../src/app/core/libraryApp/libraryApp.ts","../../../src/app/core/permissionApp/_types.ts","../../../src/app/core/permissionApp/permissionApp.ts","../../../src/app/core/recordApp/_types.ts","../../../src/app/core/recordApp/recordApp.ts","../../../src/app/core/treeApp/_types.ts","../../../src/app/core/treeApp/treeApp.ts","../../../src/app/core/versionProfileApp/_types.ts","../../../src/app/core/versionProfileApp/versionProfileApp.ts","../../../src/app/endpoint/endpointApp.ts","../../../src/app/endpoint/index.ts","../../../src/app/graphql/graphqlApp.ts","../../../src/app/graphql/index.ts","../../../src/app/graphql/customScalars/any/any.ts","../../../src/app/graphql/customScalars/any/index.ts","../../../src/app/graphql/customScalars/dateTime/dateTime.ts","../../../src/app/graphql/customScalars/dateTime/index.ts","../../../src/app/graphql/customScalars/helpers/parseLiteral.ts","../../../src/app/graphql/customScalars/systemTranslation/index.ts","../../../src/app/graphql/customScalars/systemTranslation/systemTranslation.ts","../../../src/app/helpers/convertOIDCIdentifier.ts","../../../src/app/helpers/convertVersionFromGqlFormat.ts","../../../src/app/helpers/index.ts","../../../src/app/helpers/initQueryContext.ts","../../../src/app/helpers/validateRequestToken.ts","../../../src/domain/actions/dateRangeToNumberAction.ts","../../../src/domain/actions/encryptAction.ts","../../../src/domain/actions/excelCalculationAction.ts","../../../src/domain/actions/formatDateAction.ts","../../../src/domain/actions/formatDateRangeAction.ts","../../../src/domain/actions/formatNumberAction.ts","../../../src/domain/actions/index.ts","../../../src/domain/actions/inheritanceCalculationAction.ts","../../../src/domain/actions/maskValueAction.ts","../../../src/domain/actions/parseJSONAction.ts","../../../src/domain/actions/replaceAnotherAttributeAction.ts","../../../src/domain/actions/toBooleanAction.ts","../../../src/domain/actions/toJSONAction.ts","../../../src/domain/actions/toLowercaseAction.ts","../../../src/domain/actions/toNumberAction.ts","../../../src/domain/actions/toStringAction.ts","../../../src/domain/actions/toUppercaseAction.ts","../../../src/domain/actions/validateEmailAction.ts","../../../src/domain/actions/validateFormatAction.ts","../../../src/domain/actions/validateRegexAction.ts","../../../src/domain/actions/validateURLAction.ts","../../../src/domain/actionsList/actionsListDomain.ts","../../../src/domain/actionsList/index.ts","../../../src/domain/apiKey/apiKeyDomain.ts","../../../src/domain/apiKey/index.ts","../../../src/domain/application/appStudioDomain.ts","../../../src/domain/application/applicationDomain.ts","../../../src/domain/application/index.ts","../../../src/domain/application/helpers/getLibrarySystemPanels.ts","../../../src/domain/application/helpers/index.ts","../../../src/domain/attribute/attributeDomain.ts","../../../src/domain/attribute/index.ts","../../../src/domain/attribute/helpers/attributeALHelper.ts","../../../src/domain/attribute/helpers/attributeValidationHelper.ts","../../../src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.ts","../../../src/domain/attribute/helpers/index.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/fakeRulesToTrigger.ts","../../../src/domain/automation/index.ts","../../../src/domain/automation/pipelineExecutor.ts","../../../src/domain/automation/types.ts","../../../src/domain/automation/actions/conditionAction.ts","../../../src/domain/automation/actions/errorAction.ts","../../../src/domain/automation/actions/index.ts","../../../src/domain/automation/actions/logAction.ts","../../../src/domain/core/coreDomain.ts","../../../src/domain/core/index.ts","../../../src/domain/discussion/discussionDomain.ts","../../../src/domain/discussion/index.ts","../../../src/domain/eventsManager/eventsManagerDomain.ts","../../../src/domain/eventsManager/index.ts","../../../src/domain/export/exportDomain.ts","../../../src/domain/export/exportProfileDomain.ts","../../../src/domain/export/index.ts","../../../src/domain/filesManager/_constants.ts","../../../src/domain/filesManager/filesManagerDomain.ts","../../../src/domain/filesManager/index.ts","../../../src/domain/filesManager/helpers/extractFileMetadata.ts","../../../src/domain/filesManager/helpers/getRootPathByKey.ts","../../../src/domain/filesManager/helpers/handleFileUtilsHelper.ts","../../../src/domain/filesManager/helpers/handlePreview.ts","../../../src/domain/filesManager/helpers/handlePreviewResponse.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/_types.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/index.ts","../../../src/domain/filesManager/helpers/messagesHandler/index.ts","../../../src/domain/filesManager/helpers/messagesHandler/messagesHandler.ts","../../../src/domain/form/formDomain.ts","../../../src/domain/form/index.ts","../../../src/domain/form/helpers/getElementValues.ts","../../../src/domain/form/helpers/mustIncludeElement.ts","../../../src/domain/globalSettings/globalSettingsDomain.ts","../../../src/domain/globalSettings/index.ts","../../../src/domain/helpers/createDirectory.ts","../../../src/domain/helpers/getCoreEntityById.ts","../../../src/domain/helpers/index.ts","../../../src/domain/helpers/storeUploadFile.ts","../../../src/domain/helpers/updateRecordLastModif.ts","../../../src/domain/helpers/updateTaskProgress.ts","../../../src/domain/helpers/validate.ts","../../../src/domain/helpers/calculations/calculationVariable.ts","../../../src/domain/helpers/calculations/calculationsVariableFunctions.ts","../../../src/domain/import/importDomain.ts","../../../src/domain/import/index.ts","../../../src/domain/indexationManager/index.ts","../../../src/domain/indexationManager/indexationManagerDomain.ts","../../../src/domain/library/index.ts","../../../src/domain/library/libraryDomain.ts","../../../src/domain/library/helpers/checkSavePermission.ts","../../../src/domain/library/helpers/deleteAssociatedValues.ts","../../../src/domain/library/helpers/index.ts","../../../src/domain/library/helpers/runBehaviorPostSave.ts","../../../src/domain/library/helpers/runPreDelete.ts","../../../src/domain/library/helpers/updateAssociatedForms.ts","../../../src/domain/library/helpers/validateLibAttributes.ts","../../../src/domain/library/helpers/validateLibFullTextAttributes.ts","../../../src/domain/library/helpers/validatePermConf.ts","../../../src/domain/library/helpers/validatePreviewsSettings.ts","../../../src/domain/library/helpers/validateRecordIdentityConf.ts","../../../src/domain/log/index.ts","../../../src/domain/log/logDomain.ts","../../../src/domain/logsCollector/index.ts","../../../src/domain/logsCollector/logsCollectorDomain.ts","../../../src/domain/notification/index.ts","../../../src/domain/notification/notificationDomain.ts","../../../src/domain/notification/channels/emailChannel.ts","../../../src/domain/notification/channels/webSocketChannel.ts","../../../src/domain/permission/_types.ts","../../../src/domain/permission/adminPermissionDomain.ts","../../../src/domain/permission/applicationPermissionDomain.ts","../../../src/domain/permission/attributeDependentValuesPermissionDomain.ts","../../../src/domain/permission/attributePermissionDomain.ts","../../../src/domain/permission/index.ts","../../../src/domain/permission/libraryPermissionDomain.ts","../../../src/domain/permission/permissionDomain.ts","../../../src/domain/permission/recordAttributePermissionDomain.ts","../../../src/domain/permission/recordPermissionDomain.ts","../../../src/domain/permission/treeLibraryPermissionDomain.ts","../../../src/domain/permission/treeNodePermissionDomain.ts","../../../src/domain/permission/treePermissionDomain.ts","../../../src/domain/permission/helpers/defaultPermission.ts","../../../src/domain/permission/helpers/getPermissionCacheKey.ts","../../../src/domain/permission/helpers/getPermissionCachePatternKey.ts","../../../src/domain/permission/helpers/globalPermission.ts","../../../src/domain/permission/helpers/index.ts","../../../src/domain/permission/helpers/permissionByUserGroups.ts","../../../src/domain/permission/helpers/permissionsByActions.ts","../../../src/domain/permission/helpers/recordInCreationBypass.ts","../../../src/domain/permission/helpers/reducePermissionsArray.ts","../../../src/domain/permission/helpers/simplePermission.ts","../../../src/domain/permission/helpers/treeBasedPermissions.ts","../../../src/domain/plugins/index.ts","../../../src/domain/plugins/pluginsDomain.ts","../../../src/domain/record/_types.ts","../../../src/domain/record/index.ts","../../../src/domain/record/recordDomain.ts","../../../src/domain/record/helpers/createRecord.ts","../../../src/domain/record/helpers/deleteRecord.ts","../../../src/domain/record/helpers/findRecords.ts","../../../src/domain/record/helpers/getAccessPermissionFilters.ts","../../../src/domain/record/helpers/getAttributesFromField.ts","../../../src/domain/record/helpers/getRecordIdentity.ts","../../../src/domain/record/helpers/index.ts","../../../src/domain/record/helpers/sendRecordUpdateEvent.ts","../../../src/domain/tasksManager/cronTasksManagerDomain.ts","../../../src/domain/tasksManager/index.ts","../../../src/domain/tasksManager/tasksManagerDomain.ts","../../../src/domain/tree/index.ts","../../../src/domain/tree/treeDomain.ts","../../../src/domain/tree/helpers/elementAncestors.ts","../../../src/domain/tree/helpers/getDefaultElement.ts","../../../src/domain/tree/helpers/handleRemovedLibraries.ts","../../../src/domain/tree/helpers/index.ts","../../../src/domain/tree/helpers/treeDataValidation.ts","../../../src/domain/user/index.ts","../../../src/domain/user/userDomain.ts","../../../src/domain/value/_types.ts","../../../src/domain/value/index.ts","../../../src/domain/value/valueDomain.ts","../../../src/domain/value/helpers/areValuesIdentical.ts","../../../src/domain/value/helpers/canSaveRecordValue.ts","../../../src/domain/value/helpers/doesValueExist.ts","../../../src/domain/value/helpers/findValue.ts","../../../src/domain/value/helpers/formatLogValue.ts","../../../src/domain/value/helpers/formatValue.ts","../../../src/domain/value/helpers/getRecordFieldValue.ts","../../../src/domain/value/helpers/getValues.ts","../../../src/domain/value/helpers/index.ts","../../../src/domain/value/helpers/isEmptyValue.ts","../../../src/domain/value/helpers/manageEventMetadata.ts","../../../src/domain/value/helpers/postDeleteValue.ts","../../../src/domain/value/helpers/postSaveValue.ts","../../../src/domain/value/helpers/prepareValue.ts","../../../src/domain/value/helpers/runActionsList.ts","../../../src/domain/value/helpers/saveOneValue.ts","../../../src/domain/value/helpers/validateValue.ts","../../../src/domain/value/tasks/index.ts","../../../src/domain/value/tasks/purgeMultipleValues.ts","../../../src/domain/value/tasks/saveValueBulk.ts","../../../src/domain/versionProfile/index.ts","../../../src/domain/versionProfile/versionProfileDomain.ts","../../../src/domain/view/index.ts","../../../src/domain/view/viewDomain.ts","../../../src/errors/ApplicationError.ts","../../../src/errors/AuthenticationError.ts","../../../src/errors/GraphQLAuthenticationError.ts","../../../src/errors/LeavError.ts","../../../src/errors/PermissionError.ts","../../../src/errors/ValidationError.ts","../../../src/errors/typeguards.ts","../../../src/infra/apiKey/apiKeyRepo.ts","../../../src/infra/apiKey/index.ts","../../../src/infra/application/applicationRepo.ts","../../../src/infra/application/index.ts","../../../src/infra/attribute/attributeRepo.ts","../../../src/infra/attribute/index.ts","../../../src/infra/attributeTypes/attributeAdvancedLinkRepo.ts","../../../src/infra/attributeTypes/attributeAdvancedRepo.ts","../../../src/infra/attributeTypes/attributeSimpleLinkRepo.ts","../../../src/infra/attributeTypes/attributeSimpleRepo.ts","../../../src/infra/attributeTypes/attributeTreeRepo.ts","../../../src/infra/attributeTypes/attributeTypesRepo.ts","../../../src/infra/attributeTypes/index.ts","../../../src/infra/attributeTypes/helpers/getConditionPart.ts","../../../src/infra/attributeTypes/helpers/index.ts","../../../src/infra/automation/automationRuleRepo.ts","../../../src/infra/automation/index.ts","../../../src/infra/cache/cacheService.ts","../../../src/infra/cache/diskService.ts","../../../src/infra/cache/index.ts","../../../src/infra/cache/ramService.ts","../../../src/infra/cache/redis.ts","../../../src/infra/db/_constants.ts","../../../src/infra/db/_types.ts","../../../src/infra/db/db.ts","../../../src/infra/db/dbService.ts","../../../src/infra/db/dbUtils.ts","../../../src/infra/db/index.ts","../../../src/infra/db/helpers/libraryUtils.ts","../../../src/infra/db/helpers/loadMigrationFile.ts","../../../src/infra/db/helpers/runMigrationFiles.ts","../../../src/infra/db/migrations/001-delInstallApps.ts","../../../src/infra/db/migrations/002-previewsSettings.ts","../../../src/infra/db/migrations/003-filesMetadata.ts","../../../src/infra/db/migrations/004-formsLabels.ts","../../../src/infra/db/migrations/005-viewSortToArray.ts","../../../src/infra/db/migrations/006-addRequiredAttributeProperty.ts","../../../src/infra/db/migrations/007-updateHexColor.ts","../../../src/infra/db/migrations/008-addSkeletonApp.ts","../../../src/infra/db/migrations/009-addDisplayMultiLinkOptAttributeProperty.ts","../../../src/infra/db/migrations/010-formSidePanel.ts","../../../src/infra/db/migrations/011-moveSkeletonApptoAppStudio.ts","../../../src/infra/db/migrations/012-addDisplayMultiTreeOptAttributeProperty.ts","../../../src/infra/db/migrations/013-passwordAttributeMaskValue.ts","../../../src/infra/db/migrations/014-notificationsCollection.ts","../../../src/infra/db/migrations/015-addExplorerStudioApp.ts","../../../src/infra/db/migrations/016-addStatusIconAttribute.ts","../../../src/infra/db/migrations/017-moveLibrariesPanelsFromApplicationsToLibrariesSettings.ts","../../../src/infra/db/migrations/018-moveAppStudioToCampaignsManager.ts","../../../src/infra/db/migrations/019-automationRuleCollection.ts","../../../src/infra/db/migrations/000-init/coreCollections.ts","../../../src/infra/db/migrations/000-init/index.ts","../../../src/infra/db/migrations/000-init/systemApplications.ts","../../../src/infra/db/migrations/000-init/systemAttributes.ts","../../../src/infra/db/migrations/000-init/systemLibraries.ts","../../../src/infra/db/migrations/000-init/systemTrees.ts","../../../src/infra/db/migrations/013-threads/comments.ts","../../../src/infra/db/migrations/013-threads/constants.ts","../../../src/infra/db/migrations/013-threads/index.ts","../../../src/infra/db/migrations/013-threads/statuses.ts","../../../src/infra/db/migrations/013-threads/threads.ts","../../../src/infra/elasticsearch/elasticsearchClient.ts","../../../src/infra/elasticsearch/elasticsearchService.ts","../../../src/infra/elasticsearch/index.ts","../../../src/infra/filesManager/filesManagerRepo.ts","../../../src/infra/filesManager/index.ts","../../../src/infra/form/formRepo.ts","../../../src/infra/form/index.ts","../../../src/infra/globalSettings/globalSettingsRepo.ts","../../../src/infra/globalSettings/index.ts","../../../src/infra/indexation/index.ts","../../../src/infra/indexation/indexationService.ts","../../../src/infra/indexation/helpers/getSearchQuery.ts","../../../src/infra/indexation/helpers/index.ts","../../../src/infra/library/index.ts","../../../src/infra/library/libraryRepo.ts","../../../src/infra/log/index.ts","../../../src/infra/log/logRepo.ts","../../../src/infra/mailer/index.ts","../../../src/infra/mailer/mailer.ts","../../../src/infra/mailer/mailerService.ts","../../../src/infra/notification/index.ts","../../../src/infra/notification/notificationRepo.ts","../../../src/infra/oidc/index.ts","../../../src/infra/oidc/oidcClient.ts","../../../src/infra/oidc/oidcClientService.ts","../../../src/infra/permission/index.ts","../../../src/infra/permission/permissionRepo.ts","../../../src/infra/plugins/index.ts","../../../src/infra/plugins/pluginsRepo.ts","../../../src/infra/record/index.ts","../../../src/infra/record/recordRepo.ts","../../../src/infra/record/helpers/filterTypes.ts","../../../src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.ts","../../../src/infra/record/helpers/getSearchVariableName.ts","../../../src/infra/record/helpers/getSearchVariablesQueryPart.ts","../../../src/infra/record/helpers/index.ts","../../../src/infra/session/index.ts","../../../src/infra/session/sessionRepo.ts","../../../src/infra/task/index.ts","../../../src/infra/task/taskRepo.ts","../../../src/infra/tree/_types.ts","../../../src/infra/tree/index.ts","../../../src/infra/tree/treeRepo.ts","../../../src/infra/tree/helpers/utils.ts","../../../src/infra/userData/index.ts","../../../src/infra/userData/userDataRepo.ts","../../../src/infra/value/index.ts","../../../src/infra/value/valueRepo.ts","../../../src/infra/versionProfile/index.ts","../../../src/infra/versionProfile/versionProfileRepo.ts","../../../src/infra/view/_types.ts","../../../src/infra/view/index.ts","../../../src/infra/view/viewRepo.ts","../../../src/interface/cli.ts","../../../src/interface/filesManager.ts","../../../src/interface/index.ts","../../../src/interface/indexationManager.ts","../../../src/interface/logsCollector.ts","../../../src/interface/server.ts","../../../src/interface/tasksManager.ts","../../../src/interface/helpers/handleGraphqlError.ts","../../../src/interface/helpers/index.ts","../../../src/interface/plugins/apolloTracerPlugin.ts","../../../src/utils/configureDayjs.ts","../../../src/utils/dataloader.ts","../../../src/utils/index.ts","../../../src/utils/utils.ts","../../../src/utils/helpers/getDefaultActionsList.ts","../../../src/utils/helpers/getExcelData.ts","../../../src/utils/helpers/getFileDataBuffer.ts","../../../src/utils/helpers/getLibraryDefaultAttributes.ts","../../../src/utils/helpers/getPreviewsAttributes.ts","../../../src/utils/helpers/getSystemQueryContext.ts","../../../src/utils/helpers/getValuesToDisplay.ts","../../../src/utils/logger/logger.ts","../../../src/utils/typeGuards/index.ts"],"version":"5.9.3"}
|
|
1
|
+
{"root":["../../../codegen.ts","../../../vitest.e2e-api.config.ts","../../../vitest.e2e-fileManager.config.ts","../../../vitest.e2e-indexationManager.config.ts","../../../vitest.integration.config.ts","../../../vitest.unit.config.ts","../../../config/default.js","../../../config/development.js","../../../config/test.js","../../../src/config.ts","../../../src/depsManager.ts","../../../src/env.ts","../../../src/i18nextInit.ts","../../../src/index.ts","../../../src/pluginsLoader.ts","../../../src/pluginsModuleResolver.ts","../../../src/testConfig.ts","../../../src/_constants/attributes.ts","../../../src/_constants/discussions.ts","../../../src/_constants/globalSettings.ts","../../../src/_constants/libraries.ts","../../../src/_constants/notifications.ts","../../../src/_constants/users.ts","../../../src/_constants/values.ts","../../../src/_types/actionsList.ts","../../../src/_types/apiKey.ts","../../../src/_types/application.ts","../../../src/_types/attribute.ts","../../../src/_types/auth.ts","../../../src/_types/automation.ts","../../../src/_types/config.ts","../../../src/_types/cronTask.ts","../../../src/_types/dbProfiler.ts","../../../src/_types/discussion.ts","../../../src/_types/elasticSearch.ts","../../../src/_types/endpoint.ts","../../../src/_types/errors.ts","../../../src/_types/events.ts","../../../src/_types/eventsManager.ts","../../../src/_types/express.ts","../../../src/_types/extensionPoints.ts","../../../src/_types/filesManager.ts","../../../src/_types/forms.ts","../../../src/_types/globalSettings.ts","../../../src/_types/graphql.ts","../../../src/_types/import.ts","../../../src/_types/library.ts","../../../src/_types/list.ts","../../../src/_types/log.ts","../../../src/_types/migration.ts","../../../src/_types/notification.ts","../../../src/_types/permissions.ts","../../../src/_types/plugin.ts","../../../src/_types/preview.ts","../../../src/_types/queryInfos.ts","../../../src/_types/record.ts","../../../src/_types/shared.ts","../../../src/_types/systemTranslation.ts","../../../src/_types/tasksManager.ts","../../../src/_types/tree.ts","../../../src/_types/userData.ts","../../../src/_types/utils.ts","../../../src/_types/value.ts","../../../src/_types/versionProfile.ts","../../../src/_types/views.ts","../../../src/app/application/applicationApp.ts","../../../src/app/application/index.ts","../../../src/app/auth/authApp.ts","../../../src/app/auth/index.ts","../../../src/app/core/actionListApp.ts","../../../src/app/core/automationApp.ts","../../../src/app/core/coreApp.ts","../../../src/app/core/discussionApp.ts","../../../src/app/core/eventsManagerApp.ts","../../../src/app/core/exportApp.ts","../../../src/app/core/filesManagerApp.ts","../../../src/app/core/globalSettingsApp.ts","../../../src/app/core/importApp.ts","../../../src/app/core/index.ts","../../../src/app/core/indexationManagerApp.ts","../../../src/app/core/logApp.ts","../../../src/app/core/logsCollectorApp.ts","../../../src/app/core/notificationApp.ts","../../../src/app/core/pluginsApp.ts","../../../src/app/core/tasksManagerApp.ts","../../../src/app/core/userDataApp.ts","../../../src/app/core/valueApp.ts","../../../src/app/core/viewApp.ts","../../../src/app/core/apiKeyApp/_types.ts","../../../src/app/core/apiKeyApp/apiKeyApp.ts","../../../src/app/core/attributeApp/attributeApp.ts","../../../src/app/core/formApp/_types.ts","../../../src/app/core/formApp/formApp.ts","../../../src/app/core/helpers/subscriptions.ts","../../../src/app/core/libraryApp/_types.ts","../../../src/app/core/libraryApp/libraryApp.ts","../../../src/app/core/permissionApp/_types.ts","../../../src/app/core/permissionApp/permissionApp.ts","../../../src/app/core/recordApp/_types.ts","../../../src/app/core/recordApp/recordApp.ts","../../../src/app/core/treeApp/_types.ts","../../../src/app/core/treeApp/treeApp.ts","../../../src/app/core/versionProfileApp/_types.ts","../../../src/app/core/versionProfileApp/versionProfileApp.ts","../../../src/app/endpoint/endpointApp.ts","../../../src/app/endpoint/index.ts","../../../src/app/graphql/graphqlApp.ts","../../../src/app/graphql/index.ts","../../../src/app/graphql/customScalars/any/any.ts","../../../src/app/graphql/customScalars/any/index.ts","../../../src/app/graphql/customScalars/dateTime/dateTime.ts","../../../src/app/graphql/customScalars/dateTime/index.ts","../../../src/app/graphql/customScalars/helpers/parseLiteral.ts","../../../src/app/graphql/customScalars/systemTranslation/index.ts","../../../src/app/graphql/customScalars/systemTranslation/systemTranslation.ts","../../../src/app/helpers/convertOIDCIdentifier.ts","../../../src/app/helpers/convertVersionFromGqlFormat.ts","../../../src/app/helpers/index.ts","../../../src/app/helpers/initQueryContext.ts","../../../src/app/helpers/validateRequestToken.ts","../../../src/app/trpc/index.ts","../../../src/app/trpc/trpcApp.ts","../../../src/domain/actions/dateRangeToNumberAction.ts","../../../src/domain/actions/encryptAction.ts","../../../src/domain/actions/excelCalculationAction.ts","../../../src/domain/actions/formatDateAction.ts","../../../src/domain/actions/formatDateRangeAction.ts","../../../src/domain/actions/formatNumberAction.ts","../../../src/domain/actions/index.ts","../../../src/domain/actions/inheritanceCalculationAction.ts","../../../src/domain/actions/jexlCalculationAction.ts","../../../src/domain/actions/maskValueAction.ts","../../../src/domain/actions/parseJSONAction.ts","../../../src/domain/actions/replaceAnotherAttributeAction.ts","../../../src/domain/actions/toBooleanAction.ts","../../../src/domain/actions/toJSONAction.ts","../../../src/domain/actions/toLowercaseAction.ts","../../../src/domain/actions/toNumberAction.ts","../../../src/domain/actions/toStringAction.ts","../../../src/domain/actions/toUppercaseAction.ts","../../../src/domain/actions/validateEmailAction.ts","../../../src/domain/actions/validateFormatAction.ts","../../../src/domain/actions/validateRegexAction.ts","../../../src/domain/actions/validateURLAction.ts","../../../src/domain/actionsList/actionsListDomain.ts","../../../src/domain/actionsList/index.ts","../../../src/domain/apiKey/apiKeyDomain.ts","../../../src/domain/apiKey/index.ts","../../../src/domain/application/appStudioDomain.ts","../../../src/domain/application/applicationDomain.ts","../../../src/domain/application/index.ts","../../../src/domain/application/helpers/getLibrarySystemPanels.ts","../../../src/domain/application/helpers/index.ts","../../../src/domain/attribute/attributeDomain.ts","../../../src/domain/attribute/index.ts","../../../src/domain/attribute/helpers/attributeALHelper.ts","../../../src/domain/attribute/helpers/attributeValidationHelper.ts","../../../src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.ts","../../../src/domain/attribute/helpers/index.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/automationTriggers.ts","../../../src/domain/automation/fakeRulesToTrigger.ts","../../../src/domain/automation/index.ts","../../../src/domain/automation/pipelineExecutor.ts","../../../src/domain/automation/types.ts","../../../src/domain/automation/actions/conditionAction.ts","../../../src/domain/automation/actions/errorAction.ts","../../../src/domain/automation/actions/index.ts","../../../src/domain/automation/actions/logAction.ts","../../../src/domain/core/coreDomain.ts","../../../src/domain/core/index.ts","../../../src/domain/discussion/discussionDomain.ts","../../../src/domain/discussion/index.ts","../../../src/domain/eventsManager/eventsManagerDomain.ts","../../../src/domain/eventsManager/index.ts","../../../src/domain/export/exportDomain.ts","../../../src/domain/export/exportProfileDomain.ts","../../../src/domain/export/index.ts","../../../src/domain/filesManager/_constants.ts","../../../src/domain/filesManager/filesManagerDomain.ts","../../../src/domain/filesManager/index.ts","../../../src/domain/filesManager/helpers/extractFileMetadata.ts","../../../src/domain/filesManager/helpers/getRootPathByKey.ts","../../../src/domain/filesManager/helpers/handleFileUtilsHelper.ts","../../../src/domain/filesManager/helpers/handlePreview.ts","../../../src/domain/filesManager/helpers/handlePreviewResponse.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/_types.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleCreateEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleFileSystemEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleMoveEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleRemoveEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/handleUpdateEvent.ts","../../../src/domain/filesManager/helpers/handleFileSystemEvent/index.ts","../../../src/domain/filesManager/helpers/messagesHandler/index.ts","../../../src/domain/filesManager/helpers/messagesHandler/messagesHandler.ts","../../../src/domain/form/formDomain.ts","../../../src/domain/form/index.ts","../../../src/domain/form/helpers/getElementValues.ts","../../../src/domain/form/helpers/mustIncludeElement.ts","../../../src/domain/globalSettings/globalSettingsDomain.ts","../../../src/domain/globalSettings/index.ts","../../../src/domain/helpers/createDirectory.ts","../../../src/domain/helpers/getCoreEntityById.ts","../../../src/domain/helpers/index.ts","../../../src/domain/helpers/storeUploadFile.ts","../../../src/domain/helpers/updateRecordLastModif.ts","../../../src/domain/helpers/updateTaskProgress.ts","../../../src/domain/helpers/validate.ts","../../../src/domain/helpers/calculations/calculationVariable.ts","../../../src/domain/helpers/calculations/calculationsVariableFunctions.ts","../../../src/domain/import/importDomain.ts","../../../src/domain/import/index.ts","../../../src/domain/indexationManager/index.ts","../../../src/domain/indexationManager/indexationManagerDomain.ts","../../../src/domain/jexl/index.ts","../../../src/domain/jexl/jexlDomain.ts","../../../src/domain/jexl/jexlExtended.ts","../../../src/domain/jexl/types.ts","../../../src/domain/library/index.ts","../../../src/domain/library/libraryDomain.ts","../../../src/domain/library/helpers/checkSavePermission.ts","../../../src/domain/library/helpers/deleteAssociatedValues.ts","../../../src/domain/library/helpers/index.ts","../../../src/domain/library/helpers/runBehaviorPostSave.ts","../../../src/domain/library/helpers/runPreDelete.ts","../../../src/domain/library/helpers/updateAssociatedForms.ts","../../../src/domain/library/helpers/validateLibAttributes.ts","../../../src/domain/library/helpers/validateLibFullTextAttributes.ts","../../../src/domain/library/helpers/validatePermConf.ts","../../../src/domain/library/helpers/validatePreviewsSettings.ts","../../../src/domain/library/helpers/validateRecordIdentityConf.ts","../../../src/domain/log/index.ts","../../../src/domain/log/logDomain.ts","../../../src/domain/logsCollector/index.ts","../../../src/domain/logsCollector/logsCollectorDomain.ts","../../../src/domain/notification/index.ts","../../../src/domain/notification/notificationDomain.ts","../../../src/domain/notification/channels/emailChannel.ts","../../../src/domain/notification/channels/webSocketChannel.ts","../../../src/domain/permission/_types.ts","../../../src/domain/permission/adminPermissionDomain.ts","../../../src/domain/permission/applicationPermissionDomain.ts","../../../src/domain/permission/attributeDependentValuesPermissionDomain.ts","../../../src/domain/permission/attributePermissionDomain.ts","../../../src/domain/permission/index.ts","../../../src/domain/permission/libraryPermissionDomain.ts","../../../src/domain/permission/permissionDomain.ts","../../../src/domain/permission/recordAttributePermissionDomain.ts","../../../src/domain/permission/recordPermissionDomain.ts","../../../src/domain/permission/treeLibraryPermissionDomain.ts","../../../src/domain/permission/treeNodePermissionDomain.ts","../../../src/domain/permission/treePermissionDomain.ts","../../../src/domain/permission/helpers/defaultPermission.ts","../../../src/domain/permission/helpers/getPermissionCacheKey.ts","../../../src/domain/permission/helpers/getPermissionCachePatternKey.ts","../../../src/domain/permission/helpers/globalPermission.ts","../../../src/domain/permission/helpers/index.ts","../../../src/domain/permission/helpers/permissionByUserGroups.ts","../../../src/domain/permission/helpers/permissionsByActions.ts","../../../src/domain/permission/helpers/recordInCreationBypass.ts","../../../src/domain/permission/helpers/reducePermissionsArray.ts","../../../src/domain/permission/helpers/simplePermission.ts","../../../src/domain/permission/helpers/treeBasedPermissions.ts","../../../src/domain/plugins/index.ts","../../../src/domain/plugins/pluginsDomain.ts","../../../src/domain/record/_types.ts","../../../src/domain/record/index.ts","../../../src/domain/record/recordDomain.ts","../../../src/domain/record/helpers/createRecord.ts","../../../src/domain/record/helpers/deleteRecord.ts","../../../src/domain/record/helpers/findRecords.ts","../../../src/domain/record/helpers/getAccessPermissionFilters.ts","../../../src/domain/record/helpers/getAttributesFromField.ts","../../../src/domain/record/helpers/getRecordIdentity.ts","../../../src/domain/record/helpers/index.ts","../../../src/domain/record/helpers/sendRecordUpdateEvent.ts","../../../src/domain/tasksManager/cronTasksManagerDomain.ts","../../../src/domain/tasksManager/index.ts","../../../src/domain/tasksManager/tasksManagerDomain.ts","../../../src/domain/tree/index.ts","../../../src/domain/tree/treeDomain.ts","../../../src/domain/tree/helpers/elementAncestors.ts","../../../src/domain/tree/helpers/getDefaultElement.ts","../../../src/domain/tree/helpers/handleRemovedLibraries.ts","../../../src/domain/tree/helpers/index.ts","../../../src/domain/tree/helpers/treeDataValidation.ts","../../../src/domain/user/index.ts","../../../src/domain/user/userDomain.ts","../../../src/domain/value/_types.ts","../../../src/domain/value/index.ts","../../../src/domain/value/valueDomain.ts","../../../src/domain/value/helpers/areValuesIdentical.ts","../../../src/domain/value/helpers/canSaveRecordValue.ts","../../../src/domain/value/helpers/doesValueExist.ts","../../../src/domain/value/helpers/findValue.ts","../../../src/domain/value/helpers/formatLogValue.ts","../../../src/domain/value/helpers/formatValue.ts","../../../src/domain/value/helpers/getRecordFieldValue.ts","../../../src/domain/value/helpers/getValues.ts","../../../src/domain/value/helpers/index.ts","../../../src/domain/value/helpers/isEmptyValue.ts","../../../src/domain/value/helpers/manageEventMetadata.ts","../../../src/domain/value/helpers/postDeleteValue.ts","../../../src/domain/value/helpers/postSaveValue.ts","../../../src/domain/value/helpers/prepareValue.ts","../../../src/domain/value/helpers/runActionsList.ts","../../../src/domain/value/helpers/saveOneValue.ts","../../../src/domain/value/helpers/validateValue.ts","../../../src/domain/value/tasks/index.ts","../../../src/domain/value/tasks/purgeMultipleValues.ts","../../../src/domain/value/tasks/saveValueBulk.ts","../../../src/domain/versionProfile/index.ts","../../../src/domain/versionProfile/versionProfileDomain.ts","../../../src/domain/view/index.ts","../../../src/domain/view/viewDomain.ts","../../../src/errors/ApplicationError.ts","../../../src/errors/AuthenticationError.ts","../../../src/errors/GraphQLAuthenticationError.ts","../../../src/errors/LeavError.ts","../../../src/errors/PermissionError.ts","../../../src/errors/ValidationError.ts","../../../src/errors/typeguards.ts","../../../src/infra/apiKey/apiKeyRepo.ts","../../../src/infra/apiKey/index.ts","../../../src/infra/application/applicationRepo.ts","../../../src/infra/application/index.ts","../../../src/infra/attribute/attributeRepo.ts","../../../src/infra/attribute/index.ts","../../../src/infra/attributeTypes/attributeAdvancedLinkRepo.ts","../../../src/infra/attributeTypes/attributeAdvancedRepo.ts","../../../src/infra/attributeTypes/attributeSimpleLinkRepo.ts","../../../src/infra/attributeTypes/attributeSimpleRepo.ts","../../../src/infra/attributeTypes/attributeTreeRepo.ts","../../../src/infra/attributeTypes/attributeTypesRepo.ts","../../../src/infra/attributeTypes/index.ts","../../../src/infra/attributeTypes/helpers/getConditionPart.ts","../../../src/infra/attributeTypes/helpers/index.ts","../../../src/infra/automation/automationRuleRepo.ts","../../../src/infra/automation/index.ts","../../../src/infra/cache/cacheService.ts","../../../src/infra/cache/diskService.ts","../../../src/infra/cache/index.ts","../../../src/infra/cache/ramService.ts","../../../src/infra/cache/redis.ts","../../../src/infra/db/_constants.ts","../../../src/infra/db/_types.ts","../../../src/infra/db/db.ts","../../../src/infra/db/dbService.ts","../../../src/infra/db/dbUtils.ts","../../../src/infra/db/index.ts","../../../src/infra/db/helpers/libraryUtils.ts","../../../src/infra/db/helpers/loadMigrationFile.ts","../../../src/infra/db/helpers/runMigrationFiles.ts","../../../src/infra/db/migrations/001-delInstallApps.ts","../../../src/infra/db/migrations/002-previewsSettings.ts","../../../src/infra/db/migrations/003-filesMetadata.ts","../../../src/infra/db/migrations/004-formsLabels.ts","../../../src/infra/db/migrations/005-viewSortToArray.ts","../../../src/infra/db/migrations/006-addRequiredAttributeProperty.ts","../../../src/infra/db/migrations/007-updateHexColor.ts","../../../src/infra/db/migrations/008-addSkeletonApp.ts","../../../src/infra/db/migrations/009-addDisplayMultiLinkOptAttributeProperty.ts","../../../src/infra/db/migrations/010-formSidePanel.ts","../../../src/infra/db/migrations/011-moveSkeletonApptoAppStudio.ts","../../../src/infra/db/migrations/012-addDisplayMultiTreeOptAttributeProperty.ts","../../../src/infra/db/migrations/013-passwordAttributeMaskValue.ts","../../../src/infra/db/migrations/014-notificationsCollection.ts","../../../src/infra/db/migrations/015-addExplorerStudioApp.ts","../../../src/infra/db/migrations/016-addStatusIconAttribute.ts","../../../src/infra/db/migrations/017-moveLibrariesPanelsFromApplicationsToLibrariesSettings.ts","../../../src/infra/db/migrations/018-moveAppStudioToCampaignsManager.ts","../../../src/infra/db/migrations/019-automationRuleCollection.ts","../../../src/infra/db/migrations/000-init/coreCollections.ts","../../../src/infra/db/migrations/000-init/index.ts","../../../src/infra/db/migrations/000-init/systemApplications.ts","../../../src/infra/db/migrations/000-init/systemAttributes.ts","../../../src/infra/db/migrations/000-init/systemLibraries.ts","../../../src/infra/db/migrations/000-init/systemTrees.ts","../../../src/infra/db/migrations/013-threads/comments.ts","../../../src/infra/db/migrations/013-threads/constants.ts","../../../src/infra/db/migrations/013-threads/index.ts","../../../src/infra/db/migrations/013-threads/statuses.ts","../../../src/infra/db/migrations/013-threads/threads.ts","../../../src/infra/elasticsearch/elasticsearchClient.ts","../../../src/infra/elasticsearch/elasticsearchService.ts","../../../src/infra/elasticsearch/index.ts","../../../src/infra/filesManager/filesManagerRepo.ts","../../../src/infra/filesManager/index.ts","../../../src/infra/form/formRepo.ts","../../../src/infra/form/index.ts","../../../src/infra/globalSettings/globalSettingsRepo.ts","../../../src/infra/globalSettings/index.ts","../../../src/infra/indexation/index.ts","../../../src/infra/indexation/indexationService.ts","../../../src/infra/indexation/helpers/getSearchQuery.ts","../../../src/infra/indexation/helpers/index.ts","../../../src/infra/library/index.ts","../../../src/infra/library/libraryRepo.ts","../../../src/infra/log/index.ts","../../../src/infra/log/logRepo.ts","../../../src/infra/mailer/index.ts","../../../src/infra/mailer/mailer.ts","../../../src/infra/mailer/mailerService.ts","../../../src/infra/notification/index.ts","../../../src/infra/notification/notificationRepo.ts","../../../src/infra/oidc/index.ts","../../../src/infra/oidc/oidcClient.ts","../../../src/infra/oidc/oidcClientService.ts","../../../src/infra/permission/index.ts","../../../src/infra/permission/permissionRepo.ts","../../../src/infra/plugins/index.ts","../../../src/infra/plugins/pluginsRepo.ts","../../../src/infra/record/index.ts","../../../src/infra/record/recordRepo.ts","../../../src/infra/record/helpers/filterTypes.ts","../../../src/infra/record/helpers/getClassifyingFiltersVariableQueryPart.ts","../../../src/infra/record/helpers/getSearchVariableName.ts","../../../src/infra/record/helpers/getSearchVariablesQueryPart.ts","../../../src/infra/record/helpers/index.ts","../../../src/infra/session/index.ts","../../../src/infra/session/sessionRepo.ts","../../../src/infra/task/index.ts","../../../src/infra/task/taskRepo.ts","../../../src/infra/tree/_types.ts","../../../src/infra/tree/index.ts","../../../src/infra/tree/treeRepo.ts","../../../src/infra/tree/helpers/utils.ts","../../../src/infra/userData/index.ts","../../../src/infra/userData/userDataRepo.ts","../../../src/infra/value/index.ts","../../../src/infra/value/valueRepo.ts","../../../src/infra/versionProfile/index.ts","../../../src/infra/versionProfile/versionProfileRepo.ts","../../../src/infra/view/_types.ts","../../../src/infra/view/index.ts","../../../src/infra/view/viewRepo.ts","../../../src/interface/cli.ts","../../../src/interface/filesManager.ts","../../../src/interface/index.ts","../../../src/interface/indexationManager.ts","../../../src/interface/logsCollector.ts","../../../src/interface/server.ts","../../../src/interface/tasksManager.ts","../../../src/interface/helpers/handleGraphqlError.ts","../../../src/interface/helpers/index.ts","../../../src/interface/plugins/apolloTracerPlugin.ts","../../../src/utils/configureDayjs.ts","../../../src/utils/dataloader.ts","../../../src/utils/index.ts","../../../src/utils/utils.ts","../../../src/utils/helpers/getDefaultActionsList.ts","../../../src/utils/helpers/getExcelData.ts","../../../src/utils/helpers/getFileDataBuffer.ts","../../../src/utils/helpers/getLibraryDefaultAttributes.ts","../../../src/utils/helpers/getPreviewsAttributes.ts","../../../src/utils/helpers/getSystemQueryContext.ts","../../../src/utils/helpers/getValuesToDisplay.ts","../../../src/utils/logger/logger.ts","../../../src/utils/typeGuards/index.ts"],"version":"5.9.3"}
|
|
@@ -13,6 +13,8 @@ export declare enum EventAction {
|
|
|
13
13
|
APP_SAVE = "APP_SAVE",
|
|
14
14
|
AUTOMATION_RULE_CREATE = "AUTOMATION_RULE_CREATE",
|
|
15
15
|
AUTOMATION_RULE_UPDATE = "AUTOMATION_RULE_UPDATE",
|
|
16
|
+
AUTOMATION_PIPELINE_SUCCESS = "AUTOMATION_PIPELINE_SUCCESS",
|
|
17
|
+
AUTOMATION_PIPELINE_FAILURE = "AUTOMATION_PIPELINE_FAILURE",
|
|
16
18
|
ATTRIBUTE_DELETE = "ATTRIBUTE_DELETE",
|
|
17
19
|
ATTRIBUTE_SAVE = "ATTRIBUTE_SAVE",
|
|
18
20
|
EXPORT_START = "EXPORT_START",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristid/leav-types",
|
|
3
|
-
"version": "1.12.0-
|
|
3
|
+
"version": "1.12.0-e94cad52",
|
|
4
4
|
"description": "Shared Leav types",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tscheck": "",
|
|
@@ -17,11 +17,9 @@
|
|
|
17
17
|
"@leav/utils": "1.12.0",
|
|
18
18
|
"@types/amqplib": "0.10.8",
|
|
19
19
|
"@types/express": "5.0.6",
|
|
20
|
-
"@types/jest": "29.5.14",
|
|
21
20
|
"amqplib": "0.10.9",
|
|
22
21
|
"arangojs": "8.8.1",
|
|
23
22
|
"awilix": "12.1.1",
|
|
24
|
-
"i18next": "24.2.3"
|
|
25
|
-
"jest": "29.7.0"
|
|
23
|
+
"i18next": "24.2.3"
|
|
26
24
|
}
|
|
27
25
|
}
|