@alevnyacow/nzmt 0.16.14 → 0.16.16
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 +4 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ npx nzmt crud-api user
|
|
|
69
69
|
|
|
70
70
|
This command generates:
|
|
71
71
|
|
|
72
|
-
- `
|
|
72
|
+
- `User` entity
|
|
73
73
|
- `UserStore` (with Prisma + RAM implementations)
|
|
74
74
|
- `UserService` (ready to be used in Server Actions)
|
|
75
75
|
- `UserController` proxying UserService methods
|
|
@@ -92,7 +92,9 @@ So, after one CLI command and few tweaks you can use your React query hooks or S
|
|
|
92
92
|
Schema: Client → React Query → API → Controller → Service → Store → DB
|
|
93
93
|
```
|
|
94
94
|
|
|
95
|
-
Everything is already scaffolded and grouped in handy namespace for you, just import it and use!
|
|
95
|
+
Everything is already scaffolded and grouped in handy namespace for you, just import it and use! ✨
|
|
96
|
+
|
|
97
|
+
Even invalidations are working out of the box (though you can modify scaffolded queries any way you want).
|
|
96
98
|
|
|
97
99
|
```tsx
|
|
98
100
|
'use client'
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.16",
|
|
4
4
|
"description": "Next Zod Modules Toolkit",
|
|
5
|
+
"keywords": ["next", "full-stack", "server", "backend", "cli", "scaffolder", "zod", "rest", "contract programming", "react-query", "ddd", "domain-driven"],
|
|
5
6
|
"repository": {
|
|
6
7
|
"type": "git",
|
|
7
8
|
"url": "https://github.com/alevnyacow/nzmt.git"
|