Files
medusa-store/www/apps/resources/references/modules/utils/page.mdx
Shahed Nasser 4fe28f5a95 chore: reorganize docs apps (#7228)
* reorganize docs apps

* add README

* fix directory

* add condition for old docs
2024-05-03 17:36:38 +03:00

64 lines
2.4 KiB
Plaintext

import { TypeList } from "docs-ui"
# utils
## Namespaces
- [FulfillmentUtils](../../utils/utils.FulfillmentUtils/page.mdx)
- [InventoryUtils](../../utils/utils.InventoryUtils/page.mdx)
- [LinkUtils](../../utils/utils.LinkUtils/page.mdx)
- [OrderUtils](../../utils/utils.OrderUtils/page.mdx)
- [ProductUtils](../../utils/utils.ProductUtils/page.mdx)
- [PromotionUtils](../../utils/utils.PromotionUtils/page.mdx)
- [ShippingProfileUtils](../../utils/utils.ShippingProfileUtils/page.mdx)
- [UserUtils](../../utils/utils.UserUtils/page.mdx)
## Enumerations
- [PaymentCollectionStatus](../../utils/enums/utils.PaymentCollectionStatus/page.mdx)
- [PaymentSessionStatus](../../utils/enums/utils.PaymentSessionStatus/page.mdx)
- [PaymentWebhookEvents](../../utils/enums/utils.PaymentWebhookEvents/page.mdx)
- [PaymentActions](../../utils/enums/utils.PaymentActions/page.mdx)
- [PriceListStatus](../../utils/enums/utils.PriceListStatus/page.mdx)
- [PriceListType](../../utils/enums/utils.PriceListType/page.mdx)
## Type Aliases
- [RuleAttributeInput](../../utils/types/utils.RuleAttributeInput/page.mdx)
___
## Variables
### MedusaModuleType
`Const` **MedusaModuleType**: typeof [MedusaModuleType](page.mdx#medusamoduletype)
### ReservedPricingRuleAttributes
`Const` **ReservedPricingRuleAttributes**: `string`[]
___
## Functions
### getInvalidRuleAttributes
#### Parameters
<TypeList types={[{"name":"ruleAttributes","type":"[RuleAttributeInput](../../utils/types/utils.RuleAttributeInput/page.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="getInvalidRuleAttributes"/>
#### Returns
<TypeList types={[{"name":"string[]","type":"`string`[]","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"string","type":"`string`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]} sectionTitle="getInvalidRuleAttributes"/>
### validateRuleAttributes
#### Parameters
<TypeList types={[{"name":"ruleAttributes","type":"[RuleAttributeInput](../../utils/types/utils.RuleAttributeInput/page.mdx)[]","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="validateRuleAttributes"/>
#### Returns
<TypeList types={[{"name":"void","type":"`void`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} sectionTitle="validateRuleAttributes"/>