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:
@@ -41,7 +41,7 @@ medusa.admin.custom.delete(`/blog/posts/${postId}`).then(() => {
|
||||
},
|
||||
{
|
||||
"name": "options",
|
||||
"type": "[`RequestOptions`](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"type": "[RequestOptions](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"description": "Configurations to apply on the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -69,7 +69,7 @@ medusa.admin.custom.delete(`/blog/posts/${postId}`).then(() => {
|
||||
},
|
||||
{
|
||||
"name": "customHeaders",
|
||||
"type": "Record<`string`, `any`\\>",
|
||||
"type": "`Record<string, any>`",
|
||||
"description": "Custom headers to attach to the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -83,7 +83,7 @@ medusa.admin.custom.delete(`/blog/posts/${postId}`).then(() => {
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ResponsePromise",
|
||||
"type": "[`ResponsePromise`](../internal/types/internal.ResponsePromise.mdx)<`TResponse`\\>",
|
||||
"type": "[ResponsePromise](../internal/types/internal.ResponsePromise.mdx)<TResponse>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "The response data.",
|
||||
@@ -139,7 +139,7 @@ medusa.admin.custom.get<Record<string, any>, PostsResponse>(
|
||||
},
|
||||
{
|
||||
"name": "options",
|
||||
"type": "[`RequestOptions`](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"type": "[RequestOptions](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"description": "Configurations to apply on the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -167,7 +167,7 @@ medusa.admin.custom.get<Record<string, any>, PostsResponse>(
|
||||
},
|
||||
{
|
||||
"name": "customHeaders",
|
||||
"type": "Record<`string`, `any`\\>",
|
||||
"type": "`Record<string, any>`",
|
||||
"description": "Custom headers to attach to the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -181,7 +181,7 @@ medusa.admin.custom.get<Record<string, any>, PostsResponse>(
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ResponsePromise",
|
||||
"type": "[`ResponsePromise`](../internal/types/internal.ResponsePromise.mdx)<`TResponse`\\>",
|
||||
"type": "[ResponsePromise](../internal/types/internal.ResponsePromise.mdx)<TResponse>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "The response data.",
|
||||
@@ -243,7 +243,7 @@ medusa.admin.custom.post<PostRequest, PostResponse>(
|
||||
},
|
||||
{
|
||||
"name": "options",
|
||||
"type": "[`RequestOptions`](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"type": "[RequestOptions](../internal/interfaces/internal.RequestOptions.mdx)",
|
||||
"description": "Configurations to apply on the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -271,7 +271,7 @@ medusa.admin.custom.post<PostRequest, PostResponse>(
|
||||
},
|
||||
{
|
||||
"name": "customHeaders",
|
||||
"type": "Record<`string`, `any`\\>",
|
||||
"type": "`Record<string, any>`",
|
||||
"description": "Custom headers to attach to the request.",
|
||||
"optional": true,
|
||||
"defaultValue": "",
|
||||
@@ -285,7 +285,7 @@ medusa.admin.custom.post<PostRequest, PostResponse>(
|
||||
<ParameterTypes parameters={[
|
||||
{
|
||||
"name": "ResponsePromise",
|
||||
"type": "[`ResponsePromise`](../internal/types/internal.ResponsePromise.mdx)<`TResponse`\\>",
|
||||
"type": "[ResponsePromise](../internal/types/internal.ResponsePromise.mdx)<TResponse>",
|
||||
"optional": false,
|
||||
"defaultValue": "",
|
||||
"description": "The response data.",
|
||||
|
||||
Reference in New Issue
Block a user