From 550fb546773264980d9fcd4cad5cacc1d00d4b62 Mon Sep 17 00:00:00 2001 From: jasong Date: Tue, 11 Jul 2023 10:23:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20interface=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/common/database/model/game-match-queue.ts | 4 ++++ .../database/repository/game-match-queue.repository.ts | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 backend/src/common/database/model/game-match-queue.ts diff --git a/backend/src/common/database/model/game-match-queue.ts b/backend/src/common/database/model/game-match-queue.ts new file mode 100644 index 00000000..8846d60d --- /dev/null +++ b/backend/src/common/database/model/game-match-queue.ts @@ -0,0 +1,4 @@ +export interface GameMatchQueue { + socketId: string; + userId: number; +} diff --git a/backend/src/common/database/repository/game-match-queue.repository.ts b/backend/src/common/database/repository/game-match-queue.repository.ts index 36855ef1..e6179461 100644 --- a/backend/src/common/database/repository/game-match-queue.repository.ts +++ b/backend/src/common/database/repository/game-match-queue.repository.ts @@ -1,9 +1,5 @@ import { Injectable, Logger } from '@nestjs/common'; - -interface GameMatchQueue { - socketId: string; - userId: number; -} +import { GameMatchQueue } from '../model/game-match-queue'; @Injectable() export class GameMatchQueueRepository {