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

    Function useRoomFileStats

    • Aggregates file statistics for a specific room.

      Parameters

      • roomName: string | undefined

        Room to filter files by (matches file.roomName or file.location).

      • userId: string | undefined

        User whose files to load (triggers fetchUserFiles on mount).

      • participantCount: number = 0

        Number of participants (passed through to result).

      • monthRange: number = 12

        Number of months for monthly activity chart (default 12).

      Returns RoomFileStats