@punks/backend-entity-manager 0.0.322 → 0.0.323
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/dist/cjs/index.js +13 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/database/core/entities.d.ts +2 -1
- package/dist/cjs/types/platforms/nest/__test__/server/database/core/index.d.ts +3 -100
- package/dist/cjs/types/settings/index.d.ts +2 -1
- package/dist/esm/index.js +13 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/database/core/entities.d.ts +2 -1
- package/dist/esm/types/platforms/nest/__test__/server/database/core/index.d.ts +3 -100
- package/dist/esm/types/settings/index.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -21,4 +21,5 @@ import { AppOrganizationalUnitTypeChildEntity } from "./entities/appOrganization
|
|
|
21
21
|
import { AppRoleOrganizationalUnitTypeEntity } from "./entities/appRoleOrganizationalUnitType.entity";
|
|
22
22
|
import { AppCacheEntry } from "./entities/appCacheEntry.entity";
|
|
23
23
|
import { AppApiKeyEntity } from "./entities/appApiKey.entity";
|
|
24
|
-
|
|
24
|
+
import { AppOperationLockItemEntry } from "./entities/appOperationLockItem.entity";
|
|
25
|
+
export declare const CoreDatabaseEntities: (typeof AppDivisionEntity | typeof AppCompanyEntity | typeof AppOrganizationEntity | typeof AppUserProfileEntity | typeof AppRoleEntity | typeof AppUserRoleEntity | typeof AppUserEntity | typeof AppUserGroupEntity | typeof AppUserGroupMemberEntity | typeof AppDirectoryEntity | typeof AppTenantEntity | typeof AppOrganizationalUnitTypeChildEntity | typeof AppOrganizationalUnitTypeEntity | typeof AppRoleOrganizationalUnitTypeEntity | typeof AppOrganizationalUnitEntity | typeof AppApiKeyEntity | typeof AppEmailLogEntity | typeof AppEntityVersionEntity | typeof AppFileReferenceEntity | typeof AppRolePermissionEntity | typeof AppPermissionEntity | typeof FooEntity | typeof AppOperationLockItemEntry | typeof AppCacheEntry)[];
|
|
@@ -1,106 +1,9 @@
|
|
|
1
1
|
import { DataSource } from "typeorm";
|
|
2
|
-
import { FooEntity } from "./entities/foo.entity";
|
|
3
|
-
import { AppCompanyEntity } from "./entities/appCompany.entity";
|
|
4
|
-
import { AppDivisionEntity } from "./entities/appDivision.entity";
|
|
5
|
-
import { AppOrganizationEntity } from "./entities/appOrganization.entity";
|
|
6
|
-
import { AppRoleEntity } from "./entities/appRole.entity";
|
|
7
|
-
import { AppTenantEntity } from "./entities/appTenant.entity";
|
|
8
|
-
import { AppUserEntity } from "./entities/appUser.entity";
|
|
9
|
-
import { AppUserGroupEntity } from "./entities/appUserGroup.entity";
|
|
10
|
-
import { AppUserGroupMemberEntity } from "./entities/appUserGroupMember.entity";
|
|
11
|
-
import { AppUserProfileEntity } from "./entities/appUserProfile.entity";
|
|
12
|
-
import { AppUserRoleEntity } from "./entities/appUserRole.entity";
|
|
13
2
|
import { DynamicModule } from "@nestjs/common";
|
|
14
|
-
|
|
15
|
-
import { AppDirectoryEntity } from "./entities/appDirectory.entity";
|
|
16
|
-
import { CrmContactEntity } from "./entities/crmContact.entity";
|
|
17
|
-
import { AppFileReferenceEntity } from "./entities/appFileReference.entity";
|
|
18
|
-
import { AppEmailLogEntity } from "./entities/appEmailLog.entity";
|
|
19
|
-
import { AppPermissionEntity } from "./entities/appPermission.entity";
|
|
20
|
-
import { AppRolePermissionEntity } from "./entities/appRolePermission.entity";
|
|
21
|
-
import { AppOrganizationalUnitEntity } from "./entities/appOrganizationalUnit.entity";
|
|
22
|
-
import { AppOrganizationalUnitTypeEntity } from "./entities/appOrganizationalUnitType.entity";
|
|
23
|
-
import { AppOrganizationalUnitTypeChildEntity } from "./entities/appOrganizationalUnitTypeChild.entity";
|
|
24
|
-
import { AppRoleOrganizationalUnitTypeEntity } from "./entities/appRoleOrganizationalUnitType.entity";
|
|
25
|
-
import { AppCacheEntry } from "./entities/appCacheEntry.entity";
|
|
26
|
-
import { AppApiKeyEntity } from "./entities/appApiKey.entity";
|
|
27
|
-
import { AppOperationLockItemEntry } from "./entities/appOperationLockItem.entity";
|
|
28
|
-
export declare const mockDatabaseProviders: (dataSource: DataSource) => ({
|
|
3
|
+
export declare const mockDatabaseProviders: (dataSource: DataSource) => {
|
|
29
4
|
provide: string | Function;
|
|
30
|
-
useValue: import("typeorm").Repository<
|
|
31
|
-
}
|
|
32
|
-
provide: string | Function;
|
|
33
|
-
useValue: import("typeorm").Repository<AppCacheEntry>;
|
|
34
|
-
} | {
|
|
35
|
-
provide: string | Function;
|
|
36
|
-
useValue: import("typeorm").Repository<AppCompanyEntity>;
|
|
37
|
-
} | {
|
|
38
|
-
provide: string | Function;
|
|
39
|
-
useValue: import("typeorm").Repository<AppDivisionEntity>;
|
|
40
|
-
} | {
|
|
41
|
-
provide: string | Function;
|
|
42
|
-
useValue: import("typeorm").Repository<AppDirectoryEntity>;
|
|
43
|
-
} | {
|
|
44
|
-
provide: string | Function;
|
|
45
|
-
useValue: import("typeorm").Repository<AppEmailLogEntity>;
|
|
46
|
-
} | {
|
|
47
|
-
provide: string | Function;
|
|
48
|
-
useValue: import("typeorm").Repository<AppEntityVersionEntity>;
|
|
49
|
-
} | {
|
|
50
|
-
provide: string | Function;
|
|
51
|
-
useValue: import("typeorm").Repository<AppFileReferenceEntity>;
|
|
52
|
-
} | {
|
|
53
|
-
provide: string | Function;
|
|
54
|
-
useValue: import("typeorm").Repository<AppOperationLockItemEntry>;
|
|
55
|
-
} | {
|
|
56
|
-
provide: string | Function;
|
|
57
|
-
useValue: import("typeorm").Repository<AppOrganizationEntity>;
|
|
58
|
-
} | {
|
|
59
|
-
provide: string | Function;
|
|
60
|
-
useValue: import("typeorm").Repository<AppOrganizationalUnitEntity>;
|
|
61
|
-
} | {
|
|
62
|
-
provide: string | Function;
|
|
63
|
-
useValue: import("typeorm").Repository<AppOrganizationalUnitTypeEntity>;
|
|
64
|
-
} | {
|
|
65
|
-
provide: string | Function;
|
|
66
|
-
useValue: import("typeorm").Repository<AppOrganizationalUnitTypeChildEntity>;
|
|
67
|
-
} | {
|
|
68
|
-
provide: string | Function;
|
|
69
|
-
useValue: import("typeorm").Repository<AppRoleOrganizationalUnitTypeEntity>;
|
|
70
|
-
} | {
|
|
71
|
-
provide: string | Function;
|
|
72
|
-
useValue: import("typeorm").Repository<AppRoleEntity>;
|
|
73
|
-
} | {
|
|
74
|
-
provide: string | Function;
|
|
75
|
-
useValue: import("typeorm").Repository<AppRolePermissionEntity>;
|
|
76
|
-
} | {
|
|
77
|
-
provide: string | Function;
|
|
78
|
-
useValue: import("typeorm").Repository<AppPermissionEntity>;
|
|
79
|
-
} | {
|
|
80
|
-
provide: string | Function;
|
|
81
|
-
useValue: import("typeorm").Repository<AppTenantEntity>;
|
|
82
|
-
} | {
|
|
83
|
-
provide: string | Function;
|
|
84
|
-
useValue: import("typeorm").Repository<AppUserEntity>;
|
|
85
|
-
} | {
|
|
86
|
-
provide: string | Function;
|
|
87
|
-
useValue: import("typeorm").Repository<AppUserGroupEntity>;
|
|
88
|
-
} | {
|
|
89
|
-
provide: string | Function;
|
|
90
|
-
useValue: import("typeorm").Repository<AppUserGroupMemberEntity>;
|
|
91
|
-
} | {
|
|
92
|
-
provide: string | Function;
|
|
93
|
-
useValue: import("typeorm").Repository<AppUserProfileEntity>;
|
|
94
|
-
} | {
|
|
95
|
-
provide: string | Function;
|
|
96
|
-
useValue: import("typeorm").Repository<AppUserRoleEntity>;
|
|
97
|
-
} | {
|
|
98
|
-
provide: string | Function;
|
|
99
|
-
useValue: import("typeorm").Repository<CrmContactEntity>;
|
|
100
|
-
} | {
|
|
101
|
-
provide: string | Function;
|
|
102
|
-
useValue: import("typeorm").Repository<FooEntity>;
|
|
103
|
-
})[];
|
|
5
|
+
useValue: import("typeorm").Repository<import("./entities/appDivision.entity").AppDivisionEntity>;
|
|
6
|
+
}[];
|
|
104
7
|
export declare class CoreDatabaseModule {
|
|
105
8
|
static forRoot(dataSource: any): DynamicModule;
|
|
106
9
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -2672,8 +2672,9 @@ declare class AwsS3BucketError extends Error {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
|
|
2674
2674
|
declare class AppInMemorySettings<T> {
|
|
2675
|
+
private readonly name;
|
|
2675
2676
|
private _instance;
|
|
2676
|
-
constructor();
|
|
2677
|
+
constructor(name: string);
|
|
2677
2678
|
initialize(value: T): void;
|
|
2678
2679
|
get value(): T;
|
|
2679
2680
|
}
|