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