style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									7ddde18d6c
								
							
						
					
					
						commit
						9136ff0313
					
				
					 11 changed files with 60 additions and 78 deletions
				
			
		|  | @ -1,7 +1,7 @@ | |||
| import {mapToQuestionDTO, mapToQuestionDTOId} from './question.js'; | ||||
| import { mapToQuestionDTO, mapToQuestionDTOId } from './question.js'; | ||||
| import { Answer } from '../entities/questions/answer.entity.js'; | ||||
| import { AnswerDTO, AnswerId } from '@dwengo-1/common/interfaces/answer'; | ||||
| import {mapToTeacherDTO} from "./teacher"; | ||||
| import { mapToTeacherDTO } from './teacher'; | ||||
| 
 | ||||
| /** | ||||
|  * Convert a Question entity to a DTO format. | ||||
|  |  | |||
|  | @ -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, | ||||
|     }; | ||||
| } | ||||
| 
 | ||||
| /** | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action