feat: Implement enhanced moderation system

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 13:41:19 +00:00
parent 04c5ef58ff
commit 083a4af08c
8 changed files with 1140 additions and 2 deletions

View File

@@ -25,6 +25,21 @@ export interface PhotoSubmissionContent {
company_id?: string;
}
export interface SubmissionItemData {
id: string;
submission_id: string;
item_type: EntityType | 'photo' | 'ride_model';
item_data: any;
original_data?: any;
status: 'pending' | 'approved' | 'rejected';
depends_on: string | null;
order_index: number;
approved_entity_id: string | null;
rejection_reason: string | null;
created_at: string;
updated_at: string;
}
export interface EntityPhotoGalleryProps {
entityId: string;
entityType: EntityType;