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

Description

Local data store for talking card content bundled with the app. Stores card text, categories, and metadata in local SQLite for offline access. Supports content updates via versioned JSON payloads without requiring an app update.

Feature: Talking Cards Toolbox

cards-content-store

Responsibilities

  • Persist bundled card content in local SQLite database
  • Provide fast offline read access to all card data
  • Apply content updates from sync operations while preserving local cache integrity
  • Store content version metadata for delta sync decisions

Interfaces

getAllCards(): List<TalkingCard>
getCardsByCategory(category: String): List<TalkingCard>
getCardById(id: String): TalkingCard
upsertCards(cards: List<TalkingCard>): void
getVersion(): String
setVersion(version: String): void
clearAndReload(cards: List<TalkingCard>): void

Relationships

Dependents (2)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component