From b965d9432b4037dd2f65bb4c8690965e090228ca Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Dec 2025 18:44:05 +0900 Subject: feat(server): add study session API with FSRS integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Implement study endpoints for spaced repetition learning: - GET /api/decks/:deckId/study to fetch due cards - POST /api/decks/:deckId/study/:cardId to submit reviews - Integrate ts-fsrs library for scheduling algorithm - Add ReviewLog repository for tracking review history 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- pnpm-lock.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pnpm-lock.yaml') diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f41dfe9..419f011 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,6 +35,9 @@ importers: react-dom: specifier: ^19.2.1 version: 19.2.1(react@19.2.1) + ts-fsrs: + specifier: ^5.2.3 + version: 5.2.3 wouter: specifier: ^3.8.1 version: 3.8.1(react@19.2.1) @@ -1515,6 +1518,10 @@ packages: resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==} engines: {node: '>=20'} + ts-fsrs@5.2.3: + resolution: {integrity: sha512-R3IjceC9WfnvUin6Nx+DwqEzh3Qil6Gg2yEHqvocUcC7Nbi+xDrFg/1fKaYBT0tJedDnDAguXMSX0hijhi859w==} + engines: {node: '>=18.0.0'} + typescript@5.9.3: resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} engines: {node: '>=14.17'} @@ -2812,6 +2819,8 @@ snapshots: dependencies: punycode: 2.3.1 + ts-fsrs@5.2.3: {} + typescript@5.9.3: {} undici-types@7.16.0: {} -- cgit v1.2.3-70-g09d2