@aristid/leav-types 1.7.0-a928cf9c → 1.7.0-a9f99934

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.
@@ -1,5 +1,5 @@
1
1
  import { type ILogger } from '@leav/logger';
2
- import { type ICalculationVariable } from 'domain/helpers/calculationVariable';
2
+ import { type ICalculationVariable } from 'domain/helpers/calculations/calculationVariable';
3
3
  import { type IActionsListFunction } from '../../_types/actionsList';
4
4
  import { type IConfig } from '_types/config';
5
5
  interface IDeps {
@@ -1,5 +1,5 @@
1
1
  import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type ICalculationVariable } from 'domain/helpers/calculationVariable';
2
+ import { type ICalculationVariable } from 'domain/helpers/calculations/calculationVariable';
3
3
  import { type IActionsListFunction } from '../../_types/actionsList';
4
4
  interface IDeps {
5
5
  'core.domain.helpers.calculationVariable'?: ICalculationVariable;
@@ -1,5 +1,5 @@
1
1
  import { type ActionsListValueType, type IActionsListContext } from '_types/actionsList';
2
- import { type IVariableFunctions } from '../calculationsVariableFunctions';
2
+ import { type IVariableFunctions } from './calculationsVariableFunctions';
3
3
  import { type ITreeNode } from '../../../_types/tree';
4
4
  interface IDeps {
5
5
  'core.domain.helpers.calculationsVariableFunctions': IVariableFunctions;
@@ -1,5 +1,5 @@
1
1
  import { type IAttributeDomain } from 'domain/attribute/attributeDomain';
2
- import { type IVariableValue } from 'domain/helpers/calculationVariable';
2
+ import { type IVariableValue } from 'domain/helpers/calculations/calculationVariable';
3
3
  import { type IRecordDomain } from 'domain/record/recordDomain';
4
4
  import { type IActionsListContext } from '_types/actionsList';
5
5
  interface IDeps {
@@ -4,3 +4,5 @@ export { default as updateTaskProgress } from './updateTaskProgress';
4
4
  export { default as validate } from './validate';
5
5
  export { default as storeUploadFile } from './storeUploadFile';
6
6
  export { default as createDirectory } from './createDirectory';
7
+ export { default as calculationVariable } from './calculations/calculationVariable';
8
+ export { default as calculationsVariableFunctions } from './calculations/calculationsVariableFunctions';
@@ -2,6 +2,7 @@ import { type AwilixContainer } from 'awilix';
2
2
  import { type ILogger } from '@leav/logger';
3
3
  import { type IQueryInfos } from '_types/queryInfos';
4
4
  import { type IDbService } from '../dbService';
5
+ import { type ICachesService } from '../../../infra/cache/cacheService';
5
6
  interface IExecuteMigrationParams {
6
7
  files: string[];
7
8
  executedMigrations: string[];
@@ -11,6 +12,7 @@ interface IExecuteMigrationParams {
11
12
  depsManager: AwilixContainer;
12
13
  dbService: IDbService;
13
14
  logger: ILogger;
15
+ cacheService: ICachesService;
14
16
  };
15
17
  ctx: IQueryInfos;
16
18
  }
@@ -1,4 +1,4 @@
1
- import { type IVariableValue } from '../../domain/helpers/calculationVariable';
1
+ import { type IVariableValue } from '../../domain/helpers/calculations/calculationVariable';
2
2
  import { type IStandardValue, type IValue } from '../../_types/value';
3
3
  export declare const TypeGuards: {
4
4
  isVariableIValue: (value: IVariableValue["payload"]) => value is IValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.7.0-a928cf9c",
3
+ "version": "1.7.0-a9f99934",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",