@punks/backend-entity-manager 0.0.58 → 0.0.60

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 +1,4 @@
1
- export declare const WpAppInitializer: () => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
1
+ export interface WpAppInitializerProps {
2
+ priority?: number;
3
+ }
4
+ export declare const WpAppInitializer: (props?: WpAppInitializerProps) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
@@ -2,7 +2,6 @@ import { EventEmitter2 } from "@nestjs/event-emitter";
2
2
  import { IEventEmitter } from "../../../../abstractions/events";
3
3
  export declare class NestEventEmitter implements IEventEmitter {
4
4
  private eventEmitter;
5
- constructor();
6
- setEmitter(eventEmitter: EventEmitter2): void;
5
+ constructor(eventEmitter: EventEmitter2);
7
6
  emit(event: string, ...args: any[]): Promise<void>;
8
7
  }
package/dist/index.d.ts CHANGED
@@ -580,7 +580,10 @@ interface EntityProps {
580
580
  }
581
581
  declare const WpEntity: (name: string, props?: Omit<EntityProps, "name">) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
582
582
 
583
- declare const WpAppInitializer: () => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
583
+ interface WpAppInitializerProps {
584
+ priority?: number;
585
+ }
586
+ declare const WpAppInitializer: (props?: WpAppInitializerProps) => <TFunction extends Function, Y>(target: object | TFunction, propertyKey?: string | symbol | undefined, descriptor?: TypedPropertyDescriptor<Y> | undefined) => void;
584
587
 
585
588
  interface EntityRepositoryProps {
586
589
  entityName: string;
@@ -1307,8 +1310,7 @@ declare class SendgridEmailModule {
1307
1310
 
1308
1311
  declare class NestEventEmitter implements IEventEmitter {
1309
1312
  private eventEmitter;
1310
- constructor();
1311
- setEmitter(eventEmitter: EventEmitter2): void;
1313
+ constructor(eventEmitter: EventEmitter2);
1312
1314
  emit(event: string, ...args: any[]): Promise<void>;
1313
1315
  }
1314
1316
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@punks/backend-entity-manager",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -35,7 +35,7 @@
35
35
  "@nestjs/swagger": "^7.1.2",
36
36
  "@nestjs/testing": "^10.1.0",
37
37
  "@nestjs/typeorm": "^10.0.0",
38
- "@punks/backend-core": "^0.0.13",
38
+ "@punks/backend-core": "^0.0.14",
39
39
  "@rollup/plugin-commonjs": "^21.0.1",
40
40
  "@rollup/plugin-json": "^6.0.0",
41
41
  "@rollup/plugin-node-resolve": "^13.0.6",
@@ -78,7 +78,7 @@
78
78
  "@nestjs/swagger": "^7.1.2",
79
79
  "@nestjs/testing": "^10.1.0",
80
80
  "@nestjs/typeorm": "^10.0.0",
81
- "@punks/backend-core": "0.0.13",
81
+ "@punks/backend-core": "0.0.14",
82
82
  "@sendgrid/mail": "^7.7.0",
83
83
  "bcrypt": "^5.1.0",
84
84
  "typeorm": "^0.3.17"