Documentation - v1.2.0-alpha.3
    Preparing search index...

    Represents a file input with its content, type, and optional URL.

    interface InputFile {
        content: Buffer;
        contentType: string;
        contentUrl?: string;
    }
    Index

    Properties

    content: Buffer

    The content of the file as a Buffer.

    contentType: string

    The MIME type of the file content.

    contentUrl?: string

    An optional URL pointing to the file content.