Interface FileUpload

An interface that represents a file to upload and it's current upload status.

interface FileUpload {
    errorMessage?: string;
    file: File;
    id: string;
    isError?: boolean;
    status: FileStatusValue;
}

Properties

errorMessage?: string

If the file failed to upload, this is an optional error message to display.

file: File

The file to upload.

id: string

A unique ID for the file.

isError?: boolean

Indicates if the file contains an error or failed to upload.

The current upload status.

MMNEPVFCICPMFPCPTTAAATR