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

@@ -58,6 +58,7 @@ model Exercise {
type String // STRENGTH, CARDIO, BODYWEIGHT, STATIC
bodyWeightPercentage Float? @default(0)
isArchived Boolean @default(false)
isUnilateral Boolean @default(false)
sets WorkoutSet[]
sporadicSets SporadicSet[]
@@ -90,6 +91,7 @@ model WorkoutSet {
distanceMeters Float?
durationSeconds Int?
completed Boolean @default(true)
side String? // LEFT, RIGHT, or null for bilateral
}
model WorkoutPlan {
@@ -116,6 +118,7 @@ model SporadicSet {
durationSeconds Int?
height Float?
bodyWeightPercentage Float?
side String? // LEFT, RIGHT, or null for bilateral
timestamp DateTime @default(now())
note String?