Files
medusa-store/www/apps/resources/sidebars/auth.mjs
Shahed Nasser fd1afa8bc9 docs: split events reference across modules (#10711)
* docs: split events reference across modules

* add lint exceptions
2024-12-24 09:54:51 +02:00

134 lines
3.5 KiB
JavaScript

/** @type {import('types').RawSidebarItem[]} */
export const authSidebar = [
{
type: "category",
title: "Auth Module",
isChildSidebar: true,
children: [
{
type: "link",
path: "/commerce-modules/auth",
title: "Overview",
},
{
type: "link",
path: "/commerce-modules/auth/module-options",
title: "Module Options",
},
{
type: "link",
path: "/commerce-modules/auth/examples",
title: "Examples",
},
{
type: "sub-category",
title: "Concepts",
children: [
{
type: "link",
path: "/commerce-modules/auth/auth-identity-and-actor-types",
title: "Identity and Actor Types",
},
{
type: "link",
path: "/commerce-modules/auth/auth-providers",
title: "Auth Providers",
},
{
type: "link",
path: "/commerce-modules/auth/auth-flows",
title: "Auth Flow with Module",
},
{
type: "link",
path: "/commerce-modules/auth/authentication-route",
title: "Auth Flow with Routes",
},
],
},
{
type: "sub-category",
title: "Guides",
children: [
{
type: "link",
path: "/commerce-modules/auth/create-actor-type",
title: "Create an Actor Type",
},
{
type: "link",
path: "/commerce-modules/auth/reset-password",
title: "Handle Password Reset Event",
},
{
type: "link",
path: "/references/auth/provider",
title: "Create Auth Provider Module",
},
],
},
{
type: "sub-category",
title: "Providers",
children: [
{
type: "link",
path: "/commerce-modules/auth/auth-providers/emailpass",
title: "Emailpass Provider",
},
{
type: "link",
path: "/commerce-modules/auth/auth-providers/google",
title: "Google Provider",
},
{
type: "link",
path: "/commerce-modules/auth/auth-providers/github",
title: "GitHub Provider",
},
],
},
{
type: "sub-category",
title: "References",
children: [
{
type: "link",
path: "/commerce-modules/auth/events",
title: "Events Reference",
},
{
type: "link",
path: "/references/auth",
title: "Main Service Reference",
isChildSidebar: true,
childSidebarTitle: "Auth Module's Main Service Reference",
children: [
{
type: "category",
title: "Methods",
autogenerate_path:
"/references/auth/IAuthModuleService/methods",
},
],
},
{
type: "link",
path: "/references/auth/models",
title: "Data Models Reference",
isChildSidebar: true,
childSidebarTitle: "Auth Module Data Models Reference",
children: [
{
type: "category",
title: "Data Models",
autogenerate_path: "/references/auth_models/variables",
},
],
},
],
},
],
},
]