Props for the MatchBulkActions component.

export interface MatchBulkActionsProps {
emptyMatchesCount: number;
onSkipEmptyMatches: () => void;
isSkippingEmptyMatches: boolean;
noMatchesCount: number;
onReSearchNoMatches: () => void;
isReSearchingNoMatches: boolean;
skippedMangaCount: number;
onResetSkippedToPending: () => void;
isResettingSkippedToPending: boolean;
pendingMatchesCount: number;
onAcceptAllPendingMatches: () => void;
isAcceptingAllMatches: boolean;
onSetMatchedToPending?: () => void;
isResettingMatchedToPending?: boolean;
isSetMatchedToPendingDisabled?: boolean;
matchedCount?: number;
}
interface MatchBulkActionsProps {
    emptyMatchesCount: number;
    onSkipEmptyMatches: () => void;
    isSkippingEmptyMatches: boolean;
    noMatchesCount: number;
    onReSearchNoMatches: () => void;
    isReSearchingNoMatches: boolean;
    skippedMangaCount: number;
    onResetSkippedToPending: () => void;
    isResettingSkippedToPending: boolean;
    pendingMatchesCount: number;
    onAcceptAllPendingMatches: () => void;
    isAcceptingAllMatches: boolean;
    onSetMatchedToPending?: () => void;
    isResettingMatchedToPending?: boolean;
    isSetMatchedToPendingDisabled?: boolean;
    matchedCount?: number;
}

Properties

emptyMatchesCount: number

Number of manga with no available matches.

onSkipEmptyMatches: () => void

Callback to skip all empty matches.

isSkippingEmptyMatches: boolean

Whether skip operation is in progress.

noMatchesCount: number

Number of items with no matches found.

onReSearchNoMatches: () => void

Callback to re-search items with no matches.

isReSearchingNoMatches: boolean

Whether re-search operation is in progress.

skippedMangaCount: number

Number of manually skipped manga.

onResetSkippedToPending: () => void

Callback to reset skipped items to pending.

isResettingSkippedToPending: boolean

Whether reset operation is in progress.

pendingMatchesCount: number

Number of pending matches.

onAcceptAllPendingMatches: () => void

Callback to accept all pending matches.

isAcceptingAllMatches: boolean

Whether accept operation is in progress.

onSetMatchedToPending?: () => void

Optional callback to reset matched to pending.

isResettingMatchedToPending?: boolean

Whether reset matched operation is in progress.

isSetMatchedToPendingDisabled?: boolean

Whether the reset matched action should be disabled.

matchedCount?: number

Optional count of matched items.