Interface AchievementLeaderboardEntry

interface AchievementLeaderboardEntry {
    a?: number;
    t: string;
    u: {
        _id: string;
        country?: string;
        role: string;
        supporter: boolean;
        username: string;
    };
    v: number;
}

Properties

a? t u v

Properties

a?: number

Additional score for the achievement.

t: string

The time the achievement was last updated.

u: {
    _id: string;
    country?: string;
    role: string;
    supporter: boolean;
    username: string;
}

The user owning the achievement:

Type declaration

  • _id: string

    The user's internal ID.

  • Optionalcountry?: string

    The user's country, if public.

  • role: string

    The user's role.

  • supporter: boolean

    Whether the user is supporting TETR.IO.

  • username: string

    The user's username.

v: number

The achieved score in the achievement.