@aristid/leav-types 1.13.0-f5b35f7b → 1.13.0-ff445a3d

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 (33) hide show
  1. package/apps/core/config/default.d.ts +1 -1
  2. package/apps/core/src/_types/automation.d.ts +4 -0
  3. package/apps/core/src/_types/config.d.ts +15 -3
  4. package/apps/core/src/_types/jsonSchemaForm.d.ts +7 -0
  5. package/apps/core/src/_types/viewsV2.d.ts +78 -0
  6. package/apps/core/src/app/core/index.d.ts +1 -0
  7. package/apps/core/src/app/core/viewV2App.d.ts +14 -0
  8. package/apps/core/src/domain/automation/actions/_types.d.ts +11 -3
  9. package/apps/core/src/domain/automation/actions/conditionAction.d.ts +6 -2
  10. package/apps/core/src/domain/automation/actions/index.d.ts +1 -0
  11. package/apps/core/src/domain/automation/actions/jexlCalculationAutomationAction.d.ts +3 -3
  12. package/apps/core/src/domain/automation/actions/modifyAttributeAction.d.ts +3 -1
  13. package/apps/core/src/domain/automation/actions/notificationAction.d.ts +17 -0
  14. package/apps/core/src/domain/automation/automationDomain.d.ts +15 -2
  15. package/apps/core/src/domain/automation/form/automationJsonSchemaForm.d.ts +19 -0
  16. package/apps/core/src/domain/automation/form/automationUiJsonSchemaForm.d.ts +17 -0
  17. package/apps/core/src/domain/automation/form/index.d.ts +2 -0
  18. package/apps/core/src/domain/automation/index.d.ts +1 -0
  19. package/apps/core/src/domain/automation/jexl/index.d.ts +1 -0
  20. package/apps/core/src/domain/automation/jexl/jexlAutomation.d.ts +16 -0
  21. package/apps/core/src/domain/automation/pipeline/_types.d.ts +10 -6
  22. package/apps/core/src/domain/automation/pipeline/pipeline.d.ts +3 -8
  23. package/apps/core/src/domain/automation/pipeline/stepValidation.d.ts +3 -0
  24. package/apps/core/src/domain/helpers/getCoreEntityById.d.ts +4 -2
  25. package/apps/core/src/domain/jexl/jexlDomain.d.ts +1 -1
  26. package/apps/core/src/domain/viewV2/index.d.ts +1 -0
  27. package/apps/core/src/domain/viewV2/viewV2Domain.d.ts +21 -0
  28. package/apps/core/src/infra/db/migrations/020-addViewsV2Collection.d.ts +7 -0
  29. package/apps/core/src/infra/viewV2/index.d.ts +1 -0
  30. package/apps/core/src/infra/viewV2/viewV2Repo.d.ts +40 -0
  31. package/apps/core/src/interface/cli.d.ts +8 -3
  32. package/apps/core/tsconfig.types.tsbuildinfo +1 -1
  33. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  export declare let instanceId: string;
