@punks/backend-entity-manager 0.0.336 → 0.0.338
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/__test__/server/index.d.ts +1 -0
- package/dist/cjs/types/platforms/nest/__test__/tests/caching/caching-instances.test.d.ts +8 -0
- package/dist/cjs/types/platforms/nest/plugins/collections/aws-dynamodb/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/__test__/server/index.d.ts +1 -0
- package/dist/esm/types/platforms/nest/__test__/tests/caching/caching-instances.test.d.ts +8 -0
- package/dist/esm/types/platforms/nest/plugins/collections/aws-dynamodb/index.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TypeormCacheInstance } from "../../../../../integrations";
|
|
2
|
+
import { AppCacheEntry } from "../../server/database/core/entities/appCacheEntry.entity";
|
|
3
|
+
import { Repository } from "typeorm";
|
|
4
|
+
export declare class OtherCacheInstance extends TypeormCacheInstance<AppCacheEntry> {
|
|
5
|
+
private repository;
|
|
6
|
+
constructor(repository: Repository<AppCacheEntry>);
|
|
7
|
+
protected getRepository(): Repository<AppCacheEntry>;
|
|
8
|
+
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1180,7 +1180,7 @@ class ServiceLocator {
|
|
|
1180
1180
|
this.services[name] = service;
|
|
1181
1181
|
}
|
|
1182
1182
|
registerMultiple(serviceName, instanceName, service) {
|
|
1183
|
-
if (!this.
|
|
1183
|
+
if (!this.multipleServices[serviceName]) {
|
|
1184
1184
|
this.multipleServices[serviceName] = {};
|
|
1185
1185
|
}
|
|
1186
1186
|
if (this.multipleServices[serviceName][instanceName]) {
|