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

@ -17,13 +17,13 @@ export class LearningObject {
@PrimaryKey({ type: 'string' })
hruid!: string;
@Enum({ items: () => Language, primary: true })
@Enum({ items: () => {return Language}, primary: true })
language!: Language;
@PrimaryKey({ type: 'string' })
version: string = '1';
@ManyToMany({ entity: () => Teacher })
@ManyToMany({ entity: () => {return Teacher} })
admins!: Teacher[];
@Property({ type: 'string' })
@ -47,7 +47,7 @@ export class LearningObject {
@Property({ type: 'array' })
skosConcepts!: string[];
@Embedded({ entity: () => EducationalGoal, array: true })
@Embedded({ entity: () => {return EducationalGoal}, array: true })
educationalGoals: EducationalGoal[] = [];
@Property({ type: 'string' })
@ -62,7 +62,7 @@ export class LearningObject {
@Property({ type: 'integer' })
estimatedTime!: number;
@Embedded({ entity: () => ReturnValue })
@Embedded({ entity: () => {return ReturnValue} })
returnValue!: ReturnValue;
@Property({ type: 'bool' })
@ -71,7 +71,7 @@ export class LearningObject {
@Property({ type: 'string', nullable: true })
contentLocation?: string;
@OneToMany({ entity: () => Attachment, mappedBy: 'learningObject' })
@OneToMany({ entity: () => {return Attachment}, mappedBy: 'learningObject' })
attachments: Attachment[] = [];
@Property({ type: 'blob' })