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