hevy-shared 1.0.994 → 1.0.995
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/index.d.ts +10 -4
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1324,8 +1324,14 @@ export interface TrainerProgramV3 {
|
|
|
1324
1324
|
rest_timer_length: RestTimerLength;
|
|
1325
1325
|
cardio_preference: CardioPreference;
|
|
1326
1326
|
}
|
|
1327
|
-
export
|
|
1328
|
-
|
|
1327
|
+
export type TrainerWorkoutTemplateExerciseInput = Omit<TrainerWorkoutTemplateResistanceExercise, 'id'> | Omit<TrainerWorkoutTemplateCardioExercise, 'id'> | Omit<TrainerWorkoutTemplateOtherExercise, 'id'>;
|
|
1328
|
+
export interface PostTrainerWorkoutTemplate {
|
|
1329
|
+
name: TrainerWorkoutTemplateName;
|
|
1330
|
+
index: number;
|
|
1331
|
+
exercises: TrainerWorkoutTemplateExerciseInput[];
|
|
1332
|
+
}
|
|
1333
|
+
export interface UpdateTrainerWorkoutTemplate extends PostTrainerWorkoutTemplate {
|
|
1334
|
+
id: string;
|
|
1329
1335
|
}
|
|
1330
1336
|
export interface PostTrainerProgramV3RequestBody {
|
|
1331
1337
|
program: {
|
|
@@ -1340,7 +1346,7 @@ export interface PostTrainerProgramV3RequestBody {
|
|
|
1340
1346
|
workout_duration_minutes: WorkoutDurationMinutes;
|
|
1341
1347
|
rest_timer_length: RestTimerLength;
|
|
1342
1348
|
cardio_preference: CardioPreference;
|
|
1343
|
-
templates:
|
|
1349
|
+
templates: PostTrainerWorkoutTemplate[];
|
|
1344
1350
|
};
|
|
1345
1351
|
}
|
|
1346
1352
|
export interface UpdateTrainerProgramV3RequestBody {
|
|
@@ -1356,7 +1362,7 @@ export interface UpdateTrainerProgramV3RequestBody {
|
|
|
1356
1362
|
workout_duration_minutes: WorkoutDurationMinutes;
|
|
1357
1363
|
rest_timer_length: RestTimerLength;
|
|
1358
1364
|
cardio_preference: CardioPreference;
|
|
1359
|
-
templates:
|
|
1365
|
+
templates: UpdateTrainerWorkoutTemplate[];
|
|
1360
1366
|
};
|
|
1361
1367
|
}
|
|
1362
1368
|
/** @deprecated Use TrainerProgramV3 instead */
|