diff --git a/server/typedef/EventCallbackFunction.ts b/server/typedef/EventCallbackFunction.ts index 7378cdb..8db1926 100644 --- a/server/typedef/EventCallbackFunction.ts +++ b/server/typedef/EventCallbackFunction.ts @@ -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