hevy-shared 1.0.660 → 1.0.661
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/notifications.d.ts +8 -4
- package/package.json +1 -1
package/built/notifications.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export type MobilePushDataType = NotificationMobilePushDataType | DataOnlyMobile
|
|
|
134
134
|
* These types will have an alert/title, and will only be delivered if the user has given the notification
|
|
135
135
|
* permission to the App
|
|
136
136
|
*/
|
|
137
|
-
export type NotificationMobilePushDataType = NotificationType | 'chat-update' | 'coach-program-finishes-next-week' | 'coach-program-starts-today' | 'coach-logged-your-workout' | 'coach-logged-your-measurements' | 'monthly-report' | 'grace-period';
|
|
137
|
+
export type NotificationMobilePushDataType = NotificationType | 'chat-update' | 'coach-program-finishes-next-week' | 'coach-program-starts-today' | 'coach-logged-your-workout' | 'coach-logged-your-measurements' | 'monthly-report' | 'grace-period-enter' | 'grace-period-resolve';
|
|
138
138
|
/**
|
|
139
139
|
* These types CAN NOT have an alert/title, but may be delivered even if the user has not given the notification
|
|
140
140
|
* permission and even if Hevy isn't running, although these should be treated as best effort
|
|
@@ -195,8 +195,12 @@ export interface MonthlyReportMobilePushData extends BaseMobilePushData {
|
|
|
195
195
|
type: 'monthly-report';
|
|
196
196
|
deeplink: string;
|
|
197
197
|
}
|
|
198
|
-
export interface
|
|
199
|
-
type: 'grace-period';
|
|
198
|
+
export interface GracePeriodEnterMobilePushData extends BaseMobilePushData {
|
|
199
|
+
type: 'grace-period-enter';
|
|
200
200
|
deeplink: string;
|
|
201
201
|
}
|
|
202
|
-
export
|
|
202
|
+
export interface GracePeriodResolveMobilePushData extends BaseMobilePushData {
|
|
203
|
+
type: 'grace-period-resolve';
|
|
204
|
+
deeplink: string;
|
|
205
|
+
}
|
|
206
|
+
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;
|