Single manga match with confidence and source information.

export interface MangaMatch {
/** The matched AniList manga */
manga: AniListManga;
/** Confidence score (0-100) */
confidence: number;
/** Comick source information if found via Comick */
comickSource?: {
title: string;
slug: string;
comickId: string;
isFoundViaComick: boolean;
};
/** MangaDex source information if found via MangaDex */
mangaDexSource?: {
title: string;
slug: string;
mangaDexId: string;
isFoundViaMangaDex: boolean;
};
/** Unified source information */
sourceInfo?: {
source: "comick" | "mangadex";
title: string;
slug: string;
sourceId: string;
isFoundViaAlternativeSearch: boolean;
};
}
interface MangaMatch {
    manga: AniListManga;
    confidence: number;
    comickSource?: {
        title: string;
        slug: string;
        comickId: string;
        isFoundViaComick: boolean;
    };
    mangaDexSource?: {
        title: string;
        slug: string;
        mangaDexId: string;
        isFoundViaMangaDex: boolean;
    };
    sourceInfo?: {
        source: "comick"
        | "mangadex";
        title: string;
        slug: string;
        sourceId: string;
        isFoundViaAlternativeSearch: boolean;
    };
}

Properties

The matched AniList manga

confidence: number

Confidence score (0-100)

comickSource?: {
    title: string;
    slug: string;
    comickId: string;
    isFoundViaComick: boolean;
}

Comick source information if found via Comick

mangaDexSource?: {
    title: string;
    slug: string;
    mangaDexId: string;
    isFoundViaMangaDex: boolean;
}

MangaDex source information if found via MangaDex

sourceInfo?: {
    source: "comick" | "mangadex";
    title: string;
    slug: string;
    sourceId: string;
    isFoundViaAlternativeSearch: boolean;
}

Unified source information