@steroidsjs/nest-user 0.0.1 → 0.0.7

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,4 +0,0 @@
1
- import { DynamicModule } from '@nestjs/common';
2
- export declare class UserCoreModule {
3
- static forRoot(options: any): DynamicModule | any;
4
- }
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.UserCoreModule = void 0;
10
- const common_1 = require("@nestjs/common");
11
- const UserModule_1 = require("@steroidsjs/nest-modules/user/UserModule");
12
- const AuthModule_1 = require("@steroidsjs/nest-modules/auth/AuthModule");
13
- let UserCoreModule = class UserCoreModule {
14
- static forRoot(options) {
15
- return Object.assign(Object.assign({ module: UserModule_1.UserModule }, options), { imports: [
16
- (0, common_1.forwardRef)(() => AuthModule_1.AuthModule),
17
- ...options.imports,
18
- ] });
19
- }
20
- };
21
- UserCoreModule = __decorate([
22
- (0, common_1.Module)({})
23
- ], UserCoreModule);
24
- exports.UserCoreModule = UserCoreModule;
25
- //# sourceMappingURL=UserCoreModule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserCoreModule.js","sourceRoot":"","sources":["../../src/infrastructure/UserCoreModule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAiE;AACjE,yEAAoE;AACpE,yEAAoE;AAG7D,IAAM,cAAc,GAApB,MAAM,cAAc;IACvB,MAAM,CAAC,OAAO,CAAC,OAAO;QAClB,qCACI,MAAM,EAAE,uBAAU,IACf,OAAO,KACV,OAAO,EAAE;gBACL,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,uBAAU,CAAC;gBAC5B,GAAG,OAAO,CAAC,OAAO;aACrB,IACH;IACN,CAAC;CACJ,CAAA;AAXY,cAAc;IAD1B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,cAAc,CAW1B;AAXY,wCAAc"}