hevy-shared 1.0.671 → 1.0.672

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
@@ -105,7 +105,6 @@ export interface UserAccountResponse {
105
105
  birthday?: string;
106
106
  sex?: Sex;
107
107
  email_consent: boolean;
108
- email_verified: boolean;
109
108
  }
110
109
  export interface CoachAppPushTarget {
111
110
  type: 'android' | 'ios';
@@ -15,6 +15,7 @@ export interface BaseNotification {
15
15
  from_username: string;
16
16
  profile_pic?: string;
17
17
  date: string;
18
+ read: boolean;
18
19
  }
19
20
  export interface BaseMobilePushData {
20
21
  type: MobilePushDataType;
@@ -141,7 +142,7 @@ export type NotificationMobilePushDataType = NotificationType | 'chat-update' |
141
142
  * For iOS/Apple see https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app
142
143
  * For Android see https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
143
144
  */
144
- export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-workouts' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'sync-account' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed' | never;
145
+ 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
146
  export interface CoachDataChangedMobilePushData extends BaseMobilePushData {
146
147
  type: 'coach-data-changed';
147
148
  additionalHevyData: ClientsCoachData;
@@ -170,9 +171,6 @@ export interface SyncRoutineFoldersMobilePushData extends BaseMobilePushData {
170
171
  export interface SyncCustomExercisesAndCoachCustomizationsMobilePushData extends BaseMobilePushData {
171
172
  type: 'sync-exercise-templates-and-customizations';
172
173
  }
173
- export interface SyncAccountMobilePushData extends BaseMobilePushData {
174
- type: 'sync-account';
175
- }
176
174
  export interface CoachProgramFinishesNextWeekMobilePushData extends BaseMobilePushData {
177
175
  type: 'coach-program-finishes-next-week';
178
176
  }
@@ -206,4 +204,4 @@ export interface GracePeriodResolveMobilePushData extends BaseMobilePushData {
206
204
  type: 'grace-period-resolve';
207
205
  deeplink: string;
208
206
  }
209
- export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncWorkoutsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | SyncAccountMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData | GracePeriodEnterMobilePushData | GracePeriodResolveMobilePushData;
207
+ 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 | GracePeriodEnterMobilePushData | GracePeriodResolveMobilePushData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.671",
3
+ "version": "1.0.672",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",