@alevnyacow/nzmt 0.22.1 → 0.22.3
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,7 +133,7 @@ export default async function Page() {
|
|
|
133
133
|
| `npx nzmt crud-api <name>` | CRUD via Server Actions and React Query hooks. |
|
|
134
134
|
| `npx nzmt crud-service <name>` | CRUD via Server Actions (no Controllers, API Routes and React Query hooks). |
|
|
135
135
|
| `npx nzmt se <name>` | **s**tored **e**ntity: entity + store (contracts linked). |
|
|
136
|
-
| `npx nzmt rq` | API **r**outes and React **q**
|
|
136
|
+
| `npx nzmt rq` | API **r**outes and React **q**ueries for all of your controllers. This command will also remove endpoints which don't exist anymore with according React query hooks |
|
|
137
137
|
|
|
138
138
|
## Single module scaffolding
|
|
139
139
|
|
|
@@ -143,7 +143,7 @@ export default async function Page() {
|
|
|
143
143
|
| `npx nzmt vo <name>` | **v**alue **o**bject ||
|
|
144
144
|
| `npx nzmt cs <name>` | **c**ustom **s**tore (all schemas are `z.object({})`) ||
|
|
145
145
|
| `npx nzmt s <name>` | **s**ervice |`i:UserStore,Logger` will automatically inject `UserStore` and `Logger`. E.g. `npx nzmt s shop i:UserStore,ProductStore` will create `ShopService` with already injected `UserStore` and `ProductStore`|
|
|
146
|
-
| `npx nzmt c <name>` | **c**ontroller |`i:UserService` will automatically inject `UserService`. `Logger` and `
|
|
146
|
+
| `npx nzmt c <name>` | **c**ontroller |`i:UserService` will automatically inject `UserService`. `Logger` and `Guards` are injected by default regardless of `i:` option|
|
|
147
147
|
|
|
148
148
|
# FAQ
|
|
149
149
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
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": {
|