AniLink - v3.0.0
    Preparing search index...

    Interface MalRankingEntry

    MalRankingEntry is one entry of an anime ranking list.

    It wraps the MalAnime node with its ranking position, and is the element type of MalAnimeRankingResponse returned by MalAnimeOperation.ranking and MyAnimeListAnimeApi.ranking.

    interface MalRankingEntry {
        node: MalAnime;
        ranking: { rank: number };
        [field: string]: unknown;
    }

    Indexable

    • [field: string]: unknown

      Any additional fields returned by MyAnimeList remain available without narrowing.

    Index
    node: MalAnime

    The anime entry, shaped by the fields query parameter.

    ranking: { rank: number }

    The entry's rank within the requested ranking list.