Changeset View
Changeset View
Standalone View
Standalone View
web/input/input-state.js
Show All 17 Lines | export type PendingMultimediaUpload = { | ||||
// Pending uploads are assigned a messageID once they are sent | // Pending uploads are assigned a messageID once they are sent | ||||
messageID: ?string, | messageID: ?string, | ||||
// This is set to true if the upload fails for whatever reason | // This is set to true if the upload fails for whatever reason | ||||
failed: boolean, | failed: boolean, | ||||
file: File, | file: File, | ||||
mediaType: MediaType | EncryptedMediaType, | mediaType: MediaType | EncryptedMediaType, | ||||
dimensions: ?Dimensions, | dimensions: ?Dimensions, | ||||
uri: string, | uri: string, | ||||
blobHash: ?string, | |||||
encryptionKey: ?string, | encryptionKey: ?string, | ||||
loop: boolean, | loop: boolean, | ||||
// URLs created with createObjectURL aren't considered "real". The distinction | // URLs created with createObjectURL aren't considered "real". The distinction | ||||
// is required because those "fake" URLs must be disposed properly | // is required because those "fake" URLs must be disposed properly | ||||
uriIsReal: boolean, | uriIsReal: boolean, | ||||
progressPercent: number, | progressPercent: number, | ||||
// This is set once the network request begins and used if the upload is | // This is set once the network request begins and used if the upload is | ||||
// cancelled | // cancelled | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |