From f600245d3b351f8930ff15e1068e1c81ab4ca3f3 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sun, 21 Sep 2025 14:06:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20BaseApi=20=E6=9C=89=E6=A2=9D=E4=BB=B6?= =?UTF-8?q?=E7=8D=B2=E5=8F=96=E6=9B=B4=E5=A4=9A=E7=9A=84=E6=95=B8=E6=93=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/typedef/EventCallbackFunction.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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