Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const storeSidebar = [
3 {
4 type: "sidebar",
5 sidebar_id: "store",
6 title: "Store Module",
7 children: [
8 {
9 type: "link",
10 path: "/commerce-modules/store",
11 title: "Overview",
12 },
13 {
14 type: "separator",
15 },
16 {
17 type: "category",
18 title: "Concepts",
19 children: [
20 {
21 type: "link",
22 path: "/commerce-modules/store/locales",
23 title: "Locales",
24 },
25 {
26 type: "link",
27 path: "/commerce-modules/store/links-to-other-modules",
28 title: "Link to Modules",
29 },
30 ],
31 },
32 {
33 type: "category",
34 title: "Server Guides",
35 autogenerate_tags: "server+store",
36 autogenerate_as_ref: true,
37 sort_sidebar: "alphabetize",
38 description:
39 "Learn how to use the Store Module in your customizations on the Medusa application server.",
40 },
41 {
42 type: "category",
43 title: "Storefront Guides",
44 autogenerate_tags: "storefront+store,-jsSdk",
45 autogenerate_as_ref: true,
46 sort_sidebar: "alphabetize",
47 description:
48 "Learn how to integrate the Store Module's features into your storefront.",
49 },
50 {
51 type: "category",
52 title: "Admin Guides",
53 autogenerate_tags: "admin+store,-jsSdk",
54 autogenerate_as_ref: true,
55 sort_sidebar: "alphabetize",
56 description:
57 "Learn how to utilize administative features of the Store Module.",
58 },
59 {
60 type: "category",
61 title: "Admin User Guides",
62 autogenerate_tags: "userGuide+store",
63 autogenerate_as_ref: true,
64 sort_sidebar: "alphabetize",
65 description:
66 "Learn how to utilize and manage Store features in the Medusa Admin dashboard.",
67 },
68 {
69 type: "category",
70 title: "References",
71 description:
72 "Find references for tools and resources related to the Store Module, such as data models, methods, and more. These are useful for your customizations.",
73 children: [
74 {
75 type: "link",
76 path: "/commerce-modules/store/workflows",
77 title: "Workflows",
78 hideChildren: true,
79 children: [
80 {
81 type: "category",
82 title: "Workflows",
83 autogenerate_tags: "workflow+store",
84 autogenerate_as_ref: true,
85 sort_sidebar: "alphabetize",
86 },
87 {
88 type: "category",
89 title: "Steps",
90 autogenerate_tags: "step+store",
91 autogenerate_as_ref: true,
92 sort_sidebar: "alphabetize",
93 },
94 ],
95 },
96 {
97 type: "link",
98 path: "/commerce-modules/store/js-sdk",
99 title: "JS SDK",
100 hideChildren: true,
101 children: [
102 {
103 type: "sub-category",
104 title: "Store",
105 autogenerate_tags: "jsSdk+storefront+store",
106 description:
107 "The following methods or properties are used to send requests to Store API Routes related to the Store Module.",
108 autogenerate_as_ref: true,
109 sort_sidebar: "alphabetize",
110 },
111 {
112 type: "sub-category",
113 title: "Admin",
114 autogenerate_tags: "jsSdk+admin+store",
115 description:
116 "The following methods or properties are used to send requests to Admin API Routes related to the Store Module.",
117 autogenerate_as_ref: true,
118 sort_sidebar: "alphabetize",
119 },
120 ],
121 },
122 {
123 type: "link",
124 path: "/commerce-modules/store/admin-widget-zones",
125 title: "Admin Widget Zones",
126 },
127 {
128 type: "sidebar",
129 sidebar_id: "store-service-reference",
130 title: "Main Service Reference",
131 childSidebarTitle: "Store Module's Main Service Reference",
132 children: [
133 {
134 type: "link",
135 path: "/references/store",
136 title: "Reference Overview",
137 },
138 {
139 type: "separator",
140 },
141 {
142 type: "category",
143 title: "Methods",
144 autogenerate_path:
145 "/references/store/IStoreModuleService/methods",
146 },
147 ],
148 },
149 {
150 type: "sidebar",
151 sidebar_id: "store-models-reference",
152 title: "Data Models Reference",
153 childSidebarTitle: "Store Module Data Models Reference",
154 children: [
155 {
156 type: "link",
157 path: "/references/store/models",
158 title: "Reference Overview",
159 },
160 {
161 type: "separator",
162 },
163 {
164 type: "category",
165 title: "Data Models",
166 autogenerate_path: "/references/store_models/variables",
167 },
168 ],
169 },
170 ],
171 },
172 ],
173 },
174 ]