update match scores

This commit is contained in:
chsakell
2016-09-30 16:01:17 +03:00
parent 8e6c0efe48
commit b0040ac178
12 changed files with 173 additions and 28 deletions

View File

@@ -10,6 +10,8 @@ export interface FeedProxy {
export interface FeedClient {
userConnected: (user: any) => void;
userDisconnected: (id: string) => void;
updateMatch: (match: Match) => void;
messageReceived: (message: string) => void;
}
@@ -21,12 +23,11 @@ export enum ConnectionState {
/* LiveGameFeed related interfaces */
export interface Match {
id: number;
host: string;
guest: string;
hostScore: number;
guestScore: number;
matchDate: Date;
type: string;
feeds: any
Id: number;
Host: string;
Guest: string;
HostScore: number;
GuestScore: number;
MatchDate: Date;
Type: string;
}