@alevnyacow/nzmt 0.18.2 → 0.18.4
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 +11 -11
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -108,11 +108,11 @@ function createDefaultConfig() {
|
|
|
108
108
|
providers: '/server/providers',
|
|
109
109
|
controllers: '/server/controllers',
|
|
110
110
|
infrastructure: '/server/infrastructure',
|
|
111
|
-
entities: '/
|
|
112
|
-
valueObjects: '/
|
|
113
|
-
sharedErrors: '/
|
|
114
|
-
queries: '/
|
|
115
|
-
clientUtils: '/
|
|
111
|
+
entities: '/domain/entities',
|
|
112
|
+
valueObjects: '/domain/value-objects',
|
|
113
|
+
sharedErrors: '/domain/errors',
|
|
114
|
+
queries: '/ui/shared/queries',
|
|
115
|
+
clientUtils: '/ui/shared/utils'
|
|
116
116
|
},
|
|
117
117
|
store: {
|
|
118
118
|
prisma: {
|
|
@@ -128,11 +128,11 @@ function createDefaultConfig() {
|
|
|
128
128
|
providers: '/server/providers',
|
|
129
129
|
controllers: '/server/controllers',
|
|
130
130
|
infrastructure: '/server/infrastructure',
|
|
131
|
-
entities: '/
|
|
132
|
-
valueObjects: '/
|
|
133
|
-
sharedErrors: '/
|
|
134
|
-
queries: '/
|
|
135
|
-
clientUtils: '/
|
|
131
|
+
entities: '/domain/entities',
|
|
132
|
+
valueObjects: '/domain/value-objects',
|
|
133
|
+
sharedErrors: '/domain/errors',
|
|
134
|
+
queries: '/ui/shared/queries',
|
|
135
|
+
clientUtils: '/ui/shared/utils'
|
|
136
136
|
}
|
|
137
137
|
}, null, '\t'))
|
|
138
138
|
}
|
|
@@ -970,7 +970,7 @@ function generateController(upperCase, lowerCase, crudService) {
|
|
|
970
970
|
`\t\tGET: {`,
|
|
971
971
|
`\t\t\tquery: z.union([`,
|
|
972
972
|
`\t\t\t\t// Request all items`,
|
|
973
|
-
`\t\t\t\t${crudServiceLowercase}Metadata.schemas.getList.payload.shape.filter
|
|
973
|
+
`\t\t\t\t${crudServiceLowercase}Metadata.schemas.getList.payload.shape.filter,`,
|
|
974
974
|
'\t\t\t\t// Request specific page',
|
|
975
975
|
`\t\t\t\tValueObjects.Pagination.schema.extend(${crudServiceLowercase}Metadata.schemas.getList.payload.shape.filter.shape),`,
|
|
976
976
|
`\t\t\t]),`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alevnyacow/nzmt",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.4",
|
|
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": {
|