Props for components that receive match handler functions.

export interface MatchHandlersProps {
onManualSearch: (manga: KenmeiManga) => void;
onAcceptMatch: (match: MangaMatchResult) => void;
onRejectMatch: (match: MangaMatchResult) => void;
onSelectAlternative: (
match: MangaMatchResult,
alternativeIndex: number,
) => void;
onResetToPending: (match: MangaMatchResult) => void;
}
interface MatchHandlersProps {
    onManualSearch: (manga: KenmeiManga) => void;
    onAcceptMatch: (match: MangaMatchResult) => void;
    onRejectMatch: (match: MangaMatchResult) => void;
    onSelectAlternative: (
        match: MangaMatchResult,
        alternativeIndex: number,
    ) => void;
    onResetToPending: (match: MangaMatchResult) => void;
}

Properties

onManualSearch: (manga: KenmeiManga) => void

Handler for manual search action.

onAcceptMatch: (match: MangaMatchResult) => void

Handler for accepting a match.

onRejectMatch: (match: MangaMatchResult) => void

Handler for rejecting a match.

onSelectAlternative: (match: MangaMatchResult, alternativeIndex: number) => void

Handler for selecting an alternative match.

onResetToPending: (match: MangaMatchResult) => void

Handler for resetting a match to pending.