Trevixal API
    Preparing search index...

    Interface AttachmentUploadStatus

    A single upload in flight, as reported to AttachmentOptions.onUpload.

    interface AttachmentUploadStatus {
        error?: string;
        fileName: string;
        id: string;
        progress: number | null;
        state: "uploading" | "done" | "error";
    }
    Index
    error?: string
    fileName: string
    id: string
    progress: number | null

    0-1, or null when the backend reports no progress.

    state: "uploading" | "done" | "error"