chore(docs): Generated References (automated) (#9436)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-10-03 11:03:35 +03:00
1 parent bffb36cd11
commit c536f7caf5
637 files changed
+340776 -501155

No files matched your search

@@ -14,6 +14,8 @@ For example, a product "belongsTo" a store.
## Example
```ts
import { model } from "@medusajs/framework/utils"
const Product = model.define("product", {
id: model.id(),
store: model.belongsTo(() => Store, {
@@ -16,7 +16,7 @@ For example, a store "hasMany" products.
## Example
```ts
import { model } from "@medusajs/utils"
import { model } from "@medusajs/framework/utils"
const Store = model.define("store", {
id: model.id(),
@@ -19,7 +19,7 @@ the other data model.
## Example
```ts
import { model } from "@medusajs/utils"
import { model } from "@medusajs/framework/utils"
const User = model.define("user", {
id: model.id(),
@@ -16,7 +16,7 @@ is associated with many orders.
## Example
```ts
import { model } from "@medusajs/utils"
import { model } from "@medusajs/framework/utils"
const Order = model.define("order", {
id: model.id(),