fix: imports + merge

This commit is contained in:
Gabriellvl 2025-04-03 09:51:53 +02:00
parent 084f4fcdbd
commit 94e25fbcde
3 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ import type { AssignmentsResponse } from "@/controllers/assignments.ts";
import type { GroupsResponse } from "@/controllers/groups.ts";
import type { SubmissionsResponse } from "@/controllers/submissions.ts";
import type { QuestionsResponse } from "@/controllers/questions.ts";
import type { StudentDTO } from "dwengo-1-common/src/interfaces/student";
import type { StudentDTO } from "@dwengo-1/interfaces/student";
const studentController = new StudentController();

View file

@ -5,7 +5,7 @@ import { TeacherController, type TeacherResponse, type TeachersResponse } from "
import type { ClassesResponse } from "@/controllers/classes.ts";
import type { JoinRequestResponse, JoinRequestsResponse, StudentsResponse } from "@/controllers/students.ts";
import type { QuestionsResponse } from "@/controllers/questions.ts";
import type { TeacherDTO } from "dwengo-1-common/src/interfaces/teacher";
import type { TeacherDTO } from "@dwengo-1/interfaces/teacher";
import { studentJoinRequestQueryKey, studentJoinRequestsQueryKey } from "@/queries/students.ts";
const teacherController = new TeacherController();

View file

@ -1,9 +1,9 @@
import { useQuery, type UseQueryReturnType } from "@tanstack/vue-query";
import { type MaybeRefOrGetter, toValue } from "vue";
import { ThemeController } from "@/controllers/themes.ts";
import type { Theme } from "../../../common/src/interfaces/theme";
import type { Theme } from "@dwengo-1/interfaces/theme";
import {getThemeController} from "@/controllers/controllers.ts";
const themeController = new ThemeController();
const themeController = getThemeController();
export function useThemeQuery(language: MaybeRefOrGetter<string | undefined>): UseQueryReturnType<Theme[], Error> {
return useQuery({