docs: update docusaurus to v3 (#5625)
* update dependencies * update onboarding mdx * fixes for mdx issues * fixes for mdx compatibility * resolve mdx errors * fixes in reference * fix check errors * revert change in vale action * fix node version in action * fix summary in markdown
This commit is contained in:
@@ -57,7 +57,7 @@ medusa.admin.currencies
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "query",
|
||||
"type": "[`AdminGetCurrenciesParams`](../internal/classes/internal.AdminGetCurrenciesParams.mdx)",
|
||||
"type": "[AdminGetCurrenciesParams](../internal/classes/internal.AdminGetCurrenciesParams.mdx)",
|
||||
"description": "Filters and pagination configurations to apply on retrieved currencies.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -113,7 +113,7 @@ medusa.admin.currencies
|
||||
},
|
||||
{
|
||||
"name": "customHeaders",
|
||||
"type": "Record<`string`, `any`\\>",
|
||||
"type": "`Record<string, any>`",
|
||||
"description": "Custom headers to attach to the request.",
|
||||
"optional": false,
|
||||
"defaultValue": "{}",
|
||||
@@ -127,7 +127,7 @@ medusa.admin.currencies
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ResponsePromise",
|
||||
"type": "[`ResponsePromise`](../internal/types/internal.ResponsePromise.mdx)<[`AdminCurrenciesListRes`](../internal/types/internal.AdminCurrenciesListRes.mdx)\\>",
|
||||
"type": "[ResponsePromise](../internal/types/internal.ResponsePromise.mdx)<[AdminCurrenciesListRes](../internal/types/internal.AdminCurrenciesListRes.mdx)>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "Resolves to the list of currencies with pagination fields.",
|
||||
@@ -135,7 +135,7 @@ medusa.admin.currencies
|
||||
"children": [
|
||||
{
|
||||
"name": "AdminCurrenciesListRes",
|
||||
"type": "[`PaginatedResponse`](../internal/interfaces/internal.PaginatedResponse.mdx) & { `currencies`: [`Currency`](../internal/classes/internal.Currency.mdx)[] }",
|
||||
"type": "[PaginatedResponse](../internal/interfaces/internal.PaginatedResponse.mdx) & `{ currencies: [Currency](../internal/classes/internal.Currency.mdx)[] }`",
|
||||
"description": "List of currencies with pagination fields.",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -170,7 +170,7 @@ medusa.admin.currencies
|
||||
},
|
||||
{
|
||||
"name": "currencies",
|
||||
"type": "[`Currency`](../internal/classes/internal.Currency.mdx)[]",
|
||||
"type": "[Currency](../internal/classes/internal.Currency.mdx)[]",
|
||||
"description": "An array of currency details.",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -265,7 +265,7 @@ medusa.admin.currencies
|
||||
},
|
||||
{
|
||||
"name": "payload",
|
||||
"type": "[`AdminPostCurrenciesCurrencyReq`](../internal/classes/internal.AdminPostCurrenciesCurrencyReq.mdx)",
|
||||
"type": "[AdminPostCurrenciesCurrencyReq](../internal/classes/internal.AdminPostCurrenciesCurrencyReq.mdx)",
|
||||
"description": "The attributes to update in the currency.",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
@@ -285,7 +285,7 @@ medusa.admin.currencies
|
||||
},
|
||||
{
|
||||
"name": "customHeaders",
|
||||
"type": "Record<`string`, `any`\\>",
|
||||
"type": "`Record<string, any>`",
|
||||
"description": "Custom headers to attach to the request.",
|
||||
"optional": false,
|
||||
"defaultValue": "{}",
|
||||
@@ -299,7 +299,7 @@ medusa.admin.currencies
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ResponsePromise",
|
||||
"type": "[`ResponsePromise`](../internal/types/internal.ResponsePromise.mdx)<[`AdminCurrenciesRes`](../internal/types/internal.AdminCurrenciesRes.mdx)\\>",
|
||||
"type": "[ResponsePromise](../internal/types/internal.ResponsePromise.mdx)<[AdminCurrenciesRes](../internal/types/internal.AdminCurrenciesRes.mdx)>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "Resolves to the currency's details.",
|
||||
@@ -315,7 +315,7 @@ medusa.admin.currencies
|
||||
"children": [
|
||||
{
|
||||
"name": "currency",
|
||||
"type": "[`Currency`](../internal/classes/internal.Currency.mdx)",
|
||||
"type": "[Currency](../internal/classes/internal.Currency.mdx)",
|
||||
"description": "Currency details.",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
|
||||
Reference in New Issue
Block a user