trainingpeaks-sdk
Version:
TypeScript SDK for TrainingPeaks API integration
21 lines • 638 B
TypeScript
export type GetWorkoutsListParams = {
athleteId: string;
startDate: string;
endDate: string;
};
export type WorkoutListItem = {
workoutId: number;
athleteId: number;
title: string;
workoutTypeValueId: number;
code: string | null;
workoutDay: string;
startTime: string | null;
startTimePlanned: string | null;
isItAnOr: boolean;
};
export type WorkoutRepositoryGetWorkoutsList = (params: GetWorkoutsListParams) => Promise<readonly WorkoutListItem[]>;
export type WorkoutRepository = {
getWorkoutsList: WorkoutRepositoryGetWorkoutsList;
};
//# sourceMappingURL=workout-repository.d.ts.map