-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
44 lines (38 loc) · 842 Bytes
/
Copy pathtypes.ts
File metadata and controls
44 lines (38 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
export interface FileUpload {
name: string;
type: string;
size: number;
data: string; // Base64
}
export enum RiskSeverity {
HIGH = 'High',
MEDIUM = 'Medium',
LOW = 'Low'
}
export interface RiskItem {
title: string;
severity: RiskSeverity;
impact: string;
remediable: boolean;
}
export interface DetailedFinding {
risk: string;
documents: string[];
references: string;
reasoning: string;
}
export interface AmendmentResolution {
contract: string;
originalClause: string;
amendingDocument: string;
finalPosition: string;
}
export interface DiligenceReport {
executiveSummary: {
topRisks: RiskItem[];
};
detailedFindings: DetailedFinding[];
amendmentResolution: AmendmentResolution[];
questionsForCounsel: string[];
}
export type AppStatus = 'idle' | 'analyzing' | 'complete' | 'error';