Base interface for detailed manga information from any source. Each source extends this with platform-specific properties.

export interface BaseMangaDetail {
/** Basic manga information */
id: string;
title: string;
slug: string;
/** Extended information */
description?: string;
status?: number;
year?: number;
country?: string;
createdAt?: string;
updatedAt?: string;
/** Author and artist information */
authors?: Array<{
id: string;
name: string;
slug?: string;
}>;
artists?: Array<{
id: string;
name: string;
slug?: string;
}>;
/** Genre information */
genres?: Array<{
id: string;
name: string;
slug?: string;
}>;
/** Alternative titles */
alternativeTitles?: Array<{
title: string;
lang: string;
}>;
/** External links to other platforms */
externalLinks?: {
/** AniList ID */
anilist?: string;
/** MyAnimeList ID */
myAnimeList?: string;
/** MangaUpdates ID */
mangaUpdates?: string;
/** Other platform links */
[key: string]: string | undefined;
};
/** Source this detail came from */
source: MangaSource;
}
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