HomeRepository
Interface defining operations for interacting with the home repository.
This repository follows the offline-first pattern where the local database serves as the single source of truth. Network operations update the local database, and UI observes local data via Flow.
Synchronization
This repository implements Syncable to support background sync via WorkManager. See sync for details on the sync implementation.
See also
Implementation class with network and local data sources
For background sync interface
For sync progress tracking
Functions
Creates or updates a jetpack in the repository.
Retrieves a specific jetpack by its ID.
Retrieves a list of all jetpacks.
Marks a jetpack as deleted in the repository.
Synchronizes data and returns a Flow emitting the progress of the sync operation.