fix: imports
This commit is contained in:
		
							parent
							
								
									073dc8df47
								
							
						
					
					
						commit
						3ec08599e5
					
				
					 3 changed files with 6 additions and 4 deletions
				
			
		|  | @ -1,7 +1,8 @@ | |||
| import { DwengoEntityRepository } from '../dwengo-entity-repository.js'; | ||||
| import { Class } from '../../entities/classes/class.entity.js'; | ||||
| import { ClassJoinRequest, ClassJoinRequestStatus } from '../../entities/classes/class-join-request.entity.js'; | ||||
| import { ClassJoinRequest } from '../../entities/classes/class-join-request.entity.js'; | ||||
| import { Student } from '../../entities/users/student.entity.js'; | ||||
| import {ClassJoinRequestStatus} from "@dwengo-1/common/util/class-join-request"; | ||||
| 
 | ||||
| export class ClassJoinRequestRepository extends DwengoEntityRepository<ClassJoinRequest> { | ||||
|     public async findAllRequestsBy(requester: Student): Promise<ClassJoinRequest[]> { | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| import { Theme } from 'common/src/interfaces/theme'; | ||||
| import {Theme} from "@dwengo-1/common/interfaces/theme"; | ||||
| 
 | ||||
| export const themes: Theme[] = [ | ||||
|     { | ||||
|  |  | |||
|  | @ -1,9 +1,10 @@ | |||
| import { mapToStudentDTO } from './student.js'; | ||||
| import { ClassJoinRequest, ClassJoinRequestStatus } from '../entities/classes/class-join-request.entity.js'; | ||||
| import { ClassJoinRequest } from '../entities/classes/class-join-request.entity.js'; | ||||
| import { getClassJoinRequestRepository } from '../data/repositories.js'; | ||||
| import { Student } from '../entities/users/student.entity.js'; | ||||
| import { Class } from '../entities/classes/class.entity.js'; | ||||
| import { ClassJoinRequestDTO } from 'common/src/interfaces/class-join-request'; | ||||
| import {ClassJoinRequestDTO} from "@dwengo-1/common/interfaces/class-join-request"; | ||||
| import {ClassJoinRequestStatus} from "@dwengo-1/common/util/class-join-request"; | ||||
| 
 | ||||
| export function mapToStudentRequestDTO(request: ClassJoinRequest): ClassJoinRequestDTO { | ||||
|     return { | ||||
|  |  | |||
		Reference in a new issue
	
	 Gabriellvl
						Gabriellvl