chore(docs): Generated JS Client Reference (#5434)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8203dec3e2
commit
39de54e2e8
+1
-1
@@ -716,7 +716,7 @@ Returns whether the stream has encountered an error.
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "stream",
|
||||
"type": "[`ReadableStream`](../interfaces/admin_discounts.internal.ReadableStream.mdx) \\| [`WritableStream`](../interfaces/admin_discounts.internal.WritableStream.mdx) \\| [`Readable`](../classes/admin_discounts.internal.Readable.mdx) \\| [`Writable`](../../internal-2/classes/admin_discounts.internal.internal-2.Writable.mdx)",
|
||||
"type": "[`ReadableStream`](../interfaces/admin_discounts.internal.ReadableStream.mdx) \\| [`Readable`](../classes/admin_discounts.internal.Readable.mdx) \\| [`WritableStream`](../interfaces/admin_discounts.internal.WritableStream.mdx) \\| [`Writable`](../../internal-2/classes/admin_discounts.internal.internal-2.Writable.mdx)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@ ___
|
||||
{
|
||||
"name": "size",
|
||||
"type": "`number`",
|
||||
"description": "The total size of the `Blob` in bytes.",
|
||||
"description": "The total size of the `Blob` in bytes. #### Since v15.7.0, v14.18.0",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
{
|
||||
"name": "type",
|
||||
"type": "`string`",
|
||||
"description": "The content-type of the `Blob`.",
|
||||
"description": "The content-type of the `Blob`. #### Since v15.7.0, v14.18.0",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
|
||||
+127
@@ -344,6 +344,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
|
||||
- [IPriceSelectionStrategy](../interfaces/admin_discounts.internal.internal.IPriceSelectionStrategy.mdx)
|
||||
- [ITaxCalculationStrategy](../interfaces/admin_discounts.internal.internal.ITaxCalculationStrategy.mdx)
|
||||
- [ITaxService](../interfaces/admin_discounts.internal.internal.ITaxService.mdx)
|
||||
- [MedusaRequest](../interfaces/admin_discounts.internal.internal.MedusaRequest.mdx)
|
||||
- [PaymentProcessor](../interfaces/admin_discounts.internal.internal.PaymentProcessor.mdx)
|
||||
- [PaymentProcessorError](../interfaces/admin_discounts.internal.internal.PaymentProcessorError.mdx)
|
||||
- [PaymentService](../interfaces/admin_discounts.internal.internal.PaymentService.mdx)
|
||||
@@ -4771,6 +4772,132 @@ ___
|
||||
|
||||
___
|
||||
|
||||
### MedusaNextFunction
|
||||
|
||||
Ƭ **MedusaNextFunction**: `NextFunction`
|
||||
|
||||
___
|
||||
|
||||
### MedusaRequestHandler
|
||||
|
||||
Ƭ **MedusaRequestHandler**: (`req`: [`MedusaRequest`](../interfaces/admin_discounts.internal.internal.MedusaRequest.mdx), `res`: [`MedusaResponse`](admin_discounts.internal.internal.mdx#medusaresponse), `next`: [`MedusaNextFunction`](admin_discounts.internal.internal.mdx#medusanextfunction)) => `Promise`<`void`\> \| `void`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
▸ (`req`, `res`, `next`): `Promise`<`void`\> \| `void`
|
||||
|
||||
##### Parameters
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "req",
|
||||
"type": "[`MedusaRequest`](../interfaces/admin_discounts.internal.internal.MedusaRequest.mdx)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "res",
|
||||
"type": "[`MedusaResponse`](admin_discounts.internal.internal.mdx#medusaresponse)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "next",
|
||||
"type": "[`MedusaNextFunction`](admin_discounts.internal.internal.mdx#medusanextfunction)",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
}
|
||||
]} />
|
||||
|
||||
##### Returns
|
||||
|
||||
`Promise`<`void`\> \| `void`
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "Promise<void\\> \\| void",
|
||||
"type": "`Promise`<`void`\\> \\| `void`",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"description": "",
|
||||
"children": []
|
||||
}
|
||||
]} />
|
||||
|
||||
___
|
||||
|
||||
### MedusaResponse
|
||||
|
||||
Ƭ **MedusaResponse**: `Response`
|
||||
|
||||
___
|
||||
|
||||
### MiddlewareFunction
|
||||
|
||||
Ƭ **MiddlewareFunction**: [`MedusaRequestHandler`](admin_discounts.internal.internal.mdx#medusarequesthandler) \| (...`args`: `any`[]) => `any`
|
||||
|
||||
___
|
||||
|
||||
### MiddlewareRoute
|
||||
|
||||
Ƭ **MiddlewareRoute**: `Object`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "matcher",
|
||||
"type": "`string` \\| `RegExp`",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "method",
|
||||
"type": "[`MiddlewareVerb`](../../admin_discounts/modules/admin_discounts.internal.mdx#middlewareverb) \\| [`MiddlewareVerb`](../../admin_discounts/modules/admin_discounts.internal.mdx#middlewareverb)[]",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"name": "middlewares",
|
||||
"type": "[`MiddlewareFunction`](admin_discounts.internal.internal.mdx#middlewarefunction)[]",
|
||||
"description": "",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
}
|
||||
]} />
|
||||
|
||||
___
|
||||
|
||||
### MiddlewaresConfig
|
||||
|
||||
Ƭ **MiddlewaresConfig**: `Object`
|
||||
|
||||
#### Type declaration
|
||||
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "routes",
|
||||
"type": "[`MiddlewareRoute`](admin_discounts.internal.internal.mdx#middlewareroute)[]",
|
||||
"description": "",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
"children": []
|
||||
}
|
||||
]} />
|
||||
|
||||
___
|
||||
|
||||
### PartialPick
|
||||
|
||||
Ƭ **PartialPick**<`T`, `K`\>: { [P in K]?: T[P] }
|
||||
|
||||
Reference in New Issue
Block a user