docs: add workflow and js sdk reference pages for commerce modules (#10898)
* docs: add workflow and js sdk reference pages for commerce modules * resolve build errors
This commit is contained in:
@@ -111,48 +111,57 @@ export const orderSidebar = [
|
||||
description:
|
||||
"Learn how to utilize and manage Order features in the Medusa Admin dashboard.",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Workflows",
|
||||
autogenerate_tags: "workflow+order",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Steps",
|
||||
autogenerate_tags: "step+order",
|
||||
initialOpen: false,
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "JS SDK",
|
||||
initialOpen: false,
|
||||
description:
|
||||
"The [JS SDK](/js-sdk) allows you to send requests to the Medusa server application from your client applications, such as a storefront or the Medusa Admin dashboard.",
|
||||
children: [
|
||||
{
|
||||
type: "sub-category",
|
||||
title: "Store",
|
||||
autogenerate_tags: "jsSdk+storefront+order",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
{
|
||||
type: "sub-category",
|
||||
title: "Admin",
|
||||
autogenerate_tags: "jsSdk+admin+order",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "References",
|
||||
initialOpen: false,
|
||||
description:
|
||||
"Find references for data models, methods, and more. These are useful for your customizations.",
|
||||
"Find references for tools and resources related to the Order Module, such as data models, methods, and more. These are useful for your customizations.",
|
||||
children: [
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules/order/workflows",
|
||||
title: "Workflows",
|
||||
hideChildren: true,
|
||||
children: [
|
||||
{
|
||||
type: "category",
|
||||
title: "Workflows",
|
||||
autogenerate_tags: "workflow+order",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
title: "Steps",
|
||||
autogenerate_tags: "step+order",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules/order/js-sdk",
|
||||
title: "JS SDK",
|
||||
hideChildren: true,
|
||||
children: [
|
||||
{
|
||||
type: "sub-category",
|
||||
title: "Store",
|
||||
autogenerate_tags: "jsSdk+storefront+order",
|
||||
description:
|
||||
"The following methods or properties are used to send requests to Store API Routes related to the Order Module.",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
{
|
||||
type: "sub-category",
|
||||
title: "Admin",
|
||||
autogenerate_tags: "jsSdk+admin+order",
|
||||
description:
|
||||
"The following methods or properties are used to send requests to Admin API Routes related to the Order Module.",
|
||||
autogenerate_as_ref: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/commerce-modules/order/events",
|
||||
|
||||
Reference in New Issue
Block a user