Data Layer medium complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Local persistence layer holding card deck content, themes, and metadata on the mentor's mobile device. Provides durable offline storage so cards remain accessible during home visits and field work without network access.

Feature: Talking Cards Toolbox

card-store

Sources & reasoning

The blueprint pins Conversation Tools to a single feature, Talking Cards Toolbox, and the prioritization matrix marks Snakkekort as NICE across all orgs in Fase 3. Section 5 lists it explicitly under Fase 3 - Vekst og engasjement, so target_release maps to the Growth & Engagement phase name.

Responsibilities

  • Persist card decks, individual cards, and theme metadata on-device
  • Provide read access to cached decks for the service layer
  • Store deck version and last-sync timestamps
  • Support bulk replace and incremental updates of deck content

Interfaces

saveDecks(decks): void
loadDecks(): Deck[]
getDeckVersion(deckId): string
clearCache(): void