tercul-backend/internal/domain
google-labs-jules[bot] 06e6e2be85 refactor(domain): Isolate Work aggregate
This commit isolates the `Work` aggregate into its own package at `internal/domain/work`, following the first step of the refactoring plan in `refactor.md`.

- The `Work` struct, related types, and the `WorkRepository` interface have been moved to the new package.
- A circular dependency between `domain` and `work` was resolved by moving the `AnalyticsRepository` to the `app` layer.
- All references to the moved types have been updated across the entire codebase to fix compilation errors.
- Test files, including mocks and integration tests, have been updated to reflect the new structure.
2025-10-03 16:15:09 +00:00
..
auth refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
localization feat: Finalize DDD refactoring and fix tests 2025-10-03 01:44:47 +00:00
search refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
work refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
.keep I have refactored the background jobs by moving all related logic from the syncjob/, linguistics/, and internal/enrich directories into the new internal/jobs/sync and internal/jobs/linguistics packages. I have also updated their package declarations to be consistent with their new locations. 2025-09-02 15:02:04 +00:00
entities.go refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
interfaces.go refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00