@darraghor/nest-backend-libs 2.20.4 → 2.20.5
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.
|
@@ -18,7 +18,9 @@ let DefaultAuthGuard = class DefaultAuthGuard extends (0, passport_1.AuthGuard)(
|
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
DefaultAuthGuard = __decorate([
|
|
21
|
-
(0, common_1.Injectable)()
|
|
21
|
+
(0, common_1.Injectable)()
|
|
22
|
+
// eslint-disable-next-line @darraghor/nestjs-typed/injectable-should-be-provided
|
|
23
|
+
,
|
|
22
24
|
__metadata("design:paramtypes", [])
|
|
23
25
|
], DefaultAuthGuard);
|
|
24
26
|
exports.DefaultAuthGuard = DefaultAuthGuard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultAuthGuard.js","sourceRoot":"","sources":["../../src/authz/DefaultAuthGuard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA0C;AAC1C,+CAA2C;
|
|
1
|
+
{"version":3,"file":"DefaultAuthGuard.js","sourceRoot":"","sources":["../../src/authz/DefaultAuthGuard.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA0C;AAC1C,+CAA2C;AAIpC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,IAAA,oBAAS,EAAC,KAAK,CAAC;IAClD;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;CACJ,CAAA;AAJY,gBAAgB;IAF5B,IAAA,mBAAU,GAAE;IACb,iFAAiF;;;GACpE,gBAAgB,CAI5B;AAJY,4CAAgB"}
|
|
@@ -13,8 +13,9 @@ const person_controller_1 = require("./person.controller");
|
|
|
13
13
|
const person_entity_1 = require("./entities/person.entity");
|
|
14
14
|
const logger_module_1 = require("../logger/logger.module");
|
|
15
15
|
const typeorm_1 = require("@nestjs/typeorm");
|
|
16
|
-
const authz_client_module_1 = require("../authzclient/authz-client.module");
|
|
17
16
|
const core_app_module_1 = require("../root-app/core-app.module");
|
|
17
|
+
const authz_1 = require("../authz");
|
|
18
|
+
const authz_client_module_1 = require("../authzclient/authz-client.module");
|
|
18
19
|
let PersonModule = class PersonModule {
|
|
19
20
|
};
|
|
20
21
|
PersonModule = __decorate([
|
|
@@ -23,7 +24,8 @@ PersonModule = __decorate([
|
|
|
23
24
|
core_app_module_1.CoreModule,
|
|
24
25
|
logger_module_1.LoggerModule,
|
|
25
26
|
typeorm_1.TypeOrmModule.forFeature([person_entity_1.Person]),
|
|
26
|
-
|
|
27
|
+
authz_client_module_1.AuthzClientModule,
|
|
28
|
+
(0, common_1.forwardRef)(() => authz_1.AuthzModule), // forwardRef is needed to avoid circular dependency (AuthzClientModule imports PersonModule)
|
|
27
29
|
],
|
|
28
30
|
controllers: [person_controller_1.PersonController],
|
|
29
31
|
providers: [person_service_1.PersonService],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"person.module.js","sourceRoot":"","sources":["../../src/person/person.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAkD;AAClD,qDAA+C;AAC/C,2DAAqD;AACrD,4DAAgD;AAChD,2DAAqD;AACrD,6CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"person.module.js","sourceRoot":"","sources":["../../src/person/person.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAkD;AAClD,qDAA+C;AAC/C,2DAAqD;AACrD,4DAAgD;AAChD,2DAAqD;AACrD,6CAA8C;AAC9C,iEAAuD;AACvD,oCAAqC;AACrC,4EAAqE;AAc9D,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,YAAY;IAZxB,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE;YACL,4BAAU;YACV,4BAAY;YACZ,uBAAa,CAAC,UAAU,CAAC,CAAC,sBAAM,CAAC,CAAC;YAClC,uCAAiB;YACjB,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,mBAAW,CAAC,EAAE,6FAA6F;SAC/H;QACD,WAAW,EAAE,CAAC,oCAAgB,CAAC;QAC/B,SAAS,EAAE,CAAC,8BAAa,CAAC;QAC1B,OAAO,EAAE,CAAC,8BAAa,CAAC;KAC3B,CAAC;GACW,YAAY,CAAG;AAAf,oCAAY"}
|
package/package.json
CHANGED