Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 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
  • v4.1
  • v4.2
10 results

Target

Select target project
  • dojo_project/projects/shared/nodeclientsharedcode
1 result
Select Git revision
  • 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
  • v4.1
  • v4.2
10 results
Show changes
Commits on Source (1)
...@@ -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) {
......