Skip to content

Commit

Permalink
#67 Exclusively use dto types in gql definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Nov 2, 2023
1 parent 4a8abd5 commit 4cc0c0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/quiz/quiz.gql.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { QuizImageType, QuizType } from '@prisma/client';

import { QuizlordContext } from '..';
import { base64Decode, base64Encode, PagedResult } from '../util/paging-helpers';
import { authorisationService, quizService } from '../service.locator';
import { CreateQuizResult, Quiz, QuizCompletion, QuizDetails, QuizFilters } from './quiz.dto';
import { CreateQuizResult, Quiz, QuizCompletion, QuizDetails, QuizFilters, QuizImageType, QuizType } from './quiz.dto';

async function quizzes(
_: unknown,
Expand Down

0 comments on commit 4cc0c0a

Please sign in to comment.