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
e549c7f03955a2ac295a8b8486f921154af751ee to 10e7d949ce5555326b8cf67127f7dcdfdfd7997a
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
10e7d949ce5555326b8cf67127f7dcdfdfd7997a
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
e549c7f03955a2ac295a8b8486f921154af751ee
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 (1)
Config => Add max exercises per assignment information
· 10e7d949
michael.minelli
authored
3 months ago
10e7d949
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/ClientsSharedConfig.ts
+10
-1
10 additions, 1 deletion
config/ClientsSharedConfig.ts
with
10 additions
and
1 deletion
config/ClientsSharedConfig.ts
View file @
10e7d949
...
@@ -7,7 +7,8 @@ interface ClientsConfig {
...
@@ -7,7 +7,8 @@ interface ClientsConfig {
gitlabUrl
:
string
,
gitlabUrl
:
string
,
gitlabAccountId
:
number
,
gitlabAccountId
:
number
,
gitlabAccountUsername
:
string
,
gitlabAccountUsername
:
string
,
loginGitlabClientId
:
string
loginGitlabClientId
:
string
,
exerciseMaxPerAssignment
:
number
}
}
...
@@ -36,6 +37,10 @@ class ClientsSharedConfig {
...
@@ -36,6 +37,10 @@ class ClientsSharedConfig {
filename
:
string
,
neededFiles
:
Array
<
string
>
filename
:
string
,
neededFiles
:
Array
<
string
>
};
};
public
exercise
!
:
{
maxPerAssignment
:
number
};
public
dockerCompose
!
:
{
public
dockerCompose
!
:
{
projectName
:
string
projectName
:
string
};
};
...
@@ -97,6 +102,10 @@ class ClientsSharedConfig {
...
@@ -97,6 +102,10 @@ class ClientsSharedConfig {
};
};
this
.
login
.
gitlab
.
client
.
id
=
downloadedConfig
.
loginGitlabClientId
;
this
.
login
.
gitlab
.
client
.
id
=
downloadedConfig
.
loginGitlabClientId
;
this
.
exercise
=
{
maxPerAssignment
:
downloadedConfig
.
exerciseMaxPerAssignment
};
}
}
async
init
(
apiUrl
:
string
)
{
async
init
(
apiUrl
:
string
)
{
...
...
This diff is collapsed.
Click to expand it.