style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-06 21:41:42 +00:00
parent 7ddde18d6c
commit 9136ff0313
11 changed files with 60 additions and 78 deletions

View file

@ -1,10 +1,9 @@
import { Question } from '../entities/questions/question.entity.js';
import { mapToStudentDTO} from './student.js';
import { QuestionDTO, QuestionId} from '@dwengo-1/common/interfaces/question';
import { mapToStudentDTO } from './student.js';
import { QuestionDTO, QuestionId } from '@dwengo-1/common/interfaces/question';
import { LearningObjectIdentifierDTO } from '@dwengo-1/common/interfaces/learning-content';
import { LearningObjectIdentifier } from '../entities/content/learning-object-identifier.js';
function getLearningObjectIdentifier(question: Question): LearningObjectIdentifierDTO {
return {
hruid: question.learningObjectHruid,
@ -17,8 +16,8 @@ export function mapToLearningObjectID(loID: LearningObjectIdentifierDTO): Learni
return {
hruid: loID.hruid,
language: loID.language,
version: loID.version ?? 1
}
version: loID.version ?? 1,
};
}
/**