UNPKG

@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

30 lines (29 loc) 1.16 kB
import { RouteInterface } from './route.interface'; export declare class RouteUtilities { private static readonly geoLibAdapter; private static readonly baseRouteStreamTypes; private static readonly routeUnitBaseStreamTypes; static generateMissingStreamsAndStatsForRoute(route: RouteInterface): RouteInterface; static getSupportedRouteStreamTypes(): string[]; private static createDerivedStreams; private static createDistanceStreams; private static createGradeStreams; private static createUnitStreams; private static generateStats; private static generateUnitStats; private static pruneStreamsByIncludeTypes; private static assertSupportedIncludeTypes; private static isKnownDataType; private static shapeStream; private static getNumericData; private static hasNumericData; private static getDataTypeMax; private static getDataTypeMin; private static getDataTypeAvg; private static getDataTypeFirst; private static getDataTypeLast; private static getDataTypeGain; private static getDataTypeLoss; private static getDataTypeDeltaSum; private static round; }