Spaces:
Running
Running
| export interface BentoCardData { | |
| id: string; | |
| title: string; | |
| summary: string; | |
| type: 'stat' | 'concept' | 'quote' | 'insight' | 'process'; | |
| colSpan: number; // 1 to 4 | |
| rowSpan: number; // 1 to 2 | |
| detailPrompt: string; // The prompt to send to Gemini to get more details | |
| mermaid?: string; // Mermaid JS diagram definition | |
| expandedContent?: string; | |
| isLoadingDetails?: boolean; | |
| rating?: number; | |
| feedback?: string; | |
| } | |
| export interface ChatMessage { | |
| id: string; | |
| role: 'user' | 'model' | 'system'; | |
| text: string; | |
| timestamp: number; | |
| } | |
| export type ModelType = 'gemini-flash-latest' | 'gemini-3-pro-preview'; | |
| export interface AppSettings { | |
| apiKey: string; | |
| model: ModelType; | |
| theme: 'light' | 'dark'; | |
| layoutMode: 'auto' | 'grid' | 'list'; | |
| useThinking: boolean; | |
| } | |
| export interface ProcessingStatus { | |
| state: 'idle' | 'reading' | 'analyzing' | 'generating' | 'complete' | 'error'; | |
| message?: string; | |
| } | |