style: fix linting issues met ESLint

This commit is contained in:
Lint Action 2025-03-01 10:33:27 +00:00
parent 81bbe84dfd
commit 74765577d5
26 changed files with 73 additions and 73 deletions

View file

@ -12,7 +12,7 @@ import { Language } from '../content/language.js';
@Entity()
export class Assignment {
@ManyToOne({ entity: () => Class, primary: true })
@ManyToOne({ entity: () => {return Class}, primary: true })
within!: Class;
@PrimaryKey({ type: 'number' })
@ -27,9 +27,9 @@ export class Assignment {
@Property({ type: 'string' })
learningPathHruid!: string;
@Enum({ items: () => Language })
@Enum({ items: () => {return Language} })
learningPathLanguage!: Language;
@OneToMany({ entity: () => Group, mappedBy: 'assignment' })
@OneToMany({ entity: () => {return Group}, mappedBy: 'assignment' })
groups!: Group[];
}