Expand description
Tauri commands for sync queue operations
The sync queue stores mutations (favorites, playback progress, etc.)
that need to be synced to the Jellyfin server when connectivity is restored.
Draining it lives in sync_drain (DR-131); this module is the storage and
read side the UI lists from (DR-132).
TRACES: UR-002, UR-017, UR-025 | DR-014, DR-131, DR-132
Structs§
- Sync
Queue Item - Sync queue item returned to frontend
Functions§
- sync_
cleanup_ completed - Delete completed sync operations older than specified days
- sync_
clear_ user - Delete all sync operations for a user (used during logout)
- sync_
get_ pending - Get all pending sync operations for a user
- sync_
get_ pending_ count - Get count of pending sync operations for a user
- sync_
mark_ completed - Mark a sync operation as completed
- sync_
mark_ failed - Mark a sync operation as failed with error message
- sync_
mark_ processing - Mark a sync operation as in progress
- sync_
queue_ mutation - Queue a mutation for sync to server