@wocart/storefront / review-media / ReviewUploadOptions
Interface: ReviewUploadOptions
Properties
durationMs?
optionaldurationMs?:number
A voice note's length, as the recorder reported it.
kind
kind:
"image"|"audio"
A photo is shrunk before it is sent; a voice note is sent as recorded.
onProgress?
optionalonProgress?: (share) =>void
The share sent so far, 0–1, for a progress bar.
Parameters
share
number
Returns
void