0
0
Fork 0

Update resoonse name

This commit is contained in:
Oliver-Akins 2021-01-01 16:06:12 -07:00
parent 4fe7ba7727
commit 264125c772

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 | null; role: role;
team: team | null; team: team;
} }
@ -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"