Manga match result with confidence score and optional alternative source information.

export interface MangaMatch {
coverImage?:
| {
medium?: string;
large?: string;
}
| string;
format?: string;
status?: string;
chapters?: number;
title?: string;
id?: number;
manga: AniListManga;
confidence: number;
// Optional source information for matches found via alternative methods
sourceInfo?: {
title: string;
slug: string;
sourceId: string;
source: string;
isFoundViaAlternativeSearch: boolean;
};
// @deprecated Use sourceInfo instead
comickSource?: {
title: string;
slug: string;
comickId: string;
isFoundViaComick: boolean;
};
mangaDexSource?: {
title: string;
slug: string;
mangaDexId: string;
isFoundViaMangaDex: boolean;
};
}
interface MangaMatch {
    coverImage?: string | { medium?: string; large?: string };
    format?: string;
    status?: string;
    chapters?: number;
    title?: string;
    id?: number;
    manga: AniListManga;
    confidence: number;
    sourceInfo?: {
        title: string;
        slug: string;
        sourceId: string;
        source: string;
        isFoundViaAlternativeSearch: boolean;
    };
    comickSource?: {
        title: string;
        slug: string;
        comickId: string;
        isFoundViaComick: boolean;
    };
    mangaDexSource?: {
        title: string;
        slug: string;
        mangaDexId: string;
        isFoundViaMangaDex: boolean;
    };
}

Properties

coverImage?: string | { medium?: string; large?: string }
format?: string
status?: string
chapters?: number
title?: string
id?: number
confidence: number
sourceInfo?: {
    title: string;
    slug: string;
    sourceId: string;
    source: string;
    isFoundViaAlternativeSearch: boolean;
}
comickSource?: {
    title: string;
    slug: string;
    comickId: string;
    isFoundViaComick: boolean;
}
mangaDexSource?: {
    title: string;
    slug: string;
    mangaDexId: string;
    isFoundViaMangaDex: boolean;
}