(cacheId: string)
| 7 | } |
| 8 | |
| 9 | async clear(cacheId: string): Promise<{ success: boolean; error?: string; message?: string }> { |
| 10 | return post<{ success: boolean; error?: string; message?: string }>('/cache/clear', { cacheId }) |
| 11 | } |
| 12 | |
| 13 | async getDataDir(): Promise<DataDirInfo> { |
| 14 | return get<DataDirInfo>('/cache/data-dir') |