chore: initialize qiming workspace repository
This commit is contained in:
14
qiming-mobile/subpackages/constants/event.constants.uts
Normal file
14
qiming-mobile/subpackages/constants/event.constants.uts
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 事件常量
|
||||
* 用于事件订阅和发布时的类型安全引用
|
||||
*
|
||||
* 与 PC 端 @/constants/event.constants.tsx 保持一致
|
||||
*/
|
||||
import { EventTypeEnum } from '@/types/enums/event';
|
||||
|
||||
export const EVENT_TYPE = {
|
||||
NewNotifyMessage: EventTypeEnum.NewNotifyMessage, // 新消息
|
||||
RefreshChatMessage: EventTypeEnum.RefreshChatMessage, // 刷新会话
|
||||
RefreshFileList: EventTypeEnum.RefreshFileList, // 刷新文件列表
|
||||
ChatFinished: EventTypeEnum.ChatFinished, // 会话结束
|
||||
};
|
||||
Reference in New Issue
Block a user