sports-alliance / sports-lib

A Library for processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc
GNU Affero General Public License v3.0
149 stars 21 forks source link

Add isTrainer and hasPowerMeter to activity interface #44

Closed thomaschampagne closed 4 years ago

thomaschampagne commented 4 years ago

This PR adds ability to know if:

codecov-io commented 4 years ago

Codecov Report

Merging #44 into develop will increase coverage by 0.04%. The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #44      +/-   ##
===========================================
+ Coverage    72.23%   72.27%   +0.04%     
===========================================
  Files          172      172              
  Lines         4340     4347       +7     
  Branches       645      645              
===========================================
+ Hits          3135     3142       +7     
  Misses        1190     1190              
  Partials        15       15
Impacted Files Coverage Δ
src/activities/activity.ts 74.78% <75%> (+1.57%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fda88a8...e97cb51. Read the comment docs.