Props for the SkippedTracksBulkActions component

interface SkippedTracksBulkActionsProps {
    loading: boolean;
    tracks: SkippedTrack[];
    skipThreshold: number;
    timeframeInDays: number;
    showClearDataDialog: boolean;
    setShowClearDataDialog: (show: boolean) => void;
    showRemoveHighlightedDialog: boolean;
    setShowRemoveHighlightedDialog: (show: boolean) => void;
    onClearSkippedData: () => Promise<void>;
    onRemoveAllHighlighted: () => Promise<void>;
}

Properties

loading: boolean

Whether data operations are currently in progress

tracks: SkippedTrack[]

Array of skipped track data objects to analyze

skipThreshold: number

Minimum number of skips to highlight tracks for removal

timeframeInDays: number

Number of days to consider for skip analysis

showClearDataDialog: boolean

Whether the clear data confirmation dialog is visible

setShowClearDataDialog: (show: boolean) => void

Callback to control clear data dialog visibility

showRemoveHighlightedDialog: boolean

Whether the remove dialog is visible

setShowRemoveHighlightedDialog: (show: boolean) => void

Callback to control remove dialog visibility

onClearSkippedData: () => Promise<void>

Callback function to execute data clearing

onRemoveAllHighlighted: () => Promise<void>

Callback function to execute highlighted track removal