| 45 | type EmbedProxyService = "cors" | "nfp"; |
| 46 | |
| 47 | export interface UploadProgressState { |
| 48 | phase: UploadPhase; |
| 49 | fileName: string; |
| 50 | currentService: ServiceType | null; |
| 51 | currentServiceLabel: string; |
| 52 | attempt: number; |
| 53 | totalAttempts: number; |
| 54 | percent: number; |
| 55 | transferredBytes: number; |
| 56 | totalBytes: number; |
| 57 | status: string; |
| 58 | canCancel: boolean; |
| 59 | } |
| 60 | |
| 61 | const defaultUploadState: UploadProgressState = { |
| 62 | phase: "idle", |
nothing calls this directly
no outgoing calls
no test coverage detected