Skip to content

feat: refactor data model imports and update repository structure - #72

Merged
gabrielbmoro merged 3 commits into
mainfrom
feature/some-impro
Sep 20, 2026
Merged

gabrielbmoro merged 3 commits into
mainfrom
feature/some-impro

Conversation

@gabrielbmoro

Copy link
Copy Markdown
Collaborator

Summary

Reorganizes the data layer: domain models moved from lib/data/model to lib/domain/model, a TodoRepository interface was extracted, and its database implementation split into TodoRepositoryImpl.

Changes

  • Move Checklist/Task/TasksCompleteStatus models to lib/domain/model
  • Add TodoRepository interface in lib/domain
  • Rename todo_repository.dart to todo_repository_impl.dart
  • Update DAOs, viewmodels, widgets, and tests to new import paths
  • Bump eagle_eye to 2.0.5 and tighten eagle_eye_config.json
  • Update AGENTS.md and Android gradle.properties

Testing

  • flutter test
  • dart analyze
  • dart run eagle_eye:main

Related

  • 1eebfb1 feat: refactor data model imports and update repository structure

- Moved data model imports from `data/model` to `domain/model` for better organization.
- Added `TodoRepositoryImpl` to implement the `TodoRepository` interface.
- Updated `eagle_eye` dependency to version 2.0.5.
- Adjusted configuration in `eagle_eye_config.json` for stricter dependency rules.
- Added new models for `Checklist` and `Task` using Freezed for immutability.
- Updated various components and tests to reflect the new structure and imports.
@gabrielbmoro
gabrielbmoro merged commit 4bcd8cf into main Sep 20, 2026
1 check passed
@gabrielbmoro
gabrielbmoro deleted the feature/some-impro branch September 20, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant