Wocart

@wocart/storefront v3.1.0


@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?

optional contentLength?: number

Its size, when known: lets the server refuse a file too large before it arrives.


durationMs?

optional durationMs?: number

A voice note's length as the recorder reported it.


grant

grant: string