From 0ceb6761d7d54c2c7dc36948c179bae71d64b741 Mon Sep 17 00:00:00 2001 From: Adriaan Jacquet Date: Tue, 15 Apr 2025 19:55:18 +0200 Subject: [PATCH] feat: groupDTOId en assignmentDTOId toegevoegd --- common/src/interfaces/assignment.ts | 5 +++++ common/src/interfaces/group.ts | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/common/src/interfaces/assignment.ts b/common/src/interfaces/assignment.ts index 3e7e6a5d..fb7dfbf0 100644 --- a/common/src/interfaces/assignment.ts +++ b/common/src/interfaces/assignment.ts @@ -9,3 +9,8 @@ export interface AssignmentDTO { language: string; groups: GroupDTO[] | string[][]; } + +export interface AssignmentDTOId { + id: number; + within: string; +} diff --git a/common/src/interfaces/group.ts b/common/src/interfaces/group.ts index 742f2c75..a9f68398 100644 --- a/common/src/interfaces/group.ts +++ b/common/src/interfaces/group.ts @@ -8,3 +8,9 @@ export interface GroupDTO { groupNumber: number; members: string[] | StudentDTO[]; } + +export interface GroupDTOId { + class: string, + assignment: number, + groupNumber: number, +} \ No newline at end of file