@aristid/leav-types 1.13.0-ff445a3d → 1.14.0-667fe1ca
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/CLAUDE.md +2 -2
- package/apps/core/config/default.d.ts +4 -0
- package/apps/core/config/test.d.ts +4 -0
- package/apps/core/src/_types/automation.d.ts +3 -2
- package/apps/core/src/_types/config.d.ts +4 -0
- package/apps/core/src/_types/extensionPoints.d.ts +2 -0
- package/apps/core/src/app/core/automationApp.d.ts +6 -5
- package/apps/core/src/domain/automation/actions/_types.d.ts +2 -2
- package/apps/core/src/domain/automation/automationActionsRegistry.d.ts +1 -0
- package/apps/core/src/domain/automation/automationDomain.d.ts +9 -9
- package/apps/core/src/domain/automation/automationRulesCache.d.ts +66 -0
- package/apps/core/src/domain/automation/fakeRulesToTrigger.d.ts +2 -2
- package/apps/core/src/domain/automation/form/automationJsonSchemaForm.d.ts +3 -1
- package/apps/core/src/domain/automation/form/automationUiJsonSchemaForm.d.ts +3 -1
- package/apps/core/src/domain/automation/index.d.ts +1 -0
- package/apps/core/src/domain/automation/pipeline/_types.d.ts +1 -1
- package/apps/core/src/domain/automation/pipeline/stepValidation.d.ts +1 -1
- package/apps/core/src/domain/automation/triggers/automationTriggers.d.ts +0 -4
- package/apps/core/src/domain/automation/triggers/automationTriggersRegistry.d.ts +2 -2
- package/apps/core/src/domain/automation/triggers/automationTriggersTopics.d.ts +2 -2
- package/apps/core/src/domain/record/recordDomain.d.ts +0 -8
- package/apps/core/src/domain/value/valueDomain.d.ts +3 -1
- package/apps/core/src/infra/automation/automationRuleRepo.d.ts +2 -1
- package/apps/core/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +2 -2
package/CLAUDE.md
CHANGED
|
@@ -15,8 +15,8 @@ depuis `apps/core`, destinée aux **développeurs de plugins** qui étendent le
|
|
|
15
15
|
Publié automatiquement sur **npm public** (`@aristid/leav-types`) via GitLab CI,
|
|
16
16
|
déclenché par tout changement dans `apps/core/**/*` :
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
18
|
+
- **`next`** — à chaque push sur `develop`
|
|
19
|
+
- **`latest`** — sur les releases taguées
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
# Commande de génération (lancée par le CI)
|
|
@@ -297,5 +297,9 @@ export declare let pluginsPath: string[];
|
|
|
297
297
|
export declare namespace automation {
|
|
298
298
|
let enable_7: boolean;
|
|
299
299
|
export { enable_7 as enable };
|
|
300
|
+
export namespace cache {
|
|
301
|
+
let enable_8: boolean;
|
|
302
|
+
export { enable_8 as enable };
|
|
303
|
+
}
|
|
300
304
|
}
|
|
301
305
|
export { debug_2 as debug, _export as export, _import as import };
|
|
@@ -35,9 +35,10 @@ export declare enum SyncAutomationRuleEventAction {
|
|
|
35
35
|
RECORD_INIT = "RECORD_INIT"
|
|
36
36
|
}
|
|
37
37
|
export type AutomationRuleEventAction = EventAction | SyncAutomationRuleEventAction;
|
|
38
|
-
export type
|
|
38
|
+
export type AutomationRuleEventTopic = IDbPayload['topic'];
|
|
39
39
|
export type AutomationRuleTrigger = {
|
|
40
40
|
synchronous: boolean;
|
|
41
41
|
eventAction: AutomationRuleEventAction;
|
|
42
|
-
eventTopic?:
|
|
42
|
+
eventTopic?: AutomationRuleEventTopic;
|
|
43
43
|
};
|
|
44
|
+
export type AutomationRuleIndexEntry = Pick<IAutomationRule, 'id' | 'trigger'>;
|
|
@@ -5,6 +5,7 @@ import { type PluginRegisterRoute } from './endpoint';
|
|
|
5
5
|
import { type AuthPostOidcLoginCallback } from './auth';
|
|
6
6
|
import { type RegisterCronTask } from './cronTask';
|
|
7
7
|
import { type ITRPCRouterFactory } from '../app/trpc/trpcApp';
|
|
8
|
+
import { type IAutomationAction } from '../domain/automation/actions/_types';
|
|
8
9
|
export interface IExtensionPoints {
|
|
9
10
|
[name: string]: (...args: any[]) => void;
|
|
10
11
|
}
|
|
@@ -22,6 +23,7 @@ export interface IExtensionPointsFunctions extends IExtensionPoints {
|
|
|
22
23
|
registerPermissionActions: (type: PermissionTypes, actions: string[], applyOn?: string[]) => void;
|
|
23
24
|
registerEventActions: (actions: string[], prefix: string) => void;
|
|
24
25
|
registerActions: (actions: IActionsListFunction[]) => void;
|
|
26
|
+
registerAutomationAction: <P = Record<string, unknown>>(action: IAutomationAction<P>) => void;
|
|
25
27
|
registerTaskTypes: (types: string[]) => void;
|
|
26
28
|
registerStart: (fct: () => Promise<void>) => void;
|
|
27
29
|
/**
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { type IGraphqlAppModule } from '../graphql/graphqlApp';
|
|
2
1
|
import { type IAutomationDomain } from '../../domain/automation/automationDomain';
|
|
3
2
|
import { type IAutomationRule } from '../../_types/automation';
|
|
4
3
|
import { type IPaginationParams, type ISortParams } from '../../_types/list';
|
|
5
|
-
import { type IAutomationTriggers } from '../../domain/automation/triggers/automationTriggers';
|
|
6
4
|
import { type IAutomationTriggersRegistry } from '../..//domain/automation/triggers/automationTriggersRegistry';
|
|
7
|
-
|
|
5
|
+
import { type IAutomationActionsRegistry } from '../../domain/automation/automationActionsRegistry';
|
|
6
|
+
import { type IAppModule } from '../../_types/shared';
|
|
7
|
+
import { type IGraphqlAppModule } from '../graphql/graphqlApp';
|
|
8
|
+
export type ICoreAutomationApp = IAppModule & IGraphqlAppModule;
|
|
8
9
|
interface IAutomationAppDeps {
|
|
9
10
|
'core.domain.automation': IAutomationDomain;
|
|
10
|
-
'core.domain.automation.triggers': IAutomationTriggers;
|
|
11
11
|
'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
|
|
12
|
+
'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
|
|
12
13
|
}
|
|
13
14
|
export interface IGetAutomationRulesArgs {
|
|
14
15
|
filters?: ICoreEntityFilterOptions & {
|
|
@@ -20,5 +21,5 @@ export interface IGetAutomationRulesArgs {
|
|
|
20
21
|
pagination?: IPaginationParams;
|
|
21
22
|
sort?: ISortParams;
|
|
22
23
|
}
|
|
23
|
-
export default function ({ 'core.domain.automation': automationDomain, 'core.domain.automation.triggers':
|
|
24
|
+
export default function ({ 'core.domain.automation': automationDomain, 'core.domain.automation.triggers.registry': automationTriggersRegistry, 'core.domain.automation.actionsRegistry': automationActionsRegistry, }: IAutomationAppDeps): ICoreAutomationApp;
|
|
24
25
|
export {};
|
|
@@ -10,13 +10,13 @@ export declare enum AutomationRuleActions {
|
|
|
10
10
|
MODIFY_ATTRIBUTE = "modifyAttribute",
|
|
11
11
|
NOTIFICATION = "notification"
|
|
12
12
|
}
|
|
13
|
-
export type AutomationPipelineStepValidation<Params = unknown
|
|
13
|
+
export type AutomationPipelineStepValidation<Params = Record<string, unknown>> = {
|
|
14
14
|
readonly step: AutomationRulePipelineStep<Params>;
|
|
15
15
|
readonly stepIndex: number;
|
|
16
16
|
readonly trigger: AutomationRuleTrigger;
|
|
17
17
|
readonly precedingStepsByExecOrder: AutomationRulePipelineStep[];
|
|
18
18
|
};
|
|
19
|
-
export interface IAutomationAction<Params = unknown
|
|
19
|
+
export interface IAutomationAction<Params = Record<string, unknown>> {
|
|
20
20
|
readonly type: AutomationRuleActions | string;
|
|
21
21
|
readonly paramsSchema: ZodObject<any>;
|
|
22
22
|
validateStep?: (params: AutomationPipelineStepValidation<Params>, ctx: IQueryInfos) => Promise<void>;
|
|
@@ -2,6 +2,7 @@ import { type AwilixContainer } from 'awilix';
|
|
|
2
2
|
import { type IAutomationAction, type AutomationRuleActions } from './actions/_types';
|
|
3
3
|
export interface IAutomationActionsRegistry {
|
|
4
4
|
getAction(type: AutomationRuleActions | string): IAutomationAction | undefined;
|
|
5
|
+
registerAction(actions: IAutomationAction): void;
|
|
5
6
|
listAvailableActions(): IAutomationAction[];
|
|
6
7
|
}
|
|
7
8
|
export interface IAutomationActionsRegistryDeps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type
|
|
1
|
+
import { type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type AutomationRuleEventTopic, type AutomationRuleEventAction, type AutomationRuleJsonSchemaFormType } from '../../_types/automation';
|
|
2
2
|
import { type IList } from '../../_types/list';
|
|
3
3
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
4
4
|
import { type IGetCoreEntitiesParams } from '../../_types/shared';
|
|
@@ -7,8 +7,9 @@ import { type IAdminPermissionDomain } from '../permission/adminPermissionDomain
|
|
|
7
7
|
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
8
8
|
import { type IConfig } from '../../_types/config';
|
|
9
9
|
import { type IAutomationPipelineDomain } from './pipeline/pipeline';
|
|
10
|
+
import { type IAutomationRulesCache } from './automationRulesCache';
|
|
10
11
|
import { type IAutomationTriggers } from './triggers/automationTriggers';
|
|
11
|
-
import { type
|
|
12
|
+
import { type IAutomationActionsRegistry } from './automationActionsRegistry';
|
|
12
13
|
import { type IAutomationJsonSchemaFormDomain } from './form/automationJsonSchemaForm';
|
|
13
14
|
import { type IAutomationUiJsonSchemaFormDomain } from './form/automationUiJsonSchemaForm';
|
|
14
15
|
import { type UiSchema, type RJSFSchema } from '@rjsf/utils';
|
|
@@ -17,13 +18,13 @@ export interface IGetAutomationRulesParams extends IGetCoreEntitiesParams {
|
|
|
17
18
|
active?: boolean;
|
|
18
19
|
synchronous?: boolean;
|
|
19
20
|
eventAction?: AutomationRuleEventAction;
|
|
20
|
-
eventTopic?:
|
|
21
|
+
eventTopic?: AutomationRuleEventTopic;
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
interface ITriggerRulesParams {
|
|
24
25
|
event: {
|
|
25
|
-
action:
|
|
26
|
-
topic?:
|
|
26
|
+
action: AutomationRuleEventAction;
|
|
27
|
+
topic?: AutomationRuleEventTopic;
|
|
27
28
|
};
|
|
28
29
|
synchronous: boolean;
|
|
29
30
|
ctx: IQueryInfos;
|
|
@@ -54,9 +55,6 @@ export interface IAutomationDomain {
|
|
|
54
55
|
ctx: IQueryInfos;
|
|
55
56
|
}): Promise<IAutomationRule>;
|
|
56
57
|
triggerRules(params: ITriggerRulesParams): Promise<void>;
|
|
57
|
-
listAutomationTriggersDef({ ctx }: {
|
|
58
|
-
ctx: IQueryInfos;
|
|
59
|
-
}): Promise<AutomationTriggerDef[]>;
|
|
60
58
|
}
|
|
61
59
|
export interface IAutomationDomainDeps {
|
|
62
60
|
'core.domain.automation.triggers': IAutomationTriggers;
|
|
@@ -65,8 +63,10 @@ export interface IAutomationDomainDeps {
|
|
|
65
63
|
'core.domain.permission.admin': IAdminPermissionDomain;
|
|
66
64
|
'core.domain.eventsManager': IEventsManagerDomain;
|
|
67
65
|
'core.domain.automation.pipeline': IAutomationPipelineDomain;
|
|
66
|
+
'core.domain.automation.rulesCache': IAutomationRulesCache;
|
|
68
67
|
'core.infra.automation.rule': IAutomationRuleRepo;
|
|
68
|
+
'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
|
|
69
69
|
config: IConfig;
|
|
70
70
|
}
|
|
71
|
-
export default function ({ 'core.domain.automation.triggers': automationTriggers, 'core.domain.automation.form': automationJsonSchemaFormDomain, 'core.domain.automation.form.uiJsonSchemaForm': automationUiJsonSchemaFormDomain, 'core.domain.permission.admin': adminPermissionDomain, 'core.domain.eventsManager': eventsManagerDomain, 'core.domain.automation.pipeline': pipelineDomain, 'core.infra.automation.rule': automationRuleRepo, config, }: IAutomationDomainDeps): IAutomationDomain;
|
|
71
|
+
export default function ({ 'core.domain.automation.triggers': automationTriggers, 'core.domain.automation.form': automationJsonSchemaFormDomain, 'core.domain.automation.form.uiJsonSchemaForm': automationUiJsonSchemaFormDomain, 'core.domain.permission.admin': adminPermissionDomain, 'core.domain.eventsManager': eventsManagerDomain, 'core.domain.automation.pipeline': pipelineDomain, 'core.domain.automation.rulesCache': automationRulesCache, 'core.infra.automation.rule': automationRuleRepo, 'core.domain.automation.actionsRegistry': automationActionsRegistry, config, }: IAutomationDomainDeps): IAutomationDomain;
|
|
72
72
|
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { type AutomationRuleEventAction, type AutomationRuleEventTopic, type IAutomationRule } from '../../_types/automation';
|
|
2
|
+
import { type IConfig } from '../../_types/config';
|
|
3
|
+
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
4
|
+
import { type IAutomationRuleRepo } from '../../infra/automation/automationRuleRepo';
|
|
5
|
+
import { type ICachesService } from '../../infra/cache/cacheService';
|
|
6
|
+
/**
|
|
7
|
+
* Two-tier cache for automation rules, shared across every `core` replica
|
|
8
|
+
* via Redis.
|
|
9
|
+
*
|
|
10
|
+
* ## Structure
|
|
11
|
+
*
|
|
12
|
+
* 1. **Index** under the key `automation:rules:index` → `AutomationRuleIndexEntry[]`
|
|
13
|
+
* (= `Pick<IAutomationRule, 'id' | 'trigger'>[]`). Holds the bare minimum
|
|
14
|
+
* needed to decide which rules match an event (action, sync, topic).
|
|
15
|
+
* Built on the ArangoDB side via a dedicated AQL projection
|
|
16
|
+
* (`automationRuleRepo.getActiveAutomationRulesForCache`) — pipelines and
|
|
17
|
+
* metadata never leave the Arango server.
|
|
18
|
+
*
|
|
19
|
+
* 2. **Per-rule cache** under `automation:rules:{ruleId}` → the full
|
|
20
|
+
* `IAutomationRule` (pipeline included). Populated **lazily**: only a rule
|
|
21
|
+
* that is actually matched by an event triggers the fetch + caching of its
|
|
22
|
+
* full payload.
|
|
23
|
+
*
|
|
24
|
+
* ## Why this split
|
|
25
|
+
*
|
|
26
|
+
* Selecting which rules to execute only depends on `trigger`; the `pipeline`
|
|
27
|
+
* is only required when the rule actually runs. With a naive "full-list"
|
|
28
|
+
* cache, every event would load all pipelines (potentially large) to execute
|
|
29
|
+
* 0 to a handful of them. The lightweight index bounds the selection cost to
|
|
30
|
+
* an `{id, trigger}` payload × number of active rules; only the pipelines of
|
|
31
|
+
* matching rules are fetched.
|
|
32
|
+
*
|
|
33
|
+
* ## Targeted invalidation
|
|
34
|
+
*
|
|
35
|
+
* `invalidate(ruleId)` removes only `[INDEX_RULES_CACHE_KEY,
|
|
36
|
+
* ruleCacheKey(ruleId)]`. Other rules keep their Redis entry intact — their
|
|
37
|
+
* pipelines are not reloaded until a modification targets them. Relevant
|
|
38
|
+
* when an admin edits a single rule among dozens (the typical case).
|
|
39
|
+
*
|
|
40
|
+
* `invalidate()` without an argument performs a full wipe via the
|
|
41
|
+
* `RULES_CACHE_KEYS_PATTERN` glob (useful for tests and global admin purges).
|
|
42
|
+
*
|
|
43
|
+
* ## Lazy per-rule population (not eager)
|
|
44
|
+
*
|
|
45
|
+
* On an index rebuild, per-rule caches are NOT re-written. Otherwise,
|
|
46
|
+
* re-writing every rule on each modification would defeat the "preserve
|
|
47
|
+
* other rules" guarantee. Acceptable trade-off: if a matched rule has never
|
|
48
|
+
* been cached, `_loadRuleById` performs an extra repo fetch — the debt is
|
|
49
|
+
* amortized by subsequent hits.
|
|
50
|
+
*/
|
|
51
|
+
export declare const INDEX_RULES_CACHE_KEY = "automation:rules:index";
|
|
52
|
+
export declare const RULES_CACHE_KEYS_PATTERN = "automation:rules:*";
|
|
53
|
+
export declare const ruleCacheKey: (id: string) => string;
|
|
54
|
+
export interface IAutomationRulesCache {
|
|
55
|
+
getRulesToTrigger(event: {
|
|
56
|
+
action: AutomationRuleEventAction;
|
|
57
|
+
topic?: AutomationRuleEventTopic;
|
|
58
|
+
}, synchronous: boolean, ctx: IQueryInfos): Promise<IAutomationRule[]>;
|
|
59
|
+
invalidate(ruleId?: string): Promise<void>;
|
|
60
|
+
}
|
|
61
|
+
export interface IAutomationRulesCacheDeps {
|
|
62
|
+
'core.infra.cache.cacheService': ICachesService;
|
|
63
|
+
'core.infra.automation.rule': IAutomationRuleRepo;
|
|
64
|
+
config: IConfig;
|
|
65
|
+
}
|
|
66
|
+
export default function ({ 'core.infra.cache.cacheService': cachesService, 'core.infra.automation.rule': automationRuleRepo, config, }: IAutomationRulesCacheDeps): IAutomationRulesCache;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type AutomationRuleEventAction, type
|
|
1
|
+
import { type AutomationRuleEventAction, type AutomationRuleEventTopic, type IAutomationRule } from '../../_types/automation';
|
|
2
2
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
3
|
export declare const TRIGGER_FAKER_RULES_FOR_DEV = false;
|
|
4
4
|
export declare const buildFakeRulesToTrigger: (event: {
|
|
5
5
|
action: AutomationRuleEventAction;
|
|
6
|
-
topic?:
|
|
6
|
+
topic?: AutomationRuleEventTopic;
|
|
7
7
|
}, synchronous: boolean, ctx: IQueryInfos) => Promise<IAutomationRule[]>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AutomationRuleJsonSchemaFormType } from '../../../_types/automation';
|
|
2
2
|
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
3
3
|
import { type IAutomationTriggersRegistry } from '../triggers/automationTriggersRegistry';
|
|
4
|
+
import { type IAutomationActionsRegistry } from '../automationActionsRegistry';
|
|
4
5
|
import { type RJSFSchema } from '@rjsf/utils';
|
|
5
6
|
export interface IAutomationJsonSchemaFormDomain {
|
|
6
7
|
getAutomationRuleJsonSchemaForm({ formType, ctx, }: {
|
|
@@ -10,10 +11,11 @@ export interface IAutomationJsonSchemaFormDomain {
|
|
|
10
11
|
}
|
|
11
12
|
interface IAutomationJsonSchemaFormDomainDeps {
|
|
12
13
|
'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
|
|
14
|
+
'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
|
|
13
15
|
}
|
|
14
16
|
export declare const extractAndLiftDefs: (jsonSchema: RJSFSchema) => {
|
|
15
17
|
schema: RJSFSchema;
|
|
16
18
|
defs: Record<string, RJSFSchema>;
|
|
17
19
|
};
|
|
18
|
-
export default function ({ 'core.domain.automation.triggers.registry': automationTriggersRegistry, }: IAutomationJsonSchemaFormDomainDeps): IAutomationJsonSchemaFormDomain;
|
|
20
|
+
export default function ({ 'core.domain.automation.triggers.registry': automationTriggersRegistry, 'core.domain.automation.actionsRegistry': actionsRegistry, }: IAutomationJsonSchemaFormDomainDeps): IAutomationJsonSchemaFormDomain;
|
|
19
21
|
export {};
|
|
@@ -3,6 +3,7 @@ import { type UiSchema } from '@rjsf/utils';
|
|
|
3
3
|
import { AutomationRuleJsonSchemaFormType } from '../../../_types/automation';
|
|
4
4
|
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
5
5
|
import { type IAutomationTriggersRegistry } from '../triggers/automationTriggersRegistry';
|
|
6
|
+
import { type IAutomationActionsRegistry } from '../automationActionsRegistry';
|
|
6
7
|
export interface IAutomationUiJsonSchemaFormDomain {
|
|
7
8
|
getAutomationRuleUiJsonSchemaForm({ formType, ctx, }: {
|
|
8
9
|
formType: AutomationRuleJsonSchemaFormType;
|
|
@@ -12,6 +13,7 @@ export interface IAutomationUiJsonSchemaFormDomain {
|
|
|
12
13
|
interface IAutomationUiJsonSchemaFormDomainDeps {
|
|
13
14
|
translator: i18n;
|
|
14
15
|
'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
|
|
16
|
+
'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
|
|
15
17
|
}
|
|
16
|
-
export default function ({ translator, 'core.domain.automation.triggers.registry': automationTriggersRegistry, }: IAutomationUiJsonSchemaFormDomainDeps): IAutomationUiJsonSchemaFormDomain;
|
|
18
|
+
export default function ({ translator, 'core.domain.automation.triggers.registry': automationTriggersRegistry, 'core.domain.automation.actionsRegistry': actionsRegistry, }: IAutomationUiJsonSchemaFormDomainDeps): IAutomationUiJsonSchemaFormDomain;
|
|
17
19
|
export {};
|
|
@@ -2,4 +2,5 @@ export { default } from './automationDomain';
|
|
|
2
2
|
export { default as actionsRegistry } from './automationActionsRegistry';
|
|
3
3
|
export { default as form } from './form';
|
|
4
4
|
export { default as pipeline } from './pipeline';
|
|
5
|
+
export { default as rulesCache } from './automationRulesCache';
|
|
5
6
|
export { default as triggers } from './triggers';
|
|
@@ -3,7 +3,7 @@ import { type AutomationRuleActions } from '../actions/_types';
|
|
|
3
3
|
export type AutomationRulePipeline = {
|
|
4
4
|
steps: AutomationRulePipelineStep[];
|
|
5
5
|
};
|
|
6
|
-
export type AutomationRulePipelineStep<Params = unknown
|
|
6
|
+
export type AutomationRulePipelineStep<Params = Record<string, unknown>> = {
|
|
7
7
|
type: AutomationRuleActions | string;
|
|
8
8
|
name?: string;
|
|
9
9
|
params: Params;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type AutomationPipelineStepValidation } from '../actions/_types';
|
|
2
2
|
import { type AutomationPipelineValidation } from './_types';
|
|
3
|
-
export declare function pipelineStepValidation<Params
|
|
3
|
+
export declare function pipelineStepValidation<Params = Record<string, unknown>>(pipelineToValidate: AutomationPipelineValidation, stepIndex: number): AutomationPipelineStepValidation<Params>;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { type AutomationRuleTrigger } from '../../../_types/automation';
|
|
2
2
|
import { type IQueryInfos } from '../../../_types/queryInfos';
|
|
3
3
|
import { type IAutomationTriggersRegistry } from './automationTriggersRegistry';
|
|
4
|
-
import { type AutomationTriggerDef } from './_types';
|
|
5
4
|
export interface IAutomationTriggers {
|
|
6
|
-
listAutomationTriggersDef({ ctx }: {
|
|
7
|
-
ctx: IQueryInfos;
|
|
8
|
-
}): AutomationTriggerDef[];
|
|
9
5
|
validateAutomationRuleTrigger(ruleTrigger: AutomationRuleTrigger, ctx: IQueryInfos): Promise<void>;
|
|
10
6
|
}
|
|
11
7
|
export interface IAutomationTriggersDeps {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { type ZodType } from 'zod';
|
|
2
|
-
import { type AutomationRuleEventAction, type
|
|
2
|
+
import { type AutomationRuleEventAction, type AutomationRuleEventTopic } from '../../../_types/automation';
|
|
3
3
|
import { type IAutomationTriggersTopics } from './automationTriggersTopics';
|
|
4
4
|
import { AutomationTriggerDefSynchronicity } from './_types';
|
|
5
5
|
type AutomationTriggerRegistration = {
|
|
6
6
|
eventAction: AutomationRuleEventAction;
|
|
7
|
-
topicSchema: ZodType<Partial<
|
|
7
|
+
topicSchema: ZodType<Partial<AutomationRuleEventTopic>>;
|
|
8
8
|
synchronicity: AutomationTriggerDefSynchronicity;
|
|
9
9
|
};
|
|
10
10
|
export interface IAutomationTriggersRegistry {
|
|
@@ -5,9 +5,9 @@ import { type IValidateHelper } from '../../helpers/validate';
|
|
|
5
5
|
export interface IAutomationTriggersTopics {
|
|
6
6
|
librarySchema: ZodType<string>;
|
|
7
7
|
attributeSchema: ZodType<string>;
|
|
8
|
-
|
|
8
|
+
libraryAndOptAttributeSchema: ZodType<{
|
|
9
9
|
library: string;
|
|
10
|
-
attribute
|
|
10
|
+
attribute?: string;
|
|
11
11
|
}>;
|
|
12
12
|
}
|
|
13
13
|
export interface IAutomationTriggersTopicsDeps {
|
|
@@ -27,14 +27,6 @@ export interface IDuplicateRecordRules {
|
|
|
27
27
|
}>;
|
|
28
28
|
}
|
|
29
29
|
export interface IRecordDomain {
|
|
30
|
-
/**
|
|
31
|
-
* Create empty record
|
|
32
|
-
* Used when create a record, set active to false and inCreation to true
|
|
33
|
-
*/
|
|
34
|
-
createEmptyRecord(params: {
|
|
35
|
-
library: string;
|
|
36
|
-
ctx: IQueryInfos;
|
|
37
|
-
}): Promise<IRecord>;
|
|
38
30
|
activateNewRecord(params: {
|
|
39
31
|
library: string;
|
|
40
32
|
recordId: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type IEventsManagerDomain } from '../eventsManager/eventsManagerDomain';
|
|
2
2
|
import { type UpdateRecordLastModifFunc } from '../helpers/updateRecordLastModif';
|
|
3
3
|
import { type SendRecordUpdateEventHelper } from '../record/helpers/sendRecordUpdateEvent';
|
|
4
|
+
import { type IAutomationDomain } from '../automation/automationDomain';
|
|
4
5
|
import { type IElementAncestorsHelper } from '../tree/helpers/elementAncestors';
|
|
5
6
|
import { type IGetDefaultElementHelper } from '../tree/helpers/getDefaultElement';
|
|
6
7
|
import { type ITreeDomain } from '../tree/treeDomain';
|
|
@@ -126,6 +127,7 @@ export interface IValueDomainDeps {
|
|
|
126
127
|
config: Config.IConfig;
|
|
127
128
|
'core.domain.actionsList': IActionsListDomain;
|
|
128
129
|
'core.domain.attribute': IAttributeDomain;
|
|
130
|
+
'core.domain.automation': IAutomationDomain;
|
|
129
131
|
'core.domain.permission.attributeDependentValues': IAttributeDependentValuesPermissionDomain;
|
|
130
132
|
'core.domain.permission.recordAttribute': IRecordAttributePermissionDomain;
|
|
131
133
|
'core.domain.permission.record': IRecordPermissionDomain;
|
|
@@ -152,5 +154,5 @@ export interface IValueDomainDeps {
|
|
|
152
154
|
'core.utils.logger': ILogger;
|
|
153
155
|
'core.domain.tree': ITreeDomain;
|
|
154
156
|
}
|
|
155
|
-
declare const valueDomain: ({ config, "core.domain.actionsList": actionsListDomain, "core.domain.attribute": attributeDomain, "core.domain.permission.attributeDependentValues": attributeDependentValuesPermissionDomain, "core.domain.permission.recordAttribute": recordAttributePermissionDomain, "core.domain.permission.record": recordPermissionDomain, "core.domain.eventsManager": eventsManager, "core.domain.helpers.validate": validate, "core.domain.helpers.updateRecordLastModif": updateRecordLastModif, "core.domain.tree.helpers.elementAncestors": elementAncestors, "core.domain.tree.helpers.getDefaultElement": getDefaultElementHelper, "core.domain.record.helpers.sendRecordUpdateEvent": sendRecordUpdateEvent, "core.domain.record.helpers.createRecord": createRecordHelper, "core.domain.record.helpers.getRecordIdentity": getRecordIdentity, "core.domain.value.helpers.getRecordFieldValue": getRecordFieldValueHelper, "core.domain.value.helpers.getValues": getValuesHelper, "core.domain.value.helpers.runActionsList": runActionsListHelper, "core.domain.value.helpers.formatValue": formatValueHelper, "core.domain.record.helpers.findRecords": findRecordsHelper, "core.domain.permission.helpers.recordInCreationBypass": recordInCreationBypassHelper, "core.domain.attribute.helpers.ifLibraryJoinLinkAttribute": ifLibraryJoinLinkAttribute, "core.domain.versionProfile": versionProfileDomain, "core.infra.record": recordRepo, "core.infra.tree": treeRepo, "core.infra.value": valueRepo, "core.utils": utils, "core.utils.logger": logger, }: IValueDomainDeps) => IValueDomain;
|
|
157
|
+
declare const valueDomain: ({ config, "core.domain.actionsList": actionsListDomain, "core.domain.attribute": attributeDomain, "core.domain.automation": automationDomain, "core.domain.permission.attributeDependentValues": attributeDependentValuesPermissionDomain, "core.domain.permission.recordAttribute": recordAttributePermissionDomain, "core.domain.permission.record": recordPermissionDomain, "core.domain.eventsManager": eventsManager, "core.domain.helpers.validate": validate, "core.domain.helpers.updateRecordLastModif": updateRecordLastModif, "core.domain.tree.helpers.elementAncestors": elementAncestors, "core.domain.tree.helpers.getDefaultElement": getDefaultElementHelper, "core.domain.record.helpers.sendRecordUpdateEvent": sendRecordUpdateEvent, "core.domain.record.helpers.createRecord": createRecordHelper, "core.domain.record.helpers.getRecordIdentity": getRecordIdentity, "core.domain.value.helpers.getRecordFieldValue": getRecordFieldValueHelper, "core.domain.value.helpers.getValues": getValuesHelper, "core.domain.value.helpers.runActionsList": runActionsListHelper, "core.domain.value.helpers.formatValue": formatValueHelper, "core.domain.record.helpers.findRecords": findRecordsHelper, "core.domain.permission.helpers.recordInCreationBypass": recordInCreationBypassHelper, "core.domain.attribute.helpers.ifLibraryJoinLinkAttribute": ifLibraryJoinLinkAttribute, "core.domain.versionProfile": versionProfileDomain, "core.infra.record": recordRepo, "core.infra.tree": treeRepo, "core.infra.value": valueRepo, "core.utils": utils, "core.utils.logger": logger, }: IValueDomainDeps) => IValueDomain;
|
|
156
158
|
export default valueDomain;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type SyncAutomationRuleEventAction } from '../../_types/automation';
|
|
1
|
+
import { type AutomationRuleIndexEntry, type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type SyncAutomationRuleEventAction } from '../../_types/automation';
|
|
2
2
|
import { type IList } from '../../_types/list';
|
|
3
3
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
4
4
|
import { type IGetCoreEntitiesParams } from '../../_types/shared';
|
|
@@ -22,6 +22,7 @@ export interface IAutomationRuleRepo {
|
|
|
22
22
|
createAutomationRule(rule: ICreateAutomationRule, ctx: IQueryInfos): Promise<IAutomationRule>;
|
|
23
23
|
updateAutomationRule(rule: IUpdateAutomationRule, ctx: IQueryInfos): Promise<IAutomationRule>;
|
|
24
24
|
getAutomationRules(params: IGetAutomationRulesParams, ctx: IQueryInfos): Promise<IList<IAutomationRule>>;
|
|
25
|
+
getActiveAutomationRulesForCache(ctx: IQueryInfos): Promise<AutomationRuleIndexEntry[]>;
|
|
25
26
|
deleteAutomationRule(ruleId: string, ctx: IQueryInfos): Promise<IAutomationRule>;
|
|
26
27
|
}
|
|
27
28
|
export interface IAutomationRuleRepoDeps {
|
|
@@ -1 +1 @@
|
|
|
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/jsonSchemaForm.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/_types/viewsV2.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/viewV2App.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/automationActionsRegistry.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/fakeRulesToTrigger.ts","../../../src/domain/automation/index.ts","../../../src/domain/automation/actions/_types.ts","../../../src/domain/automation/actions/conditionAction.ts","../../../src/domain/automation/actions/errorAction.ts","../../../src/domain/automation/actions/index.ts","../../../src/domain/automation/actions/jexlCalculationAutomationAction.ts","../../../src/domain/automation/actions/logAction.ts","../../../src/domain/automation/actions/modifyAttributeAction.ts","../../../src/domain/automation/actions/notificationAction.ts","../../../src/domain/automation/form/automationJsonSchemaForm.ts","../../../src/domain/automation/form/automationUiJsonSchemaForm.ts","../../../src/domain/automation/form/index.ts","../../../src/domain/automation/jexl/index.ts","../../../src/domain/automation/jexl/jexlAutomation.ts","../../../src/domain/automation/pipeline/_types.ts","../../../src/domain/automation/pipeline/index.ts","../../../src/domain/automation/pipeline/pipeline.ts","../../../src/domain/automation/pipeline/stepValidation.ts","../../../src/domain/automation/triggers/_types.ts","../../../src/domain/automation/triggers/automationTriggers.ts","../../../src/domain/automation/triggers/automationTriggersRegistry.ts","../../../src/domain/automation/triggers/automationTriggersTopics.ts","../../../src/domain/automation/triggers/index.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/domain/viewV2/index.ts","../../../src/domain/viewV2/viewV2Domain.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/020-addViewsV2Collection.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/infra/viewV2/index.ts","../../../src/infra/viewV2/viewV2Repo.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/jsonSchemaForm.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/_types/viewsV2.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/viewV2App.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/automationActionsRegistry.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/automationRulesCache.ts","../../../src/domain/automation/fakeRulesToTrigger.ts","../../../src/domain/automation/index.ts","../../../src/domain/automation/actions/_types.ts","../../../src/domain/automation/actions/conditionAction.ts","../../../src/domain/automation/actions/errorAction.ts","../../../src/domain/automation/actions/index.ts","../../../src/domain/automation/actions/jexlCalculationAutomationAction.ts","../../../src/domain/automation/actions/logAction.ts","../../../src/domain/automation/actions/modifyAttributeAction.ts","../../../src/domain/automation/actions/notificationAction.ts","../../../src/domain/automation/form/automationJsonSchemaForm.ts","../../../src/domain/automation/form/automationUiJsonSchemaForm.ts","../../../src/domain/automation/form/index.ts","../../../src/domain/automation/jexl/index.ts","../../../src/domain/automation/jexl/jexlAutomation.ts","../../../src/domain/automation/pipeline/_types.ts","../../../src/domain/automation/pipeline/index.ts","../../../src/domain/automation/pipeline/pipeline.ts","../../../src/domain/automation/pipeline/stepValidation.ts","../../../src/domain/automation/triggers/_types.ts","../../../src/domain/automation/triggers/automationTriggers.ts","../../../src/domain/automation/triggers/automationTriggersRegistry.ts","../../../src/domain/automation/triggers/automationTriggersTopics.ts","../../../src/domain/automation/triggers/index.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/domain/viewV2/index.ts","../../../src/domain/viewV2/viewV2Domain.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/020-addViewsV2Collection.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/infra/viewV2/index.ts","../../../src/infra/viewV2/viewV2Repo.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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aristid/leav-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0-667fe1ca",
|
|
4
4
|
"description": "Shared Leav types",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"tscheck": "",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"license": "LGPL3",
|
|
15
15
|
"repository": "https://github.com/leav-solutions/leav-engine",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@leav/utils": "1.
|
|
17
|
+
"@leav/utils": "1.14.0",
|
|
18
18
|
"@types/amqplib": "0.10.8",
|
|
19
19
|
"@types/express": "5.0.6",
|
|
20
20
|
"amqplib": "0.10.9",
|