2022-10-07 14:15:53 +00:00
|
|
|
import {RestLinks} from "~/repositories/models/rest-response.model";
|
|
|
|
|
|
|
|
export interface Score {
|
|
|
|
scoreAvg: number;
|
|
|
|
axeIdentifier: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Quiz extends RestLinks {
|
|
|
|
id: number;
|
|
|
|
createdDate: string;
|
|
|
|
scores: Score[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Response {
|
|
|
|
axeId: number;
|
2022-10-10 08:29:25 +00:00
|
|
|
questionId: number;
|
2022-10-07 14:15:53 +00:00
|
|
|
score?: number;
|
|
|
|
comment?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ResponseWithQuestion extends RestLinks {
|
|
|
|
axeIdentifier: number;
|
|
|
|
question: string;
|
|
|
|
score: number;
|
|
|
|
comment: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface QuizRate {
|
|
|
|
score?: number;
|
|
|
|
comment?: string;
|
|
|
|
}
|