hevy-shared 1.0.1010 → 1.0.1011

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.
Files changed (2) hide show
  1. package/built/index.d.ts +6 -2
  2. package/package.json +1 -1
package/built/index.d.ts CHANGED
@@ -1634,12 +1634,16 @@ export type HomeGym = {
1634
1634
  };
1635
1635
  export type Gym = CommercialGym | HomeGym;
1636
1636
  export type GymType = Gym['type'];
1637
- export type WorkoutGym = {
1637
+ export type WorkoutHomeGym = {
1638
+ type: 'home';
1639
+ };
1640
+ export type WorkoutCommercialGym = {
1641
+ type: 'commercial';
1638
1642
  id: string;
1639
- type: GymType;
1640
1643
  name: string;
1641
1644
  city: string;
1642
1645
  };
1646
+ export type WorkoutGym = WorkoutCommercialGym | WorkoutHomeGym;
1643
1647
  export interface StripePrice {
1644
1648
  product_id: string;
1645
1649
  billing_period: 'month' | 'year' | 'pay-once';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.1010",
3
+ "version": "1.0.1011",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",