tests: tests for dart repositories

This commit is contained in:
2025-01-04 16:25:00 +00:00
parent bdfb08f092
commit d4bf238f50
16 changed files with 1493 additions and 37 deletions
@@ -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);