Spaces:
Sleeping
Sleeping
Update types.ts
Browse files
types.ts
CHANGED
|
@@ -36,6 +36,12 @@ export interface QaSectionResult {
|
|
| 36 |
pass: boolean;
|
| 37 |
errors: string[];
|
| 38 |
corrected: string;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
// Represents the full, structured QA report.
|
|
@@ -48,7 +54,22 @@ export interface DetailedQaReport {
|
|
| 48 |
grade: string;
|
| 49 |
pass: boolean;
|
| 50 |
primaryIssue: string;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
|
| 54 |
|
|
|
|
| 36 |
pass: boolean;
|
| 37 |
errors: string[];
|
| 38 |
corrected: string;
|
| 39 |
+
// Enhanced to capture ALL QA Guard content
|
| 40 |
+
detailedAssessment?: string; // Full detailed assessment text
|
| 41 |
+
keyStrengths?: string[]; // List of key strengths identified
|
| 42 |
+
recommendations?: string[]; // List of recommendations
|
| 43 |
+
explanations?: string; // Detailed explanations
|
| 44 |
+
rawContent?: string; // Raw section content for complete preservation
|
| 45 |
}
|
| 46 |
|
| 47 |
// Represents the full, structured QA report.
|
|
|
|
| 54 |
grade: string;
|
| 55 |
pass: boolean;
|
| 56 |
primaryIssue: string;
|
| 57 |
+
// Enhanced to capture ALL overall assessment content
|
| 58 |
+
detailedAssessment?: string; // Full detailed overall assessment
|
| 59 |
+
keyStrengths?: string[]; // Overall key strengths
|
| 60 |
+
recommendations?: string[]; // Overall recommendations
|
| 61 |
+
explanations?: string; // Detailed overall explanations
|
| 62 |
+
rawContent?: string; // Raw overall section content
|
| 63 |
};
|
| 64 |
+
// Capture any additional sections that QA Guard might generate
|
| 65 |
+
additionalSections?: {
|
| 66 |
+
[sectionName: string]: {
|
| 67 |
+
content: string;
|
| 68 |
+
type: 'assessment' | 'strengths' | 'recommendations' | 'explanations' | 'other';
|
| 69 |
+
};
|
| 70 |
+
};
|
| 71 |
+
// Preserve the complete raw QA report
|
| 72 |
+
completeRawReport?: string;
|
| 73 |
}
|
| 74 |
|
| 75 |
|