6 lines
159 B
TypeScript
6 lines
159 B
TypeScript
import type { Game } from '../entities/Game';
|
|
|
|
export interface IGameRepository {
|
|
findById(id: string): Promise<Game | null>;
|
|
findAll(): Promise<Game[]>;
|
|
} |