@aristid/leav-types 1.13.0-95c8de41 → 1.13.0-a0d59b9a

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.
Files changed (41) hide show
  1. package/CLAUDE.md +2 -2
  2. package/apps/core/config/default.d.ts +4 -0
  3. package/apps/core/config/test.d.ts +4 -0
  4. package/apps/core/src/_types/automation.d.ts +3 -2
  5. package/apps/core/src/_types/config.d.ts +4 -0
  6. package/apps/core/src/_types/extensionPoints.d.ts +2 -0
  7. package/apps/core/src/_types/jsonSchemaForm.d.ts +7 -0
  8. package/apps/core/src/_types/viewsV2.d.ts +78 -0
  9. package/apps/core/src/app/core/automationApp.d.ts +6 -5
  10. package/apps/core/src/app/core/index.d.ts +1 -0
  11. package/apps/core/src/app/core/viewV2App.d.ts +14 -0
  12. package/apps/core/src/domain/automation/actions/_types.d.ts +2 -2
  13. package/apps/core/src/domain/automation/actions/conditionAction.d.ts +3 -5
  14. package/apps/core/src/domain/automation/actions/jexlCalculationAutomationAction.d.ts +3 -5
  15. package/apps/core/src/domain/automation/actions/notificationAction.d.ts +3 -5
  16. package/apps/core/src/domain/automation/automationActionsRegistry.d.ts +1 -0
  17. package/apps/core/src/domain/automation/automationDomain.d.ts +9 -9
  18. package/apps/core/src/domain/automation/automationRulesCache.d.ts +66 -0
  19. package/apps/core/src/domain/automation/fakeRulesToTrigger.d.ts +2 -2
  20. package/apps/core/src/domain/automation/form/automationJsonSchemaForm.d.ts +3 -1
  21. package/apps/core/src/domain/automation/form/automationUiJsonSchemaForm.d.ts +5 -1
  22. package/apps/core/src/domain/automation/index.d.ts +1 -0
  23. package/apps/core/src/domain/automation/jexl/index.d.ts +1 -0
  24. package/apps/core/src/domain/automation/jexl/jexlAutomation.d.ts +16 -0
  25. package/apps/core/src/domain/automation/pipeline/_types.d.ts +1 -1
  26. package/apps/core/src/domain/automation/pipeline/index.d.ts +0 -1
  27. package/apps/core/src/domain/automation/pipeline/stepValidation.d.ts +1 -1
  28. package/apps/core/src/domain/automation/triggers/automationTriggers.d.ts +0 -4
  29. package/apps/core/src/domain/automation/triggers/automationTriggersRegistry.d.ts +2 -2
  30. package/apps/core/src/domain/automation/triggers/automationTriggersTopics.d.ts +2 -2
  31. package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +4 -2
  32. package/apps/core/src/domain/value/valueDomain.d.ts +3 -1
  33. package/apps/core/src/domain/viewV2/index.d.ts +1 -0
  34. package/apps/core/src/domain/viewV2/viewV2Domain.d.ts +21 -0
  35. package/apps/core/src/infra/automation/automationRuleRepo.d.ts +2 -1
  36. package/apps/core/src/infra/db/migrations/020-addViewsV2Collection.d.ts +7 -0
  37. package/apps/core/src/infra/viewV2/index.d.ts +1 -0
  38. package/apps/core/src/infra/viewV2/viewV2Repo.d.ts +40 -0
  39. package/apps/core/tsconfig.types.tsbuildinfo +1 -1
  40. package/package.json +1 -1
  41. package/apps/core/src/domain/automation/pipeline/buildAutomationJexlContext.d.ts +0 -9
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
- - **`next`** — à chaque push sur `develop`
19
- - **`latest`** — sur les releases taguées
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 };
@@ -93,4 +93,8 @@ export namespace applications {
93
93
  export namespace automation {
94
94
  let enable_3: boolean;
95
95
  export { enable_3 as enable };
96
+ export namespace cache {
97
+ let enable_4: boolean;
98
+ export { enable_4 as enable };
99
+ }
96
100
  }
@@ -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 AutomationRulesEventTopic = IDbPayload['topic'];
38
+ export type AutomationRuleEventTopic = IDbPayload['topic'];
39
39
  export type AutomationRuleTrigger = {
40
40
  synchronous: boolean;
41
41
  eventAction: AutomationRuleEventAction;
42
- eventTopic?: AutomationRulesEventTopic;
42
+ eventTopic?: AutomationRuleEventTopic;
43
43
  };
44
+ export type AutomationRuleIndexEntry = Pick<IAutomationRule, 'id' | 'trigger'>;
@@ -39,6 +39,10 @@ export interface IConfig {
39
39
  }
40
40
  export interface IAutomation {
41
41
  enable: boolean;
42
+ cache: IAutomationCache;
43
+ }
44
+ export interface IAutomationCache {
45
+ enable: boolean;
42
46
  }
43
47
  export declare enum CoreMode {
44
48
  SERVER = "server",
@@ -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
  /**
@@ -0,0 +1,7 @@
1
+ import { type GlobalMeta } from 'zod';
2
+ export type ZodMetaUISchema = GlobalMeta & {
3
+ ui?: {
4
+ title?: string;
5
+ placeholder?: string;
6
+ };
7
+ };
@@ -0,0 +1,78 @@
1
+ import { type IRecordFilterLight, type IRecordSortLight } from './record';
2
+ import { type ISystemTranslation } from './systemTranslation';
3
+ export declare enum ViewV2Types {
4
+ LIST = "list",
5
+ CARDS = "cards",
6
+ TIMELINE = "timeline"
7
+ }
8
+ export interface IViewV2Display {
9
+ type: ViewV2Types;
10
+ }
11
+ export interface IViewV2ValuesVersion {
12
+ [treeId: string]: string;
13
+ }
14
+ /**
15
+ * User-facing fields of a view v2 with their natural required/optional cardinality.
16
+ * Source of truth for both the stored entity and the create/update inputs — every other
17
+ * shape in this file is derived from it.
18
+ */
19
+ interface IViewV2UserFields {
20
+ library: string;
21
+ label: ISystemTranslation;
22
+ display: IViewV2Display;
23
+ shared: boolean;
24
+ attributes: string[];
25
+ filters?: IRecordFilterLight[];
26
+ sort?: IRecordSortLight[];
27
+ valuesVersions?: IViewV2ValuesVersion;
28
+ }
29
+ /**
30
+ * Server-managed fields, populated by the domain layer.
31
+ */
32
+ interface IViewV2ServerFields {
33
+ id: string;
34
+ created_by: string;
35
+ created_at: number;
36
+ modified_at: number;
37
+ }
38
+ /**
39
+ * Stored view v2 entity, as persisted in ArangoDB and returned by the domain.
40
+ */
41
+ export type IViewV2 = IViewV2UserFields & IViewV2ServerFields;
42
+ /**
43
+ * Domain create input: user fields, with `attributes` made optional (the domain
44
+ * defaults it to `[]`).
45
+ */
46
+ export type IViewV2CreateInput = Omit<IViewV2UserFields, 'attributes'> & {
47
+ attributes?: string[];
48
+ };
49
+ /**
50
+ * Domain update input: only `id` is mandatory; every other user field is optional
51
+ * and only the provided ones are updated.
52
+ */
53
+ export type IViewV2UpdateInput = Pick<IViewV2ServerFields, 'id'> & Partial<IViewV2UserFields>;
54
+ export interface IViewV2ValuesVersionForGraphql {
55
+ treeId: string;
56
+ treeNode: {
57
+ id: string;
58
+ };
59
+ }
60
+ /**
61
+ * GraphQL-shaped create input: same as the domain input but `valuesVersions` arrives as
62
+ * an array of `{treeId, treeNode}` pairs.
63
+ */
64
+ export type IViewV2CreateInputFromGraphQL = Omit<IViewV2CreateInput, 'valuesVersions'> & {
65
+ valuesVersions?: IViewV2ValuesVersionForGraphql[];
66
+ };
67
+ /**
68
+ * GraphQL-shaped update input: same as the domain input with array-shaped `valuesVersions`.
69
+ */
70
+ export type IViewV2UpdateInputFromGraphQL = Omit<IViewV2UpdateInput, 'valuesVersions'> & {
71
+ valuesVersions?: IViewV2ValuesVersionForGraphql[];
72
+ };
73
+ export interface IViewV2FilterOptions extends ICoreEntityFilterOptions {
74
+ created_by?: string;
75
+ library?: string;
76
+ type?: ViewV2Types;
77
+ }
78
+ export {};
@@ -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
- export type ICoreImportApp = IGraphqlAppModule;
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': automationTriggers, 'core.domain.automation.triggers.registry': automationTriggersRegistry, }: IAutomationAppDeps): ICoreImportApp;
24
+ export default function ({ 'core.domain.automation': automationDomain, 'core.domain.automation.triggers.registry': automationTriggersRegistry, 'core.domain.automation.actionsRegistry': automationActionsRegistry, }: IAutomationAppDeps): ICoreAutomationApp;
24
25
  export {};
@@ -24,4 +24,5 @@ export { default as userData } from './userDataApp';
24
24
  export { default as value } from './valueApp';
25
25
  export { default as versionProfile } from './versionProfileApp/versionProfileApp';
26
26
  export { default as view } from './viewApp';
27
+ export { default as viewV2 } from './viewV2App';
27
28
  export { default as discussion } from './discussionApp';
@@ -0,0 +1,14 @@
1
+ import { type IRecordDomain } from '../../domain/record/recordDomain';
2
+ import { type IViewV2Domain } from '../../domain/viewV2/viewV2Domain';
3
+ import { type IUtils } from '../../utils/utils';
4
+ import { type IAttributeDomain } from '../../domain/attribute/attributeDomain';
5
+ import { type IGraphqlAppModule } from '../graphql/graphqlApp';
6
+ interface IDeps {
7
+ 'core.domain.record': IRecordDomain;
8
+ 'core.domain.viewV2': IViewV2Domain;
9
+ 'core.domain.attribute': IAttributeDomain;
10
+ 'core.utils': IUtils;
11
+ }
12
+ export type IViewV2App = IGraphqlAppModule;
13
+ export default function ({ 'core.domain.viewV2': viewV2Domain, 'core.domain.record': recordDomain, 'core.domain.attribute': attributeDomain, 'core.utils': utils, }: IDeps): IViewV2App;
14
+ 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>;
@@ -1,14 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { type IAutomationAction } from './_types';
3
- import { type BuildAutomationJexlContext } from '../pipeline/buildAutomationJexlContext';
4
- import { type IJexlDomain } from '../../jexl/jexlDomain';
3
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
5
4
  declare const conditionActionParamsSchema: z.ZodObject<{
6
5
  expression: z.ZodString;
7
6
  }, z.core.$strip>;
8
7
  export type ConditionActionParams = z.infer<typeof conditionActionParamsSchema>;
9
8
  interface IConditionActionDeps {
10
- 'core.domain.jexl': IJexlDomain;
11
- 'core.domain.automation.pipeline.buildAutomationJexlContext': BuildAutomationJexlContext;
9
+ 'core.domain.automation.jexl': IJexlAutomation;
12
10
  }
13
- export default function ({ 'core.domain.jexl': jexl, 'core.domain.automation.pipeline.buildAutomationJexlContext': buildAutomationJexlContext, }: IConditionActionDeps): IAutomationAction<ConditionActionParams>;
11
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, }: IConditionActionDeps): IAutomationAction<ConditionActionParams>;
14
12
  export {};
