refactor(health): remove HRV field and improve notification types
- Remove heart rate variability (hrv) field from health data interfaces and implementations - Update default member name to Chinese localization - Replace type assertions with proper enum types in notification schedulers
This commit is contained in:
@@ -803,7 +803,7 @@ export class WaterNotificationHelpers {
|
||||
priority: 'normal',
|
||||
},
|
||||
{
|
||||
type: 'DAILY' as any,
|
||||
type: Notifications.SchedulableTriggerInputTypes.DAILY,
|
||||
hour: hour,
|
||||
minute: 0,
|
||||
}
|
||||
@@ -1278,7 +1278,7 @@ export class DailySummaryNotificationHelpers {
|
||||
priority: 'normal',
|
||||
},
|
||||
{
|
||||
type: 'DAILY' as any,
|
||||
type: Notifications.SchedulableTriggerInputTypes.DAILY,
|
||||
hour: hour,
|
||||
minute: minute,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user