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