style: fix linting issues met Prettier
This commit is contained in:
parent
aa1a85e64e
commit
2a2881ec30
84 changed files with 846 additions and 1013 deletions
|
@ -1,9 +1,9 @@
|
|||
import { Entity, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
import { Question } from './question.entity.js';
|
||||
import { Teacher } from '../users/teacher.entity.js';
|
||||
import {AnswerRepository} from "../../data/questions/answer-repository";
|
||||
import { AnswerRepository } from '../../data/questions/answer-repository';
|
||||
|
||||
@Entity({repository: () => AnswerRepository})
|
||||
@Entity({ repository: () => AnswerRepository })
|
||||
export class Answer {
|
||||
@ManyToOne({
|
||||
entity: () => Teacher,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { Entity, Enum, ManyToOne, PrimaryKey, Property } from '@mikro-orm/core';
|
||||
import { Language } from '../content/language.js';
|
||||
import { Student } from '../users/student.entity.js';
|
||||
import {QuestionRepository} from "../../data/questions/question-repository";
|
||||
import { QuestionRepository } from '../../data/questions/question-repository';
|
||||
|
||||
@Entity({repository: () => QuestionRepository})
|
||||
@Entity({ repository: () => QuestionRepository })
|
||||
export class Question {
|
||||
@PrimaryKey({ type: 'string' })
|
||||
learningObjectHruid!: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue