integrate FileModel with ChatModel

This commit is contained in:
marlon-erler
2024-07-21 21:45:18 +02:00
parent b37f1caa66
commit da757d10d1
3 changed files with 67 additions and 80 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
// this file is responsible for managing files within chats.
export default class FileModel {}
import ChatModel from "./chatModel";
export default class FileModel {
chatModel: ChatModel;
// init
constructor(chatModel: ChatModel) {
this.chatModel = chatModel;
}
}
// types
export interface File {