Some checks reported errors
continuous-integration/drone/push Build was killed
- 搭建 api、auth、utils 等逻辑模块 - 通过 tsc、eslint、vitest 测试验证 BREAKING CHANGE: 新镜像分支
20 lines
361 B
TypeScript
20 lines
361 B
TypeScript
// 聊天消息类型枚举
|
|
export enum ChatMessageType {
|
|
TEXT = 'text',
|
|
IMAGE = 'image',
|
|
FILE = 'file',
|
|
VOICE = 'voice',
|
|
VIDEO = 'video',
|
|
SYSTEM = 'system'
|
|
}
|
|
|
|
// 聊天消息状态枚举
|
|
export enum ChatMessageStatus {
|
|
SENDING = 'sending',
|
|
SENT = 'sent',
|
|
DELIVERED = 'delivered',
|
|
READ = 'read',
|
|
FAILED = 'failed'
|
|
}
|
|
|