import { TurnHistoryAggregate, TurnActionType, TurnActionData } from '../Game/TurnHistoryAggregate'; export interface ITurnHistoryRepository { /** * Save a turn history entry */ save(turnHistory: TurnHistoryAggregate): Promise; /** * Get all turn history for a game */ findByGameId(gameId: string): Promise; /** * Get turn history for a specific player in a game */ findByGameAndPlayer(gameId: string, playerId: string): Promise; /** * Get the last N turns for a game */ findLastNTurns(gameId: string, limit: number): Promise; /** * Get turn count for a game */ countTurnsByGame(gameId: string): Promise; /** * Delete all turn history for a game */ deleteByGameId(gameId: string): Promise; }