feat: BaseApi 有條件獲取更多的數據
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
import ApiCallbackMessage from "../api/ApiCallbackMessage.ts"
|
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
|
export default EventCallbackFunction
|
||||||
|
|||||||
Reference in New Issue
Block a user