Add 'Mark as Cleaned Up' functionality

- Add cleaned_at and cleaned_by_user_id fields to reports table
- Create database migration for cleanup tracking
- Add markAsCleaned backend endpoint and service method
- Add Mark as Cleaned Up button to ReportDetailModal
- Update types to include cleaned fields
- Add frontend handler to mark reports as cleaned
This commit is contained in:
2025-11-16 22:26:59 +00:00
parent beb5d8e7d8
commit 17e3e85781
9 changed files with 168 additions and 21 deletions

View File

@@ -43,6 +43,8 @@ export interface Report {
updatedAt: Date;
submittedAt: Date;
verificationStatus: VerificationStatus;
cleanedAt?: Date;
cleanedByUserId?: string;
}
export interface CleanupEvent {