From d5c9b8e5e878fb6ae3cc5b4a973bbc96991e2b6d Mon Sep 17 00:00:00 2001 From: iammuhammadahmad Date: Sun, 13 Oct 2024 04:12:23 +0500 Subject: [PATCH] Defined the AuthProvider --- apps/ws/src/Game.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ws/src/Game.ts b/apps/ws/src/Game.ts index 718d9a93..869539b9 100644 --- a/apps/ws/src/Game.ts +++ b/apps/ws/src/Game.ts @@ -7,6 +7,7 @@ import { import { db } from './db'; import { randomUUID } from 'crypto'; import { socketManager, User } from './SocketManager'; +import { AuthProvider } from '@prisma/client'; type GAME_STATUS = 'IN_PROGRESS' | 'COMPLETED' | 'ABANDONED' | 'TIME_UP' | 'PLAYER_EXIT'; type GAME_RESULT = "WHITE_WINS" | "BLACK_WINS" | "DRAW";