reviewing and updating deck generation

This commit is contained in:
lila 2026-03-31 16:48:40 +02:00
parent 521ffe3b6e
commit 9d1a82bdf0
5 changed files with 10 additions and 51 deletions

View file

@ -29,7 +29,7 @@ Done when: `GET /api/decks/1/terms?limit=10` returns 10 terms from a specific de
[x] Write Drizzle schema: `terms`, `translations`, `language_pairs`, `term_glosses`, `decks`, `deck_terms`
[x] Write and run migration (includes CHECK constraints for `pos`, `gloss_type`)
[x] Write `packages/db/src/seed.ts` (imports ALL terms + translations, NO decks)
[ ] Download CEFR A1/A2 noun lists (from GitHub repos)
[x] Download CEFR A1/A2 noun lists (from GitHub repos)
[ ] Write `scripts/build_decks.ts` (reads external CEFR lists, matches to DB, creates decks)
[ ] Run `pnpm db:seed` → populates terms
[ ] Run `pnpm db:build-decks` → creates curated decks