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';
|
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user