Update team datastore types
This commit is contained in:
parent
39304d739b
commit
f8cc97fa58
2 changed files with 3 additions and 3 deletions
|
|
@ -97,7 +97,7 @@ export class Team {
|
|||
return {
|
||||
questions: this._questions,
|
||||
answers: this._answers,
|
||||
hand: this._hand,
|
||||
hands: this._hand,
|
||||
id: this.id,
|
||||
};
|
||||
};
|
||||
|
|
@ -109,7 +109,7 @@ export class Team {
|
|||
let t = new Team(data.id);
|
||||
t._questions = data.questions;
|
||||
t._answers = data.answers;
|
||||
t._hand = data.hand;
|
||||
t._hand = data.hands;
|
||||
return t;
|
||||
};
|
||||
};
|
||||
2
server/src/types/datastore.d.ts
vendored
2
server/src/types/datastore.d.ts
vendored
|
|
@ -10,7 +10,7 @@ type datastoreObjectCard = string[];
|
|||
|
||||
interface datastoreTeam {
|
||||
questions: datastoreQuestionCard[];
|
||||
hand: datastoreQuestionCard[];
|
||||
hands: team_hands;
|
||||
answers: string[];
|
||||
id: team;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue