feat(api): add dashboard summary endpoint (#459)
All checks were successful
ci/woodpecker/push/api Pipeline was successful
All checks were successful
ci/woodpecker/push/api Pipeline was successful
Create GET /api/dashboard/summary aggregating 10 parallel Prisma queries: task metrics, active agents, project counts, error rate, recent activity, active runner jobs with steps, token budget entries. Guarded by AuthGuard + WorkspaceGuard + PermissionGuard. Includes DTO classes and unit tests. Task: MS-P2-001 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1
apps/api/src/dashboard/dto/index.ts
Normal file
1
apps/api/src/dashboard/dto/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./dashboard-summary.dto";
|
||||
Reference in New Issue
Block a user