* feat(search): search by id
This adds the ability to search by ID (starting with TMDb ID).
Since there doesn't seem to be way of searching across movies, tv and persons,
I have to search through all 3 and use the first one in the order: movie -> tv -> person
Searching by ID is triggered using a 'prefix' just like in the *arrs.
* fix: missed some refactoring
* feat(search): use locale language
* feat(search): search using imdb id
* feat(search): search using tvdb id
* fix: alias type import
* fix: missed some refactoring
* fix(search): account for id being a string
* feat(search): account for movies/tvs/persons with the same id
* feat(search): remove non-null assertion
Co-authored-by: Ryan Cohen <ryan@sct.dev>
* fix: order collection parts by release date
* feat(frontend): add posters & release years to collection request modal
* fix(frontend): wrap movie titles in collection request modal
* fix: fetch localized person details from TMDb
* feat: include DOB, hometown, and alternate names on person detail pages
* fix: remove unnecessary ternary operator
* fix(ui): don't display AKA when empty
* feat(frontend): person API call - details, combined credits
* feat(frontend): add next for error handling + remove conditional
* feat(frontend): add status code to next error
* feat(api): request model
Also adds request binding to search/discover results
* fix(api): rename Request to MediaRequest and update nextjs tsconfig
* refactor(api): move related request fetching code into MediaRequest entity
Adds a "The Movie DB" api wrapper for some basic requests (search/get movie details/get tv details).
Also adds a search endpoint to our api and mappers to convert the tmdb results