Interface UploadFileConfig

Used to override the default configuration.

interface UploadFileConfig {
    displayName?: string;
    httpOptions?: HttpOptions;
    mimeType?: string;
    name?: string;
}

Properties

displayName?: string

Optional display name of the file.

httpOptions?: HttpOptions

Used to override HTTP request options.

mimeType?: string

mime_type: The MIME type of the file. If not provided, it will be inferred from the file extension.

name?: string

The name of the file in the destination (e.g., 'files/sample-image'. If not provided one will be generated.

MMNEPVFCICPMFPCPTTAAATR