"""Team repository interface.""" from abc import ABC, abstractmethod from typing import List, Optional from src.domain.entities import NHLTeam class TeamRepository(ABC): """Abstract interface for NHL team data access.""" @abstractmethod async def get_team_by_id(self, team_id: str) -> Optional[NHLTeam]: """Retrieves a team by its unique identifier.""" pass @abstractmethod async def get_all_teams(self) -> List[NHLTeam]: """Retrieves all NHL teams.""" pass @abstractmethod async def get_teams_by_division(self, division: str) -> List[NHLTeam]: """Retrieves all teams in a specific division.""" pass @abstractmethod async def get_teams_by_conference(self, conference: str) -> List[NHLTeam]: """Retrieves all teams in a specific conference.""" pass