Unilateral exercises logging
This commit is contained in:
3
types.ts
3
types.ts
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user