AniLink - v3.0.0
    Preparing search index...

    MalAnime is the typed portion of a MyAnimeList anime response returned by MalAnimeOperation.get and MyAnimeListAnimeApi.get.

    It always carries id and title. Requested fields appear through the fields request option. If fields is omitted, the DEFAULT_MAL_ANIME_FIELDS fallback selects them. The index signature keeps additional fields accessible without narrowing.

    interface MalAnime {
        average_episode_duration?: number;
        broadcast?: MalBroadcast;
        id: number;
        main_picture?: MalPicture;
        mean?: number;
        media_type?: string;
        num_episodes?: number;
        start_date?: string;
        status?: string;
        synopsis?: string;
        title: string;
        [field: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [field: string]: unknown

      Any additional fields requested by a caller remain available without narrowing.

    Index
    average_episode_duration?: number

    The average episode duration in seconds, when requested via the fields query parameter.

    broadcast?: MalBroadcast

    The broadcast schedule, when requested via the fields query parameter.

    id: number

    The MyAnimeList numeric identifier.

    main_picture?: MalPicture

    Optional image variants requested through the fields query parameter.

    mean?: number

    The average score out of 10, when requested via the fields query parameter.

    media_type?: string

    The media type, when requested (for example tv, movie, or ova).

    num_episodes?: number

    The total number of episodes, when requested via the fields query parameter.

    start_date?: string

    The first air/start date in ISO 8601 format, when requested via the fields query parameter.

    status?: string

    The publication/airing status, when requested (one of MAL's status values such as finished_airing).

    synopsis?: string

    The synopsis, when requested via the fields query parameter.

    title: string

    The canonical MyAnimeList title.