Interface MangaMatchingPanelPropsInternal

Props for the MangaMatchingPanel component.

export interface MangaMatchingPanelProps {
matches: MangaMatchResult[];
onManualSearch?: (kenmeiManga: KenmeiManga) => void;
onAcceptMatch?: (match: MangaMatchResult) => void;
onRejectMatch?: (match: MangaMatchResult) => void;
onSelectAlternative?: (
match: MangaMatchResult,
alternativeIndex: number,
autoAccept?: boolean,
directAccept?: boolean,
) => void;
onResetToPending?: (match: MangaMatchResult) => void;
}
interface MangaMatchingPanelProps {
    matches: MangaMatchResult[];
    onManualSearch?: (kenmeiManga: KenmeiManga) => void;
    onAcceptMatch?: (match: MangaMatchResult) => void;
    onRejectMatch?: (match: MangaMatchResult) => void;
    onSelectAlternative?: (
        match: MangaMatchResult,
        alternativeIndex: number,
        autoAccept?: boolean,
        directAccept?: boolean,
    ) => void;
    onResetToPending?: (match: MangaMatchResult) => void;
}

Properties

matches: MangaMatchResult[]

The list of manga match results to review and manage.

onManualSearch?: (kenmeiManga: KenmeiManga) => void

Optional callback to trigger a manual search for a Kenmei manga.

onAcceptMatch?: (match: MangaMatchResult) => void

Optional callback to accept a match result.

onRejectMatch?: (match: MangaMatchResult) => void

Optional callback to reject a match result.

onSelectAlternative?: (
    match: MangaMatchResult,
    alternativeIndex: number,
    autoAccept?: boolean,
    directAccept?: boolean,
) => void

Optional callback to select an alternative match.

onResetToPending?: (match: MangaMatchResult) => void

Optional callback to reset a match to pending status.