Add avg power and NP to activity summary; NP uses Coggan 30s rolling-average method

This commit is contained in:
Davide Scaini
2026-05-12 23:47:06 +02:00
parent f1fec6d825
commit bd0595ee79
4 changed files with 54 additions and 1 deletions
+1
View File
@@ -109,6 +109,7 @@ export interface Timeseries {
export interface ActivityDetail extends Omit<ActivitySummary, 'detail_url' | 'track_url' | 'preview_coords'> {
description: string | null;
elevation_loss_m: number | null;
np_power_w: number | null;
max_power_w: number | null;
gear: string | null;
device: string | null;