@punks/backend-entity-manager 0.0.270 → 0.0.271
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 +16 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/module.d.ts +4 -1
- package/dist/esm/index.js +16 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/module.d.ts +4 -1
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import { OnModuleInit } from "@nestjs/common";
|
|
1
|
+
import { DynamicModule, OnModuleInit, Type } from "@nestjs/common";
|
|
2
2
|
import { EntityManagerRegistry } from "./ioc/registry";
|
|
3
3
|
export declare class EntityManagerModule implements OnModuleInit {
|
|
4
4
|
private readonly registry;
|
|
5
5
|
constructor(registry: EntityManagerRegistry);
|
|
6
6
|
onModuleInit(): void;
|
|
7
|
+
static forRoot(providers: {
|
|
8
|
+
operationsLockRepository: Type<unknown>;
|
|
9
|
+
}): DynamicModule;
|
|
7
10
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -3016,6 +3016,9 @@ declare class EntityManagerModule implements OnModuleInit {
|
|
|
3016
3016
|
private readonly registry;
|
|
3017
3017
|
constructor(registry: EntityManagerRegistry);
|
|
3018
3018
|
onModuleInit(): void;
|
|
3019
|
+
static forRoot(providers: {
|
|
3020
|
+
operationsLockRepository: Type$1<unknown>;
|
|
3021
|
+
}): DynamicModule;
|
|
3019
3022
|
}
|
|
3020
3023
|
|
|
3021
3024
|
interface IAuthenticationUserRole {
|