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,13 @@
export class ChangeEstimateMessage {
type: string;
roomId: string;
userId: string;
estimate: number;
constructor(roomId: string, userId: string, estimate: number) {
this.type = 'change-estimate';
this.roomId = roomId;
this.userId = userId;
this.estimate = estimate;
}
}