MCPcopy Create free account
hub / github.com/EmNudge/watlings / markCompleted

Function markCompleted

web-build/src/progress.ts:26–30  ·  view source on GitHub ↗
(chapterId: string, lessonId: string)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getProgressFunction · 0.85
saveProgressFunction · 0.85

Tested by

no test coverage detected