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 +0 -1
- package/built/notifications.d.ts +3 -5
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
package/built/notifications.d.ts
CHANGED
|
@@ -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' | '
|
|
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 |
|
|
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;
|