feat: 添加会话列表和搜索功能,重构聊天界面组件
This commit is contained in:
11
features/im/types/conversation.ts
Normal file
11
features/im/types/conversation.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export type ConversationKind = "system" | "direct";
|
||||
|
||||
export type ConversationItem = {
|
||||
id: string;
|
||||
kind: ConversationKind;
|
||||
title: string;
|
||||
preview: string;
|
||||
timeLabel: string;
|
||||
avatarUrl?: string;
|
||||
unreadCount?: number;
|
||||
};
|
||||
Reference in New Issue
Block a user