misc: Initial addition of IGDB typehints

The short-term goal is to completely typehint the IGDB API responses. This
first change adds the base structures and enums RomM currently uses.

The `ExpandableField` type will allow us to model the expansion
mechanism the IGDB API provides, where a field can include either an ID,
or the full nested structure.
This commit is contained in:
Michael Manganiello
2024-10-26 23:49:48 -03:00
parent 373757e3ad
commit 4bb5cb5149
5 changed files with 326 additions and 36 deletions

View File

@@ -26,7 +26,7 @@ lint:
- checkov@3.2.239
- git-diff-check
- isort@5.13.2
- mypy@1.11.2
- mypy@1.13.0
- osv-scanner@1.8.4
- oxipng@9.1.2
- prettier@3.3.3