Data Layer low complexity mobile
0
Dependencies
2
Dependents
4
Entities
0
Integrations

Description

Local data layer that caches the user's certification records and certification type definitions fetched from the REST API. Provides reactive state updates to the UI when certificate data changes or is refreshed.

Feature: Digital Peer Mentor Certificate

certificate-store

Responsibilities

  • Cache certification records locally for offline viewing of certificate status
  • Store certification type metadata including renewal requirements and validity periods
  • Provide reactive streams of certificate data changes to the UI layer
  • Persist last-known certificate state for immediate display on app launch

Interfaces

getCachedCertificate(userId)
storeCertificate(certification)
getCertificationType(typeId)
storeCertificationType(certType)
watchCertificateChanges(userId)
clearCertificateCache()
getLastRefreshTimestamp()

Relationships

Dependents (2)

Components that depend on this component