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