Skip to content

Interface: AnyDropUploadState ​

Defined in: core/src/types.ts:8

Upload bookkeeping on every file (file.upload).

Properties ​

PropertyTypeDescriptionDefined in
bytesSentnumberBytes of the request bodies sent so far.core/src/types.ts:18
chunkedbooleanWhether the file is sent in chunks.core/src/types.ts:20
chunksDoneSet<number>Chunk indexes acknowledged with 2xx by the server, never optimistically.core/src/types.ts:26
chunkSizenumberChunk size in bytes, fixed per file when its chunk layout is fixed (first start or restored record).core/src/types.ts:22
filenamestringName sent to the server, after renameFile().core/src/types.ts:12
progressnumber0-100.core/src/types.ts:14
resumed?booleanState came from IndexedDB or chunkStatusUrl.core/src/types.ts:28
skipped?booleanCompleted in an earlier session, nothing was sent.core/src/types.ts:30
totalnumberBytes.core/src/types.ts:16
totalChunkCountnumberNumber of chunks (1 for a whole file).core/src/types.ts:24
uuidstringThe protocol's uploadId (sent as adUploadId). Final by the time addedfiles fires.core/src/types.ts:10

Released under the MIT License.