feat: BaseApi 有條件獲取更多的數據

This commit is contained in:
CrescentLeaf
2025-09-21 14:06:36 +08:00
parent 706d811087
commit f600245d3b

View File

@@ -1,5 +1,9 @@
import ApiCallbackMessage from "../api/ApiCallbackMessage.ts"
type EventCallbackFunction = (args: { [key: string]: unknown }, client: { deviceId: string }) => ApiCallbackMessage
type EventCallbackFunction = (args: { [key: string]: unknown }, clientInfo: {
userId: string
deviceId: string
ip: string
}) => ApiCallbackMessage
export default EventCallbackFunction