diff --git a/src/types/db.d.ts b/src/types/db.d.ts index ba1cebe..3e87f21 100644 --- a/src/types/db.d.ts +++ b/src/types/db.d.ts @@ -1,8 +1,12 @@ +type roles = "liberal"|"fascist"|"hitler"|undefined; + +type positions = "chancellor"|"president"|undefined; + interface player { - position: "chancellor"|"president"|undefined; - role: "liberal"|"fascist"|"hitler"|undefined; + position: positions; socket: string; host: boolean; + role: roles; id: string; }