(path: string)
| 82 | } |
| 83 | |
| 84 | export function apiGet<T>(path: string): Promise<T> { |
| 85 | return request<T>(path); |
| 86 | } |
| 87 | |
| 88 | export function apiPut<T>(path: string, body: unknown): Promise<T> { |
| 89 | return request<T>(path, { method: "PUT", body: JSON.stringify(body) }); |
no test coverage detected