Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 20fb39da authored by ROSPARS Benoit's avatar ROSPARS Benoit
Browse files

Remove unused properties

parent 6adfa472
Branches
No related tags found
No related merge requests found
......@@ -35,7 +35,6 @@ export interface Epoc extends EpocMetadata {
export interface Chapter {
title: string;
image?: string;
objectives?: string[];
contents: uid[];
}
......
......@@ -12,27 +12,36 @@ export interface Question {
}
export interface DragAndDropquestion extends Question{
type: 'drag-and-drop';
correctResponse: Array<{label: string, values: string[]}>;
}
export interface MultipleChoiceQuestion extends Question {
type: 'multiple-choice';
correctResponse: Array<string>;
}
export interface SimpleChoiceQuestion extends Question {
type: 'choice';
correctResponse: string;
}
export interface Response {
label: string;
value: string;
explanation?: string;
}
export interface SwipeQuestion extends Question {
type: 'swipe';
correctResponse: Array<{label: string, values: string[]}>;
}
export interface DropDownListQuestion extends Question {
type: 'dropdown-list';
correctResponse: Array<{label: string, values: string[]}>;
}
export interface ReorderQuestion extends Question {
type: 'reorder';
}
export interface Response {
label: string;
value: string;
explanation?: string;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment