Cleaned un the type obj - now consistant through out

This commit is contained in:
NigeParis 2025-12-17 10:20:07 +01:00
parent f76d27ab62
commit cd621e6c1a

View file

@ -31,6 +31,21 @@ export type blockedUnBlocked =
by: string, 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 // get the name of the machine used to connect
const machineHostName = window.location.hostname; const machineHostName = window.location.hostname;
console.log('connect to login at %chttps://' + machineHostName + ':8888/app/login',color.yellow); console.log('connect to login at %chttps://' + machineHostName + ':8888/app/login',color.yellow);