hevy-shared 1.0.813 → 1.0.814

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
@@ -558,7 +558,6 @@ export interface UserProfile {
558
558
  routines: RoutineMetadata[];
559
559
  weekly_workout_durations: WeeklyWorkoutDuration[];
560
560
  mutual_followers: PreviewMutualUser[];
561
- streak_count: number;
562
561
  }
563
562
  export interface PublicUserProfile {
564
563
  private_profile: boolean;
@@ -854,6 +853,7 @@ export interface Workout {
854
853
  biometrics?: WorkoutBiometrics;
855
854
  is_biometrics_public: boolean;
856
855
  is_trainer_workout: boolean;
856
+ trainer_program_id: string | undefined;
857
857
  }
858
858
  export interface CustomExerciseImage {
859
859
  type: 'image';
@@ -933,6 +933,7 @@ export interface PostWorkoutRequestWorkout {
933
933
  biometrics?: WorkoutBiometrics;
934
934
  is_biometrics_public: boolean;
935
935
  is_trainer_workout: boolean;
936
+ trainer_program_id: string | undefined;
936
937
  }
937
938
  export declare const isHeartRateSamples: (x: any) => x is HeartRateSample[];
938
939
  export declare const isWorkoutBiometrics: (x: any) => x is WorkoutBiometrics;
@@ -1222,6 +1223,7 @@ export interface OutstandingInvitesForCoachTeamResponse {
1222
1223
  invites: CoachTeamInvite[];
1223
1224
  }
1224
1225
  export interface HevyTrainerProgram {
1226
+ id: string;
1225
1227
  created_at: string;
1226
1228
  updated_at: string;
1227
1229
  title: string;
@@ -1814,3 +1816,21 @@ export interface HevyTrainerUserPreferences {
1814
1816
  excludedExercisesIds: string[];
1815
1817
  availableEquipment: AvailableEquipment;
1816
1818
  }
1819
+ export interface LinkPreviewMetadataResponse {
1820
+ title: string;
1821
+ description: string;
1822
+ url: string;
1823
+ image_url: string;
1824
+ twitter_image_url: string;
1825
+ }
1826
+ export interface UserLinkPreviewMetadataResponse {
1827
+ username: string;
1828
+ }
1829
+ export interface RoutineLinkPreviewMetadataResponse {
1830
+ username: string;
1831
+ exercise_count: number;
1832
+ }
1833
+ export interface FolderLinkPreviewMetadataResponse {
1834
+ username: string;
1835
+ routine_count: number;
1836
+ }
@@ -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.813",
3
+ "version": "1.0.814",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",