// --------------------------------------------------------------------------- // Client-side types — used by components and hooks (no Node.js Buffer) // --------------------------------------------------------------------------- export type FileStatus = 'pending' | 'uploading' | 'success' | 'error' export interface TextureFile { name: string file: File } export type DriveStatus = 'pending' | 'uploading' | 'success' | 'error' | 'skipped' export interface FolderEntry { folderName: string modelFile: File textures: TextureFile[] status: FileStatus progress: number error?: string filename?: string modelUrl?: string viewerOpen?: boolean warnings: string[] driveStatus?: DriveStatus driveError?: string }