fix: .js toevoegen aan imports
This commit is contained in:
		
							parent
							
								
									ab1bc42619
								
							
						
					
					
						commit
						827a2f0e71
					
				
					 7 changed files with 18 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,11 @@
 | 
			
		|||
import { fetchTeacher } from './teachers';
 | 
			
		||||
import { getTeacherInvitationRepository } from '../data/repositories';
 | 
			
		||||
import { mapToInvitation, mapToTeacherInvitationDTO } from '../interfaces/teacher-invitation';
 | 
			
		||||
import { addClassTeacher, fetchClass } from './classes';
 | 
			
		||||
import { fetchTeacher } from './teachers.js';
 | 
			
		||||
import { getTeacherInvitationRepository } from '../data/repositories.js';
 | 
			
		||||
import { mapToInvitation, mapToTeacherInvitationDTO } from '../interfaces/teacher-invitation.js';
 | 
			
		||||
import { addClassTeacher, fetchClass } from './classes.js';
 | 
			
		||||
import { TeacherInvitationData, TeacherInvitationDTO } from '@dwengo-1/common/interfaces/teacher-invitation';
 | 
			
		||||
import { ConflictException } from '../exceptions/conflict-exception';
 | 
			
		||||
import { NotFoundException } from '../exceptions/not-found-exception';
 | 
			
		||||
import { TeacherInvitation } from '../entities/classes/teacher-invitation.entity';
 | 
			
		||||
import { ConflictException } from '../exceptions/conflict-exception.js';
 | 
			
		||||
import { NotFoundException } from '../exceptions/not-found-exception.js';
 | 
			
		||||
import { TeacherInvitation } from '../entities/classes/teacher-invitation.entity.js';
 | 
			
		||||
import { ClassStatus } from '@dwengo-1/common/util/class-join-request';
 | 
			
		||||
 | 
			
		||||
export async function getAllInvitations(username: string, sent: boolean): Promise<TeacherInvitationDTO[]> {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue