(action: string)
| 181 | } |
| 182 | |
| 183 | export async function startAdminSystemUpdateActionTask(action: string) { |
| 184 | const response = await apiClient.post<{ ok: boolean; task: AdminTask }>(`${SYSTEM_BASE}/tasks/system-update-action`, { |
| 185 | action, |
| 186 | }) |
| 187 | return response.data |
| 188 | } |
| 189 | |
| 190 | export async function getAdminRepairs(limit = 50) { |
| 191 | const response = await apiClient.get<AdminRepairsPayload>(`${SYSTEM_BASE}/repairs`, { |
no outgoing calls
no test coverage detected