@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.
@@ -198,6 +198,7 @@ export declare namespace dbProfiler {
198
198
  export { enable_1 as enable };
199
199
  }
200
200
  export declare namespace elasticSearch {
201
+ export let indexPrefix: string;
201
202
  let url_1: string;
202
203
  export { url_1 as url };
203
204
  }
@@ -8,6 +8,9 @@ export namespace logs {
8
8
  }
9
9
  export namespace auth {
10
10
  let refreshTokenExpiration: string;
11
+ namespace cookie {
12
+ let secure: boolean;
13
+ }
11
14
  }
12
15
  export let debug: boolean;
13
16
  export namespace dbProfiler {
@@ -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[];
@@ -226,5 +226,6 @@ export interface IDbProfilerConfig {
226
226
  enable: boolean;
227
227
  }
228
228
  export interface IElasticSearchConfig {
229
+ indexPrefix: string;
229
230
  url: string;
230
231
  }
@@ -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(libraryId: string, formId: string, ctx: IQueryInfos): Promise<IAttribute[]>;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.0.0-e9dbc3eb",
3
+ "version": "1.1.1-137b46ef",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",