MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / UploadProgressState

Interface UploadProgressState

utils/upload.ts:47–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45type EmbedProxyService = "cors" | "nfp";
46
47export 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
61const defaultUploadState: UploadProgressState = {
62 phase: "idle",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected