Calendar Sync Preferences Repository
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Persists the user's calendar sync opt-in state, selected calendar IDs, and sync direction preferences using Drift local storage. Exposes reactive streams so the Calendar Sync Screen stays up to date without manual refresh.
calendar-sync-preferences-repository
Responsibilities
- Store and retrieve calendar sync enabled state and selected calendar IDs per user
- Persist sync direction preferences (Meander-to-calendar, calendar-to-Meander, or both)
- Expose reactive streams for real-time preference change propagation
Interfaces
watchSyncPreferences(): Stream<CalendarSyncPreferences>
saveSyncPreferences(prefs): Future<void>
clearSyncData(): Future<void>
Relationships
Dependents (2)
Components that depend on this component