hevy-shared 1.0.594 → 1.0.596

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
@@ -1523,7 +1523,7 @@ export interface UserWorkoutVideo extends UserWorkoutBaseMedia {
1523
1523
  }
1524
1524
  export type UserWorkoutMedia = UserWorkoutImage | UserWorkoutVideo;
1525
1525
  export type RepInputType = 'reps' | 'rep-range';
1526
- export type ShareToPlatform = 'strava' | 'appleHealth' | 'googleFit' | 'healthConnect';
1526
+ export type ShareToPlatform = 'strava' | 'appleHealth' | 'healthConnect';
1527
1527
  export type WorkoutVisibility = 'public' | 'private' | 'default';
1528
1528
  export interface CreateRoutineCopyRequest {
1529
1529
  routineId: string;
@@ -141,7 +141,7 @@ export type NotificationMobilePushDataType = NotificationType | 'chat-update' |
141
141
  * For iOS/Apple see https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app
142
142
  * For Android see https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
143
143
  */
144
- export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed';
144
+ export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-workouts' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed';
145
145
  export interface CoachDataChangedMobilePushData extends BaseMobilePushData {
146
146
  type: 'coach-data-changed';
147
147
  additionalHevyData: ClientsCoachData;
@@ -158,6 +158,9 @@ export interface HevyProSubscriptionRenewedMobilePushData extends BaseMobilePush
158
158
  export interface ProStatusChangedPushMobilePushData extends BaseMobilePushData {
159
159
  type: 'hevy-pro-status-changed';
160
160
  }
161
+ export interface SyncWorkoutsMobilePushData extends BaseMobilePushData {
162
+ type: 'sync-workouts';
163
+ }
161
164
  export interface SyncRoutinesMobilePushData extends BaseMobilePushData {
162
165
  type: 'sync-routines';
163
166
  }
@@ -192,4 +195,4 @@ export interface MonthlyReportMobilePushData extends BaseMobilePushData {
192
195
  type: 'monthly-report';
193
196
  deeplink: string;
194
197
  }
195
- export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData;
198
+ export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncWorkoutsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData;
@@ -155,7 +155,6 @@ class WorkoutBuilder {
155
155
  shareTo: {
156
156
  strava: false,
157
157
  appleHealth: false,
158
- googleFit: false,
159
158
  healthConnect: false,
160
159
  },
161
160
  clientId: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.594",
3
+ "version": "1.0.596",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",