fix: Shared pkgs importeren

This commit is contained in:
Tibo De Peuter 2025-04-02 17:32:14 +02:00
parent b6e07d28df
commit 9470a4ddf9
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
95 changed files with 160 additions and 142 deletions

View file

@ -2,8 +2,8 @@ import { Request, Response } from 'express';
import { createQuestion, deleteQuestion, getAllQuestions, getAnswersByQuestion, getQuestion } from '../services/questions.js';
import { FALLBACK_LANG, FALLBACK_SEQ_NUM } from '../config.js';
import { LearningObjectIdentifier } from '../entities/content/learning-object-identifier.js';
import { Language } from '../entities/content/language.js';
import { QuestionDTO, QuestionId } from 'dwengo-1-common/src/interfaces/question';
import { QuestionDTO, QuestionId } from '@dwengo-1/common/interfaces/question';
import { Language } from '@dwengo-1/common/util/language';
function getObjectId(req: Request, res: Response): LearningObjectIdentifier | null {
const { hruid, version } = req.params;