getUnsyncedJetpacks

abstract suspend fun getUnsyncedJetpacks(userId: String): List<JetpackEntity>

Retrieves a list of jetpacks for a specific user that need to be synced. A jetpack needs to be synced if it was updated after the last sync or if it is marked as needing sync.

Return

A list of JetpackEntity objects that need to be synced.

Parameters

userId

The ID of the user whose unsynced jetpacks to retrieve.