refactor: type responses

This commit is contained in:
Gabriellvl 2025-04-02 13:00:31 +02:00
parent 8ceed7f779
commit 075616b67b
9 changed files with 221 additions and 144 deletions

View file

@ -1,3 +1,3 @@
import type {QuestionDTO, QuestionId} from "dwengo-1-common/src/interfaces/question";
export type QuestionsResponse = { questions: QuestionDTO[] | QuestionId[] }
export interface QuestionsResponse { questions: QuestionDTO[] | QuestionId[] }