0
0
Fork 0

Update team datastore types

This commit is contained in:
Oliver-Akins 2021-02-28 19:36:54 -07:00
parent 39304d739b
commit f8cc97fa58
2 changed files with 3 additions and 3 deletions

View file

@ -97,7 +97,7 @@ export class Team {
return { return {
questions: this._questions, questions: this._questions,
answers: this._answers, answers: this._answers,
hand: this._hand, hands: this._hand,
id: this.id, id: this.id,
}; };
}; };
@ -109,7 +109,7 @@ export class Team {
let t = new Team(data.id); let t = new Team(data.id);
t._questions = data.questions; t._questions = data.questions;
t._answers = data.answers; t._answers = data.answers;
t._hand = data.hand; t._hand = data.hands;
return t; return t;
}; };
}; };

View file

@ -10,7 +10,7 @@ type datastoreObjectCard = string[];
interface datastoreTeam { interface datastoreTeam {
questions: datastoreQuestionCard[]; questions: datastoreQuestionCard[];
hand: datastoreQuestionCard[]; hands: team_hands;
answers: string[]; answers: string[];
id: team; id: team;
} }