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:
richarjiang
2025-09-22 09:02:42 +08:00
parent fb85a5f30c
commit dbe460a084
5 changed files with 3 additions and 10 deletions

View File

@@ -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,
}