@aristid/leav-types 1.14.0 → 1.15.0-8916eb3d

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 (31) hide show
  1. package/apps/core/config/default.d.ts +6 -0
  2. package/apps/core/config/test.d.ts +5 -0
  3. package/apps/core/src/_types/config.d.ts +6 -0
  4. package/apps/core/src/_types/errors.d.ts +1 -0
  5. package/apps/core/src/_types/viewsV2.d.ts +22 -9
  6. package/apps/core/src/app/core/viewV2App.d.ts +3 -3
  7. package/apps/core/src/domain/automation/_metrics.d.ts +5 -0
  8. package/apps/core/src/domain/automation/actions/_types.d.ts +1 -3
  9. package/apps/core/src/domain/automation/actions/index.d.ts +1 -3
  10. package/apps/core/src/domain/automation/actions/{jexlCalculationAutomationAction.d.ts → jexlExpressionAction.d.ts} +4 -4
  11. package/apps/core/src/domain/automation/automationDomain.d.ts +1 -3
  12. package/apps/core/src/domain/automation/triggers/automationTriggers.d.ts +2 -1
  13. package/apps/core/src/domain/jexl/jexlDomain.d.ts +7 -1
  14. package/apps/core/src/domain/jexl/types.d.ts +6 -0
  15. package/apps/core/src/domain/viewV2/viewV2ZodSchema.d.ts +50 -0
  16. package/apps/core/src/infra/automation/automationRuleRepo.d.ts +4 -1
  17. package/apps/core/src/infra/db/migrationConstants/statusTypes.d.ts +6 -0
  18. package/apps/core/src/infra/db/migrationConstants/statuses.d.ts +5 -0
  19. package/apps/core/src/infra/db/{migrations/013-threads/constants.d.ts → migrationConstants/threads.d.ts} +0 -4
  20. package/apps/core/src/infra/db/migrations/021-addNgramFuzzySearchAnalyzer.d.ts +11 -0
  21. package/apps/core/src/infra/db/migrations/021-addStatusTypesLibrary.d.ts +11 -0
  22. package/apps/core/src/infra/db/migrations/022-normalizeNgramFuzzySearchAnalyzer.d.ts +11 -0
  23. package/apps/core/src/infra/indexation/helpers/getSearchQuery.d.ts +6 -1
  24. package/apps/core/src/infra/indexation/indexationService.d.ts +3 -4
  25. package/apps/core/src/interface/automation.d.ts +15 -0
  26. package/apps/core/src/interface/index.d.ts +1 -0
  27. package/apps/core/tsconfig.types.tsbuildinfo +1 -1
  28. package/package.json +6 -5
  29. package/apps/core/src/domain/automation/actions/errorAction.d.ts +0 -8
  30. package/apps/core/src/domain/automation/actions/logAction.d.ts +0 -16
  31. package/apps/core/src/domain/automation/fakeRulesToTrigger.d.ts +0 -7
@@ -236,6 +236,7 @@ export declare namespace indexationManager {
236
236
  export { events_2 as events };
237
237
  }
238
238
  export { queues_3 as queues };
239
+ export let fuzzySearch: boolean;
239
240
  }
240
241
  declare let debug_2: boolean;
241
242
  export declare let defaultUserId: string;
@@ -301,5 +302,10 @@ export declare namespace automation {
301
302
  let enable_8: boolean;
302
303
  export { enable_8 as enable };
303
304
  }
305
+ export namespace queues_4 {
306
+ let events_3: string;
307
+ export { events_3 as events };
308
+ }
309
+ export { queues_4 as queues };
304
310
  }
305
311
  export { debug_2 as debug, _export as export, _import as import };
@@ -97,4 +97,9 @@ export namespace automation {
97
97
  let enable_4: boolean;
98
98
  export { enable_4 as enable };
99
99
  }
100
+ export namespace queues_4 {
101
+ let events_2: string;
102
+ export { events_2 as events };
103
+ }
104
+ export { queues_4 as queues };
100
105
  }
