Represents an enhanced AniList manga entry that includes source info. Used when a manga is found via alternative source search and enriched with AniList data.

export interface EnhancedAniListManga extends AniListManga {
/** Information about the source where this was found */
sourceInfo?: {
/** Original title from the source */
title: string;
/** Source slug/identifier */
slug: string;
/** Source-specific ID */
sourceId: string;
/** Which source this came from */
source: MangaSource;
/** Whether this was found via alternative search */
isFoundViaAlternativeSearch: boolean;
};
}
interface EnhancedAniListManga {
    id: number;
    title: { romaji: string; english: null | string; native: null | string };
    synonyms: string[];
    description: null | string;
    format: string;
    status: MediaStatus;
    chapters?: number;
    volumes?: number;
    countryOfOrigin?: string;
    source?: string;
    coverImage?: { large?: string; medium?: string };
    genres: string[];
    tags: { id: number; name: string; category?: string }[];
    startDate?: { year?: number; month?: number; day?: number };
    staff?: {
        edges: { role: string; node: { id: number; name: { full: string } } }[];
    };
    mediaListEntry?: | null
    | {
        id: number;
        status: MediaListStatus;
        progress: number;
        score: number;
        private: boolean;
    };
    isAdult?: boolean;
    sourceInfo?: {
        title: string;
        slug: string;
        sourceId: string;
        source: MangaSource;
        isFoundViaAlternativeSearch: boolean;
    };
}

Hierarchy (View Summary)

Properties

id: number
title: { romaji: string; english: null | string; native: null | string }
synonyms: string[]
description: null | string
format: string
status: MediaStatus
chapters?: number
volumes?: number
countryOfOrigin?: string
source?: string
coverImage?: { large?: string; medium?: string }
genres: string[]
tags: { id: number; name: string; category?: string }[]
startDate?: { year?: number; month?: number; day?: number }
staff?: {
    edges: { role: string; node: { id: number; name: { full: string } } }[];
}
mediaListEntry?:
    | null
    | {
        id: number;
        status: MediaListStatus;
        progress: number;
        score: number;
        private: boolean;
    }
isAdult?: boolean
sourceInfo?: {
    title: string;
    slug: string;
    sourceId: string;
    source: MangaSource;
    isFoundViaAlternativeSearch: boolean;
}

Information about the source where this was found

Type declaration

  • title: string

    Original title from the source

  • slug: string

    Source slug/identifier

  • sourceId: string

    Source-specific ID

  • source: MangaSource

    Which source this came from

  • isFoundViaAlternativeSearch: boolean

    Whether this was found via alternative search