Update player object and example JSON
This commit is contained in:
parent
76cf2e0686
commit
814c291443
2 changed files with 4 additions and 6 deletions
|
|
@ -4,9 +4,8 @@
|
||||||
"game_code": "example",
|
"game_code": "example",
|
||||||
"players": {
|
"players": {
|
||||||
"Oliver": {
|
"Oliver": {
|
||||||
"hitler": false,
|
"position": null,
|
||||||
"president": false,
|
"role": null,
|
||||||
"chancellor": false,
|
|
||||||
"host": true
|
"host": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
5
src/types/db.d.ts
vendored
5
src/types/db.d.ts
vendored
|
|
@ -1,7 +1,6 @@
|
||||||
interface player {
|
interface player {
|
||||||
chancellor: boolean;
|
position: "chancellor"|"president"|undefined;
|
||||||
president: boolean;
|
role: "liberal"|"fascist"|"hitler";
|
||||||
hitler: boolean;
|
|
||||||
host: boolean;
|
host: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue