import { IAnswerRow , IQuestionRow } from '.' ; export interface IQuestion { id ? : number ; type : string ; category : Array < number > ; difficulty : string ; questionRows : Array < IQuestionRow > ; answerRows : Array < IAnswerRow > ; _isValidated ? : boolean ; _version ? : string ; _userAnswer ? : number ; validate ( isValidated ) : boolean ; }