2
- export declare let coreMode: string;
2
+ export declare let coreModes: string[];
3
3
  export declare namespace server {
4
4
  let host: string;
5
5
  let port: number;
@@ -27,6 +27,10 @@ export type IUpdateAutomationRule = {
27
27
  trigger?: AutomationRuleTrigger;
28
28
  pipeline?: AutomationRulePipeline;
29
29
  };
30
+ export declare enum AutomationRuleJsonSchemaFormType {
31
+ CREATION = "creation",
32
+ EDITION = "edition"
33
+ }
30
34
  export declare enum SyncAutomationRuleEventAction {
31
35
  RECORD_INIT = "RECORD_INIT"
32
36
  }
@@ -2,7 +2,7 @@ import { type Options } from 'amqplib';
2
2
  import { type IKeyValue } from './shared';
3
3
  import { type PermissionsActions, type AdminPermissionsActions, type ApplicationPermissionsActions, type AttributePermissionsActions, type LibraryPermissionsActions, type PermissionTypes, type RecordAttributePermissionsActions, type RecordPermissionsActions, type TreeNodePermissionsActions, type TreePermissionsActions, type AttributeDependentValuesPermissionsActions } from './permissions';
4
4
  export interface IConfig {
5
- coreMode: CoreMode;
5
+ coreModes: CoreMode[];
6
6
  server: IServer;
7
7
  db: IDb;
8
8
  diskCache: IDiskCache;
@@ -48,9 +48,21 @@ export declare enum CoreMode {
48
48
  TASKS_MANAGER_MASTER = "tasksManager:master",
49
49
  TASKS_MANAGER_WORKER = "tasksManager:worker",
50
50
  LOGS_COLLECTOR = "logsCollector",
51
- E2E_PLAYWRIGHT = "e2ePlaywright",
52
- CLI = "cli"
51
+ /**
52
+ * Default, to do db migration, or import ...
53
+ */
54
+ CLI = "cli",
55
+ /**
56
+ * Alias for [
57
+ * CoreMode.SERVER,
58
+ * CoreMode.INDEXATION_MANAGER,
59
+ * CoreMode.TASKS_MANAGER_MASTER,
60
+ * CoreMode.TASKS_MANAGER_WORKER,
61
+ * ]
62
+ */
63
+ E2E_PLAYWRIGHT = "e2ePlaywright"
53
64
  }
65
+ export declare const CORE_MODES_E2E_PLAYWRIGHT: CoreMode[];
54
66
  export interface IServer {
55
67
  host: string;
56
68
  port: number;
@@ -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 {};
@@ -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 {};
@@ -1,17 +1,25 @@
1
1
  import { type ZodObject } from 'zod';
2
- import { type IAutomationPipelineExecutionState } from '../pipeline/_types';
2
+ import { type AutomationRulePipelineStep, type IAutomationPipelineExecutionState } from '../pipeline/_types';
3
3
  import { type IQueryInfos } from '../../../_types/queryInfos';
4
+ import { type AutomationRuleTrigger } from '../../../_types/automation';
4
5
  export declare enum AutomationRuleActions {
5
6
  LOG = "log",
6
7
  CONDITION = "condition",
7
8
  ERROR = "error",
8
9
  JEXL_CALCULATION = "jexlCalculation",
9
- MODIFY_ATTRIBUTE = "modifyAttribute"
10
+ MODIFY_ATTRIBUTE = "modifyAttribute",
11
+ NOTIFICATION = "notification"
10
12
  }
13
+ export type AutomationPipelineStepValidation<Params = unknown> = {
14
+ readonly step: AutomationRulePipelineStep<Params>;
15
+ readonly stepIndex: number;
16
+ readonly trigger: AutomationRuleTrigger;
17
+ readonly precedingStepsByExecOrder: AutomationRulePipelineStep[];
18
+ };
11
19
  export interface IAutomationAction<Params = unknown> {
12
20
  readonly type: AutomationRuleActions | string;
13
21
  readonly paramsSchema: ZodObject<any>;
14
- validateParams?: (params: Params) => Promise<void>;
22
+ validateStep?: (params: AutomationPipelineStepValidation<Params>, ctx: IQueryInfos) => Promise<void>;
15
23
  execute(params: Params, state: IAutomationPipelineExecutionState, ctx: IQueryInfos): Promise<IActionExecutionResult | void>;
16
24
  }
17
25
  export declare enum ActionExecutionResultStatus {
@@ -1,8 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  import { type IAutomationAction } from './_types';
3
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
3
4
  declare const conditionActionParamsSchema: z.ZodObject<{
4
- result: z.ZodBoolean;
5
+ expression: z.ZodString;
5
6
  }, z.core.$strip>;
6
7
  export type ConditionActionParams = z.infer<typeof conditionActionParamsSchema>;
7
- export default function (): IAutomationAction<ConditionActionParams>;
8
+ interface IConditionActionDeps {
9
+ 'core.domain.automation.jexl': IJexlAutomation;
10
+ }
11
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, }: IConditionActionDeps): IAutomationAction<ConditionActionParams>;
8
12
  export {};
@@ -3,3 +3,4 @@ export { default as error } from './errorAction';
3
3
  export { default as log } from './logAction';
4
4
  export { default as jexlCalculation } from './jexlCalculationAutomationAction';
5
5
  export { default as modifyAttribute } from './modifyAttributeAction';
6
+ export { default as notification } from './notificationAction';
@@ -1,14 +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';
4
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
5
5
  declare const jexlCalculationActionParamsSchema: z.ZodObject<{
6
6
  formula: z.ZodString;
7
7
  }, z.core.$strip>;
8
8
  export type JexlCalculationActionParams = z.infer<typeof jexlCalculationActionParamsSchema>;
9
9
  interface IDeps {
10
- 'core.domain.jexl': IJexlDomain;
10
+ 'core.domain.automation.jexl': IJexlAutomation;
11
11
  config: IConfig;
12
12
  }
13
- export default function ({ 'core.domain.jexl': jexl, config }: IDeps): IAutomationAction<JexlCalculationActionParams>;
13
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, config, }: IDeps): IAutomationAction<JexlCalculationActionParams>;
14
14
  export {};
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  import { type IAutomationAction } from './_types';
3
3
  import { type IValueDomain } from '../../value/valueDomain';
