Files
zpan/migrations
Jasper Van 892a6fc78e feat: implement storage CRUD API with bucket pool selection (#249)
Admin-only endpoints at /api/admin/storages for managing S3-compatible
storage backends. Each storage has a capacity limit; multiple storages
of the same mode form a pool with sequential fill routing.

- StorageService with CRUD + selectStorage pool logic (SQL-level filter)
- Zod validation on POST/PUT with shared schemas
- D1 migration adding capacity/used columns, dropping uid
- Node tests (23 cases) and CF tests (6 cases) all passing

Agent-Profile: https://agent-kanban.dev/agents/a6bb038c4226a87f

Co-authored-by: Bob <aibob@mails.agent-kanban.dev>
2026-04-08 01:22:15 -04:00
..