|
1
|
/** @type {import('types').Sidebar.SidebarItem[]} */ |
|
2
|
export const referencesSidebar = [ |
|
3
|
{ |
|
4
|
type: "link", |
|
5
|
path: "/references-overview", |
|
6
|
title: "Overview", |
|
7
|
}, |
|
8
|
{ |
|
9
|
type: "separator", |
|
10
|
}, |
|
11
|
{ |
|
12
|
type: "link", |
|
13
|
path: "/admin-widget-injection-zones", |
|
14
|
title: "Admin Widget Injection Zones", |
|
15
|
description: "List of injection zones you can add widgets in.", |
|
16
|
}, |
|
17
|
{ |
|
18
|
type: "link", |
|
19
|
path: "/medusa-container-resources", |
|
20
|
title: "Container Resources", |
|
21
|
description: |
|
22
|
"Resources you can access through the Medusa and Module containers.", |
|
23
|
}, |
|
24
|
{ |
|
25
|
type: "sidebar", |
|
26
|
sidebar_id: "core-flows", |
|
27
|
title: "Core Workflows", |
|
28
|
custom_autogenerate: "core-flows", |
|
29
|
description: |
|
30
|
"Built-in workflows and steps you can use in your customizations.", |
|
31
|
}, |
|
32
|
{ |
|
33
|
type: "sidebar", |
|
34
|
sidebar_id: "dml-reference", |
|
35
|
title: "Data Model Language", |
|
36
|
childSidebarTitle: "Data Model Language Reference", |
|
37
|
description: "API reference of the Data Model Langauge (DML).", |
|
38
|
children: [ |
|
39
|
{ |
|
40
|
type: "link", |
|
41
|
path: "/references/data-model", |
|
42
|
title: "Overview", |
|
43
|
}, |
|
44
|
{ |
|
45
|
type: "separator", |
|
46
|
}, |
|
47
|
{ |
|
48
|
type: "link", |
|
49
|
path: "/references/data-model/define", |
|
50
|
title: "Define Method", |
|
51
|
}, |
|
52
|
{ |
|
53
|
type: "separator", |
|
54
|
}, |
|
55
|
{ |
|
56
|
type: "category", |
|
57
|
title: "Property Types", |
|
58
|
autogenerate_path: "/references/dml/Property_Types/methods", |
|
59
|
}, |
|
60
|
{ |
|
61
|
type: "category", |
|
62
|
title: "Relationship Methods", |
|
63
|
autogenerate_path: "/references/dml/Relationship_Methods/methods", |
|
64
|
}, |
|
65
|
{ |
|
66
|
type: "category", |
|
67
|
title: "Model Methods", |
|
68
|
autogenerate_path: "/references/dml/Model_Methods/methods", |
|
69
|
}, |
|
70
|
{ |
|
71
|
type: "category", |
|
72
|
title: "Property Configuration Methods", |
|
73
|
autogenerate_path: |
|
74
|
"/references/dml/Property_Configuration_Methods/methods", |
|
75
|
}, |
|
76
|
], |
|
77
|
}, |
|
78
|
{ |
|
79
|
type: "sidebar", |
|
80
|
sidebar_id: "data-model-repository-reference", |
|
81
|
title: "Data Model Repository", |
|
82
|
description: |
|
83
|
"List of methods in your service extending the data model repository.", |
|
84
|
children: [ |
|
85
|
{ |
|
86
|
type: "link", |
|
87
|
path: "/data-model-repository-reference", |
|
88
|
title: "Overview", |
|
89
|
}, |
|
90
|
{ |
|
91
|
type: "separator", |
|
92
|
}, |
|
93
|
{ |
|
94
|
type: "category", |
|
95
|
title: "Methods", |
|
96
|
initialOpen: true, |
|
97
|
autogenerate_path: "/data-model-repository-reference/methods", |
|
98
|
}, |
|
99
|
{ |
|
100
|
type: "category", |
|
101
|
title: "Tips", |
|
102
|
initialOpen: true, |
|
103
|
autogenerate_path: "/data-model-repository-reference/tips", |
|
104
|
}, |
|
105
|
], |
|
106
|
}, |
|
107
|
{ |
|
108
|
type: "link", |
|
109
|
path: "/references/events", |
|
110
|
title: "Events", |
|
111
|
description: "List of events emitted by Medusa's Commerce Modules.", |
|
112
|
}, |
|
113
|
{ |
|
114
|
type: "sidebar", |
|
115
|
sidebar_id: "helper-steps-reference", |
|
116
|
title: "Helper Steps", |
|
117
|
description: "Steps to query data, emit events, create links, and more.", |
|
118
|
children: [ |
|
119
|
{ |
|
120
|
type: "link", |
|
121
|
path: "/references/helper-steps", |
|
122
|
title: "Overview", |
|
123
|
}, |
|
124
|
{ |
|
125
|
type: "separator", |
|
126
|
}, |
|
127
|
{ |
|
128
|
type: "category", |
|
129
|
title: "Steps", |
|
130
|
autogenerate_path: "/references/helper_steps/functions", |
|
131
|
initialOpen: true, |
|
132
|
}, |
|
133
|
], |
|
134
|
}, |
|
135
|
{ |
|
136
|
type: "sidebar", |
|
137
|
sidebar_id: "service-factory-reference", |
|
138
|
title: "Service Factory", |
|
139
|
description: |
|
140
|
"List of methods in your service extending the service factory.", |
|
141
|
children: [ |
|
142
|
{ |
|
143
|
type: "link", |
|
144
|
path: "/service-factory-reference", |
|
145
|
title: "Overview", |
|
146
|
}, |
|
147
|
{ |
|
148
|
type: "separator", |
|
149
|
}, |
|
150
|
{ |
|
151
|
type: "category", |
|
152
|
title: "Methods", |
|
153
|
initialOpen: true, |
|
154
|
autogenerate_path: "/service-factory-reference/methods", |
|
155
|
}, |
|
156
|
{ |
|
157
|
type: "category", |
|
158
|
title: "Tips", |
|
159
|
initialOpen: true, |
|
160
|
autogenerate_path: "/service-factory-reference/tips", |
|
161
|
}, |
|
162
|
], |
|
163
|
}, |
|
164
|
{ |
|
165
|
type: "sidebar", |
|
166
|
sidebar_id: "test-tools-reference", |
|
167
|
title: "Testing Framework", |
|
168
|
description: "API reference of functions you can use to write tests.", |
|
169
|
children: [ |
|
170
|
{ |
|
171
|
type: "link", |
|
172
|
path: "/test-tools-reference", |
|
173
|
title: "Overview", |
|
174
|
}, |
|
175
|
{ |
|
176
|
type: "separator", |
|
177
|
}, |
|
178
|
{ |
|
179
|
type: "category", |
|
180
|
title: "Functions", |
|
181
|
initialOpen: true, |
|
182
|
children: [ |
|
183
|
{ |
|
184
|
type: "link", |
|
185
|
title: "medusaIntegrationTestRunner", |
|
186
|
path: "/test-tools-reference/medusaIntegrationTestRunner", |
|
187
|
}, |
|
188
|
{ |
|
189
|
type: "link", |
|
190
|
title: "moduleIntegrationTestRunner", |
|
191
|
path: "/test-tools-reference/moduleIntegrationTestRunner", |
|
192
|
}, |
|
193
|
{ |
|
194
|
type: "link", |
|
195
|
title: "normalizeBigNumbers", |
|
196
|
path: "/test-tools-reference/normalizeBigNumbers", |
|
197
|
}, |
|
198
|
], |
|
199
|
}, |
|
200
|
], |
|
201
|
}, |
|
202
|
{ |
|
203
|
type: "sidebar", |
|
204
|
sidebar_id: "workflows-sdk-reference", |
|
205
|
title: "Workflows SDK", |
|
206
|
childSidebarTitle: "Workflows SDK Reference", |
|
207
|
description: "API reference of the Workflow SDK functions and helpers.", |
|
208
|
children: [ |
|
209
|
{ |
|
210
|
type: "link", |
|
211
|
path: "/references/workflows", |
|
212
|
title: "Overview", |
|
213
|
}, |
|
214
|
{ |
|
215
|
type: "separator", |
|
216
|
}, |
|
217
|
{ |
|
218
|
type: "category", |
|
219
|
title: "Functions", |
|
220
|
initialOpen: true, |
|
221
|
autogenerate_path: "/references/workflows/functions", |
|
222
|
}, |
|
223
|
], |
|
224
|
}, |
|
225
|
] |