mirror of
https://github.com/prdlk/leetcode.git
synced 2026-09-16 23:16:26 +00:00
docs(docs): align stage ladder with API ladder constants
This commit is contained in:
@@ -17,7 +17,9 @@ const API_BASE = "https://srs-api.prdlk.workers.dev";
|
|||||||
|
|
||||||
// ── /api/stats response shape ────────────────────────────────────
|
// ── /api/stats response shape ────────────────────────────────────
|
||||||
|
|
||||||
const STAGES = ["new", "+2", "+5", "+10", "retired"] as const;
|
// Mirrors STAGES in apps/api/src/srs.ts — the ladder rungs, in order. The
|
||||||
|
// Worker ships every rung in `ladder`, zeros included.
|
||||||
|
const STAGES = ["new", "+3", "+7", "retired"] as const;
|
||||||
|
|
||||||
type Stage = (typeof STAGES)[number];
|
type Stage = (typeof STAGES)[number];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user