Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
epoc-types
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
learninglab
epoc
epoc-types
Commits
20fb39da
Commit
20fb39da
authored
2 years ago
by
ROSPARS Benoit
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused properties
parent
6adfa472
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/v1/epoc.ts
+0
-1
0 additions, 1 deletion
src/v1/epoc.ts
src/v1/question.ts
+15
-6
15 additions, 6 deletions
src/v1/question.ts
with
15 additions
and
7 deletions
src/v1/epoc.ts
+
0
−
1
View file @
20fb39da
...
...
@@ -35,7 +35,6 @@ export interface Epoc extends EpocMetadata {
export
interface
Chapter
{
title
:
string
;
image
?:
string
;
objectives
?:
string
[];
contents
:
uid
[];
}
...
...
This diff is collapsed.
Click to expand it.
src/v1/question.ts
+
15
−
6
View file @
20fb39da
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment