UNPKG

ddnet

Version:

A typescript npm package for interacting with data from ddnet.org

26 lines (25 loc) 654 B
import { Leaderboard } from './Leaderboard.js'; import { Rank } from './Rank.js'; /** * Represents global leaderboard stats. */ export declare class GlobalLeaderboard extends Leaderboard { /** * Player rank for last month. */ completionistLastMonth: Rank | null; /** * Player rank for last week. */ completionistLastWeek: Rank | null; /** * Construct a new {@link GlobalLeaderboard} instance. */ constructor(data: { completionist: Rank; completionistLastMonth: Rank | null; completionistLastWeek: Rank | null; team: Rank | null; rank: Rank | null; }); }