chore(docs): Generated References (#8461)
Generated the following references: - `medusa` - `modules` - `types`
This commit is contained in:
+37
@@ -0,0 +1,37 @@
|
||||
---
|
||||
slug: /references/helper-steps/emitEventStep
|
||||
sidebar_label: emitEventStep
|
||||
---
|
||||
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
# emitEventStep - Helper Steps API Reference
|
||||
|
||||
This documentation provides a reference to the `emitEventStep` step. It belongs to the `@medusajs/core-flows` package.
|
||||
|
||||
## Example
|
||||
|
||||
```ts
|
||||
import {
|
||||
createWorkflow
|
||||
} from "@medusajs/workflows-sdk"
|
||||
import {
|
||||
emitEventStep
|
||||
} from "@medusajs/core-flows"
|
||||
|
||||
const helloWorldWorkflow = createWorkflow(
|
||||
"hello-world",
|
||||
() => {
|
||||
emitEventStep({
|
||||
eventName: "custom.created",
|
||||
data: {
|
||||
id: "123"
|
||||
}
|
||||
})
|
||||
}
|
||||
)
|
||||
```
|
||||
|
||||
## Input
|
||||
|
||||
<TypeList types={[{"name":"Input","type":"`Input`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} sectionTitle="emitEventStep"/>
|
||||
Reference in New Issue
Block a user