Skip to content
Snippets Groups Projects
Commit e838a45b authored by michael.minelli's avatar michael.minelli Committed by michael.minelli
Browse files

Gitbeaker => Remove forgotten old type

parent 7b8cbcdb
No related branches found
No related tags found
No related merge requests found
import { Prisma } from '@prisma/client'; import { Prisma } from '@prisma/client';
import LazyVal from '../shared/helpers/LazyVal'; import LazyVal from '../shared/helpers/LazyVal';
import GitlabUser from '../shared/types/Gitlab/GitlabUser'; import * as Gitlab from '@gitbeaker/rest';
const userBase = Prisma.validator<Prisma.UserDefaultArgs>()({ const userBase = Prisma.validator<Prisma.UserDefaultArgs>()({
...@@ -29,7 +29,7 @@ const resultBase = Prisma.validator<Prisma.ResultDefaultArgs>()({ ...@@ -29,7 +29,7 @@ const resultBase = Prisma.validator<Prisma.ResultDefaultArgs>()({
export type User = Prisma.UserGetPayload<typeof userBase> & { export type User = Prisma.UserGetPayload<typeof userBase> & {
isTeachingStaff: boolean isTeachingStaff: boolean
isAdmin: boolean isAdmin: boolean
gitlabProfile: LazyVal<GitlabUser> gitlabProfile: LazyVal<Gitlab.UserSchema>
} }
export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & { export type Exercise = Prisma.ExerciseGetPayload<typeof exerciseBase> & {
isCorrection: boolean isCorrection: boolean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment