File size: 1,315 Bytes
4b1a31e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
export enum Classification {
  UNCLASSIFIED = 'UNCLASSIFIED',
  DELETE = 'DELETE',
  LOW = 'LOW',
  MEDIUM = 'MEDIUM',
  HIGH = 'HIGH',
}

export interface Innovation {
  id: string;
  file_name: string;
  answer: string;
  //  problem_statement: string;
  //  innovation_potential: string;
  //  source_reference: string;
  classification: Classification;
  analysis_result?: string;
  result_id?: number;

  // Analysis metadata
  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;
  // Optional metadata from API
  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;
}