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

    Interface UserFilesState

    State slice for the user's files across all rooms.

    interface UserFilesState {
        error: string | null;
        files: UserFile[];
        isLoading: boolean;
        lastFetchedAt: number | null;
        userId: string | null;
    }
    Index

    Properties

    error: string | null

    Last error message, or null

    files: UserFile[]

    List of user files

    isLoading: boolean

    Whether a fetch is in progress

    lastFetchedAt: number | null

    Timestamp of the last successful fetch

    userId: string | null

    The user ID used for the last fetch (enables auto-refresh after mutations)