This commit is contained in:
2025-12-20 19:06:00 +08:00
parent 37224e3f95
commit 6c1aa13498
12 changed files with 755 additions and 5 deletions

View File

@@ -33,6 +33,7 @@ declare module 'shared/components/iframe/IframeView.vue' {
const IframeView: DefineComponent<{}, {}, any>
export default IframeView
}
declare module 'shared/components/ai/knowledge/DocumentSegment.vue' {
import { DefineComponent } from 'vue'
const DocumentSegment: DefineComponent<{}, {}, any>
@@ -47,7 +48,28 @@ declare module 'shared/components/ai/knowledge/DocumentDetail.vue' {
declare module 'shared/components/chatRoom/ChatRoom.vue' {
import { DefineComponent } from 'vue'
const ChatRoom: DefineComponent<{}, {}, any>
interface ChatMessageVO {
messageId: string
senderId: string
senderName: string
senderAvatar: string
content: string
files: string[]
sendTime: string
}
const ChatRoom: DefineComponent<{
messages: ChatMessageVO[]
currentUserId: string
roomName?: string
meetingUrl?: string
showMeeting?: boolean
fileDownloadUrl?: string
}, {}, {}, {}, {}, {}, {}, {
header?: () => any
'action-area'?: () => any
}>
export default ChatRoom
}
@@ -118,7 +140,18 @@ declare module 'shared/types' {
export type {
TbWorkcaseDTO,
TbWorkcaseProcessDTO,
TbWorkcaseDeviceDTO
TbWorkcaseDeviceDTO,
// 聊天室相关
TbChatRoomDTO,
TbChatMessageDTO,
TbChatRoomMemberDTO,
ChatRoomVO,
ChatMessageVO,
ChatMemberVO,
VideoMeetingVO,
SendMessageParam,
CreateMeetingParam,
MarkReadParam
} from '../../../shared/src/types/workcase'
// 重新导出 menu