hevy-shared 1.0.1002 → 1.0.1004
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
|
@@ -289,6 +289,7 @@ export interface BackofficeExistingUserResponse {
|
|
|
289
289
|
last_workout_at: string;
|
|
290
290
|
coach_client_status?: 'coached-active-plan' | 'coached-inactive-plan';
|
|
291
291
|
coach_status?: 'coach-active-plan' | 'coach-inactive-plan';
|
|
292
|
+
coach_username?: string;
|
|
292
293
|
notes: string | null;
|
|
293
294
|
is_banned: boolean;
|
|
294
295
|
metadata: UserMetadataResponse | null;
|
|
@@ -887,7 +888,6 @@ export interface Workout {
|
|
|
887
888
|
biometrics?: WorkoutBiometrics;
|
|
888
889
|
is_biometrics_public: boolean;
|
|
889
890
|
trainer_program_id: string | undefined;
|
|
890
|
-
gym: Gym | undefined;
|
|
891
891
|
}
|
|
892
892
|
export interface CustomExerciseImage {
|
|
893
893
|
type: 'image';
|
|
@@ -967,7 +967,6 @@ export interface PostWorkoutRequestWorkout {
|
|
|
967
967
|
biometrics?: WorkoutBiometrics;
|
|
968
968
|
is_biometrics_public: boolean;
|
|
969
969
|
trainer_program_id: string | undefined;
|
|
970
|
-
gym: Gym | undefined;
|
|
971
970
|
}
|
|
972
971
|
export type WorkoutDataImporterReport = {
|
|
973
972
|
state: 'idle';
|
|
@@ -1620,18 +1619,6 @@ export interface UserMetadataResponse {
|
|
|
1620
1619
|
export interface NetworkInfoRequest {
|
|
1621
1620
|
networkType: NetworkType;
|
|
1622
1621
|
}
|
|
1623
|
-
export type CommercialGym = {
|
|
1624
|
-
type: 'commercial';
|
|
1625
|
-
id: string;
|
|
1626
|
-
name: string;
|
|
1627
|
-
fullAddress: string;
|
|
1628
|
-
city: string;
|
|
1629
|
-
distanceM: number;
|
|
1630
|
-
};
|
|
1631
|
-
export type HomeGym = {
|
|
1632
|
-
type: 'home';
|
|
1633
|
-
};
|
|
1634
|
-
export type Gym = CommercialGym | HomeGym;
|
|
1635
1622
|
export interface StripePrice {
|
|
1636
1623
|
product_id: string;
|
|
1637
1624
|
billing_period: 'month' | 'year' | 'pay-once';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExerciseType,
|
|
1
|
+
import { ExerciseType, RPE, SetType, ShareToPlatform, WorkoutBiometrics, WorkoutMedia, WorkoutVisibility } from '.';
|
|
2
2
|
/**
|
|
3
3
|
* Events are used to determine the start time, end time and duration of a
|
|
4
4
|
* `NormalizedWorkout`, in a way that can be persisted to disk.
|
|
@@ -36,7 +36,6 @@ export interface NormalizedWorkout {
|
|
|
36
36
|
clientId: string;
|
|
37
37
|
biometrics?: WorkoutBiometrics;
|
|
38
38
|
trainerProgramId: string | undefined;
|
|
39
|
-
gym: Gym | undefined;
|
|
40
39
|
}
|
|
41
40
|
export interface NormalizedSet {
|
|
42
41
|
index: number;
|
package/built/tests/testUtils.js
CHANGED