Open
Conversation
…, enhance layout with new Header and Divider components
…ion and UI updates
…olish date formatting
…on and adjust layout in HomeScreen
…nd restructure file organization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces two major features to the API: fetching upcoming games from IGDB with caching, and exposing a query for users' last edited game statuses. Additionally, it adds new DTOs, interfaces, and updates module wiring to support these features. There are also improvements to project documentation regarding import practices.
New IGDB Upcoming Games Query and Caching:
IgdbServiceimplementing a newIGamesProviderinterface, which fetches upcoming games from IGDB, handles OAuth token management, and maps results to new DTOs. The service is provided via a new provider token (GAMES_PROVIDER). [1] [2] [3]GetUpcomingGamesQueryand handler) that fetches upcoming games, caches results for 1 hour using NestJS cache manager, and exposes them via a new GraphQL queryupcomingGames. [1] [2] [3] [4] [5] [6]@nestjs/cache-managerandcache-manager. [1] [2]User Last Edited Game Statuses Query:
lastEditedGamesto fetch the user's most recently edited game statuses, with a CQRS query and handler that retrieves and maps the data from the database. [1] [2] [3] [4] [5] [6] [7]LastEditedGamesStatusDTOfor the response.Documentation and Codebase Clean-up:
.github/copilot-instructions.mdwith a strict rule to never use barrel exports (index.ts), and clarified import conventions for all platforms. [1] [2]igdb_games.dto.ts.These changes improve API capabilities for game discovery and user activity, while also enhancing code maintainability and consistency.