Files
LingChair/server/api/ApiDeclare.ts
CrescentLeaf 38c28c3fb6 我累了
2025-10-08 02:52:02 +08:00

35 lines
608 B
TypeScript

export type CallMethod =
"User.auth" |
"User.register" |
"User.login" |
"User.refreshAccessToken" |
"User.setAvatar" |
"User.updateProfile" |
"User.getMyInfo" |
"User.getInfo" |
"User.getMyContacts" |
"User.addContact" |
"User.removeContacts" |
"User.getMyRecentChats" |
"Chat.getInfo" |
"Chat.updateSettings" |
"Chat.createGroup" |
"Chat.getIdForPrivate" |
"Chat.getAnotherUserIdFromPrivate" |
"Chat.sendMessage" |
"Chat.getMessageHistory" |
"Chat.uploadFile"
export type ClientEvent =
"Client.onMessage"