docs: generate references for v2.3.0 (#11035)
This commit is contained in:
1 parent
2f7ec55f2e
commit
45847fef19
538 files changed
+304288
-199194
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
# VariantAvailabilityResult
|
||||
|
||||
**VariantAvailabilityResult**: `object`
|
||||
|
||||
The computed inventory availability for variants in a given sales channel.
|
||||
The object's keys are the variant IDs.
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import { TypeList } from "docs-ui"
|
||||
|
||||
# PromotionStatus
|
||||
|
||||
## Enumeration Members
|
||||
|
||||
### DRAFT
|
||||
|
||||
**DRAFT** = `"draft"`
|
||||
|
||||
### ACTIVE
|
||||
|
||||
**ACTIVE** = `"active"`
|
||||
|
||||
### INACTIVE
|
||||
|
||||
**INACTIVE** = `"inactive"`
|
||||
@@ -11,6 +11,10 @@ import { TypeList } from "docs-ui"
|
||||
- [getTotalVariantAvailability](page.mdx#gettotalvariantavailability)
|
||||
- [getVariantAvailability](page.mdx#getvariantavailability)
|
||||
|
||||
## Type Aliases
|
||||
|
||||
- [VariantAvailabilityResult](../ProductUtils/types/utils.ProductUtils.VariantAvailabilityResult/page.mdx)
|
||||
|
||||
## Variables
|
||||
|
||||
- [ProductEvents](page.mdx#productevents)
|
||||
@@ -54,7 +58,7 @@ The algorithm takes into account:
|
||||
|
||||
#### Returns
|
||||
|
||||
<TypeList types={[{"name":"Promise","type":"Promise<object>","optional":false,"defaultValue":"","description":"an object containing the variant ids and their availability","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="getVariantAvailability"/>
|
||||
<TypeList types={[{"name":"Promise","type":"Promise<[VariantAvailabilityResult](../ProductUtils/types/utils.ProductUtils.VariantAvailabilityResult/page.mdx)>","optional":false,"defaultValue":"","description":"an object containing the variant ids and their availability","expandable":false,"children":[{"name":"VariantAvailabilityResult","type":"[VariantAvailabilityResult](../ProductUtils/types/utils.ProductUtils.VariantAvailabilityResult/page.mdx)","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"VariantAvailabilityResult","type":"`object`","description":"The computed inventory availability for variants in a given sales channel.\nThe object's keys are the variant IDs.","optional":false,"defaultValue":"","expandable":false,"children":[]}]}]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="getVariantAvailability"/>
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -11,5 +11,6 @@ import { TypeList } from "docs-ui"
|
||||
- [ComputedActions](../PromotionUtils/enums/utils.PromotionUtils.ComputedActions/page.mdx)
|
||||
- [PromotionActions](../PromotionUtils/enums/utils.PromotionUtils.PromotionActions/page.mdx)
|
||||
- [PromotionRuleOperator](../PromotionUtils/enums/utils.PromotionUtils.PromotionRuleOperator/page.mdx)
|
||||
- [PromotionStatus](../PromotionUtils/enums/utils.PromotionUtils.PromotionStatus/page.mdx)
|
||||
- [PromotionType](../PromotionUtils/enums/utils.PromotionUtils.PromotionType/page.mdx)
|
||||
- [RuleType](../PromotionUtils/enums/utils.PromotionUtils.RuleType/page.mdx)
|
||||
Reference in new issue
Block a user