@aristid/leav-types 1.6.0-b54abb33 → 1.6.0-b98ce753

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,6 +1,5 @@
1
1
  import { type IRecordDomain } from 'domain/record/recordDomain';
2
2
  import { type IUtils } from 'utils/utils';
3
- import { type ILogger } from '@leav/logger';
4
3
  import { type IQueryInfos } from '_types/queryInfos';
5
4
  import { type IValue, type IValueVersion } from '_types/value';
6
5
  import { type IFormElement } from '../../../_types/forms';
@@ -12,7 +11,6 @@ export declare const getElementValues: (params: {
12
11
  deps: {
13
12
  "core.domain.record"?: IRecordDomain;
14
13
  "core.utils"?: IUtils;
15
- "core.utils.logger"?: ILogger;
16
14
  };
17
15
  ctx: IQueryInfos;
18
16
  }) => Promise<{
@@ -8,6 +8,7 @@ export interface IDeleteValueParams {
8
8
  recordId: string;
9
9
  attribute: string;
10
10
  value?: IValue;
11
+ skipReadonly?: boolean;
11
12
  ctx: IQueryInfos;
12
13
  }
13
14
  export interface IRunActionListParams {
@@ -65,6 +65,7 @@ export interface IValueDomain {
65
65
  recordId: string;
66
66
  attribute: string;
67
67
  value: ISaveValue;
68
+ skipReadonly?: boolean;
68
69
  ctx: IQueryInfos;
69
70
  }): Promise<IValue[]>;
70
71
  /**
@@ -80,6 +81,7 @@ export interface IValueDomain {
80
81
  ctx: IQueryInfos;
81
82
  keepEmpty?: boolean;
82
83
  skipPermission?: boolean;
84
+ skipReadonly?: boolean;
83
85
  }): Promise<ISaveBatchValueResult>;
84
86
  deleteValue(params: IDeleteValueParams): Promise<IValue[]>;
85
87
  formatValue(params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.6.0-b54abb33",
3
+ "version": "1.6.0-b98ce753",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",