@tmdb-graphql-api/resolvers 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/dist/cjs/index.cjs +3435 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/esm/index.mjs +3432 -0
- package/dist/esm/index.mjs.map +1 -0
- package/dist/types/cjs/constants.d.cts +54 -0
- package/dist/types/cjs/constants.d.cts.map +1 -0
- package/dist/types/cjs/helpers/decodeId.d.cts +3 -0
- package/dist/types/cjs/helpers/decodeId.d.cts.map +1 -0
- package/dist/types/cjs/helpers/defaultFieldResolver.d.cts +4 -0
- package/dist/types/cjs/helpers/defaultFieldResolver.d.cts.map +1 -0
- package/dist/types/cjs/helpers/encodeId.d.cts +3 -0
- package/dist/types/cjs/helpers/encodeId.d.cts.map +1 -0
- package/dist/types/cjs/helpers/formatDirectionalSuffixes.d.cts +3 -0
- package/dist/types/cjs/helpers/formatDirectionalSuffixes.d.cts.map +1 -0
- package/dist/types/cjs/helpers/formatQueryParams.d.cts +6 -0
- package/dist/types/cjs/helpers/formatQueryParams.d.cts.map +1 -0
- package/dist/types/cjs/helpers/getAppendToResponseKeys.d.cts +4 -0
- package/dist/types/cjs/helpers/getAppendToResponseKeys.d.cts.map +1 -0
- package/dist/types/cjs/helpers/getTvIdSeasonAndEpisode.d.cts +8 -0
- package/dist/types/cjs/helpers/getTvIdSeasonAndEpisode.d.cts.map +1 -0
- package/dist/types/cjs/helpers/makeFallbackFieldResolvers.d.cts +3 -0
- package/dist/types/cjs/helpers/makeFallbackFieldResolvers.d.cts.map +1 -0
- package/dist/types/cjs/helpers/removeNullValues.d.cts +3 -0
- package/dist/types/cjs/helpers/removeNullValues.d.cts.map +1 -0
- package/dist/types/cjs/helpers/snakeCasePropNames.d.cts +4 -0
- package/dist/types/cjs/helpers/snakeCasePropNames.d.cts.map +1 -0
- package/dist/types/cjs/helpers/typePropNames.d.cts +2 -0
- package/dist/types/cjs/helpers/typePropNames.d.cts.map +1 -0
- package/dist/types/cjs/index.d.cts +3 -0
- package/dist/types/cjs/index.d.cts.map +1 -0
- package/dist/types/cjs/main.d.cts +3 -0
- package/dist/types/cjs/main.d.cts.map +1 -0
- package/dist/types/cjs/queries/certifications.d.cts +5 -0
- package/dist/types/cjs/queries/certifications.d.cts.map +1 -0
- package/dist/types/cjs/queries/collection.d.cts +3401 -0
- package/dist/types/cjs/queries/collection.d.cts.map +1 -0
- package/dist/types/cjs/queries/collectionImages.d.cts +14 -0
- package/dist/types/cjs/queries/collectionImages.d.cts.map +1 -0
- package/dist/types/cjs/queries/collectionTranslations.d.cts +18 -0
- package/dist/types/cjs/queries/collectionTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/company.d.cts +15 -0
- package/dist/types/cjs/queries/company.d.cts.map +1 -0
- package/dist/types/cjs/queries/companyAlternativeNames.d.cts +10 -0
- package/dist/types/cjs/queries/companyAlternativeNames.d.cts.map +1 -0
- package/dist/types/cjs/queries/companyLogos.d.cts +14 -0
- package/dist/types/cjs/queries/companyLogos.d.cts.map +1 -0
- package/dist/types/cjs/queries/configuration.d.cts +16 -0
- package/dist/types/cjs/queries/configuration.d.cts.map +1 -0
- package/dist/types/cjs/queries/configurationCountries.d.cts +4 -0
- package/dist/types/cjs/queries/configurationCountries.d.cts.map +1 -0
- package/dist/types/cjs/queries/configurationJobs.d.cts +4 -0
- package/dist/types/cjs/queries/configurationJobs.d.cts.map +1 -0
- package/dist/types/cjs/queries/configurationLanguages.d.cts +4 -0
- package/dist/types/cjs/queries/configurationLanguages.d.cts.map +1 -0
- package/dist/types/cjs/queries/configurationPrimaryTranslations.d.cts +4 -0
- package/dist/types/cjs/queries/configurationPrimaryTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/configurationTimezones.d.cts +4 -0
- package/dist/types/cjs/queries/configurationTimezones.d.cts.map +1 -0
- package/dist/types/cjs/queries/credit.d.cts +4196 -0
- package/dist/types/cjs/queries/credit.d.cts.map +1 -0
- package/dist/types/cjs/queries/discoverMovies.d.cts +15 -0
- package/dist/types/cjs/queries/discoverMovies.d.cts.map +1 -0
- package/dist/types/cjs/queries/discoverTv.d.cts +15 -0
- package/dist/types/cjs/queries/discoverTv.d.cts.map +1 -0
- package/dist/types/cjs/queries/episode.d.cts +98 -0
- package/dist/types/cjs/queries/episode.d.cts.map +1 -0
- package/dist/types/cjs/queries/episodeCredits.d.cts +33 -0
- package/dist/types/cjs/queries/episodeCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/episodeExternalIds.d.cts +16 -0
- package/dist/types/cjs/queries/episodeExternalIds.d.cts.map +1 -0
- package/dist/types/cjs/queries/episodeStills.d.cts +6 -0
- package/dist/types/cjs/queries/episodeStills.d.cts.map +1 -0
- package/dist/types/cjs/queries/episodeTranslations.d.cts +20 -0
- package/dist/types/cjs/queries/episodeTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/episodeVideos.d.cts +16 -0
- package/dist/types/cjs/queries/episodeVideos.d.cts.map +1 -0
- package/dist/types/cjs/queries/find.d.cts +1803 -0
- package/dist/types/cjs/queries/find.d.cts.map +1 -0
- package/dist/types/cjs/queries/genres.d.cts +9 -0
- package/dist/types/cjs/queries/genres.d.cts.map +1 -0
- package/dist/types/cjs/queries/keyword.d.cts +9 -0
- package/dist/types/cjs/queries/keyword.d.cts.map +1 -0
- package/dist/types/cjs/queries/movie.d.cts +3597 -0
- package/dist/types/cjs/queries/movie.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieAlternativeTitles.d.cts +7 -0
- package/dist/types/cjs/queries/movieAlternativeTitles.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieCredits.d.cts +33 -0
- package/dist/types/cjs/queries/movieCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieExternalIds.d.cts +16 -0
- package/dist/types/cjs/queries/movieExternalIds.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieImages.d.cts +6 -0
- package/dist/types/cjs/queries/movieImages.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieKeywords.d.cts +6 -0
- package/dist/types/cjs/queries/movieKeywords.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieRecommendations.d.cts +1866 -0
- package/dist/types/cjs/queries/movieRecommendations.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieReleaseDates.d.cts +13 -0
- package/dist/types/cjs/queries/movieReleaseDates.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieReviews.d.cts +1866 -0
- package/dist/types/cjs/queries/movieReviews.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieSimilarMovies.d.cts +1866 -0
- package/dist/types/cjs/queries/movieSimilarMovies.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieTranslations.d.cts +20 -0
- package/dist/types/cjs/queries/movieTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieVideos.d.cts +16 -0
- package/dist/types/cjs/queries/movieVideos.d.cts.map +1 -0
- package/dist/types/cjs/queries/movieWatchProviders.d.cts +1375 -0
- package/dist/types/cjs/queries/movieWatchProviders.d.cts.map +1 -0
- package/dist/types/cjs/queries/network.d.cts +26 -0
- package/dist/types/cjs/queries/network.d.cts.map +1 -0
- package/dist/types/cjs/queries/networkAlternativeNames.d.cts +10 -0
- package/dist/types/cjs/queries/networkAlternativeNames.d.cts.map +1 -0
- package/dist/types/cjs/queries/networkLogos.d.cts +14 -0
- package/dist/types/cjs/queries/networkLogos.d.cts.map +1 -0
- package/dist/types/cjs/queries/person.d.cts +46 -0
- package/dist/types/cjs/queries/person.d.cts.map +1 -0
- package/dist/types/cjs/queries/personCombinedCredits.d.cts +6 -0
- package/dist/types/cjs/queries/personCombinedCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/personExternalIds.d.cts +6 -0
- package/dist/types/cjs/queries/personExternalIds.d.cts.map +1 -0
- package/dist/types/cjs/queries/personMovieCredits.d.cts +6 -0
- package/dist/types/cjs/queries/personMovieCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/personProfiles.d.cts +6 -0
- package/dist/types/cjs/queries/personProfiles.d.cts.map +1 -0
- package/dist/types/cjs/queries/personTranslations.d.cts +20 -0
- package/dist/types/cjs/queries/personTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/personTvCredits.d.cts +6 -0
- package/dist/types/cjs/queries/personTvCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/rated.d.cts +17 -0
- package/dist/types/cjs/queries/rated.d.cts.map +1 -0
- package/dist/types/cjs/queries/review.d.cts +28 -0
- package/dist/types/cjs/queries/review.d.cts.map +1 -0
- package/dist/types/cjs/queries/search.d.cts +17 -0
- package/dist/types/cjs/queries/search.d.cts.map +1 -0
- package/dist/types/cjs/queries/season.d.cts +282 -0
- package/dist/types/cjs/queries/season.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonCredits.d.cts +33 -0
- package/dist/types/cjs/queries/seasonCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonEpisodeCount.d.cts +3 -0
- package/dist/types/cjs/queries/seasonEpisodeCount.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonExternalIds.d.cts +6 -0
- package/dist/types/cjs/queries/seasonExternalIds.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonPosters.d.cts +6 -0
- package/dist/types/cjs/queries/seasonPosters.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonTranslations.d.cts +20 -0
- package/dist/types/cjs/queries/seasonTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/seasonVideos.d.cts +16 -0
- package/dist/types/cjs/queries/seasonVideos.d.cts.map +1 -0
- package/dist/types/cjs/queries/trending.d.cts +17 -0
- package/dist/types/cjs/queries/trending.d.cts.map +1 -0
- package/dist/types/cjs/queries/tv.d.cts +10460 -0
- package/dist/types/cjs/queries/tv.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvAlternativeTitles.d.cts +12 -0
- package/dist/types/cjs/queries/tvAlternativeTitles.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvContentRatings.d.cts +10 -0
- package/dist/types/cjs/queries/tvContentRatings.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvCredits.d.cts +33 -0
- package/dist/types/cjs/queries/tvCredits.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvEpisodeGroups.d.cts +41 -0
- package/dist/types/cjs/queries/tvEpisodeGroups.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvExternalIds.d.cts +16 -0
- package/dist/types/cjs/queries/tvExternalIds.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvImages.d.cts +16 -0
- package/dist/types/cjs/queries/tvImages.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvKeywords.d.cts +10 -0
- package/dist/types/cjs/queries/tvKeywords.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvRecommendations.d.cts +5373 -0
- package/dist/types/cjs/queries/tvRecommendations.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvReviews.d.cts +5373 -0
- package/dist/types/cjs/queries/tvReviews.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvSimilarTvShows.d.cts +5373 -0
- package/dist/types/cjs/queries/tvSimilarTvShows.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvTranslations.d.cts +20 -0
- package/dist/types/cjs/queries/tvTranslations.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvVideos.d.cts +16 -0
- package/dist/types/cjs/queries/tvVideos.d.cts.map +1 -0
- package/dist/types/cjs/queries/tvWatchProviders.d.cts +1375 -0
- package/dist/types/cjs/queries/tvWatchProviders.d.cts.map +1 -0
- package/dist/types/cjs/queries/videoType.d.cts +3 -0
- package/dist/types/cjs/queries/videoType.d.cts.map +1 -0
- package/dist/types/cjs/types.d.cts +326 -0
- package/dist/types/cjs/types.d.cts.map +1 -0
- package/dist/types/esm/constants.d.ts +54 -0
- package/dist/types/esm/constants.d.ts.map +1 -0
- package/dist/types/esm/helpers/decodeId.d.ts +3 -0
- package/dist/types/esm/helpers/decodeId.d.ts.map +1 -0
- package/dist/types/esm/helpers/defaultFieldResolver.d.ts +4 -0
- package/dist/types/esm/helpers/defaultFieldResolver.d.ts.map +1 -0
- package/dist/types/esm/helpers/encodeId.d.ts +3 -0
- package/dist/types/esm/helpers/encodeId.d.ts.map +1 -0
- package/dist/types/esm/helpers/formatDirectionalSuffixes.d.ts +3 -0
- package/dist/types/esm/helpers/formatDirectionalSuffixes.d.ts.map +1 -0
- package/dist/types/esm/helpers/formatQueryParams.d.ts +6 -0
- package/dist/types/esm/helpers/formatQueryParams.d.ts.map +1 -0
- package/dist/types/esm/helpers/getAppendToResponseKeys.d.ts +4 -0
- package/dist/types/esm/helpers/getAppendToResponseKeys.d.ts.map +1 -0
- package/dist/types/esm/helpers/getTvIdSeasonAndEpisode.d.ts +8 -0
- package/dist/types/esm/helpers/getTvIdSeasonAndEpisode.d.ts.map +1 -0
- package/dist/types/esm/helpers/makeFallbackFieldResolvers.d.ts +3 -0
- package/dist/types/esm/helpers/makeFallbackFieldResolvers.d.ts.map +1 -0
- package/dist/types/esm/helpers/removeNullValues.d.ts +3 -0
- package/dist/types/esm/helpers/removeNullValues.d.ts.map +1 -0
- package/dist/types/esm/helpers/snakeCasePropNames.d.ts +4 -0
- package/dist/types/esm/helpers/snakeCasePropNames.d.ts.map +1 -0
- package/dist/types/esm/helpers/typePropNames.d.ts +2 -0
- package/dist/types/esm/helpers/typePropNames.d.ts.map +1 -0
- package/dist/types/esm/index.d.ts +3 -0
- package/dist/types/esm/index.d.ts.map +1 -0
- package/dist/types/esm/main.d.ts +3 -0
- package/dist/types/esm/main.d.ts.map +1 -0
- package/dist/types/esm/queries/certifications.d.ts +5 -0
- package/dist/types/esm/queries/certifications.d.ts.map +1 -0
- package/dist/types/esm/queries/collection.d.ts +3401 -0
- package/dist/types/esm/queries/collection.d.ts.map +1 -0
- package/dist/types/esm/queries/collectionImages.d.ts +14 -0
- package/dist/types/esm/queries/collectionImages.d.ts.map +1 -0
- package/dist/types/esm/queries/collectionTranslations.d.ts +18 -0
- package/dist/types/esm/queries/collectionTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/company.d.ts +15 -0
- package/dist/types/esm/queries/company.d.ts.map +1 -0
- package/dist/types/esm/queries/companyAlternativeNames.d.ts +10 -0
- package/dist/types/esm/queries/companyAlternativeNames.d.ts.map +1 -0
- package/dist/types/esm/queries/companyLogos.d.ts +14 -0
- package/dist/types/esm/queries/companyLogos.d.ts.map +1 -0
- package/dist/types/esm/queries/configuration.d.ts +16 -0
- package/dist/types/esm/queries/configuration.d.ts.map +1 -0
- package/dist/types/esm/queries/configurationCountries.d.ts +4 -0
- package/dist/types/esm/queries/configurationCountries.d.ts.map +1 -0
- package/dist/types/esm/queries/configurationJobs.d.ts +4 -0
- package/dist/types/esm/queries/configurationJobs.d.ts.map +1 -0
- package/dist/types/esm/queries/configurationLanguages.d.ts +4 -0
- package/dist/types/esm/queries/configurationLanguages.d.ts.map +1 -0
- package/dist/types/esm/queries/configurationPrimaryTranslations.d.ts +4 -0
- package/dist/types/esm/queries/configurationPrimaryTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/configurationTimezones.d.ts +4 -0
- package/dist/types/esm/queries/configurationTimezones.d.ts.map +1 -0
- package/dist/types/esm/queries/credit.d.ts +4196 -0
- package/dist/types/esm/queries/credit.d.ts.map +1 -0
- package/dist/types/esm/queries/discoverMovies.d.ts +15 -0
- package/dist/types/esm/queries/discoverMovies.d.ts.map +1 -0
- package/dist/types/esm/queries/discoverTv.d.ts +15 -0
- package/dist/types/esm/queries/discoverTv.d.ts.map +1 -0
- package/dist/types/esm/queries/episode.d.ts +98 -0
- package/dist/types/esm/queries/episode.d.ts.map +1 -0
- package/dist/types/esm/queries/episodeCredits.d.ts +33 -0
- package/dist/types/esm/queries/episodeCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/episodeExternalIds.d.ts +16 -0
- package/dist/types/esm/queries/episodeExternalIds.d.ts.map +1 -0
- package/dist/types/esm/queries/episodeStills.d.ts +6 -0
- package/dist/types/esm/queries/episodeStills.d.ts.map +1 -0
- package/dist/types/esm/queries/episodeTranslations.d.ts +20 -0
- package/dist/types/esm/queries/episodeTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/episodeVideos.d.ts +16 -0
- package/dist/types/esm/queries/episodeVideos.d.ts.map +1 -0
- package/dist/types/esm/queries/find.d.ts +1803 -0
- package/dist/types/esm/queries/find.d.ts.map +1 -0
- package/dist/types/esm/queries/genres.d.ts +9 -0
- package/dist/types/esm/queries/genres.d.ts.map +1 -0
- package/dist/types/esm/queries/keyword.d.ts +9 -0
- package/dist/types/esm/queries/keyword.d.ts.map +1 -0
- package/dist/types/esm/queries/movie.d.ts +3597 -0
- package/dist/types/esm/queries/movie.d.ts.map +1 -0
- package/dist/types/esm/queries/movieAlternativeTitles.d.ts +7 -0
- package/dist/types/esm/queries/movieAlternativeTitles.d.ts.map +1 -0
- package/dist/types/esm/queries/movieCredits.d.ts +33 -0
- package/dist/types/esm/queries/movieCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/movieExternalIds.d.ts +16 -0
- package/dist/types/esm/queries/movieExternalIds.d.ts.map +1 -0
- package/dist/types/esm/queries/movieImages.d.ts +6 -0
- package/dist/types/esm/queries/movieImages.d.ts.map +1 -0
- package/dist/types/esm/queries/movieKeywords.d.ts +6 -0
- package/dist/types/esm/queries/movieKeywords.d.ts.map +1 -0
- package/dist/types/esm/queries/movieRecommendations.d.ts +1866 -0
- package/dist/types/esm/queries/movieRecommendations.d.ts.map +1 -0
- package/dist/types/esm/queries/movieReleaseDates.d.ts +13 -0
- package/dist/types/esm/queries/movieReleaseDates.d.ts.map +1 -0
- package/dist/types/esm/queries/movieReviews.d.ts +1866 -0
- package/dist/types/esm/queries/movieReviews.d.ts.map +1 -0
- package/dist/types/esm/queries/movieSimilarMovies.d.ts +1866 -0
- package/dist/types/esm/queries/movieSimilarMovies.d.ts.map +1 -0
- package/dist/types/esm/queries/movieTranslations.d.ts +20 -0
- package/dist/types/esm/queries/movieTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/movieVideos.d.ts +16 -0
- package/dist/types/esm/queries/movieVideos.d.ts.map +1 -0
- package/dist/types/esm/queries/movieWatchProviders.d.ts +1375 -0
- package/dist/types/esm/queries/movieWatchProviders.d.ts.map +1 -0
- package/dist/types/esm/queries/network.d.ts +26 -0
- package/dist/types/esm/queries/network.d.ts.map +1 -0
- package/dist/types/esm/queries/networkAlternativeNames.d.ts +10 -0
- package/dist/types/esm/queries/networkAlternativeNames.d.ts.map +1 -0
- package/dist/types/esm/queries/networkLogos.d.ts +14 -0
- package/dist/types/esm/queries/networkLogos.d.ts.map +1 -0
- package/dist/types/esm/queries/person.d.ts +46 -0
- package/dist/types/esm/queries/person.d.ts.map +1 -0
- package/dist/types/esm/queries/personCombinedCredits.d.ts +6 -0
- package/dist/types/esm/queries/personCombinedCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/personExternalIds.d.ts +6 -0
- package/dist/types/esm/queries/personExternalIds.d.ts.map +1 -0
- package/dist/types/esm/queries/personMovieCredits.d.ts +6 -0
- package/dist/types/esm/queries/personMovieCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/personProfiles.d.ts +6 -0
- package/dist/types/esm/queries/personProfiles.d.ts.map +1 -0
- package/dist/types/esm/queries/personTranslations.d.ts +20 -0
- package/dist/types/esm/queries/personTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/personTvCredits.d.ts +6 -0
- package/dist/types/esm/queries/personTvCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/rated.d.ts +17 -0
- package/dist/types/esm/queries/rated.d.ts.map +1 -0
- package/dist/types/esm/queries/review.d.ts +28 -0
- package/dist/types/esm/queries/review.d.ts.map +1 -0
- package/dist/types/esm/queries/search.d.ts +17 -0
- package/dist/types/esm/queries/search.d.ts.map +1 -0
- package/dist/types/esm/queries/season.d.ts +282 -0
- package/dist/types/esm/queries/season.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonCredits.d.ts +33 -0
- package/dist/types/esm/queries/seasonCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonEpisodeCount.d.ts +3 -0
- package/dist/types/esm/queries/seasonEpisodeCount.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonExternalIds.d.ts +6 -0
- package/dist/types/esm/queries/seasonExternalIds.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonPosters.d.ts +6 -0
- package/dist/types/esm/queries/seasonPosters.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonTranslations.d.ts +20 -0
- package/dist/types/esm/queries/seasonTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/seasonVideos.d.ts +16 -0
- package/dist/types/esm/queries/seasonVideos.d.ts.map +1 -0
- package/dist/types/esm/queries/trending.d.ts +17 -0
- package/dist/types/esm/queries/trending.d.ts.map +1 -0
- package/dist/types/esm/queries/tv.d.ts +10460 -0
- package/dist/types/esm/queries/tv.d.ts.map +1 -0
- package/dist/types/esm/queries/tvAlternativeTitles.d.ts +12 -0
- package/dist/types/esm/queries/tvAlternativeTitles.d.ts.map +1 -0
- package/dist/types/esm/queries/tvContentRatings.d.ts +10 -0
- package/dist/types/esm/queries/tvContentRatings.d.ts.map +1 -0
- package/dist/types/esm/queries/tvCredits.d.ts +33 -0
- package/dist/types/esm/queries/tvCredits.d.ts.map +1 -0
- package/dist/types/esm/queries/tvEpisodeGroups.d.ts +41 -0
- package/dist/types/esm/queries/tvEpisodeGroups.d.ts.map +1 -0
- package/dist/types/esm/queries/tvExternalIds.d.ts +16 -0
- package/dist/types/esm/queries/tvExternalIds.d.ts.map +1 -0
- package/dist/types/esm/queries/tvImages.d.ts +16 -0
- package/dist/types/esm/queries/tvImages.d.ts.map +1 -0
- package/dist/types/esm/queries/tvKeywords.d.ts +10 -0
- package/dist/types/esm/queries/tvKeywords.d.ts.map +1 -0
- package/dist/types/esm/queries/tvRecommendations.d.ts +5373 -0
- package/dist/types/esm/queries/tvRecommendations.d.ts.map +1 -0
- package/dist/types/esm/queries/tvReviews.d.ts +5373 -0
- package/dist/types/esm/queries/tvReviews.d.ts.map +1 -0
- package/dist/types/esm/queries/tvSimilarTvShows.d.ts +5373 -0
- package/dist/types/esm/queries/tvSimilarTvShows.d.ts.map +1 -0
- package/dist/types/esm/queries/tvTranslations.d.ts +20 -0
- package/dist/types/esm/queries/tvTranslations.d.ts.map +1 -0
- package/dist/types/esm/queries/tvVideos.d.ts +16 -0
- package/dist/types/esm/queries/tvVideos.d.ts.map +1 -0
- package/dist/types/esm/queries/tvWatchProviders.d.ts +1375 -0
- package/dist/types/esm/queries/tvWatchProviders.d.ts.map +1 -0
- package/dist/types/esm/queries/videoType.d.ts +3 -0
- package/dist/types/esm/queries/videoType.d.ts.map +1 -0
- package/dist/types/esm/types.d.ts +326 -0
- package/dist/types/esm/types.d.ts.map +1 -0
- package/dist/types/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +71 -0
- package/src/__testUtils__/helpers/buildEndpoint.ts +21 -0
- package/src/__testUtils__/helpers/buildResolveInfoArg.ts +34 -0
- package/src/__testUtils__/helpers/createRestClient.ts +9 -0
- package/src/constants.ts +71 -0
- package/src/helpers/__snapshots__/typePropNames.test.ts.snap +708 -0
- package/src/helpers/decodeId.ts +4 -0
- package/src/helpers/defaultFieldResolver.ts +19 -0
- package/src/helpers/encodeId.ts +4 -0
- package/src/helpers/formatDirectionalSuffixes.ts +15 -0
- package/src/helpers/formatQueryParams.ts +8 -0
- package/src/helpers/getAppendToResponseKeys.ts +28 -0
- package/src/helpers/getTvIdSeasonAndEpisode.ts +25 -0
- package/src/helpers/makeFallbackFieldResolvers.ts +11 -0
- package/src/helpers/removeNullValues.ts +11 -0
- package/src/helpers/snakeCasePropNames.ts +9 -0
- package/src/helpers/typePropNames.test.ts +7 -0
- package/src/helpers/typePropNames.ts +14 -0
- package/src/index.ts +2 -0
- package/src/main.ts +215 -0
- package/src/queries/__snapshots__/certifications.test.ts.snap +1365 -0
- package/src/queries/__snapshots__/collection.test.ts.snap +195 -0
- package/src/queries/__snapshots__/collectionImages.test.ts.snap +29 -0
- package/src/queries/__snapshots__/collectionTranslations.test.ts.snap +391 -0
- package/src/queries/__snapshots__/company.test.ts.snap +14 -0
- package/src/queries/__snapshots__/companyAlternativeNames.test.ts.snap +14 -0
- package/src/queries/__snapshots__/companyLogos.test.ts.snap +46 -0
- package/src/queries/__snapshots__/configuration.test.ts.snap +101 -0
- package/src/queries/__snapshots__/configurationCountries.test.ts.snap +1241 -0
- package/src/queries/__snapshots__/configurationJobs.test.ts.snap +1007 -0
- package/src/queries/__snapshots__/configurationLanguages.test.ts.snap +941 -0
- package/src/queries/__snapshots__/configurationPrimaryTranslations.test.ts.snap +76 -0
- package/src/queries/__snapshots__/configurationTimezones.test.ts.snap +1678 -0
- package/src/queries/__snapshots__/credit.test.ts.snap +106 -0
- package/src/queries/__snapshots__/discoverMovies.test.ts.snap +481 -0
- package/src/queries/__snapshots__/discoverTv.test.ts.snap +443 -0
- package/src/queries/__snapshots__/episode.test.ts.snap +360 -0
- package/src/queries/__snapshots__/episodeCredits.test.ts.snap +866 -0
- package/src/queries/__snapshots__/episodeExternalIds.test.ts.snap +21 -0
- package/src/queries/__snapshots__/episodeStills.test.ts.snap +281 -0
- package/src/queries/__snapshots__/episodeTranslations.test.ts.snap +1059 -0
- package/src/queries/__snapshots__/episodeVideos.test.ts.snap +5 -0
- package/src/queries/__snapshots__/find.test.ts.snap +86 -0
- package/src/queries/__snapshots__/genres.test.ts.snap +151 -0
- package/src/queries/__snapshots__/keyword.test.ts.snap +8 -0
- package/src/queries/__snapshots__/movie.test.ts.snap +73 -0
- package/src/queries/__snapshots__/movieAlternativeTitles.test.ts.snap +611 -0
- package/src/queries/__snapshots__/movieCredits.test.ts.snap +2690 -0
- package/src/queries/__snapshots__/movieExternalIds.test.ts.snap +19 -0
- package/src/queries/__snapshots__/movieImages.test.ts.snap +7 -0
- package/src/queries/__snapshots__/movieKeywords.test.ts.snap +147 -0
- package/src/queries/__snapshots__/movieRecommendations.test.ts.snap +727 -0
- package/src/queries/__snapshots__/movieReleaseDates.test.ts.snap +755 -0
- package/src/queries/__snapshots__/movieReviews.test.ts.snap +509 -0
- package/src/queries/__snapshots__/movieSimilarMovies.test.ts.snap +693 -0
- package/src/queries/__snapshots__/movieTranslations.test.ts.snap +1079 -0
- package/src/queries/__snapshots__/movieVideos.test.ts.snap +179 -0
- package/src/queries/__snapshots__/movieWatchProviders.test.ts.snap +5321 -0
- package/src/queries/__snapshots__/network.test.ts.snap +12 -0
- package/src/queries/__snapshots__/networkAlternativeNames.test.ts.snap +18 -0
- package/src/queries/__snapshots__/networkLogos.test.ts.snap +16 -0
- package/src/queries/__snapshots__/person.test.ts.snap +35 -0
- package/src/queries/__snapshots__/personCombinedCredits.test.ts.snap +7249 -0
- package/src/queries/__snapshots__/personExternalIds.test.ts.snap +25 -0
- package/src/queries/__snapshots__/personMovieCredits.test.ts.snap +5595 -0
- package/src/queries/__snapshots__/personProfiles.test.ts.snap +155 -0
- package/src/queries/__snapshots__/personTranslations.test.ts.snap +389 -0
- package/src/queries/__snapshots__/personTvCredits.test.ts.snap +1361 -0
- package/src/queries/__snapshots__/rated.test.ts.snap +547 -0
- package/src/queries/__snapshots__/review.test.ts.snap +31 -0
- package/src/queries/__snapshots__/search.test.ts.snap +2479 -0
- package/src/queries/__snapshots__/season.test.ts.snap +4694 -0
- package/src/queries/__snapshots__/seasonCredits.test.ts.snap +692 -0
- package/src/queries/__snapshots__/seasonExternalIds.test.ts.snap +19 -0
- package/src/queries/__snapshots__/seasonPosters.test.ts.snap +5 -0
- package/src/queries/__snapshots__/seasonTranslations.test.ts.snap +1073 -0
- package/src/queries/__snapshots__/seasonVideos.test.ts.snap +395 -0
- package/src/queries/__snapshots__/trending.test.ts.snap +481 -0
- package/src/queries/__snapshots__/tv.test.ts.snap +220 -0
- package/src/queries/__snapshots__/tvAlternativeTitles.test.ts.snap +211 -0
- package/src/queries/__snapshots__/tvContentRatings.test.ts.snap +115 -0
- package/src/queries/__snapshots__/tvCredits.test.ts.snap +809 -0
- package/src/queries/__snapshots__/tvEpisodeGroups.test.ts.snap +39 -0
- package/src/queries/__snapshots__/tvExternalIds.test.ts.snap +27 -0
- package/src/queries/__snapshots__/tvImages.test.ts.snap +7 -0
- package/src/queries/__snapshots__/tvKeywords.test.ts.snap +59 -0
- package/src/queries/__snapshots__/tvRecommendations.test.ts.snap +757 -0
- package/src/queries/__snapshots__/tvReviews.test.ts.snap +562 -0
- package/src/queries/__snapshots__/tvSimilarTvShows.test.ts.snap +759 -0
- package/src/queries/__snapshots__/tvTranslations.test.ts.snap +1267 -0
- package/src/queries/__snapshots__/tvVideos.test.ts.snap +107 -0
- package/src/queries/__snapshots__/tvWatchProviders.test.ts.snap +2817 -0
- package/src/queries/certifications.test.ts +66 -0
- package/src/queries/certifications.ts +29 -0
- package/src/queries/collection.test.ts +47 -0
- package/src/queries/collection.ts +40 -0
- package/src/queries/collectionImages.test.ts +90 -0
- package/src/queries/collectionImages.ts +30 -0
- package/src/queries/collectionTranslations.test.ts +45 -0
- package/src/queries/collectionTranslations.ts +28 -0
- package/src/queries/company.test.ts +45 -0
- package/src/queries/company.ts +40 -0
- package/src/queries/companyAlternativeNames.test.ts +45 -0
- package/src/queries/companyAlternativeNames.ts +29 -0
- package/src/queries/companyLogos.test.ts +45 -0
- package/src/queries/companyLogos.ts +28 -0
- package/src/queries/configuration.test.ts +44 -0
- package/src/queries/configuration.ts +23 -0
- package/src/queries/configurationCountries.test.ts +45 -0
- package/src/queries/configurationCountries.ts +28 -0
- package/src/queries/configurationJobs.test.ts +45 -0
- package/src/queries/configurationJobs.ts +28 -0
- package/src/queries/configurationLanguages.test.ts +45 -0
- package/src/queries/configurationLanguages.ts +28 -0
- package/src/queries/configurationPrimaryTranslations.test.ts +45 -0
- package/src/queries/configurationPrimaryTranslations.ts +29 -0
- package/src/queries/configurationTimezones.test.ts +45 -0
- package/src/queries/configurationTimezones.ts +28 -0
- package/src/queries/credit.test.ts +45 -0
- package/src/queries/credit.ts +26 -0
- package/src/queries/discoverMovies.test.ts +202 -0
- package/src/queries/discoverMovies.ts +65 -0
- package/src/queries/discoverTv.test.ts +142 -0
- package/src/queries/discoverTv.ts +66 -0
- package/src/queries/episode.test.ts +82 -0
- package/src/queries/episode.ts +73 -0
- package/src/queries/episodeCredits.test.ts +134 -0
- package/src/queries/episodeCredits.ts +41 -0
- package/src/queries/episodeExternalIds.test.ts +104 -0
- package/src/queries/episodeExternalIds.ts +40 -0
- package/src/queries/episodeStills.test.ts +96 -0
- package/src/queries/episodeStills.ts +38 -0
- package/src/queries/episodeTranslations.test.ts +96 -0
- package/src/queries/episodeTranslations.ts +38 -0
- package/src/queries/episodeVideos.test.ts +96 -0
- package/src/queries/episodeVideos.ts +38 -0
- package/src/queries/find.test.ts +48 -0
- package/src/queries/find.ts +35 -0
- package/src/queries/genres.test.ts +66 -0
- package/src/queries/genres.ts +29 -0
- package/src/queries/keyword.test.ts +45 -0
- package/src/queries/keyword.ts +28 -0
- package/src/queries/movie.test.ts +81 -0
- package/src/queries/movie.ts +87 -0
- package/src/queries/movieAlternativeTitles.test.ts +95 -0
- package/src/queries/movieAlternativeTitles.ts +37 -0
- package/src/queries/movieCredits.test.ts +118 -0
- package/src/queries/movieCredits.ts +35 -0
- package/src/queries/movieExternalIds.test.ts +95 -0
- package/src/queries/movieExternalIds.ts +35 -0
- package/src/queries/movieImages.test.ts +118 -0
- package/src/queries/movieImages.ts +35 -0
- package/src/queries/movieKeywords.test.ts +95 -0
- package/src/queries/movieKeywords.ts +33 -0
- package/src/queries/movieRecommendations.test.ts +173 -0
- package/src/queries/movieRecommendations.ts +74 -0
- package/src/queries/movieReleaseDates.test.ts +103 -0
- package/src/queries/movieReleaseDates.ts +34 -0
- package/src/queries/movieReviews.test.ts +152 -0
- package/src/queries/movieReviews.ts +74 -0
- package/src/queries/movieSimilarMovies.test.ts +173 -0
- package/src/queries/movieSimilarMovies.ts +74 -0
- package/src/queries/movieTranslations.test.ts +99 -0
- package/src/queries/movieTranslations.ts +33 -0
- package/src/queries/movieVideos.test.ts +95 -0
- package/src/queries/movieVideos.ts +33 -0
- package/src/queries/movieWatchProviders.test.ts +103 -0
- package/src/queries/movieWatchProviders.ts +33 -0
- package/src/queries/network.test.ts +45 -0
- package/src/queries/network.ts +40 -0
- package/src/queries/networkAlternativeNames.test.ts +45 -0
- package/src/queries/networkAlternativeNames.ts +29 -0
- package/src/queries/networkLogos.test.ts +45 -0
- package/src/queries/networkLogos.ts +28 -0
- package/src/queries/person.test.ts +81 -0
- package/src/queries/person.ts +67 -0
- package/src/queries/personCombinedCredits.test.ts +99 -0
- package/src/queries/personCombinedCredits.ts +35 -0
- package/src/queries/personExternalIds.test.ts +99 -0
- package/src/queries/personExternalIds.ts +35 -0
- package/src/queries/personMovieCredits.test.ts +99 -0
- package/src/queries/personMovieCredits.ts +35 -0
- package/src/queries/personProfiles.test.ts +98 -0
- package/src/queries/personProfiles.ts +33 -0
- package/src/queries/personTranslations.test.ts +99 -0
- package/src/queries/personTranslations.ts +33 -0
- package/src/queries/personTvCredits.test.ts +99 -0
- package/src/queries/personTvCredits.ts +35 -0
- package/src/queries/rated.test.ts +170 -0
- package/src/queries/rated.ts +70 -0
- package/src/queries/review.test.ts +45 -0
- package/src/queries/review.ts +40 -0
- package/src/queries/search.test.ts +426 -0
- package/src/queries/search.ts +73 -0
- package/src/queries/season.test.ts +82 -0
- package/src/queries/season.ts +78 -0
- package/src/queries/seasonCredits.test.ts +118 -0
- package/src/queries/seasonCredits.ts +35 -0
- package/src/queries/seasonEpisodeCount.ts +9 -0
- package/src/queries/seasonExternalIds.test.ts +103 -0
- package/src/queries/seasonExternalIds.ts +35 -0
- package/src/queries/seasonPosters.test.ts +94 -0
- package/src/queries/seasonPosters.ts +33 -0
- package/src/queries/seasonTranslations.test.ts +102 -0
- package/src/queries/seasonTranslations.ts +33 -0
- package/src/queries/seasonVideos.test.ts +102 -0
- package/src/queries/seasonVideos.ts +33 -0
- package/src/queries/trending.test.ts +165 -0
- package/src/queries/trending.ts +70 -0
- package/src/queries/tv.test.ts +81 -0
- package/src/queries/tv.ts +98 -0
- package/src/queries/tvAlternativeTitles.test.ts +103 -0
- package/src/queries/tvAlternativeTitles.ts +35 -0
- package/src/queries/tvContentRatings.test.ts +103 -0
- package/src/queries/tvContentRatings.ts +35 -0
- package/src/queries/tvCredits.test.ts +118 -0
- package/src/queries/tvCredits.ts +35 -0
- package/src/queries/tvEpisodeGroups.test.ts +103 -0
- package/src/queries/tvEpisodeGroups.ts +34 -0
- package/src/queries/tvExternalIds.test.ts +103 -0
- package/src/queries/tvExternalIds.ts +35 -0
- package/src/queries/tvImages.test.ts +118 -0
- package/src/queries/tvImages.ts +35 -0
- package/src/queries/tvKeywords.test.ts +103 -0
- package/src/queries/tvKeywords.ts +33 -0
- package/src/queries/tvRecommendations.test.ts +173 -0
- package/src/queries/tvRecommendations.ts +74 -0
- package/src/queries/tvReviews.test.ts +168 -0
- package/src/queries/tvReviews.ts +74 -0
- package/src/queries/tvSimilarTvShows.test.ts +168 -0
- package/src/queries/tvSimilarTvShows.ts +74 -0
- package/src/queries/tvTranslations.test.ts +103 -0
- package/src/queries/tvTranslations.ts +33 -0
- package/src/queries/tvVideos.test.ts +103 -0
- package/src/queries/tvVideos.ts +33 -0
- package/src/queries/tvWatchProviders.test.ts +103 -0
- package/src/queries/tvWatchProviders.ts +33 -0
- package/src/queries/videoType.ts +4 -0
- package/src/types.ts +476 -0
- package/tsconfig.build.json +11 -0
- package/tsconfig.json +18 -0
|
@@ -0,0 +1,759 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`resolveTvSimilarTvShows when raw tv data has similar TV shows should return the correct response 1`] = `
|
|
4
|
+
{
|
|
5
|
+
"edges": [
|
|
6
|
+
{
|
|
7
|
+
"cursor": "Mzg3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
8
|
+
"node": {
|
|
9
|
+
"adult": false,
|
|
10
|
+
"backdrop_path": "/nMJiIufYXzOvqg3WuLu8z6Tmuvw.jpg",
|
|
11
|
+
"first_air_date": "1996-03-16",
|
|
12
|
+
"genre_ids": [
|
|
13
|
+
80,
|
|
14
|
+
9648,
|
|
15
|
+
],
|
|
16
|
+
"id": 3876,
|
|
17
|
+
"name": "Dalziel and Pascoe",
|
|
18
|
+
"origin_country": [
|
|
19
|
+
"GB",
|
|
20
|
+
],
|
|
21
|
+
"original_language": "en",
|
|
22
|
+
"original_name": "Dalziel and Pascoe",
|
|
23
|
+
"overview": "British crime drama based on the "Dalziel and Pascoe" series of books by Reginald Hill, set in the fictional Yorkshire town of Wetherton. The unlikely duo of politically incorrect elephant-in-a-china-shop-copper Detective Superintendent Andrew Dalziel (pronounced Dee-ell) and his more sensitive and university educated sidekick Detective Sargent, later Detective Inspector, Peter Pascoe is always on hand to solve the classic murder mystery, while maintaining a down to earth wit and humour.",
|
|
24
|
+
"popularity": 21.018,
|
|
25
|
+
"poster_path": "/mVpcAmAgCo6CQQNAwMCbmycPvJT.jpg",
|
|
26
|
+
"vote_average": 7.125,
|
|
27
|
+
"vote_count": 8,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"cursor": "NDE3Nzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
32
|
+
"node": {
|
|
33
|
+
"adult": false,
|
|
34
|
+
"backdrop_path": "/iq4BjyVsDxzg24XnjoGP0Xi2Tz5.jpg",
|
|
35
|
+
"first_air_date": "1957-09-21",
|
|
36
|
+
"genre_ids": [
|
|
37
|
+
9648,
|
|
38
|
+
18,
|
|
39
|
+
80,
|
|
40
|
+
],
|
|
41
|
+
"id": 4177,
|
|
42
|
+
"name": "Perry Mason",
|
|
43
|
+
"origin_country": [
|
|
44
|
+
"US",
|
|
45
|
+
],
|
|
46
|
+
"original_language": "en",
|
|
47
|
+
"original_name": "Perry Mason",
|
|
48
|
+
"overview": "The cases of master criminal defense attorney Perry Mason and his staff who handled the most difficult of cases in the aid of the innocent.",
|
|
49
|
+
"popularity": 85.943,
|
|
50
|
+
"poster_path": "/uoQh6JAYUYWVw4P99DV5HgKGNmI.jpg",
|
|
51
|
+
"vote_average": 8.153,
|
|
52
|
+
"vote_count": 75,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"cursor": "MzQzNzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
57
|
+
"node": {
|
|
58
|
+
"adult": false,
|
|
59
|
+
"backdrop_path": null,
|
|
60
|
+
"first_air_date": "1982-08-21",
|
|
61
|
+
"genre_ids": [
|
|
62
|
+
18,
|
|
63
|
+
],
|
|
64
|
+
"id": 3437,
|
|
65
|
+
"name": "Hotel",
|
|
66
|
+
"origin_country": [
|
|
67
|
+
"US",
|
|
68
|
+
],
|
|
69
|
+
"original_language": "en",
|
|
70
|
+
"original_name": "Hotel",
|
|
71
|
+
"overview": "Hotel is an American prime time drama series which aired on ABC from September 21, 1983 to May 5, 1988 in the timeslot following Dynasty.
|
|
72
|
+
|
|
73
|
+
Based on Arthur Hailey's 1965 novel of the same name, the series was produced by Aaron Spelling and set in the elegant and fictitious St. Gregory Hotel in San Francisco. Establishing shots of the hotel were filmed in front of The Fairmont San Francisco atop the Nob Hill neighborhood. Episodes followed the activities of passing guests, as well as the personal and professional lives of the hotel staff.",
|
|
74
|
+
"popularity": 17.622,
|
|
75
|
+
"poster_path": "/y1dduOHvSGWOgX19K9DPbA3oFB5.jpg",
|
|
76
|
+
"vote_average": 6.667,
|
|
77
|
+
"vote_count": 15,
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"cursor": "MzQ3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
82
|
+
"node": {
|
|
83
|
+
"adult": false,
|
|
84
|
+
"backdrop_path": "/lMafjedMJKWaMYV3ohaWjavHeSa.jpg",
|
|
85
|
+
"first_air_date": "1987-01-06",
|
|
86
|
+
"genre_ids": [
|
|
87
|
+
80,
|
|
88
|
+
18,
|
|
89
|
+
9648,
|
|
90
|
+
],
|
|
91
|
+
"id": 3476,
|
|
92
|
+
"name": "Inspector Morse",
|
|
93
|
+
"origin_country": [
|
|
94
|
+
"GB",
|
|
95
|
+
],
|
|
96
|
+
"original_language": "en",
|
|
97
|
+
"original_name": "Inspector Morse",
|
|
98
|
+
"overview": "Inspector Morse is a detective drama based on Colin Dexter's series of Chief Inspector Morse novels. The series starred John Thaw as Chief Inspector Morse and Kevin Whately as Sergeant Lewis, as well as a large cast of notable actors and actresses.",
|
|
99
|
+
"popularity": 21.834,
|
|
100
|
+
"poster_path": "/34M8vNNtYqnrV5ilokWkGbc51Ia.jpg",
|
|
101
|
+
"vote_average": 7.74,
|
|
102
|
+
"vote_count": 77,
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"cursor": "OTE4OjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
107
|
+
"node": {
|
|
108
|
+
"adult": false,
|
|
109
|
+
"backdrop_path": "/62OzZXACdMjIiaYk8e6IOB0xQcl.jpg",
|
|
110
|
+
"first_air_date": "1972-09-17",
|
|
111
|
+
"genre_ids": [
|
|
112
|
+
10768,
|
|
113
|
+
18,
|
|
114
|
+
35,
|
|
115
|
+
],
|
|
116
|
+
"id": 918,
|
|
117
|
+
"name": "M*A*S*H",
|
|
118
|
+
"origin_country": [
|
|
119
|
+
"US",
|
|
120
|
+
],
|
|
121
|
+
"original_language": "en",
|
|
122
|
+
"original_name": "M*A*S*H",
|
|
123
|
+
"overview": "The 4077th Mobile Army Surgical Hospital is stuck in the middle of the Korean war. With little help from the circumstances they find themselves in, they are forced to make their own fun. Fond of practical jokes and revenge, the doctors, nurses, administrators, and soldiers often find ways of making wartime life bearable.",
|
|
124
|
+
"popularity": 27.975,
|
|
125
|
+
"poster_path": "/6rhuM3oMoEWKxAdrm7IyM8oq8cC.jpg",
|
|
126
|
+
"vote_average": 7.9,
|
|
127
|
+
"vote_count": 418,
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
"errors": [],
|
|
132
|
+
"nodes": [
|
|
133
|
+
{
|
|
134
|
+
"adult": false,
|
|
135
|
+
"backdrop_path": "/nMJiIufYXzOvqg3WuLu8z6Tmuvw.jpg",
|
|
136
|
+
"first_air_date": "1996-03-16",
|
|
137
|
+
"genre_ids": [
|
|
138
|
+
80,
|
|
139
|
+
9648,
|
|
140
|
+
],
|
|
141
|
+
"id": 3876,
|
|
142
|
+
"name": "Dalziel and Pascoe",
|
|
143
|
+
"origin_country": [
|
|
144
|
+
"GB",
|
|
145
|
+
],
|
|
146
|
+
"original_language": "en",
|
|
147
|
+
"original_name": "Dalziel and Pascoe",
|
|
148
|
+
"overview": "British crime drama based on the "Dalziel and Pascoe" series of books by Reginald Hill, set in the fictional Yorkshire town of Wetherton. The unlikely duo of politically incorrect elephant-in-a-china-shop-copper Detective Superintendent Andrew Dalziel (pronounced Dee-ell) and his more sensitive and university educated sidekick Detective Sargent, later Detective Inspector, Peter Pascoe is always on hand to solve the classic murder mystery, while maintaining a down to earth wit and humour.",
|
|
149
|
+
"popularity": 21.018,
|
|
150
|
+
"poster_path": "/mVpcAmAgCo6CQQNAwMCbmycPvJT.jpg",
|
|
151
|
+
"vote_average": 7.125,
|
|
152
|
+
"vote_count": 8,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"adult": false,
|
|
156
|
+
"backdrop_path": "/iq4BjyVsDxzg24XnjoGP0Xi2Tz5.jpg",
|
|
157
|
+
"first_air_date": "1957-09-21",
|
|
158
|
+
"genre_ids": [
|
|
159
|
+
9648,
|
|
160
|
+
18,
|
|
161
|
+
80,
|
|
162
|
+
],
|
|
163
|
+
"id": 4177,
|
|
164
|
+
"name": "Perry Mason",
|
|
165
|
+
"origin_country": [
|
|
166
|
+
"US",
|
|
167
|
+
],
|
|
168
|
+
"original_language": "en",
|
|
169
|
+
"original_name": "Perry Mason",
|
|
170
|
+
"overview": "The cases of master criminal defense attorney Perry Mason and his staff who handled the most difficult of cases in the aid of the innocent.",
|
|
171
|
+
"popularity": 85.943,
|
|
172
|
+
"poster_path": "/uoQh6JAYUYWVw4P99DV5HgKGNmI.jpg",
|
|
173
|
+
"vote_average": 8.153,
|
|
174
|
+
"vote_count": 75,
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"adult": false,
|
|
178
|
+
"backdrop_path": null,
|
|
179
|
+
"first_air_date": "1982-08-21",
|
|
180
|
+
"genre_ids": [
|
|
181
|
+
18,
|
|
182
|
+
],
|
|
183
|
+
"id": 3437,
|
|
184
|
+
"name": "Hotel",
|
|
185
|
+
"origin_country": [
|
|
186
|
+
"US",
|
|
187
|
+
],
|
|
188
|
+
"original_language": "en",
|
|
189
|
+
"original_name": "Hotel",
|
|
190
|
+
"overview": "Hotel is an American prime time drama series which aired on ABC from September 21, 1983 to May 5, 1988 in the timeslot following Dynasty.
|
|
191
|
+
|
|
192
|
+
Based on Arthur Hailey's 1965 novel of the same name, the series was produced by Aaron Spelling and set in the elegant and fictitious St. Gregory Hotel in San Francisco. Establishing shots of the hotel were filmed in front of The Fairmont San Francisco atop the Nob Hill neighborhood. Episodes followed the activities of passing guests, as well as the personal and professional lives of the hotel staff.",
|
|
193
|
+
"popularity": 17.622,
|
|
194
|
+
"poster_path": "/y1dduOHvSGWOgX19K9DPbA3oFB5.jpg",
|
|
195
|
+
"vote_average": 6.667,
|
|
196
|
+
"vote_count": 15,
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"adult": false,
|
|
200
|
+
"backdrop_path": "/lMafjedMJKWaMYV3ohaWjavHeSa.jpg",
|
|
201
|
+
"first_air_date": "1987-01-06",
|
|
202
|
+
"genre_ids": [
|
|
203
|
+
80,
|
|
204
|
+
18,
|
|
205
|
+
9648,
|
|
206
|
+
],
|
|
207
|
+
"id": 3476,
|
|
208
|
+
"name": "Inspector Morse",
|
|
209
|
+
"origin_country": [
|
|
210
|
+
"GB",
|
|
211
|
+
],
|
|
212
|
+
"original_language": "en",
|
|
213
|
+
"original_name": "Inspector Morse",
|
|
214
|
+
"overview": "Inspector Morse is a detective drama based on Colin Dexter's series of Chief Inspector Morse novels. The series starred John Thaw as Chief Inspector Morse and Kevin Whately as Sergeant Lewis, as well as a large cast of notable actors and actresses.",
|
|
215
|
+
"popularity": 21.834,
|
|
216
|
+
"poster_path": "/34M8vNNtYqnrV5ilokWkGbc51Ia.jpg",
|
|
217
|
+
"vote_average": 7.74,
|
|
218
|
+
"vote_count": 77,
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"adult": false,
|
|
222
|
+
"backdrop_path": "/62OzZXACdMjIiaYk8e6IOB0xQcl.jpg",
|
|
223
|
+
"first_air_date": "1972-09-17",
|
|
224
|
+
"genre_ids": [
|
|
225
|
+
10768,
|
|
226
|
+
18,
|
|
227
|
+
35,
|
|
228
|
+
],
|
|
229
|
+
"id": 918,
|
|
230
|
+
"name": "M*A*S*H",
|
|
231
|
+
"origin_country": [
|
|
232
|
+
"US",
|
|
233
|
+
],
|
|
234
|
+
"original_language": "en",
|
|
235
|
+
"original_name": "M*A*S*H",
|
|
236
|
+
"overview": "The 4077th Mobile Army Surgical Hospital is stuck in the middle of the Korean war. With little help from the circumstances they find themselves in, they are forced to make their own fun. Fond of practical jokes and revenge, the doctors, nurses, administrators, and soldiers often find ways of making wartime life bearable.",
|
|
237
|
+
"popularity": 27.975,
|
|
238
|
+
"poster_path": "/6rhuM3oMoEWKxAdrm7IyM8oq8cC.jpg",
|
|
239
|
+
"vote_average": 7.9,
|
|
240
|
+
"vote_count": 418,
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
"pageInfo": {
|
|
244
|
+
"endCursor": "OTE4OjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
245
|
+
"hasNextPage": true,
|
|
246
|
+
"hasPreviousPage": false,
|
|
247
|
+
"startCursor": "Mzg3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
248
|
+
},
|
|
249
|
+
"totalCount": 10000,
|
|
250
|
+
}
|
|
251
|
+
`;
|
|
252
|
+
|
|
253
|
+
exports[`resolveTvSimilarTvShows when the first 5 are requested should return the correct response 1`] = `
|
|
254
|
+
{
|
|
255
|
+
"edges": [
|
|
256
|
+
{
|
|
257
|
+
"cursor": "Mzg3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
258
|
+
"node": {
|
|
259
|
+
"adult": false,
|
|
260
|
+
"backdrop_path": "/nMJiIufYXzOvqg3WuLu8z6Tmuvw.jpg",
|
|
261
|
+
"first_air_date": "1996-03-16",
|
|
262
|
+
"genre_ids": [
|
|
263
|
+
80,
|
|
264
|
+
9648,
|
|
265
|
+
],
|
|
266
|
+
"id": 3876,
|
|
267
|
+
"name": "Dalziel and Pascoe",
|
|
268
|
+
"origin_country": [
|
|
269
|
+
"GB",
|
|
270
|
+
],
|
|
271
|
+
"original_language": "en",
|
|
272
|
+
"original_name": "Dalziel and Pascoe",
|
|
273
|
+
"overview": "British crime drama based on the "Dalziel and Pascoe" series of books by Reginald Hill, set in the fictional Yorkshire town of Wetherton. The unlikely duo of politically incorrect elephant-in-a-china-shop-copper Detective Superintendent Andrew Dalziel (pronounced Dee-ell) and his more sensitive and university educated sidekick Detective Sargent, later Detective Inspector, Peter Pascoe is always on hand to solve the classic murder mystery, while maintaining a down to earth wit and humour.",
|
|
274
|
+
"popularity": 21.018,
|
|
275
|
+
"poster_path": "/mVpcAmAgCo6CQQNAwMCbmycPvJT.jpg",
|
|
276
|
+
"vote_average": 7.125,
|
|
277
|
+
"vote_count": 8,
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"cursor": "NDE3Nzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
282
|
+
"node": {
|
|
283
|
+
"adult": false,
|
|
284
|
+
"backdrop_path": "/iq4BjyVsDxzg24XnjoGP0Xi2Tz5.jpg",
|
|
285
|
+
"first_air_date": "1957-09-21",
|
|
286
|
+
"genre_ids": [
|
|
287
|
+
9648,
|
|
288
|
+
18,
|
|
289
|
+
80,
|
|
290
|
+
],
|
|
291
|
+
"id": 4177,
|
|
292
|
+
"name": "Perry Mason",
|
|
293
|
+
"origin_country": [
|
|
294
|
+
"US",
|
|
295
|
+
],
|
|
296
|
+
"original_language": "en",
|
|
297
|
+
"original_name": "Perry Mason",
|
|
298
|
+
"overview": "The cases of master criminal defense attorney Perry Mason and his staff who handled the most difficult of cases in the aid of the innocent.",
|
|
299
|
+
"popularity": 85.943,
|
|
300
|
+
"poster_path": "/uoQh6JAYUYWVw4P99DV5HgKGNmI.jpg",
|
|
301
|
+
"vote_average": 8.153,
|
|
302
|
+
"vote_count": 75,
|
|
303
|
+
},
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"cursor": "MzQzNzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
307
|
+
"node": {
|
|
308
|
+
"adult": false,
|
|
309
|
+
"backdrop_path": null,
|
|
310
|
+
"first_air_date": "1982-08-21",
|
|
311
|
+
"genre_ids": [
|
|
312
|
+
18,
|
|
313
|
+
],
|
|
314
|
+
"id": 3437,
|
|
315
|
+
"name": "Hotel",
|
|
316
|
+
"origin_country": [
|
|
317
|
+
"US",
|
|
318
|
+
],
|
|
319
|
+
"original_language": "en",
|
|
320
|
+
"original_name": "Hotel",
|
|
321
|
+
"overview": "Hotel is an American prime time drama series which aired on ABC from September 21, 1983 to May 5, 1988 in the timeslot following Dynasty.
|
|
322
|
+
|
|
323
|
+
Based on Arthur Hailey's 1965 novel of the same name, the series was produced by Aaron Spelling and set in the elegant and fictitious St. Gregory Hotel in San Francisco. Establishing shots of the hotel were filmed in front of The Fairmont San Francisco atop the Nob Hill neighborhood. Episodes followed the activities of passing guests, as well as the personal and professional lives of the hotel staff.",
|
|
324
|
+
"popularity": 17.622,
|
|
325
|
+
"poster_path": "/y1dduOHvSGWOgX19K9DPbA3oFB5.jpg",
|
|
326
|
+
"vote_average": 6.667,
|
|
327
|
+
"vote_count": 15,
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"cursor": "MzQ3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
332
|
+
"node": {
|
|
333
|
+
"adult": false,
|
|
334
|
+
"backdrop_path": "/lMafjedMJKWaMYV3ohaWjavHeSa.jpg",
|
|
335
|
+
"first_air_date": "1987-01-06",
|
|
336
|
+
"genre_ids": [
|
|
337
|
+
80,
|
|
338
|
+
18,
|
|
339
|
+
9648,
|
|
340
|
+
],
|
|
341
|
+
"id": 3476,
|
|
342
|
+
"name": "Inspector Morse",
|
|
343
|
+
"origin_country": [
|
|
344
|
+
"GB",
|
|
345
|
+
],
|
|
346
|
+
"original_language": "en",
|
|
347
|
+
"original_name": "Inspector Morse",
|
|
348
|
+
"overview": "Inspector Morse is a detective drama based on Colin Dexter's series of Chief Inspector Morse novels. The series starred John Thaw as Chief Inspector Morse and Kevin Whately as Sergeant Lewis, as well as a large cast of notable actors and actresses.",
|
|
349
|
+
"popularity": 21.834,
|
|
350
|
+
"poster_path": "/34M8vNNtYqnrV5ilokWkGbc51Ia.jpg",
|
|
351
|
+
"vote_average": 7.74,
|
|
352
|
+
"vote_count": 77,
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"cursor": "OTE4OjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
357
|
+
"node": {
|
|
358
|
+
"adult": false,
|
|
359
|
+
"backdrop_path": "/62OzZXACdMjIiaYk8e6IOB0xQcl.jpg",
|
|
360
|
+
"first_air_date": "1972-09-17",
|
|
361
|
+
"genre_ids": [
|
|
362
|
+
10768,
|
|
363
|
+
18,
|
|
364
|
+
35,
|
|
365
|
+
],
|
|
366
|
+
"id": 918,
|
|
367
|
+
"name": "M*A*S*H",
|
|
368
|
+
"origin_country": [
|
|
369
|
+
"US",
|
|
370
|
+
],
|
|
371
|
+
"original_language": "en",
|
|
372
|
+
"original_name": "M*A*S*H",
|
|
373
|
+
"overview": "The 4077th Mobile Army Surgical Hospital is stuck in the middle of the Korean war. With little help from the circumstances they find themselves in, they are forced to make their own fun. Fond of practical jokes and revenge, the doctors, nurses, administrators, and soldiers often find ways of making wartime life bearable.",
|
|
374
|
+
"popularity": 27.975,
|
|
375
|
+
"poster_path": "/6rhuM3oMoEWKxAdrm7IyM8oq8cC.jpg",
|
|
376
|
+
"vote_average": 7.9,
|
|
377
|
+
"vote_count": 418,
|
|
378
|
+
},
|
|
379
|
+
},
|
|
380
|
+
],
|
|
381
|
+
"errors": [],
|
|
382
|
+
"nodes": [
|
|
383
|
+
{
|
|
384
|
+
"adult": false,
|
|
385
|
+
"backdrop_path": "/nMJiIufYXzOvqg3WuLu8z6Tmuvw.jpg",
|
|
386
|
+
"first_air_date": "1996-03-16",
|
|
387
|
+
"genre_ids": [
|
|
388
|
+
80,
|
|
389
|
+
9648,
|
|
390
|
+
],
|
|
391
|
+
"id": 3876,
|
|
392
|
+
"name": "Dalziel and Pascoe",
|
|
393
|
+
"origin_country": [
|
|
394
|
+
"GB",
|
|
395
|
+
],
|
|
396
|
+
"original_language": "en",
|
|
397
|
+
"original_name": "Dalziel and Pascoe",
|
|
398
|
+
"overview": "British crime drama based on the "Dalziel and Pascoe" series of books by Reginald Hill, set in the fictional Yorkshire town of Wetherton. The unlikely duo of politically incorrect elephant-in-a-china-shop-copper Detective Superintendent Andrew Dalziel (pronounced Dee-ell) and his more sensitive and university educated sidekick Detective Sargent, later Detective Inspector, Peter Pascoe is always on hand to solve the classic murder mystery, while maintaining a down to earth wit and humour.",
|
|
399
|
+
"popularity": 21.018,
|
|
400
|
+
"poster_path": "/mVpcAmAgCo6CQQNAwMCbmycPvJT.jpg",
|
|
401
|
+
"vote_average": 7.125,
|
|
402
|
+
"vote_count": 8,
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"adult": false,
|
|
406
|
+
"backdrop_path": "/iq4BjyVsDxzg24XnjoGP0Xi2Tz5.jpg",
|
|
407
|
+
"first_air_date": "1957-09-21",
|
|
408
|
+
"genre_ids": [
|
|
409
|
+
9648,
|
|
410
|
+
18,
|
|
411
|
+
80,
|
|
412
|
+
],
|
|
413
|
+
"id": 4177,
|
|
414
|
+
"name": "Perry Mason",
|
|
415
|
+
"origin_country": [
|
|
416
|
+
"US",
|
|
417
|
+
],
|
|
418
|
+
"original_language": "en",
|
|
419
|
+
"original_name": "Perry Mason",
|
|
420
|
+
"overview": "The cases of master criminal defense attorney Perry Mason and his staff who handled the most difficult of cases in the aid of the innocent.",
|
|
421
|
+
"popularity": 85.943,
|
|
422
|
+
"poster_path": "/uoQh6JAYUYWVw4P99DV5HgKGNmI.jpg",
|
|
423
|
+
"vote_average": 8.153,
|
|
424
|
+
"vote_count": 75,
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"adult": false,
|
|
428
|
+
"backdrop_path": null,
|
|
429
|
+
"first_air_date": "1982-08-21",
|
|
430
|
+
"genre_ids": [
|
|
431
|
+
18,
|
|
432
|
+
],
|
|
433
|
+
"id": 3437,
|
|
434
|
+
"name": "Hotel",
|
|
435
|
+
"origin_country": [
|
|
436
|
+
"US",
|
|
437
|
+
],
|
|
438
|
+
"original_language": "en",
|
|
439
|
+
"original_name": "Hotel",
|
|
440
|
+
"overview": "Hotel is an American prime time drama series which aired on ABC from September 21, 1983 to May 5, 1988 in the timeslot following Dynasty.
|
|
441
|
+
|
|
442
|
+
Based on Arthur Hailey's 1965 novel of the same name, the series was produced by Aaron Spelling and set in the elegant and fictitious St. Gregory Hotel in San Francisco. Establishing shots of the hotel were filmed in front of The Fairmont San Francisco atop the Nob Hill neighborhood. Episodes followed the activities of passing guests, as well as the personal and professional lives of the hotel staff.",
|
|
443
|
+
"popularity": 17.622,
|
|
444
|
+
"poster_path": "/y1dduOHvSGWOgX19K9DPbA3oFB5.jpg",
|
|
445
|
+
"vote_average": 6.667,
|
|
446
|
+
"vote_count": 15,
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"adult": false,
|
|
450
|
+
"backdrop_path": "/lMafjedMJKWaMYV3ohaWjavHeSa.jpg",
|
|
451
|
+
"first_air_date": "1987-01-06",
|
|
452
|
+
"genre_ids": [
|
|
453
|
+
80,
|
|
454
|
+
18,
|
|
455
|
+
9648,
|
|
456
|
+
],
|
|
457
|
+
"id": 3476,
|
|
458
|
+
"name": "Inspector Morse",
|
|
459
|
+
"origin_country": [
|
|
460
|
+
"GB",
|
|
461
|
+
],
|
|
462
|
+
"original_language": "en",
|
|
463
|
+
"original_name": "Inspector Morse",
|
|
464
|
+
"overview": "Inspector Morse is a detective drama based on Colin Dexter's series of Chief Inspector Morse novels. The series starred John Thaw as Chief Inspector Morse and Kevin Whately as Sergeant Lewis, as well as a large cast of notable actors and actresses.",
|
|
465
|
+
"popularity": 21.834,
|
|
466
|
+
"poster_path": "/34M8vNNtYqnrV5ilokWkGbc51Ia.jpg",
|
|
467
|
+
"vote_average": 7.74,
|
|
468
|
+
"vote_count": 77,
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"adult": false,
|
|
472
|
+
"backdrop_path": "/62OzZXACdMjIiaYk8e6IOB0xQcl.jpg",
|
|
473
|
+
"first_air_date": "1972-09-17",
|
|
474
|
+
"genre_ids": [
|
|
475
|
+
10768,
|
|
476
|
+
18,
|
|
477
|
+
35,
|
|
478
|
+
],
|
|
479
|
+
"id": 918,
|
|
480
|
+
"name": "M*A*S*H",
|
|
481
|
+
"origin_country": [
|
|
482
|
+
"US",
|
|
483
|
+
],
|
|
484
|
+
"original_language": "en",
|
|
485
|
+
"original_name": "M*A*S*H",
|
|
486
|
+
"overview": "The 4077th Mobile Army Surgical Hospital is stuck in the middle of the Korean war. With little help from the circumstances they find themselves in, they are forced to make their own fun. Fond of practical jokes and revenge, the doctors, nurses, administrators, and soldiers often find ways of making wartime life bearable.",
|
|
487
|
+
"popularity": 27.975,
|
|
488
|
+
"poster_path": "/6rhuM3oMoEWKxAdrm7IyM8oq8cC.jpg",
|
|
489
|
+
"vote_average": 7.9,
|
|
490
|
+
"vote_count": 418,
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
"pageInfo": {
|
|
494
|
+
"endCursor": "OTE4OjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
495
|
+
"hasNextPage": true,
|
|
496
|
+
"hasPreviousPage": false,
|
|
497
|
+
"startCursor": "Mzg3Njo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
498
|
+
},
|
|
499
|
+
"totalCount": 10000,
|
|
500
|
+
}
|
|
501
|
+
`;
|
|
502
|
+
|
|
503
|
+
exports[`resolveTvSimilarTvShows when the second 5 are requested should return the correct response 1`] = `
|
|
504
|
+
{
|
|
505
|
+
"edges": [
|
|
506
|
+
{
|
|
507
|
+
"cursor": "NzkwOjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
508
|
+
"node": {
|
|
509
|
+
"adult": false,
|
|
510
|
+
"backdrop_path": "/fMew5NO1EM70MUd0yHxRTWVWynK.jpg",
|
|
511
|
+
"first_air_date": "1989-01-08",
|
|
512
|
+
"genre_ids": [
|
|
513
|
+
80,
|
|
514
|
+
18,
|
|
515
|
+
9648,
|
|
516
|
+
],
|
|
517
|
+
"id": 790,
|
|
518
|
+
"name": "Agatha Christie's Poirot",
|
|
519
|
+
"origin_country": [
|
|
520
|
+
"GB",
|
|
521
|
+
],
|
|
522
|
+
"original_language": "en",
|
|
523
|
+
"original_name": "Agatha Christie's Poirot",
|
|
524
|
+
"overview": "From England to Egypt, accompanied by his elegant and trustworthy sidekicks, the intelligent yet eccentrically-refined Belgian detective Hercule Poirot pits his wits against a collection of first class deceptions.",
|
|
525
|
+
"popularity": 51.835,
|
|
526
|
+
"poster_path": "/owEg4UjJCo60tPFckAZ4CPmR0Ra.jpg",
|
|
527
|
+
"vote_average": 8.11,
|
|
528
|
+
"vote_count": 281,
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"cursor": "Nzk5OjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
533
|
+
"node": {
|
|
534
|
+
"adult": false,
|
|
535
|
+
"backdrop_path": "/fnArp9iDW0mM5Hu6JbIUlVuHRGj.jpg",
|
|
536
|
+
"first_air_date": "1984-04-24",
|
|
537
|
+
"genre_ids": [
|
|
538
|
+
80,
|
|
539
|
+
18,
|
|
540
|
+
9648,
|
|
541
|
+
],
|
|
542
|
+
"id": 799,
|
|
543
|
+
"name": "Sherlock Holmes",
|
|
544
|
+
"origin_country": [
|
|
545
|
+
"GB",
|
|
546
|
+
],
|
|
547
|
+
"original_language": "en",
|
|
548
|
+
"original_name": "Sherlock Holmes",
|
|
549
|
+
"overview": "Sherlock Holmes uses his abilities to take on cases by private clients and those that the Scotland Yard are unable to solve, along with his friend Dr. Watson.",
|
|
550
|
+
"popularity": 27.522,
|
|
551
|
+
"poster_path": "/beVL3rvvATNQLVVnWrWa3rXXWd3.jpg",
|
|
552
|
+
"vote_average": 8.102,
|
|
553
|
+
"vote_count": 152,
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"cursor": "MjQ3NDo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
558
|
+
"node": {
|
|
559
|
+
"adult": false,
|
|
560
|
+
"backdrop_path": "/wPT3xuLb4OM5IKCAiHiMblxiqX.jpg",
|
|
561
|
+
"first_air_date": "1992-12-06",
|
|
562
|
+
"genre_ids": [
|
|
563
|
+
80,
|
|
564
|
+
18,
|
|
565
|
+
9648,
|
|
566
|
+
],
|
|
567
|
+
"id": 2474,
|
|
568
|
+
"name": "A Touch of Frost",
|
|
569
|
+
"origin_country": [
|
|
570
|
+
"GB",
|
|
571
|
+
],
|
|
572
|
+
"original_language": "en",
|
|
573
|
+
"original_name": "A Touch of Frost",
|
|
574
|
+
"overview": "A Touch of Frost is a detective drama series produced by Yorkshire Television for ITV from 1992 until 2010, initially based on the Frost novels by R.D. Wingfield. Writing credit for the three episodes in the first 1992 series went to Richard Harris, with screenplays credited to Wingfield.
|
|
575
|
+
|
|
576
|
+
It stars David Jason as Detective Inspector William Edward "Jack" Frost, an experienced and dedicated detective who frequently clashes with his superiors. In his cases, Frost is assisted by a variety of different detective sergeants, with each bringing a different slant to the particular case. Comic relief is provided by Frost's interactions with the bureaucratically minded Superintendent Norman Mullett, played by Bruce Alexander.
|
|
577
|
+
|
|
578
|
+
A number of young actors had their major debut as supporting cast in the show, including Matt Bardock, Ben Daniels, Neil Stuke, Nathaniel Parker, Mark Letheren, Colin Buchanan, Jason Maza, Damian Lewis and Marc Warren.",
|
|
579
|
+
"popularity": 14.926,
|
|
580
|
+
"poster_path": "/yCfRqupFsFELaLyZZaPSmJdsYMS.jpg",
|
|
581
|
+
"vote_average": 7.4,
|
|
582
|
+
"vote_count": 37,
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"cursor": "NDYyNDo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
587
|
+
"node": {
|
|
588
|
+
"adult": false,
|
|
589
|
+
"backdrop_path": "/rYD3shaYSp2MQUe2utLTTJpki0r.jpg",
|
|
590
|
+
"first_air_date": "1999-10-06",
|
|
591
|
+
"genre_ids": [
|
|
592
|
+
10765,
|
|
593
|
+
18,
|
|
594
|
+
],
|
|
595
|
+
"id": 4624,
|
|
596
|
+
"name": "Roswell",
|
|
597
|
+
"origin_country": [
|
|
598
|
+
"US",
|
|
599
|
+
],
|
|
600
|
+
"original_language": "en",
|
|
601
|
+
"original_name": "Roswell",
|
|
602
|
+
"overview": "Bizarre things start happening in the little New Mexico town where UFOs were spotted in 1947. Cut to 1999, when a cute high-school student saves the life of a teenage waitress. Surrounded by cliques of clever, angst-filled classmates, the two form a bond that threatens the survival of a secret universe involving superhuman powers, a yen for hot sauce and an alien gene pool.",
|
|
603
|
+
"popularity": 22.892,
|
|
604
|
+
"poster_path": "/k1fHjj1TGPdP4tQfNlU74ibOmT4.jpg",
|
|
605
|
+
"vote_average": 7.831,
|
|
606
|
+
"vote_count": 311,
|
|
607
|
+
},
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"cursor": "NjEyNzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
611
|
+
"node": {
|
|
612
|
+
"adult": false,
|
|
613
|
+
"backdrop_path": "/1lBEfsnzUkxtxzvFwimENpM6bEP.jpg",
|
|
614
|
+
"first_air_date": "2004-12-12",
|
|
615
|
+
"genre_ids": [
|
|
616
|
+
18,
|
|
617
|
+
80,
|
|
618
|
+
9648,
|
|
619
|
+
],
|
|
620
|
+
"id": 6127,
|
|
621
|
+
"name": "Agatha Christie's Marple",
|
|
622
|
+
"origin_country": [
|
|
623
|
+
"GB",
|
|
624
|
+
],
|
|
625
|
+
"original_language": "en",
|
|
626
|
+
"original_name": "Agatha Christie's Marple",
|
|
627
|
+
"overview": "The adventures of Miss Jane Marple, an elderly spinster living in the quiet little village of St Mary Mead. During her many visits to friends and relatives in other villages, Miss Marple often stumbles upon mysterious murders which she helps solve. Although the police are sometimes reluctant to accept Miss Marple's help, her reputation and unparalleled powers of observation eventually win them over.",
|
|
628
|
+
"popularity": 33.484,
|
|
629
|
+
"poster_path": "/zSgGSDfkPlrKqjdKwMjGIx3uvYU.jpg",
|
|
630
|
+
"vote_average": 7.8,
|
|
631
|
+
"vote_count": 55,
|
|
632
|
+
},
|
|
633
|
+
},
|
|
634
|
+
],
|
|
635
|
+
"errors": [],
|
|
636
|
+
"nodes": [
|
|
637
|
+
{
|
|
638
|
+
"adult": false,
|
|
639
|
+
"backdrop_path": "/fMew5NO1EM70MUd0yHxRTWVWynK.jpg",
|
|
640
|
+
"first_air_date": "1989-01-08",
|
|
641
|
+
"genre_ids": [
|
|
642
|
+
80,
|
|
643
|
+
18,
|
|
644
|
+
9648,
|
|
645
|
+
],
|
|
646
|
+
"id": 790,
|
|
647
|
+
"name": "Agatha Christie's Poirot",
|
|
648
|
+
"origin_country": [
|
|
649
|
+
"GB",
|
|
650
|
+
],
|
|
651
|
+
"original_language": "en",
|
|
652
|
+
"original_name": "Agatha Christie's Poirot",
|
|
653
|
+
"overview": "From England to Egypt, accompanied by his elegant and trustworthy sidekicks, the intelligent yet eccentrically-refined Belgian detective Hercule Poirot pits his wits against a collection of first class deceptions.",
|
|
654
|
+
"popularity": 51.835,
|
|
655
|
+
"poster_path": "/owEg4UjJCo60tPFckAZ4CPmR0Ra.jpg",
|
|
656
|
+
"vote_average": 8.11,
|
|
657
|
+
"vote_count": 281,
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"adult": false,
|
|
661
|
+
"backdrop_path": "/fnArp9iDW0mM5Hu6JbIUlVuHRGj.jpg",
|
|
662
|
+
"first_air_date": "1984-04-24",
|
|
663
|
+
"genre_ids": [
|
|
664
|
+
80,
|
|
665
|
+
18,
|
|
666
|
+
9648,
|
|
667
|
+
],
|
|
668
|
+
"id": 799,
|
|
669
|
+
"name": "Sherlock Holmes",
|
|
670
|
+
"origin_country": [
|
|
671
|
+
"GB",
|
|
672
|
+
],
|
|
673
|
+
"original_language": "en",
|
|
674
|
+
"original_name": "Sherlock Holmes",
|
|
675
|
+
"overview": "Sherlock Holmes uses his abilities to take on cases by private clients and those that the Scotland Yard are unable to solve, along with his friend Dr. Watson.",
|
|
676
|
+
"popularity": 27.522,
|
|
677
|
+
"poster_path": "/beVL3rvvATNQLVVnWrWa3rXXWd3.jpg",
|
|
678
|
+
"vote_average": 8.102,
|
|
679
|
+
"vote_count": 152,
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"adult": false,
|
|
683
|
+
"backdrop_path": "/wPT3xuLb4OM5IKCAiHiMblxiqX.jpg",
|
|
684
|
+
"first_air_date": "1992-12-06",
|
|
685
|
+
"genre_ids": [
|
|
686
|
+
80,
|
|
687
|
+
18,
|
|
688
|
+
9648,
|
|
689
|
+
],
|
|
690
|
+
"id": 2474,
|
|
691
|
+
"name": "A Touch of Frost",
|
|
692
|
+
"origin_country": [
|
|
693
|
+
"GB",
|
|
694
|
+
],
|
|
695
|
+
"original_language": "en",
|
|
696
|
+
"original_name": "A Touch of Frost",
|
|
697
|
+
"overview": "A Touch of Frost is a detective drama series produced by Yorkshire Television for ITV from 1992 until 2010, initially based on the Frost novels by R.D. Wingfield. Writing credit for the three episodes in the first 1992 series went to Richard Harris, with screenplays credited to Wingfield.
|
|
698
|
+
|
|
699
|
+
It stars David Jason as Detective Inspector William Edward "Jack" Frost, an experienced and dedicated detective who frequently clashes with his superiors. In his cases, Frost is assisted by a variety of different detective sergeants, with each bringing a different slant to the particular case. Comic relief is provided by Frost's interactions with the bureaucratically minded Superintendent Norman Mullett, played by Bruce Alexander.
|
|
700
|
+
|
|
701
|
+
A number of young actors had their major debut as supporting cast in the show, including Matt Bardock, Ben Daniels, Neil Stuke, Nathaniel Parker, Mark Letheren, Colin Buchanan, Jason Maza, Damian Lewis and Marc Warren.",
|
|
702
|
+
"popularity": 14.926,
|
|
703
|
+
"poster_path": "/yCfRqupFsFELaLyZZaPSmJdsYMS.jpg",
|
|
704
|
+
"vote_average": 7.4,
|
|
705
|
+
"vote_count": 37,
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"adult": false,
|
|
709
|
+
"backdrop_path": "/rYD3shaYSp2MQUe2utLTTJpki0r.jpg",
|
|
710
|
+
"first_air_date": "1999-10-06",
|
|
711
|
+
"genre_ids": [
|
|
712
|
+
10765,
|
|
713
|
+
18,
|
|
714
|
+
],
|
|
715
|
+
"id": 4624,
|
|
716
|
+
"name": "Roswell",
|
|
717
|
+
"origin_country": [
|
|
718
|
+
"US",
|
|
719
|
+
],
|
|
720
|
+
"original_language": "en",
|
|
721
|
+
"original_name": "Roswell",
|
|
722
|
+
"overview": "Bizarre things start happening in the little New Mexico town where UFOs were spotted in 1947. Cut to 1999, when a cute high-school student saves the life of a teenage waitress. Surrounded by cliques of clever, angst-filled classmates, the two form a bond that threatens the survival of a secret universe involving superhuman powers, a yen for hot sauce and an alien gene pool.",
|
|
723
|
+
"popularity": 22.892,
|
|
724
|
+
"poster_path": "/k1fHjj1TGPdP4tQfNlU74ibOmT4.jpg",
|
|
725
|
+
"vote_average": 7.831,
|
|
726
|
+
"vote_count": 311,
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"adult": false,
|
|
730
|
+
"backdrop_path": "/1lBEfsnzUkxtxzvFwimENpM6bEP.jpg",
|
|
731
|
+
"first_air_date": "2004-12-12",
|
|
732
|
+
"genre_ids": [
|
|
733
|
+
18,
|
|
734
|
+
80,
|
|
735
|
+
9648,
|
|
736
|
+
],
|
|
737
|
+
"id": 6127,
|
|
738
|
+
"name": "Agatha Christie's Marple",
|
|
739
|
+
"origin_country": [
|
|
740
|
+
"GB",
|
|
741
|
+
],
|
|
742
|
+
"original_language": "en",
|
|
743
|
+
"original_name": "Agatha Christie's Marple",
|
|
744
|
+
"overview": "The adventures of Miss Jane Marple, an elderly spinster living in the quiet little village of St Mary Mead. During her many visits to friends and relatives in other villages, Miss Marple often stumbles upon mysterious murders which she helps solve. Although the police are sometimes reluctant to accept Miss Marple's help, her reputation and unparalleled powers of observation eventually win them over.",
|
|
745
|
+
"popularity": 33.484,
|
|
746
|
+
"poster_path": "/zSgGSDfkPlrKqjdKwMjGIx3uvYU.jpg",
|
|
747
|
+
"vote_average": 7.8,
|
|
748
|
+
"vote_count": 55,
|
|
749
|
+
},
|
|
750
|
+
],
|
|
751
|
+
"pageInfo": {
|
|
752
|
+
"endCursor": "NjEyNzo6MTM5OTo6dHY6OnNpbWlsYXI=",
|
|
753
|
+
"hasNextPage": true,
|
|
754
|
+
"hasPreviousPage": true,
|
|
755
|
+
"startCursor": "NzkwOjoxMzk5Ojp0djo6c2ltaWxhcg==",
|
|
756
|
+
},
|
|
757
|
+
"totalCount": 10000,
|
|
758
|
+
}
|
|
759
|
+
`;
|