Interface: AnyDropUploadState
Defined in: core/src/types.ts:8
Upload bookkeeping on every file (file.upload).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bytesSent | number | Bytes of the request bodies sent so far. | core/src/types.ts:18 |
chunked | boolean | Whether the file is sent in chunks. | core/src/types.ts:20 |
chunksDone | Set<number> | Chunk indexes acknowledged with 2xx by the server, never optimistically. | core/src/types.ts:26 |
chunkSize | number | Chunk size in bytes, fixed per file when its chunk layout is fixed (first start or restored record). | core/src/types.ts:22 |
filename | string | Name sent to the server, after renameFile(). | core/src/types.ts:12 |
progress | number | 0-100. | core/src/types.ts:14 |
resumed? | boolean | State came from IndexedDB or chunkStatusUrl. | core/src/types.ts:28 |
skipped? | boolean | Completed in an earlier session, nothing was sent. | core/src/types.ts:30 |
total | number | Bytes. | core/src/types.ts:16 |
totalChunkCount | number | Number of chunks (1 for a whole file). | core/src/types.ts:24 |
uuid | string | The protocol's uploadId (sent as adUploadId). Final by the time addedfiles fires. | core/src/types.ts:10 |