@@ -1,16 +1,14 @@
1
1
  import { z } from 'zod';
2
- import { type IJexlDomain } from '../../jexl/jexlDomain';
3
2
  import { type IConfig } from '../../../_types/config';
4
3
  import { type IAutomationAction } from './_types';
5
- import { type BuildAutomationJexlContext } from '../pipeline/buildAutomationJexlContext';
4
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
6
5
  declare const jexlCalculationActionParamsSchema: z.ZodObject<{
7
6
  formula: z.ZodString;
8
7
  }, z.core.$strip>;
9
8
  export type JexlCalculationActionParams = z.infer<typeof jexlCalculationActionParamsSchema>;
10
9
  interface IDeps {
11
- 'core.domain.jexl': IJexlDomain;
10
+ 'core.domain.automation.jexl': IJexlAutomation;
12
11
  config: IConfig;
13
- 'core.domain.automation.pipeline.buildAutomationJexlContext': BuildAutomationJexlContext;
14
12
  }
15
- export default function ({ 'core.domain.jexl': jexlDomain, config, 'core.domain.automation.pipeline.buildAutomationJexlContext': buildAutomationJexlContext, }: IDeps): IAutomationAction<JexlCalculationActionParams>;
13
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, config, }: IDeps): IAutomationAction<JexlCalculationActionParams>;
16
14
  export {};
