@hedhog/admin 0.46.23 → 0.46.24
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 @@
|
|
1
|
-
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../src/auth/auth.module.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"auth.module.d.ts","sourceRoot":"","sources":["../../src/auth/auth.module.ts"],"names":[],"mappings":"AAUA,qBA8Ba,UAAU;CAAG"}
|
package/dist/auth/auth.module.js
CHANGED
@@ -10,6 +10,7 @@ exports.AuthModule = void 0;
|
|
10
10
|
const mail_1 = require("@hedhog/mail");
|
11
11
|
const prisma_1 = require("@hedhog/prisma");
|
12
12
|
const common_1 = require("@nestjs/common");
|
13
|
+
const config_1 = require("@nestjs/config");
|
13
14
|
const core_1 = require("@nestjs/core");
|
14
15
|
const jwt_1 = require("@nestjs/jwt");
|
15
16
|
const auth_controller_1 = require("./auth.controller");
|
@@ -35,6 +36,7 @@ exports.AuthModule = AuthModule = __decorate([
|
|
35
36
|
})),
|
36
37
|
(0, common_1.forwardRef)(() => prisma_1.PrismaModule),
|
37
38
|
(0, common_1.forwardRef)(() => mail_1.MailModule),
|
39
|
+
config_1.ConfigModule,
|
38
40
|
],
|
39
41
|
controllers: [auth_controller_1.AuthController],
|
40
42
|
providers: [
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../src/auth/auth.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAA0C;AAC1C,2CAA8C;AAC9C,2CAAoD;AACpD,uCAAyC;AACzC,qCAAwC;AACxC,uDAAmD;AACnD,iDAA6C;AAC7C,oDAAgD;
|
1
|
+
{"version":3,"file":"auth.module.js","sourceRoot":"","sources":["../../src/auth/auth.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,uCAA0C;AAC1C,2CAA8C;AAC9C,2CAAoD;AACpD,2CAA8C;AAC9C,uCAAyC;AACzC,qCAAwC;AACxC,uDAAmD;AACnD,iDAA6C;AAC7C,oDAAgD;AAgCzC,IAAM,UAAU,GAAhB,MAAM,UAAU;CAAG,CAAA;AAAb,gCAAU;qBAAV,UAAU;IA9BtB,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,IAAA,mBAAU,EAAC,GAAG,EAAE,CACd,eAAS,CAAC,aAAa,CAAC;gBACtB,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,GAAG,EAAE;oBACf,OAAO;wBACL,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;wBACtC,MAAM,EAAE,IAAI;wBACZ,WAAW,EAAE;4BACX,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,KAAK;yBAC/C;qBACF,CAAC;gBACJ,CAAC;aACF,CAAC,CACH;YACD,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,qBAAY,CAAC;YAC9B,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,iBAAU,CAAC;YAC5B,qBAAY;SACb;QACD,WAAW,EAAE,CAAC,gCAAc,CAAC;QAC7B,SAAS,EAAE;YACT,0BAAW;YACX;gBACE,OAAO,EAAE,gBAAS;gBAClB,QAAQ,EAAE,sBAAS;aACpB;SACF;QACD,OAAO,EAAE,CAAC,0BAAW,CAAC;KACvB,CAAC;GACW,UAAU,CAAG"}
|
package/package.json
CHANGED
package/src/auth/auth.module.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { MailModule } from '@hedhog/mail';
|
2
2
|
import { PrismaModule } from '@hedhog/prisma';
|
3
3
|
import { forwardRef, Module } from '@nestjs/common';
|
4
|
+
import { ConfigModule } from '@nestjs/config';
|
4
5
|
import { APP_GUARD } from '@nestjs/core';
|
5
6
|
import { JwtModule } from '@nestjs/jwt';
|
6
7
|
import { AuthController } from './auth.controller';
|
@@ -25,6 +26,7 @@ import { AuthGuard } from './guards/auth.guard';
|
|
25
26
|
),
|
26
27
|
forwardRef(() => PrismaModule),
|
27
28
|
forwardRef(() => MailModule),
|
29
|
+
ConfigModule,
|
28
30
|
],
|
29
31
|
controllers: [AuthController],
|
30
32
|
providers: [
|