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