From cd621e6c1a24e800e475ed527300a027aeb383fe Mon Sep 17 00:00:00 2001 From: NigeParis Date: Wed, 17 Dec 2025 10:20:07 +0100 Subject: [PATCH] Cleaned un the type obj - now consistant through out --- frontend/src/pages/chat/chat.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/frontend/src/pages/chat/chat.ts b/frontend/src/pages/chat/chat.ts index a1070bf..02d0b16 100644 --- a/frontend/src/pages/chat/chat.ts +++ b/frontend/src/pages/chat/chat.ts @@ -31,6 +31,21 @@ export type blockedUnBlocked = by: string, }; +export type obj = +{ + command: string, + destination: string, + type: string, + user: string, + frontendUserName: string, + frontendUser: string, + token: string, + text: string, + timestamp: number, + SenderWindowID: string, + Sendertext: string, +}; + // get the name of the machine used to connect const machineHostName = window.location.hostname; console.log('connect to login at %chttps://' + machineHostName + ':8888/app/login',color.yellow);