@saeris/tmdbkit 0.0.0-stage → 0.1.0
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/CHANGELOG.md +7 -0
- package/LICENSE.md +21 -0
- package/README.md +389 -2
- package/dist/certification/getMovieCertifications.d.mts +9 -0
- package/dist/certification/getMovieCertifications.d.mts.map +1 -0
- package/dist/certification/getMovieCertifications.mjs +11 -0
- package/dist/certification/getMovieCertifications.mjs.map +1 -0
- package/dist/certification/getTvCertifications.d.mts +9 -0
- package/dist/certification/getTvCertifications.d.mts.map +1 -0
- package/dist/certification/getTvCertifications.mjs +11 -0
- package/dist/certification/getTvCertifications.mjs.map +1 -0
- package/dist/certification/index.d.mts +5 -0
- package/dist/certification/index.mjs +4 -0
- package/dist/certification/types/Certifications.d.mts +23 -0
- package/dist/certification/types/Certifications.d.mts.map +1 -0
- package/dist/certification/types/Certifications.mjs +24 -0
- package/dist/certification/types/Certifications.mjs.map +1 -0
- package/dist/certification/types/index.d.mts +2 -0
- package/dist/certification/types/index.mjs +1 -0
- package/dist/collection/getCollection.d.mts +37 -0
- package/dist/collection/getCollection.d.mts.map +1 -0
- package/dist/collection/getCollection.mjs +17 -0
- package/dist/collection/getCollection.mjs.map +1 -0
- package/dist/collection/getCollectionImages.d.mts +45 -0
- package/dist/collection/getCollectionImages.d.mts.map +1 -0
- package/dist/collection/getCollectionImages.mjs +21 -0
- package/dist/collection/getCollectionImages.mjs.map +1 -0
- package/dist/collection/getCollectionTranslations.d.mts +13 -0
- package/dist/collection/getCollectionTranslations.d.mts.map +1 -0
- package/dist/collection/getCollectionTranslations.mjs +14 -0
- package/dist/collection/getCollectionTranslations.mjs.map +1 -0
- package/dist/collection/index.d.mts +8 -0
- package/dist/collection/index.mjs +7 -0
- package/dist/collection/types/CollectionDetails.d.mts +23 -0
- package/dist/collection/types/CollectionDetails.d.mts.map +1 -0
- package/dist/collection/types/CollectionDetails.mjs +25 -0
- package/dist/collection/types/CollectionDetails.mjs.map +1 -0
- package/dist/collection/types/CollectionListItem.d.mts +24 -0
- package/dist/collection/types/CollectionListItem.d.mts.map +1 -0
- package/dist/collection/types/CollectionListItem.mjs +26 -0
- package/dist/collection/types/CollectionListItem.mjs.map +1 -0
- package/dist/collection/types/CollectionTranslations.d.mts +17 -0
- package/dist/collection/types/CollectionTranslations.d.mts.map +1 -0
- package/dist/collection/types/CollectionTranslations.mjs +18 -0
- package/dist/collection/types/CollectionTranslations.mjs.map +1 -0
- package/dist/collection/types/index.d.mts +4 -0
- package/dist/collection/types/index.mjs +4 -0
- package/dist/company/getCompany.d.mts +13 -0
- package/dist/company/getCompany.d.mts.map +1 -0
- package/dist/company/getCompany.mjs +14 -0
- package/dist/company/getCompany.mjs.map +1 -0
- package/dist/company/getCompanyAlternativeNames.d.mts +13 -0
- package/dist/company/getCompanyAlternativeNames.d.mts.map +1 -0
- package/dist/company/getCompanyAlternativeNames.mjs +14 -0
- package/dist/company/getCompanyAlternativeNames.mjs.map +1 -0
- package/dist/company/getCompanyImages.d.mts +13 -0
- package/dist/company/getCompanyImages.d.mts.map +1 -0
- package/dist/company/getCompanyImages.mjs +14 -0
- package/dist/company/getCompanyImages.mjs.map +1 -0
- package/dist/company/index.d.mts +7 -0
- package/dist/company/index.mjs +6 -0
- package/dist/company/types/CompanyDetails.d.mts +23 -0
- package/dist/company/types/CompanyDetails.d.mts.map +1 -0
- package/dist/company/types/CompanyDetails.mjs +26 -0
- package/dist/company/types/CompanyDetails.mjs.map +1 -0
- package/dist/company/types/CompanyListItem.d.mts +10 -0
- package/dist/company/types/CompanyListItem.d.mts.map +1 -0
- package/dist/company/types/CompanyListItem.mjs +13 -0
- package/dist/company/types/CompanyListItem.mjs.map +1 -0
- package/dist/company/types/index.d.mts +3 -0
- package/dist/company/types/index.mjs +3 -0
- package/dist/configuration/getConfiguration.d.mts +9 -0
- package/dist/configuration/getConfiguration.d.mts.map +1 -0
- package/dist/configuration/getConfiguration.mjs +11 -0
- package/dist/configuration/getConfiguration.mjs.map +1 -0
- package/dist/configuration/getCountries.d.mts +36 -0
- package/dist/configuration/getCountries.d.mts.map +1 -0
- package/dist/configuration/getCountries.mjs +13 -0
- package/dist/configuration/getCountries.mjs.map +1 -0
- package/dist/configuration/getJobs.d.mts +9 -0
- package/dist/configuration/getJobs.d.mts.map +1 -0
- package/dist/configuration/getJobs.mjs +11 -0
- package/dist/configuration/getJobs.mjs.map +1 -0
- package/dist/configuration/getLanguages.d.mts +9 -0
- package/dist/configuration/getLanguages.d.mts.map +1 -0
- package/dist/configuration/getLanguages.mjs +11 -0
- package/dist/configuration/getLanguages.mjs.map +1 -0
- package/dist/configuration/getPrimaryTranslations.d.mts +9 -0
- package/dist/configuration/getPrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/getPrimaryTranslations.mjs +11 -0
- package/dist/configuration/getPrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/getTimezones.d.mts +9 -0
- package/dist/configuration/getTimezones.d.mts.map +1 -0
- package/dist/configuration/getTimezones.mjs +11 -0
- package/dist/configuration/getTimezones.mjs.map +1 -0
- package/dist/configuration/imageUrl.d.mts +26 -0
- package/dist/configuration/imageUrl.d.mts.map +1 -0
- package/dist/configuration/imageUrl.mjs +50 -0
- package/dist/configuration/imageUrl.mjs.map +1 -0
- package/dist/configuration/index.d.mts +15 -0
- package/dist/configuration/index.mjs +14 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts +26 -0
- package/dist/configuration/types/ConfigurationDetails.d.mts.map +1 -0
- package/dist/configuration/types/ConfigurationDetails.mjs +28 -0
- package/dist/configuration/types/ConfigurationDetails.mjs.map +1 -0
- package/dist/configuration/types/Country.d.mts +27 -0
- package/dist/configuration/types/Country.d.mts.map +1 -0
- package/dist/configuration/types/Country.mjs +22 -0
- package/dist/configuration/types/Country.mjs.map +1 -0
- package/dist/configuration/types/DepartmentJobs.d.mts +15 -0
- package/dist/configuration/types/DepartmentJobs.d.mts.map +1 -0
- package/dist/configuration/types/DepartmentJobs.mjs +16 -0
- package/dist/configuration/types/DepartmentJobs.mjs.map +1 -0
- package/dist/configuration/types/Language.d.mts +10 -0
- package/dist/configuration/types/Language.d.mts.map +1 -0
- package/dist/configuration/types/Language.mjs +13 -0
- package/dist/configuration/types/Language.mjs.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts +9 -0
- package/dist/configuration/types/PrimaryTranslations.d.mts.map +1 -0
- package/dist/configuration/types/PrimaryTranslations.mjs +12 -0
- package/dist/configuration/types/PrimaryTranslations.mjs.map +1 -0
- package/dist/configuration/types/Timezone.d.mts +17 -0
- package/dist/configuration/types/Timezone.d.mts.map +1 -0
- package/dist/configuration/types/Timezone.mjs +18 -0
- package/dist/configuration/types/Timezone.mjs.map +1 -0
- package/dist/configuration/types/index.d.mts +7 -0
- package/dist/configuration/types/index.mjs +7 -0
- package/dist/credit/getCredit.d.mts +37 -0
- package/dist/credit/getCredit.d.mts.map +1 -0
- package/dist/credit/getCredit.mjs +16 -0
- package/dist/credit/getCredit.mjs.map +1 -0
- package/dist/credit/index.d.mts +4 -0
- package/dist/credit/index.mjs +3 -0
- package/dist/credit/types/CreditDetails.d.mts +62 -0
- package/dist/credit/types/CreditDetails.d.mts.map +1 -0
- package/dist/credit/types/CreditDetails.mjs +35 -0
- package/dist/credit/types/CreditDetails.mjs.map +1 -0
- package/dist/credit/types/index.d.mts +2 -0
- package/dist/credit/types/index.mjs +1 -0
- package/dist/discover/discoverMovies.d.mts +708 -0
- package/dist/discover/discoverMovies.d.mts.map +1 -0
- package/dist/discover/discoverMovies.mjs +93 -0
- package/dist/discover/discoverMovies.mjs.map +1 -0
- package/dist/discover/discoverTvSeries.d.mts +608 -0
- package/dist/discover/discoverTvSeries.d.mts.map +1 -0
- package/dist/discover/discoverTvSeries.mjs +80 -0
- package/dist/discover/discoverTvSeries.mjs.map +1 -0
- package/dist/discover/index.d.mts +3 -0
- package/dist/discover/index.mjs +3 -0
- package/dist/find/findByExternalId.d.mts +38 -0
- package/dist/find/findByExternalId.d.mts.map +1 -0
- package/dist/find/findByExternalId.mjs +29 -0
- package/dist/find/findByExternalId.mjs.map +1 -0
- package/dist/find/index.d.mts +4 -0
- package/dist/find/index.mjs +3 -0
- package/dist/find/types/FindResults.d.mts +47 -0
- package/dist/find/types/FindResults.d.mts.map +1 -0
- package/dist/find/types/FindResults.mjs +39 -0
- package/dist/find/types/FindResults.mjs.map +1 -0
- package/dist/find/types/index.d.mts +2 -0
- package/dist/find/types/index.mjs +1 -0
- package/dist/genre/getMovieGenres.d.mts +36 -0
- package/dist/genre/getMovieGenres.d.mts.map +1 -0
- package/dist/genre/getMovieGenres.mjs +13 -0
- package/dist/genre/getMovieGenres.mjs.map +1 -0
- package/dist/genre/getTvGenres.d.mts +36 -0
- package/dist/genre/getTvGenres.d.mts.map +1 -0
- package/dist/genre/getTvGenres.mjs +13 -0
- package/dist/genre/getTvGenres.mjs.map +1 -0
- package/dist/genre/index.d.mts +5 -0
- package/dist/genre/index.mjs +4 -0
- package/dist/genre/types/GenreList.d.mts +15 -0
- package/dist/genre/types/GenreList.d.mts.map +1 -0
- package/dist/genre/types/GenreList.mjs +14 -0
- package/dist/genre/types/GenreList.mjs.map +1 -0
- package/dist/genre/types/index.d.mts +2 -0
- package/dist/genre/types/index.mjs +1 -0
- package/dist/index.d.mts +213 -0
- package/dist/index.mjs +192 -0
- package/dist/keyword/getKeyword.d.mts +13 -0
- package/dist/keyword/getKeyword.d.mts.map +1 -0
- package/dist/keyword/getKeyword.mjs +14 -0
- package/dist/keyword/getKeyword.mjs.map +1 -0
- package/dist/keyword/getKeywordMovies.d.mts +51 -0
- package/dist/keyword/getKeywordMovies.d.mts.map +1 -0
- package/dist/keyword/getKeywordMovies.mjs +21 -0
- package/dist/keyword/getKeywordMovies.mjs.map +1 -0
- package/dist/keyword/index.d.mts +3 -0
- package/dist/keyword/index.mjs +3 -0
- package/dist/list/getList.d.mts +44 -0
- package/dist/list/getList.d.mts.map +1 -0
- package/dist/list/getList.mjs +20 -0
- package/dist/list/getList.mjs.map +1 -0
- package/dist/list/getListItemStatus.d.mts +44 -0
- package/dist/list/getListItemStatus.d.mts.map +1 -0
- package/dist/list/getListItemStatus.mjs +20 -0
- package/dist/list/getListItemStatus.mjs.map +1 -0
- package/dist/list/index.d.mts +7 -0
- package/dist/list/index.mjs +6 -0
- package/dist/list/types/ListDetails.d.mts +29 -0
- package/dist/list/types/ListDetails.d.mts.map +1 -0
- package/dist/list/types/ListDetails.mjs +31 -0
- package/dist/list/types/ListDetails.mjs.map +1 -0
- package/dist/list/types/ListItemStatus.d.mts +15 -0
- package/dist/list/types/ListItemStatus.d.mts.map +1 -0
- package/dist/list/types/ListItemStatus.mjs +18 -0
- package/dist/list/types/ListItemStatus.mjs.map +1 -0
- package/dist/list/types/ListsContaining.d.mts +31 -0
- package/dist/list/types/ListsContaining.d.mts.map +1 -0
- package/dist/list/types/ListsContaining.mjs +32 -0
- package/dist/list/types/ListsContaining.mjs.map +1 -0
- package/dist/list/types/index.d.mts +4 -0
- package/dist/list/types/index.mjs +4 -0
- package/dist/movie/getLatestMovie.d.mts +9 -0
- package/dist/movie/getLatestMovie.d.mts.map +1 -0
- package/dist/movie/getLatestMovie.mjs +11 -0
- package/dist/movie/getLatestMovie.mjs.map +1 -0
- package/dist/movie/getMovie.d.mts +45 -0
- package/dist/movie/getMovie.d.mts.map +1 -0
- package/dist/movie/getMovie.mjs +36 -0
- package/dist/movie/getMovie.mjs.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts +38 -0
- package/dist/movie/getMovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/getMovieAlternativeTitles.mjs +19 -0
- package/dist/movie/getMovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/getMovieChangeList.d.mts +50 -0
- package/dist/movie/getMovieChangeList.d.mts.map +1 -0
- package/dist/movie/getMovieChangeList.mjs +19 -0
- package/dist/movie/getMovieChangeList.mjs.map +1 -0
- package/dist/movie/getMovieChanges.d.mts +51 -0
- package/dist/movie/getMovieChanges.d.mts.map +1 -0
- package/dist/movie/getMovieChanges.mjs +22 -0
- package/dist/movie/getMovieChanges.mjs.map +1 -0
- package/dist/movie/getMovieCredits.d.mts +37 -0
- package/dist/movie/getMovieCredits.d.mts.map +1 -0
- package/dist/movie/getMovieCredits.mjs +17 -0
- package/dist/movie/getMovieCredits.mjs.map +1 -0
- package/dist/movie/getMovieExternalIds.d.mts +13 -0
- package/dist/movie/getMovieExternalIds.d.mts.map +1 -0
- package/dist/movie/getMovieExternalIds.mjs +14 -0
- package/dist/movie/getMovieExternalIds.mjs.map +1 -0
- package/dist/movie/getMovieImages.d.mts +45 -0
- package/dist/movie/getMovieImages.d.mts.map +1 -0
- package/dist/movie/getMovieImages.mjs +21 -0
- package/dist/movie/getMovieImages.mjs.map +1 -0
- package/dist/movie/getMovieKeywords.d.mts +13 -0
- package/dist/movie/getMovieKeywords.d.mts.map +1 -0
- package/dist/movie/getMovieKeywords.mjs +13 -0
- package/dist/movie/getMovieKeywords.mjs.map +1 -0
- package/dist/movie/getMovieLists.d.mts +44 -0
- package/dist/movie/getMovieLists.d.mts.map +1 -0
- package/dist/movie/getMovieLists.mjs +20 -0
- package/dist/movie/getMovieLists.mjs.map +1 -0
- package/dist/movie/getMovieRecommendations.d.mts +44 -0
- package/dist/movie/getMovieRecommendations.d.mts.map +1 -0
- package/dist/movie/getMovieRecommendations.mjs +20 -0
- package/dist/movie/getMovieRecommendations.mjs.map +1 -0
- package/dist/movie/getMovieReleaseDates.d.mts +13 -0
- package/dist/movie/getMovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/getMovieReleaseDates.mjs +14 -0
- package/dist/movie/getMovieReleaseDates.mjs.map +1 -0
- package/dist/movie/getMovieReviews.d.mts +44 -0
- package/dist/movie/getMovieReviews.d.mts.map +1 -0
- package/dist/movie/getMovieReviews.mjs +20 -0
- package/dist/movie/getMovieReviews.mjs.map +1 -0
- package/dist/movie/getMovieTranslations.d.mts +13 -0
- package/dist/movie/getMovieTranslations.d.mts.map +1 -0
- package/dist/movie/getMovieTranslations.mjs +14 -0
- package/dist/movie/getMovieTranslations.mjs.map +1 -0
- package/dist/movie/getMovieVideos.d.mts +37 -0
- package/dist/movie/getMovieVideos.d.mts.map +1 -0
- package/dist/movie/getMovieVideos.mjs +17 -0
- package/dist/movie/getMovieVideos.mjs.map +1 -0
- package/dist/movie/getMovieWatchProviders.d.mts +13 -0
- package/dist/movie/getMovieWatchProviders.d.mts.map +1 -0
- package/dist/movie/getMovieWatchProviders.mjs +14 -0
- package/dist/movie/getMovieWatchProviders.mjs.map +1 -0
- package/dist/movie/getNowPlayingMovies.d.mts +51 -0
- package/dist/movie/getNowPlayingMovies.d.mts.map +1 -0
- package/dist/movie/getNowPlayingMovies.mjs +19 -0
- package/dist/movie/getNowPlayingMovies.mjs.map +1 -0
- package/dist/movie/getPopularMovies.d.mts +51 -0
- package/dist/movie/getPopularMovies.d.mts.map +1 -0
- package/dist/movie/getPopularMovies.mjs +19 -0
- package/dist/movie/getPopularMovies.mjs.map +1 -0
- package/dist/movie/getSimilarMovies.d.mts +44 -0
- package/dist/movie/getSimilarMovies.d.mts.map +1 -0
- package/dist/movie/getSimilarMovies.mjs +20 -0
- package/dist/movie/getSimilarMovies.mjs.map +1 -0
- package/dist/movie/getTopRatedMovies.d.mts +51 -0
- package/dist/movie/getTopRatedMovies.d.mts.map +1 -0
- package/dist/movie/getTopRatedMovies.mjs +19 -0
- package/dist/movie/getTopRatedMovies.mjs.map +1 -0
- package/dist/movie/getUpcomingMovies.d.mts +51 -0
- package/dist/movie/getUpcomingMovies.d.mts.map +1 -0
- package/dist/movie/getUpcomingMovies.mjs +19 -0
- package/dist/movie/getUpcomingMovies.mjs.map +1 -0
- package/dist/movie/index.d.mts +31 -0
- package/dist/movie/index.mjs +30 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts +20 -0
- package/dist/movie/types/MovieAlternativeTitles.d.mts.map +1 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs +23 -0
- package/dist/movie/types/MovieAlternativeTitles.mjs.map +1 -0
- package/dist/movie/types/MovieCredits.d.mts +39 -0
- package/dist/movie/types/MovieCredits.d.mts.map +1 -0
- package/dist/movie/types/MovieCredits.mjs +30 -0
- package/dist/movie/types/MovieCredits.mjs.map +1 -0
- package/dist/movie/types/MovieDetails.d.mts +145 -0
- package/dist/movie/types/MovieDetails.d.mts.map +1 -0
- package/dist/movie/types/MovieDetails.mjs +94 -0
- package/dist/movie/types/MovieDetails.mjs.map +1 -0
- package/dist/movie/types/MovieExternalIds.d.mts +19 -0
- package/dist/movie/types/MovieExternalIds.d.mts.map +1 -0
- package/dist/movie/types/MovieExternalIds.mjs +22 -0
- package/dist/movie/types/MovieExternalIds.mjs.map +1 -0
- package/dist/movie/types/MovieKeywords.d.mts +16 -0
- package/dist/movie/types/MovieKeywords.d.mts.map +1 -0
- package/dist/movie/types/MovieKeywords.mjs +18 -0
- package/dist/movie/types/MovieKeywords.mjs.map +1 -0
- package/dist/movie/types/MovieListItem.d.mts +116 -0
- package/dist/movie/types/MovieListItem.d.mts.map +1 -0
- package/dist/movie/types/MovieListItem.mjs +57 -0
- package/dist/movie/types/MovieListItem.mjs.map +1 -0
- package/dist/movie/types/MovieReleaseDates.d.mts +36 -0
- package/dist/movie/types/MovieReleaseDates.d.mts.map +1 -0
- package/dist/movie/types/MovieReleaseDates.mjs +45 -0
- package/dist/movie/types/MovieReleaseDates.mjs.map +1 -0
- package/dist/movie/types/MovieTranslations.d.mts +20 -0
- package/dist/movie/types/MovieTranslations.d.mts.map +1 -0
- package/dist/movie/types/MovieTranslations.mjs +22 -0
- package/dist/movie/types/MovieTranslations.mjs.map +1 -0
- package/dist/movie/types/index.d.mts +9 -0
- package/dist/movie/types/index.mjs +9 -0
- package/dist/network/getNetwork.d.mts +13 -0
- package/dist/network/getNetwork.d.mts.map +1 -0
- package/dist/network/getNetwork.mjs +14 -0
- package/dist/network/getNetwork.mjs.map +1 -0
- package/dist/network/getNetworkAlternativeNames.d.mts +13 -0
- package/dist/network/getNetworkAlternativeNames.d.mts.map +1 -0
- package/dist/network/getNetworkAlternativeNames.mjs +14 -0
- package/dist/network/getNetworkAlternativeNames.mjs.map +1 -0
- package/dist/network/getNetworkImages.d.mts +13 -0
- package/dist/network/getNetworkImages.d.mts.map +1 -0
- package/dist/network/getNetworkImages.mjs +14 -0
- package/dist/network/getNetworkImages.mjs.map +1 -0
- package/dist/network/index.d.mts +6 -0
- package/dist/network/index.mjs +5 -0
- package/dist/network/types/NetworkDetails.d.mts +19 -0
- package/dist/network/types/NetworkDetails.d.mts.map +1 -0
- package/dist/network/types/NetworkDetails.mjs +22 -0
- package/dist/network/types/NetworkDetails.mjs.map +1 -0
- package/dist/network/types/index.d.mts +2 -0
- package/dist/network/types/index.mjs +1 -0
- package/dist/person/getLatestPerson.d.mts +9 -0
- package/dist/person/getLatestPerson.d.mts.map +1 -0
- package/dist/person/getLatestPerson.mjs +11 -0
- package/dist/person/getLatestPerson.mjs.map +1 -0
- package/dist/person/getPerson.d.mts +45 -0
- package/dist/person/getPerson.d.mts.map +1 -0
- package/dist/person/getPerson.mjs +30 -0
- package/dist/person/getPerson.mjs.map +1 -0
- package/dist/person/getPersonChangeList.d.mts +50 -0
- package/dist/person/getPersonChangeList.d.mts.map +1 -0
- package/dist/person/getPersonChangeList.mjs +19 -0
- package/dist/person/getPersonChangeList.mjs.map +1 -0
- package/dist/person/getPersonChanges.d.mts +51 -0
- package/dist/person/getPersonChanges.d.mts.map +1 -0
- package/dist/person/getPersonChanges.mjs +22 -0
- package/dist/person/getPersonChanges.mjs.map +1 -0
- package/dist/person/getPersonCombinedCredits.d.mts +37 -0
- package/dist/person/getPersonCombinedCredits.d.mts.map +1 -0
- package/dist/person/getPersonCombinedCredits.mjs +16 -0
- package/dist/person/getPersonCombinedCredits.mjs.map +1 -0
- package/dist/person/getPersonExternalIds.d.mts +13 -0
- package/dist/person/getPersonExternalIds.d.mts.map +1 -0
- package/dist/person/getPersonExternalIds.mjs +14 -0
- package/dist/person/getPersonExternalIds.mjs.map +1 -0
- package/dist/person/getPersonImages.d.mts +13 -0
- package/dist/person/getPersonImages.d.mts.map +1 -0
- package/dist/person/getPersonImages.mjs +14 -0
- package/dist/person/getPersonImages.mjs.map +1 -0
- package/dist/person/getPersonMovieCredits.d.mts +37 -0
- package/dist/person/getPersonMovieCredits.d.mts.map +1 -0
- package/dist/person/getPersonMovieCredits.mjs +17 -0
- package/dist/person/getPersonMovieCredits.mjs.map +1 -0
- package/dist/person/getPersonTaggedImages.d.mts +37 -0
- package/dist/person/getPersonTaggedImages.d.mts.map +1 -0
- package/dist/person/getPersonTaggedImages.mjs +17 -0
- package/dist/person/getPersonTaggedImages.mjs.map +1 -0
- package/dist/person/getPersonTranslations.d.mts +13 -0
- package/dist/person/getPersonTranslations.d.mts.map +1 -0
- package/dist/person/getPersonTranslations.mjs +14 -0
- package/dist/person/getPersonTranslations.mjs.map +1 -0
- package/dist/person/getPersonTvCredits.d.mts +37 -0
- package/dist/person/getPersonTvCredits.d.mts.map +1 -0
- package/dist/person/getPersonTvCredits.mjs +17 -0
- package/dist/person/getPersonTvCredits.mjs.map +1 -0
- package/dist/person/getPopularPeople.d.mts +43 -0
- package/dist/person/getPopularPeople.d.mts.map +1 -0
- package/dist/person/getPopularPeople.mjs +17 -0
- package/dist/person/getPopularPeople.mjs.map +1 -0
- package/dist/person/index.d.mts +20 -0
- package/dist/person/index.mjs +19 -0
- package/dist/person/types/PersonCredits.d.mts +127 -0
- package/dist/person/types/PersonCredits.d.mts.map +1 -0
- package/dist/person/types/PersonCredits.mjs +81 -0
- package/dist/person/types/PersonCredits.mjs.map +1 -0
- package/dist/person/types/PersonDetails.d.mts +78 -0
- package/dist/person/types/PersonDetails.d.mts.map +1 -0
- package/dist/person/types/PersonDetails.mjs +55 -0
- package/dist/person/types/PersonDetails.mjs.map +1 -0
- package/dist/person/types/PersonExternalIds.d.mts +26 -0
- package/dist/person/types/PersonExternalIds.d.mts.map +1 -0
- package/dist/person/types/PersonExternalIds.mjs +30 -0
- package/dist/person/types/PersonExternalIds.mjs.map +1 -0
- package/dist/person/types/PersonListItem.d.mts +75 -0
- package/dist/person/types/PersonListItem.d.mts.map +1 -0
- package/dist/person/types/PersonListItem.mjs +46 -0
- package/dist/person/types/PersonListItem.mjs.map +1 -0
- package/dist/person/types/PersonTranslations.d.mts +18 -0
- package/dist/person/types/PersonTranslations.d.mts.map +1 -0
- package/dist/person/types/PersonTranslations.mjs +19 -0
- package/dist/person/types/PersonTranslations.mjs.map +1 -0
- package/dist/person/types/TaggedImages.d.mts +36 -0
- package/dist/person/types/TaggedImages.d.mts.map +1 -0
- package/dist/person/types/TaggedImages.mjs +31 -0
- package/dist/person/types/TaggedImages.mjs.map +1 -0
- package/dist/person/types/index.d.mts +7 -0
- package/dist/person/types/index.mjs +7 -0
- package/dist/requests/TmdbSession.d.mts +91 -0
- package/dist/requests/TmdbSession.d.mts.map +1 -0
- package/dist/requests/TmdbSession.mjs +203 -0
- package/dist/requests/TmdbSession.mjs.map +1 -0
- package/dist/requests/addParams.d.mts +15 -0
- package/dist/requests/addParams.d.mts.map +1 -0
- package/dist/requests/addParams.mjs +27 -0
- package/dist/requests/addParams.mjs.map +1 -0
- package/dist/requests/buildURL.d.mts +11 -0
- package/dist/requests/buildURL.d.mts.map +1 -0
- package/dist/requests/buildURL.mjs +15 -0
- package/dist/requests/buildURL.mjs.map +1 -0
- package/dist/requests/index.d.mts +7 -0
- package/dist/requests/index.mjs +7 -0
- package/dist/requests/methods.d.mts +22 -0
- package/dist/requests/methods.d.mts.map +1 -0
- package/dist/requests/methods.mjs +16 -0
- package/dist/requests/methods.mjs.map +1 -0
- package/dist/requests/request.d.mts +28 -0
- package/dist/requests/request.d.mts.map +1 -0
- package/dist/requests/request.mjs +62 -0
- package/dist/requests/request.mjs.map +1 -0
- package/dist/requests/toValidated.d.mts +11 -0
- package/dist/requests/toValidated.d.mts.map +1 -0
- package/dist/requests/toValidated.mjs +24 -0
- package/dist/requests/toValidated.mjs.map +1 -0
- package/dist/review/getReview.d.mts +13 -0
- package/dist/review/getReview.d.mts.map +1 -0
- package/dist/review/getReview.mjs +13 -0
- package/dist/review/getReview.mjs.map +1 -0
- package/dist/review/index.d.mts +4 -0
- package/dist/review/index.mjs +3 -0
- package/dist/review/types/Review.d.mts +79 -0
- package/dist/review/types/Review.d.mts.map +1 -0
- package/dist/review/types/Review.mjs +49 -0
- package/dist/review/types/Review.mjs.map +1 -0
- package/dist/review/types/index.d.mts +2 -0
- package/dist/review/types/index.mjs +1 -0
- package/dist/search/index.d.mts +8 -0
- package/dist/search/index.mjs +8 -0
- package/dist/search/searchCollections.d.mts +58 -0
- package/dist/search/searchCollections.d.mts.map +1 -0
- package/dist/search/searchCollections.mjs +25 -0
- package/dist/search/searchCollections.mjs.map +1 -0
- package/dist/search/searchCompanies.d.mts +37 -0
- package/dist/search/searchCompanies.d.mts.map +1 -0
- package/dist/search/searchCompanies.mjs +20 -0
- package/dist/search/searchCompanies.mjs.map +1 -0
- package/dist/search/searchKeywords.d.mts +37 -0
- package/dist/search/searchKeywords.d.mts.map +1 -0
- package/dist/search/searchKeywords.mjs +20 -0
- package/dist/search/searchKeywords.mjs.map +1 -0
- package/dist/search/searchMovies.d.mts +73 -0
- package/dist/search/searchMovies.d.mts.map +1 -0
- package/dist/search/searchMovies.mjs +28 -0
- package/dist/search/searchMovies.mjs.map +1 -0
- package/dist/search/searchMulti.d.mts +51 -0
- package/dist/search/searchMulti.d.mts.map +1 -0
- package/dist/search/searchMulti.mjs +24 -0
- package/dist/search/searchMulti.mjs.map +1 -0
- package/dist/search/searchPeople.d.mts +51 -0
- package/dist/search/searchPeople.d.mts.map +1 -0
- package/dist/search/searchPeople.mjs +24 -0
- package/dist/search/searchPeople.mjs.map +1 -0
- package/dist/search/searchTvSeries.d.mts +67 -0
- package/dist/search/searchTvSeries.d.mts.map +1 -0
- package/dist/search/searchTvSeries.mjs +28 -0
- package/dist/search/searchTvSeries.mjs.map +1 -0
- package/dist/trending/getTrending.d.mts +38 -0
- package/dist/trending/getTrending.d.mts.map +1 -0
- package/dist/trending/getTrending.mjs +18 -0
- package/dist/trending/getTrending.mjs.map +1 -0
- package/dist/trending/getTrendingMovies.d.mts +38 -0
- package/dist/trending/getTrendingMovies.d.mts.map +1 -0
- package/dist/trending/getTrendingMovies.mjs +18 -0
- package/dist/trending/getTrendingMovies.mjs.map +1 -0
- package/dist/trending/getTrendingPeople.d.mts +38 -0
- package/dist/trending/getTrendingPeople.d.mts.map +1 -0
- package/dist/trending/getTrendingPeople.mjs +18 -0
- package/dist/trending/getTrendingPeople.mjs.map +1 -0
- package/dist/trending/getTrendingTvSeries.d.mts +38 -0
- package/dist/trending/getTrendingTvSeries.d.mts.map +1 -0
- package/dist/trending/getTrendingTvSeries.mjs +18 -0
- package/dist/trending/getTrendingTvSeries.mjs.map +1 -0
- package/dist/trending/index.d.mts +5 -0
- package/dist/trending/index.mjs +5 -0
- package/dist/tv/getLatestTvSeries.d.mts +9 -0
- package/dist/tv/getLatestTvSeries.d.mts.map +1 -0
- package/dist/tv/getLatestTvSeries.mjs +11 -0
- package/dist/tv/getLatestTvSeries.mjs.map +1 -0
- package/dist/tv/getPopularTvSeries.d.mts +43 -0
- package/dist/tv/getPopularTvSeries.d.mts.map +1 -0
- package/dist/tv/getPopularTvSeries.mjs +17 -0
- package/dist/tv/getPopularTvSeries.mjs.map +1 -0
- package/dist/tv/getSimilarTvSeries.d.mts +44 -0
- package/dist/tv/getSimilarTvSeries.d.mts.map +1 -0
- package/dist/tv/getSimilarTvSeries.mjs +20 -0
- package/dist/tv/getSimilarTvSeries.mjs.map +1 -0
- package/dist/tv/getTopRatedTvSeries.d.mts +43 -0
- package/dist/tv/getTopRatedTvSeries.d.mts.map +1 -0
- package/dist/tv/getTopRatedTvSeries.mjs +17 -0
- package/dist/tv/getTopRatedTvSeries.mjs.map +1 -0
- package/dist/tv/getTvChangeList.d.mts +50 -0
- package/dist/tv/getTvChangeList.d.mts.map +1 -0
- package/dist/tv/getTvChangeList.mjs +19 -0
- package/dist/tv/getTvChangeList.mjs.map +1 -0
- package/dist/tv/getTvEpisode.d.mts +47 -0
- package/dist/tv/getTvEpisode.d.mts.map +1 -0
- package/dist/tv/getTvEpisode.mjs +29 -0
- package/dist/tv/getTvEpisode.mjs.map +1 -0
- package/dist/tv/getTvEpisodeChanges.d.mts +13 -0
- package/dist/tv/getTvEpisodeChanges.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeChanges.mjs +14 -0
- package/dist/tv/getTvEpisodeChanges.mjs.map +1 -0
- package/dist/tv/getTvEpisodeCredits.d.mts +39 -0
- package/dist/tv/getTvEpisodeCredits.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeCredits.mjs +19 -0
- package/dist/tv/getTvEpisodeCredits.mjs.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts +15 -0
- package/dist/tv/getTvEpisodeExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs +18 -0
- package/dist/tv/getTvEpisodeExternalIds.mjs.map +1 -0
- package/dist/tv/getTvEpisodeGroup.d.mts +13 -0
- package/dist/tv/getTvEpisodeGroup.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeGroup.mjs +13 -0
- package/dist/tv/getTvEpisodeGroup.mjs.map +1 -0
- package/dist/tv/getTvEpisodeImages.d.mts +47 -0
- package/dist/tv/getTvEpisodeImages.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeImages.mjs +23 -0
- package/dist/tv/getTvEpisodeImages.mjs.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts +15 -0
- package/dist/tv/getTvEpisodeTranslations.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeTranslations.mjs +18 -0
- package/dist/tv/getTvEpisodeTranslations.mjs.map +1 -0
- package/dist/tv/getTvEpisodeVideos.d.mts +47 -0
- package/dist/tv/getTvEpisodeVideos.d.mts.map +1 -0
- package/dist/tv/getTvEpisodeVideos.mjs +23 -0
- package/dist/tv/getTvEpisodeVideos.mjs.map +1 -0
- package/dist/tv/getTvSeason.d.mts +46 -0
- package/dist/tv/getTvSeason.d.mts.map +1 -0
- package/dist/tv/getTvSeason.mjs +30 -0
- package/dist/tv/getTvSeason.mjs.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs +18 -0
- package/dist/tv/getTvSeasonAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonChanges.d.mts +51 -0
- package/dist/tv/getTvSeasonChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeasonChanges.mjs +21 -0
- package/dist/tv/getTvSeasonChanges.mjs.map +1 -0
- package/dist/tv/getTvSeasonCredits.d.mts +38 -0
- package/dist/tv/getTvSeasonCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeasonCredits.mjs +18 -0
- package/dist/tv/getTvSeasonCredits.mjs.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts +14 -0
- package/dist/tv/getTvSeasonExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeasonExternalIds.mjs +17 -0
- package/dist/tv/getTvSeasonExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeasonImages.d.mts +46 -0
- package/dist/tv/getTvSeasonImages.d.mts.map +1 -0
- package/dist/tv/getTvSeasonImages.mjs +22 -0
- package/dist/tv/getTvSeasonImages.mjs.map +1 -0
- package/dist/tv/getTvSeasonTranslations.d.mts +14 -0
- package/dist/tv/getTvSeasonTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeasonTranslations.mjs +17 -0
- package/dist/tv/getTvSeasonTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeasonVideos.d.mts +46 -0
- package/dist/tv/getTvSeasonVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeasonVideos.mjs +22 -0
- package/dist/tv/getTvSeasonVideos.mjs.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts +38 -0
- package/dist/tv/getTvSeasonWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs +18 -0
- package/dist/tv/getTvSeasonWatchProviders.mjs.map +1 -0
- package/dist/tv/getTvSeries.d.mts +45 -0
- package/dist/tv/getTvSeries.d.mts.map +1 -0
- package/dist/tv/getTvSeries.mjs +39 -0
- package/dist/tv/getTvSeries.mjs.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesAggregateCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs +17 -0
- package/dist/tv/getTvSeriesAggregateCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts +50 -0
- package/dist/tv/getTvSeriesAiringToday.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAiringToday.mjs +18 -0
- package/dist/tv/getTvSeriesAiringToday.mjs.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts +13 -0
- package/dist/tv/getTvSeriesAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs +14 -0
- package/dist/tv/getTvSeriesAlternativeTitles.mjs.map +1 -0
- package/dist/tv/getTvSeriesChanges.d.mts +51 -0
- package/dist/tv/getTvSeriesChanges.d.mts.map +1 -0
- package/dist/tv/getTvSeriesChanges.mjs +21 -0
- package/dist/tv/getTvSeriesChanges.mjs.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts +13 -0
- package/dist/tv/getTvSeriesContentRatings.d.mts.map +1 -0
- package/dist/tv/getTvSeriesContentRatings.mjs +14 -0
- package/dist/tv/getTvSeriesContentRatings.mjs.map +1 -0
- package/dist/tv/getTvSeriesCredits.d.mts +37 -0
- package/dist/tv/getTvSeriesCredits.d.mts.map +1 -0
- package/dist/tv/getTvSeriesCredits.mjs +17 -0
- package/dist/tv/getTvSeriesCredits.mjs.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts +13 -0
- package/dist/tv/getTvSeriesEpisodeGroups.d.mts.map +1 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs +14 -0
- package/dist/tv/getTvSeriesEpisodeGroups.mjs.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts +13 -0
- package/dist/tv/getTvSeriesExternalIds.d.mts.map +1 -0
- package/dist/tv/getTvSeriesExternalIds.mjs +14 -0
- package/dist/tv/getTvSeriesExternalIds.mjs.map +1 -0
- package/dist/tv/getTvSeriesImages.d.mts +45 -0
- package/dist/tv/getTvSeriesImages.d.mts.map +1 -0
- package/dist/tv/getTvSeriesImages.mjs +21 -0
- package/dist/tv/getTvSeriesImages.mjs.map +1 -0
- package/dist/tv/getTvSeriesKeywords.d.mts +13 -0
- package/dist/tv/getTvSeriesKeywords.d.mts.map +1 -0
- package/dist/tv/getTvSeriesKeywords.mjs +14 -0
- package/dist/tv/getTvSeriesKeywords.mjs.map +1 -0
- package/dist/tv/getTvSeriesLists.d.mts +44 -0
- package/dist/tv/getTvSeriesLists.d.mts.map +1 -0
- package/dist/tv/getTvSeriesLists.mjs +20 -0
- package/dist/tv/getTvSeriesLists.mjs.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts +50 -0
- package/dist/tv/getTvSeriesOnTheAir.d.mts.map +1 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs +18 -0
- package/dist/tv/getTvSeriesOnTheAir.mjs.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts +44 -0
- package/dist/tv/getTvSeriesRecommendations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesRecommendations.mjs +20 -0
- package/dist/tv/getTvSeriesRecommendations.mjs.map +1 -0
- package/dist/tv/getTvSeriesReviews.d.mts +44 -0
- package/dist/tv/getTvSeriesReviews.d.mts.map +1 -0
- package/dist/tv/getTvSeriesReviews.mjs +20 -0
- package/dist/tv/getTvSeriesReviews.mjs.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts +13 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs +14 -0
- package/dist/tv/getTvSeriesScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/getTvSeriesTranslations.d.mts +13 -0
- package/dist/tv/getTvSeriesTranslations.d.mts.map +1 -0
- package/dist/tv/getTvSeriesTranslations.mjs +14 -0
- package/dist/tv/getTvSeriesTranslations.mjs.map +1 -0
- package/dist/tv/getTvSeriesVideos.d.mts +45 -0
- package/dist/tv/getTvSeriesVideos.d.mts.map +1 -0
- package/dist/tv/getTvSeriesVideos.mjs +21 -0
- package/dist/tv/getTvSeriesVideos.mjs.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts +13 -0
- package/dist/tv/getTvSeriesWatchProviders.d.mts.map +1 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs +14 -0
- package/dist/tv/getTvSeriesWatchProviders.mjs.map +1 -0
- package/dist/tv/index.d.mts +57 -0
- package/dist/tv/index.mjs +56 -0
- package/dist/tv/types/AggregateCredits.d.mts +53 -0
- package/dist/tv/types/AggregateCredits.d.mts.map +1 -0
- package/dist/tv/types/AggregateCredits.mjs +41 -0
- package/dist/tv/types/AggregateCredits.mjs.map +1 -0
- package/dist/tv/types/ContentRatings.d.mts +21 -0
- package/dist/tv/types/ContentRatings.d.mts.map +1 -0
- package/dist/tv/types/ContentRatings.mjs +24 -0
- package/dist/tv/types/ContentRatings.mjs.map +1 -0
- package/dist/tv/types/EpisodeGroups.d.mts +64 -0
- package/dist/tv/types/EpisodeGroups.d.mts.map +1 -0
- package/dist/tv/types/EpisodeGroups.mjs +52 -0
- package/dist/tv/types/EpisodeGroups.mjs.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts +19 -0
- package/dist/tv/types/ScreenedTheatrically.d.mts.map +1 -0
- package/dist/tv/types/ScreenedTheatrically.mjs +22 -0
- package/dist/tv/types/ScreenedTheatrically.mjs.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts +20 -0
- package/dist/tv/types/TvAlternativeTitles.d.mts.map +1 -0
- package/dist/tv/types/TvAlternativeTitles.mjs +23 -0
- package/dist/tv/types/TvAlternativeTitles.mjs.map +1 -0
- package/dist/tv/types/TvCredits.d.mts +26 -0
- package/dist/tv/types/TvCredits.d.mts.map +1 -0
- package/dist/tv/types/TvCredits.mjs +27 -0
- package/dist/tv/types/TvCredits.mjs.map +1 -0
- package/dist/tv/types/TvEpisode.d.mts +48 -0
- package/dist/tv/types/TvEpisode.d.mts.map +1 -0
- package/dist/tv/types/TvEpisode.mjs +36 -0
- package/dist/tv/types/TvEpisode.mjs.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts +62 -0
- package/dist/tv/types/TvEpisodeDetails.d.mts.map +1 -0
- package/dist/tv/types/TvEpisodeDetails.mjs +36 -0
- package/dist/tv/types/TvEpisodeDetails.mjs.map +1 -0
- package/dist/tv/types/TvExternalIds.d.mts +47 -0
- package/dist/tv/types/TvExternalIds.d.mts.map +1 -0
- package/dist/tv/types/TvExternalIds.mjs +50 -0
- package/dist/tv/types/TvExternalIds.mjs.map +1 -0
- package/dist/tv/types/TvKeywords.d.mts +16 -0
- package/dist/tv/types/TvKeywords.d.mts.map +1 -0
- package/dist/tv/types/TvKeywords.mjs +18 -0
- package/dist/tv/types/TvKeywords.mjs.map +1 -0
- package/dist/tv/types/TvListItem.d.mts +106 -0
- package/dist/tv/types/TvListItem.d.mts.map +1 -0
- package/dist/tv/types/TvListItem.mjs +47 -0
- package/dist/tv/types/TvListItem.mjs.map +1 -0
- package/dist/tv/types/TvSeasonDetails.d.mts +99 -0
- package/dist/tv/types/TvSeasonDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeasonDetails.mjs +57 -0
- package/dist/tv/types/TvSeasonDetails.mjs.map +1 -0
- package/dist/tv/types/TvSeriesDetails.d.mts +193 -0
- package/dist/tv/types/TvSeriesDetails.d.mts.map +1 -0
- package/dist/tv/types/TvSeriesDetails.mjs +120 -0
- package/dist/tv/types/TvSeriesDetails.mjs.map +1 -0
- package/dist/tv/types/TvTranslations.d.mts +26 -0
- package/dist/tv/types/TvTranslations.d.mts.map +1 -0
- package/dist/tv/types/TvTranslations.mjs +25 -0
- package/dist/tv/types/TvTranslations.mjs.map +1 -0
- package/dist/tv/types/index.d.mts +15 -0
- package/dist/tv/types/index.mjs +15 -0
- package/dist/types/AlternativeNames.d.mts +18 -0
- package/dist/types/AlternativeNames.d.mts.map +1 -0
- package/dist/types/AlternativeNames.mjs +21 -0
- package/dist/types/AlternativeNames.mjs.map +1 -0
- package/dist/types/ChangeList.d.mts +17 -0
- package/dist/types/ChangeList.d.mts.map +1 -0
- package/dist/types/ChangeList.mjs +19 -0
- package/dist/types/ChangeList.mjs.map +1 -0
- package/dist/types/Changes.d.mts +46 -0
- package/dist/types/Changes.d.mts.map +1 -0
- package/dist/types/Changes.mjs +32 -0
- package/dist/types/Changes.mjs.map +1 -0
- package/dist/types/Credit.d.mts +89 -0
- package/dist/types/Credit.d.mts.map +1 -0
- package/dist/types/Credit.mjs +47 -0
- package/dist/types/Credit.mjs.map +1 -0
- package/dist/types/Genre.d.mts +18 -0
- package/dist/types/Genre.d.mts.map +1 -0
- package/dist/types/Genre.mjs +18 -0
- package/dist/types/Genre.mjs.map +1 -0
- package/dist/types/Images.d.mts +99 -0
- package/dist/types/Images.d.mts.map +1 -0
- package/dist/types/Images.mjs +75 -0
- package/dist/types/Images.mjs.map +1 -0
- package/dist/types/Keyword.d.mts +22 -0
- package/dist/types/Keyword.d.mts.map +1 -0
- package/dist/types/Keyword.mjs +21 -0
- package/dist/types/Keyword.mjs.map +1 -0
- package/dist/types/MediaListItem.d.mts +15 -0
- package/dist/types/MediaListItem.d.mts.map +1 -0
- package/dist/types/MediaListItem.mjs +21 -0
- package/dist/types/MediaListItem.mjs.map +1 -0
- package/dist/types/PagedResults.d.mts +26 -0
- package/dist/types/PagedResults.d.mts.map +1 -0
- package/dist/types/PagedResults.mjs +22 -0
- package/dist/types/PagedResults.mjs.map +1 -0
- package/dist/types/ProductionCompany.d.mts +24 -0
- package/dist/types/ProductionCompany.d.mts.map +1 -0
- package/dist/types/ProductionCompany.mjs +21 -0
- package/dist/types/ProductionCompany.mjs.map +1 -0
- package/dist/types/ProductionCountry.d.mts +20 -0
- package/dist/types/ProductionCountry.d.mts.map +1 -0
- package/dist/types/ProductionCountry.mjs +18 -0
- package/dist/types/ProductionCountry.mjs.map +1 -0
- package/dist/types/SpokenLanguage.d.mts +24 -0
- package/dist/types/SpokenLanguage.d.mts.map +1 -0
- package/dist/types/SpokenLanguage.mjs +20 -0
- package/dist/types/SpokenLanguage.mjs.map +1 -0
- package/dist/types/Translation.d.mts +27 -0
- package/dist/types/Translation.d.mts.map +1 -0
- package/dist/types/Translation.mjs +30 -0
- package/dist/types/Translation.mjs.map +1 -0
- package/dist/types/Video.d.mts +51 -0
- package/dist/types/Video.d.mts.map +1 -0
- package/dist/types/Video.mjs +37 -0
- package/dist/types/Video.mjs.map +1 -0
- package/dist/types/index.d.mts +15 -0
- package/dist/types/index.mjs +15 -0
- package/dist/utils/isNonNullable.d.mts +8 -0
- package/dist/utils/isNonNullable.d.mts.map +1 -0
- package/dist/utils/isNonNullable.mjs +10 -0
- package/dist/utils/isNonNullable.mjs.map +1 -0
- package/dist/utils/isObject.d.mts +2 -0
- package/dist/utils/isObject.d.mts.map +1 -0
- package/dist/utils/isObject.mjs +5 -0
- package/dist/utils/isObject.mjs.map +1 -0
- package/dist/utils/sleep.d.mts +5 -0
- package/dist/utils/sleep.d.mts.map +1 -0
- package/dist/utils/sleep.mjs +29 -0
- package/dist/utils/sleep.mjs.map +1 -0
- package/dist/utils/toCamelCase.d.mts +8 -0
- package/dist/utils/toCamelCase.d.mts.map +1 -0
- package/dist/utils/toCamelCase.mjs +11 -0
- package/dist/utils/toCamelCase.mjs.map +1 -0
- package/dist/utils/toCamelKeys.d.mts +17 -0
- package/dist/utils/toCamelKeys.d.mts.map +1 -0
- package/dist/utils/toCamelKeys.mjs +18 -0
- package/dist/utils/toCamelKeys.mjs.map +1 -0
- package/dist/utils/toSnakeCase.d.mts +2 -0
- package/dist/utils/toSnakeCase.d.mts.map +1 -0
- package/dist/utils/toSnakeCase.mjs +5 -0
- package/dist/utils/toSnakeCase.mjs.map +1 -0
- package/dist/utils/toSnakeKeys.d.mts +21 -0
- package/dist/utils/toSnakeKeys.d.mts.map +1 -0
- package/dist/utils/toSnakeKeys.mjs +18 -0
- package/dist/utils/toSnakeKeys.mjs.map +1 -0
- package/dist/validations/index.d.mts +4 -0
- package/dist/validations/index.mjs +4 -0
- package/dist/validations/integer.d.mts +8 -0
- package/dist/validations/integer.d.mts.map +1 -0
- package/dist/validations/integer.mjs +11 -0
- package/dist/validations/integer.mjs.map +1 -0
- package/dist/validations/isoDate.d.mts +4 -0
- package/dist/validations/isoDate.d.mts.map +1 -0
- package/dist/validations/isoDate.mjs +7 -0
- package/dist/validations/isoDate.mjs.map +1 -0
- package/dist/validations/schema.d.mts +96 -0
- package/dist/validations/schema.d.mts.map +1 -0
- package/dist/validations/schema.mjs +118 -0
- package/dist/validations/schema.mjs.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getMovieWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getMovieWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts +43 -0
- package/dist/watch-providers/getTvWatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs +16 -0
- package/dist/watch-providers/getTvWatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts +36 -0
- package/dist/watch-providers/getWatchProviderRegions.d.mts.map +1 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs +13 -0
- package/dist/watch-providers/getWatchProviderRegions.mjs.map +1 -0
- package/dist/watch-providers/index.d.mts +8 -0
- package/dist/watch-providers/index.mjs +7 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts +22 -0
- package/dist/watch-providers/types/WatchProviderList.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderList.mjs +22 -0
- package/dist/watch-providers/types/WatchProviderList.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts +15 -0
- package/dist/watch-providers/types/WatchProviderRegion.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs +14 -0
- package/dist/watch-providers/types/WatchProviderRegion.mjs.map +1 -0
- package/dist/watch-providers/types/WatchProviders.d.mts +33 -0
- package/dist/watch-providers/types/WatchProviders.d.mts.map +1 -0
- package/dist/watch-providers/types/WatchProviders.mjs +35 -0
- package/dist/watch-providers/types/WatchProviders.mjs.map +1 -0
- package/dist/watch-providers/types/index.d.mts +4 -0
- package/dist/watch-providers/types/index.mjs +4 -0
- package/package.json +54 -3
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/movie/types/MovieAlternativeTitles.ts
|
|
5
|
+
const _movieAlternativeTitlesSchema = v.object({
|
|
6
|
+
id: integer,
|
|
7
|
+
titles: v.array(v.object({
|
|
8
|
+
/** ISO 3166-1 code of the region that uses the title. */
|
|
9
|
+
iso_3166_1: v.string(),
|
|
10
|
+
title: v.string(),
|
|
11
|
+
/** What kind of title it is (e.g. `working title`), or `""`. */
|
|
12
|
+
type: v.string()
|
|
13
|
+
}))
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* ### Movie Alternative Titles
|
|
17
|
+
*
|
|
18
|
+
* The other titles a movie is known by, per region (`getMovieAlternativeTitles`).
|
|
19
|
+
*/
|
|
20
|
+
const movieAlternativeTitlesSchema = schema(_movieAlternativeTitlesSchema);
|
|
21
|
+
export { movieAlternativeTitlesSchema };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=MovieAlternativeTitles.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieAlternativeTitles.mjs","names":[],"sources":["../../../src/movie/types/MovieAlternativeTitles.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _movieAlternativeTitlesSchema = v.object({\n id: integer,\n titles: v.array(\n v.object({\n /** ISO 3166-1 code of the region that uses the title. */\n iso_3166_1: v.string(),\n title: v.string(),\n /** What kind of title it is (e.g. `working title`), or `\"\"`. */\n type: v.string()\n })\n )\n});\n\nexport interface MovieAlternativeTitles extends v.InferOutput<\n typeof _movieAlternativeTitlesSchema\n> {}\n\n/**\n * ### Movie Alternative Titles\n *\n * The other titles a movie is known by, per region (`getMovieAlternativeTitles`).\n */\nexport const movieAlternativeTitlesSchema = schema<MovieAlternativeTitles>(\n _movieAlternativeTitlesSchema\n);\n"],"mappings":";;;;AAIA,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI;CACJ,QAAQ,EAAE,MACR,EAAE,OAAO;;EAEP,YAAY,EAAE,OAAO;EACrB,OAAO,EAAE,OAAO;;EAEhB,MAAM,EAAE,OAAO;CACjB,CAAC,CACH;AACF,CAAC;;;;;;AAWD,MAAa,+BAA+B,OAC1C,6BACF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CrewCredit } from "../../types/Credit.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _movieCastCreditSchema: v.ObjectSchema<{
|
|
5
|
+
/** A movie-only id for the cast entry (credits are better identified by `creditId`). */
|
|
6
|
+
readonly castId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
7
|
+
readonly character: v.StringSchema<undefined>;
|
|
8
|
+
readonly creditId: v.StringSchema<undefined>;
|
|
9
|
+
readonly order: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
10
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
11
|
+
readonly gender: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
12
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
13
|
+
readonly knownForDepartment: v.StringSchema<undefined>;
|
|
14
|
+
readonly name: v.StringSchema<undefined>;
|
|
15
|
+
readonly originalName: v.StringSchema<undefined>;
|
|
16
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
17
|
+
readonly profilePath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
}, undefined>;
|
|
19
|
+
export interface MovieCastCredit extends v.InferOutput<typeof _movieCastCreditSchema> {}
|
|
20
|
+
/**
|
|
21
|
+
* ### Movie Cast Credit
|
|
22
|
+
*
|
|
23
|
+
* A person cast in a movie.
|
|
24
|
+
*/
|
|
25
|
+
export declare const movieCastCreditSchema: v.GenericSchema<MovieCastCredit>;
|
|
26
|
+
declare const _movieCreditsSchema: v.ObjectSchema<{
|
|
27
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
28
|
+
readonly cast: v.ArraySchema<v.GenericSchema<MovieCastCredit>, undefined>;
|
|
29
|
+
readonly crew: v.ArraySchema<v.GenericSchema<CrewCredit>, undefined>;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
export interface MovieCredits extends v.InferOutput<typeof _movieCreditsSchema> {}
|
|
32
|
+
/**
|
|
33
|
+
* ### Movie Credits
|
|
34
|
+
*
|
|
35
|
+
* A movie's cast, in billing order, and crew (`getMovieCredits`).
|
|
36
|
+
*/
|
|
37
|
+
export declare const movieCreditsSchema: v.GenericSchema<MovieCredits>;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=MovieCredits.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieCredits.d.mts","names":["_$______index_js0.CrewCredit"],"sources":["../../../src/movie/types/MovieCredits.ts"],"mappings":";;;cAKM,wBAAsB,EAAA;;;;;;;;;;;;;;;iBAMX,wBAAwB,EAAE,mBAClC;;;;;;qBAQI,uBAAqB,EAAA,cAAA;cAI5B,qBAAmB,EAAA;;;;;iBAMR,qBAAqB,EAAE,mBAC/B;;;;;;qBAQI,oBAAkB,EAAA,cAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { castCreditEntries, crewCreditSchema } from "../../types/Credit.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/movie/types/MovieCredits.ts
|
|
6
|
+
const _movieCastCreditSchema = v.object({
|
|
7
|
+
...castCreditEntries,
|
|
8
|
+
/** A movie-only id for the cast entry (credits are better identified by `creditId`). */
|
|
9
|
+
castId: integer
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* ### Movie Cast Credit
|
|
13
|
+
*
|
|
14
|
+
* A person cast in a movie.
|
|
15
|
+
*/
|
|
16
|
+
const movieCastCreditSchema = schema(_movieCastCreditSchema);
|
|
17
|
+
const _movieCreditsSchema = v.object({
|
|
18
|
+
id: integer,
|
|
19
|
+
cast: v.array(movieCastCreditSchema),
|
|
20
|
+
crew: v.array(crewCreditSchema)
|
|
21
|
+
});
|
|
22
|
+
/**
|
|
23
|
+
* ### Movie Credits
|
|
24
|
+
*
|
|
25
|
+
* A movie's cast, in billing order, and crew (`getMovieCredits`).
|
|
26
|
+
*/
|
|
27
|
+
const movieCreditsSchema = schema(_movieCreditsSchema);
|
|
28
|
+
export { movieCastCreditSchema, movieCreditsSchema };
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=MovieCredits.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieCredits.mjs","names":[],"sources":["../../../src/movie/types/MovieCredits.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { castCreditEntries, crewCreditSchema } from \"../../types/Credit.js\";\n\nconst _movieCastCreditSchema = v.object({\n ...castCreditEntries,\n /** A movie-only id for the cast entry (credits are better identified by `creditId`). */\n castId: integer\n});\n\nexport interface MovieCastCredit extends v.InferOutput<\n typeof _movieCastCreditSchema\n> {}\n\n/**\n * ### Movie Cast Credit\n *\n * A person cast in a movie.\n */\nexport const movieCastCreditSchema = schema<MovieCastCredit>(\n _movieCastCreditSchema\n);\n\nconst _movieCreditsSchema = v.object({\n id: integer,\n cast: v.array(movieCastCreditSchema),\n crew: v.array(crewCreditSchema)\n});\n\nexport interface MovieCredits extends v.InferOutput<\n typeof _movieCreditsSchema\n> {}\n\n/**\n * ### Movie Credits\n *\n * A movie's cast, in billing order, and crew (`getMovieCredits`).\n */\nexport const movieCreditsSchema = schema<MovieCredits>(_movieCreditsSchema);\n"],"mappings":";;;;;AAKA,MAAM,yBAAyB,EAAE,OAAO;CACtC,GAAG;;CAEH,QAAQ;AACV,CAAC;;;;;;AAWD,MAAa,wBAAwB,OACnC,sBACF;AAEA,MAAM,sBAAsB,EAAE,OAAO;CACnC,IAAI;CACJ,MAAM,EAAE,MAAM,qBAAqB;CACnC,MAAM,EAAE,MAAM,gBAAgB;AAChC,CAAC;;;;;;AAWD,MAAa,qBAAqB,OAAqB,mBAAmB"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { MediaImages } from "../../types/Images.mjs";
|
|
2
|
+
import { ProductionCompany } from "../../types/ProductionCompany.mjs";
|
|
3
|
+
import { SpokenLanguage } from "../../types/SpokenLanguage.mjs";
|
|
4
|
+
import { PagedMovieMediaResults, PagedMovieResults } from "./MovieListItem.mjs";
|
|
5
|
+
import { ListsContaining } from "../../list/types/ListsContaining.mjs";
|
|
6
|
+
import { MovieAlternativeTitles } from "./MovieAlternativeTitles.mjs";
|
|
7
|
+
import { MovieCredits } from "./MovieCredits.mjs";
|
|
8
|
+
import { MovieExternalIds } from "./MovieExternalIds.mjs";
|
|
9
|
+
import { MovieKeywords } from "./MovieKeywords.mjs";
|
|
10
|
+
import { MovieReleaseDates } from "./MovieReleaseDates.mjs";
|
|
11
|
+
import { MovieTranslations } from "./MovieTranslations.mjs";
|
|
12
|
+
import { Changes } from "../../types/Changes.mjs";
|
|
13
|
+
import { Reviews } from "../../review/types/Review.mjs";
|
|
14
|
+
import { Videos } from "../../types/Video.mjs";
|
|
15
|
+
import { WatchProviders } from "../../watch-providers/types/WatchProviders.mjs";
|
|
16
|
+
import { Genre } from "../../types/Genre.mjs";
|
|
17
|
+
import { ProductionCountry } from "../../types/ProductionCountry.mjs";
|
|
18
|
+
import "../../index.mjs";
|
|
19
|
+
import * as v from "valibot";
|
|
20
|
+
export declare const movieDetailsEntries: {
|
|
21
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
22
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
23
|
+
/** The collection (franchise) the movie is part of; see `getCollection`. */
|
|
24
|
+
readonly belongsToCollection: v.NullableSchema<v.ObjectSchema<{
|
|
25
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
26
|
+
readonly name: v.StringSchema<undefined>;
|
|
27
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
29
|
+
}, undefined>, undefined>;
|
|
30
|
+
/** US dollars; `0` when unknown. */
|
|
31
|
+
readonly budget: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
32
|
+
readonly genres: v.ArraySchema<v.GenericSchema<Genre>, undefined>;
|
|
33
|
+
readonly homepage: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
35
|
+
readonly imdbId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
36
|
+
/** ISO 3166-1 codes. */
|
|
37
|
+
readonly originCountry: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
39
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
40
|
+
/** `""` when TMDB has none. */
|
|
41
|
+
readonly overview: v.StringSchema<undefined>;
|
|
42
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
43
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
|
+
readonly productionCompanies: v.ArraySchema<v.GenericSchema<ProductionCompany>, undefined>;
|
|
45
|
+
readonly productionCountries: v.ArraySchema<v.GenericSchema<ProductionCountry>, undefined>;
|
|
46
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
47
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
48
|
+
/** US dollars; `0` when unknown. */
|
|
49
|
+
readonly revenue: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
50
|
+
/** Minutes; `0` when unknown. */
|
|
51
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
52
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
53
|
+
readonly spokenLanguages: v.ArraySchema<v.GenericSchema<SpokenLanguage>, undefined>;
|
|
54
|
+
/** `Released`, `Post Production`, `In Production`, `Planned`, `Rumored` or `Canceled`. */
|
|
55
|
+
readonly status: v.StringSchema<undefined>;
|
|
56
|
+
readonly tagline: v.StringSchema<undefined>;
|
|
57
|
+
readonly title: v.StringSchema<undefined>;
|
|
58
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
59
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
60
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
61
|
+
};
|
|
62
|
+
/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id` (verified against recorded responses). */
|
|
63
|
+
export declare const movieAppendedEntries: {
|
|
64
|
+
readonly alternativeTitles: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieAlternativeTitles, "id">>, undefined>;
|
|
65
|
+
readonly changes: v.ExactOptionalSchema<v.GenericSchema<Changes>, undefined>;
|
|
66
|
+
readonly credits: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieCredits, "id">>, undefined>;
|
|
67
|
+
readonly externalIds: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieExternalIds, "id">>, undefined>;
|
|
68
|
+
readonly images: v.ExactOptionalSchema<v.GenericSchema<Omit<MediaImages, "id">>, undefined>;
|
|
69
|
+
readonly keywords: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieKeywords, "id">>, undefined>;
|
|
70
|
+
readonly lists: v.ExactOptionalSchema<v.GenericSchema<Omit<ListsContaining, "id">>, undefined>;
|
|
71
|
+
readonly recommendations: v.ExactOptionalSchema<v.GenericSchema<PagedMovieMediaResults>, undefined>;
|
|
72
|
+
readonly releaseDates: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieReleaseDates, "id">>, undefined>;
|
|
73
|
+
readonly reviews: v.ExactOptionalSchema<v.GenericSchema<Omit<Reviews, "id">>, undefined>;
|
|
74
|
+
readonly similar: v.ExactOptionalSchema<v.GenericSchema<PagedMovieResults>, undefined>;
|
|
75
|
+
readonly translations: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieTranslations, "id">>, undefined>;
|
|
76
|
+
readonly videos: v.ExactOptionalSchema<v.GenericSchema<Omit<Videos, "id">>, undefined>;
|
|
77
|
+
/** The key keeps TMDB's slash: `details["watch/providers"]`. */
|
|
78
|
+
readonly "watch/providers": v.ExactOptionalSchema<v.GenericSchema<Omit<WatchProviders, "id">>, undefined>;
|
|
79
|
+
};
|
|
80
|
+
declare const _movieDetailsSchema: v.ObjectSchema<{
|
|
81
|
+
readonly alternativeTitles: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieAlternativeTitles, "id">>, undefined>;
|
|
82
|
+
readonly changes: v.ExactOptionalSchema<v.GenericSchema<Changes>, undefined>;
|
|
83
|
+
readonly credits: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieCredits, "id">>, undefined>;
|
|
84
|
+
readonly externalIds: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieExternalIds, "id">>, undefined>;
|
|
85
|
+
readonly images: v.ExactOptionalSchema<v.GenericSchema<Omit<MediaImages, "id">>, undefined>;
|
|
86
|
+
readonly keywords: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieKeywords, "id">>, undefined>;
|
|
87
|
+
readonly lists: v.ExactOptionalSchema<v.GenericSchema<Omit<ListsContaining, "id">>, undefined>;
|
|
88
|
+
readonly recommendations: v.ExactOptionalSchema<v.GenericSchema<PagedMovieMediaResults>, undefined>;
|
|
89
|
+
readonly releaseDates: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieReleaseDates, "id">>, undefined>;
|
|
90
|
+
readonly reviews: v.ExactOptionalSchema<v.GenericSchema<Omit<Reviews, "id">>, undefined>;
|
|
91
|
+
readonly similar: v.ExactOptionalSchema<v.GenericSchema<PagedMovieResults>, undefined>;
|
|
92
|
+
readonly translations: v.ExactOptionalSchema<v.GenericSchema<Omit<MovieTranslations, "id">>, undefined>;
|
|
93
|
+
readonly videos: v.ExactOptionalSchema<v.GenericSchema<Omit<Videos, "id">>, undefined>;
|
|
94
|
+
/** The key keeps TMDB's slash: `details["watch/providers"]`. */
|
|
95
|
+
readonly "watch/providers": v.ExactOptionalSchema<v.GenericSchema<Omit<WatchProviders, "id">>, undefined>;
|
|
96
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
97
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
/** The collection (franchise) the movie is part of; see `getCollection`. */
|
|
99
|
+
readonly belongsToCollection: v.NullableSchema<v.ObjectSchema<{
|
|
100
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
101
|
+
readonly name: v.StringSchema<undefined>;
|
|
102
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
103
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
+
}, undefined>, undefined>;
|
|
105
|
+
/** US dollars; `0` when unknown. */
|
|
106
|
+
readonly budget: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
107
|
+
readonly genres: v.ArraySchema<v.GenericSchema<Genre>, undefined>;
|
|
108
|
+
readonly homepage: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
110
|
+
readonly imdbId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
111
|
+
/** ISO 3166-1 codes. */
|
|
112
|
+
readonly originCountry: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
114
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
115
|
+
/** `""` when TMDB has none. */
|
|
116
|
+
readonly overview: v.StringSchema<undefined>;
|
|
117
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
118
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
119
|
+
readonly productionCompanies: v.ArraySchema<v.GenericSchema<ProductionCompany>, undefined>;
|
|
120
|
+
readonly productionCountries: v.ArraySchema<v.GenericSchema<ProductionCountry>, undefined>;
|
|
121
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
122
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
123
|
+
/** US dollars; `0` when unknown. */
|
|
124
|
+
readonly revenue: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
125
|
+
/** Minutes; `0` when unknown. */
|
|
126
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
127
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
128
|
+
readonly spokenLanguages: v.ArraySchema<v.GenericSchema<SpokenLanguage>, undefined>;
|
|
129
|
+
/** `Released`, `Post Production`, `In Production`, `Planned`, `Rumored` or `Canceled`. */
|
|
130
|
+
readonly status: v.StringSchema<undefined>;
|
|
131
|
+
readonly tagline: v.StringSchema<undefined>;
|
|
132
|
+
readonly title: v.StringSchema<undefined>;
|
|
133
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
134
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
135
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
136
|
+
}, undefined>;
|
|
137
|
+
export interface MovieDetails extends v.InferOutput<typeof _movieDetailsSchema> {}
|
|
138
|
+
/**
|
|
139
|
+
* ### Movie Details
|
|
140
|
+
*
|
|
141
|
+
* A movie (`getMovie`, `getLatestMovie`), plus whatever `appendToResponse` asked for.
|
|
142
|
+
*/
|
|
143
|
+
export declare const movieDetailsSchema: v.GenericSchema<MovieDetails>;
|
|
144
|
+
export {};
|
|
145
|
+
//# sourceMappingURL=MovieDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieDetails.d.mts","names":["_$______index_js0.Genre","_$______index_js0.ProductionCompany","_$______index_js0.ProductionCountry","_$______index_js0.SpokenLanguage","_$__MovieAlternativeTitles_js0.MovieAlternativeTitles","_$______index_js0.Changes","_$__MovieCredits_js0.MovieCredits","_$__MovieExternalIds_js0.MovieExternalIds","_$______index_js0.MediaImages","_$__MovieKeywords_js0.MovieKeywords","_$______index_js0.ListsContaining","_$__MovieListItem_js0.PagedMovieMediaResults","_$__MovieReleaseDates_js0.MovieReleaseDates","_$______index_js0.Reviews","_$__MovieListItem_js0.PagedMovieResults","_$__MovieTranslations_js0.MovieTranslations","_$______index_js0.Videos","_$______index_js0.WatchProviders"],"sources":["../../../src/movie/types/MovieDetails.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAwBa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8CA;W,8DAAAI;;;;;;;;;;;;;;;;cAoBP,qBAAmB,EAAA;W,8DAAnBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKW,qBAAqB,EAAE,mBAC/B;;;;;;qBAQI,oBAAkB,EAAA,cAAA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { omitFields, schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { pagedMovieMediaResultsSchema, pagedMovieResultsSchema } from "./MovieListItem.mjs";
|
|
4
|
+
import { productionCompanySchema } from "../../types/ProductionCompany.mjs";
|
|
5
|
+
import { spokenLanguageSchema } from "../../types/SpokenLanguage.mjs";
|
|
6
|
+
import { movieReleaseDatesSchema } from "./MovieReleaseDates.mjs";
|
|
7
|
+
import { genreSchema } from "../../types/Genre.mjs";
|
|
8
|
+
import { listsContainingSchema } from "../../list/types/ListsContaining.mjs";
|
|
9
|
+
import { movieAlternativeTitlesSchema } from "./MovieAlternativeTitles.mjs";
|
|
10
|
+
import { movieCreditsSchema } from "./MovieCredits.mjs";
|
|
11
|
+
import { changesSchema } from "../../types/Changes.mjs";
|
|
12
|
+
import { mediaImagesSchema } from "../../types/Images.mjs";
|
|
13
|
+
import { productionCountrySchema } from "../../types/ProductionCountry.mjs";
|
|
14
|
+
import { videosSchema } from "../../types/Video.mjs";
|
|
15
|
+
import { reviewsSchema } from "../../review/types/Review.mjs";
|
|
16
|
+
import { watchProvidersSchema } from "../../watch-providers/types/WatchProviders.mjs";
|
|
17
|
+
import { movieExternalIdsSchema } from "./MovieExternalIds.mjs";
|
|
18
|
+
import { movieKeywordsSchema } from "./MovieKeywords.mjs";
|
|
19
|
+
import { movieTranslationsSchema } from "./MovieTranslations.mjs";
|
|
20
|
+
import * as v from "valibot";
|
|
21
|
+
// src/movie/types/MovieDetails.ts
|
|
22
|
+
const movieDetailsEntries = {
|
|
23
|
+
adult: v.boolean(),
|
|
24
|
+
backdropPath: v.nullable(v.string()),
|
|
25
|
+
/** The collection (franchise) the movie is part of; see `getCollection`. */
|
|
26
|
+
belongsToCollection: v.nullable(v.object({
|
|
27
|
+
id: integer,
|
|
28
|
+
name: v.string(),
|
|
29
|
+
posterPath: v.nullable(v.string()),
|
|
30
|
+
backdropPath: v.nullable(v.string())
|
|
31
|
+
})),
|
|
32
|
+
/** US dollars; `0` when unknown. */
|
|
33
|
+
budget: integer,
|
|
34
|
+
genres: v.array(genreSchema),
|
|
35
|
+
homepage: v.nullable(v.string()),
|
|
36
|
+
id: integer,
|
|
37
|
+
imdbId: v.nullable(v.string()),
|
|
38
|
+
/** ISO 3166-1 codes. */
|
|
39
|
+
originCountry: v.array(v.string()),
|
|
40
|
+
originalLanguage: v.string(),
|
|
41
|
+
originalTitle: v.string(),
|
|
42
|
+
/** `""` when TMDB has none. */
|
|
43
|
+
overview: v.string(),
|
|
44
|
+
popularity: v.number(),
|
|
45
|
+
posterPath: v.nullable(v.string()),
|
|
46
|
+
productionCompanies: v.array(productionCompanySchema),
|
|
47
|
+
productionCountries: v.array(productionCountrySchema),
|
|
48
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
49
|
+
releaseDate: v.string(),
|
|
50
|
+
/** US dollars; `0` when unknown. */
|
|
51
|
+
revenue: integer,
|
|
52
|
+
/** Minutes; `0` when unknown. */
|
|
53
|
+
runtime: v.nullable(integer),
|
|
54
|
+
softcore: v.boolean(),
|
|
55
|
+
spokenLanguages: v.array(spokenLanguageSchema),
|
|
56
|
+
/** `Released`, `Post Production`, `In Production`, `Planned`, `Rumored` or `Canceled`. */
|
|
57
|
+
status: v.string(),
|
|
58
|
+
tagline: v.string(),
|
|
59
|
+
title: v.string(),
|
|
60
|
+
video: v.boolean(),
|
|
61
|
+
voteAverage: v.number(),
|
|
62
|
+
voteCount: integer
|
|
63
|
+
};
|
|
64
|
+
/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id` (verified against recorded responses). */
|
|
65
|
+
const movieAppendedEntries = {
|
|
66
|
+
alternativeTitles: v.exactOptional(omitFields(movieAlternativeTitlesSchema, [`id`])),
|
|
67
|
+
changes: v.exactOptional(changesSchema),
|
|
68
|
+
credits: v.exactOptional(omitFields(movieCreditsSchema, [`id`])),
|
|
69
|
+
externalIds: v.exactOptional(omitFields(movieExternalIdsSchema, [`id`])),
|
|
70
|
+
images: v.exactOptional(omitFields(mediaImagesSchema, [`id`])),
|
|
71
|
+
keywords: v.exactOptional(omitFields(movieKeywordsSchema, [`id`])),
|
|
72
|
+
lists: v.exactOptional(omitFields(listsContainingSchema, [`id`])),
|
|
73
|
+
recommendations: v.exactOptional(pagedMovieMediaResultsSchema),
|
|
74
|
+
releaseDates: v.exactOptional(omitFields(movieReleaseDatesSchema, [`id`])),
|
|
75
|
+
reviews: v.exactOptional(omitFields(reviewsSchema, [`id`])),
|
|
76
|
+
similar: v.exactOptional(pagedMovieResultsSchema),
|
|
77
|
+
translations: v.exactOptional(omitFields(movieTranslationsSchema, [`id`])),
|
|
78
|
+
videos: v.exactOptional(omitFields(videosSchema, [`id`])),
|
|
79
|
+
/** The key keeps TMDB's slash: `details["watch/providers"]`. */
|
|
80
|
+
"watch/providers": v.exactOptional(omitFields(watchProvidersSchema, [`id`]))
|
|
81
|
+
};
|
|
82
|
+
const _movieDetailsSchema = v.object({
|
|
83
|
+
...movieDetailsEntries,
|
|
84
|
+
...movieAppendedEntries
|
|
85
|
+
});
|
|
86
|
+
/**
|
|
87
|
+
* ### Movie Details
|
|
88
|
+
*
|
|
89
|
+
* A movie (`getMovie`, `getLatestMovie`), plus whatever `appendToResponse` asked for.
|
|
90
|
+
*/
|
|
91
|
+
const movieDetailsSchema = schema(_movieDetailsSchema);
|
|
92
|
+
export { movieAppendedEntries, movieDetailsEntries, movieDetailsSchema };
|
|
93
|
+
|
|
94
|
+
//# sourceMappingURL=MovieDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieDetails.mjs","names":[],"sources":["../../../src/movie/types/MovieDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { omitFields, schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { changesSchema } from \"../../types/Changes.js\";\nimport { genreSchema } from \"../../types/Genre.js\";\nimport { mediaImagesSchema } from \"../../types/Images.js\";\nimport { productionCompanySchema } from \"../../types/ProductionCompany.js\";\nimport { productionCountrySchema } from \"../../types/ProductionCountry.js\";\nimport { spokenLanguageSchema } from \"../../types/SpokenLanguage.js\";\nimport { videosSchema } from \"../../types/Video.js\";\nimport { listsContainingSchema } from \"../../list/types/ListsContaining.js\";\nimport { reviewsSchema } from \"../../review/types/Review.js\";\nimport { watchProvidersSchema } from \"../../watch-providers/types/WatchProviders.js\";\nimport { movieAlternativeTitlesSchema } from \"./MovieAlternativeTitles.js\";\nimport { movieCreditsSchema } from \"./MovieCredits.js\";\nimport { movieExternalIdsSchema } from \"./MovieExternalIds.js\";\nimport { movieKeywordsSchema } from \"./MovieKeywords.js\";\nimport {\n pagedMovieMediaResultsSchema,\n pagedMovieResultsSchema\n} from \"./MovieListItem.js\";\nimport { movieReleaseDatesSchema } from \"./MovieReleaseDates.js\";\nimport { movieTranslationsSchema } from \"./MovieTranslations.js\";\n\nexport const movieDetailsEntries = {\n adult: v.boolean(),\n backdropPath: v.nullable(v.string()),\n /** The collection (franchise) the movie is part of; see `getCollection`. */\n belongsToCollection: v.nullable(\n v.object({\n id: integer,\n name: v.string(),\n posterPath: v.nullable(v.string()),\n backdropPath: v.nullable(v.string())\n })\n ),\n /** US dollars; `0` when unknown. */\n budget: integer,\n genres: v.array(genreSchema),\n homepage: v.nullable(v.string()),\n id: integer,\n imdbId: v.nullable(v.string()),\n /** ISO 3166-1 codes. */\n originCountry: v.array(v.string()),\n originalLanguage: v.string(),\n originalTitle: v.string(),\n /** `\"\"` when TMDB has none. */\n overview: v.string(),\n popularity: v.number(),\n posterPath: v.nullable(v.string()),\n productionCompanies: v.array(productionCompanySchema),\n productionCountries: v.array(productionCountrySchema),\n /** `YYYY-MM-DD`, or `\"\"` when unknown. */\n releaseDate: v.string(),\n /** US dollars; `0` when unknown. */\n revenue: integer,\n /** Minutes; `0` when unknown. */\n runtime: v.nullable(integer),\n softcore: v.boolean(),\n spokenLanguages: v.array(spokenLanguageSchema),\n /** `Released`, `Post Production`, `In Production`, `Planned`, `Rumored` or `Canceled`. */\n status: v.string(),\n tagline: v.string(),\n title: v.string(),\n video: v.boolean(),\n voteAverage: v.number(),\n voteCount: integer\n} as const;\n\n/** What `appendToResponse` adds: each key holds the matching endpoint's response without its `id` (verified against recorded responses). */\nexport const movieAppendedEntries = {\n alternativeTitles: v.exactOptional(\n omitFields(movieAlternativeTitlesSchema, [`id`])\n ),\n changes: v.exactOptional(changesSchema),\n credits: v.exactOptional(omitFields(movieCreditsSchema, [`id`])),\n externalIds: v.exactOptional(omitFields(movieExternalIdsSchema, [`id`])),\n images: v.exactOptional(omitFields(mediaImagesSchema, [`id`])),\n keywords: v.exactOptional(omitFields(movieKeywordsSchema, [`id`])),\n lists: v.exactOptional(omitFields(listsContainingSchema, [`id`])),\n recommendations: v.exactOptional(pagedMovieMediaResultsSchema),\n releaseDates: v.exactOptional(omitFields(movieReleaseDatesSchema, [`id`])),\n reviews: v.exactOptional(omitFields(reviewsSchema, [`id`])),\n similar: v.exactOptional(pagedMovieResultsSchema),\n translations: v.exactOptional(omitFields(movieTranslationsSchema, [`id`])),\n videos: v.exactOptional(omitFields(videosSchema, [`id`])),\n /** The key keeps TMDB's slash: `details[\"watch/providers\"]`. */\n \"watch/providers\": v.exactOptional(omitFields(watchProvidersSchema, [`id`]))\n} as const;\n\nconst _movieDetailsSchema = v.object({\n ...movieDetailsEntries,\n ...movieAppendedEntries\n});\n\nexport interface MovieDetails extends v.InferOutput<\n typeof _movieDetailsSchema\n> {}\n\n/**\n * ### Movie Details\n *\n * A movie (`getMovie`, `getLatestMovie`), plus whatever `appendToResponse` asked for.\n */\nexport const movieDetailsSchema = schema<MovieDetails>(_movieDetailsSchema);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwBA,MAAa,sBAAsB;CACjC,OAAO,EAAE,QAAQ;CACjB,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;;CAEnC,qBAAqB,EAAE,SACrB,EAAE,OAAO;EACP,IAAI;EACJ,MAAM,EAAE,OAAO;EACf,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;EACjC,cAAc,EAAE,SAAS,EAAE,OAAO,CAAC;CACrC,CAAC,CACH;;CAEA,QAAQ;CACR,QAAQ,EAAE,MAAM,WAAW;CAC3B,UAAU,EAAE,SAAS,EAAE,OAAO,CAAC;CAC/B,IAAI;CACJ,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;;CAE7B,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC;CACjC,kBAAkB,EAAE,OAAO;CAC3B,eAAe,EAAE,OAAO;;CAExB,UAAU,EAAE,OAAO;CACnB,YAAY,EAAE,OAAO;CACrB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;CACjC,qBAAqB,EAAE,MAAM,uBAAuB;CACpD,qBAAqB,EAAE,MAAM,uBAAuB;;CAEpD,aAAa,EAAE,OAAO;;CAEtB,SAAS;;CAET,SAAS,EAAE,SAAS,OAAO;CAC3B,UAAU,EAAE,QAAQ;CACpB,iBAAiB,EAAE,MAAM,oBAAoB;;CAE7C,QAAQ,EAAE,OAAO;CACjB,SAAS,EAAE,OAAO;CAClB,OAAO,EAAE,OAAO;CAChB,OAAO,EAAE,QAAQ;CACjB,aAAa,EAAE,OAAO;CACtB,WAAW;AACb;;AAGA,MAAa,uBAAuB;CAClC,mBAAmB,EAAE,cACnB,WAAW,8BAA8B,CAAC,IAAI,CAAC,CACjD;CACA,SAAS,EAAE,cAAc,aAAa;CACtC,SAAS,EAAE,cAAc,WAAW,oBAAoB,CAAC,IAAI,CAAC,CAAC;CAC/D,aAAa,EAAE,cAAc,WAAW,wBAAwB,CAAC,IAAI,CAAC,CAAC;CACvE,QAAQ,EAAE,cAAc,WAAW,mBAAmB,CAAC,IAAI,CAAC,CAAC;CAC7D,UAAU,EAAE,cAAc,WAAW,qBAAqB,CAAC,IAAI,CAAC,CAAC;CACjE,OAAO,EAAE,cAAc,WAAW,uBAAuB,CAAC,IAAI,CAAC,CAAC;CAChE,iBAAiB,EAAE,cAAc,4BAA4B;CAC7D,cAAc,EAAE,cAAc,WAAW,yBAAyB,CAAC,IAAI,CAAC,CAAC;CACzE,SAAS,EAAE,cAAc,WAAW,eAAe,CAAC,IAAI,CAAC,CAAC;CAC1D,SAAS,EAAE,cAAc,uBAAuB;CAChD,cAAc,EAAE,cAAc,WAAW,yBAAyB,CAAC,IAAI,CAAC,CAAC;CACzE,QAAQ,EAAE,cAAc,WAAW,cAAc,CAAC,IAAI,CAAC,CAAC;;CAExD,mBAAmB,EAAE,cAAc,WAAW,sBAAsB,CAAC,IAAI,CAAC,CAAC;AAC7E;AAEA,MAAM,sBAAsB,EAAE,OAAO;CACnC,GAAG;CACH,GAAG;AACL,CAAC;;;;;;AAWD,MAAa,qBAAqB,OAAqB,mBAAmB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _movieExternalIdsSchema: v.ObjectSchema<{
|
|
3
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
4
|
+
/** `tt…`, or `null` when unknown. */
|
|
5
|
+
readonly imdbId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
readonly wikidataId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
readonly facebookId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
|
+
readonly instagramId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
+
readonly twitterId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
export interface MovieExternalIds extends v.InferOutput<typeof _movieExternalIdsSchema> {}
|
|
12
|
+
/**
|
|
13
|
+
* ### Movie External IDs
|
|
14
|
+
*
|
|
15
|
+
* A movie's ids on other sites (`getMovieExternalIds`). Each is `null` when TMDB doesn't have it.
|
|
16
|
+
*/
|
|
17
|
+
export declare const movieExternalIdsSchema: v.GenericSchema<MovieExternalIds>;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=MovieExternalIds.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieExternalIds.d.mts","names":[],"sources":["../../../src/movie/types/MovieExternalIds.ts"],"mappings":";cAIM,yBAAuB,EAAA;;;;;;;;;iBAUZ,yBAAyB,EAAE,mBACnC;;;;;;qBAQI,wBAAsB,EAAA,cAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/movie/types/MovieExternalIds.ts
|
|
5
|
+
const _movieExternalIdsSchema = v.object({
|
|
6
|
+
id: integer,
|
|
7
|
+
/** `tt…`, or `null` when unknown. */
|
|
8
|
+
imdbId: v.nullable(v.string()),
|
|
9
|
+
wikidataId: v.nullable(v.string()),
|
|
10
|
+
facebookId: v.nullable(v.string()),
|
|
11
|
+
instagramId: v.nullable(v.string()),
|
|
12
|
+
twitterId: v.nullable(v.string())
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* ### Movie External IDs
|
|
16
|
+
*
|
|
17
|
+
* A movie's ids on other sites (`getMovieExternalIds`). Each is `null` when TMDB doesn't have it.
|
|
18
|
+
*/
|
|
19
|
+
const movieExternalIdsSchema = schema(_movieExternalIdsSchema);
|
|
20
|
+
export { movieExternalIdsSchema };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=MovieExternalIds.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieExternalIds.mjs","names":[],"sources":["../../../src/movie/types/MovieExternalIds.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\n\nconst _movieExternalIdsSchema = v.object({\n id: integer,\n /** `tt…`, or `null` when unknown. */\n imdbId: v.nullable(v.string()),\n wikidataId: v.nullable(v.string()),\n facebookId: v.nullable(v.string()),\n instagramId: v.nullable(v.string()),\n twitterId: v.nullable(v.string())\n});\n\nexport interface MovieExternalIds extends v.InferOutput<\n typeof _movieExternalIdsSchema\n> {}\n\n/**\n * ### Movie External IDs\n *\n * A movie's ids on other sites (`getMovieExternalIds`). Each is `null` when TMDB doesn't have it.\n */\nexport const movieExternalIdsSchema = schema<MovieExternalIds>(\n _movieExternalIdsSchema\n);\n"],"mappings":";;;;AAIA,MAAM,0BAA0B,EAAE,OAAO;CACvC,IAAI;;CAEJ,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC;CAC7B,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;CACjC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;CACjC,aAAa,EAAE,SAAS,EAAE,OAAO,CAAC;CAClC,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC;AAClC,CAAC;;;;;;AAWD,MAAa,yBAAyB,OACpC,uBACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Keyword } from "../../types/Keyword.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _movieKeywordsSchema: v.ObjectSchema<{
|
|
5
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
6
|
+
readonly keywords: v.ArraySchema<v.GenericSchema<Keyword>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
export interface MovieKeywords extends v.InferOutput<typeof _movieKeywordsSchema> {}
|
|
9
|
+
/**
|
|
10
|
+
* ### Movie Keywords
|
|
11
|
+
*
|
|
12
|
+
* The keywords a movie is tagged with (`getMovieKeywords`). TV keywords come back under `results` instead (see `TvKeywords`).
|
|
13
|
+
*/
|
|
14
|
+
export declare const movieKeywordsSchema: v.GenericSchema<MovieKeywords>;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=MovieKeywords.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieKeywords.d.mts","names":["_$______index_js0.Keyword"],"sources":["../../../src/movie/types/MovieKeywords.ts"],"mappings":";;;cAKM,sBAAoB,EAAA;;;;iBAKT,sBAAsB,EAAE,mBAChC;;;;;;qBAQI,qBAAmB,EAAA,cAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { keywordSchema } from "../../types/Keyword.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/movie/types/MovieKeywords.ts
|
|
6
|
+
const _movieKeywordsSchema = v.object({
|
|
7
|
+
id: integer,
|
|
8
|
+
keywords: v.array(keywordSchema)
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* ### Movie Keywords
|
|
12
|
+
*
|
|
13
|
+
* The keywords a movie is tagged with (`getMovieKeywords`). TV keywords come back under `results` instead (see `TvKeywords`).
|
|
14
|
+
*/
|
|
15
|
+
const movieKeywordsSchema = schema(_movieKeywordsSchema);
|
|
16
|
+
export { movieKeywordsSchema };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=MovieKeywords.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieKeywords.mjs","names":[],"sources":["../../../src/movie/types/MovieKeywords.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { keywordSchema } from \"../../types/Keyword.js\";\n\nconst _movieKeywordsSchema = v.object({\n id: integer,\n keywords: v.array(keywordSchema)\n});\n\nexport interface MovieKeywords extends v.InferOutput<\n typeof _movieKeywordsSchema\n> {}\n\n/**\n * ### Movie Keywords\n *\n * The keywords a movie is tagged with (`getMovieKeywords`). TV keywords come back under `results` instead (see `TvKeywords`).\n */\nexport const movieKeywordsSchema = schema<MovieKeywords>(_movieKeywordsSchema);\n"],"mappings":";;;;;AAKA,MAAM,uBAAuB,EAAE,OAAO;CACpC,IAAI;CACJ,UAAU,EAAE,MAAM,aAAa;AACjC,CAAC;;;;;;AAWD,MAAa,sBAAsB,OAAsB,oBAAoB"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { PagedResults } from "../../types/PagedResults.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
export declare const movieListItemEntries: {
|
|
4
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
5
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
|
+
/** Ids into `getMovieGenres`. */
|
|
7
|
+
readonly genreIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
8
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
9
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
10
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
11
|
+
/** `""` when TMDB has none. */
|
|
12
|
+
readonly overview: v.StringSchema<undefined>;
|
|
13
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
14
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
16
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
17
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
18
|
+
readonly title: v.StringSchema<undefined>;
|
|
19
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
20
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
21
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
22
|
+
};
|
|
23
|
+
declare const _movieListItemSchema: v.ObjectSchema<{
|
|
24
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
25
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
26
|
+
/** Ids into `getMovieGenres`. */
|
|
27
|
+
readonly genreIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
28
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
29
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
30
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
31
|
+
/** `""` when TMDB has none. */
|
|
32
|
+
readonly overview: v.StringSchema<undefined>;
|
|
33
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
34
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
35
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
36
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
37
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
38
|
+
readonly title: v.StringSchema<undefined>;
|
|
39
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
40
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
41
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
42
|
+
}, undefined>;
|
|
43
|
+
export interface MovieListItem extends v.InferOutput<typeof _movieListItemSchema> {}
|
|
44
|
+
/**
|
|
45
|
+
* ### Movie List Item
|
|
46
|
+
*
|
|
47
|
+
* The summary of a movie that list, search and discover endpoints return. Fetch `getMovie` for the details.
|
|
48
|
+
*/
|
|
49
|
+
export declare const movieListItemSchema: v.GenericSchema<MovieListItem>;
|
|
50
|
+
export declare const movieMediaListItemEntries: {
|
|
51
|
+
readonly mediaType: v.LiteralSchema<"movie", undefined>;
|
|
52
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
53
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
54
|
+
/** Ids into `getMovieGenres`. */
|
|
55
|
+
readonly genreIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
56
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
57
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
58
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
59
|
+
/** `""` when TMDB has none. */
|
|
60
|
+
readonly overview: v.StringSchema<undefined>;
|
|
61
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
62
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
64
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
65
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
66
|
+
readonly title: v.StringSchema<undefined>;
|
|
67
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
68
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
69
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
70
|
+
};
|
|
71
|
+
declare const _movieMediaListItemSchema: v.ObjectSchema<{
|
|
72
|
+
readonly mediaType: v.LiteralSchema<"movie", undefined>;
|
|
73
|
+
readonly adult: v.BooleanSchema<undefined>;
|
|
74
|
+
readonly backdropPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
/** Ids into `getMovieGenres`. */
|
|
76
|
+
readonly genreIds: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
77
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
78
|
+
readonly originalLanguage: v.StringSchema<undefined>;
|
|
79
|
+
readonly originalTitle: v.StringSchema<undefined>;
|
|
80
|
+
/** `""` when TMDB has none. */
|
|
81
|
+
readonly overview: v.StringSchema<undefined>;
|
|
82
|
+
readonly popularity: v.NumberSchema<undefined>;
|
|
83
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
84
|
+
/** `YYYY-MM-DD`, or `""` when unknown. */
|
|
85
|
+
readonly releaseDate: v.StringSchema<undefined>;
|
|
86
|
+
readonly softcore: v.BooleanSchema<undefined>;
|
|
87
|
+
readonly title: v.StringSchema<undefined>;
|
|
88
|
+
readonly video: v.BooleanSchema<undefined>;
|
|
89
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
90
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
91
|
+
}, undefined>;
|
|
92
|
+
export interface MovieMediaListItem extends v.InferOutput<typeof _movieMediaListItemSchema> {}
|
|
93
|
+
/** A {@link MovieListItem} tagged with `mediaType: "movie"`, as endpoints that can mix media types return it (recommendations, trending, collections, lists). */
|
|
94
|
+
export declare const movieMediaListItemSchema: v.GenericSchema<MovieMediaListItem>;
|
|
95
|
+
export interface PagedMovieResults extends PagedResults<MovieListItem> {}
|
|
96
|
+
/** A page of {@link MovieListItem}s. */
|
|
97
|
+
export declare const pagedMovieResultsSchema: v.GenericSchema<PagedMovieResults>;
|
|
98
|
+
export interface PagedMovieMediaResults extends PagedResults<MovieMediaListItem> {}
|
|
99
|
+
/** A page of {@link MovieMediaListItem}s. */
|
|
100
|
+
export declare const pagedMovieMediaResultsSchema: v.GenericSchema<PagedMovieMediaResults>;
|
|
101
|
+
declare const _datedMovieResultsSchema: v.ObjectSchema<{
|
|
102
|
+
readonly results: v.ArraySchema<v.GenericSchema<MovieListItem>, undefined>;
|
|
103
|
+
/** The release-date window the list covers, as `YYYY-MM-DD`. */
|
|
104
|
+
readonly dates: v.ObjectSchema<{
|
|
105
|
+
readonly maximum: v.StringSchema<undefined>;
|
|
106
|
+
readonly minimum: v.StringSchema<undefined>;
|
|
107
|
+
}, undefined>;
|
|
108
|
+
readonly page: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
109
|
+
readonly totalPages: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
110
|
+
readonly totalResults: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
111
|
+
}, undefined>;
|
|
112
|
+
export interface DatedMovieResults extends v.InferOutput<typeof _datedMovieResultsSchema> {}
|
|
113
|
+
/** A page of {@link MovieListItem}s with the date window it covers (`getNowPlayingMovies`, `getUpcomingMovies`). */
|
|
114
|
+
export declare const datedMovieResultsSchema: v.GenericSchema<DatedMovieResults>;
|
|
115
|
+
export {};
|
|
116
|
+
//# sourceMappingURL=MovieListItem.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MovieListItem.d.mts","names":[],"sources":["../../../src/movie/types/MovieListItem.ts"],"mappings":";;qBASa;;;;;;;;;;;;;;;;;;;;cAqBP,sBAAoB,EAAA;;;;;;;;;;;;;;;;;;;;iBAET,sBAAsB,EAAE,mBAChC;;;;;;qBAQI,qBAAmB,EAAA,cAAA;qBAEnB;;;;;;;;;;;;;;;;;;;;;cAKP,2BAAyB,EAAA;;;;;;;;;;;;;;;;;;;;;iBAEd,2BAA2B,EAAE,mBACrC;;qBAII,0BAAwB,EAAA,cAAA;iBAIpB,0BAA0B,aAAa;;qBAG3C,yBAAuB,EAAA,cAAA;iBAInB,+BAA+B,aAAa;;qBAGhD,8BAA4B,EAAA,cAAA;cAInC,0BAAwB,EAAA;;;;;;;;;;;iBAOb,0BAA0B,EAAE,mBACpC;;qBAII,yBAAuB,EAAA,cAAA"}
|