diff --git a/SharpbinV3.Client/src/lib/types/report.ts b/SharpbinV3.Client/src/lib/types/report.ts index ab69065..1a596cf 100644 --- a/SharpbinV3.Client/src/lib/types/report.ts +++ b/SharpbinV3.Client/src/lib/types/report.ts @@ -25,14 +25,12 @@ export interface ReportListResponse { } export const reportTypeLabels = [ - 'Spam', - 'Abuse', - 'InappropriateContent', 'CopyrightViolation', + 'IllegalContent', 'Fraud', 'Other' ] as const; -export const reportStatusLabels = ['Open', 'InProgress', 'Resolved', 'Closed'] as const; +export const reportStatusLabels = ['Open', 'Closed'] as const; export const reportTargetLabels = ['Paste', 'User'] as const; diff --git a/SharpbinV3.Server/DTOs/Report/ReportDto.cs b/SharpbinV3.Server/DTOs/Report/ReportDto.cs index 72dbb80..f4a56c8 100644 --- a/SharpbinV3.Server/DTOs/Report/ReportDto.cs +++ b/SharpbinV3.Server/DTOs/Report/ReportDto.cs @@ -8,7 +8,7 @@ namespace SharpbinV3.Server.DTOs.Report [MinLength(12), MaxLength(1000)] public string Description { get; set; } = string.Empty; [Required] - public string ReportType { get; set; } = string.Empty; // e.g., "Spam", "Abuse", etc. + public string ReportType { get; set; } = string.Empty; public string ReportStatus { get; set; } = "Open"; public string? VerificationToken { get; set; } } diff --git a/SharpbinV3.Server/Data/Entities/Report.cs b/SharpbinV3.Server/Data/Entities/Report.cs index efbd709..3a39f78 100644 --- a/SharpbinV3.Server/Data/Entities/Report.cs +++ b/SharpbinV3.Server/Data/Entities/Report.cs @@ -36,16 +36,12 @@ namespace SharpbinV3.Server.Data.Entities public enum ReportStatus { Open, - InProgress, - Resolved, Closed } public enum ReportType { - Spam, - Abuse, - InappropriateContent, CopyrightViolation, + IllegalContent, Fraud, Other }