Skip to content
Snippets Groups Projects
Commit 2e60bd83 authored by joel.vonderwe's avatar joel.vonderwe
Browse files

Add sonar info to types

parent 2b574d9a
No related branches found
No related tags found
No related merge requests found
import GitlabRepository from '../../shared/types/Gitlab/GitlabRepository';
import User from './User';
import Exercise from './Exercise';
import SonarProjectCreation from '../../shared/types/Sonar/SonarProjectCreation';
interface Assignment {
......@@ -12,6 +13,8 @@ interface Assignment {
gitlabLastInfoDate: string;
published: boolean;
useSonar: boolean;
sonarKey: string;
sonarCreationInfo: SonarProjectCreation;
language: Language;
staff: Array<User>;
......
......@@ -2,6 +2,7 @@ import GitlabRepository from '../../shared/types/Gitlab/GitlabRepository';
import { CommitSchema } from '@gitbeaker/rest';
import User from './User';
import Assignment from './Assignment';
import SonarProjectCreation from '../../shared/types/Sonar/SonarProjectCreation';
interface Exercise {
......@@ -13,6 +14,9 @@ interface Exercise {
gitlabCreationInfo: GitlabRepository;
gitlabLastInfo: GitlabRepository;
gitlabLastInfoDate: string;
sonarKey: string;
sonarCreationInfo: SonarProjectCreation;
members: Array<User> | undefined;
assignment: Assignment | undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment