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