chore(backend): Optimise imports
This commit is contained in:
		
							parent
							
								
									fc92570282
								
							
						
					
					
						commit
						1f05935418
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		|  | @ -1,8 +1,6 @@ | ||||||
| import { LearningPath, LearningPathResponse } from '@dwengo-1/common/interfaces/learning-content'; | import { LearningPath, LearningPathResponse } from '@dwengo-1/common/interfaces/learning-content'; | ||||||
| import { Language } from '@dwengo-1/common/util/language'; | import { Language } from '@dwengo-1/common/util/language'; | ||||||
| import { MatchMode } from '@dwengo-1/common/util/match-mode'; |  | ||||||
| import { Group } from '../../entities/assignments/group.entity'; | import { Group } from '../../entities/assignments/group.entity'; | ||||||
| import { Teacher } from '../../entities/users/teacher.entity'; |  | ||||||
| 
 | 
 | ||||||
| /** | /** | ||||||
|  * Generic interface for a service which provides access to learning paths from a data source. |  * Generic interface for a service which provides access to learning paths from a data source. | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ import { LearningObjectNode, LearningPath, LearningPathIdentifier, LearningPathR | ||||||
| import { Language } from '@dwengo-1/common/util/language'; | import { Language } from '@dwengo-1/common/util/language'; | ||||||
| import { Group } from '../../entities/assignments/group.entity.js'; | import { Group } from '../../entities/assignments/group.entity.js'; | ||||||
| import { LearningPath as LearningPathEntity } from '../../entities/content/learning-path.entity.js'; | import { LearningPath as LearningPathEntity } from '../../entities/content/learning-path.entity.js'; | ||||||
| import { getLearningPathRepository, getTeacherRepository } from '../../data/repositories.js'; | import { getLearningPathRepository } from '../../data/repositories.js'; | ||||||
| import { LearningPathNode } from '../../entities/content/learning-path-node.entity.js'; | import { LearningPathNode } from '../../entities/content/learning-path-node.entity.js'; | ||||||
| import { LearningPathTransition } from '../../entities/content/learning-path-transition.entity.js'; | import { LearningPathTransition } from '../../entities/content/learning-path-transition.entity.js'; | ||||||
| import { base64ToArrayBuffer } from '../../util/base64-buffer-conversion.js'; | import { base64ToArrayBuffer } from '../../util/base64-buffer-conversion.js'; | ||||||
|  | @ -15,7 +15,6 @@ import { Collection } from '@mikro-orm/core'; | ||||||
| import { NotFoundException } from '../../exceptions/not-found-exception.js'; | import { NotFoundException } from '../../exceptions/not-found-exception.js'; | ||||||
| import { BadRequestException } from '../../exceptions/bad-request-exception.js'; | import { BadRequestException } from '../../exceptions/bad-request-exception.js'; | ||||||
| import learningObjectService from '../learning-objects/learning-object-service.js'; | import learningObjectService from '../learning-objects/learning-object-service.js'; | ||||||
| import { Teacher } from '../../entities/users/teacher.entity'; |  | ||||||
| 
 | 
 | ||||||
| const userContentPrefix = getEnvVar(envVars.UserContentPrefix); | const userContentPrefix = getEnvVar(envVars.UserContentPrefix); | ||||||
| const allProviders = [dwengoApiLearningPathProvider, databaseLearningPathProvider]; | const allProviders = [dwengoApiLearningPathProvider, databaseLearningPathProvider]; | ||||||
|  |  | ||||||
		Reference in a new issue