sparser data transfers

This commit is contained in:
vcoppe committed 2026-10-18 16:20:32 +02:00
1 parent 4583874e7e
commit a07da16163
15 files changed
+22 -24

No files matched your search

-1
View File
@@ -25,7 +25,6 @@ macro_rules! stats_getter {
stats_getter!(total_distance, Float64Array);
stats_getter!(elevation_gain, Float64Array);
stats_getter!(elevation_loss, Float64Array);
stats_getter!(slope, Float64Array);
stats_getter!(lng, Float64Array);
stats_getter!(lat, Float64Array);
stats_getter!(ele, Float64Array);
+2
View File
@@ -69,6 +69,8 @@ export interface TrackpointDetails {
* Absent fields are unknown.
*/
export interface SelectionPoint {
/** Slope (%) at the trackpoint. */
slope?: number;
/** ms since epoch */
time?: number;
/** Slope (%) and length (km) of the smoothed elevation segment of the trackpoint. */