hevy-shared 1.0.1030 → 1.0.1032

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.
@@ -162,6 +162,7 @@ class WorkoutBuilder {
162
162
  },
163
163
  clientId: '',
164
164
  gymId: undefined,
165
+ isHomeWorkout: false,
165
166
  });
166
167
  this._exercises = [];
167
168
  }
@@ -37,6 +37,7 @@ export interface NormalizedWorkout {
37
37
  biometrics?: WorkoutBiometrics;
38
38
  trainerProgramId: string | undefined;
39
39
  gymId: string | undefined;
40
+ isHomeWorkout: boolean;
40
41
  }
41
42
  export interface NormalizedSet {
42
43
  index: number;
@@ -40,7 +40,7 @@ export interface PostWorkoutRequestWorkout {
40
40
  is_biometrics_public: boolean;
41
41
  trainer_program_id: string | undefined;
42
42
  gym_id: string | undefined;
43
- is_home_gym: boolean;
43
+ is_home_workout: boolean;
44
44
  }
45
45
  export interface PostWorkoutRequestExercise {
46
46
  title: string;
@@ -123,8 +123,5 @@ type CommercialGym = {
123
123
  name: string;
124
124
  city: string;
125
125
  };
126
- type HomeGym = {
127
- type: 'home';
128
- };
129
- export type UserWorkoutGym = CommercialGym | HomeGym;
126
+ export type UserWorkoutGym = CommercialGym;
130
127
  export {};
@@ -47,7 +47,7 @@ export interface OwnedWorkout {
47
47
  is_biometrics_public: boolean;
48
48
  trainer_program_id: string | undefined;
49
49
  gym_id: string | undefined;
50
- is_home_gym: boolean;
50
+ is_home_workout: boolean;
51
51
  }
52
52
  export interface TrainerWorkout extends OwnedWorkout {
53
53
  trainer_program_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.1030",
3
+ "version": "1.0.1032",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",