refactor(common): Assignments

This commit is contained in:
Tibo De Peuter 2025-03-31 19:03:13 +02:00
parent 4b1c343592
commit 757c89d841
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
7 changed files with 21 additions and 17 deletions

11
common/src/interfaces/assignment.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
import { GroupDTO } from 'dwengo-1-backend/src/interfaces/group.js';
export interface AssignmentDTO {
id: number;
class: string; // Id of class 'within'
title: string;
description: string;
learningPath: string;
language: string;
groups?: GroupDTO[] | string[]; // TODO
}