// types.ts
export type WeddingPhoto = {
  id: number | string;
  url: string;
  title?: string;
  date?: string;
  filename?: string;
  path?: string;
  created_at?: string;
};

export type FileQueueItem = {
  id: string;
  file: File;
  previewUrl: string;
  progress: number;
  status: 'pending' | 'uploading' | 'done' | 'error';
  error?: string;
  uploadedPhoto?: WeddingPhoto;
};

export type FolderInfo = {
  title: string;
  count: number;
  thumb?: string;
};
