UploadJob<
TMeta> =object
Defined in: src/browser/types.ts:28
Represents the state of a single file being uploaded in a batch.
Type Parameters
TMeta
TMeta
Properties
error
error:
string|null
Defined in: src/browser/types.ts:42
Error message if this specific upload failed
file
file:
File
Defined in: src/browser/types.ts:32
The file being uploaded
id
id:
string
Defined in: src/browser/types.ts:30
Unique identifier for the upload job
isUploading
isUploading:
boolean
Defined in: src/browser/types.ts:40
True if the file is currently uploading
loaded
loaded:
number
Defined in: src/browser/types.ts:36
Bytes successfully loaded
meta?
optionalmeta:TMeta
Defined in: src/browser/types.ts:44
The metadata returned upon successful upload
progress
progress:
number
Defined in: src/browser/types.ts:34
Individual progress percentage (0-100)
total
total:
number
Defined in: src/browser/types.ts:38
Total bytes of the file