Dashboard: rozdzielenie statystyk 'Aktywny plan' (ring + postep) od 'Historia' (killstreak, ukonczone plany, treningi, serie); API /dashboard += history

This commit is contained in:
Tilumca
2026-10-15 02:47:42 +02:00
parent 3a5e352b96
commit 94f8fc2e57
7 changed files with 189 additions and 52 deletions

View File

@@ -351,6 +351,8 @@ export interface ActiveSession {
export interface Dashboard {
killstreak: number;
/** Statystyki globalne (ponad wszystkimi planami) — w kontrze do progress/extra/missing. */
history: { completedPlans: number; sessions: number; sets: number };
nextTraining: {
dayId: string;
date: string;