Api+app: usuniecie PlanSet.difficulty z kontraktu planu (trudnosc pozostaje wynikiem rzeczywistym serii)

This commit is contained in:
tisachi
2026-10-11 15:52:33 +02:00
parent d544f6521c
commit 2fb288e029
18 changed files with 230 additions and 99 deletions

View File

@@ -66,8 +66,8 @@ async function main() {
{
dayOfWeek: 1,
exercises: [
{ puzzleId: bench.id, order: 0, sets: [{ index: 0, reps: 10, loadKg: 60 + index * 2.5, restSec: 90, rir: 2, difficulty: 3 }] },
{ puzzleId: squat.id, order: 1, sets: [{ index: 0, reps: 8, loadKg: 80 + index * 2.5, restSec: 120, rir: 1, difficulty: 4 }] },
{ puzzleId: bench.id, order: 0, sets: [{ index: 0, reps: 10, loadKg: 60 + index * 2.5, restSec: 90, rir: 2 }] },
{ puzzleId: squat.id, order: 1, sets: [{ index: 0, reps: 8, loadKg: 80 + index * 2.5, restSec: 120, rir: 1 }] },
],
},
],