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