hevy-shared 1.0.813 → 1.0.815
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 extends LinkPreviewMetadataResponse {
|
|
1827
|
+
username: string;
|
|
1828
|
+
}
|
|
1829
|
+
export interface RoutineLinkPreviewMetadataResponse extends LinkPreviewMetadataResponse {
|
|
1830
|
+
username: string;
|
|
1831
|
+
exercise_count: number;
|
|
1832
|
+
}
|
|
1833
|
+
export interface FolderLinkPreviewMetadataResponse extends LinkPreviewMetadataResponse {
|
|
1834
|
+
username: string;
|
|
1835
|
+
routine_count: number;
|
|
1836
|
+
}
|
package/built/tests/testUtils.js
CHANGED