fix(backend): Import errors
This commit is contained in:
		
							parent
							
								
									9f67e7783b
								
							
						
					
					
						commit
						5010ee3b0b
					
				
					 3 changed files with 8 additions and 8 deletions
				
			
		|  | @ -1,10 +1,10 @@ | ||||||
| import { Response, Router } from 'express'; | import { Response, Router } from 'express'; | ||||||
| import studentRouter from './student.js'; | import studentRouter from './students.js'; | ||||||
| import groupRouter from './group.js'; | import groupRouter from './groups.js'; | ||||||
| import assignmentRouter from './assignment.js'; | import assignmentRouter from './assignments.js'; | ||||||
| import submissionRouter from './submission.js'; | import submissionRouter from './submissions.js'; | ||||||
| import classRouter from './class.js'; | import classRouter from './classes.js'; | ||||||
| import questionRouter from './question.js'; | import questionRouter from './questions.js'; | ||||||
| import authRouter from './auth.js'; | import authRouter from './auth.js'; | ||||||
| import themeRoutes from './themes.js'; | import themeRoutes from './themes.js'; | ||||||
| import learningPathRoutes from './learning-paths.js'; | import learningPathRoutes from './learning-paths.js'; | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ import { Class } from '../entities/classes/class.entity.js'; | ||||||
| import { ClassDTO, mapToClassDTO } from '../interfaces/class.js'; | import { ClassDTO, mapToClassDTO } from '../interfaces/class.js'; | ||||||
| import { mapToStudentDTO, StudentDTO } from '../interfaces/student.js'; | import { mapToStudentDTO, StudentDTO } from '../interfaces/student.js'; | ||||||
| import { mapToTeacherInvitationDTO, mapToTeacherInvitationDTOIds, TeacherInvitationDTO } from '../interfaces/teacher-invitation.js'; | import { mapToTeacherInvitationDTO, mapToTeacherInvitationDTOIds, TeacherInvitationDTO } from '../interfaces/teacher-invitation.js'; | ||||||
| import { getLogger } from '../logging/initalize'; | import { getLogger } from '../logging/initalize.js'; | ||||||
| 
 | 
 | ||||||
| const logger = getLogger(); | const logger = getLogger(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,6 @@ | ||||||
| import { RequestHandler } from 'express'; | import { RequestHandler } from 'express'; | ||||||
| import swaggerUi from 'swagger-ui-express'; | import swaggerUi from 'swagger-ui-express'; | ||||||
| import swaggerDocument from '../../docs/api/swagger.json'; | import swaggerDocument from '../../docs/api/swagger.json' with { type: 'json' }; | ||||||
| 
 | 
 | ||||||
| const swaggerMiddleware: RequestHandler = swaggerUi.setup(swaggerDocument); | const swaggerMiddleware: RequestHandler = swaggerUi.setup(swaggerDocument); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue