@globalleaderboards/sdk - v0.5.0
    Preparing search index...

    Interface LeaderboardEntry

    Leaderboard entry

    interface LeaderboardEntry {
        user_id: string;
        user_name: string;
        score: number;
        rank: number;
        timestamp: string;
        metadata?: Record<string, unknown>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    user_id: string

    User ID

    user_name: string

    User display name

    score: number

    Score value

    rank: number

    Rank position

    timestamp: string

    Timestamp when score was submitted

    metadata?: Record<string, unknown>

    Optional metadata stored with the score