racing typeorm
This commit is contained in:
@@ -18,6 +18,13 @@ export interface ILeagueRepository {
|
||||
*/
|
||||
findAll(): Promise<League[]>;
|
||||
|
||||
/**
|
||||
* Count all leagues.
|
||||
*
|
||||
* Optional to avoid forcing all existing test doubles to implement it.
|
||||
*/
|
||||
countAll?(): Promise<number>;
|
||||
|
||||
/**
|
||||
* Find leagues by owner ID
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user