Client - get workouts ordered by distance, duration or average speed

This commit is contained in:
Sam
2021-11-02 15:12:57 +01:00
parent 05b22e6f72
commit e8350abf55
7 changed files with 90 additions and 26 deletions

View File

@ -48,3 +48,17 @@ export const getQuery = (
return query
}
export const workoutsPayloadKeys = [
'from',
'to',
'ave_speed_from',
'ave_speed_to',
'max_speed_from',
'max_speed_to',
'distance_from',
'distance_to',
'duration_from',
'duration_to',
'sport_id',
]