style: fix linting issues met Prettier
This commit is contained in:
parent
8e00fa53f0
commit
61424e1ea2
7 changed files with 13 additions and 14 deletions
|
@ -8,7 +8,7 @@ import { getGroupRepository } from '../data/repositories.js';
|
|||
import { AssignmentDTO } from '@dwengo-1/common/interfaces/assignment';
|
||||
import { Class } from '../entities/classes/class.entity.js';
|
||||
import { StudentDTO } from '@dwengo-1/common/interfaces/student';
|
||||
import {mapToClassDTO} from "./class";
|
||||
import { mapToClassDTO } from './class';
|
||||
|
||||
export function mapToGroup(groupDto: GroupDTO, clazz: Class): Group {
|
||||
const assignmentDto = groupDto.assignment as AssignmentDTO;
|
||||
|
|
|
@ -2,9 +2,9 @@ import { Submission } from '../entities/assignments/submission.entity.js';
|
|||
import { mapToGroupDTO } from './group.js';
|
||||
import { mapToStudentDTO } from './student.js';
|
||||
import { SubmissionDTO, SubmissionDTOId } from '@dwengo-1/common/interfaces/submission';
|
||||
import {getSubmissionRepository} from "../data/repositories";
|
||||
import {Student} from "../entities/users/student.entity";
|
||||
import {Group} from "../entities/assignments/group.entity";
|
||||
import { getSubmissionRepository } from '../data/repositories';
|
||||
import { Student } from '../entities/users/student.entity';
|
||||
import { Group } from '../entities/assignments/group.entity';
|
||||
|
||||
export function mapToSubmissionDTO(submission: Submission): SubmissionDTO {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue