SPB Git
259 B · 5 lines typescript
1import { handler } from "@/lib/api";2import { listDatabases } from "@/lib/databases/service";3/** All databases of the workspace (relation pickers, template chooser). */4export const GET = handler(async ({ ws }) => Response.json(await listDatabases(ws.id)));5
Files · main
Menu

Theme