hevy-shared 1.0.658 → 1.0.660
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 +1 -0
- package/built/notifications.d.ts +6 -2
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -444,6 +444,7 @@ export interface UserHevyProSubcription {
|
|
|
444
444
|
managing_store: UserHevyProSubcriptionStore;
|
|
445
445
|
type: 'monthly' | 'yearly' | 'lifetime' | 'custom';
|
|
446
446
|
expires_date?: string;
|
|
447
|
+
grace_period_expires_date?: string | null;
|
|
447
448
|
/**
|
|
448
449
|
* Set if the user has paused/cancelled their subscription
|
|
449
450
|
*/
|
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';
|
|
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';
|
|
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,4 +195,8 @@ export interface MonthlyReportMobilePushData extends BaseMobilePushData {
|
|
|
195
195
|
type: 'monthly-report';
|
|
196
196
|
deeplink: string;
|
|
197
197
|
}
|
|
198
|
-
export
|
|
198
|
+
export interface GracePeriodStatusMobilePushData extends BaseMobilePushData {
|
|
199
|
+
type: 'grace-period';
|
|
200
|
+
deeplink: string;
|
|
201
|
+
}
|
|
202
|
+
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 | GracePeriodStatusMobilePushData;
|