6 lines
192 B
TypeScript
6 lines
192 B
TypeScript
import type { Season } from '../entities/Season';
|
|
|
|
export interface ISeasonRepository {
|
|
findById(id: string): Promise<Season | null>;
|
|
findByLeagueId(leagueId: string): Promise<Season[]>;
|
|
} |