Represents a MangaDex manga detail with relationships (authors, artists, etc.). Extends the base manga detail with MangaDex-specific properties.

export interface MangaDexMangaDetail extends BaseMangaDetail {
source: MangaSource.MANGADEX;
data: {
id: string;
type: string;
attributes: MangaDexAttributes;
relationships: Array<{
id: string;
type: string;
attributes?: {
name?: string;
imageUrl?: string;
biography?: {
en?: string;
[key: string]: string | undefined;
};
twitter?: string;
pixiv?: string;
melonBook?: string;
fanBook?: string;
booth?: string;
namicomi?: string;
nicoVideo?: string;
skeb?: string;
fantia?: string;
tumblr?: string;
youtube?: string;
weibo?: string;
naver?: string;
website?: string;
createdAt?: string;
updatedAt?: string;
version?: number;
};
}>;
};
}
interface MangaDexMangaDetail {
    source: MANGADEX;
    data: {
        id: string;
        type: string;
        attributes: MangaDexAttributes;
        relationships: {
            id: string;
            type: string;
            attributes?: {
                name?: string;
                imageUrl?: string;
                biography?: { en?: string; [key: string]: undefined | string };
                twitter?: string;
                pixiv?: string;
                melonBook?: string;
                fanBook?: string;
                booth?: string;
                namicomi?: string;
                nicoVideo?: string;
                skeb?: string;
                fantia?: string;
                tumblr?: string;
                youtube?: string;
                weibo?: string;
                naver?: string;
                website?: string;
                createdAt?: string;
                updatedAt?: string;
                version?: number;
            };
        }[];
    };
    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;
    };
}

Hierarchy (View Summary)

Properties

source: MANGADEX

Source this detail came from

data: {
    id: string;
    type: string;
    attributes: MangaDexAttributes;
    relationships: {
        id: string;
        type: string;
        attributes?: {
            name?: string;
            imageUrl?: string;
            biography?: { en?: string; [key: string]: undefined | string };
            twitter?: string;
            pixiv?: string;
            melonBook?: string;
            fanBook?: string;
            booth?: string;
            namicomi?: string;
            nicoVideo?: string;
            skeb?: string;
            fantia?: string;
            tumblr?: string;
            youtube?: string;
            weibo?: string;
            naver?: string;
            website?: string;
            createdAt?: string;
            updatedAt?: string;
            version?: number;
        };
    }[];
}
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