0
0
Fork 0

Update some types

This commit is contained in:
Oliver-Akins 2021-01-01 16:06:44 -07:00
parent ffc82fbb98
commit a86f02c1cf

View file

@ -11,8 +11,8 @@ type answer = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
// Player specific data // Player specific data
interface player { interface player {
name: string; name: string;
role: role; role: role | null;
team: team; team: team | null;
} }
@ -112,7 +112,7 @@ interface UpdatePlayer {
role: role; role: role;
}; };
} }
interface UpdatePlayerResponse { interface PlayerUpdate extends response {
action?: "modify" | "new" | "remove"; action?: "modify" | "new" | "remove";
name?: string; // action: all name?: string; // action: all
team?: team; // action: "modify" team?: team; // action: "modify"