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) 807 B
export interface RouteLinkInterface { href: string; text?: string | null; type?: string | null; } export interface RoutePointInterface { latitudeDegrees: number; longitudeDegrees: number; altitude?: number | null; name?: string | null; comment?: string | null; description?: string | null; symbol?: string | null; type?: string | null; links?: RouteLinkInterface[]; extensions?: unknown; } export interface RouteWaypointInterface extends RoutePointInterface { distance?: number | null; routeIndex?: number | null; routePointIndex?: number | null; } export interface RouteMetadataInterface { comment?: string | null; description?: string | null; number?: number | null; links?: RouteLinkInterface[]; extensions?: unknown; }