docs: edits and fixes to commerce module docs (#7468)
Apply edits and fixes to the commerce modules docs
This commit is contained in:
@@ -1105,10 +1105,12 @@ ___
|
||||
|
||||
<TypeList types={[{"name":"RequestHandler","type":"RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"ParamsDictionary","type":"`ParamsDictionary`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]},{"name":"any","type":"`any`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]},{"name":"any","type":"`any`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]},{"name":"ParsedQs","type":"`ParsedQs`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]},{"name":"Record","type":"`Record<string, any>`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[{"name":"string","type":"`string`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]},{"name":"any","type":"`any`","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]}]}]} sectionTitle="wrapHandler"/>
|
||||
|
||||
#### Deprecated
|
||||
:::note[Deprecated]
|
||||
|
||||
use `import { wrapHandler } from "@medusajs/utils"`
|
||||
|
||||
:::
|
||||
|
||||
### canAccessBatchJob
|
||||
|
||||
#### Parameters
|
||||
@@ -1285,10 +1287,12 @@ Middleware that transform the query input for the store endpoints
|
||||
|
||||
<TypeList types={[{"name":"Promise","type":"Promise<void>","optional":false,"defaultValue":"","description":"","expandable":false,"children":[]}]} sectionTitle="__type"/>
|
||||
|
||||
#### Deprecated
|
||||
:::note[Deprecated]
|
||||
|
||||
use `transformQuery` instead
|
||||
|
||||
:::
|
||||
|
||||
### reserveQuantityForDraftOrder
|
||||
|
||||
#### Parameters
|
||||
|
||||
Reference in New Issue
Block a user