@alevnyacow/nzmt 0.1.4 → 0.1.6
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 +3 -1
- package/bin/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,9 @@ Returns zod module method generator.
|
|
|
32
32
|
1. How to make a method generator:
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
|
-
|
|
35
|
+
import { Module } from '@alevnyacow/nzmt'
|
|
36
|
+
|
|
37
|
+
const mathServiceMethods = Module.methods({
|
|
36
38
|
// Service name, will be used in errors
|
|
37
39
|
name: 'MathService',
|
|
38
40
|
// Method schemas description
|
package/bin/cli.js
CHANGED