garmin-connect
Version:
Makes it simple to interface with Garmin Connect to get or set any data point
29 lines (28 loc) • 718 B
TypeScript
interface HydrationData {
userId: number;
calendarDate: string;
lastEntryTimestampLocal: string;
valueInML: number;
goalInML: number;
baseGoalInML: number;
sweatLossInML: number;
activityIntakeInML: number;
hydrationMeasurementUnit: string;
hydrationContainers: HydrationContainer[];
hydrationAutoGoalEnabled: boolean;
}
interface HydrationContainer {
name: string | null;
volume: number;
unit: string;
}
interface WaterIntake {
userId: number;
calendarDate: string;
valueInML: number;
goalInML: number;
dailyAverageinML: number | null;
lastEntryTimestampLocal: string;
sweatLossInML: number | null;
activityIntakeInML: number;
}