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 · 2c37cb5a3e2af18e5ba361996d453cab97da82c2
Menu

Theme