Export History Store
Component Detail
Data Layer
low complexity
mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Local data store that persists export records including organization ID, export timestamp, report period, format, file size, and download status. Supports offline access to export history and caches downloaded files for re-access without network.
export-history-store
Responsibilities
- Store and retrieve export history records
- Cache downloaded export files locally
- Track download status and file availability
- Sync export history with backend on connectivity restore
Interfaces
saveExportRecord(record): void
getExportRecords(organizationId): ExportRecord[]
getExportById(exportId): ExportRecord
cacheExportFile(exportId, fileData): void
getCachedFile(exportId): FileReference?
clearExpiredCache(): void