Hydration Summary
data class HydrationSummary(val date: LocalDate, val volumeMilliliters: Double, val entryCount: Int = 0)
Aggregated water intake for a single day, pulled from HealthKit HKQuantityTypeIdentifierDietaryWater on iOS or Health Connect HydrationRecord on Android.
Properties
Link copied to clipboard
Number of discrete log entries that contributed to volumeMilliliters; 0 when nothing was logged.
Link copied to clipboard
Sum of recorded water entries for the day, in milliliters. 0.0 when no entries exist (rather than null, so UI doesn't have to special-case the "no data" branch); pair with entryCount to distinguish "logged 0 mL" from "never logged".