@@ -118,147 +118,147 @@ export const sidebarConfig: SidebarGroup[] = [
118118 { label : 'Overview' , slug : `api/${ apiVersion } ` } ,
119119 {
120120 label : 'Sprites' ,
121- collapsed : true ,
121+ collapsed : false ,
122122 items : [
123123 {
124124 label : 'Create Sprite' ,
125125 link : `/api/${ apiVersion } /sprites#create-sprite` ,
126- badge : { text : 'POST ' , variant : 'success ' as const } ,
126+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
127127 } ,
128128 {
129129 label : 'List Sprites' ,
130130 link : `/api/${ apiVersion } /sprites#list-sprites` ,
131- badge : { text : 'GET ' , variant : 'note ' as const } ,
131+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
132132 } ,
133133 {
134134 label : 'Get Sprite' ,
135135 link : `/api/${ apiVersion } /sprites#get-sprite` ,
136- badge : { text : 'GET ' , variant : 'note ' as const } ,
136+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
137137 } ,
138138 {
139139 label : 'Update Sprite' ,
140140 link : `/api/${ apiVersion } /sprites#update-sprite` ,
141- badge : { text : 'PUT ' , variant : 'caution ' as const } ,
141+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-put' } ,
142142 } ,
143143 {
144144 label : 'Delete Sprite' ,
145145 link : `/api/${ apiVersion } /sprites#delete-sprite` ,
146- badge : { text : 'DELETE ' , variant : 'danger ' as const } ,
146+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-delete' } ,
147147 } ,
148148 ] ,
149149 } ,
150150 {
151151 label : 'Checkpoints' ,
152- collapsed : true ,
152+ collapsed : false ,
153153 items : [
154154 {
155155 label : 'Create Checkpoint' ,
156156 link : `/api/${ apiVersion } /checkpoints#create-checkpoint` ,
157- badge : { text : 'POST ' , variant : 'success ' as const } ,
157+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
158158 } ,
159159 {
160160 label : 'List Checkpoints' ,
161161 link : `/api/${ apiVersion } /checkpoints#list-checkpoints` ,
162- badge : { text : 'GET ' , variant : 'note ' as const } ,
162+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
163163 } ,
164164 {
165165 label : 'Get Checkpoint' ,
166166 link : `/api/${ apiVersion } /checkpoints#get-checkpoint` ,
167- badge : { text : 'GET ' , variant : 'note ' as const } ,
167+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
168168 } ,
169169 {
170170 label : 'Restore Checkpoint' ,
171171 link : `/api/${ apiVersion } /checkpoints#restore-checkpoint` ,
172- badge : { text : 'POST ' , variant : 'success ' as const } ,
172+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
173173 } ,
174174 ] ,
175175 } ,
176176 {
177177 label : 'Exec' ,
178- collapsed : true ,
178+ collapsed : false ,
179179 items : [
180180 {
181181 label : 'Execute Command' ,
182182 link : `/api/${ apiVersion } /exec#execute-command` ,
183- badge : { text : 'WSS ' , variant : 'tip ' as const } ,
183+ badge : { text : 'β‘ ' , variant : 'default ' as const , class : 'sidebar-method-wss' } ,
184184 } ,
185185 {
186186 label : 'List Exec Sessions' ,
187187 link : `/api/${ apiVersion } /exec#list-exec-sessions` ,
188- badge : { text : 'GET ' , variant : 'note ' as const } ,
188+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
189189 } ,
190190 {
191191 label : 'Attach to Exec Session' ,
192192 link : `/api/${ apiVersion } /exec#attach-to-exec-session` ,
193- badge : { text : 'WSS ' , variant : 'tip ' as const } ,
193+ badge : { text : 'β‘ ' , variant : 'default ' as const , class : 'sidebar-method-wss' } ,
194194 } ,
195195 {
196196 label : 'Kill Exec Session' ,
197197 link : `/api/${ apiVersion } /exec#kill-exec-session` ,
198- badge : { text : 'POST ' , variant : 'success ' as const } ,
198+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
199199 } ,
200200 ] ,
201201 } ,
202202 {
203203 label : 'Policy' ,
204- collapsed : true ,
204+ collapsed : false ,
205205 items : [
206206 {
207207 label : 'Get Network Policy' ,
208208 link : `/api/${ apiVersion } /policy#get-network-policy` ,
209- badge : { text : 'GET ' , variant : 'note ' as const } ,
209+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
210210 } ,
211211 {
212212 label : 'Set Network Policy' ,
213213 link : `/api/${ apiVersion } /policy#set-network-policy` ,
214- badge : { text : 'POST ' , variant : 'success ' as const } ,
214+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
215215 } ,
216216 ] ,
217217 } ,
218218 {
219219 label : 'HTTP Proxy' ,
220- collapsed : true ,
220+ collapsed : false ,
221221 items : [
222222 {
223223 label : 'TCP Proxy' ,
224224 link : `/api/${ apiVersion } /proxy#tcp-proxy` ,
225- badge : { text : 'WSS ' , variant : 'tip ' as const } ,
225+ badge : { text : 'β‘ ' , variant : 'default ' as const , class : 'sidebar-method-wss' } ,
226226 } ,
227227 ] ,
228228 } ,
229229 {
230230 label : 'Services' ,
231- collapsed : true ,
231+ collapsed : false ,
232232 items : [
233233 {
234234 label : 'List Services' ,
235235 link : `/api/${ apiVersion } /services#list-services` ,
236- badge : { text : 'GET ' , variant : 'note ' as const } ,
236+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
237237 } ,
238238 {
239239 label : 'Get Service' ,
240240 link : `/api/${ apiVersion } /services#get-service` ,
241- badge : { text : 'GET ' , variant : 'note ' as const } ,
241+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
242242 } ,
243243 {
244244 label : 'Create Service' ,
245245 link : `/api/${ apiVersion } /services#create-service` ,
246- badge : { text : 'PUT ' , variant : 'caution ' as const } ,
246+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-put' } ,
247247 } ,
248248 {
249249 label : 'Start Service' ,
250250 link : `/api/${ apiVersion } /services#start-service` ,
251- badge : { text : 'POST ' , variant : 'success ' as const } ,
251+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
252252 } ,
253253 {
254254 label : 'Stop Service' ,
255255 link : `/api/${ apiVersion } /services#stop-service` ,
256- badge : { text : 'POST ' , variant : 'success ' as const } ,
256+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-post' } ,
257257 } ,
258258 {
259259 label : 'Get Service Logs' ,
260260 link : `/api/${ apiVersion } /services#get-service-logs` ,
261- badge : { text : 'GET ' , variant : 'note ' as const } ,
261+ badge : { text : 'β ' , variant : 'default ' as const , class : 'sidebar-method-get' } ,
262262 } ,
263263 ] ,
264264 } ,
0 commit comments