@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,80 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import { integer } from "../validations/integer.mjs";
|
|
3
|
+
import { isoDate } from "../validations/isoDate.mjs";
|
|
4
|
+
import * as v from "valibot";
|
|
5
|
+
// src/discover/discoverTvSeries.ts
|
|
6
|
+
const discoverTvSeriesSchema = v.object({ params: v.exactOptional(v.partial(v.object({
|
|
7
|
+
firstAirDateYear: integer,
|
|
8
|
+
includeAdult: v.boolean(),
|
|
9
|
+
includeNullFirstAirDates: v.boolean(),
|
|
10
|
+
language: v.string(),
|
|
11
|
+
page: integer,
|
|
12
|
+
screenedTheatrically: v.boolean(),
|
|
13
|
+
sortBy: v.picklist([
|
|
14
|
+
"first_air_date.asc",
|
|
15
|
+
"first_air_date.desc",
|
|
16
|
+
"name.asc",
|
|
17
|
+
"name.desc",
|
|
18
|
+
"original_name.asc",
|
|
19
|
+
"original_name.desc",
|
|
20
|
+
"popularity.asc",
|
|
21
|
+
"popularity.desc",
|
|
22
|
+
"vote_average.asc",
|
|
23
|
+
"vote_average.desc",
|
|
24
|
+
"vote_count.asc",
|
|
25
|
+
"vote_count.desc"
|
|
26
|
+
]),
|
|
27
|
+
timezone: v.string(),
|
|
28
|
+
/** Use in conjunction with `with_watch_monetization_types ` or `with_watch_providers ` */
|
|
29
|
+
watchRegion: v.string(),
|
|
30
|
+
/** Can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
31
|
+
withCompanies: v.union([v.string(), v.array(v.union([integer, v.string()]))]),
|
|
32
|
+
/** Can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
33
|
+
withGenres: v.union([v.string(), v.array(v.union([integer, v.string()]))]),
|
|
34
|
+
/** Can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
35
|
+
withKeywords: v.union([v.string(), v.array(v.union([integer, v.string()]))]),
|
|
36
|
+
withNetworks: integer,
|
|
37
|
+
withOriginCountry: v.string(),
|
|
38
|
+
withOriginalLanguage: v.string(),
|
|
39
|
+
/** Possible values are: [0, 1, 2, 3, 4, 5], can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
40
|
+
withStatus: v.union([v.string(), v.array(v.string())]),
|
|
41
|
+
/** Possible values are: [flatrate, free, ads, rent, buy] use in conjunction with `watch_region`, can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
42
|
+
withWatchMonetizationTypes: v.union([v.string(), v.array(v.string())]),
|
|
43
|
+
/** Use in conjunction with `watch_region`, can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
44
|
+
withWatchProviders: v.union([v.string(), v.array(v.union([integer, v.string()]))]),
|
|
45
|
+
withoutCompanies: v.string(),
|
|
46
|
+
withoutGenres: v.string(),
|
|
47
|
+
withoutKeywords: v.string(),
|
|
48
|
+
withoutWatchProviders: v.string(),
|
|
49
|
+
/** Possible values are: [0, 1, 2, 3, 4, 5, 6], can be a comma (`AND`) or pipe (`OR`) separated query */
|
|
50
|
+
withType: v.union([v.string(), v.array(v.string())]),
|
|
51
|
+
airDate: v.partial(v.object({
|
|
52
|
+
gte: isoDate,
|
|
53
|
+
lte: isoDate
|
|
54
|
+
})),
|
|
55
|
+
firstAirDate: v.partial(v.object({
|
|
56
|
+
gte: isoDate,
|
|
57
|
+
lte: isoDate
|
|
58
|
+
})),
|
|
59
|
+
voteAverage: v.partial(v.object({
|
|
60
|
+
gte: v.number(),
|
|
61
|
+
lte: v.number()
|
|
62
|
+
})),
|
|
63
|
+
voteCount: v.partial(v.object({
|
|
64
|
+
gte: v.number(),
|
|
65
|
+
lte: v.number()
|
|
66
|
+
})),
|
|
67
|
+
withRuntime: v.partial(v.object({
|
|
68
|
+
gte: integer,
|
|
69
|
+
lte: integer
|
|
70
|
+
}))
|
|
71
|
+
}))) });
|
|
72
|
+
/**
|
|
73
|
+
* ### [TV](https://developer.themoviedb.org/reference/discover-tv)
|
|
74
|
+
*
|
|
75
|
+
* **GET** `/discover/tv`
|
|
76
|
+
*/
|
|
77
|
+
const discoverTvSeries = async ({ params }, options) => get(`/discover/tv`, params, options);
|
|
78
|
+
export { discoverTvSeries, discoverTvSeriesSchema };
|
|
79
|
+
|
|
80
|
+
//# sourceMappingURL=discoverTvSeries.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverTvSeries.mjs","names":[],"sources":["../../src/discover/discoverTvSeries.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport { integer } from \"../validations/integer.js\";\nimport { isoDate } from \"../validations/isoDate.js\";\nimport type { PagedTvResults } from \"../tv/types/TvListItem.js\";\n\nexport const discoverTvSeriesSchema = v.object({\n params: v.exactOptional(\n v.partial(\n v.object({\n firstAirDateYear: integer,\n includeAdult: v.boolean(),\n includeNullFirstAirDates: v.boolean(),\n language: v.string(),\n page: integer,\n screenedTheatrically: v.boolean(),\n sortBy: v.picklist([\n \"first_air_date.asc\",\n \"first_air_date.desc\",\n \"name.asc\",\n \"name.desc\",\n \"original_name.asc\",\n \"original_name.desc\",\n \"popularity.asc\",\n \"popularity.desc\",\n \"vote_average.asc\",\n \"vote_average.desc\",\n \"vote_count.asc\",\n \"vote_count.desc\"\n ]),\n timezone: v.string(),\n /** Use in conjunction with `with_watch_monetization_types ` or `with_watch_providers ` */\n watchRegion: v.string(),\n /** Can be a comma (`AND`) or pipe (`OR`) separated query */\n withCompanies: v.union([\n v.string(),\n v.array(v.union([integer, v.string()]))\n ]),\n /** Can be a comma (`AND`) or pipe (`OR`) separated query */\n withGenres: v.union([\n v.string(),\n v.array(v.union([integer, v.string()]))\n ]),\n /** Can be a comma (`AND`) or pipe (`OR`) separated query */\n withKeywords: v.union([\n v.string(),\n v.array(v.union([integer, v.string()]))\n ]),\n withNetworks: integer,\n withOriginCountry: v.string(),\n withOriginalLanguage: v.string(),\n /** Possible values are: [0, 1, 2, 3, 4, 5], can be a comma (`AND`) or pipe (`OR`) separated query */\n withStatus: v.union([v.string(), v.array(v.string())]),\n /** Possible values are: [flatrate, free, ads, rent, buy] use in conjunction with `watch_region`, can be a comma (`AND`) or pipe (`OR`) separated query */\n withWatchMonetizationTypes: v.union([v.string(), v.array(v.string())]),\n /** Use in conjunction with `watch_region`, can be a comma (`AND`) or pipe (`OR`) separated query */\n withWatchProviders: v.union([\n v.string(),\n v.array(v.union([integer, v.string()]))\n ]),\n withoutCompanies: v.string(),\n withoutGenres: v.string(),\n withoutKeywords: v.string(),\n withoutWatchProviders: v.string(),\n /** Possible values are: [0, 1, 2, 3, 4, 5, 6], can be a comma (`AND`) or pipe (`OR`) separated query */\n withType: v.union([v.string(), v.array(v.string())]),\n airDate: v.partial(\n v.object({\n gte: isoDate,\n lte: isoDate\n })\n ),\n firstAirDate: v.partial(\n v.object({\n gte: isoDate,\n lte: isoDate\n })\n ),\n voteAverage: v.partial(\n v.object({\n gte: v.number(),\n lte: v.number()\n })\n ),\n voteCount: v.partial(\n v.object({\n gte: v.number(),\n lte: v.number()\n })\n ),\n withRuntime: v.partial(\n v.object({\n gte: integer,\n lte: integer\n })\n )\n })\n )\n )\n});\n\n/**\n * ### [TV](https://developer.themoviedb.org/reference/discover-tv)\n *\n * **GET** `/discover/tv`\n */\nexport const discoverTvSeries: Fetcher<\n typeof discoverTvSeriesSchema,\n PagedTvResults\n> = async ({ params }, options) => get(`/discover/tv`, params, options);\n"],"mappings":";;;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO;CACP,kBAAkB;CAClB,cAAc,EAAE,QAAQ;CACxB,0BAA0B,EAAE,QAAQ;CACpC,UAAU,EAAE,OAAO;CACnB,MAAM;CACN,sBAAsB,EAAE,QAAQ;CAChC,QAAQ,EAAE,SAAS;EACjB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,UAAU,EAAE,OAAO;;CAEnB,aAAa,EAAE,OAAO;;CAEtB,eAAe,EAAE,MAAM,CACrB,EAAE,OAAO,GACT,EAAE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CACxC,CAAC;;CAED,YAAY,EAAE,MAAM,CAClB,EAAE,OAAO,GACT,EAAE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CACxC,CAAC;;CAED,cAAc,EAAE,MAAM,CACpB,EAAE,OAAO,GACT,EAAE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CACxC,CAAC;CACD,cAAc;CACd,mBAAmB,EAAE,OAAO;CAC5B,sBAAsB,EAAE,OAAO;;CAE/B,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;;CAErD,4BAA4B,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;;CAErE,oBAAoB,EAAE,MAAM,CAC1B,EAAE,OAAO,GACT,EAAE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CACxC,CAAC;CACD,kBAAkB,EAAE,OAAO;CAC3B,eAAe,EAAE,OAAO;CACxB,iBAAiB,EAAE,OAAO;CAC1B,uBAAuB,EAAE,OAAO;;CAEhC,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACnD,SAAS,EAAE,QACT,EAAE,OAAO;EACP,KAAK;EACL,KAAK;CACP,CAAC,CACH;CACA,cAAc,EAAE,QACd,EAAE,OAAO;EACP,KAAK;EACL,KAAK;CACP,CAAC,CACH;CACA,aAAa,EAAE,QACb,EAAE,OAAO;EACP,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;CAChB,CAAC,CACH;CACA,WAAW,EAAE,QACX,EAAE,OAAO;EACP,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;CAChB,CAAC,CACH;CACA,aAAa,EAAE,QACb,EAAE,OAAO;EACP,KAAK;EACL,KAAK;CACP,CAAC,CACH;AACF,CAAC,CACH,CACF,EACF,CAAC;;;;;;AAOD,MAAa,mBAGT,OAAO,EAAE,UAAU,YAAY,IAAI,gBAAgB,QAAQ,OAAO"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { FindResults } from "./types/FindResults.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const findByExternalIdSchema: v.ObjectSchema<{
|
|
5
|
+
readonly externalId: v.StringSchema<undefined>;
|
|
6
|
+
readonly externalSource: v.PicklistSchema<["imdb_id", "facebook_id", "instagram_id", "tvdb_id", "tiktok_id", "twitter_id", "wikidata_id", "youtube_id"], undefined>;
|
|
7
|
+
readonly params: v.ExactOptionalSchema<Omit<v.ObjectSchema<{
|
|
8
|
+
readonly language: v.StringSchema<undefined>;
|
|
9
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
10
|
+
readonly entries: {
|
|
11
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
};
|
|
13
|
+
readonly "~standard": v.StandardProps<{
|
|
14
|
+
language?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
language?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
19
|
+
language?: string | undefined;
|
|
20
|
+
}, v.StringIssue | v.ObjectIssue>;
|
|
21
|
+
readonly "~types"?: {
|
|
22
|
+
readonly input: {
|
|
23
|
+
language?: string | undefined;
|
|
24
|
+
};
|
|
25
|
+
readonly output: {
|
|
26
|
+
language?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}, undefined>;
|
|
31
|
+
}, undefined>;
|
|
32
|
+
/**
|
|
33
|
+
* ### [Find By ID](https://developer.themoviedb.org/reference/find-by-id)
|
|
34
|
+
*
|
|
35
|
+
* **GET** `/find/{external_id}`
|
|
36
|
+
*/
|
|
37
|
+
export declare const findByExternalId: Fetcher<typeof findByExternalIdSchema, FindResults>;
|
|
38
|
+
//# sourceMappingURL=findByExternalId.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findByExternalId.d.mts","names":[],"sources":["../../src/find/findByExternalId.ts"],"mappings":";;;qBAIa,wBAAsB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0BtB,kBAAkB,eACtB,wBACP"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/find/findByExternalId.ts
|
|
4
|
+
const findByExternalIdSchema = v.object({
|
|
5
|
+
externalId: v.string(),
|
|
6
|
+
externalSource: v.picklist([
|
|
7
|
+
"imdb_id",
|
|
8
|
+
"facebook_id",
|
|
9
|
+
"instagram_id",
|
|
10
|
+
"tvdb_id",
|
|
11
|
+
"tiktok_id",
|
|
12
|
+
"twitter_id",
|
|
13
|
+
"wikidata_id",
|
|
14
|
+
"youtube_id"
|
|
15
|
+
]),
|
|
16
|
+
params: v.exactOptional(v.partial(v.object({ language: v.string() })))
|
|
17
|
+
});
|
|
18
|
+
/**
|
|
19
|
+
* ### [Find By ID](https://developer.themoviedb.org/reference/find-by-id)
|
|
20
|
+
*
|
|
21
|
+
* **GET** `/find/{external_id}`
|
|
22
|
+
*/
|
|
23
|
+
const findByExternalId = async ({ externalId, externalSource, params }, options) => get(`/find/${encodeURIComponent(externalId)}`, {
|
|
24
|
+
...params,
|
|
25
|
+
externalSource
|
|
26
|
+
}, options);
|
|
27
|
+
export { findByExternalId, findByExternalIdSchema };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=findByExternalId.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findByExternalId.mjs","names":[],"sources":["../../src/find/findByExternalId.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport type { FindResults } from \"./types/FindResults.js\";\n\nexport const findByExternalIdSchema = v.object({\n externalId: v.string(),\n externalSource: v.picklist([\n \"imdb_id\",\n \"facebook_id\",\n \"instagram_id\",\n \"tvdb_id\",\n \"tiktok_id\",\n \"twitter_id\",\n \"wikidata_id\",\n \"youtube_id\"\n ]),\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [Find By ID](https://developer.themoviedb.org/reference/find-by-id)\n *\n * **GET** `/find/{external_id}`\n */\nexport const findByExternalId: Fetcher<\n typeof findByExternalIdSchema,\n FindResults\n> = async ({ externalId, externalSource, params }, options) =>\n get(\n `/find/${encodeURIComponent(externalId)}`,\n { ...params, externalSource },\n options\n );\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,YAAY,EAAE,OAAO;CACrB,gBAAgB,EAAE,SAAS;EACzB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO,EACP,UAAU,EAAE,OAAO,EACrB,CAAC,CACH,CACF;AACF,CAAC;;;;;;AAOD,MAAa,mBAGT,OAAO,EAAE,YAAY,gBAAgB,UAAU,YACjD,IACE,SAAS,mBAAmB,UAAU,KACtC;CAAE,GAAG;CAAQ;AAAe,GAC5B,OACF"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FindResults, findResultsSchema } from "./types/FindResults.mjs";
|
|
2
|
+
import { findByExternalId, findByExternalIdSchema } from "./findByExternalId.mjs";
|
|
3
|
+
import "./types/index.mjs";
|
|
4
|
+
export { FindResults, findByExternalId, findByExternalIdSchema, findResultsSchema };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { MovieMediaListItem } from "../../movie/types/MovieListItem.mjs";
|
|
2
|
+
import { TvMediaListItem } from "../../tv/types/TvListItem.mjs";
|
|
3
|
+
import { PersonMediaListItem } from "../../person/types/PersonListItem.mjs";
|
|
4
|
+
import "../../index.mjs";
|
|
5
|
+
import * as v from "valibot";
|
|
6
|
+
declare const _findResultsSchema: v.ObjectSchema<{
|
|
7
|
+
readonly movieResults: v.ArraySchema<v.GenericSchema<MovieMediaListItem>, undefined>;
|
|
8
|
+
readonly personResults: v.ArraySchema<v.GenericSchema<PersonMediaListItem>, undefined>;
|
|
9
|
+
readonly tvResults: v.ArraySchema<v.GenericSchema<TvMediaListItem>, undefined>;
|
|
10
|
+
readonly tvEpisodeResults: v.ArraySchema<v.ObjectSchema<{
|
|
11
|
+
readonly showId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
12
|
+
readonly mediaType: v.LiteralSchema<"tv_episode", undefined>;
|
|
13
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly episodeNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
15
|
+
readonly episodeType: v.StringSchema<undefined>;
|
|
16
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
17
|
+
readonly name: v.StringSchema<undefined>;
|
|
18
|
+
readonly overview: v.StringSchema<undefined>;
|
|
19
|
+
readonly productionCode: v.StringSchema<undefined>;
|
|
20
|
+
readonly runtime: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>;
|
|
21
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
22
|
+
readonly stillPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
23
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
24
|
+
readonly voteCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
25
|
+
}, undefined>, undefined>;
|
|
26
|
+
readonly tvSeasonResults: v.ArraySchema<v.ObjectSchema<{
|
|
27
|
+
readonly id: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
28
|
+
readonly name: v.StringSchema<undefined>;
|
|
29
|
+
readonly overview: v.StringSchema<undefined>;
|
|
30
|
+
readonly posterPath: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
31
|
+
readonly mediaType: v.LiteralSchema<"tv_season", undefined>;
|
|
32
|
+
readonly voteAverage: v.NumberSchema<undefined>;
|
|
33
|
+
readonly airDate: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly seasonNumber: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
35
|
+
readonly showId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
36
|
+
readonly episodeCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
37
|
+
}, undefined>, undefined>;
|
|
38
|
+
}, undefined>;
|
|
39
|
+
export interface FindResults extends v.InferOutput<typeof _findResultsSchema> {}
|
|
40
|
+
/**
|
|
41
|
+
* ### Find Results
|
|
42
|
+
*
|
|
43
|
+
* Whatever TMDB holds for an id from another site (`findByExternalId`), sorted by kind. Usually one array has one entry and the rest are empty: an IMDb id resolves to a movie, series, episode or person, and a TVDB id can also resolve to a season.
|
|
44
|
+
*/
|
|
45
|
+
export declare const findResultsSchema: v.GenericSchema<FindResults>;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=FindResults.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FindResults.d.mts","names":["_$______index_js0.MovieMediaListItem","_$______index_js0.PersonMediaListItem","_$______index_js0.TvMediaListItem"],"sources":["../../../src/find/types/FindResults.ts"],"mappings":";;;;;cAQM,oBAAkB,EAAA;W,4CAAlBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BW,oBAAoB,EAAE,mBAAmB;;;;;;qBAO7C,mBAAiB,EAAA,cAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { integer } from "../../validations/integer.mjs";
|
|
3
|
+
import { movieMediaListItemSchema } from "../../movie/types/MovieListItem.mjs";
|
|
4
|
+
import { tvMediaListItemSchema } from "../../tv/types/TvListItem.mjs";
|
|
5
|
+
import { personMediaListItemSchema } from "../../person/types/PersonListItem.mjs";
|
|
6
|
+
import { tvEpisodeEntries } from "../../tv/types/TvEpisode.mjs";
|
|
7
|
+
import * as v from "valibot";
|
|
8
|
+
// src/find/types/FindResults.ts
|
|
9
|
+
const _findResultsSchema = v.object({
|
|
10
|
+
movieResults: v.array(movieMediaListItemSchema),
|
|
11
|
+
personResults: v.array(personMediaListItemSchema),
|
|
12
|
+
tvResults: v.array(tvMediaListItemSchema),
|
|
13
|
+
tvEpisodeResults: v.array(v.object({
|
|
14
|
+
...tvEpisodeEntries,
|
|
15
|
+
showId: integer,
|
|
16
|
+
mediaType: v.literal(`tv_episode`)
|
|
17
|
+
})),
|
|
18
|
+
tvSeasonResults: v.array(v.object({
|
|
19
|
+
id: integer,
|
|
20
|
+
name: v.string(),
|
|
21
|
+
overview: v.string(),
|
|
22
|
+
posterPath: v.nullable(v.string()),
|
|
23
|
+
mediaType: v.literal(`tv_season`),
|
|
24
|
+
voteAverage: v.number(),
|
|
25
|
+
airDate: v.nullable(v.string()),
|
|
26
|
+
seasonNumber: integer,
|
|
27
|
+
showId: integer,
|
|
28
|
+
episodeCount: integer
|
|
29
|
+
}))
|
|
30
|
+
});
|
|
31
|
+
/**
|
|
32
|
+
* ### Find Results
|
|
33
|
+
*
|
|
34
|
+
* Whatever TMDB holds for an id from another site (`findByExternalId`), sorted by kind. Usually one array has one entry and the rest are empty: an IMDb id resolves to a movie, series, episode or person, and a TVDB id can also resolve to a season.
|
|
35
|
+
*/
|
|
36
|
+
const findResultsSchema = schema(_findResultsSchema);
|
|
37
|
+
export { findResultsSchema };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=FindResults.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FindResults.mjs","names":[],"sources":["../../../src/find/types/FindResults.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { integer } from \"../../validations/integer.js\";\nimport { movieMediaListItemSchema } from \"../../movie/types/MovieListItem.js\";\nimport { personMediaListItemSchema } from \"../../person/types/PersonListItem.js\";\nimport { tvEpisodeEntries } from \"../../tv/types/TvEpisode.js\";\nimport { tvMediaListItemSchema } from \"../../tv/types/TvListItem.js\";\n\nconst _findResultsSchema = v.object({\n movieResults: v.array(movieMediaListItemSchema),\n personResults: v.array(personMediaListItemSchema),\n tvResults: v.array(tvMediaListItemSchema),\n tvEpisodeResults: v.array(\n v.object({\n ...tvEpisodeEntries,\n showId: integer,\n mediaType: v.literal(`tv_episode`)\n })\n ),\n tvSeasonResults: v.array(\n v.object({\n id: integer,\n name: v.string(),\n overview: v.string(),\n posterPath: v.nullable(v.string()),\n mediaType: v.literal(`tv_season`),\n voteAverage: v.number(),\n airDate: v.nullable(v.string()),\n seasonNumber: integer,\n showId: integer,\n episodeCount: integer\n })\n )\n});\n\nexport interface FindResults extends v.InferOutput<typeof _findResultsSchema> {}\n\n/**\n * ### Find Results\n *\n * Whatever TMDB holds for an id from another site (`findByExternalId`), sorted by kind. Usually one array has one entry and the rest are empty: an IMDb id resolves to a movie, series, episode or person, and a TVDB id can also resolve to a season.\n */\nexport const findResultsSchema = schema<FindResults>(_findResultsSchema);\n"],"mappings":";;;;;;;;AAQA,MAAM,qBAAqB,EAAE,OAAO;CAClC,cAAc,EAAE,MAAM,wBAAwB;CAC9C,eAAe,EAAE,MAAM,yBAAyB;CAChD,WAAW,EAAE,MAAM,qBAAqB;CACxC,kBAAkB,EAAE,MAClB,EAAE,OAAO;EACP,GAAG;EACH,QAAQ;EACR,WAAW,EAAE,QAAQ,YAAY;CACnC,CAAC,CACH;CACA,iBAAiB,EAAE,MACjB,EAAE,OAAO;EACP,IAAI;EACJ,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,OAAO;EACnB,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC;EACjC,WAAW,EAAE,QAAQ,WAAW;EAChC,aAAa,EAAE,OAAO;EACtB,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC;EAC9B,cAAc;EACd,QAAQ;EACR,cAAc;CAChB,CAAC,CACH;AACF,CAAC;;;;;;AASD,MAAa,oBAAoB,OAAoB,kBAAkB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { findResultsSchema } from "./FindResults.mjs";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { GenreList } from "./types/GenreList.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getMovieGenresSchema: v.ObjectSchema<{
|
|
5
|
+
readonly params: v.ExactOptionalSchema<Omit<v.ObjectSchema<{
|
|
6
|
+
readonly language: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
8
|
+
readonly entries: {
|
|
9
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
};
|
|
11
|
+
readonly "~standard": v.StandardProps<{
|
|
12
|
+
language?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
language?: string | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
17
|
+
language?: string | undefined;
|
|
18
|
+
}, v.StringIssue | v.ObjectIssue>;
|
|
19
|
+
readonly "~types"?: {
|
|
20
|
+
readonly input: {
|
|
21
|
+
language?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
readonly output: {
|
|
24
|
+
language?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
27
|
+
} | undefined;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* ### [Movie List](https://developer.themoviedb.org/reference/genre-movie-list)
|
|
32
|
+
*
|
|
33
|
+
* **GET** `/genre/movie/list`
|
|
34
|
+
*/
|
|
35
|
+
export declare const getMovieGenres: Fetcher<typeof getMovieGenresSchema, GenreList>;
|
|
36
|
+
//# sourceMappingURL=getMovieGenres.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMovieGenres.d.mts","names":[],"sources":["../../src/genre/getMovieGenres.ts"],"mappings":";;;qBAIa,sBAAoB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAepB,gBAAgB,eACpB,sBACP"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/genre/getMovieGenres.ts
|
|
4
|
+
const getMovieGenresSchema = v.object({ params: v.exactOptional(v.partial(v.object({ language: v.string() }))) });
|
|
5
|
+
/**
|
|
6
|
+
* ### [Movie List](https://developer.themoviedb.org/reference/genre-movie-list)
|
|
7
|
+
*
|
|
8
|
+
* **GET** `/genre/movie/list`
|
|
9
|
+
*/
|
|
10
|
+
const getMovieGenres = async ({ params }, options) => get(`/genre/movie/list`, params, options);
|
|
11
|
+
export { getMovieGenres, getMovieGenresSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=getMovieGenres.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMovieGenres.mjs","names":[],"sources":["../../src/genre/getMovieGenres.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport type { GenreList } from \"./types/GenreList.js\";\n\nexport const getMovieGenresSchema = v.object({\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [Movie List](https://developer.themoviedb.org/reference/genre-movie-list)\n *\n * **GET** `/genre/movie/list`\n */\nexport const getMovieGenres: Fetcher<\n typeof getMovieGenresSchema,\n GenreList\n> = async ({ params }, options) => get(`/genre/movie/list`, params, options);\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO,EACP,UAAU,EAAE,OAAO,EACrB,CAAC,CACH,CACF,EACF,CAAC;;;;;;AAOD,MAAa,iBAGT,OAAO,EAAE,UAAU,YAAY,IAAI,qBAAqB,QAAQ,OAAO"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { GenreList } from "./types/GenreList.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getTvGenresSchema: v.ObjectSchema<{
|
|
5
|
+
readonly params: v.ExactOptionalSchema<Omit<v.ObjectSchema<{
|
|
6
|
+
readonly language: v.StringSchema<undefined>;
|
|
7
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
8
|
+
readonly entries: {
|
|
9
|
+
readonly language: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
10
|
+
};
|
|
11
|
+
readonly "~standard": v.StandardProps<{
|
|
12
|
+
language?: string | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
language?: string | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
17
|
+
language?: string | undefined;
|
|
18
|
+
}, v.StringIssue | v.ObjectIssue>;
|
|
19
|
+
readonly "~types"?: {
|
|
20
|
+
readonly input: {
|
|
21
|
+
language?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
readonly output: {
|
|
24
|
+
language?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly issue: v.StringIssue | v.ObjectIssue;
|
|
27
|
+
} | undefined;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
}, undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* ### [TV List](https://developer.themoviedb.org/reference/genre-tv-list)
|
|
32
|
+
*
|
|
33
|
+
* **GET** `/genre/tv/list`
|
|
34
|
+
*/
|
|
35
|
+
export declare const getTvGenres: Fetcher<typeof getTvGenresSchema, GenreList>;
|
|
36
|
+
//# sourceMappingURL=getTvGenres.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTvGenres.d.mts","names":[],"sources":["../../src/genre/getTvGenres.ts"],"mappings":";;;qBAIa,mBAAiB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAejB,aAAa,eAAe,mBAAmB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/genre/getTvGenres.ts
|
|
4
|
+
const getTvGenresSchema = v.object({ params: v.exactOptional(v.partial(v.object({ language: v.string() }))) });
|
|
5
|
+
/**
|
|
6
|
+
* ### [TV List](https://developer.themoviedb.org/reference/genre-tv-list)
|
|
7
|
+
*
|
|
8
|
+
* **GET** `/genre/tv/list`
|
|
9
|
+
*/
|
|
10
|
+
const getTvGenres = async ({ params }, options) => get(`/genre/tv/list`, params, options);
|
|
11
|
+
export { getTvGenres, getTvGenresSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=getTvGenres.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTvGenres.mjs","names":[],"sources":["../../src/genre/getTvGenres.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport type { GenreList } from \"./types/GenreList.js\";\n\nexport const getTvGenresSchema = v.object({\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [TV List](https://developer.themoviedb.org/reference/genre-tv-list)\n *\n * **GET** `/genre/tv/list`\n */\nexport const getTvGenres: Fetcher<typeof getTvGenresSchema, GenreList> = async (\n { params },\n options\n) => get(`/genre/tv/list`, params, options);\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO,EACxC,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO,EACP,UAAU,EAAE,OAAO,EACrB,CAAC,CACH,CACF,EACF,CAAC;;;;;;AAOD,MAAa,cAA4D,OACvE,EAAE,UACF,YACG,IAAI,kBAAkB,QAAQ,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { GenreList, genreListSchema } from "./types/GenreList.mjs";
|
|
2
|
+
import { getMovieGenres, getMovieGenresSchema } from "./getMovieGenres.mjs";
|
|
3
|
+
import { getTvGenres, getTvGenresSchema } from "./getTvGenres.mjs";
|
|
4
|
+
import "./types/index.mjs";
|
|
5
|
+
export { GenreList, genreListSchema, getMovieGenres, getMovieGenresSchema, getTvGenres, getTvGenresSchema };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { getMovieGenres, getMovieGenresSchema } from "./getMovieGenres.mjs";
|
|
2
|
+
import { getTvGenres, getTvGenresSchema } from "./getTvGenres.mjs";
|
|
3
|
+
import { genreListSchema } from "./types/GenreList.mjs";
|
|
4
|
+
export { genreListSchema, getMovieGenres, getMovieGenresSchema, getTvGenres, getTvGenresSchema };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Genre } from "../../types/Genre.mjs";
|
|
2
|
+
import "../../index.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
declare const _genreListSchema: v.ObjectSchema<{
|
|
5
|
+
readonly genres: v.ArraySchema<v.GenericSchema<Genre>, undefined>;
|
|
6
|
+
}, undefined>;
|
|
7
|
+
export interface GenreList extends v.InferOutput<typeof _genreListSchema> {}
|
|
8
|
+
/**
|
|
9
|
+
* ### Genre List
|
|
10
|
+
*
|
|
11
|
+
* Every movie or TV genre (`getMovieGenres`, `getTvGenres`), which list items reference by `genreIds`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const genreListSchema: v.GenericSchema<GenreList>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=GenreList.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenreList.d.mts","names":["_$______index_js0.Genre"],"sources":["../../../src/genre/types/GenreList.ts"],"mappings":";;;cAIM,kBAAgB,EAAA;W,sCAAhBA;;iBAEW,kBAAkB,EAAE,mBAAmB;;;;;;qBAO3C,iBAAe,EAAA,cAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { genreSchema } from "../../types/Genre.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/genre/types/GenreList.ts
|
|
5
|
+
const _genreListSchema = v.object({ genres: v.array(genreSchema) });
|
|
6
|
+
/**
|
|
7
|
+
* ### Genre List
|
|
8
|
+
*
|
|
9
|
+
* Every movie or TV genre (`getMovieGenres`, `getTvGenres`), which list items reference by `genreIds`.
|
|
10
|
+
*/
|
|
11
|
+
const genreListSchema = schema(_genreListSchema);
|
|
12
|
+
export { genreListSchema };
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=GenreList.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenreList.mjs","names":[],"sources":["../../../src/genre/types/GenreList.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport { genreSchema } from \"../../types/Genre.js\";\n\nconst _genreListSchema = v.object({ genres: v.array(genreSchema) });\n\nexport interface GenreList extends v.InferOutput<typeof _genreListSchema> {}\n\n/**\n * ### Genre List\n *\n * Every movie or TV genre (`getMovieGenres`, `getTvGenres`), which list items reference by `genreIds`.\n */\nexport const genreListSchema = schema<GenreList>(_genreListSchema);\n"],"mappings":";;;;AAIA,MAAM,mBAAmB,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,EAAE,CAAC;;;;;;AASlE,MAAa,kBAAkB,OAAkB,gBAAgB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { genreListSchema } from "./GenreList.mjs";
|