Interface User

interface User {
    country?: string;
    id: number;
    professional?: boolean;
    ranking?: number;
    ratings?: {
        [speed_size: string]: Glicko2;
    };
    ui_class?: string;
    username: string;
}

Properties

country?: string
id: number
professional?: boolean
ranking?: number
ratings?: {
    [speed_size: string]: Glicko2;
}

Type declaration

ui_class?: string
username: string