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
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,6 @@ export interface Epoc extends EpocMetadata { ...@@ -35,7 +35,6 @@ export interface Epoc extends EpocMetadata {
export interface Chapter { export interface Chapter {
title: string; title: string;
image?: string;
objectives?: string[]; objectives?: string[];
contents: uid[]; contents: uid[];
} }
......
...@@ -12,27 +12,36 @@ export interface Question { ...@@ -12,27 +12,36 @@ export interface Question {
} }
export interface DragAndDropquestion extends Question{ export interface DragAndDropquestion extends Question{
type: 'drag-and-drop';
correctResponse: Array<{label: string, values: string[]}>; correctResponse: Array<{label: string, values: string[]}>;
} }
export interface MultipleChoiceQuestion extends Question { export interface MultipleChoiceQuestion extends Question {
type: 'multiple-choice';
correctResponse: Array<string>; correctResponse: Array<string>;
} }
export interface SimpleChoiceQuestion extends Question { export interface SimpleChoiceQuestion extends Question {
type: 'choice';
correctResponse: string; correctResponse: string;
} }
export interface Response {
label: string;
value: string;
explanation?: string;
}
export interface SwipeQuestion extends Question { export interface SwipeQuestion extends Question {
type: 'swipe';
correctResponse: Array<{label: string, values: string[]}>; correctResponse: Array<{label: string, values: string[]}>;
} }
export interface DropDownListQuestion extends Question { export interface DropDownListQuestion extends Question {
type: 'dropdown-list';
correctResponse: Array<{label: string, values: string[]}>; 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.
Finish editing this message first!
Please register or to comment