Unilateral exercises logging

This commit is contained in:
AG
2025-12-03 23:30:32 +02:00
parent 50f3d4d49b
commit a632de65ea
24 changed files with 1656 additions and 244 deletions

View File

@@ -21,6 +21,7 @@ export interface WorkoutSet {
height?: number;
bodyWeightPercentage?: number; // Percentage of bodyweight used (e.g. 65 for pushups)
timestamp: number;
side?: 'LEFT' | 'RIGHT'; // For unilateral exercises
}
export interface WorkoutSession {
@@ -41,6 +42,7 @@ export interface ExerciseDef {
defaultRestSeconds?: number;
bodyWeightPercentage?: number; // Default percentage
isArchived?: boolean;
isUnilateral?: boolean; // For exercises requiring separate left/right tracking
}
export interface PlannedSet {
@@ -92,6 +94,7 @@ export interface SporadicSet {
bodyWeightPercentage?: number;
timestamp: number;
note?: string;
side?: 'LEFT' | 'RIGHT'; // For unilateral exercises
}
export interface User {