tercul-backend/internal/app
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
..
analytics refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
auth Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
author refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
bookmark refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00
category Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
collection This commit refactors the GraphQL layer to improve code quality and adhere to the project's target architecture. 2025-10-03 02:13:12 +00:00
comment Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
copyright refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
like refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00
localization feat: Finalize DDD refactoring and fix tests 2025-10-03 01:44:47 +00:00
monetization refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
search refactor(domain): Isolate Work aggregate 2025-10-03 16:15:09 +00:00
tag Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +00:00
translation refactor: Align codebase with DDD architecture to fix build 2025-10-03 01:17:53 +00:00
user Refactor: Introduce service layer for application logic 2025-09-09 02:28:25 +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
app.go refactor: Refactor GraphQL tests to use mock-based unit tests 2025-10-03 09:21:41 +00:00