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