(path: string)
| 31 | }, |
| 32 | |
| 33 | async remove(path: string): Promise<void> { |
| 34 | const response = await client.fetch(`${base}/${path}`, { |
| 35 | method: "DELETE", |
| 36 | }) |
| 37 | if (!response.ok) throw new Error(`Failed to remove ${path}: ${response.status}`) |
| 38 | }, |
| 39 | |
| 40 | async list(options?: { prefix?: string; limit?: number; after?: string; before?: string }): Promise<string[]> { |
| 41 | const prefix = options?.prefix || "" |