Props for the SyncResumeNotification component.

export interface SyncResumeNotificationProps {
remainingCount: number;
totalCount: number;
lastSyncTime: number;
onResume: () => void;
onDiscard: () => void;
}
interface SyncResumeNotificationProps {
    remainingCount: number;
    totalCount: number;
    lastSyncTime: number;
    onResume: () => void;
    onDiscard: () => void;
}

Properties

remainingCount: number

The number of entries remaining from the interrupted sync.

totalCount: number

The total number of entries in the original sync session.

lastSyncTime: number

Timestamp (ms) when the sync was last checkpointed.

onResume: () => void

Callback triggered when user resumes the interrupted sync.

onDiscard: () => void

Callback triggered when user discards the checkpoint and starts fresh.