Service Layer medium complexity mobile
2
Dependencies
2
Dependents
1
Entities
0
Integrations

Description

Business logic layer responsible for fetching, caching, and surfacing the organization-scoped collection of talking cards and toolbox resources. Coordinates between the REST API, the local offline cache, and the repository layer to ensure cards are available in low-connectivity environments.

Feature: Talking Cards & Resource Toolbox

toolbox-content-service

Responsibilities

  • Fetch organization-scoped card collection from the REST API
  • Coordinate offline cache population and invalidation
  • Provide filtered and sorted card lists to the UI
  • Handle cache refresh on connectivity restore

Interfaces

getCards(organizationId)
getCardById(cardId)
getCardsByCategory(category)
searchCards(query)
refreshCardCache(organizationId)
getAvailableCategories(organizationId)
isCacheStale()

Relationships

Dependencies (2)

Components this component depends on

Dependents (2)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component