interface Scores {
    cursor_string: null | string;
    params: {
        limit: number;
        sort: string;
    };
    scores: Multiplayer[];
    total: number;
    user_score: null | Multiplayer;
}

Properties

cursor_string: null | string

Will be null if there is no next page

params: {
    limit: number;
    sort: string;
}
scores: Multiplayer[]
total: number

How many scores there are across all pages, not necessarily scores.length

user_score: null | Multiplayer

Will be null if not an authorized user or if the authorized user has no score