Trevixal API
    Preparing search index...

    Interface UploadConstraints

    Reject anything that is not a real image before a byte leaves the browser.

    interface UploadConstraints {
        accept?: readonly string[];
        maxBytes?: number;
    }

    Hierarchy (View Summary)

    Index
    accept?: readonly string[]

    Accepted MIME types; defaults to the common web image formats.

    maxBytes?: number

    Bytes; defaults to 10 MB.