AddItemFile interface
Signature:
export interface AddItemFile
Properties
Property | Type | Description |
---|---|---|
data | AddItemDataType | |
mimeType | string | MimeType of the file being added. This value can be retrieved when opening the file later one. |
path | string | path in the bucket where the file should be uploaded. filename would be determined by the last segment in the path so path folder/a_file.txt would have the name a_file.txt |
progress? | (bytesRead?: number) => void | (Optional) progress callback if provided will be called with bytes written to remote while uploading the file. |