chore: fix some stuff idk
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user