mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:51:12 -05:00
Refactor: Implement moderation queue enhancements
This commit is contained in:
@@ -80,6 +80,7 @@ export interface ModerationItem {
|
||||
id: string;
|
||||
item_type: string;
|
||||
item_data: any;
|
||||
original_data?: any;
|
||||
status: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
* Photo-related type definitions
|
||||
*/
|
||||
|
||||
import type { PhotoSubmissionItem } from './photo-submissions';
|
||||
|
||||
// Core photo display interface
|
||||
export interface PhotoItem {
|
||||
id: string;
|
||||
@@ -30,13 +32,3 @@ export type PhotoDataSource =
|
||||
| { type: 'review'; photos: any[] }
|
||||
| { type: 'submission_jsonb'; photos: any[] }
|
||||
| { type: 'submission_items'; items: PhotoSubmissionItem[] };
|
||||
|
||||
export interface PhotoSubmissionItem {
|
||||
id: string;
|
||||
cloudflare_image_id: string;
|
||||
cloudflare_image_url: string;
|
||||
title?: string;
|
||||
caption?: string;
|
||||
date_taken?: string;
|
||||
order_index: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user