diff --git a/frontend/src/app/assignment/model/assignment.ts b/frontend/src/app/assignment/model/assignment.ts
index 159338b6..329d483f 100644
--- a/frontend/src/app/assignment/model/assignment.ts
+++ b/frontend/src/app/assignment/model/assignment.ts
@@ -6,13 +6,19 @@ export interface ClassroomInfo {
token?: string;
webhook?: string;
codeSearch?: boolean;
- mossId?: number;
- mossLanguage?: string;
- mossResult?: string;
- openaiApiKey?: string;
- openaiModel?: string;
- openaiConsent?: boolean;
- openaiIgnore?: string;
+}
+
+export interface MossConfig {
+ userId?: number;
+ language?: string;
+ result?: string;
+}
+
+export interface OpenAIConfig {
+ apiKey?: string;
+ model?: string;
+ consent?: boolean;
+ ignore?: string;
}
export default class Assignment {
@@ -29,6 +35,8 @@ export default class Assignment {
deadline?: Date | string;
classroom?: ClassroomInfo;
+ moss?: MossConfig;
+ openAI?: OpenAIConfig;
passingPoints?: number;
tasks: Task[];
diff --git a/frontend/src/app/assignment/modules/edit-assignment/code-search/code-search.component.html b/frontend/src/app/assignment/modules/edit-assignment/code-search/code-search.component.html
index 5caf1121..669bea04 100644
--- a/frontend/src/app/assignment/modules/edit-assignment/code-search/code-search.component.html
+++ b/frontend/src/app/assignment/modules/edit-assignment/code-search/code-search.component.html
@@ -20,7 +20,7 @@