miqro 7.2.5 → 7.2.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 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -284,7 +284,8 @@ export default (req, res) => {
|
|
|
284
284
|
full declaration with validation and typing:
|
|
285
285
|
|
|
286
286
|
```ts
|
|
287
|
-
import { defineRoute
|
|
287
|
+
import { defineRoute } from "miqro";
|
|
288
|
+
import { JSONParser } from "@miqro/core";
|
|
288
289
|
|
|
289
290
|
export default defineRoute({
|
|
290
291
|
name: "create post",
|
|
@@ -452,7 +453,7 @@ without `cors.ts` all origins are allowed. with it only listed origins are accep
|
|
|
452
453
|
|
|
453
454
|
## ORM
|
|
454
455
|
|
|
455
|
-
quick reference. full docs in [@miqro/query](query
|
|
456
|
+
quick reference. full docs in [@miqro/query](https://www.npmjs.com/package/@miqro/query).
|
|
456
457
|
|
|
457
458
|
```ts
|
|
458
459
|
import { defineModel } from "@miqro/query";
|