|
|
export enum Classification { |
|
|
UNCLASSIFIED = 'UNCLASSIFIED', |
|
|
DELETE = 'DELETE', |
|
|
LOW = 'LOW', |
|
|
MEDIUM = 'MEDIUM', |
|
|
HIGH = 'HIGH', |
|
|
} |
|
|
|
|
|
export interface Innovation { |
|
|
id: string; |
|
|
file_name: string; |
|
|
answer: string; |
|
|
|
|
|
|
|
|
|
|
|
classification: Classification; |
|
|
analysis_result?: string; |
|
|
result_id?: number; |
|
|
|
|
|
|
|
|
methodology?: string; |
|
|
context?: string; |
|
|
problem?: string; |
|
|
pattern_name?: string; |
|
|
} |
|
|
|
|
|
export interface ResultResponse { |
|
|
id: number; |
|
|
file_name: string; |
|
|
content: string; |
|
|
classification: Classification; |
|
|
methodology: string; |
|
|
context: string; |
|
|
problem: string; |
|
|
} |
|
|
|
|
|
export interface MeetingDoc { |
|
|
TDoc: string; |
|
|
Title: string; |
|
|
Type: string; |
|
|
For: string; |
|
|
"TDoc Status": string; |
|
|
"Agenda item description": string; |
|
|
URL: string; |
|
|
} |
|
|
|
|
|
export interface DocumentFile { |
|
|
id: string; |
|
|
filename: string; |
|
|
size: string; |
|
|
type: string; |
|
|
uploaded: boolean; |
|
|
|
|
|
status?: string; |
|
|
agendaItem?: string; |
|
|
url?: string; |
|
|
} |
|
|
|
|
|
export interface ProcessingBatch { |
|
|
id: number; |
|
|
files: DocumentFile[]; |
|
|
status: 'pending' | 'uploading' | 'processing' | 'completed'; |
|
|
} |
|
|
|
|
|
export interface StatsData { |
|
|
name: string; |
|
|
value: number; |
|
|
fill: string; |
|
|
} |