minimonolith 0.25.15 → 0.25.17

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ Here's an example project using `minimonolith`:
23
23
  └── get
24
24
  ├── handler.js // Module 'todo' service 'get' handler
25
25
  └── in.js // Optional: Service 'get' input validation, if body not empty
26
- └── in.js // Optional: Service 'get' output validation, if body not empty
26
+ └── out.js // Optional: Service 'get' output validation, if body not empty
27
27
  ```
28
28
 
29
29
  ### server.js
@@ -109,12 +109,12 @@ export default async ({ body, MODELS }) => {
109
109
  }
110
110
  ```
111
111
 
112
- ### todo/get/valid.js
112
+ ### todo/get/in.js
113
113
 
114
114
  This file validates the `get:id` service's input, ensuring that the provided `id` is a string and exists in the `todo` model:
115
115
 
116
116
  ```js
117
- // todo/get/valid.js
117
+ // todo/get/in.js
118
118
  import { z, zdb } from 'minimonolith';
119
119
 
120
120
  export default ({ MODELS }) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "minimonolith",
3
3
  "type": "module",
4
- "version": "0.25.15",
4
+ "version": "0.25.17",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "scripts": {