@aristid/leav-types 1.0.0-e9dbc3eb → 1.1.1-7cde2fa0
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,6 @@
|
|
|
1
1
|
import { ActionsListEvents, ActionsListIOTypes, ActionsListConfig } from './actionsList';
|
|
2
2
|
import { ITreePermissionsConf } from './permissions';
|
|
3
|
+
import { IQueryInfos } from './queryInfos';
|
|
3
4
|
import { IRecord } from './record';
|
|
4
5
|
import { IGetCoreEntitiesParams, IKeyValue } from './shared';
|
|
5
6
|
import { ISystemTranslation } from './systemTranslation';
|
|
@@ -63,6 +64,12 @@ export interface IAttributeFilterOptions extends ICoreEntityFilterOptions {
|
|
|
63
64
|
export interface IGetCoreAttributesParams extends IGetCoreEntitiesParams {
|
|
64
65
|
filters?: IAttributeFilterOptions;
|
|
65
66
|
}
|
|
67
|
+
export interface IGetCoreFormAttributesParams extends IGetCoreEntitiesParams {
|
|
68
|
+
libraryId: string;
|
|
69
|
+
formId: string;
|
|
70
|
+
checkDependency?: boolean;
|
|
71
|
+
ctx: IQueryInfos;
|
|
72
|
+
}
|
|
66
73
|
export interface IValuesListConf {
|
|
67
74
|
enable: boolean;
|
|
68
75
|
values?: string[] | IDateRangeValue[] | IRecord[] | ITreeElement[];
|
|
@@ -10,7 +10,7 @@ import { IUtils } from 'utils/utils';
|
|
|
10
10
|
import { ILibrary } from '_types/library';
|
|
11
11
|
import { IQueryInfos } from '_types/queryInfos';
|
|
12
12
|
import { ICachesService } from '../../infra/cache/cacheService';
|
|
13
|
-
import { IAttribute, IGetCoreAttributesParams, IOAllowedTypes } from '../../_types/attribute';
|
|
13
|
+
import { IAttribute, IGetCoreAttributesParams, IGetCoreFormAttributesParams, IOAllowedTypes } from '../../_types/attribute';
|
|
14
14
|
import { IList } from '../../_types/list';
|
|
15
15
|
import { IActionsListDomain } from '../actionsList/actionsListDomain';
|
|
16
16
|
export interface IAttributeDomain {
|
|
@@ -57,7 +57,7 @@ export interface IAttributeDomain {
|
|
|
57
57
|
attributeId: string;
|
|
58
58
|
ctx: IQueryInfos;
|
|
59
59
|
}): Promise<ILibrary[]>;
|
|
60
|
-
getFormAttributes(
|
|
60
|
+
getFormAttributes(params: IGetCoreFormAttributesParams): Promise<IAttribute[]>;
|
|
61
61
|
doesCompute(attrData: IAttribute): boolean;
|
|
62
62
|
}
|
|
63
63
|
export interface IAttributeDomainDeps {
|