ExternalResourceRepository
Component Detail
Data Layer
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Manages persistent local storage of the external resource link list using the device's offline cache layer. It provides read and write operations for the cached link data and handles serialization of resource entries. This repository decouples the caching mechanism from the service layer.
external-resource-repository
Sources & reasoning
Line 160 of the priority matrix shows all five organizations want external resource links, classified as NICE with Fase 2 delivery. Phase 2 is the second delivery phase, mapping to v1.0 by ordinal normalization. Line 480 places this feature in the home-navigation area taxonomy. The NICE classification and Phase 2 column confirm it is planned but not launch-critical.
-
docs/source/likeperson.md ยท line 160Eksterne lenker til ressurser | โ | โ | โ | โ | โ | NICE | 2
-
docs/source/likeperson.md ยท line 480home-navigation | Home & Navigation | Role-Specific Home Dashboard, App Settings & Preferences, External Resource Links
Responsibilities
- Persist the fetched external resource list to local storage
- Retrieve the cached resource list for offline consumption
- Clear or replace the stored list on cache invalidation
- Track the cache timestamp to support staleness checks
Interfaces
save(resources: ExternalResource[]): Promise<void>
findAll(): Promise<ExternalResource[]>
clear(): Promise<void>
getLastUpdated(): Promise<Date | null>
Related Data Entities (1)
Data entities managed by this component