aboutsummaryrefslogtreecommitdiff
path: root/repositories/mapping.go
AgeCommit message (Collapse)AuthorFilesLines
2026-02-06Refactor database interactions: replace direct database calls with DB ↵Bobby1-4/+3
variable and implement batch creation for images and producers
2026-02-06Refactor task management and producer synchronizationBobby1-0/+12
- Updated TaskManager to utilize repositories for database operations, improving separation of concerns. - Enhanced logging functionality by replacing logger.Log with logger.Infof, logger.Warnf, and logger.Errorf for better readability and consistency. - Simplified ProducerSync function by removing unnecessary pagination logic and directly fetching producer data. - Introduced helper functions for calculating progress and managing task statuses. - Added new service for fetching and saving anime data, integrating multiple data sources (Jikan, Anilist, MALsync, TMDB, TVDB, Aniskip). - Created new types for task management and improved overall code organization. - Removed deprecated database calls and replaced them with repository methods for better maintainability.
2026-02-05Refactor Jikan API types: remove unused structures and add HTTP client ↵Bobby1-0/+43
configuration