@sports-alliance/sports-lib
Version:
A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc
18 lines (17 loc) • 610 B
TypeScript
import { DataBare } from './data.bare';
import { DataDuration } from './data.duration';
import { DataPower } from './data.power';
import { DataPowerWattsPerKg } from './data.power-watts-per-kg';
export interface DataPowerCurvePoint {
duration: DataDuration;
power: DataPower;
wattsPerKg?: DataPowerWattsPerKg;
}
export declare class DataPowerCurve extends DataBare<DataPowerCurvePoint[]> {
static type: string;
constructor(value: DataPowerCurvePoint[]);
static hydrate(value: (DataPowerCurvePoint | any)[]): DataPowerCurvePoint[];
toJSON(): {
[key: string]: any[];
};
}