(data: FormData)
| 240 | const getFiles = (): Promise<Response> => fetch(BASE_PATH + 'api/files'); |
| 241 | |
| 242 | const uploadFile = (data: FormData): Promise<Response> => |
| 243 | fetch(BASE_PATH + 'api/files', { |
| 244 | method: 'POST', |
| 245 | body: data, |
| 246 | }); |
| 247 | |
| 248 | const deleteFile = (id: number): Promise<Response> => |
| 249 | fetch(BASE_PATH + `api/files/${id}`, { |
nothing calls this directly
no outgoing calls
no test coverage detected