Declaration Content Provider
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Backend content store adapter that manages versioned declaration text so it can be updated without a mobile app release. Stores declaration versions with hashes and expiry metadata, enabling the service layer to always retrieve the current authoritative text and track which version each user accepted.
declaration-content-provider
Responsibilities
- Store and retrieve versioned declaration text blobs
- Generate and return content version hashes for audit trail linking
- Expose the currently active declaration version to consuming services
Interfaces
getCurrentVersion()
getContentByVersion(version)
publishNewVersion(content)
computeVersionHash(content)