4
4
  import { type IAttributeDomain } from '../../attribute/attributeDomain';
5
+ import { type IValidateHelper } from '../../helpers/validate';
5
6
  declare const modifyAttributeActionParamsSchema: z.ZodObject<{
6
7
  attributePath: z.ZodString;
7
8
  mode: z.ZodEnum<{
@@ -13,6 +14,7 @@ export type ModifyAttributeActionParams = z.infer<typeof modifyAttributeActionPa
13
14
  interface IDeps {
14
15
  'core.domain.value': IValueDomain;
15
16
  'core.domain.attribute': IAttributeDomain;
17
+ 'core.domain.helpers.validate': IValidateHelper;
16
18
  }
17
- export default function ({ 'core.domain.value': valueDomain, 'core.domain.attribute': attributeDomain, }: IDeps): IAutomationAction<ModifyAttributeActionParams>;
19
+ export default function ({ 'core.domain.value': valueDomain, 'core.domain.attribute': attributeDomain, 'core.domain.helpers.validate': validateHelper, }: IDeps): IAutomationAction<ModifyAttributeActionParams>;
18
20
  export {};
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { type IAutomationAction } from './_types';
3
+ import { type INotificationDomain } from '../../notification/notificationDomain';
4
+ import { type IJexlAutomation } from '../jexl/jexlAutomation';
5
+ declare const notificationActionParamsSchema: z.ZodObject<{
6
+ title: z.ZodString;
7
+ recipients: z.ZodString;
8
+ message: z.ZodString;
9
+ mail: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ export type NotificationActionParams = z.infer<typeof notificationActionParamsSchema>;
12
+ interface INotificationActionDeps {
13
+ 'core.domain.automation.jexl': IJexlAutomation;
14
+ 'core.domain.notification': INotificationDomain;
15
+ }
16
+ export default function ({ 'core.domain.automation.jexl': jexlAutomation, 'core.domain.notification': notification, }: INotificationActionDeps): IAutomationAction<NotificationActionParams>;
17
+ export {};
@@ -1,4 +1,4 @@
1
- import { type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type AutomationRulesEventTopic, type AutomationRuleEventAction } from '../../_types/automation';
1
+ import { type ICreateAutomationRule, type IAutomationRule, type IUpdateAutomationRule, type AutomationRulesEventTopic, 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';
@@ -9,6 +9,9 @@ import { type IConfig } from '../../_types/config';
9
9
  import { type IAutomationPipelineDomain } from './pipeline/pipeline';
10
10
  import { type IAutomationTriggers } from './triggers/automationTriggers';
11
11
  import { type AutomationTriggerDef } from './triggers/_types';
12
+ import { type IAutomationJsonSchemaFormDomain } from './form/automationJsonSchemaForm';
13
+ import { type IAutomationUiJsonSchemaFormDomain } from './form/automationUiJsonSchemaForm';
14
+ import { type UiSchema, type RJSFSchema } from '@rjsf/utils';
12
15
  export interface IGetAutomationRulesParams extends IGetCoreEntitiesParams {
13
16
  filters?: ICoreEntityFilterOptions & {
14
17
  active?: boolean;
@@ -30,6 +33,14 @@ export interface IAutomationDomain {
30
33
  params: IGetAutomationRulesParams;
31
34
  ctx: IQueryInfos;
32
35
  }): Promise<IList<IAutomationRule>>;
36
+ getAutomationRuleJsonSchemaForm({ formType, ctx, }: {
37
+ formType: AutomationRuleJsonSchemaFormType;
38
+ ctx: IQueryInfos;
39
+ }): Promise<RJSFSchema>;
40
+ getAutomationRuleUiJsonSchemaForm({ formType, ctx, }: {
41
+ formType: AutomationRuleJsonSchemaFormType;
42
+ ctx: IQueryInfos;
43
+ }): Promise<UiSchema>;
33
44
  createAutomationRule({ rule, ctx }: {
34
45
  rule: ICreateAutomationRule;
35
46
  ctx: IQueryInfos;
@@ -49,11 +60,13 @@ export interface IAutomationDomain {
49
60
  }
50
61
  export interface IAutomationDomainDeps {
51
62
  'core.domain.automation.triggers': IAutomationTriggers;
63
+ 'core.domain.automation.form': IAutomationJsonSchemaFormDomain;
64
+ 'core.domain.automation.form.uiJsonSchemaForm': IAutomationUiJsonSchemaFormDomain;
52
65
  'core.domain.permission.admin': IAdminPermissionDomain;
53
66
  'core.domain.eventsManager': IEventsManagerDomain;
54
67
  'core.domain.automation.pipeline': IAutomationPipelineDomain;
55
68
  'core.infra.automation.rule': IAutomationRuleRepo;
56
69
  config: IConfig;
57
70
  }
58
- export default function ({ 'core.domain.automation.triggers': automationTriggers, '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.infra.automation.rule': automationRuleRepo, config, }: IAutomationDomainDeps): IAutomationDomain;
59
72
  export {};
@@ -0,0 +1,19 @@
1
+ import { AutomationRuleJsonSchemaFormType } from '../../../_types/automation';
2
+ import { type IQueryInfos } from '../../../_types/queryInfos';
3
+ import { type IAutomationTriggersRegistry } from '../triggers/automationTriggersRegistry';
4
+ import { type RJSFSchema } from '@rjsf/utils';
5
+ export interface IAutomationJsonSchemaFormDomain {
6
+ getAutomationRuleJsonSchemaForm({ formType, ctx, }: {
7
+ formType: AutomationRuleJsonSchemaFormType;
8
+ ctx: IQueryInfos;
9
+ }): Promise<RJSFSchema>;
10
+ }
11
+ interface IAutomationJsonSchemaFormDomainDeps {
12
+ 'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
13
+ }
14
+ export declare const extractAndLiftDefs: (jsonSchema: RJSFSchema) => {
15
+ schema: RJSFSchema;
16
+ defs: Record<string, RJSFSchema>;
17
+ };
18
+ export default function ({ 'core.domain.automation.triggers.registry': automationTriggersRegistry, }: IAutomationJsonSchemaFormDomainDeps): IAutomationJsonSchemaFormDomain;
19
+ export {};
@@ -0,0 +1,17 @@
1
+ import { type i18n } from 'i18next';
2
+ import { type UiSchema } from '@rjsf/utils';
3
+ import { AutomationRuleJsonSchemaFormType } from '../../../_types/automation';
4
+ import { type IQueryInfos } from '../../../_types/queryInfos';
5
+ import { type IAutomationTriggersRegistry } from '../triggers/automationTriggersRegistry';
6
+ export interface IAutomationUiJsonSchemaFormDomain {
7
+ getAutomationRuleUiJsonSchemaForm({ formType, ctx, }: {
8
+ formType: AutomationRuleJsonSchemaFormType;
9
+ ctx: IQueryInfos;
10
+ }): Promise<UiSchema>;
11
+ }
12
+ interface IAutomationUiJsonSchemaFormDomainDeps {
13
+ translator: i18n;
14
+ 'core.domain.automation.triggers.registry': IAutomationTriggersRegistry;
15
+ }
16
+ export default function ({ translator, 'core.domain.automation.triggers.registry': automationTriggersRegistry, }: IAutomationUiJsonSchemaFormDomainDeps): IAutomationUiJsonSchemaFormDomain;
17
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default } from './automationJsonSchemaForm';
2
+ export { default as uiJsonSchemaForm } from './automationUiJsonSchemaForm';
@@ -1,4 +1,5 @@
1
1
  export { default } from './automationDomain';
2
2
  export { default as actionsRegistry } from './automationActionsRegistry';
3
+ export { default as form } from './form';
3
4
  export { default as pipeline } from './pipeline';
4
5
  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 {};
@@ -1,16 +1,12 @@
1
1
  import { type AutomationRuleTrigger } from '../../../_types/automation';
2
2
  import { type AutomationRuleActions } from '../actions/_types';
3
- export type AutomationPipelineToExecute = AutomationRulePipeline & {
4
- ruleId: string;
5
- trigger: AutomationRuleTrigger;
6
- };
7
3
  export type AutomationRulePipeline = {
8
4
  steps: AutomationRulePipelineStep[];
9
5
  };
10
- export type AutomationRulePipelineStep = {
6
+ export type AutomationRulePipelineStep<Params = unknown> = {
11
7
  type: AutomationRuleActions | string;
12
8
  name?: string;
13
- params: Record<string, unknown>;
9
+ params: Params;
14
10
  };
15
11
  export type IAutomationPipelineFailure = {
16
12
  readonly results: Record<string, unknown | {
@@ -31,3 +27,11 @@ export type IAutomationPipelineExecutionState = {
31
27
  stepIndex: number;
32
28
  };
33
29
  export type IAutomationPipelineExecutionResults = Record<string, unknown>;
30
+ export type AutomationPipeline = AutomationRulePipeline;
31
+ export type AutomationPipelineExecution = AutomationPipeline & {
32
+ trigger: AutomationRuleTrigger;
33
+ ruleId: string;
34
+ };
35
+ export type AutomationPipelineValidation = AutomationPipeline & {
36
+ trigger: AutomationRuleTrigger;
37
+ };
@@ -1,15 +1,10 @@
1
- import { type AutomationRuleTrigger } from '../../../_types/automation';
2
- import { type AutomationRulePipeline } from '../pipeline/_types';
1
+ import { type AutomationPipelineExecution, type AutomationPipelineValidation } from '../pipeline/_types';
3
2
  import { type IEventsManagerDomain } from '../../eventsManager/eventsManagerDomain';
4
3
  import { type IQueryInfos } from '../../../_types/queryInfos';
5
4
  import { type IAutomationActionsRegistry } from '../automationActionsRegistry';
6
- export type AutomationPipelineToExecute = AutomationRulePipeline & {
7
- ruleId: string;
8
- trigger: AutomationRuleTrigger;
9
- };
10
5
  export interface IAutomationPipelineDomain {
11
- executePipeline(pipelineExec: AutomationPipelineToExecute, ctx: IQueryInfos): Promise<boolean>;
12
- validatePipeline(pipeline: AutomationRulePipeline): Promise<void>;
6
+ executePipeline(pipelineExec: AutomationPipelineExecution, ctx: IQueryInfos): Promise<boolean>;
7
+ validatePipeline(pipelineToValidate: AutomationPipelineValidation, ctx: IQueryInfos): Promise<void>;
13
8
  }
14
9
  export interface IPipelineExecutorDeps {
15
10
  'core.domain.eventsManager': IEventsManagerDomain;
@@ -0,0 +1,3 @@
1
+ import { type AutomationPipelineStepValidation } from '../actions/_types';
2
+ import { type AutomationPipelineValidation } from './_types';
3
+ export declare function pipelineStepValidation<Params>(pipelineToValidate: AutomationPipelineValidation, stepIndex: number): AutomationPipelineStepValidation<Params>;
@@ -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 {};
@@ -8,7 +8,7 @@ interface IDeps {
8
8
  'core.domain.value': IValueDomain;
9
9
  }
10
10
  export interface IJexlDomain {
11
- eval<Ctx extends JexlContext>(expression: string, context?: Ctx): Promise<any>;
11
+ eval<Return = unknown, Ctx extends JexlContext = JexlContext>(expression: string, context?: Ctx): Promise<Return>;
12
12
  validate(expression: string): Promise<void>;
13
13
  buildRootContext: <T>(contextData: T, ctx: IQueryInfos) => JexlRootContext<T>;
14
14
  buildRecordContext: (record: IRecord, ctx: IQueryInfos) => JexlRecordContext;
@@ -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;
@@ -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,8 +1,13 @@
1
1
  import { type ICoreImportApp } from '../app/core/importApp';
2
+ import { type IDbUtils } from '../infra/db/dbUtils';
3
+ import { type AwilixContainer } from 'awilix';
4
+ export interface ICliInterface {
5
+ run(): Promise<void>;
6
+ }
2
7
  interface IDeps {
3
8
  'core.app.core.import': ICoreImportApp;
9
+ 'core.infra.db.dbUtils': IDbUtils;
10
+ 'core.depsManager': AwilixContainer;
4
11
  }
5
- export default function ({ 'core.app.core.import': importApp }: IDeps): {
6
- run(): void;
7
- };
12
+ export default function ({ 'core.app.core.import': importApp, 'core.infra.db.dbUtils': dbUtils, 'core.depsManager': depsManager, }: IDeps): ICliInterface;
8
13
  export {};
@@ -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/pipeline/_types.ts","../../../src/domain/automation/pipeline/index.ts","../../../src/domain/automation/pipeline/pipeline.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/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-f5b35f7b",
3
+ "version": "1.13.0-ff445a3d",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",