@@ -1,8 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { type IAutomationAction } from './_types';
3
- import { type IJexlDomain } from '../../jexl/jexlDomain';
4
3
  import { type INotificationDomain } from '../../notification/notificationDomain';
5
- import { type BuildAutomationJexlContext } from '../pipeline/buildAutomationJexlContext';
4
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
6
5
  declare const notificationActionParamsSchema: z.ZodObject<{
7
6
  title: z.ZodString;
8
7
  recipients: z.ZodString;
@@ -11,9 +10,8 @@ declare const notificationActionParamsSchema: z.ZodObject<{
11
10
  }, z.core.$strip>;
12
11
  export type NotificationActionParams = z.infer<typeof notificationActionParamsSchema>;
13
12
  interface INotificationActionDeps {
14
- 'core.domain.jexl': IJexlDomain;
13
+ 'core.domain.automation.jexl': IJexlAutomation;
15
14
  'core.domain.notification': INotificationDomain;
16
- 'core.domain.automation.pipeline.buildAutomationJexlContext': BuildAutomationJexlContext;
17
15
  }
18
- export default function ({ 'core.domain.jexl': jexl, 'core.domain.notification': notification, 'core.domain.automation.pipeline.buildAutomationJexlContext': buildAutomationJexlContext, }: INotificationActionDeps): IAutomationAction<NotificationActionParams>;
16
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, 'core.domain.notification': notification, }: INotificationActionDeps): IAutomationAction<NotificationActionParams>;
19
17
  export {};
