generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
41 lines (38 loc) · 1.04 KB
/
types.ts
File metadata and controls
41 lines (38 loc) · 1.04 KB
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
export enum AgentStatus {
IDLE = 'IDLE',
SEARCHING = 'SEARCHING',
ANALYZING = 'ANALYZING',
COMPLETED = 'COMPLETED',
ERROR = 'ERROR'
}
export interface Patent {
id: string;
title: string;
abstract: string;
assignee: string;
filingDate: string;
expirationDate: string;
status: 'Active' | 'Expired' | 'Expiring Soon';
jurisdictions: string[];
ukReplicabilityScore: number; // 0 to 100
ukReplicabilityReason: string;
opportunityType: 'Public Domain' | 'Licensing' | 'Risk High' | 'Territorial Gap';
// New Intelligence Fields
riskScore: number; // 0-100 General Legal Risk
reverseEngineeringFeasibility: 'High' | 'Medium' | 'Low';
isTradeSecretCandidate: boolean;
priorArtReport?: string; // Optional field for deep scan results
}
export interface AgentLog {
id: string;
timestamp: Date;
message: string;
type: 'info' | 'success' | 'warning' | 'action' | 'error';
}
export interface SearchState {
query: string;
results: Patent[];
status: AgentStatus;
logs: AgentLog[];
selectedPatent: Patent | null;
}