feat(*): Add server classes

This commit is contained in:
Josh Creek
2023-07-09 21:31:42 +00:00
parent 59b9d0214d
commit 664e93ebff
5 changed files with 103 additions and 0 deletions
@@ -0,0 +1,14 @@
export class JoinRoomMessage {
type: string;
roomId: string;
userId: string;
name: string;
constructor(roomId: string, userId: string, name: string) {
this.type = 'join-room';
this.roomId = roomId;
this.userId = userId;
this.name = name;
}
}