feat: add, delete student route met user logic + .js in files
This commit is contained in:
parent
e0a5596994
commit
ecad27ea4d
29 changed files with 301 additions and 159 deletions
|
@ -1,6 +1,6 @@
|
|||
import { TeacherInvitation } from "../entities/classes/teacher-invitation.entity";
|
||||
import { ClassDTO, mapToClassDTO } from "./classes";
|
||||
import { mapToTeacherDTO, TeacherDTO } from "./teacher";
|
||||
import { TeacherInvitation } from "../entities/classes/teacher-invitation.entity.js";
|
||||
import { ClassDTO, mapToClassDTO } from "./classes.js";
|
||||
import { mapToTeacherDTO, TeacherDTO } from "./teacher.js";
|
||||
|
||||
export interface TeacherInvitationDTO {
|
||||
sender: string | TeacherDTO,
|
||||
|
@ -22,4 +22,4 @@ export function mapToTeacherInvitationDTOIds(invitation: TeacherInvitation): Tea
|
|||
receiver: invitation.receiver.username,
|
||||
class: invitation.class.classId,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue