Skip to content

Commit

Permalink
Merge pull request #34 from yihong0618/master
Browse files Browse the repository at this point in the history
feat: heart rate for #12
  • Loading branch information
alexanderzobnin authored Apr 30, 2021
2 parents e65036e + 261d97d commit 81bf74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/QueryEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const stravaActivityStatOptions: Array<SelectableValue<StravaActivityStat>> = [
{ value: StravaActivityStat.MovingTime, label: 'Moving Time' },
{ value: StravaActivityStat.ElevationGain, label: 'Elevation Gain' },
{ value: StravaActivityStat.AveragePower, label: 'Average Power' },
{ value: StravaActivityStat.AverageHeartRate, label: 'Average Heart Rate' },
];

const stravaActivityTypeOptions: Array<SelectableValue<StravaActivityType>> = [
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export enum StravaActivityStat {
ElapsedTime = 'elapsed_time',
ElevationGain = 'total_elevation_gain',
AveragePower = 'average_watts',
AverageHeartRate = 'average_heartrate',
}

export type StravaActivityType = string | null;

0 comments on commit 81bf74c

Please sign in to comment.