style: fix linting issues met ESLint
This commit is contained in:
parent
81bbe84dfd
commit
74765577d5
26 changed files with 73 additions and 73 deletions
|
@ -4,12 +4,12 @@ import { Class } from '../classes/class.entity.js';
|
|||
import { Group } from '../assignments/group.entity.js';
|
||||
import { StudentRepository } from '../../data/users/student-repository.js';
|
||||
|
||||
@Entity({ repository: () => StudentRepository })
|
||||
@Entity({ repository: () => {return StudentRepository} })
|
||||
export class Student extends User {
|
||||
@ManyToMany(() => Class)
|
||||
@ManyToMany(() => {return Class})
|
||||
classes!: Collection<Class>;
|
||||
|
||||
@ManyToMany(() => Group)
|
||||
@ManyToMany(() => {return Group})
|
||||
groups!: Collection<Group>;
|
||||
|
||||
constructor(
|
||||
|
|
|
@ -4,6 +4,6 @@ import { Class } from '../classes/class.entity.js';
|
|||
|
||||
@Entity()
|
||||
export class Teacher extends User {
|
||||
@ManyToMany(() => Class)
|
||||
@ManyToMany(() => {return Class})
|
||||
classes!: Collection<Class>;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue