CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Interface FeedbackAttachment

    Metadata describing an uploaded media or log file attachment.

    Attachments are uploaded via FeedbackClient.uploadAttachment prior to submitting a feedback draft.

    const attachment: FeedbackAttachment = {
    kind: 'image',
    key: 'uploads/2026/09/screen-01.png',
    url: 'https://cdn.cupthread.com/uploads/2026/09/screen-01.png',
    filename: 'screen-01.png',
    mimeType: 'image/png',
    size: 204800,
    };
    interface FeedbackAttachment {
        filename?: string;
        key: string;
        kind: "image" | "r2";
        mimeType?: string;
        size?: number;
        url: string;
    }
    Index
    filename?: string

    Original file name as reported by the client filesystem or picker.

    key: string

    Unique storage identifier or object key on the remote storage cluster.

    kind: "image" | "r2"

    Storage backend driver kind:

    • 'image': Standard image CDN optimization pipeline.
    • 'r2': Cloudflare R2 object storage for logs, archives, and diagnostics.
    mimeType?: string

    MIME content type of the file (e.g., 'image/png', 'text/plain').

    size?: number

    File payload size in bytes.

    url: string

    Direct, publicly-accessible URL for viewing or downloading the attachment.