Documentation
    Preparing search index...

    Interface RawFile

    interface RawFile {
        contentType?: string;
        data: BinaryLike | Blob;
        mimeType?: string;
        name: string;
    }
    Index

    Properties

    contentType?: string

    Content-Type of the file

    use mimeType instead.

    data: BinaryLike | Blob

    The actual data for the file

    mimeType?: string

    Content-Type of the file

    name: string

    The name of the file