UNPKG

poem_game_component

Version:

9 lines (8 loc) 272 B
import { Game } from '../Game'; export interface GameRepository { save(game: Game): Promise<void>; findById(id: string): Promise<Game | null>; findAll(): Promise<Game[]>; update(game: Game): Promise<void>; delete(id: string): Promise<void>; }