docs: add Query documentation (#9079)
- Replace remote query documentation with new Query documentation - Add redirect from old remote query to new query documentation - Update remote query usages across docs to use new query usage.
This commit is contained in:
1 parent
1d8dd54014
commit
e9b5f76f9a
31 files changed
+437
-635
No files matched your search
@@ -22,10 +22,10 @@ export const highlights = [
|
||||
|
||||
```ts highlights={highlights}
|
||||
import {
|
||||
createWorkflow
|
||||
createWorkflow,
|
||||
} from "@medusajs/workflows-sdk"
|
||||
import {
|
||||
emitEventStep
|
||||
emitEventStep,
|
||||
} from "@medusajs/core-flows"
|
||||
|
||||
const helloWorldWorkflow = createWorkflow(
|
||||
@@ -36,8 +36,8 @@ const helloWorldWorkflow = createWorkflow(
|
||||
emitEventStep({
|
||||
eventName: "custom.created",
|
||||
data: {
|
||||
id: "123"
|
||||
}
|
||||
id: "123",
|
||||
},
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user