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 {ClassDTO} from "dwengo-1-common/src/interfaces/class";
export type ClassesResponse = { classes: ClassDTO[] | string[] };
export interface ClassesResponse { classes: ClassDTO[] | string[] }