@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.
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.270",
3
+ "version": "0.0.271",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",