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