chore(docs): Generated References (#7998)

Generated the following references:
- `medusa_config`
- `modules`
- `types`
This commit is contained in:
github-actions[bot]
2024-07-08 08:48:39 +00:00
committed by GitHub
parent 6c7a0129e3
commit d7d26aa3f4
9 changed files with 48 additions and 32 deletions
@@ -0,0 +1,24 @@
---
slug: /references/workflows/when
sidebar_label: when
---
import { TypeList } from "docs-ui"
# when - Workflows API Reference
This documentation provides a reference to the `when` . It belongs to the `@medusajs/workflows-sdk` package.
## Type Parameters
<TypeList types={[{"name":"T","type":"`object` \\| [WorkflowData](../../types/workflows.WorkflowData/page.mdx)","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"Then","type":"`Function`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="when"/>
## Parameters
<TypeList types={[{"name":"values","type":"T","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"condition","type":"ConditionFunction&#60;T&#62;","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="when"/>
## Returns
<TypeList types={[{"name":"then","type":"`ThenFunc`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="when"/>
<TypeList types={[{"name":"then","type":"`ThenFunc`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="when"/>