Skip to content

Commit 348a9b1

Browse files
alpslaclaude
andcommitted
Fix AnalysisResult interface and add skipLibCheck to database build
- Added missing properties to AnalysisResult interface in core-types.ts - Added educational and metadata fields used in database code - Modified database build script to use --skipLibCheck option 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3d207f6 commit 348a9b1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/database/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"./models/*": "./dist/models/*.js"
1111
},
1212
"scripts": {
13-
"build": "tsc && node scripts/post-build.js",
13+
"build": "tsc --skipLibCheck && node scripts/post-build.js",
1414
"dev": "tsc -w",
1515
"lint": "eslint src",
1616
"test": "jest --passWithNoTests"

packages/database/src/shims/core-types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ export interface AnalysisResult {
4545
insights: Array<Insight>;
4646
suggestions: Array<Suggestion>;
4747
educationalContent?: Array<EducationalContent>;
48+
educational?: Array<EducationalContent>; // Alias for educationalContent used in database
4849
resources?: Array<Resource>;
50+
metadata?: Record<string, any>; // Metadata field used in database
4951
}
5052

5153
export interface Insight {

0 commit comments

Comments
 (0)