feat(chat): sync multi-role backend APIs
This commit is contained in:
@@ -39,6 +39,7 @@ export type ChatEvent =
|
||||
output: import("./machine/actors/history").LoadMoreHistoryOutput;
|
||||
}
|
||||
| { type: "ChatOlderHistoryLoadFailed"; error: unknown }
|
||||
| { type: "ChatHistoryRefreshRequested" }
|
||||
// 业务事件
|
||||
| { type: "ChatSendMessage"; content: string }
|
||||
| { type: "ChatSendImage"; imageBase64: string }
|
||||
@@ -65,4 +66,9 @@ export type ChatEvent =
|
||||
type: "ChatQueuedHttpDone";
|
||||
output: import("./helper/send-state").HttpSendOutput;
|
||||
}
|
||||
| { type: "ChatQueuedSendError"; content: string; errorMessage: string };
|
||||
| {
|
||||
type: "ChatQueuedSendError";
|
||||
content: string;
|
||||
errorMessage: string;
|
||||
characterErrorCode?: import("@/data/services/api").CharacterErrorCode;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user