tercul-backend/internal/adapters/graphql
google-labs-jules[bot] 52101fbeda Refactor: Expose Analytics Service via GraphQL
This commit refactors the analytics service to align with the new DDD architecture and exposes it through the GraphQL API.

Key changes:
- A new `AnalyticsService` has been created in `internal/application/services` to encapsulate analytics-related business logic.
- The GraphQL resolver has been updated to use the new `AnalyticsService`, providing a clean and maintainable API.
- The old analytics service and its related files have been removed, reducing code duplication and confusion.
- The `bookmark`, `like`, and `work` services have been refactored to remove their dependencies on the old analytics repository.
- Unit tests have been added for the new `AnalyticsService`, and existing tests have been updated to reflect the refactoring.
2025-10-03 04:10:16 +00:00
..
model Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +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
binding.go feat(analytics): Enhance analytics capabilities 2025-09-07 19:26:51 +00:00
generated.go Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
helpers.go This commit introduces goose as the database migration tool for the project, replacing the previous gorm.AutoMigrate system. It also includes several code quality improvements identified during the refactoring process. 2025-10-03 02:52:01 +00:00
integration_test.go Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
resolver.go Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
schema.graphqls Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
schema.resolvers.go Refactor: Expose Analytics Service via GraphQL 2025-10-03 04:10:16 +00:00
validation.go feat(analytics): Enhance analytics capabilities 2025-09-07 19:26:51 +00:00