Hiyve Components - v1.0.0
    Preparing search index...

    Interface CloudUserFile

    A file as returned by the cloud user-files stream endpoint.

    Mirrors the public shape emitted by GET /files/stream. Stays in sync with the cloud server's formatFile() output. Higher-level packages (@hiyve/core, @hiyve/react) carry richer types that include client-side fields.

    interface CloudUserFile {
        appData?: Record<string, unknown>;
        chunkCount?: number;
        contentType?: string;
        embeddingStatus?: string | null;
        fileId: string;
        fileName?: string;
        isFolder?: boolean;
        location?: string;
        modified?: string;
        resourceType?: string;
        roomName?: string;
        s3Path?: string;
        sharedWith?: string[];
        sharing?: {
            permissions?: string[];
            roomName?: string;
            sharedAt?: string;
            userId: string;
        }[];
        timestamp?: string;
        type?: string;
        userId: string;
    }
    Index

    Properties

    appData?: Record<string, unknown>
    chunkCount?: number
    contentType?: string
    embeddingStatus?: string | null
    fileId: string
    fileName?: string
    isFolder?: boolean
    location?: string
    modified?: string
    resourceType?: string
    roomName?: string
    s3Path?: string
    sharedWith?: string[]
    sharing?: {
        permissions?: string[];
        roomName?: string;
        sharedAt?: string;
        userId: string;
    }[]
    timestamp?: string
    type?: string
    userId: string