fix: harden upload resilience and contracts

This commit is contained in:
Tom Boullay
2026-05-12 23:49:30 +02:00
parent 101af23418
commit 606df93b69
19 changed files with 479 additions and 159 deletions
+3 -2
View File
@@ -1,11 +1,11 @@
type FileStatus = 'pending' | 'uploading' | 'success' | 'error'
export type FileStatus = 'pending' | 'uploading' | 'success' | 'error'
export interface TextureFile {
name: string
file: File
}
type DriveStatus = 'pending' | 'uploading' | 'success' | 'error' | 'skipped'
export type DriveStatus = 'pending' | 'uploading' | 'success' | 'error' | 'skipped'
export interface FolderEntry {
folderName: string
@@ -14,6 +14,7 @@ export interface FolderEntry {
status: FileStatus
progress: number
error?: string
uploadWarning?: string
filename?: string
modelUrl?: string
assetUrls: Record<string, string>