0
0
Fork 0

Add game_code to payloads that were missing it.

This commit is contained in:
Oliver-Akins 2020-12-27 13:03:51 -07:00
parent 708de802a4
commit 727e41f2b0

View file

@ -24,6 +24,7 @@ interface GameDeleted extends response {}
interface GetPastQuestions { interface GetPastQuestions {
game_code: string;
team: team; team: team;
} }
interface PastQuestions extends response { interface PastQuestions extends response {
@ -40,6 +41,7 @@ interface GameRejoined extends response {}
interface NewHand { interface NewHand {
game_code: string;
team: team; team: team;
} }
interface SendCard { interface SendCard {
@ -53,13 +55,16 @@ interface UpdateHand extends response{
} }
interface ObjectList {} interface ObjectList {
game_code: string;
}
interface ObjectListResponse extends response { interface ObjectListResponse extends response {
objects?: string[]; objects?: string[];
} }
interface SelectObject { interface SelectObject {
game_code: string;
object: string; object: string;
} }
interface ChosenObject extends response { interface ChosenObject extends response {
@ -68,6 +73,7 @@ interface ChosenObject extends response {
interface UpdateAnswer { interface UpdateAnswer {
game_code: string;
answer: answer; answer: answer;
value: string; value: string;
team: team; team: team;