wordeck/apps/api
Till JS 11e4389774 feat(marketplace): grade_levels + geography/civics categories + history cleanup
Discovery-Verbesserung für Phase 2 (CONTENT_PLAN_PHASE2.md §5/§8):

- Schema: neue Spalte marketplace.decks.grade_levels (text[]) +
  Kategorien 'geography' und 'civics' (decks.ts, @wordeck/domain).
- Migration 0006: ADD COLUMN grade_levels (idempotent).
- Migration 0007: einmalige Daten-Korrektur — Geografie-/Orts-Decks
  history → geography, Factfulness → civics; grade_levels-Backfill
  (zyklus2/sek1/sek2/erwachsene) für die curricularen Decks. Slug-
  gezielt + idempotent (0 Zeilen auf fremden DBs).
- API: create/patch akzeptieren gradeLevels; browse/explore/me geben
  grade_levels zurück; ?grade= Discovery-Filter.
- Web: Kategorie-Icons/Farben für geography (MapPin) + civics (BookOpen),
  Schulstufen-Filter auf /explore, Stufen-Badge auf Deck-Karten.

Aktiviert sich auf prod beim nächsten Deploy (WORDECK_RUN_MIGRATIONS).
type-check grün (api/web/domain), 51 Domain-Tests grün.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-25 15:31:43 +02:00
..
scripts fix(wordeck): pre-existing test drifts + L-2 cleanup vor Deploy 2026-05-20 21:56:42 +02:00
src feat(marketplace): grade_levels + geography/civics categories + history cleanup 2026-05-25 15:31:43 +02:00
tests fix(wordeck): pre-existing test drifts + L-2 cleanup vor Deploy 2026-05-20 21:56:42 +02:00
Dockerfile fix(dockerfiles): packages/cards-domain → wordeck-domain 2026-05-17 22:40:31 +02:00
drizzle.config.ts Phase 12 R0+R1: Marketplace-Restore-Plan + Schema in marketplace-pgSchema 2026-05-09 15:05:22 +02:00
package.json refactor(big-bang): cards → wordeck im gesamten Code-Layer 2026-05-17 22:39:42 +02:00
tsconfig.json Phase 3 follow-up: type-check + tests grün, ts-fsrs v5 API 2026-05-08 14:41:04 +02:00
vitest.config.ts security(cards): fail-secure dev-stub, headers, rate-limit, dsgvo audit 2026-05-12 16:56:03 +02:00