From 077aa1700fbcaf3f499c2178e0e58e89ae9dcaf8 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 25 Sep 2026 08:46:58 +0200 Subject: Chart power vs time for official climb attempts Snapshot average power per attempt in a nullable average_power_w column (backfilled from stored rides), plot each powered attempt on the climb page as duration vs average watts with ride hover and click-through, and show avg power in the attempts table. --- web/frontend/types.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'web/frontend/types.d.ts') diff --git a/web/frontend/types.d.ts b/web/frontend/types.d.ts index 74e0765..a933d7d 100644 --- a/web/frontend/types.d.ts +++ b/web/frontend/types.d.ts @@ -134,6 +134,14 @@ export interface AnalyticsPoint { year: number; } +export interface ClimbAttemptPoint { + durationS: number; + averagePowerW: number; + date: string; + rideName: string; + url: string; +} + export interface RateLimit { limit15: number; usage15: number; -- cgit v1.3