hevy-shared 1.0.591 → 1.0.593
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 +3 -1
- package/built/notifications.d.ts +2 -5
- package/package.json +1 -1
package/built/index.d.ts
CHANGED
|
@@ -1372,7 +1372,6 @@ export interface UserMetadataRequest {
|
|
|
1372
1372
|
platformVersion: string;
|
|
1373
1373
|
appVersion: string;
|
|
1374
1374
|
securityId?: string;
|
|
1375
|
-
networkType?: NetworkType;
|
|
1376
1375
|
}
|
|
1377
1376
|
export type NetworkType = 'wifi' | 'cellular' | 'unknown';
|
|
1378
1377
|
export interface UserMetadataResponse {
|
|
@@ -1387,6 +1386,9 @@ export interface UserMetadataResponse {
|
|
|
1387
1386
|
geoip_timezone: string | null;
|
|
1388
1387
|
security_id: string | null;
|
|
1389
1388
|
}
|
|
1389
|
+
export interface NetworkInfoRequest {
|
|
1390
|
+
networkType: NetworkType;
|
|
1391
|
+
}
|
|
1390
1392
|
export interface StripePrice {
|
|
1391
1393
|
product_id: string;
|
|
1392
1394
|
billing_period: 'month' | 'year' | 'pay-once';
|
package/built/notifications.d.ts
CHANGED
|
@@ -141,7 +141,7 @@ export type NotificationMobilePushDataType = NotificationType | 'chat-update' |
|
|
|
141
141
|
* For iOS/Apple see https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/pushing_background_updates_to_your_app
|
|
142
142
|
* For Android see https://firebase.google.com/docs/cloud-messaging/concept-options#data_messages
|
|
143
143
|
*/
|
|
144
|
-
export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-
|
|
144
|
+
export type DataOnlyMobilePushDataType = 'coach-data-changed' | 'coach-program-changed' | 'sync-routines' | 'sync-routine-folders' | 'sync-exercise-templates-and-customizations' | 'hevy-pro-status-changed' | 'hevy-pro-subscription-renewed';
|
|
145
145
|
export interface CoachDataChangedMobilePushData extends BaseMobilePushData {
|
|
146
146
|
type: 'coach-data-changed';
|
|
147
147
|
additionalHevyData: ClientsCoachData;
|
|
@@ -158,9 +158,6 @@ export interface HevyProSubscriptionRenewedMobilePushData extends BaseMobilePush
|
|
|
158
158
|
export interface ProStatusChangedPushMobilePushData extends BaseMobilePushData {
|
|
159
159
|
type: 'hevy-pro-status-changed';
|
|
160
160
|
}
|
|
161
|
-
export interface SyncWorkoutsMobilePushData extends BaseMobilePushData {
|
|
162
|
-
type: 'sync-workouts';
|
|
163
|
-
}
|
|
164
161
|
export interface SyncRoutinesMobilePushData extends BaseMobilePushData {
|
|
165
162
|
type: 'sync-routines';
|
|
166
163
|
}
|
|
@@ -195,4 +192,4 @@ export interface MonthlyReportMobilePushData extends BaseMobilePushData {
|
|
|
195
192
|
type: 'monthly-report';
|
|
196
193
|
deeplink: string;
|
|
197
194
|
}
|
|
198
|
-
export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData |
|
|
195
|
+
export type MobilePushData = ChatUpdateMobilePushData | SyncCustomExercisesAndCoachCustomizationsMobilePushData | SyncRoutineFoldersMobilePushData | SyncRoutinesMobilePushData | ProStatusChangedPushMobilePushData | HevyProSubscriptionRenewedMobilePushData | CoachProgramChangedMobilePushData | CoachDataChangedMobilePushData | ContactOnHevyMobilePushData | CoachClientInviteMobilePushData | AcceptFollowRequestMobilePushData | FollowRequestMobilePushData | FollowMobilePushData | WorkoutLikeMobilePushData | WorkoutCommentLikeMobilePushData | WorkoutCommentMentionMobilePushData | WorkoutCommentDiscussionMobilePushData | WorkoutCommentReplyMobilePushData | WorkoutCommentMobilePushData | WorkoutMentionMobilePushData | WorkoutCompleteMobilePushData | CoachProgramFinishesNextWeekMobilePushData | CoachProgramStartsTodayMobilePushData | CoachLoggedYourWorkoutMobilePushData | CoachLoggedYourMeasurementsMobilePushData | MonthlyReportMobilePushData;
|