quantified-self-lib
Advanced tools
Comparing version 3.3.15 to 3.3.16
@@ -46,3 +46,3 @@ "use strict"; | ||
Activity.prototype.addDataToStream = function (type, date, value) { | ||
this.getStreamData(type)[Math.ceil((+date - +this.startDate) / 1000)] = value; | ||
this.getStreamData(type)[Math.ceil((+date - +this.startDate) / 1000)] = value; // @todo ceil vs floor | ||
return this; | ||
@@ -49,0 +49,0 @@ }; |
@@ -8,3 +8,3 @@ import { StreamDataItem, StreamInterface } from './stream.interface'; | ||
/** | ||
* Gets the data based on a startDate | ||
* Gets the data based / offset on a startDate | ||
* @param startDate | ||
@@ -11,0 +11,0 @@ */ |
@@ -17,3 +17,3 @@ "use strict"; | ||
/** | ||
* Gets the data based on a startDate | ||
* Gets the data based / offset on a startDate | ||
* @param startDate | ||
@@ -20,0 +20,0 @@ */ |
@@ -0,1 +1,2 @@ | ||
import { LapTypes } from '../laps/lap.types'; | ||
export interface UserChartSettingsInterface { | ||
@@ -12,2 +13,4 @@ dataTypeSettings: DataTypeSettings; | ||
fillOpacity: number; | ||
lapTypes: LapTypes[]; | ||
showLaps: boolean; | ||
} | ||
@@ -14,0 +17,0 @@ export declare enum ChartThemes { |
{ | ||
"name": "quantified-self-lib", | ||
"version": "3.3.15", | ||
"version": "3.3.16", | ||
"description": "A Library to for processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
706411
11642