@lenne.tech/nest-server 11.21.3 → 11.22.1
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.
- package/.claude/rules/architecture.md +79 -0
- package/.claude/rules/better-auth.md +262 -0
- package/.claude/rules/configurable-features.md +308 -0
- package/.claude/rules/core-modules.md +205 -0
- package/.claude/rules/framework-compatibility.md +79 -0
- package/.claude/rules/migration-guides.md +149 -0
- package/.claude/rules/module-deprecation.md +214 -0
- package/.claude/rules/module-inheritance.md +97 -0
- package/.claude/rules/package-management.md +112 -0
- package/.claude/rules/role-system.md +146 -0
- package/.claude/rules/testing.md +120 -0
- package/.claude/rules/versioning.md +53 -0
- package/CLAUDE.md +174 -0
- package/FRAMEWORK-API.md +231 -0
- package/dist/core/common/interfaces/server-options.interface.d.ts +10 -0
- package/dist/core/modules/error-code/error-code.module.js.map +1 -1
- package/dist/core.module.d.ts +3 -3
- package/dist/core.module.js +17 -4
- package/dist/core.module.js.map +1 -1
- package/dist/server/modules/file/file-info.model.d.ts +1 -5
- package/dist/server/modules/user/user.model.d.ts +1 -5
- package/dist/server/server.module.js +6 -6
- package/dist/server/server.module.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/docs/REQUEST-LIFECYCLE.md +1256 -0
- package/docs/error-codes.md +446 -0
- package/migration-guides/11.10.x-to-11.11.x.md +266 -0
- package/migration-guides/11.11.x-to-11.12.x.md +323 -0
- package/migration-guides/11.12.x-to-11.13.0.md +612 -0
- package/migration-guides/11.13.x-to-11.14.0.md +348 -0
- package/migration-guides/11.14.x-to-11.15.0.md +262 -0
- package/migration-guides/11.15.0-to-11.15.3.md +118 -0
- package/migration-guides/11.15.x-to-11.16.0.md +497 -0
- package/migration-guides/11.16.x-to-11.17.0.md +130 -0
- package/migration-guides/11.17.x-to-11.18.0.md +393 -0
- package/migration-guides/11.18.x-to-11.19.0.md +151 -0
- package/migration-guides/11.19.x-to-11.20.0.md +170 -0
- package/migration-guides/11.20.x-to-11.21.0.md +216 -0
- package/migration-guides/11.21.0-to-11.21.1.md +194 -0
- package/migration-guides/11.21.1-to-11.21.2.md +114 -0
- package/migration-guides/11.21.2-to-11.21.3.md +175 -0
- package/migration-guides/11.21.x-to-11.22.0.md +224 -0
- package/migration-guides/11.22.0-to-11.22.1.md +105 -0
- package/migration-guides/11.3.x-to-11.4.x.md +233 -0
- package/migration-guides/11.6.x-to-11.7.x.md +394 -0
- package/migration-guides/11.7.x-to-11.8.x.md +318 -0
- package/migration-guides/11.8.x-to-11.9.x.md +322 -0
- package/migration-guides/11.9.x-to-11.10.x.md +571 -0
- package/migration-guides/TEMPLATE.md +113 -0
- package/package.json +25 -18
- package/src/core/common/interfaces/server-options.interface.ts +83 -16
- package/src/core/modules/better-auth/CUSTOMIZATION.md +24 -17
- package/src/core/modules/better-auth/INTEGRATION-CHECKLIST.md +5 -5
- package/src/core/modules/error-code/INTEGRATION-CHECKLIST.md +42 -12
- package/src/core/modules/error-code/error-code.module.ts +4 -9
- package/src/core.module.ts +52 -10
- package/src/server/server.module.ts +7 -9
|
@@ -15,7 +15,6 @@ const any_scalar_1 = require("../core/common/scalars/any.scalar");
|
|
|
15
15
|
const date_scalar_1 = require("../core/common/scalars/date.scalar");
|
|
16
16
|
const json_scalar_1 = require("../core/common/scalars/json.scalar");
|
|
17
17
|
const core_auth_service_1 = require("../core/modules/auth/services/core-auth.service");
|
|
18
|
-
const error_code_module_1 = require("../core/modules/error-code/error-code.module");
|
|
19
18
|
const tus_1 = require("../core/modules/tus");
|
|
20
19
|
const cron_jobs_service_1 = require("./common/services/cron-jobs.service");
|
|
21
20
|
const auth_controller_1 = require("./modules/auth/auth.controller");
|
|
@@ -33,14 +32,15 @@ exports.ServerModule = ServerModule = __decorate([
|
|
|
33
32
|
controllers: [server_controller_1.ServerController, auth_controller_1.AuthController],
|
|
34
33
|
exports: [core_module_1.CoreModule, auth_module_1.AuthModule, better_auth_module_1.BetterAuthModule, file_module_1.FileModule, tus_1.TusModule],
|
|
35
34
|
imports: [
|
|
36
|
-
core_module_1.CoreModule.forRoot(core_auth_service_1.CoreAuthService, auth_module_1.AuthModule.forRoot(config_env_1.default.jwt), config_env_1.default
|
|
35
|
+
core_module_1.CoreModule.forRoot(core_auth_service_1.CoreAuthService, auth_module_1.AuthModule.forRoot(config_env_1.default.jwt), config_env_1.default, {
|
|
36
|
+
errorCode: {
|
|
37
|
+
controller: error_code_controller_1.ErrorCodeController,
|
|
38
|
+
service: error_code_service_1.ErrorCodeService,
|
|
39
|
+
},
|
|
40
|
+
}),
|
|
37
41
|
schedule_1.ScheduleModule.forRoot(),
|
|
38
42
|
auth_module_1.AuthModule.forRoot(config_env_1.default.jwt),
|
|
39
43
|
better_auth_module_1.BetterAuthModule.forRoot({}),
|
|
40
|
-
error_code_module_1.ErrorCodeModule.forRoot({
|
|
41
|
-
controller: error_code_controller_1.ErrorCodeController,
|
|
42
|
-
service: error_code_service_1.ErrorCodeService,
|
|
43
|
-
}),
|
|
44
44
|
file_module_1.FileModule,
|
|
45
45
|
tus_1.TusModule.forRoot(),
|
|
46
46
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.module.js","sourceRoot":"","sources":["../../src/server/server.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,+CAAkD;AAElD,8CAAsC;AACtC,gDAA4C;AAC5C,kEAAwD;AACxD,oEAAgE;AAChE,oEAA0D;AAC1D,uFAAkF;AAClF,
|
|
1
|
+
{"version":3,"file":"server.module.js","sourceRoot":"","sources":["../../src/server/server.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,+CAAkD;AAElD,8CAAsC;AACtC,gDAA4C;AAC5C,kEAAwD;AACxD,oEAAgE;AAChE,oEAA0D;AAC1D,uFAAkF;AAClF,6CAAgD;AAChD,2EAA+D;AAC/D,oEAAgE;AAChE,4DAAwD;AACxD,iFAA4E;AAC5E,sFAAiF;AACjF,gFAA2E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