Update types.ts

This commit is contained in:
fcarraUniSa
2026-02-17 14:24:18 +01:00
committed by GitHub
parent e193505b29
commit b24022d095

View File

@@ -87,6 +87,7 @@ export interface ChatMessage {
role: 'user' | 'assistant' | 'system'; role: 'user' | 'assistant' | 'system';
content: string; content: string;
timestamp: string; timestamp: string;
attachments?: Attachment[]; // New: attachments inside chat messages
} }
export interface SurveyResult { export interface SurveyResult {
@@ -143,6 +144,10 @@ export interface FeatureConfig {
aiKnowledgeAgentEnabled: boolean; aiKnowledgeAgentEnabled: boolean;
maxAiGeneratedArticles: number; maxAiGeneratedArticles: number;
maxAgents: number; maxAgents: number;
// Attachment Config
attachmentsEnabled: boolean;
maxFileSizeMb: number;
allowedFileTypes: string; // Comma separated string e.g. "jpg,png,pdf"
} }
export enum AiProvider { export enum AiProvider {