add integrations sidebar
This commit is contained in:
1 parent
e2d832ebc2
commit
46c9314f43
6 files changed
+209
-153
No files matched your search
@@ -40,7 +40,7 @@ Learn how to integrate a custom third-party authentication provider in [this gui
|
|||||||
|
|
||||||
## CMS
|
## CMS
|
||||||
|
|
||||||
Integrate third-party CMS to utilize rich content-related features.
|
Integrate a third-party Content-Management System (CMS) to utilize rich content-related features.
|
||||||
|
|
||||||
<CardList
|
<CardList
|
||||||
items={[
|
items={[
|
||||||
@@ -49,7 +49,7 @@ Integrate third-party CMS to utilize rich content-related features.
|
|||||||
title: "Sanity",
|
title: "Sanity",
|
||||||
badge: {
|
badge: {
|
||||||
variant: "blue",
|
variant: "blue",
|
||||||
children: "Guide"
|
children: "Tutorial"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
@@ -58,6 +58,32 @@ Integrate third-party CMS to utilize rich content-related features.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## ERP
|
||||||
|
|
||||||
|
Integrate your business's Enterprise Resource Planning (ERP) system with Medusa to sync products and orders, restrict purchase with custom rules, and more.
|
||||||
|
|
||||||
|
<Note>
|
||||||
|
|
||||||
|
To learn about the general approach of integrating an ERP with Medusa and the different use cases you can implement, refer to the [ERP Recipe](../recipes/erp/page.mdx).
|
||||||
|
|
||||||
|
</Note>
|
||||||
|
|
||||||
|
<CardList
|
||||||
|
items={[
|
||||||
|
{
|
||||||
|
href: "/recipes/erp/odoo",
|
||||||
|
title: "Odoo",
|
||||||
|
badge: {
|
||||||
|
variant: "blue",
|
||||||
|
children: "Tutorial"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]}
|
||||||
|
className="mb-1"
|
||||||
|
/>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## File
|
## File
|
||||||
|
|
||||||
A File Module Provider uploads and manages assets, such as product images, on a third-party service.
|
A File Module Provider uploads and manages assets, such as product images, on a third-party service.
|
||||||
@@ -87,7 +113,7 @@ A Fulfillment Module Provider provides fulfillment options during checkout, calc
|
|||||||
title: "ShipStation",
|
title: "ShipStation",
|
||||||
badge: {
|
badge: {
|
||||||
variant: "blue",
|
variant: "blue",
|
||||||
children: "Guide"
|
children: "Tutorial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
@@ -113,7 +139,7 @@ A Notification Module Provider sends messages to users and customers in your Med
|
|||||||
title: "Resend",
|
title: "Resend",
|
||||||
badge: {
|
badge: {
|
||||||
variant: "blue",
|
variant: "blue",
|
||||||
children: "Guide"
|
children: "Tutorial"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -0,0 +1,147 @@
|
|||||||
|
const generatedgeneratedIntegrationsSidebarSidebar = {
|
||||||
|
"sidebar_id": "integrations",
|
||||||
|
"title": "Integrations",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/integrations",
|
||||||
|
"title": "Overview",
|
||||||
|
"children": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "separator"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "Auth",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/commerce-modules/auth/auth-providers/google",
|
||||||
|
"title": "Google",
|
||||||
|
"children": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/commerce-modules/auth/auth-providers/github",
|
||||||
|
"title": "GitHub",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "CMS",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/integrations/guides/sanity",
|
||||||
|
"title": "Sanity",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "ERP",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/recipes/erp/odoo",
|
||||||
|
"title": "Odoo",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "File",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/architectural-modules/file/s3",
|
||||||
|
"title": "AWS",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "Fulfillment",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/integrations/guides/shipstation",
|
||||||
|
"title": "ShipStation",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "Notification",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/integrations/guides/resend",
|
||||||
|
"title": "Resend",
|
||||||
|
"children": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/architectural-modules/notification/sendgrid",
|
||||||
|
"title": "SendGrid",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "category",
|
||||||
|
"title": "Payment",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"path": "/commerce-modules/payment/payment-provider/stripe",
|
||||||
|
"title": "Stripe",
|
||||||
|
"children": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
export default generatedgeneratedIntegrationsSidebarSidebar
|
||||||
@@ -17144,138 +17144,6 @@ const generatedgeneratedResourcesSidebarSidebar = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "sidebar",
|
|
||||||
"sidebar_id": "integrations",
|
|
||||||
"title": "Integrations",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/integrations",
|
|
||||||
"title": "Overview",
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "separator"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "Auth",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/commerce-modules/auth/auth-providers/google",
|
|
||||||
"title": "Google",
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/commerce-modules/auth/auth-providers/github",
|
|
||||||
"title": "GitHub",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "CMS",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/integrations/guides/sanity",
|
|
||||||
"title": "Sanity",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "File",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/architectural-modules/file/s3",
|
|
||||||
"title": "AWS",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "Fulfillment",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/integrations/guides/shipstation",
|
|
||||||
"title": "ShipStation",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "Notification",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/architectural-modules/notification/sendgrid",
|
|
||||||
"title": "SendGrid",
|
|
||||||
"children": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/integrations/guides/resend",
|
|
||||||
"title": "Resend",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "category",
|
|
||||||
"title": "Payment",
|
|
||||||
"children": [
|
|
||||||
{
|
|
||||||
"loaded": true,
|
|
||||||
"isPathHref": true,
|
|
||||||
"type": "link",
|
|
||||||
"path": "/commerce-modules/payment/payment-provider/stripe",
|
|
||||||
"title": "Stripe",
|
|
||||||
"children": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"loaded": true,
|
"loaded": true,
|
||||||
"isPathHref": true,
|
"isPathHref": true,
|
||||||
|
|||||||
@@ -70,7 +70,6 @@ export const sidebar = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
...architecturalModulesSidebar,
|
...architecturalModulesSidebar,
|
||||||
...integrationsSidebar,
|
|
||||||
...pluginsSidebar,
|
...pluginsSidebar,
|
||||||
...storefrontGuidesSidebar,
|
...storefrontGuidesSidebar,
|
||||||
{
|
{
|
||||||
@@ -130,4 +129,9 @@ export const sidebar = [
|
|||||||
title: "How-To & Tutorials",
|
title: "How-To & Tutorials",
|
||||||
items: howToTutorialsSidebar,
|
items: howToTutorialsSidebar,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
sidebar_id: "integrations",
|
||||||
|
title: "Integrations",
|
||||||
|
items: integrationsSidebar,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
@@ -1,10 +1,5 @@
|
|||||||
/** @type {import('types').Sidebar.SidebarItem[]} */
|
/** @type {import('types').Sidebar.SidebarItem[]} */
|
||||||
export const integrationsSidebar = [
|
export const integrationsSidebar = [
|
||||||
{
|
|
||||||
type: "sidebar",
|
|
||||||
sidebar_id: "integrations",
|
|
||||||
title: "Integrations",
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
path: "/integrations",
|
path: "/integrations",
|
||||||
@@ -18,12 +13,12 @@ export const integrationsSidebar = [
|
|||||||
title: "Auth",
|
title: "Auth",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "ref",
|
||||||
path: "/commerce-modules/auth/auth-providers/google",
|
path: "/commerce-modules/auth/auth-providers/google",
|
||||||
title: "Google",
|
title: "Google",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "ref",
|
||||||
path: "/commerce-modules/auth/auth-providers/github",
|
path: "/commerce-modules/auth/auth-providers/github",
|
||||||
title: "GitHub",
|
title: "GitHub",
|
||||||
},
|
},
|
||||||
@@ -40,12 +35,23 @@ export const integrationsSidebar = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "category",
|
||||||
|
title: "ERP",
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
type: "ref",
|
||||||
|
path: "/recipes/erp/odoo",
|
||||||
|
title: "Odoo",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: "category",
|
type: "category",
|
||||||
title: "File",
|
title: "File",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "ref",
|
||||||
path: "/architectural-modules/file/s3",
|
path: "/architectural-modules/file/s3",
|
||||||
title: "AWS",
|
title: "AWS",
|
||||||
},
|
},
|
||||||
@@ -66,16 +72,16 @@ export const integrationsSidebar = [
|
|||||||
type: "category",
|
type: "category",
|
||||||
title: "Notification",
|
title: "Notification",
|
||||||
children: [
|
children: [
|
||||||
{
|
|
||||||
type: "link",
|
|
||||||
path: "/architectural-modules/notification/sendgrid",
|
|
||||||
title: "SendGrid",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
path: "/integrations/guides/resend",
|
path: "/integrations/guides/resend",
|
||||||
title: "Resend",
|
title: "Resend",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "ref",
|
||||||
|
path: "/architectural-modules/notification/sendgrid",
|
||||||
|
title: "SendGrid",
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -83,12 +89,10 @@ export const integrationsSidebar = [
|
|||||||
title: "Payment",
|
title: "Payment",
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "ref",
|
||||||
path: "/commerce-modules/payment/payment-provider/stripe",
|
path: "/commerce-modules/payment/payment-provider/stripe",
|
||||||
title: "Stripe",
|
title: "Stripe",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
@@ -29,6 +29,13 @@ const sidebarMappings: {
|
|||||||
"/deployment",
|
"/deployment",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
module: async () =>
|
||||||
|
import("@/generated/generated-integrations-sidebar.mjs") as Promise<{
|
||||||
|
default: Sidebar.Sidebar
|
||||||
|
}>,
|
||||||
|
paths: ["/integrations"],
|
||||||
|
},
|
||||||
]
|
]
|
||||||
export async function getSidebarForPath(
|
export async function getSidebarForPath(
|
||||||
currentPath: string
|
currentPath: string
|
||||||
|
|||||||
Reference in new issue
Block a user