@aristid/leav-types 1.4.1-514c3bba → 1.4.1-51dcfb22
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/src/__tests__/e2e/api/e2eUtils.d.ts +1 -1
- package/apps/core/src/__tests__/integration/domain/taskManagerDomain.test.d.ts +1 -0
- package/apps/core/src/__tests__/integration/infra/integrationTestRepoUtils.d.ts +1 -1
- package/apps/core/src/__tests__/integration/integrationTestUtils.d.ts +7 -0
- package/apps/core/src/_types/errors.d.ts +0 -1
- package/apps/core/src/app/core/tasksManagerApp.d.ts +1 -1
- package/apps/core/src/domain/export/exportDomain.d.ts +0 -1
- package/apps/core/src/domain/export/exportProfileDomain.d.ts +2 -2
- package/apps/core/src/domain/tasksManager/tasksManagerDomain.d.ts +1 -1
- package/apps/core/src/interface/tasksManager.d.ts +1 -1
- package/apps/core/src/utils/helpers/getExcelData.d.ts +3 -0
- package/apps/core/src/utils/helpers/getFileDataBuffer.d.ts +2 -0
- package/package.json +1 -1
- package/apps/core/src/errors/CustomConfigError.d.ts +0 -4
|
@@ -19,7 +19,7 @@ export interface IMakeGraphQlCallOptions {
|
|
|
19
19
|
user?: IE2EUser;
|
|
20
20
|
}
|
|
21
21
|
export declare function makeGraphQlCall(query: string | FormData, options?: IMakeGraphQlCallOptions): Promise<any>;
|
|
22
|
-
export declare function gqlSaveLibrary(id: string, label: string, additionalAttributes?: string[]): Promise<any>;
|
|
22
|
+
export declare function gqlSaveLibrary(id: string, label: string, additionalAttributes?: string[], settings?: string): Promise<any>;
|
|
23
23
|
export declare function gqlSaveApplication(id: string, label: string, endpoint: string): Promise<any>;
|
|
24
24
|
export declare function gqlSaveAttribute(params: {
|
|
25
25
|
id: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILibraryRepo } from 'infra/library/libraryRepo';
|
|
2
2
|
import { type IRecordRepo } from 'infra/record/recordRepo';
|
|
3
3
|
import { type ITreeRepo } from 'infra/tree/treeRepo';
|
|
4
|
-
export declare const getCoreDep: <T>(path: any) => T;
|
|
5
4
|
export declare const getLibraryRepo: () => ILibraryRepo;
|
|
6
5
|
export declare const getRecordRepo: () => IRecordRepo;
|
|
7
6
|
export declare const getTreeRepo: () => ITreeRepo;
|
|
7
|
+
export * from '../integrationTestUtils';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type AwilixContainer } from 'awilix';
|
|
2
|
+
export interface IGlobalThis {
|
|
3
|
+
coreContainer: AwilixContainer;
|
|
4
|
+
taskManagerMasterTimer: NodeJS.Timeout;
|
|
5
|
+
}
|
|
6
|
+
export declare const getCoreContainer: () => AwilixContainer;
|
|
7
|
+
export declare const getCoreDep: <T>(path: any) => T;
|
|
@@ -17,7 +17,6 @@ export declare enum Errors {
|
|
|
17
17
|
ENCRYPT_ERROR = "ENCRYPT_ERROR",
|
|
18
18
|
ERROR = "ERROR",
|
|
19
19
|
EXCEL_CALCULATION_ERROR = "EXCEL_CALCULATION_ERROR",
|
|
20
|
-
FILE_ERROR = "FILE_ERROR",
|
|
21
20
|
FILE_NOT_FOUND = "FILE_NOT_FOUND",
|
|
22
21
|
FORBIDDEN_FILES = "FORBIDDEN_FILES",
|
|
23
22
|
FORBIDDEN_ID = "FORBIDDEN_ID",
|
|
@@ -8,7 +8,7 @@ import { type ITasksManagerDomain } from '../../domain/tasksManager/tasksManager
|
|
|
8
8
|
import { TaskStatus } from '../../_types/tasksManager';
|
|
9
9
|
import { type IGraphqlAppModule } from 'app/graphql/graphqlApp';
|
|
10
10
|
export interface ITasksManagerApp extends IGraphqlAppModule {
|
|
11
|
-
initMaster(): Promise<NodeJS.
|
|
11
|
+
initMaster(): Promise<NodeJS.Timeout>;
|
|
12
12
|
initWorker(): Promise<void>;
|
|
13
13
|
}
|
|
14
14
|
interface IDeps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ILibraryDomain } from '../library/libraryDomain';
|
|
2
2
|
import { type IQueryInfos } from '../../_types/queryInfos';
|
|
3
3
|
export interface IExportProfileConfig {
|
|
4
|
-
|
|
4
|
+
defaultProfile: string;
|
|
5
5
|
profiles: Array<{
|
|
6
6
|
label: string;
|
|
7
7
|
columns: Array<{
|
|
@@ -15,7 +15,7 @@ export interface IExportColumn {
|
|
|
15
15
|
attribute: string;
|
|
16
16
|
}
|
|
17
17
|
export interface IExportProfileDomain {
|
|
18
|
-
getColumnsFromProfileConfig(profile: string, library: string, ctx: IQueryInfos): Promise<IExportColumn[]>;
|
|
18
|
+
getColumnsFromProfileConfig(profile: string | undefined, library: string, ctx: IQueryInfos): Promise<IExportColumn[]>;
|
|
19
19
|
}
|
|
20
20
|
export interface IExportProfileDomainDeps {
|
|
21
21
|
'core.domain.library': ILibraryDomain;
|
|
@@ -38,7 +38,7 @@ interface IGetTasksParams extends IGetCoreEntitiesParams {
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
export interface ITasksManagerDomain {
|
|
41
|
-
initMaster(): Promise<NodeJS.
|
|
41
|
+
initMaster(): Promise<NodeJS.Timeout>;
|
|
42
42
|
initWorker(): Promise<void>;
|
|
43
43
|
getTasks({ params, ctx }: {
|
|
44
44
|
params: IGetTasksParams;
|
package/package.json
CHANGED