Skip to content
Snippets Groups Projects
Commit e9f62cca authored by GOEPP THOMAS's avatar GOEPP THOMAS
Browse files

feat: new models

parent 91e8fd0e
Branches
2 merge requests!132V4.0,!129Feature/135 refacto lobby
import {RunsInformationsAllRuns} from "../RunsInformationsAllRuns";
export interface AllRunsResponse{
runs: RunsInformationsAllRuns[];
}
\ No newline at end of file
import {Category, Difficulty} from "./Quiz";
export interface QuizInfoRun{
category: Category;
difficulty: Difficulty;
name?: string;
questionCount: string;
}
export interface RunsInformationsAllRuns{
id: string;
quizId: string;
originalQuizId: string;
score: number;
questionIndex: number;
startDate: string;
lastChange: string;
quizUserId: number;
roomId: number;
quiz: QuizInfoRun;
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment