Add request datatypes for hosting and joining a game
This commit is contained in:
parent
8a9adb21f0
commit
a1058444a9
1 changed files with 12 additions and 0 deletions
12
src/types/data.d.ts
vendored
Normal file
12
src/types/data.d.ts
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
interface HostGame {
|
||||
username: string;
|
||||
}
|
||||
|
||||
interface JoinGame {
|
||||
game_code: string;
|
||||
username: string;
|
||||
}
|
||||
|
||||
interface GetPlayerList {
|
||||
game_code: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue