Add a type that has genericized request data
This commit is contained in:
parent
4476f3e18c
commit
c760b0f36d
1 changed files with 6 additions and 0 deletions
6
common/src/types/ServerRequest.ts
Normal file
6
common/src/types/ServerRequest.ts
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
/** The data that is common to most requests to the server. */
|
||||||
|
export interface ServerRequest {
|
||||||
|
|
||||||
|
/** The ID for the game that the action is being taken on. */
|
||||||
|
game_code: string;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue