TalkingCardsRepository
Component Detail
Data Layer
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Manages local persistence and retrieval of talking card data, operating against the offline data store provided by the offline-data-support dependency. It abstracts the underlying storage mechanism so the service layer works with plain card objects regardless of how data is stored or seeded.
talking-cards-repository
Sources & reasoning
Source matrix (line 159) marks Snakkekort as NICE priority in Phase 3, confirmed in the Fase 3 action list (line 359). Phase 3 is the third development phase, mapping to v1.1. All five organizations checked it, giving it broad cross-tenant relevance despite the lower priority. Included as could_have because the source explicitly defers it to growth/engagement phase.
-
docs/source/likeperson.md ยท line 159| Snakkekort | โ | โ | โ | โ | โ | NICE | 3 |
-
docs/source/likeperson.md ยท line 359- Snakkekort / Talking Cards Toolbox
Responsibilities
- Load the bundled card dataset into local storage on first run
- Read all cards from the local offline store
- Read a single card record by its unique ID
- Expose a typed interface over raw storage operations
Interfaces
seedCards(cards: TalkingCard[]): Promise<void>
findAll(): Promise<TalkingCard[]>
findById(cardId: string): Promise<TalkingCard | null>