Stat is an interface representing the statistics of a media. It includes the count, mean score, minutes watched, chapters read, media ids, format, status, score, length, release year, start year, genre, tag, country, voice actor, character ids, staff, and studio each having their own properties.

interface Stat {
    chaptersRead?: number;
    characterIds?: number[];
    count: number;
    country?: string;
    format?: string;
    genre?: string;
    length?: number;
    meanScore: number;
    mediaIds: number[];
    minutesWatched?: number;
    releaseYear?: number;
    score?: number;
    staff?: Staff;
    startYear?: number;
    status?: string;
    studio?: Studio;
    tag?: Tag;
    voiceActor?: Staff;
}

Properties

chaptersRead?: number

chaptersRead is a number representing the chapters read of the media.

characterIds?: number[]

characterIds is an array of numbers representing the ids of the characters in the media.

count: number

count is a number representing the count of the media.

country?: string

country is a string representing the country of the media.

format?: string

format is a string representing the format of the media.

genre?: string

genre is a string representing the genre of the media.

length?: number

length is a number representing the length of the media.

meanScore: number

meanScore is a number representing the mean score of the media.

mediaIds: number[]

mediaIds is an array of numbers representing the ids of the media.

minutesWatched?: number

minutesWatched is a number representing the minutes watched of the media.

releaseYear?: number

releaseYear is a number representing the release year of the media.

score?: number

score is a number representing the score of the media.

staff?: Staff

staff is an instance of Staff representing the staff of the media.

startYear?: number

startYear is a number representing the start year of the media.

status?: string

status is a string representing the status of the media.

studio?: Studio

studio is an instance of Studio representing the studio of the media.

tag?: Tag

tag is an instance of Tag representing the tag of the media.

voiceActor?: Staff

voiceActor is an instance of Staff representing the voice actor of the media.