chore: fix some stuff idk

This commit is contained in:
2025-09-04 15:28:43 +02:00
parent c801abc2e8
commit 09a0862896
3 changed files with 16 additions and 75 deletions

View File

@@ -31,16 +31,6 @@ interface UserProfile {
}
const userProfileType = createResponseType<UserProfile>(
`{
name: string;
age: number;
email: string;
preferences: {
theme: 'light' | 'dark';
notifications: boolean;
};
skills: string[];
}`,
'A user profile with personal information, preferences, and skills',
{
name: 'John Doe',
@@ -64,16 +54,6 @@ interface ProductAnalysis {
}
const productAnalysisType = createResponseType<ProductAnalysis>(
`{
productName: string;
category: string;
priceRange: 'budget' | 'mid-range' | 'premium';
pros: string[];
cons: string[];
overallRating: number;
recommendation: 'buy' | 'consider' | 'avoid';
reasoning: string;
}`,
'A comprehensive product analysis with pros, cons, rating, and recommendation',
{
productName: 'Example Product',
@@ -102,18 +82,6 @@ interface CodeReview {
}
const codeReviewType = createResponseType<CodeReview>(
`{
overallScore: number;
issues: Array<{
type: 'error' | 'warning' | 'suggestion';
line?: number;
message: string;
severity: 'low' | 'medium' | 'high';
}>;
strengths: string[];
improvements: string[];
summary: string;
}`,
'A comprehensive code review with scoring, issues, and recommendations',
{
overallScore: 8,