@alevnyacow/nzmt 0.0.29 → 0.0.31
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
|
@@ -332,7 +332,7 @@ function generateService(lowerCase, upperCase, withCrud) {
|
|
|
332
332
|
`\t\t\t})`,
|
|
333
333
|
`\t\t},`,
|
|
334
334
|
`\t\tgetList: {`,
|
|
335
|
-
`\t\t\tpayload: z.object({
|
|
335
|
+
`\t\t\tpayload: z.object({`,
|
|
336
336
|
`\t\t\t\tfilter: ${lowerCase}StoreMetadata.searchPayload.list,`,
|
|
337
337
|
`\t\t\t\tpagination: Entities.Pagination.schema.optional()`,
|
|
338
338
|
`\t\t\t})`,
|
|
@@ -397,7 +397,7 @@ function generateService(lowerCase, upperCase, withCrud) {
|
|
|
397
397
|
fs.writeFileSync(path.resolve(folder, 'index.ts'), [
|
|
398
398
|
`export * from ${entityName}.service.metadata`,
|
|
399
399
|
`export * from ${entityName}.service`
|
|
400
|
-
])
|
|
400
|
+
].join('\n'))
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
if (command === 'service') {
|