Fetch and flatten historical yearly raised totals for a user or team.
The service returns a { [year]: { campaigns?, total_amount_raised, fundraising_event_id? } } map. This fetcher walks the map and emits
one row per campaign (when the year has a per-campaign breakdown) or
one row for the year (event-level fallback). Overlays consume the
flat array directly.
Fetch and flatten historical yearly raised totals for a user or team.
The service returns a
{ [year]: { campaigns?, total_amount_raised, fundraising_event_id? } }map. This fetcher walks the map and emits one row per campaign (when the year has a per-campaign breakdown) or one row for the year (event-level fallback). Overlays consume the flat array directly.