進一步完善 Server API

This commit is contained in:
CrescentLeaf
2025-09-06 01:53:09 +08:00
parent c3c332017e
commit b0c67da340
6 changed files with 30 additions and 15 deletions

7
server/api/ApiDeclare.ts Normal file
View File

@@ -0,0 +1,7 @@
export type CallMethod =
"User.auth" |
"User.register" |
"User.login"
export type ClientEvent =
"Client.onMessage"