tests: tests for dart repositories
This commit is contained in:
@@ -9,6 +9,9 @@ abstract class ProjectRepository {
|
||||
/// Finds a project by its unique ID.
|
||||
TaskEither<IError, Project> findById(String id);
|
||||
|
||||
// Finds all projects by a user's unique ID.
|
||||
TaskEither<IError, List<Project>> findByUserId(String userId);
|
||||
|
||||
/// Updates an existing project.
|
||||
TaskEither<IError, Project> update(ProjectUpdate project);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user