Connect to websocket and start accepting messages

This commit is contained in:
Gabe Kangas
2022-05-02 22:13:36 -07:00
parent a0354d6d49
commit 15becc5121
11 changed files with 107 additions and 39 deletions

View File

@@ -1,9 +1,7 @@
import { User } from './user';
import { SocketEvent } from './socket-events';
import { User } from './user.model';
export interface ChatMessage {
id: string;
type: string;
timestamp: Date;
export interface ChatMessage extends SocketEvent {
user: User;
body: string;
}