Props for the MatchingProgressPanel component.

export interface MatchingProgressProps {
isCancelling: boolean;
progress: MatchingProgress;
statusMessage: string;
timeEstimate: TimeEstimate;
onCancelProcess: () => void;
onPauseProcess?: () => void;
onResumeProcess?: () => void;
bypassCache?: boolean;
freshSearch?: boolean;
disableControls?: boolean;
isPaused?: boolean;
isManuallyPaused?: boolean;
isRateLimitActive?: boolean;
}
interface MatchingProgressProps {
    isCancelling: boolean;
    progress: MatchingProgress;
    statusMessage: string;
    timeEstimate: TimeEstimate;
    onCancelProcess: () => void;
    onPauseProcess?: () => void;
    onResumeProcess?: () => void;
    bypassCache?: boolean;
    freshSearch?: boolean;
    disableControls?: boolean;
    isPaused?: boolean;
    isManuallyPaused?: boolean;
    isRateLimitActive?: boolean;
}

Properties

isCancelling: boolean

Whether the process is currently being cancelled.

The current progress state of the matching process.

statusMessage: string

The main status message to display.

timeEstimate: TimeEstimate

Estimated time remaining for the process.

onCancelProcess: () => void

Callback to cancel the matching process.

onPauseProcess?: () => void

Callback to pause the matching process (optional).

onResumeProcess?: () => void

Callback to resume the matching process (optional).

bypassCache?: boolean

Whether to bypass the cache for matching (optional).

freshSearch?: boolean

Whether a fresh search is being performed (optional).

disableControls?: boolean

Whether to disable control buttons (optional).

isPaused?: boolean

Whether the process is currently paused (optional).

isManuallyPaused?: boolean

Whether the pause was triggered manually (optional).

isRateLimitActive?: boolean

Whether pause is due to an active rate limit (optional).