@aristid/leav-types 0.0.7-a0ddd01 → 0.0.7-e865e1b
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.
|
@@ -6,6 +6,7 @@ import { IUtils } from 'utils/utils';
|
|
|
6
6
|
import { IApiKey, IGetCoreApiKeysParams } from '_types/apiKey';
|
|
7
7
|
import { IQueryInfos } from '_types/queryInfos';
|
|
8
8
|
import { IList } from '../../_types/list';
|
|
9
|
+
import { IConfig } from '../../_types/config';
|
|
9
10
|
export interface IApiKeyDomain {
|
|
10
11
|
getApiKeys(params: {
|
|
11
12
|
params?: IGetCoreApiKeysParams;
|
|
@@ -35,5 +36,6 @@ export interface IApiKeyDomainDeps {
|
|
|
35
36
|
'core.infra.apiKey': IApiKeyRepo;
|
|
36
37
|
'core.utils': IUtils;
|
|
37
38
|
translator: i18n;
|
|
39
|
+
config: IConfig;
|
|
38
40
|
}
|
|
39
|
-
export default function ({ 'core.domain.permission.admin': adminPermissionDomain, 'core.domain.eventsManager': eventsManagerDomain, 'core.infra.apiKey': apiKeyRepo, 'core.utils': utils }: IApiKeyDomainDeps): IApiKeyDomain;
|
|
41
|
+
export default function ({ 'core.domain.permission.admin': adminPermissionDomain, 'core.domain.eventsManager': eventsManagerDomain, 'core.infra.apiKey': apiKeyRepo, 'core.utils': utils, config }: IApiKeyDomainDeps): IApiKeyDomain;
|