feat: add admin comments API route

- GET /admin/comments: list all comments with pagination, removed filter, and author search
- PATCH /admin/comments/:id/remove: admin-only soft delete
- PATCH /admin/comments/:id/restore: admin-only restore
This commit is contained in:
2026-04-28 07:55:57 +08:00
parent 6d27ec03ab
commit 2ab4ac5ebc
3 changed files with 167 additions and 0 deletions
+1
View File
@@ -13,3 +13,4 @@ export { reportRoutes } from "./reports"
export { contactRoutes } from "./contact"
export { adminReportRoutes } from "./admin-reports"
export { adminPerformanceRoutes } from "./admin-performance"
export { adminCommentRoutes } from "./admin-comments"