Interface ImageUploadOptions

Image upload options ImageUploadOptions

interface ImageUploadOptions {
    file?: File;
    metadata: ImageMetadata;
    requireSignedURLs: boolean;
    url?: string;
}

Properties

file?: File

File to upload

Mutually exclusive with url

metadata: ImageMetadata

Custom metadata for the image

requireSignedURLs: boolean

Whether the image requires signed URLs for access

url?: string

URL of the image to upload

Mutually exclusive with file