Data Layer low complexity Shared Component mobile
0
Dependencies
2
Dependents
1
Entities
0
Integrations

Description

Local SQLite data access object that persists the most recently fetched events page for offline-capable rendering. Provides read and write operations against the local events table and exposes a stream for reactive UI updates. Shared with event-creation and event-sign-up features that also read and write to the same local events table.

Feature: Event Listing

event-list-cache-store

Responsibilities

  • Write fetched event records to local SQLite events table
  • Read cached events filtered by organisation and role context
  • Expose a reactive stream of cached events for UI binding
  • Clear stale cache entries beyond a configurable retention window

Interfaces

cacheEvents(List<Event> events)
getCachedEvents({required String orgId, required String roleId})
watchCachedEvents(String orgId)
clearCache()
getCacheTimestamp()

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component