@alevnyacow/nzmt 0.19.0 → 0.19.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/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1019,8 +1019,8 @@ function generateController(upperCase, lowerCase, crudService) {
|
|
|
1019
1019
|
...injections.map(x => `\t\t@inject('${x}' satisfies DITokens) private readonly ${x.charAt(0).toLowerCase() + x.slice(1)}: ${x},`),
|
|
1020
1020
|
`\t) {}`,
|
|
1021
1021
|
``,
|
|
1022
|
-
`\tprivate readonly endpoints = Controller.endpoints(
|
|
1023
|
-
|
|
1022
|
+
`\tprivate readonly endpoints = Controller.endpoints(`,
|
|
1023
|
+
`\t\t${lowerCase}ControllerMetadata,`,
|
|
1024
1024
|
'\t\t{ onErrorHandlers: [this.logger.error] }',
|
|
1025
1025
|
'\t)',
|
|
1026
1026
|
``,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Next Zod Modules Toolkit",
|
|
5
5
|
"keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolder", "zod", "rest", "contract programming", "react-query", "ddd", "domain-driven"],
|
|
6
6
|
"repository": {
|