hevy-shared 1.0.644 → 1.0.646
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 -1
- package/built/notifications.d.ts +4 -1
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -444,7 +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
|
|
447
|
+
grace_period_expires_date?: string | null;
|
|
448
448
|
/**
|
|
449
449
|
* Set if the user has paused/cancelled their subscription
|
|
450
450
|
*/
|
package/built/notifications.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { ClientsCoachData, Program } from '.';
|
|
9
9
|
import { HevyChatUpdateMobilePushData } from './chat';
|
|
10
|
-
export type Notification = WorkoutCompleteNotification | WorkoutMentionNotification | WorkoutCommentNotification | WorkoutCommentMentionNotification | WorkoutCommentReplyNotification | WorkoutCommentDiscussionNotification | WorkoutLikeNotification | WorkoutCommentLikeNotification | FollowNotification | FollowRequestNotification | AcceptFollowRequestNotification | CoachClientInviteNotification | ContactOnHevyNotification;
|
|
10
|
+
export type Notification = WorkoutCompleteNotification | WorkoutMentionNotification | WorkoutCommentNotification | WorkoutCommentMentionNotification | WorkoutCommentReplyNotification | WorkoutCommentDiscussionNotification | WorkoutLikeNotification | WorkoutCommentLikeNotification | FollowNotification | FollowRequestNotification | AcceptFollowRequestNotification | GracePeriodStatusNotification | CoachClientInviteNotification | ContactOnHevyNotification;
|
|
11
11
|
export type NotificationType = 'workout-complete' | 'workout-mention' | 'workout-comment' | 'workout-comment-mention' | 'workout-comment-reply' | 'workout-comment-reply-v2' | 'workout-like' | 'workout-comment-like' | 'follow' | 'follow-request' | 'accept-follow-request' | 'grace-period-status' | 'coach-client-invite' | 'contact-on-hevy';
|
|
12
12
|
export interface BaseNotification {
|
|
13
13
|
id: number;
|
|
@@ -114,6 +114,9 @@ export interface AcceptFollowRequestMobilePushData extends BaseMobilePushData {
|
|
|
114
114
|
export interface GracePeriodStatusMobilePushData extends BaseMobilePushData {
|
|
115
115
|
type: 'grace-period-status';
|
|
116
116
|
}
|
|
117
|
+
export interface GracePeriodStatusNotification extends BaseNotification {
|
|
118
|
+
type: 'grace-period-status';
|
|
119
|
+
}
|
|
117
120
|
export interface CoachClientInviteNotification extends BaseNotification {
|
|
118
121
|
type: 'coach-client-invite';
|
|
119
122
|
from_full_name?: string;
|