Final version frontend: favicon, audio player, dist included

This commit is contained in:
Isaac Aracena
2026-05-23 08:45:25 -04:00
commit d7094c94cf
26 changed files with 9120 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
export type AttachmentType = 'image' | 'video' | 'audio' | 'document' | 'other';
export type AttachmentCategory = 'general' | 'campaign';
export interface Attachment {
id: string;
file: File;
type: AttachmentType;
url: string; // Object URL for preview
category?: AttachmentCategory;
}
export interface AudioRecording {
blob: Blob;
url: string;
duration: number; // in seconds
}
export interface Message {
id: string;
sender: 'user' | 'system';
text: string;
attachments?: Attachment[];
audio?: AudioRecording;
timestamp: Date;
status: 'sending' | 'sent' | 'error';
}