- Add GameRequestSchema and derived types to packages/shared - Add SupportedLanguageCode, SupportedPos, DifficultyLevel type exports - Add getGameTerms() model to packages/db with pos/language/difficulty/limit filters - Add prepareGameQuestions() service skeleton in apps/api - Add createGame controller with Zod safeParse validation - Wire POST /api/v1/game/start route - Add scripts/gametest/test-game.ts for manual end-to-end testing
16 lines
418 B
JSON
16 lines
418 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"references": [
|
|
{ "path": "../../packages/shared" },
|
|
{ "path": "../../packages/db" },
|
|
],
|
|
"compilerOptions": {
|
|
"module": "NodeNext",
|
|
"moduleResolution": "NodeNext",
|
|
"outDir": "./dist",
|
|
"resolveJsonModule": true,
|
|
"rootDir": ".",
|
|
"types": ["vitest/globals"],
|
|
},
|
|
"include": ["src", "vitest.config.ts", "../../packages/db/src/models"],
|
|
}
|