feat: controller en service laag toegevoegd voor student/:id/classes
This commit is contained in:
parent
f5b6a5a604
commit
ceef74f1af
6 changed files with 127 additions and 23 deletions
17
backend/src/interfaces/classes.ts
Normal file
17
backend/src/interfaces/classes.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { ClassJoinRequest } from "../entities/classes/class-join-request.entity";
|
||||
import { Student } from "../entities/users/student.entity";
|
||||
import { Teacher } from "../entities/users/teacher.entity";
|
||||
|
||||
export interface ClassDTO {
|
||||
id: string;
|
||||
displayName: string;
|
||||
teachers: string[];
|
||||
students: string[];
|
||||
joinRequests: string[];
|
||||
endpoints?: {
|
||||
classes: string;
|
||||
questions: string;
|
||||
invitations: string;
|
||||
groups: string;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue