fix: .js toevoegen aan imports
This commit is contained in:
		
							parent
							
								
									2d55ac6248
								
							
						
					
					
						commit
						095609d357
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		|  | @ -2,9 +2,9 @@ import { Group } from '../entities/assignments/group.entity.js'; | |||
| import { mapToAssignment, mapToAssignmentDTO, mapToAssignmentDTOId } from './assignment.js'; | ||||
| import { mapToStudent, mapToStudentDTO } from './student.js'; | ||||
| import { GroupDTO } from '@dwengo-1/common/interfaces/group'; | ||||
| import { getGroupRepository } from '../data/repositories'; | ||||
| import { getGroupRepository } from '../data/repositories.js'; | ||||
| import { AssignmentDTO } from '@dwengo-1/common/interfaces/assignment'; | ||||
| import { Class } from '../entities/classes/class.entity'; | ||||
| import { Class } from '../entities/classes/class.entity.js'; | ||||
| import { StudentDTO } from '@dwengo-1/common/interfaces/student'; | ||||
| 
 | ||||
| export function mapToGroup(groupDto: GroupDTO, clazz: Class): Group { | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import { Question } from '../entities/questions/question.entity.js'; | |||
| import { mapToStudentDTO } from './student.js'; | ||||
| import { QuestionDTO, QuestionId } from '@dwengo-1/common/interfaces/question'; | ||||
| import { LearningObjectIdentifier } from '@dwengo-1/common/interfaces/learning-content'; | ||||
| import { mapToGroupDTOId } from './group'; | ||||
| import { mapToGroupDTOId } from './group.js'; | ||||
| 
 | ||||
| function getLearningObjectIdentifier(question: Question): LearningObjectIdentifier { | ||||
|     return { | ||||
|  |  | |||
		Reference in a new issue