Skip to content

FileUploadProgress

@blobs/sdk v0.1.0


@blobs/sdk / models/FilePreview / FileUploadProgress

Defined in: models/FilePreview.ts:34

Snapshot of upload progress for a single FilePreview.

Reported through upload-progress events from FileManager and also written back onto FilePreview.progress.

Properties

loaded

loaded: number

Defined in: models/FilePreview.ts:36

Bytes uploaded so far.


total

total: number

Defined in: models/FilePreview.ts:38

Total byte size of the upload.


percentage

percentage: number

Defined in: models/FilePreview.ts:40

Percent complete, rounded to a whole number (0–100).


speed?

optional speed?: number

Defined in: models/FilePreview.ts:42

Optional transfer rate in bytes per second.


estimatedTimeRemaining?

optional estimatedTimeRemaining?: number

Defined in: models/FilePreview.ts:44

Optional estimated time-to-completion in seconds.