Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const infrastructureModulesSidebar = [
3 {
4 type: "link",
5 path: "/infrastructure-modules",
6 title: "Overview",
7 },
8 {
9 type: "separator",
10 },
11 {
12 type: "category",
13 title: "Analytics Module",
14 initialOpen: true,
15 children: [
16 {
17 type: "link",
18 path: "/infrastructure-modules/analytics",
19 title: "Overview",
20 },
21 {
22 type: "sub-category",
23 title: "Modules",
24 children: [
25 {
26 type: "link",
27 path: "/infrastructure-modules/analytics/local",
28 title: "Local",
29 },
30 {
31 type: "link",
32 path: "/infrastructure-modules/analytics/posthog",
33 title: "PostHog",
34 },
35 {
36 type: "ref",
37 path: "/integrations/guides/segment",
38 title: "Segment",
39 },
40 ],
41 },
42 {
43 type: "sub-category",
44 title: "Guides",
45 children: [
46 {
47 type: "link",
48 path: "/references/analytics/provider",
49 title: "Create Analytics Module Provider",
50 },
51 {
52 type: "link",
53 path: "/references/analytics/service",
54 title: "Use Analytics Module",
55 },
56 ],
57 },
58 ],
59 },
60 {
61 type: "category",
62 title: "Caching Module",
63 initialOpen: true,
64 children: [
65 {
66 type: "link",
67 path: "/infrastructure-modules/caching",
68 title: "Overview",
69 },
70 {
71 type: "link",
72 path: "/infrastructure-modules/caching/concepts",
73 title: "Concepts",
74 },
75 {
76 type: "link",
77 path: "/infrastructure-modules/caching/migrate-cache",
78 title: "Migrate from Cache Module",
79 },
80 {
81 type: "link",
82 title: "Providers",
83 path: "/infrastructure-modules/caching/providers",
84 children: [
85 {
86 type: "link",
87 path: "/infrastructure-modules/caching/providers/redis",
88 title: "Redis",
89 },
90 {
91 type: "link",
92 path: "/infrastructure-modules/caching/guides/memcached",
93 title: "Memcached",
94 },
95 ],
96 },
97 {
98 type: "sub-category",
99 title: "Guides",
100 children: [
101 {
102 type: "link",
103 path: "/infrastructure-modules/caching/guides/clear-cache",
104 title: "Clear Cache",
105 },
106 {
107 type: "link",
108 path: "/references/caching-module-provider",
109 title: "Create Caching Module Provider",
110 },
111 {
112 type: "link",
113 path: "/references/caching-service",
114 title: "Use Caching Module",
115 },
116 ],
117 },
118 ],
119 },
120 {
121 type: "category",
122 title: "Cache Module",
123 initialOpen: false,
124 badge: {
125 variant: "neutral",
126 text: "Deprecated",
127 },
128 children: [
129 {
130 type: "link",
131 path: "/infrastructure-modules/cache",
132 title: "Overview",
133 },
134 {
135 type: "sub-category",
136 title: "Modules",
137 children: [
138 {
139 type: "link",
140 path: "/infrastructure-modules/cache/in-memory",
141 title: "In-Memory",
142 },
143 {
144 type: "link",
145 path: "/infrastructure-modules/cache/redis",
146 title: "Redis",
147 },
148 ],
149 },
150 {
151 type: "sub-category",
152 title: "Guides",
153 children: [
154 {
155 type: "link",
156 path: "/infrastructure-modules/cache/create",
157 title: "Create Cache Module",
158 },
159 {
160 type: "link",
161 path: "/references/cache-service",
162 title: "Use Cache Module",
163 },
164 ],
165 },
166 ],
167 },
168 {
169 type: "category",
170 title: "Event Module",
171 initialOpen: true,
172 children: [
173 {
174 type: "link",
175 path: "/infrastructure-modules/event",
176 title: "Overview",
177 },
178 {
179 type: "sub-category",
180 title: "Modules",
181 children: [
182 {
183 type: "link",
184 path: "/infrastructure-modules/event/local",
185 title: "Local",
186 },
187 {
188 type: "link",
189 path: "/infrastructure-modules/event/redis",
190 title: "Redis",
191 },
192 ],
193 },
194 {
195 type: "sub-category",
196 title: "Guides",
197 children: [
198 {
199 type: "link",
200 path: "/infrastructure-modules/event/create",
201 title: "Create Event Module",
202 },
203 {
204 type: "link",
205 path: "/references/event-service",
206 title: "Use Event Module",
207 },
208 ],
209 },
210 ],
211 },
212 {
213 type: "category",
214 title: "File Module",
215 initialOpen: true,
216 children: [
217 {
218 type: "link",
219 path: "/infrastructure-modules/file",
220 title: "Overview",
221 },
222 {
223 type: "sub-category",
224 title: "Providers",
225 children: [
226 {
227 type: "link",
228 path: "/infrastructure-modules/file/local",
229 title: "Local",
230 },
231 {
232 type: "link",
233 path: "/infrastructure-modules/file/s3",
234 title: "AWS S3 (and Compatible APIs)",
235 },
236 ],
237 },
238 {
239 type: "sub-category",
240 title: "Guides",
241 children: [
242 {
243 type: "link",
244 path: "/references/file-provider-module",
245 title: "Create File Provider",
246 },
247 {
248 type: "link",
249 path: "/references/file-service",
250 title: "Use File Module",
251 },
252 ],
253 },
254 ],
255 },
256 {
257 type: "category",
258 title: "Locking Module",
259 initialOpen: true,
260 children: [
261 {
262 type: "link",
263 path: "/infrastructure-modules/locking",
264 title: "Overview",
265 },
266 {
267 type: "sub-category",
268 title: "Providers",
269 children: [
270 {
271 type: "link",
272 path: "/infrastructure-modules/locking/redis",
273 title: "Redis",
274 },
275 {
276 type: "link",
277 path: "/infrastructure-modules/locking/postgres",
278 title: "PostgreSQL",
279 },
280 ],
281 },
282 {
283 type: "sub-category",
284 title: "Guides",
285 children: [
286 {
287 type: "link",
288 path: "/references/locking-module-provider",
289 title: "Create Locking Provider",
290 },
291 {
292 type: "link",
293 path: "/references/locking-service",
294 title: "Use Locking Module",
295 },
296 ],
297 },
298 ],
299 },
300 {
301 type: "category",
302 title: "Notification Module",
303 initialOpen: true,
304 children: [
305 {
306 type: "link",
307 path: "/infrastructure-modules/notification",
308 title: "Overview",
309 },
310 {
311 type: "sub-category",
312 title: "Providers",
313 children: [
314 {
315 type: "link",
316 path: "/infrastructure-modules/notification/local",
317 title: "Local",
318 },
319 {
320 type: "link",
321 path: "/infrastructure-modules/notification/sendgrid",
322 title: "SendGrid",
323 },
324 ],
325 },
326 {
327 type: "sub-category",
328 title: "Guides",
329 autogenerate_tags: "notification+server",
330 autogenerate_as_ref: true,
331 sort_sidebar: "alphabetize",
332 children: [
333 {
334 type: "link",
335 path: "/references/notification-provider-module",
336 title: "Create Notification Provider",
337 },
338 {
339 type: "ref",
340 path: "/integrations/guides/resend",
341 title: "Integrate Resend",
342 },
343 {
344 type: "link",
345 path: "/infrastructure-modules/notification/send-notification",
346 title: "Send Notification",
347 },
348 {
349 type: "link",
350 path: "/references/notification-service",
351 title: "Use Notification Module",
352 },
353 ],
354 },
355 ],
356 },
357 {
358 type: "category",
359 title: "Search Module",
360 initialOpen: true,
361 children: [
362 {
363 type: "link",
364 path: "/infrastructure-modules/search",
365 title: "Overview",
366 },
367 {
368 type: "link",
369 path: "/infrastructure-modules/search/index-definitions",
370 title: "Index Definitions",
371 children: [
372 {
373 type: "link",
374 path: "/infrastructure-modules/search/index-definitions/fields",
375 title: "Index Fields",
376 },
377 {
378 type: "link",
379 path: "/infrastructure-modules/search/index-definitions/modifiers",
380 title: "Index Field Modifiers",
381 },
382 {
383 type: "link",
384 path: "/infrastructure-modules/search/index-definitions/linked-data",
385 title: "Index Linked Module Data",
386 },
387 ],
388 },
389 {
390 type: "link",
391 path: "/infrastructure-modules/search/product-index-examples",
392 title: "Product Index Examples",
393 },
394 {
395 type: "link",
396 path: "/infrastructure-modules/search/store-search",
397 title: "Store Search API Route",
398 },
399 {
400 type: "link",
401 path: "/infrastructure-modules/search/reindexing",
402 title: "Reindexing and Migrations",
403 },
404 {
405 type: "link",
406 path: "/infrastructure-modules/search/admin-search",
407 title: "Medusa Admin Search",
408 },
409 {
410 type: "ref",
411 path: "/instantsearch",
412 title: "InstantSearch Adapter",
413 },
414 {
415 type: "link",
416 title: "Providers",
417 path: "/infrastructure-modules/search/providers",
418 children: [
419 {
420 type: "link",
421 path: "/infrastructure-modules/search/providers/postgres",
422 title: "PostgreSQL",
423 },
424 {
425 type: "ref",
426 path: "https://docs.medusajs.com/cloud/search",
427 title: "Medusa Search",
428 children: [
429 {
430 type: "ref",
431 path: "https://docs.medusajs.com/cloud/search/semantic-search#best-practices-for-what-to-embed",
432 title: "Semantic Search Best Practices",
433 },
434 {
435 type: "ref",
436 path: "https://docs.medusajs.com/cloud/search/comparison",
437 title: "Compare Search Providers",
438 },
439 {
440 type: "ref",
441 path: "https://docs.medusajs.com/cloud/search/postgres",
442 title: "Compare to PostgreSQL",
443 },
444 {
445 type: "ref",
446 path: "https://docs.medusajs.com/cloud/search/algolia",
447 title: "Compare to Algolia",
448 },
449 {
450 type: "ref",
451 path: "https://docs.medusajs.com/cloud/search/meilisearch",
452 title: "Compare to Meilisearch",
453 },
454 ],
455 },
456 ],
457 },
458 {
459 type: "sub-category",
460 title: "Guides",
461 children: [
462 {
463 type: "link",
464 path: "/references/search/provider",
465 title: "Create Search Module Provider",
466 },
467 {
468 type: "link",
469 path: "/references/search/service",
470 title: "Use Search Module",
471 },
472 ],
473 },
474 ],
475 },
476 {
477 type: "category",
478 title: "Workflow Engine Module",
479 initialOpen: true,
480 children: [
481 {
482 type: "link",
483 path: "/infrastructure-modules/workflow-engine",
484 title: "Overview",
485 },
486 {
487 type: "sub-category",
488 title: "Modules",
489 children: [
490 {
491 type: "link",
492 path: "/infrastructure-modules/workflow-engine/in-memory",
493 title: "In-Memory",
494 },
495 {
496 type: "link",
497 path: "/infrastructure-modules/workflow-engine/redis",
498 title: "Redis",
499 },
500 ],
501 },
502 {
503 type: "sub-category",
504 title: "Guides",
505 children: [
506 {
507 type: "link",
508 path: "/infrastructure-modules/workflow-engine/how-to-use",
509 title: "Use Workflow Engine Module",
510 },
511 ],
512 },
513 ],
514 },
515 ]