mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 15:11:12 -05:00
Refactor to defer photo uploads
This commit is contained in:
@@ -8,10 +8,12 @@ import { X, Eye, GripVertical, Edit3 } from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
export interface PhotoWithCaption {
|
||||
url: string;
|
||||
url: string; // Object URL for preview, Cloudflare URL after upload
|
||||
file?: File; // The actual file to upload later
|
||||
caption: string;
|
||||
title?: string;
|
||||
order: number;
|
||||
uploadStatus?: 'pending' | 'uploading' | 'uploaded' | 'failed';
|
||||
}
|
||||
|
||||
interface PhotoCaptionEditorProps {
|
||||
|
||||
Reference in New Issue
Block a user