chore(backend): Optimise imports

This commit is contained in:
Tibo De Peuter 2025-05-17 20:30:09 +02:00
parent fc92570282
commit 1f05935418
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
2 changed files with 1 additions and 4 deletions

View file

@ -1,8 +1,6 @@
import { LearningPath, LearningPathResponse } from '@dwengo-1/common/interfaces/learning-content';
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 { Teacher } from '../../entities/users/teacher.entity';
/**
* Generic interface for a service which provides access to learning paths from a data source.

View file

@ -5,7 +5,7 @@ import { LearningObjectNode, LearningPath, LearningPathIdentifier, LearningPathR
import { Language } from '@dwengo-1/common/util/language';
import { Group } from '../../entities/assignments/group.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 { LearningPathTransition } from '../../entities/content/learning-path-transition.entity.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 { BadRequestException } from '../../exceptions/bad-request-exception.js';
import learningObjectService from '../learning-objects/learning-object-service.js';
import { Teacher } from '../../entities/users/teacher.entity';
const userContentPrefix = getEnvVar(envVars.UserContentPrefix);
const allProviders = [dwengoApiLearningPathProvider, databaseLearningPathProvider];