Initial commit: Set up Garmin Health Lab project structure
- Initialize monorepo with root workspace configuration - Set up Express.js backend with TypeScript - Set up React 18 frontend with TypeScript - Create database schema with SQLite - Implement project architecture and documentation - Add development and deployment guidelines Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
37
client/src/types/index.ts
Normal file
37
client/src/types/index.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
export interface HealthSummary {
|
||||
date: string;
|
||||
steps: number;
|
||||
heartRate?: number;
|
||||
sleep?: {
|
||||
duration: number;
|
||||
quality: number;
|
||||
};
|
||||
caloriesBurned?: number;
|
||||
stress?: number;
|
||||
}
|
||||
|
||||
export interface Activity {
|
||||
id: string;
|
||||
activityType: string;
|
||||
startTime: string;
|
||||
endTime: string;
|
||||
duration: number;
|
||||
distance?: number;
|
||||
calories?: number;
|
||||
heartRateAverage?: number;
|
||||
heartRateMax?: number;
|
||||
}
|
||||
|
||||
export interface Recommendation {
|
||||
id: string;
|
||||
category: string;
|
||||
recommendation: string;
|
||||
priority: 'high' | 'medium' | 'low';
|
||||
basedOn: string[];
|
||||
}
|
||||
|
||||
export interface TrendData {
|
||||
date: string;
|
||||
value: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
Reference in New Issue
Block a user