Revert "refactor(common): Language"

This reverts commit bef6c6f75b.
This commit is contained in:
Tibo De Peuter 2025-04-02 00:22:05 +02:00
parent d24eb9832b
commit 61f3afd9ae
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
48 changed files with 56 additions and 65 deletions

View file

@ -1,6 +1,7 @@
import { LearningPathProvider } from './learning-path-provider.js';
import { LearningPath as LearningPathEntity } from '../../entities/content/learning-path.entity.js';
import { getLearningPathRepository } from '../../data/repositories.js';
import { Language } from '../../entities/content/language.js';
import learningObjectService from '../learning-objects/learning-object-service.js';
import { LearningPathNode } from '../../entities/content/learning-path-node.entity.js';
import { LearningPathTransition } from '../../entities/content/learning-path-transition.entity.js';
@ -12,7 +13,6 @@ import {
LearningPathResponse,
Transition,
} from 'dwengo-1-common/src/interfaces/learning-content';
import { Language } from 'dwengo-1-common/src/util/language.js';
/**
* Fetches the corresponding learning object for each of the nodes and creates a map that maps each node to its