Ranking is an interface representing the ranking of a media. It includes the id, rank, type, format, year, season, all-time status, and context each having their own properties.

interface Ranking {
    allTime: boolean;
    context: string;
    format: string;
    id: number;
    rank: number;
    season: string;
    type: string;
    year: number;
}

Properties

allTime: boolean

allTime is a boolean representing whether the ranking is all-time or not.

context: string

context is a string representing the context of the ranking.

format: string

format is a string representing the format of the ranking.

id: number

id is a number representing the id of the ranking.

rank: number

rank is a number representing the rank of the media.

season: string

season is a string representing the season of the ranking.

type: string

type is a string representing the type of the ranking.

year: number

year is a number representing the year of the ranking.