Documentation
    Preparing search index...

    Interface UploadStatus

    A status snapshot for an upload, including progress counters.

    interface UploadStatus {
        blurhash?: string;
        bytesSent?: number;
        bytesTotal?: number;
        dimensions?: UploadDimensions;
        error?: string;
        fallbackUrls?: string[];
        mimeType?: string;
        nip94?: NostrTag[];
        ok: boolean;
        originalSha256?: string;
        rail: UploadRail;
        sha256?: string;
        size?: number;
        status: UploadState;
        updatedAt: number;
        uploadId: string;
        url?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    blurhash?: string

    Blurhash placeholder when known.

    bytesSent?: number

    Bytes sent so far (while uploading).

    bytesTotal?: number

    Total bytes to send.

    dimensions?: UploadDimensions

    Image/video dimensions when known.

    error?: string

    Error reason when the upload failed or was cancelled.

    fallbackUrls?: string[]

    Mirrors / alternative server URLs.

    mimeType?: string

    Stored MIME type.

    nip94?: NostrTag[]

    Ready-to-attach NIP-94 / imeta tags.

    ok: boolean

    Whether the upload succeeded (or is progressing) vs failed/cancelled.

    originalSha256?: string

    Hash before server transforms (NIP-94 ox).

    The rail the shell used.

    sha256?: string

    Hash of the stored blob (NIP-94 x).

    size?: number

    Size in bytes.

    status: UploadState

    Current lifecycle state.

    updatedAt: number

    Unix ms timestamp of this status.

    uploadId: string

    Shell-generated id, scoped to the requesting napplet.

    url?: string

    Primary download URL.