hevy-shared 1.0.809 → 1.0.810

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
@@ -853,6 +853,7 @@ export interface Workout {
853
853
  biometrics?: WorkoutBiometrics;
854
854
  is_biometrics_public: boolean;
855
855
  is_trainer_workout: boolean;
856
+ trainer_program_id: string | undefined;
856
857
  }
857
858
  export interface CustomExerciseImage {
858
859
  type: 'image';
@@ -932,6 +933,7 @@ export interface PostWorkoutRequestWorkout {
932
933
  biometrics?: WorkoutBiometrics;
933
934
  is_biometrics_public: boolean;
934
935
  is_trainer_workout: boolean;
936
+ trainer_program_id: string | undefined;
935
937
  }
936
938
  export declare const isHeartRateSamples: (x: any) => x is HeartRateSample[];
937
939
  export declare const isWorkoutBiometrics: (x: any) => x is WorkoutBiometrics;
@@ -1221,6 +1223,7 @@ export interface OutstandingInvitesForCoachTeamResponse {
1221
1223
  invites: CoachTeamInvite[];
1222
1224
  }
1223
1225
  export interface HevyTrainerProgram {
1226
+ id: string;
1224
1227
  created_at: string;
1225
1228
  updated_at: string;
1226
1229
  title: string;
@@ -36,6 +36,7 @@ export interface NormalizedWorkout {
36
36
  clientId: string;
37
37
  biometrics?: WorkoutBiometrics;
38
38
  isTrainerWorkout: boolean;
39
+ trainerProgramId: string | undefined;
39
40
  }
40
41
  export interface NormalizedSet {
41
42
  index: number;
@@ -155,6 +155,7 @@ class WorkoutBuilder {
155
155
  workoutVisibility: 'public',
156
156
  isWorkoutBiometricsPublic: true,
157
157
  isTrainerWorkout: false,
158
+ trainerProgramId: undefined,
158
159
  shareTo: {
159
160
  strava: false,
160
161
  appleHealth: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.809",
3
+ "version": "1.0.810",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",