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