(body)
| 101 | } |
| 102 | |
| 103 | export async function wizardStep3(body) { |
| 104 | const res = await apiFetch('/api/ui/wizard/step3', { |
| 105 | method: 'POST', |
| 106 | headers: { 'Content-Type': 'application/json' }, |
| 107 | body: JSON.stringify(body), |
| 108 | }) |
| 109 | if (!res.ok) throw new Error(await res.text()) |
| 110 | } |
| 111 | |
| 112 | export async function fetchBrowse(path) { |
| 113 | const res = await apiFetch('/api/ui/browse?path=' + encodeURIComponent(path || '/')) |
no test coverage detected