@@ -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 AutomationRulesEventTopic, type AutomationRuleEventAction, type AutomationRuleJsonSchemaFormType } from '../../_types/automation';
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 AutomationTriggerDef } from './triggers/_types';
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?: AutomationRulesEventTopic;
21
+ eventTopic?: AutomationRuleEventTopic;
21
22
  };
22
23
  }
23
24
  interface ITriggerRulesParams {
24
25
  event: {
25
- action: IAutomationRule['trigger']['eventAction'];
26
- topic?: IAutomationRule['trigger']['eventTopic'];
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 AutomationRulesEventTopic, type IAutomationRule } from '../../_types/automation';
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?: AutomationRulesEventTopic;
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 {};
@@ -2,6 +2,8 @@ import { type i18n } from 'i18next';
2
2
  import { type UiSchema } from '@rjsf/utils';
3
3
  import { AutomationRuleJsonSchemaFormType } from '../../../_types/automation';
4
4
  import { type IQueryInfos } from '../../../_types/queryInfos';
5
+ import { type IAutomationTriggersRegistry } from '../triggers/automationTriggersRegistry';
6
+ import { type IAutomationActionsRegistry } from '../automationActionsRegistry';
5
7
  export interface IAutomationUiJsonSchemaFormDomain {
6
8
  getAutomationRuleUiJsonSchemaForm({ formType, ctx, }: {
7
9
  formType: AutomationRuleJsonSchemaFormType;
@@ -10,6 +12,8 @@ export interface IAutomationUiJsonSchemaFormDomain {
10
12
  }
11
13
  interface IAutomationUiJsonSchemaFormDomainDeps {
12
14
  translator: i18n;
15
+ 'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
16
+ 'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
13
17
  }
14
- export default function ({ translator }: IAutomationUiJsonSchemaFormDomainDeps): IAutomationUiJsonSchemaFormDomain;
18
+ export default function ({ translator, 'core.domain.automation.triggers.registry': automationTriggersRegistry, 'core.domain.automation.actionsRegistry': actionsRegistry, }: IAutomationUiJsonSchemaFormDomainDeps): IAutomationUiJsonSchemaFormDomain;
15
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';
@@ -0,0 +1 @@
1
+ export { default } from './jexlAutomation';
@@ -0,0 +1,16 @@
1
+ import { type IQueryInfos } from '../../../_types/queryInfos';
2
+ import { type IJexlDomain } from '../../jexl/jexlDomain';
3
+ import { type IAutomationPipelineExecutionState } from '../pipeline/_types';
4
+ import { type JexlRootContext, type JexlRecordContext } from '../../jexl/types';
5
+ interface IDeps {
6
+ 'core.domain.jexl': IJexlDomain;
7
+ }
8
+ type JexlAutomationContext = JexlRootContext<{
9
+ results: IAutomationPipelineExecutionState['results'];
10
+ currentRecord?: JexlRecordContext;
11
+ }>;
12
+ export interface IJexlAutomation extends Pick<IJexlDomain, 'eval' | 'validate'> {
13
+ buildAutomationContext: (executionState: IAutomationPipelineExecutionState, ctx: IQueryInfos) => JexlAutomationContext;
14
+ }
15
+ export default function ({ 'core.domain.jexl': jexlDomain }: IDeps): IJexlAutomation;
16
+ export {};
@@ -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,2 +1 @@
1
1
  export { default } from './pipeline';
2
- export { default as buildAutomationJexlContext } from './buildAutomationJexlContext';
@@ -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>(pipelineToValidate: AutomationPipelineValidation, stepIndex: number): AutomationPipelineStepValidation<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 AutomationRulesEventTopic } from '../../../_types/automation';
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<AutomationRulesEventTopic>>;
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
- libraryAndAttributeSchema: ZodType<{
8
+ libraryAndOptAttributeSchema: ZodType<{
9
9
  library: string;
10
- attribute: string;
10
+ attribute?: string;
11
11
  }>;
12
12
  }
13
13
  export interface IAutomationTriggersTopicsDeps {
@@ -3,6 +3,7 @@ import { type ILibraryRepo } from '../../infra/library/libraryRepo';
3
3
  import { type ITreeRepo } from '../../infra/tree/treeRepo';
4
4
  import { type IVersionProfileRepo } from '../../infra/versionProfile/versionProfileRepo';
5
5
  import { type IViewRepo } from '../../infra/view/_types';
6
+ import { type IViewV2Repo } from '../../infra/viewV2/viewV2Repo';
6
7
  import { type IUtils } from '../../utils/utils';
7
8
  import { type IQueryInfos } from '../../_types/queryInfos';
8
9
  import { type ICachesService } from '../../infra/cache/cacheService';
@@ -11,10 +12,11 @@ interface IDeps {
11
12
  'core.infra.attribute': IAttributeRepo;
12
13
  'core.infra.tree': ITreeRepo;
13
14
  'core.infra.view': IViewRepo;
15
+ 'core.infra.viewV2': IViewV2Repo;
14
16
  'core.infra.versionProfile': IVersionProfileRepo;
15
17
  'core.infra.cache.cacheService': ICachesService;
16
18
  'core.utils': IUtils;
17
19
  }
18
- export type GetCoreEntityByIdFunc = <T extends ICoreEntity>(entityType: 'library' | 'attribute' | 'tree' | 'view' | 'versionProfile', entityId: string, ctx: IQueryInfos) => Promise<T>;
19
- export default function ({ 'core.infra.library': libraryRepo, 'core.infra.attribute': attributeRepo, 'core.infra.tree': treeRepo, 'core.infra.view': viewRepo, 'core.infra.versionProfile': versionProfileRepo, 'core.infra.cache.cacheService': cacheService, 'core.utils': utils, }: IDeps): GetCoreEntityByIdFunc;
20
+ export type GetCoreEntityByIdFunc = <T extends ICoreEntity>(entityType: 'library' | 'attribute' | 'tree' | 'view' | 'viewV2' | 'versionProfile', entityId: string, ctx: IQueryInfos) => Promise<T>;
21
+ export default function ({ 'core.infra.library': libraryRepo, 'core.infra.attribute': attributeRepo, 'core.infra.tree': treeRepo, 'core.infra.view': viewRepo, 'core.infra.viewV2': viewV2Repo, 'core.infra.versionProfile': versionProfileRepo, 'core.infra.cache.cacheService': cacheService, 'core.utils': utils, }: IDeps): GetCoreEntityByIdFunc;
20
22
  export {};
@@ -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;
@@ -0,0 +1 @@
1
+ export { default } from './viewV2Domain';
@@ -0,0 +1,21 @@
1
+ import { type IValidateHelper } from '../helpers/validate';
2
+ import { type ITreeDomain } from '../tree/treeDomain';
3
+ import { type IViewV2Repo } from '../../infra/viewV2/viewV2Repo';
4
+ import { type IUtils } from '../../utils/utils';
5
+ import { type IList } from '../../_types/list';
6
+ import { type IQueryInfos } from '../../_types/queryInfos';
7
+ import { type IViewV2, type IViewV2CreateInput, type IViewV2UpdateInput } from '../../_types/viewsV2';
8
+ export interface IViewV2Domain {
9
+ createViewV2(input: IViewV2CreateInput, ctx: IQueryInfos): Promise<IViewV2>;
10
+ updateViewV2(input: IViewV2UpdateInput, ctx: IQueryInfos): Promise<IViewV2>;
11
+ getViewsV2(library: string, ctx: IQueryInfos): Promise<IList<IViewV2>>;
12
+ getViewV2ById(viewId: string, ctx: IQueryInfos): Promise<IViewV2>;
13
+ deleteViewV2(viewId: string, ctx: IQueryInfos): Promise<IViewV2>;
14
+ }
15
+ export interface IViewV2DomainDeps {
16
+ 'core.domain.helpers.validate': IValidateHelper;
17
+ 'core.domain.tree': ITreeDomain;
18
+ 'core.infra.viewV2': IViewV2Repo;
19
+ 'core.utils': IUtils;
20
+ }
21
+ export default function ({ 'core.domain.helpers.validate': validationHelper, 'core.domain.tree': treeDomain, 'core.infra.viewV2': viewV2Repo, 'core.utils': utils, }: IViewV2DomainDeps): IViewV2Domain;
@@ -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 {
@@ -0,0 +1,7 @@
1
+ import { type IMigration } from '../../../_types/migration';
2
+ import { type IDbService } from '../dbService';
3
+ interface IDeps {
4
+ 'core.infra.db.dbService'?: IDbService;
5
+ }
6
+ export default function ({ 'core.infra.db.dbService': dbService }?: IDeps): IMigration;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './viewV2Repo';
@@ -0,0 +1,40 @@
1
+ import { type IList } from '../../_types/list';
2
+ import { type IQueryInfos } from '../../_types/queryInfos';
3
+ import { type IGetCoreEntitiesParams } from '../../_types/shared';
4
+ import { type IViewV2 } from '../../_types/viewsV2';
5
+ import { type IDbService } from '../db/dbService';
6
+ import { type IDbUtils } from '../db/dbUtils';
7
+ export declare const VIEWS_V2_COLLECTION_NAME = "core_views_v2";
8
+ export type IViewV2FilterOptionsInRepo = ICoreEntityFilterOptions & {
9
+ created_by?: string;
10
+ library?: string;
11
+ };
12
+ export type IGetViewV2Params = IGetCoreEntitiesParams & {
13
+ filters?: IViewV2FilterOptionsInRepo;
14
+ };
15
+ /**
16
+ * Repo create payload: full stored entity minus `id` (ArangoDB will generate the `_key`).
17
+ * `id` stays optional for callers that need a deterministic key (tests, seeding).
18
+ */
19
+ export type IViewV2CreateInRepo = Omit<IViewV2, 'id'> & {
20
+ id?: string;
21
+ };
22
+ /**
23
+ * Repo update payload: `id` and `modified_at` are mandatory; every other field is optional
24
+ * and only the provided ones are persisted (UPDATE with `keepNull: false`).
25
+ */
26
+ export type IViewV2UpdateInRepo = {
27
+ id: string;
28
+ modified_at: number;
29
+ } & Partial<Omit<IViewV2, 'id' | 'modified_at'>>;
30
+ export interface IViewV2Repo {
31
+ createViewV2(view: IViewV2CreateInRepo, ctx: IQueryInfos): Promise<IViewV2>;
32
+ updateViewV2(view: IViewV2UpdateInRepo, ctx: IQueryInfos): Promise<IViewV2>;
33
+ getViewsOwnedOrSharedV2(params: IGetViewV2Params, ctx: IQueryInfos): Promise<IList<IViewV2>>;
34
+ deleteViewV2(viewId: string, ctx: IQueryInfos): Promise<IViewV2>;
35
+ }
36
+ export interface IViewV2RepoDeps {
37
+ 'core.infra.db.dbService': IDbService;
38
+ 'core.infra.db.dbUtils': IDbUtils;
39
+ }
40
+ export default function ({ 'core.infra.db.dbService': dbService, 'core.infra.db.dbUtils': dbUtils, }: IViewV2RepoDeps): IViewV2Repo;
@@ -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/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/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/pipeline/_types.ts","../../../src/domain/automation/pipeline/buildAutomationJexlContext.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/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/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.13.0-95c8de41",
3
+ "version": "1.13.0-a0d59b9a",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",
@@ -1,9 +0,0 @@
1
- import { type IQueryInfos } from '../../../_types/queryInfos';
2
- import { type IJexlDomain } from '../../jexl/jexlDomain';
3
- import { type JexlRootContext } from '../../jexl/types';
4
- import { type IAutomationPipelineExecutionState } from './_types';
5
- export type BuildAutomationJexlContext = (executionState: IAutomationPipelineExecutionState, ctx: IQueryInfos) => JexlRootContext;
6
- export interface IBuildAutomationJexlContextDeps {
7
- 'core.domain.jexl': IJexlDomain;
8
- }
9
- export default function ({ 'core.domain.jexl': jexlDomain, }: IBuildAutomationJexlContextDeps): BuildAutomationJexlContext;