@aristid/leav-types 1.0.0-e9dbc3eb → 1.1.1-137b46ef
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.
- package/apps/core/config/default.d.ts +1 -0
- package/apps/core/config/development.d.ts +3 -0
- package/apps/core/src/_types/attribute.d.ts +7 -0
- package/apps/core/src/_types/config.d.ts +1 -0
- package/apps/core/src/domain/attribute/attributeDomain.d.ts +2 -2
- package/libs/utils/src/utils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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 {
|
|
@@ -55,7 +55,7 @@ export declare const slugifyString: (id: string, separator?: "-" | "_") => strin
|
|
|
55
55
|
*/
|
|
56
56
|
export declare const simpleStringHash: (str: string) => number;
|
|
57
57
|
export declare const getFlagByLang: (lang: string) => string;
|
|
58
|
-
export declare const getLogsIndexName: (instanceId: string) => string;
|
|
58
|
+
export declare const getLogsIndexName: (indexPrefix: string, instanceId: string) => string;
|
|
59
59
|
export declare const waitFor: (predicate: () => Promise<boolean> | boolean, options?: {
|
|
60
60
|
timeout?: number;
|
|
61
61
|
interval?: number;
|