@@ -40,6 +40,9 @@ export interface IConfig {
40
40
  export interface IAutomation {
41
41
  enable: boolean;
42
42
  cache: IAutomationCache;
43
+ queues: {
44
+ events: string;
45
+ };
43
46
  }
44
47
  export interface IAutomationCache {
45
48
  enable: boolean;
@@ -52,6 +55,7 @@ export declare enum CoreMode {
52
55
  TASKS_MANAGER_MASTER = "tasksManager:master",
53
56
  TASKS_MANAGER_WORKER = "tasksManager:worker",
54
57
  LOGS_COLLECTOR = "logsCollector",
58
+ AUTOMATION = "automation",
55
59
  /**
56
60
  * Default, to do db migration, or import ...
57
61
  */
@@ -62,6 +66,7 @@ export declare enum CoreMode {
62
66
  * CoreMode.INDEXATION_MANAGER,
63
67
  * CoreMode.TASKS_MANAGER_MASTER,
64
68
  * CoreMode.TASKS_MANAGER_WORKER,
69
+ * CoreMode.AUTOMATION,
65
70
  * ]
66
71
  */
67
72
  E2E_PLAYWRIGHT = "e2ePlaywright"
@@ -238,6 +243,7 @@ export interface IIndexationManager {
238
243
  queues: {
239
244
  events: string;
240
245
  };
246
+ fuzzySearch: boolean;
241
247
  }
242
248
  export interface ITasksManager {
243
249
  checkingInterval: number;
@@ -60,6 +60,7 @@ export declare enum Errors {
60
60
  INVALID_VALUES_VERSIONS_SETTINGS_BAD_NODE_ID = "INVALID_VALUES_VERSIONS_SETTINGS_BAD_NODE_ID",
61
61
  INVALID_VARIABLE_FUNCTION = "INVALID_VARIABLE_FUNCTION",
62
62
  INVALID_VERSION = "INVALID_VERSION",
63
+ INVALID_VIEW_V2_INPUT = "INVALID_VIEW_V2_INPUT",
63
64
  LIBRARY_FORBIDDEN_AS_CHILD = "LIBRARY FORBIDDEN AS CHILD",
64
65
  METADATA_PERMISSION_ERROR = "METADATA_PERMISSION_ERROR",
65
66
  MISSING_ACTION_PREFIX = "MISSING_ACTION_PREFIX",
@@ -1,16 +1,32 @@
1
- import { type IRecordFilterLight, type IRecordSortLight } from './record';
1
+ import { type SortOrder } from './list';
2
+ import { type AttributeCondition, type TreeCondition } from './record';
2
3
  import { type ISystemTranslation } from './systemTranslation';
3
4
  export declare enum ViewV2Types {
4
5
  LIST = "list",
5
6
  CARDS = "cards",
6
7
  TIMELINE = "timeline"
7
8
  }
9
+ export interface IViewV2DisplayAttribute {
10
+ attributeId: string;
11
+ visible: boolean;
12
+ }
8
13
  export interface IViewV2Display {
9
14
  type: ViewV2Types;
15
+ attributes: IViewV2DisplayAttribute[];
10
16
  }
11
17
  export interface IViewV2ValuesVersion {
12
18
  [treeId: string]: string;
13
19
  }
20
+ export interface IViewV2Filter {
21
+ pinned: boolean;
22
+ attributes: string[];
23
+ values: Array<string | null>;
24
+ condition: AttributeCondition | TreeCondition;
25
+ }
26
+ export interface IViewV2Sort {
27
+ attributes: string[];
28
+ order: SortOrder;
29
+ }
14
30
  /**
15
31
  * User-facing fields of a view v2 with their natural required/optional cardinality.
16
32
  * Source of truth for both the stored entity and the create/update inputs — every other
@@ -21,10 +37,9 @@ interface IViewV2UserFields {
21
37
  label: ISystemTranslation;
22
38
  display: IViewV2Display;
23
39
  shared: boolean;
24
- attributes: string[];
25
- filters?: IRecordFilterLight[];
26
- sort?: IRecordSortLight[];
27
- valuesVersions?: IViewV2ValuesVersion;
40
+ filters: IViewV2Filter[];
41
+ sorts: IViewV2Sort[];
42
+ valuesVersions?: IViewV2ValuesVersion | null;
28
43
  }
29
44
  /**
30
45
  * Server-managed fields, populated by the domain layer.
@@ -40,12 +55,10 @@ interface IViewV2ServerFields {
40
55
  */
41
56
  export type IViewV2 = IViewV2UserFields & IViewV2ServerFields;
42
57
  /**
43
- * Domain create input: user fields, with `attributes` made optional (the domain
58
+ * Domain create input: user fields, with `columns` made optional (the domain
44
59
  * defaults it to `[]`).
45
60
  */
46
- export type IViewV2CreateInput = Omit<IViewV2UserFields, 'attributes'> & {
47
- attributes?: string[];
48
- };
61
+ export type IViewV2CreateInput = IViewV2UserFields;
49
62
  /**
50
63
  * Domain update input: only `id` is mandatory; every other user field is optional
51
64
  * and only the provided ones are updated.
@@ -1,14 +1,14 @@
1
+ import { type IAttributeDomain } from '../../domain/attribute/attributeDomain';
1
2
  import { type IRecordDomain } from '../../domain/record/recordDomain';
2
3
  import { type IViewV2Domain } from '../../domain/viewV2/viewV2Domain';
3
4
  import { type IUtils } from '../../utils/utils';
4
- import { type IAttributeDomain } from '../../domain/attribute/attributeDomain';
5
5
  import { type IGraphqlAppModule } from '../graphql/graphqlApp';
6
6
  interface IDeps {
7
+ 'core.domain.attribute': IAttributeDomain;
7
8
  'core.domain.record': IRecordDomain;
8
9
  'core.domain.viewV2': IViewV2Domain;
9
- 'core.domain.attribute': IAttributeDomain;
10
10
  'core.utils': IUtils;
11
11
  }
12
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;
13
+ export default function ({ 'core.domain.attribute': attributeDomain, 'core.domain.viewV2': viewV2Domain, 'core.domain.record': recordDomain, 'core.utils': utils, }: IDeps): IViewV2App;
14
14
  export {};
@@ -0,0 +1,5 @@
1
+ import { type Counter, type Histogram } from '@opentelemetry/api';
2
+ export declare const triggerCounter: Counter;
3
+ export declare const triggerRulesMatched: Histogram;
4
+ export declare const triggerDuration: Histogram;
5
+ export declare const triggerRulesFetchDuration: Histogram;
@@ -3,10 +3,8 @@ import { type AutomationRulePipelineStep, type IAutomationPipelineExecutionState
3
3
  import { type IQueryInfos } from '../../../_types/queryInfos';
4
4
  import { type AutomationRuleTrigger } from '../../../_types/automation';
5
5
  export declare enum AutomationRuleActions {
6
- LOG = "log",
7
6
  CONDITION = "condition",
8
- ERROR = "error",
9
- JEXL_CALCULATION = "jexlCalculation",
7
+ JEXL_EXPRESSION = "jexlExpression",
10
8
  MODIFY_ATTRIBUTE = "modifyAttribute",
11
9
  NOTIFICATION = "notification"
12
10
  }
@@ -1,6 +1,4 @@
1
1
  export { default as condition } from './conditionAction';
2
- export { default as error } from './errorAction';
3
- export { default as log } from './logAction';
4
- export { default as jexlCalculation } from './jexlCalculationAutomationAction';
2
+ export { default as jexlExpression } from './jexlExpressionAction';
5
3
  export { default as modifyAttribute } from './modifyAttributeAction';
6
4
  export { default as notification } from './notificationAction';
@@ -2,13 +2,13 @@ import { z } from 'zod';
2
2
  import { type IConfig } from '../../../_types/config';
3
3
  import { type IAutomationAction } from './_types';
4
4
  import { type IJexlAutomation } from '../jexl/jexlAutomation';
5
- declare const jexlCalculationActionParamsSchema: z.ZodObject<{
6
- formula: z.ZodString;
5
+ declare const jexlExpressionActionParamsSchema: z.ZodObject<{
6
+ expression: z.ZodString;
7
7
  }, z.core.$strip>;
8
- export type JexlCalculationActionParams = z.infer<typeof jexlCalculationActionParamsSchema>;
8
+ export type JexlExpressionActionParams = z.infer<typeof jexlExpressionActionParamsSchema>;
9
9
  interface IDeps {
10
10
  'core.domain.automation.jexl': IJexlAutomation;
11
11
  config: IConfig;
12
12
  }
13
- export default function ({ 'core.domain.automation.jexl': jexlAutomation, config, }: IDeps): IAutomationAction<JexlCalculationActionParams>;
13
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, config, }: IDeps): IAutomationAction<JexlExpressionActionParams>;
14
14
  export {};
@@ -9,7 +9,6 @@ import { type IConfig } from '../../_types/config';
9
9
  import { type IAutomationPipelineDomain } from './pipeline/pipeline';
10
10
  import { type IAutomationRulesCache } from './automationRulesCache';
11
11
  import { type IAutomationTriggers } from './triggers/automationTriggers';
12
- import { type IAutomationActionsRegistry } from './automationActionsRegistry';
13
12
  import { type IAutomationJsonSchemaFormDomain } from './form/automationJsonSchemaForm';
14
13
  import { type IAutomationUiJsonSchemaFormDomain } from './form/automationUiJsonSchemaForm';
15
14
  import { type UiSchema, type RJSFSchema } from '@rjsf/utils';
@@ -65,8 +64,7 @@ export interface IAutomationDomainDeps {
65
64
  'core.domain.automation.pipeline': IAutomationPipelineDomain;
66
65
  'core.domain.automation.rulesCache': IAutomationRulesCache;
67
66
  'core.infra.automation.rule': IAutomationRuleRepo;
68
- 'core.domain.automation.actionsRegistry': IAutomationActionsRegistry;
69
67
  config: IConfig;
70
68
  }
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;
69
+ 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, config, }: IAutomationDomainDeps): IAutomationDomain;
72
70
  export {};
@@ -1,8 +1,9 @@
1
- import { type AutomationRuleTrigger } from '../../../_types/automation';
1
+ import { type AutomationRuleEventAction, type AutomationRuleTrigger } from '../../../_types/automation';
2
2
  import { type IQueryInfos } from '../../../_types/queryInfos';
3
3
  import { type IAutomationTriggersRegistry } from './automationTriggersRegistry';
4
4
  export interface IAutomationTriggers {
5
5
  validateAutomationRuleTrigger(ruleTrigger: AutomationRuleTrigger, ctx: IQueryInfos): Promise<void>;
6
+ isEventActionInTriggers(eventAction: AutomationRuleEventAction, synchronous: boolean): boolean;
6
7
  }
7
8
  export interface IAutomationTriggersDeps {
8
9
  'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
@@ -1,11 +1,17 @@
1
1
  import { type IValueDomain } from '../value/valueDomain';
2
+ import { type IRecordDomain } from '../record/recordDomain';
3
+ import { type ITreeDomain } from '../tree/treeDomain';
2
4
  import { type IQueryInfos } from '../../_types/queryInfos';
3
5
  import { type IRecord } from '../../_types/record';
4
6
  import { type IValue } from '../../_types/value';
5
7
  import { type ITreeNode } from '../../_types/tree';
8
+ import { type IConfig } from '../../_types/config';
6
9
  import { type JexlContext, type JexlRecordContext, type JexlRootContext, type JexlTreeNodeContext, type JexlValueContext } from './types';
7
10
  interface IDeps {
8
11
  'core.domain.value': IValueDomain;
12
+ 'core.domain.record': IRecordDomain;
13
+ 'core.domain.tree': ITreeDomain;
14
+ config: IConfig;
9
15
  }
10
16
  export interface IJexlDomain {
11
17
  eval<Return = unknown, Ctx extends JexlContext = JexlContext>(expression: string, context?: Ctx): Promise<Return>;
@@ -15,5 +21,5 @@ export interface IJexlDomain {
15
21
  buildTreeNodeContext: (treeNode: ITreeNode, ctx: IQueryInfos) => JexlTreeNodeContext;
16
22
  buildValuesContext: (values: IValue[], ctx: IQueryInfos) => JexlValueContext[];
17
23
  }
18
- export default function ({ 'core.domain.value': valueDomain }: IDeps): IJexlDomain;
24
+ export default function ({ 'core.domain.value': valueDomain, 'core.domain.record': recordDomain, 'core.domain.tree': treeDomain, config, }: IDeps): IJexlDomain;
19
25
  export {};
@@ -35,3 +35,9 @@ export type JexlUserContext = JexlContext<JexlContextType.USER> & {
35
35
  lang?: string;
36
36
  };
37
37
  export type JexlValueContext = IStandardValue['payload'] | JexlRecordContext | JexlTreeNodeContext;
38
+ export type JexlContextByType = {
39
+ [JexlContextType.ROOT]: JexlRootContext;
40
+ [JexlContextType.RECORD]: JexlRecordContext;
41
+ [JexlContextType.TREE_NODE]: JexlTreeNodeContext;
42
+ [JexlContextType.USER]: JexlUserContext;
43
+ };
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import { SortOrder } from '../../_types/list';
3
+ import { AttributeCondition, TreeCondition } from '../../_types/record';
4
+ import { ViewV2Types } from '../../_types/viewsV2';
5
+ export declare const viewV2UserFieldsSchema: z.ZodObject<{
6
+ library: z.ZodString;
7
+ label: z.ZodRecord<z.ZodString, z.ZodString>;
8
+ display: z.ZodObject<{
9
+ type: z.ZodEnum<typeof ViewV2Types>;
10
+ attributes: z.ZodArray<z.ZodObject<{
11
+ attributeId: z.ZodString;
12
+ visible: z.ZodBoolean;
13
+ }, z.core.$strip>>;
14
+ }, z.core.$strip>;
15
+ shared: z.ZodBoolean;
16
+ filters: z.ZodArray<z.ZodObject<{
17
+ pinned: z.ZodBoolean;
18
+ attributes: z.ZodArray<z.ZodString>;
19
+ values: z.ZodArray<z.ZodNullable<z.ZodString>>;
20
+ condition: z.ZodUnion<readonly [z.ZodEnum<typeof AttributeCondition>, z.ZodEnum<typeof TreeCondition>]>;
21
+ }, z.core.$strip>>;
22
+ sorts: z.ZodArray<z.ZodObject<{
23
+ attributes: z.ZodArray<z.ZodString>;
24
+ order: z.ZodEnum<typeof SortOrder>;
25
+ }, z.core.$strip>>;
26
+ valuesVersions: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
27
+ }, z.core.$strip>;
28
+ export declare const viewV2UpdateFieldsSchema: z.ZodObject<{
29
+ library: z.ZodOptional<z.ZodString>;
30
+ label: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31
+ display: z.ZodOptional<z.ZodObject<{
32
+ type: z.ZodEnum<typeof ViewV2Types>;
33
+ attributes: z.ZodArray<z.ZodObject<{
34
+ attributeId: z.ZodString;
35
+ visible: z.ZodBoolean;
36
+ }, z.core.$strip>>;
37
+ }, z.core.$strip>>;
38
+ shared: z.ZodOptional<z.ZodBoolean>;
39
+ filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
+ pinned: z.ZodBoolean;
41
+ attributes: z.ZodArray<z.ZodString>;
42
+ values: z.ZodArray<z.ZodNullable<z.ZodString>>;
43
+ condition: z.ZodUnion<readonly [z.ZodEnum<typeof AttributeCondition>, z.ZodEnum<typeof TreeCondition>]>;
44
+ }, z.core.$strip>>>;
45
+ sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
46
+ attributes: z.ZodArray<z.ZodString>;
47
+ order: z.ZodEnum<typeof SortOrder>;
48
+ }, z.core.$strip>>>;
49
+ valuesVersions: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>>;
50
+ }, z.core.$strip>;
@@ -29,4 +29,7 @@ export interface IAutomationRuleRepoDeps {
29
29
  'core.infra.db.dbService': IDbService;
30
30
  'core.infra.db.dbUtils': IDbUtils;
31
31
  }
32
- export default function ({ 'core.infra.db.dbService': dbService, 'core.infra.db.dbUtils': dbUtils, }: IAutomationRuleRepoDeps): IAutomationRuleRepo;
32
+ export interface IAutomationRuleRepoParams {
33
+ collectionName?: string;
34
+ }
35
+ export default function ({ 'core.infra.db.dbService': dbService, 'core.infra.db.dbUtils': dbUtils }: IAutomationRuleRepoDeps, repoParams?: IAutomationRuleRepoParams): IAutomationRuleRepo;
@@ -0,0 +1,6 @@
1
+ export declare const STATUS_TYPES_LIBRARY_ID = "status_types";
2
+ export declare const STATUS_TYPES_LABEL_ATTRIBUTE_ID = "status_types_label";
3
+ export declare const STATUS_TYPES_COLOR_ATTRIBUTE_ID = "status_types_color";
4
+ export declare const STATUS_TYPES_ICON_ATTRIBUTE_ID = "status_types_icon";
5
+ export declare const STATUS_TYPES_VALUE_ATTRIBUTE_ID = "status_types_value";
6
+ export declare const STATUS_TYPES_DEFAULT_VALUES: string[];
@@ -0,0 +1,5 @@
1
+ export declare const STATUSES_LIBRARY_ID = "statuses";
2
+ export declare const STATUSES_LABEL_ATTRIBUTE_ID = "statuses_label";
3
+ export declare const STATUSES_COLOR_ATTRIBUTE_ID = "statuses_color";
4
+ export declare const STATUSES_ICON_ID_ATTRIBUTE_ID = "statuses_id_icon";
5
+ export declare const STATUSES_STATUS_TYPE_ATTRIBUTE_ID = "statuses_status_type";
@@ -1,11 +1,7 @@
1
1
  export declare const THREADS_LIBRARY_ID = "discussion_threads";
2
2
  export declare const COMMENTS_LIBRARY_ID = "discussion_comments";
3
- export declare const STATUSES_LIBRARY_ID = "statuses";
4
3
  export declare const THREAD_STATUSES_TREE_ID = "discussion_thread_statuses_tree";
5
4
  export declare const COMMENT_CONTENT_ATTRIBUTE_ID = "discussion_comments_text";
6
5
  export declare const COMMENT_THREAD_ATTRIBUTE_ID = "discussion_comments_thread";
7
6
  export declare const THREAD_STATUS_ATTRIBUTE_ID = "discussion_threads_status";
8
7
  export declare const THREAD_COMMENTS_ATTRIBUTE_ID = "discussion_threads_comments";
9
- export declare const STATUSES_LABEL_ATTRIBUTE_ID = "statuses_label";
10
- export declare const STATUSES_COLOR_ATTRIBUTE_ID = "statuses_color";
11
- export declare const STATUSES_ICON_ID_ATTRIBUTE_ID = "statuses_id_icon";
@@ -0,0 +1,11 @@
1
+ import { type ILogger } from '@leav/logger';
2
+ import { type IMigration } from '../../../_types/migration';
3
+ import { type IDbService } from '../dbService';
4
+ import { type IConfig } from '../../../_types/config';
5
+ interface IDeps {
6
+ config: IConfig;
7
+ 'core.infra.db.dbService': IDbService;
8
+ 'core.utils.logger': ILogger;
9
+ }
10
+ export default function ({ config, 'core.infra.db.dbService': dbService, 'core.utils.logger': logger, }: IDeps): IMigration;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type IMigration } from '../../../_types/migration';
2
+ import { type IAttributeRepo } from '../../attribute/attributeRepo';
3
+ import { type IDbService } from '../dbService';
4
+ import { type ILibraryRepo } from '../../library/libraryRepo';
5
+ interface IDeps {
6
+ 'core.infra.db.dbService': IDbService;
7
+ 'core.infra.attribute': IAttributeRepo;
8
+ 'core.infra.library': ILibraryRepo;
9
+ }
10
+ export default function ({ 'core.infra.db.dbService': dbService, 'core.infra.attribute': attributeRepo, 'core.infra.library': libraryRepo, }: IDeps): IMigration;
11
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type ILogger } from '@leav/logger';
2
+ import { type IMigration } from '../../../_types/migration';
3
+ import { type IDbService } from '../dbService';
4
+ import { type IConfig } from '../../../_types/config';
5
+ interface IDeps {
6
+ config: IConfig;
7
+ 'core.infra.db.dbService': IDbService;
8
+ 'core.utils.logger': ILogger;
9
+ }
10
+ export default function ({ config, 'core.infra.db.dbService': dbService, 'core.utils.logger': logger, }: IDeps): IMigration;
11
+ export {};
@@ -1,4 +1,9 @@
1
1
  import { type IRecordSort } from '../../../_types/record';
2
2
  import { type GeneratedAqlQuery } from 'arangojs/aql';
3
+ import type * as Config from '../../../_types/config';
3
4
  export type GetSearchQuery = (libraryId: string, fields: string[], search: string, sort?: IRecordSort) => GeneratedAqlQuery;
4
- export default function (): GetSearchQuery;
5
+ interface IDeps {
6
+ config?: Config.IConfig;
7
+ }
8
+ export default function ({ config }?: IDeps): GetSearchQuery;
9
+ export {};
@@ -1,7 +1,6 @@
1
1
  import { type IDbService } from '../db/dbService';
2
2
  import type * as Config from '../../_types/config';
3
3
  import { type IRecordRepo } from '../record/recordRepo';
4
- import { type GetSearchQuery } from './helpers/getSearchQuery';
5
4
  import { type IQueryInfos } from '../../_types/queryInfos';
6
5
  interface IRecordIndexData {
7
6
  [x: string]: string;
@@ -11,17 +10,17 @@ export interface IIndexationService {
11
10
  listLibrary(libraryId: string): Promise<void>;
12
11
  isLibraryListed(libraryId: string): Promise<boolean>;
13
12
  indexRecord(libraryId: string, recordId: string, data: IRecordIndexData, ctx: IQueryInfos): Promise<void>;
14
- getSearchQuery: GetSearchQuery;
15
13
  }
16
14
  interface IDeps {
17
15
  config?: Config.IConfig;
18
16
  'core.infra.db.dbService'?: IDbService;
19
17
  'core.infra.record'?: IRecordRepo;
20
- 'core.infra.indexation.helpers.getSearchQuery'?: GetSearchQuery;
21
18
  }
22
19
  export declare const CORE_INDEX_INPUT_ANALYZER = "core_index_input";
23
20
  export declare const CORE_INDEX_ANALYZER = "core_index";
21
+ export declare const CORE_INDEX_NGRAM_ANALYZER = "core_index_ngram";
24
22
  export declare const CORE_INDEX_VIEW = "core_index";
25
23
  export declare const CORE_INDEX_FIELD = "core_index";
26
- export default function ({ config, 'core.infra.db.dbService': dbService, 'core.infra.record': recordRepo, 'core.infra.indexation.helpers.getSearchQuery': getSearchQuery, }: IDeps): IIndexationService;
24
+ export declare const CORE_INDEX_NGRAM_THRESHOLD = 0.7;
25
+ export default function ({ config, 'core.infra.db.dbService': dbService, 'core.infra.record': recordRepo, }: IDeps): IIndexationService;
27
26
  export {};
@@ -0,0 +1,15 @@
1
+ import { type IAmqpService } from '@leav/message-broker';
2
+ import { type GetSystemQueryContext } from '../utils/helpers/getSystemQueryContext';
3
+ import { type IAutomationDomain } from '../domain/automation/automationDomain';
4
+ import { type IConfig } from '../_types/config';
5
+ export interface IAutomationInterface {
6
+ init(): Promise<void>;
7
+ }
8
+ interface IDeps {
9
+ 'core.domain.automation': IAutomationDomain;
10
+ 'core.infra.amqpService': IAmqpService;
11
+ 'core.utils.getSystemQueryContext': GetSystemQueryContext;
12
+ config: IConfig;
13
+ }
14
+ export default function ({ 'core.domain.automation': automationDomain, 'core.infra.amqpService': amqpService, 'core.utils.getSystemQueryContext': getSystemQueryContext, config, }: IDeps): IAutomationInterface;
15
+ export {};
@@ -1,3 +1,4 @@
1
+ export { default as automation } from './automation';
1
2
  export { default as cli } from './cli';
2
3
  export { default as filesManager } from './filesManager';
3
4
  export { default as indexationManager } from './indexationManager';
@@ -1 +1 @@
1
- {"root":["../../../codegen.ts","../../../vitest.e2e-api.config.ts","../../../vitest.e2e-fileManager.config.ts","../../../vitest.e2e-indexationManager.config.ts","../../../vitest.integration.config.ts","../../../vitest.unit.config.ts","../../../config/default.js","../../../config/development.js","../../../config/test.js","../../../src/config.ts","../../../src/depsManager.ts","../../../src/env.ts","../../../src/i18nextInit.ts","../../../src/index.ts","../../../src/pluginsLoader.ts","../../../src/pluginsModuleResolver.ts","../../../src/testConfig.ts","../../../src/_constants/attributes.ts","../../../src/_constants/discussions.ts","../../../src/_constants/globalSettings.ts","../../../src/_constants/libraries.ts","../../../src/_constants/notifications.ts","../../../src/_constants/users.ts","../../../src/_constants/values.ts","../../../src/_types/actionsList.ts","../../../src/_types/apiKey.ts","../../../src/_types/application.ts","../../../src/_types/attribute.ts","../../../src/_types/auth.ts","../../../src/_types/automation.ts","../../../src/_types/config.ts","../../../src/_types/cronTask.ts","../../../src/_types/dbProfiler.ts","../../../src/_types/discussion.ts","../../../src/_types/elasticSearch.ts","../../../src/_types/endpoint.ts","../../../src/_types/errors.ts","../../../src/_types/events.ts","../../../src/_types/eventsManager.ts","../../../src/_types/express.ts","../../../src/_types/extensionPoints.ts","../../../src/_types/filesManager.ts","../../../src/_types/forms.ts","../../../src/_types/globalSettings.ts","../../../src/_types/graphql.ts","../../../src/_types/import.ts","../../../src/_types/jsonSchemaForm.ts","../../../src/_types/library.ts","../../../src/_types/list.ts","../../../src/_types/log.ts","../../../src/_types/migration.ts","../../../src/_types/notification.ts","../../../src/_types/permissions.ts","../../../src/_types/plugin.ts","../../../src/_types/preview.ts","../../../src/_types/queryInfos.ts","../../../src/_types/record.ts","../../../src/_types/shared.ts","../../../src/_types/systemTranslation.ts","../../../src/_types/tasksManager.ts","../../../src/_types/tree.ts","../../../src/_types/userData.ts","../../../src/_types/utils.ts","../../../src/_types/value.ts","../../../src/_types/versionProfile.ts","../../../src/_types/views.ts","../../../src/_types/viewsV2.ts","../../../src/app/application/applicationApp.ts","../../../src/app/application/index.ts","../../../src/app/auth/authApp.ts","../../../src/app/auth/index.ts","../../../src/app/core/actionListApp.ts","../../../src/app/core/automationApp.ts","../../../src/app/core/coreApp.ts","../../../src/app/core/discussionApp.ts","../../../src/app/core/eventsManagerApp.ts","../../../src/app/core/exportApp.ts","../../../src/app/core/filesManagerApp.ts","../../../src/app/core/globalSettingsApp.ts","../../../src/app/core/importApp.ts","../../../src/app/core/index.ts","../../../src/app/core/indexationManagerApp.ts","../../../src/app/core/logApp.ts","../../../src/app/core/logsCollectorApp.ts","../../../src/app/core/notificationApp.ts","../../../src/app/core/pluginsApp.ts","../../../src/app/core/tasksManagerApp.ts","../../../src/app/core/userDataApp.ts","../../../src/app/core/valueApp.ts","../../../src/app/core/viewApp.ts","../../../src/app/core/viewV2App.ts","../../../src/app/core/apiKeyApp/_types.ts","../../../src/app/core/apiKeyApp/apiKeyApp.ts","../../../src/app/core/attributeApp/attributeApp.ts","../../../src/app/core/formApp/_types.ts","../../../src/app/core/formApp/formApp.ts","../../../src/app/core/helpers/subscriptions.ts","../../../src/app/core/libraryApp/_types.ts","../../../src/app/core/libraryApp/libraryApp.ts","../../../src/app/core/permissionApp/_types.ts","../../../src/app/core/permissionApp/permissionApp.ts","../../../src/app/core/recordApp/_types.ts","../../../src/app/core/recordApp/recordApp.ts","../../../src/app/core/treeApp/_types.ts","../../../src/app/core/treeApp/treeApp.ts","../../../src/app/core/versionProfileApp/_types.ts","../../../src/app/core/versionProfileApp/versionProfileApp.ts","../../../src/app/endpoint/endpointApp.ts","../../../src/app/endpoint/index.ts","../../../src/app/graphql/graphqlApp.ts","../../../src/app/graphql/index.ts","../../../src/app/graphql/customScalars/any/any.ts","../../../src/app/graphql/customScalars/any/index.ts","../../../src/app/graphql/customScalars/dateTime/dateTime.ts","../../../src/app/graphql/customScalars/dateTime/index.ts","../../../src/app/graphql/customScalars/helpers/parseLiteral.ts","../../../src/app/graphql/customScalars/systemTranslation/index.ts","../../../src/app/graphql/customScalars/systemTranslation/systemTranslation.ts","../../../src/app/helpers/convertOIDCIdentifier.ts","../../../src/app/helpers/convertVersionFromGqlFormat.ts","../../../src/app/helpers/index.ts","../../../src/app/helpers/initQueryContext.ts","../../../src/app/helpers/validateRequestToken.ts","../../../src/app/trpc/index.ts","../../../src/app/trpc/trpcApp.ts","../../../src/domain/actions/dateRangeToNumberAction.ts","../../../src/domain/actions/encryptAction.ts","../../../src/domain/actions/excelCalculationAction.ts","../../../src/domain/actions/formatDateAction.ts","../../../src/domain/actions/formatDateRangeAction.ts","../../../src/domain/actions/formatNumberAction.ts","../../../src/domain/actions/index.ts","../../../src/domain/actions/inheritanceCalculationAction.ts","../../../src/domain/actions/jexlCalculationAction.ts","../../../src/domain/actions/maskValueAction.ts","../../../src/domain/actions/parseJSONAction.ts","../../../src/domain/actions/replaceAnotherAttributeAction.ts","../../../src/domain/actions/toBooleanAction.ts","../../../src/domain/actions/toJSONAction.ts","../../../src/domain/actions/toLowercaseAction.ts","../../../src/domain/actions/toNumberAction.ts","../../../src/domain/actions/toStringAction.ts","../../../src/domain/actions/toUppercaseAction.ts","../../../src/domain/actions/validateEmailAction.ts","../../../src/domain/actions/validateFormatAction.ts","../../../src/domain/actions/validateRegexAction.ts","../../../src/domain/actions/validateURLAction.ts","../../../src/domain/actionsList/actionsListDomain.ts","../../../src/domain/actionsList/index.ts","../../../src/domain/apiKey/apiKeyDomain.ts","../../../src/domain/apiKey/index.ts","../../../src/domain/application/appStudioDomain.ts","../../../src/domain/application/applicationDomain.ts","../../../src/domain/application/index.ts","../../../src/domain/application/helpers/getLibrarySystemPanels.ts","../../../src/domain/application/helpers/index.ts","../../../src/domain/attribute/attributeDomain.ts","../../../src/domain/attribute/index.ts","../../../src/domain/attribute/helpers/attributeALHelper.ts","../../../src/domain/attribute/helpers/attributeValidationHelper.ts","../../../src/domain/attribute/helpers/ifLibraryJoinLinkAttribute.ts","../../../src/domain/attribute/helpers/index.ts","../../../src/domain/automation/automationActionsRegistry.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/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"}
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/_metrics.ts","../../../src/domain/automation/automationActionsRegistry.ts","../../../src/domain/automation/automationDomain.ts","../../../src/domain/automation/automationRulesCache.ts","../../../src/domain/automation/index.ts","../../../src/domain/automation/actions/_types.ts","../../../src/domain/automation/actions/conditionAction.ts","../../../src/domain/automation/actions/index.ts","../../../src/domain/automation/actions/jexlExpressionAction.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/domain/viewV2/viewV2ZodSchema.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/migrationConstants/statusTypes.ts","../../../src/infra/db/migrationConstants/statuses.ts","../../../src/infra/db/migrationConstants/threads.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/021-addNgramFuzzySearchAnalyzer.ts","../../../src/infra/db/migrations/021-addStatusTypesLibrary.ts","../../../src/infra/db/migrations/022-normalizeNgramFuzzySearchAnalyzer.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/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/automation.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,23 +1,24 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.14.0",
3
+ "version": "1.15.0-8916eb3d",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",
7
7
  "test:ci": "",
8
8
  "test:commit": "",
9
- "publish-types": "yarn npm publish --access public",
9
+ "publish": "yarn npm publish --access public",
10
10
  "generate": "yarn workspace core build-types && mv ../../apps/core/dist-types/* . && rmdir ../../apps/core/dist-types",
11
+ "build": "yarn generate",
12
+ "clean": "rm -rf apps libs",
11
13
  "get-version": "jq -r '.version' package.json",
12
14
  "set-version": "jq --arg v $1 '.version = $v' package.json > package.tmp.json && mv package.tmp.json package.json"
13
15
  },
14
16
  "license": "LGPL3",
15
17
  "repository": "https://github.com/leav-solutions/leav-engine",
16
18
  "dependencies": {
17
- "@leav/utils": "1.14.0",
18
- "@types/amqplib": "0.10.8",
19
+ "@leav/utils": "1.15.0",
19
20
  "@types/express": "5.0.6",
20
- "amqplib": "0.10.9",
21
+ "amqplib": "2.0.1",
21
22
  "arangojs": "8.8.1",
22
23
  "awilix": "12.1.1",
23
24
  "i18next": "24.2.3"
@@ -1,8 +0,0 @@
1
- import { z } from 'zod';
2
- import { type IAutomationAction } from './_types';
3
- declare const errorActionParamsSchema: z.ZodObject<{
4
- message: z.ZodString;
5
- }, z.core.$strip>;
6
- export type ErrorActionParams = z.infer<typeof errorActionParamsSchema>;
7
- export default function (): IAutomationAction<ErrorActionParams>;
8
- export {};
@@ -1,16 +0,0 @@
1
- import { z } from 'zod';
2
- import { type IAutomationAction } from './_types';
3
- declare const logActionParamsSchema: z.ZodObject<{
4
- message: z.ZodString;
5
- level: z.ZodOptional<z.ZodEnum<{
6
- info: "info";
7
- error: "error";
8
- debug: "debug";
9
- silly: "silly";
10
- verbose: "verbose";
11
- warn: "warn";
12
- }>>;
13
- }, z.core.$strip>;
14
- export type LogActionParams = z.infer<typeof logActionParamsSchema>;
15
- export default function (): IAutomationAction<LogActionParams>;
16
- export {};
@@ -1,7 +0,0 @@
1
- import { type AutomationRuleEventAction, type AutomationRuleEventTopic, type IAutomationRule } from '../../_types/automation';
2
- import { type IQueryInfos } from '../../_types/queryInfos';
3
- export declare const TRIGGER_FAKER_RULES_FOR_DEV = false;
4
- export declare const buildFakeRulesToTrigger: (event: {
5
- action: AutomationRuleEventAction;
6
- topic?: AutomationRuleEventTopic;
7
- }, synchronous: boolean, ctx: IQueryInfos) => Promise<IAutomationRule[]>;