Card Library Service
Component Detail
Service Layer
medium complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Service layer that retrieves, caches, and organizes talking card decks for offline use on the mentor's device. Mediates between the UI and the local card store, ensuring decks are available regardless of connectivity.
card-library-service
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.
-
docs/source/likeperson.md · line 109| Snakkekort | ✓ | ✓ | ✓ | ✓ | ✓ | NICE | 3 |
-
docs/source/likeperson.md · line 272- Snakkekort / Talking Cards Toolbox
-
docs/source/likeperson.md · line 365| conversation-tools | Conversation Tools | Talking Cards Toolbox |
-
docs/source/likeperson.md · line 321- Snakkekort / toolbox
Responsibilities
- Fetch card decks and sync updates when connectivity is available
- Cache decks locally for full offline access
- Organize cards by theme and context for UI consumption
- Expose deck and card lookups by ID, theme, and context
- Track deck version metadata to support future content updates
Interfaces
getAllDecks(): Deck[]
getDeckById(deckId): Deck
getCardsByTheme(theme): Card[]
syncDecks(): SyncResult