hevy-shared 1.0.1016 → 1.0.1017
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 +9 -1
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -968,7 +968,7 @@ export interface PostWorkoutRequestWorkout {
|
|
|
968
968
|
biometrics?: WorkoutBiometrics;
|
|
969
969
|
is_biometrics_public: boolean;
|
|
970
970
|
trainer_program_id: string | undefined;
|
|
971
|
-
|
|
971
|
+
gym: WorkoutGym | undefined;
|
|
972
972
|
}
|
|
973
973
|
export type WorkoutDataImporterReport = {
|
|
974
974
|
state: 'idle';
|
|
@@ -1634,6 +1634,14 @@ export type HomeGym = {
|
|
|
1634
1634
|
};
|
|
1635
1635
|
export type Gym = CommercialGym | HomeGym;
|
|
1636
1636
|
export type GymType = Gym['type'];
|
|
1637
|
+
export type WorkoutCommercialGym = {
|
|
1638
|
+
type: 'commercial';
|
|
1639
|
+
id: string;
|
|
1640
|
+
};
|
|
1641
|
+
export type WorkoutHomeGym = {
|
|
1642
|
+
type: 'home';
|
|
1643
|
+
};
|
|
1644
|
+
export type WorkoutGym = WorkoutCommercialGym | WorkoutHomeGym;
|
|
1637
1645
|
export interface StripePrice {
|
|
1638
1646
|
product_id: string;
|
|
1639
1647
|
billing_period: 'month' | 'year' | 'pay-once';
|