Cards Repository
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Provides access to the talking card dataset, abstracting over remote API fetching and local cache reads. Supports organization-specific card sets and shared tenant-wide cards, with feature flag awareness to control visibility per organization.
cards-repository
Responsibilities
- Retrieve talking cards from REST API or local cache
- Filter cards by organization context and feature flag status
- Organize cards by topic or conversation theme for display
Interfaces
getAllCards(): Future<List<TalkingCard>>
getCardsByTopic(topic: String): Future<List<TalkingCard>>
getCardById(id: String): Future<TalkingCard?>
Relationships
Dependents (2)
Components that depend on this component