(chapterId: string, lessonId: string)
| 24 | } |
| 25 | |
| 26 | export function markCompleted(chapterId: string, lessonId: string) { |
| 27 | const progress = getProgress(); |
| 28 | progress.add(`${chapterId}/${lessonId}`); |
| 29 | saveProgress(progress); |
| 30 | } |
| 31 | |
| 32 | // ── Draft persistence ───────────────────────────────────────────────── |
| 33 |
nothing calls this directly
no test coverage detected