import type { Season } from '../entities/Season'; export interface ISeasonRepository { findById(id: string): Promise; /** * Backward-compatible alias retained for existing callers. * Prefer listByLeague for new usage. */ findByLeagueId(leagueId: string): Promise; /** * Backward-compatible alias retained for existing callers. * Prefer add for new usage. */ create(season: Season): Promise; /** * Add a new Season aggregate. */ add(season: Season): Promise; /** * Persist changes to an existing Season aggregate. */ update(season: Season): Promise; /** * List all Seasons for a given League. */ listByLeague(leagueId: string): Promise; /** * List Seasons for a League that are currently active. */ listActiveByLeague(leagueId: string): Promise; }