Data Layer low complexity Shared Component mobile
0
Dependencies
1
Dependents
1
Entities
0
Integrations

Description

Data access layer that reads organization-specific impact multipliers (hourly rates, cost equivalents) from the local SQLite cache of organization_settings. Provides defaults when org-specific values are absent and supports offline access.

Feature: Advantage Calculator

org-impact-settings-repository

Responsibilities

  • Read impact multiplier configuration from organization_settings
  • Return default multipliers when org config is missing
  • Cache multipliers in memory for repeated calculations
  • Invalidate cache when organization settings are updated

Interfaces

getImpactMultipliers(orgId)
getDefaultMultipliers()
invalidateCache(orgId)
hasCustomMultipliers(orgId)

Relationships

Dependents (1)

Components that depend on this component

Related Data Entities (1)

Data entities managed by this component