hevy-shared 1.0.806 → 1.0.808

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 CHANGED
@@ -545,7 +545,6 @@ export interface UserProfile {
545
545
  routines: RoutineMetadata[];
546
546
  weekly_workout_durations: WeeklyWorkoutDuration[];
547
547
  mutual_followers: PreviewMutualUser[];
548
- streak_count: number;
549
548
  }
550
549
  export interface PublicUserProfile {
551
550
  private_profile: boolean;
@@ -841,6 +840,7 @@ export interface Workout {
841
840
  biometrics?: WorkoutBiometrics;
842
841
  is_biometrics_public: boolean;
843
842
  is_trainer_workout: boolean;
843
+ trainer_program_id?: string;
844
844
  }
845
845
  export interface CustomExerciseImage {
846
846
  type: 'image';
@@ -920,6 +920,7 @@ export interface PostWorkoutRequestWorkout {
920
920
  biometrics?: WorkoutBiometrics;
921
921
  is_biometrics_public: boolean;
922
922
  is_trainer_workout: boolean;
923
+ trainer_program_id?: string;
923
924
  }
924
925
  export declare const isHeartRateSamples: (x: any) => x is HeartRateSample[];
925
926
  export declare const isWorkoutBiometrics: (x: any) => x is WorkoutBiometrics;
@@ -1209,6 +1210,7 @@ export interface OutstandingInvitesForCoachTeamResponse {
1209
1210
  invites: CoachTeamInvite[];
1210
1211
  }
1211
1212
  export interface HevyTrainerProgram {
1213
+ id: string;
1212
1214
  created_at: string;
1213
1215
  updated_at: string;
1214
1216
  title: string;
@@ -36,6 +36,7 @@ export interface NormalizedWorkout {
36
36
  clientId: string;
37
37
  biometrics?: WorkoutBiometrics;
38
38
  isTrainerWorkout: boolean;
39
+ trainerProgramId?: string;
39
40
  }
40
41
  export interface NormalizedSet {
41
42
  index: number;
@@ -161,6 +161,7 @@ class WorkoutBuilder {
161
161
  healthConnect: false,
162
162
  },
163
163
  clientId: '',
164
+ trainerProgramId: undefined,
164
165
  });
165
166
  this._exercises = [];
166
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.806",
3
+ "version": "1.0.808",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",