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

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-10-02 17:13:09 +02:00
committed by GitHub
parent e73e95f5e9
commit 34eebb61eb
585 changed files with 1248 additions and 984 deletions

View File

@@ -15,7 +15,7 @@ For example, if a store is deleted, its product should also be deleted.
## Example
```ts
import { model } from "@medusajs/framework/utils"
import { model } from "@medusajs/utils"
const Store = model.define("store", {
id: model.id(),

View File

@@ -15,7 +15,7 @@ and have conditions.
An example of a simple index:
```ts
import { model } from "@medusajs/framework/utils"
import { model } from "@medusajs/utils"
const MyCustom = model.define("my_custom", {
id: model.id(),
@@ -33,7 +33,7 @@ export default MyCustom
To add a condition on the index, use the `where` option:
```ts
import { model } from "@medusajs/framework/utils"
import { model } from "@medusajs/utils"
const MyCustom = model.define("my_custom", {
id: model.id(),
@@ -54,7 +54,7 @@ export default MyCustom
The condition can also be a negation. For example:
```ts
import { model } from "@medusajs/framework/utils"
import { model } from "@medusajs/utils"
const MyCustom = model.define("my_custom", {
id: model.id(),