conversations, unread count, autoscrolling to recent messages, cursor in text bar

This commit is contained in:
jackiettran committed 2025-11-09 22:16:26 -05:00
1 parent 7a5bff8f2b
commit 3442e880d8
5 files changed
+415 -101

No files matched your search

+14
View File
@@ -48,6 +48,20 @@ export interface Message {
updatedAt: string;
}
export interface Conversation {
partnerId: string;
partner: User;
lastMessage: {
id: string;
content: string;
senderId: string;
createdAt: string;
isRead: boolean;
};
unreadCount: number;
lastMessageAt: string;
}
export interface Item {
id: string;
name: string;