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
17dc6f85
Commit
17dc6f85
authored
7 months ago
by
ROSPARS Benoit
Browse files
Options
Downloads
Patches
Plain Diff
Rename explanation to feedback and remove deprecated easierScoring property
parent
b0098be5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/v1/epoc.ts
+0
-1
0 additions, 1 deletion
src/v1/epoc.ts
src/v1/question.ts
+12
-2
12 additions, 2 deletions
src/v1/question.ts
src/v2/question.ts
+16
-0
16 additions, 0 deletions
src/v2/question.ts
with
28 additions
and
3 deletions
src/v1/epoc.ts
+
0
−
1
View file @
17dc6f85
...
...
@@ -49,6 +49,5 @@ export interface Chapter {
export
interface
Parameters
{
chapterParameter
?:
string
;
easierScoring
?:
boolean
;
openQuestionButton
?:
string
;
}
This diff is collapsed.
Click to expand it.
src/v1/question.ts
+
12
−
2
View file @
17dc6f85
...
...
@@ -7,8 +7,17 @@ export interface Question {
label
:
string
;
responses
:
Array
<
Response
>
;
correctResponse
:
string
|
Array
<
string
>|
Array
<
{
label
:
string
,
values
:
string
[]}
>
;
/**
* The explanation of the correction of the question
* @deprecated use feedback property
*/
explanation
:
html
;
easierScoring
?:
boolean
;
/**
* The global feedback of the question
*/
feedback
:
html
;
}
export
interface
DragAndDropquestion
extends
Question
{
...
...
@@ -49,5 +58,6 @@ export interface CustomQuestion extends Question {
export
interface
Response
{
label
:
string
;
value
:
string
;
explanation
?:
string
;
feedback
?:
string
;
score
?:
number
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/v2/question.ts
+
16
−
0
View file @
17dc6f85
...
...
@@ -37,8 +37,14 @@ export interface Question {
/**
* The explanation of the correction of the question
* @deprecated use feedback property
*/
explanation
:
html
;
/**
* The global feedback of the question
*/
feedback
:
html
;
}
/**
...
...
@@ -54,6 +60,16 @@ export interface Response {
* The hidden value of the response
*/
value
:
string
;
/**
* The feedback of this specific response
*/
feedback
?:
string
;
/**
* The partial score of this particular response. If set the question total score is based on the sum of partial scores
*/
score
?:
number
}
/**
...
...
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