feat: add admin reports API route

- GET /admin/reports with pagination, status filtering, joins, and batch author name lookup
- PATCH /admin/reports/:id/status to review (soft-delete entry) or dismiss
- Register route in lib/api/index.ts and app/api/[[...slugs]]/route.ts
This commit is contained in:
2026-04-28 07:44:39 +08:00
parent 37e51f4d48
commit 1108264e4c
3 changed files with 197 additions and 0 deletions
+1
View File
@@ -11,3 +11,4 @@ export { hardwareStatsRoutes } from "./hardware-stats"
export { savedGamesRoutes } from "./saved-games"
export { reportRoutes } from "./reports"
export { contactRoutes } from "./contact"
export { adminReportRoutes } from "./admin-reports"