Impact Summary Trigger Config
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Configuration store that manages the trigger dates, period types, and organisation-level feature flags controlling when and how impact summaries are generated and dispatched. Allows administrators to customise annual and half-year trigger dates without a code deployment.
impact-summary-trigger-config
Responsibilities
- Store configurable trigger dates for annual and half-year summary periods
- Provide organisation-level feature flag to enable or disable the summary feature
- Expose config values to the Impact Summary Trigger Service at runtime
- Support environment-level overrides for testing and staging environments
Interfaces
getTriggerConfig(organizationId)
setTriggerDate(organizationId, periodType, date)
isFeatureEnabled(organizationId)
setFeatureEnabled(organizationId, enabled)
getEnvironmentOverrides()