Refactor file handling in ChatInput and ChatOutput components

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-20 10:44:15 -03:00
commit d1bc88715e
10 changed files with 99 additions and 15 deletions

View file

@ -19,6 +19,7 @@ export type ChatOutputType = {
sender: string;
sender_name: string;
stream_url?: string;
files?: Array<{ path: string; type: string; name: string }>;
};
export type chatInputType = {