From e838a45bb8983c407cda41c55fcf21b0e16beb86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Fri, 23 Feb 2024 18:35:48 +0100 Subject: [PATCH] Gitbeaker => Remove forgotten old type --- ExpressAPI/src/types/DatabaseTypes.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ExpressAPI/src/types/DatabaseTypes.ts b/ExpressAPI/src/types/DatabaseTypes.ts index 14e9b00..2a97269 100644 --- a/ExpressAPI/src/types/DatabaseTypes.ts +++ b/ExpressAPI/src/types/DatabaseTypes.ts @@ -1,6 +1,6 @@ -import { Prisma } from '@prisma/client'; -import LazyVal from '../shared/helpers/LazyVal'; -import GitlabUser from '../shared/types/Gitlab/GitlabUser'; +import { Prisma } from '@prisma/client'; +import LazyVal from '../shared/helpers/LazyVal'; +import * as Gitlab from '@gitbeaker/rest'; const userBase = Prisma.validator<Prisma.UserDefaultArgs>()({ @@ -29,7 +29,7 @@ const resultBase = Prisma.validator<Prisma.ResultDefaultArgs>()({ export type User = Prisma.UserGetPayload<typeof userBase> & { isTeachingStaff: boolean isAdmin: boolean - gitlabProfile: LazyVal<GitlabUser> + gitlabProfile: LazyVal<Gitlab.UserSchema> } export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & { isCorrection: boolean -- GitLab