@alevnyacow/nzmt 0.38.2 → 0.39.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.
Files changed (2) hide show
  1. package/bin/cli.js +1 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -1126,7 +1126,7 @@ function generateController(upperCase, lowerCase, crudService) {
1126
1126
  ...importInjections,
1127
1127
  ``,
1128
1128
  `@injectable()`,
1129
- `export class ${upperCase}Controller {`,
1129
+ `export class ${upperCase}Controller implements Controller.EndpointList<typeof ${lowerCase}ControllerMetadata> {`,
1130
1130
  `\tconstructor(`,
1131
1131
  ...injections.map(x => `\t\t@inject('${x}' satisfies DITokens) private readonly ${x.charAt(0).toLowerCase() + x.slice(1)}: ${x},`),
1132
1132
  `\t) {}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alevnyacow/nzmt",
3
- "version": "0.38.2",
3
+ "version": "0.39.1",
4
4
  "description": "Next Zod Modules Toolkit",
5
5
  "keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolding", "zod", "rest", "contract programming", "contract-first", "react-query", "ddd", "domain-driven"],
6
6
  "repository": {