Base interface for detailed manga information from any source. Each source should extend this with their specific properties.

interface BaseMangaDetail {
    id: string;
    title: string;
    slug: string;
    description?: string;
    status?: number;
    year?: number;
    country?: string;
    createdAt?: string;
    updatedAt?: string;
    authors?: { id: string; name: string; slug?: string }[];
    artists?: { id: string; name: string; slug?: string }[];
    genres?: { id: string; name: string; slug?: string }[];
    alternativeTitles?: { title: string; lang: string }[];
    externalLinks?: {
        anilist?: string;
        myAnimeList?: string;
        mangaUpdates?: string;
        [key: string]: undefined | string;
    };
    source: MangaSource;
}

Hierarchy (View Summary)

Properties

id: string

Basic manga information

title: string
slug: string
description?: string

Extended information

status?: number
year?: number
country?: string
createdAt?: string
updatedAt?: string
authors?: { id: string; name: string; slug?: string }[]

Author and artist information

artists?: { id: string; name: string; slug?: string }[]
genres?: { id: string; name: string; slug?: string }[]

Genre information

alternativeTitles?: { title: string; lang: string }[]

Alternative titles

externalLinks?: {
    anilist?: string;
    myAnimeList?: string;
    mangaUpdates?: string;
    [key: string]: undefined | string;
}

External links to other platforms

Type declaration

  • [key: string]: undefined | string

    Other platform links

  • Optionalanilist?: string

    AniList ID

  • OptionalmyAnimeList?: string

    MyAnimeList ID

  • OptionalmangaUpdates?: string

    MangaUpdates ID

source: MangaSource

Source this detail came from