Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NodeClientSharedCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Shared
NodeClientSharedCode
Compare revisions
4011aa146ae4b808da599b8eb0cca2d36e82a52c to 5bbb2606d4aecdd9d54d91ffdd53c87a2c983916
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
dojo_project/projects/shared/nodeclientsharedcode
Select target project
No results found
5bbb2606d4aecdd9d54d91ffdd53c87a2c983916
Select Git revision
Branches
ask-user-to-delete-exercises-on-duplicates
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
v6.0
Tags
v4.1
v4.2
10 results
Swap
Target
dojo_project/projects/shared/nodeclientsharedcode
Select target project
dojo_project/projects/shared/nodeclientsharedcode
1 result
4011aa146ae4b808da599b8eb0cca2d36e82a52c
Select Git revision
Branches
ask-user-to-delete-exercises-on-duplicates
jw_sonar
jw_sonar_backup
main
move-to-esm-only
open_tool_for_self_hosting
v5.0
v6.0
Tags
v4.1
v4.2
10 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Exercise => Add correctionDescription field
· efea29fe
michael.minelli
authored
1 year ago
efea29fe
ApiRoute => Use correction update route for delete too
· 5bbb2606
michael.minelli
authored
1 year ago
5bbb2606
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
models/Exercise.ts
+1
-0
1 addition, 0 deletions
models/Exercise.ts
types/Dojo/ApiRoute.ts
+13
-13
13 additions, 13 deletions
types/Dojo/ApiRoute.ts
with
14 additions
and
13 deletions
models/Exercise.ts
View file @
5bbb2606
...
...
@@ -18,6 +18,7 @@ interface Exercise {
isCorrection
:
boolean
;
correctionCommit
:
Gitlab
.
CommitSchema
|
undefined
;
correctionDescription
:
string
|
undefined
;
}
...
...
This diff is collapsed.
Click to expand it.
types/Dojo/ApiRoute.ts
View file @
5bbb2606
enum
ApiRoute
{
LOGIN
=
'
/login
'
,
REFRESH_TOKENS
=
'
/refresh_tokens
'
,
TEST_SESSION
=
'
/test_session
'
,
GITLAB_CHECK_TEMPLATE_ACCESS
=
'
/gitlab/project/{{gitlabProjectId}}/checkTemplateAccess
'
,
ASSIGNMENT_GET
=
'
/assignments/{{assignmentNameOrUrl}}
'
,
ASSIGNMENT_CREATE
=
'
/assignments
'
,
ASSIGNMENT_PUBLISH
=
'
/assignments/{{assignmentNameOrUrl}}/publish
'
,
ASSIGNMENT_UNPUBLISH
=
'
/assignments/{{assignmentNameOrUrl}}/unpublish
'
,
ASSIGNMENT_CORRECTION_LINK
=
'
/assignments/{{assignmentNameOrUrl}}/corrections
'
,
ASSIGNMENT_CORRECTION_UPDATE
=
'
/assignments/{{assignmentNameOrUrl}}/corrections/{{exerciseIdOrUrl}}
'
,
EXERCISE_CREATE
=
'
/assignments/{{assignmentNameOrUrl}}/exercises
'
,
EXERCISE_ASSIGNMENT
=
'
/exercises/{{exerciseIdOrUrl}}/assignment
'
,
EXERCISE_RESULTS
=
'
/exercises/{{exerciseIdOrUrl}}/results
'
LOGIN
=
'
/login
'
,
REFRESH_TOKENS
=
'
/refresh_tokens
'
,
TEST_SESSION
=
'
/test_session
'
,
GITLAB_CHECK_TEMPLATE_ACCESS
=
'
/gitlab/project/{{gitlabProjectId}}/checkTemplateAccess
'
,
ASSIGNMENT_GET
=
'
/assignments/{{assignmentNameOrUrl}}
'
,
ASSIGNMENT_CREATE
=
'
/assignments
'
,
ASSIGNMENT_PUBLISH
=
'
/assignments/{{assignmentNameOrUrl}}/publish
'
,
ASSIGNMENT_UNPUBLISH
=
'
/assignments/{{assignmentNameOrUrl}}/unpublish
'
,
ASSIGNMENT_CORRECTION_LINK
=
'
/assignments/{{assignmentNameOrUrl}}/corrections
'
,
ASSIGNMENT_CORRECTION_UPDATE
_DELETE
=
'
/assignments/{{assignmentNameOrUrl}}/corrections/{{exerciseIdOrUrl}}
'
,
EXERCISE_CREATE
=
'
/assignments/{{assignmentNameOrUrl}}/exercises
'
,
EXERCISE_ASSIGNMENT
=
'
/exercises/{{exerciseIdOrUrl}}/assignment
'
,
EXERCISE_RESULTS
=
'
/exercises/{{exerciseIdOrUrl}}/results
'
}
...
...
This diff is collapsed.
Click to expand it.