@wocart/storefront / index / ReviewUploadInput
Interface: ReviewUploadInput
What products.reviews.upload() sends: one file, as it is.
Properties
body
body:
Blob|ArrayBuffer|Uint8Array<ArrayBufferLike> |ReadableStream<Uint8Array<ArrayBufferLike>>
contentLength?
optionalcontentLength?:number
Its size, when known: lets the server refuse a file too large before it arrives.
durationMs?
optionaldurationMs?:number
A voice note's length as the recorder reported it.
grant
grant:
string