Skip to content
Snippets Groups Projects
Commit d236a768 authored by joel.vonderwe's avatar joel.vonderwe Committed by michael.minelli
Browse files

Add sonar info to types

parent b648cbdf
No related branches found
No related tags found
No related merge requests found
import User from './User.js';
import Exercise from './Exercise.js';
import * as Gitlab from '@gitbeaker/rest';
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>;
......
import User from './User.js';
import Assignment from './Assignment.js';
import * as Gitlab from '@gitbeaker/rest';
import SonarProjectCreation from '../../shared/types/Sonar/SonarProjectCreation';
interface Exercise {
......@@ -12,6 +13,9 @@ interface Exercise {
gitlabCreationInfo: Gitlab.ProjectSchema;
gitlabLastInfo: Gitlab.ProjectSchema;
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