(path: string, init?: ApiFetchInit)
| 112 | } |
| 113 | |
| 114 | export async function apiFetchBlob(path: string, init?: ApiFetchInit): Promise<Blob> { |
| 115 | const response = await apiResponse(path, init) |
| 116 | return response.blob() |
| 117 | } |
| 118 | |
| 119 | export function listFsEntries(path: string, daemonId: string): Promise<FsListResponse> { |
| 120 | return apiFetch<FsListResponse>('/fs/list', { |
no test coverage detected