@saeris/tmdbkit 0.0.0 → 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 +385 -4
- 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 +39 -3
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/configuration/getConfiguration.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Details](https://developer.themoviedb.org/reference/configuration-details)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration`
|
|
7
|
+
*/
|
|
8
|
+
const getConfiguration = async (options) => get(`/configuration`, void 0, options);
|
|
9
|
+
export { getConfiguration };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getConfiguration.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConfiguration.mjs","names":[],"sources":["../../src/configuration/getConfiguration.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { ConfigurationDetails } from \"./types/ConfigurationDetails.js\";\n\n/**\n * ### [Details](https://developer.themoviedb.org/reference/configuration-details)\n *\n * **GET** `/configuration`\n */\nexport const getConfiguration: Fetcher<null, ConfigurationDetails> = async (\n options\n) => get(`/configuration`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,mBAAwD,OACnE,YACG,IAAI,kBAAkB,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { Countries } from "./types/Country.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
export declare const getCountriesSchema: 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
|
+
* ### [Countries](https://developer.themoviedb.org/reference/configuration-countries)
|
|
32
|
+
*
|
|
33
|
+
* **GET** `/configuration/countries`
|
|
34
|
+
*/
|
|
35
|
+
export declare const getCountries: Fetcher<typeof getCountriesSchema, Countries>;
|
|
36
|
+
//# sourceMappingURL=getCountries.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCountries.d.mts","names":[],"sources":["../../src/configuration/getCountries.ts"],"mappings":";;;qBAIa,oBAAkB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAelB,cAAc,eAClB,oBACP"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/getCountries.ts
|
|
4
|
+
const getCountriesSchema = v.object({ params: v.exactOptional(v.partial(v.object({ language: v.string() }))) });
|
|
5
|
+
/**
|
|
6
|
+
* ### [Countries](https://developer.themoviedb.org/reference/configuration-countries)
|
|
7
|
+
*
|
|
8
|
+
* **GET** `/configuration/countries`
|
|
9
|
+
*/
|
|
10
|
+
const getCountries = async ({ params }, options) => get(`/configuration/countries`, params, options);
|
|
11
|
+
export { getCountries, getCountriesSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=getCountries.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCountries.mjs","names":[],"sources":["../../src/configuration/getCountries.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { get, type Fetcher } from \"../requests/methods.js\";\nimport type { Countries } from \"./types/Country.js\";\n\nexport const getCountriesSchema = v.object({\n params: v.exactOptional(\n v.partial(\n v.object({\n language: v.string()\n })\n )\n )\n});\n\n/**\n * ### [Countries](https://developer.themoviedb.org/reference/configuration-countries)\n *\n * **GET** `/configuration/countries`\n */\nexport const getCountries: Fetcher<\n typeof getCountriesSchema,\n Countries\n> = async ({ params }, options) =>\n get(`/configuration/countries`, params, options);\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,QAAQ,EAAE,cACR,EAAE,QACA,EAAE,OAAO,EACP,UAAU,EAAE,OAAO,EACrB,CAAC,CACH,CACF,EACF,CAAC;;;;;;AAOD,MAAa,eAGT,OAAO,EAAE,UAAU,YACrB,IAAI,4BAA4B,QAAQ,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { DepartmentJobs } from "./types/DepartmentJobs.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Jobs](https://developer.themoviedb.org/reference/configuration-jobs)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/jobs`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getJobs: Fetcher<null, DepartmentJobs>;
|
|
9
|
+
//# sourceMappingURL=getJobs.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getJobs.d.mts","names":[],"sources":["../../src/configuration/getJobs.ts"],"mappings":";;;;;;;qBAQa,SAAS,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/configuration/getJobs.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Jobs](https://developer.themoviedb.org/reference/configuration-jobs)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/jobs`
|
|
7
|
+
*/
|
|
8
|
+
const getJobs = async (options) => get(`/configuration/jobs`, void 0, options);
|
|
9
|
+
export { getJobs };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getJobs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getJobs.mjs","names":[],"sources":["../../src/configuration/getJobs.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { DepartmentJobs } from \"./types/DepartmentJobs.js\";\n\n/**\n * ### [Jobs](https://developer.themoviedb.org/reference/configuration-jobs)\n *\n * **GET** `/configuration/jobs`\n */\nexport const getJobs: Fetcher<null, DepartmentJobs> = async (options) =>\n get(`/configuration/jobs`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,UAAyC,OAAO,YAC3D,IAAI,uBAAuB,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { Languages } from "./types/Language.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Languages](https://developer.themoviedb.org/reference/configuration-languages)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/languages`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getLanguages: Fetcher<null, Languages>;
|
|
9
|
+
//# sourceMappingURL=getLanguages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLanguages.d.mts","names":[],"sources":["../../src/configuration/getLanguages.ts"],"mappings":";;;;;;;qBAQa,cAAc,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/configuration/getLanguages.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Languages](https://developer.themoviedb.org/reference/configuration-languages)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/languages`
|
|
7
|
+
*/
|
|
8
|
+
const getLanguages = async (options) => get(`/configuration/languages`, void 0, options);
|
|
9
|
+
export { getLanguages };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getLanguages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getLanguages.mjs","names":[],"sources":["../../src/configuration/getLanguages.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { Languages } from \"./types/Language.js\";\n\n/**\n * ### [Languages](https://developer.themoviedb.org/reference/configuration-languages)\n *\n * **GET** `/configuration/languages`\n */\nexport const getLanguages: Fetcher<null, Languages> = async (options) =>\n get(`/configuration/languages`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,eAAyC,OAAO,YAC3D,IAAI,4BAA4B,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { PrimaryTranslations } from "./types/PrimaryTranslations.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Primary Translations](https://developer.themoviedb.org/reference/configuration-primary-translations)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/primary_translations`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getPrimaryTranslations: Fetcher<null, PrimaryTranslations>;
|
|
9
|
+
//# sourceMappingURL=getPrimaryTranslations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPrimaryTranslations.d.mts","names":[],"sources":["../../src/configuration/getPrimaryTranslations.ts"],"mappings":";;;;;;;qBAQa,wBAAwB,cAEnC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/configuration/getPrimaryTranslations.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Primary Translations](https://developer.themoviedb.org/reference/configuration-primary-translations)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/primary_translations`
|
|
7
|
+
*/
|
|
8
|
+
const getPrimaryTranslations = async (options) => get(`/configuration/primary_translations`, void 0, options);
|
|
9
|
+
export { getPrimaryTranslations };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getPrimaryTranslations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPrimaryTranslations.mjs","names":[],"sources":["../../src/configuration/getPrimaryTranslations.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { PrimaryTranslations } from \"./types/PrimaryTranslations.js\";\n\n/**\n * ### [Primary Translations](https://developer.themoviedb.org/reference/configuration-primary-translations)\n *\n * **GET** `/configuration/primary_translations`\n */\nexport const getPrimaryTranslations: Fetcher<\n null,\n PrimaryTranslations\n> = async (options) =>\n get(`/configuration/primary_translations`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,yBAGT,OAAO,YACT,IAAI,uCAAuC,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Fetcher } from "../requests/methods.mjs";
|
|
2
|
+
import { Timezones } from "./types/Timezone.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* ### [Timezones](https://developer.themoviedb.org/reference/configuration-timezones)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/timezones`
|
|
7
|
+
*/
|
|
8
|
+
export declare const getTimezones: Fetcher<null, Timezones>;
|
|
9
|
+
//# sourceMappingURL=getTimezones.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTimezones.d.mts","names":[],"sources":["../../src/configuration/getTimezones.ts"],"mappings":";;;;;;;qBAQa,cAAc,cAAc"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { get } from "../requests/methods.mjs";
|
|
2
|
+
// src/configuration/getTimezones.ts
|
|
3
|
+
/**
|
|
4
|
+
* ### [Timezones](https://developer.themoviedb.org/reference/configuration-timezones)
|
|
5
|
+
*
|
|
6
|
+
* **GET** `/configuration/timezones`
|
|
7
|
+
*/
|
|
8
|
+
const getTimezones = async (options) => get(`/configuration/timezones`, void 0, options);
|
|
9
|
+
export { getTimezones };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=getTimezones.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTimezones.mjs","names":[],"sources":["../../src/configuration/getTimezones.ts"],"sourcesContent":["import { get, type Fetcher } from \"../requests/methods.js\";\nimport type { Timezones } from \"./types/Timezone.js\";\n\n/**\n * ### [Timezones](https://developer.themoviedb.org/reference/configuration-timezones)\n *\n * **GET** `/configuration/timezones`\n */\nexport const getTimezones: Fetcher<null, Timezones> = async (options) =>\n get(`/configuration/timezones`, undefined, options);\n"],"mappings":";;;;;;;AAQA,MAAa,eAAyC,OAAO,YAC3D,IAAI,4BAA4B,KAAA,GAAW,OAAO"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TMDB's image host (`secureBaseUrl` from `getConfiguration`, recorded 2026-10-28). TMDB says to read it from the configuration; it hasn't changed in years, so it's the default, and `imageUrl` takes another base for anyone who fetches it.
|
|
3
|
+
*/
|
|
4
|
+
export declare const imageBaseUrl = "https://image.tmdb.org/t/p/";
|
|
5
|
+
/** The sizes `getConfiguration` lists for each kind of image (recorded 2026-10-28; a spec fails if a re-recording disagrees). `original` is the full-size file. */
|
|
6
|
+
export declare const imageSizes: {
|
|
7
|
+
readonly backdrop: readonly ["w300", "w780", "w1280", "original"];
|
|
8
|
+
readonly logo: readonly ["w45", "w92", "w154", "w185", "w300", "w500", "original"];
|
|
9
|
+
readonly poster: readonly ["w92", "w154", "w185", "w342", "w500", "w780", "original"];
|
|
10
|
+
readonly profile: readonly ["w45", "w185", "h632", "original"];
|
|
11
|
+
readonly still: readonly ["w92", "w185", "w300", "original"];
|
|
12
|
+
};
|
|
13
|
+
/** Any size TMDB serves images at. */
|
|
14
|
+
export type ImageSize = (typeof imageSizes)[keyof typeof imageSizes][number];
|
|
15
|
+
/**
|
|
16
|
+
* ### Image URL
|
|
17
|
+
*
|
|
18
|
+
* Turn an image's `filePath` (e.g. a `posterPath`) into a URL. A `null` path, which TMDB sends when there is no image, gives `null`, so a schema's nullable path can be passed straight in.
|
|
19
|
+
*
|
|
20
|
+
* ```ts
|
|
21
|
+
* imageUrl(movie.posterPath, `w500`); // "https://image.tmdb.org/t/p/w500/…jpg" or null
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare function imageUrl(filePath: string, size?: ImageSize, base?: string): string;
|
|
25
|
+
export declare function imageUrl(filePath: string | null, size?: ImageSize, base?: string): string | null;
|
|
26
|
+
//# sourceMappingURL=imageUrl.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageUrl.d.mts","names":[],"sources":["../../src/configuration/imageUrl.ts"],"mappings":";;;qBAGa;;qBAGA;;;;;;;;YASD,oBAAoB,yBAAyB;;;;;;;;;;wBAWzC,SACd,kBACA,OAAO,WACP;wBAEc,SACd,yBACA,OAAO,WACP"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// src/configuration/imageUrl.ts
|
|
2
|
+
/**
|
|
3
|
+
* TMDB's image host (`secureBaseUrl` from `getConfiguration`, recorded 2026-10-28). TMDB says to read it from the configuration; it hasn't changed in years, so it's the default, and `imageUrl` takes another base for anyone who fetches it.
|
|
4
|
+
*/
|
|
5
|
+
const imageBaseUrl = `https://image.tmdb.org/t/p/`;
|
|
6
|
+
/** The sizes `getConfiguration` lists for each kind of image (recorded 2026-10-28; a spec fails if a re-recording disagrees). `original` is the full-size file. */
|
|
7
|
+
const imageSizes = {
|
|
8
|
+
backdrop: [
|
|
9
|
+
`w300`,
|
|
10
|
+
`w780`,
|
|
11
|
+
`w1280`,
|
|
12
|
+
`original`
|
|
13
|
+
],
|
|
14
|
+
logo: [
|
|
15
|
+
`w45`,
|
|
16
|
+
`w92`,
|
|
17
|
+
`w154`,
|
|
18
|
+
`w185`,
|
|
19
|
+
`w300`,
|
|
20
|
+
`w500`,
|
|
21
|
+
`original`
|
|
22
|
+
],
|
|
23
|
+
poster: [
|
|
24
|
+
`w92`,
|
|
25
|
+
`w154`,
|
|
26
|
+
`w185`,
|
|
27
|
+
`w342`,
|
|
28
|
+
`w500`,
|
|
29
|
+
`w780`,
|
|
30
|
+
`original`
|
|
31
|
+
],
|
|
32
|
+
profile: [
|
|
33
|
+
`w45`,
|
|
34
|
+
`w185`,
|
|
35
|
+
`h632`,
|
|
36
|
+
`original`
|
|
37
|
+
],
|
|
38
|
+
still: [
|
|
39
|
+
`w92`,
|
|
40
|
+
`w185`,
|
|
41
|
+
`w300`,
|
|
42
|
+
`original`
|
|
43
|
+
]
|
|
44
|
+
};
|
|
45
|
+
function imageUrl(filePath, size = `original`, base = imageBaseUrl) {
|
|
46
|
+
return filePath === null ? null : `${base}${size}${filePath}`;
|
|
47
|
+
}
|
|
48
|
+
export { imageBaseUrl, imageSizes, imageUrl };
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=imageUrl.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageUrl.mjs","names":[],"sources":["../../src/configuration/imageUrl.ts"],"sourcesContent":["/**\n * TMDB's image host (`secureBaseUrl` from `getConfiguration`, recorded 2026-10-28). TMDB says to read it from the configuration; it hasn't changed in years, so it's the default, and `imageUrl` takes another base for anyone who fetches it.\n */\nexport const imageBaseUrl = `https://image.tmdb.org/t/p/`;\n\n/** The sizes `getConfiguration` lists for each kind of image (recorded 2026-10-28; a spec fails if a re-recording disagrees). `original` is the full-size file. */\nexport const imageSizes = {\n backdrop: [`w300`, `w780`, `w1280`, `original`],\n logo: [`w45`, `w92`, `w154`, `w185`, `w300`, `w500`, `original`],\n poster: [`w92`, `w154`, `w185`, `w342`, `w500`, `w780`, `original`],\n profile: [`w45`, `w185`, `h632`, `original`],\n still: [`w92`, `w185`, `w300`, `original`]\n} as const;\n\n/** Any size TMDB serves images at. */\nexport type ImageSize = (typeof imageSizes)[keyof typeof imageSizes][number];\n\n/**\n * ### Image URL\n *\n * Turn an image's `filePath` (e.g. a `posterPath`) into a URL. A `null` path, which TMDB sends when there is no image, gives `null`, so a schema's nullable path can be passed straight in.\n *\n * ```ts\n * imageUrl(movie.posterPath, `w500`); // \"https://image.tmdb.org/t/p/w500/…jpg\" or null\n * ```\n */\nexport function imageUrl(\n filePath: string,\n size?: ImageSize,\n base?: string\n): string;\nexport function imageUrl(\n filePath: string | null,\n size?: ImageSize,\n base?: string\n): string | null;\nexport function imageUrl(\n filePath: string | null,\n size: ImageSize = `original`,\n base: string = imageBaseUrl\n): string | null {\n return filePath === null ? null : `${base}${size}${filePath}`;\n}\n"],"mappings":";;;;AAGA,MAAa,eAAe;;AAG5B,MAAa,aAAa;CACxB,UAAU;EAAC;EAAQ;EAAQ;EAAS;CAAU;CAC9C,MAAM;EAAC;EAAO;EAAO;EAAQ;EAAQ;EAAQ;EAAQ;CAAU;CAC/D,QAAQ;EAAC;EAAO;EAAQ;EAAQ;EAAQ;EAAQ;EAAQ;CAAU;CAClE,SAAS;EAAC;EAAO;EAAQ;EAAQ;CAAU;CAC3C,OAAO;EAAC;EAAO;EAAQ;EAAQ;CAAU;AAC3C;AAwBA,SAAgB,SACd,UACA,OAAkB,YAClB,OAAe,cACA;CACf,OAAO,aAAa,OAAO,OAAO,GAAG,OAAO,OAAO;AACrD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ConfigurationDetails, configurationDetailsSchema } from "./types/ConfigurationDetails.mjs";
|
|
2
|
+
import { getConfiguration } from "./getConfiguration.mjs";
|
|
3
|
+
import { Countries, Country, countriesSchema, countryEntries, countrySchema } from "./types/Country.mjs";
|
|
4
|
+
import { getCountries, getCountriesSchema } from "./getCountries.mjs";
|
|
5
|
+
import { Department, DepartmentJobs, departmentJobsSchema } from "./types/DepartmentJobs.mjs";
|
|
6
|
+
import { getJobs } from "./getJobs.mjs";
|
|
7
|
+
import { Languages, languagesSchema } from "./types/Language.mjs";
|
|
8
|
+
import { getLanguages } from "./getLanguages.mjs";
|
|
9
|
+
import { PrimaryTranslations, primaryTranslationsSchema } from "./types/PrimaryTranslations.mjs";
|
|
10
|
+
import { getPrimaryTranslations } from "./getPrimaryTranslations.mjs";
|
|
11
|
+
import { Timezone, Timezones, timezonesSchema } from "./types/Timezone.mjs";
|
|
12
|
+
import { getTimezones } from "./getTimezones.mjs";
|
|
13
|
+
import { ImageSize, imageBaseUrl, imageSizes, imageUrl } from "./imageUrl.mjs";
|
|
14
|
+
import "./types/index.mjs";
|
|
15
|
+
export { ConfigurationDetails, Countries, Country, Department, DepartmentJobs, ImageSize, Languages, PrimaryTranslations, Timezone, Timezones, configurationDetailsSchema, countriesSchema, countryEntries, countrySchema, departmentJobsSchema, getConfiguration, getCountries, getCountriesSchema, getJobs, getLanguages, getPrimaryTranslations, getTimezones, imageBaseUrl, imageSizes, imageUrl, languagesSchema, primaryTranslationsSchema, timezonesSchema };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getConfiguration } from "./getConfiguration.mjs";
|
|
2
|
+
import { getCountries, getCountriesSchema } from "./getCountries.mjs";
|
|
3
|
+
import { getJobs } from "./getJobs.mjs";
|
|
4
|
+
import { getLanguages } from "./getLanguages.mjs";
|
|
5
|
+
import { getPrimaryTranslations } from "./getPrimaryTranslations.mjs";
|
|
6
|
+
import { getTimezones } from "./getTimezones.mjs";
|
|
7
|
+
import { imageBaseUrl, imageSizes, imageUrl } from "./imageUrl.mjs";
|
|
8
|
+
import { configurationDetailsSchema } from "./types/ConfigurationDetails.mjs";
|
|
9
|
+
import { countriesSchema, countryEntries, countrySchema } from "./types/Country.mjs";
|
|
10
|
+
import { departmentJobsSchema } from "./types/DepartmentJobs.mjs";
|
|
11
|
+
import { languagesSchema } from "./types/Language.mjs";
|
|
12
|
+
import { primaryTranslationsSchema } from "./types/PrimaryTranslations.mjs";
|
|
13
|
+
import { timezonesSchema } from "./types/Timezone.mjs";
|
|
14
|
+
export { configurationDetailsSchema, countriesSchema, countryEntries, countrySchema, departmentJobsSchema, getConfiguration, getCountries, getCountriesSchema, getJobs, getLanguages, getPrimaryTranslations, getTimezones, imageBaseUrl, imageSizes, imageUrl, languagesSchema, primaryTranslationsSchema, timezonesSchema };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _configurationDetailsSchema: v.ObjectSchema<{
|
|
3
|
+
/** The `key`s a change can have (see `Changes`). */
|
|
4
|
+
readonly changeKeys: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly images: v.ObjectSchema<{
|
|
6
|
+
/** `http://` base for image URLs: `${baseUrl}${size}${filePath}`. Prefer `secureBaseUrl`. */
|
|
7
|
+
readonly baseUrl: v.StringSchema<undefined>;
|
|
8
|
+
/** `https://` base for image URLs: `${secureBaseUrl}${size}${filePath}`. */
|
|
9
|
+
readonly secureBaseUrl: v.StringSchema<undefined>;
|
|
10
|
+
/** Sizes accepted for backdrops, e.g. `w780`, `original`. */
|
|
11
|
+
readonly backdropSizes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly logoSizes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly posterSizes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly profileSizes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly stillSizes: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
export interface ConfigurationDetails extends v.InferOutput<typeof _configurationDetailsSchema> {}
|
|
19
|
+
/**
|
|
20
|
+
* ### Configuration
|
|
21
|
+
*
|
|
22
|
+
* The image base URLs and sizes needed to turn an image's `filePath` into a URL, plus the known change keys. TMDB rarely changes these; cache them.
|
|
23
|
+
*/
|
|
24
|
+
export declare const configurationDetailsSchema: v.GenericSchema<ConfigurationDetails>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=ConfigurationDetails.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurationDetails.d.mts","names":[],"sources":["../../../src/configuration/types/ConfigurationDetails.ts"],"mappings":";cAGM,6BAA2B,EAAA;;;;;;;;;;;;;;;;iBAiBhB,6BAA6B,EAAE,mBACvC;;;;;;qBAQI,4BAA0B,EAAA,cAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/types/ConfigurationDetails.ts
|
|
4
|
+
const _configurationDetailsSchema = v.object({
|
|
5
|
+
/** The `key`s a change can have (see `Changes`). */
|
|
6
|
+
changeKeys: v.array(v.string()),
|
|
7
|
+
images: v.object({
|
|
8
|
+
/** `http://` base for image URLs: `${baseUrl}${size}${filePath}`. Prefer `secureBaseUrl`. */
|
|
9
|
+
baseUrl: v.string(),
|
|
10
|
+
/** `https://` base for image URLs: `${secureBaseUrl}${size}${filePath}`. */
|
|
11
|
+
secureBaseUrl: v.string(),
|
|
12
|
+
/** Sizes accepted for backdrops, e.g. `w780`, `original`. */
|
|
13
|
+
backdropSizes: v.array(v.string()),
|
|
14
|
+
logoSizes: v.array(v.string()),
|
|
15
|
+
posterSizes: v.array(v.string()),
|
|
16
|
+
profileSizes: v.array(v.string()),
|
|
17
|
+
stillSizes: v.array(v.string())
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* ### Configuration
|
|
22
|
+
*
|
|
23
|
+
* The image base URLs and sizes needed to turn an image's `filePath` into a URL, plus the known change keys. TMDB rarely changes these; cache them.
|
|
24
|
+
*/
|
|
25
|
+
const configurationDetailsSchema = schema(_configurationDetailsSchema);
|
|
26
|
+
export { configurationDetailsSchema };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=ConfigurationDetails.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurationDetails.mjs","names":[],"sources":["../../../src/configuration/types/ConfigurationDetails.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\n\nconst _configurationDetailsSchema = v.object({\n /** The `key`s a change can have (see `Changes`). */\n changeKeys: v.array(v.string()),\n images: v.object({\n /** `http://` base for image URLs: `${baseUrl}${size}${filePath}`. Prefer `secureBaseUrl`. */\n baseUrl: v.string(),\n /** `https://` base for image URLs: `${secureBaseUrl}${size}${filePath}`. */\n secureBaseUrl: v.string(),\n /** Sizes accepted for backdrops, e.g. `w780`, `original`. */\n backdropSizes: v.array(v.string()),\n logoSizes: v.array(v.string()),\n posterSizes: v.array(v.string()),\n profileSizes: v.array(v.string()),\n stillSizes: v.array(v.string())\n })\n});\n\nexport interface ConfigurationDetails extends v.InferOutput<\n typeof _configurationDetailsSchema\n> {}\n\n/**\n * ### Configuration\n *\n * The image base URLs and sizes needed to turn an image's `filePath` into a URL, plus the known change keys. TMDB rarely changes these; cache them.\n */\nexport const configurationDetailsSchema = schema<ConfigurationDetails>(\n _configurationDetailsSchema\n);\n"],"mappings":";;;AAGA,MAAM,8BAA8B,EAAE,OAAO;;CAE3C,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC;CAC9B,QAAQ,EAAE,OAAO;;EAEf,SAAS,EAAE,OAAO;;EAElB,eAAe,EAAE,OAAO;;EAExB,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC;EACjC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC;EAC7B,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC;EAC/B,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC;EAChC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC;CAChC,CAAC;AACH,CAAC;;;;;;AAWD,MAAa,6BAA6B,OACxC,2BACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
export declare const countryEntries: {
|
|
3
|
+
/** ISO 3166-1 code. */
|
|
4
|
+
readonly iso_3166_1: v.StringSchema<undefined>;
|
|
5
|
+
readonly englishName: v.StringSchema<undefined>;
|
|
6
|
+
/** The country's name in the requested `language`. */
|
|
7
|
+
readonly nativeName: v.StringSchema<undefined>;
|
|
8
|
+
};
|
|
9
|
+
declare const _countrySchema: v.ObjectSchema<{
|
|
10
|
+
/** ISO 3166-1 code. */
|
|
11
|
+
readonly iso_3166_1: v.StringSchema<undefined>;
|
|
12
|
+
readonly englishName: v.StringSchema<undefined>;
|
|
13
|
+
/** The country's name in the requested `language`. */
|
|
14
|
+
readonly nativeName: v.StringSchema<undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export interface Country extends v.InferOutput<typeof _countrySchema> {}
|
|
17
|
+
/**
|
|
18
|
+
* ### Country
|
|
19
|
+
*
|
|
20
|
+
* A country TMDB knows of. Watch-provider regions share this shape.
|
|
21
|
+
*/
|
|
22
|
+
export declare const countrySchema: v.GenericSchema<Country>;
|
|
23
|
+
export type Countries = Country[];
|
|
24
|
+
/** Every country TMDB uses (`getCountries`). */
|
|
25
|
+
export declare const countriesSchema: v.GenericSchema<Countries>;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=Country.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Country.d.mts","names":[],"sources":["../../../src/configuration/types/Country.ts"],"mappings":";qBAGa;;;;;;;cAQP,gBAAc,EAAA;;;;;;;iBAEH,gBAAgB,EAAE,mBAAmB;;;;;;qBAOzC,eAAa,EAAA,cAAA;YAEd,YAAY;;qBAGX,iBAAe,EAAA,cAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/types/Country.ts
|
|
4
|
+
const countryEntries = {
|
|
5
|
+
/** ISO 3166-1 code. */
|
|
6
|
+
iso_3166_1: v.string(),
|
|
7
|
+
englishName: v.string(),
|
|
8
|
+
/** The country's name in the requested `language`. */
|
|
9
|
+
nativeName: v.string()
|
|
10
|
+
};
|
|
11
|
+
const _countrySchema = v.object(countryEntries);
|
|
12
|
+
/**
|
|
13
|
+
* ### Country
|
|
14
|
+
*
|
|
15
|
+
* A country TMDB knows of. Watch-provider regions share this shape.
|
|
16
|
+
*/
|
|
17
|
+
const countrySchema = schema(_countrySchema);
|
|
18
|
+
/** Every country TMDB uses (`getCountries`). */
|
|
19
|
+
const countriesSchema = schema(v.array(countrySchema));
|
|
20
|
+
export { countriesSchema, countryEntries, countrySchema };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=Country.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Country.mjs","names":[],"sources":["../../../src/configuration/types/Country.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\n\nexport const countryEntries = {\n /** ISO 3166-1 code. */\n iso_3166_1: v.string(),\n englishName: v.string(),\n /** The country's name in the requested `language`. */\n nativeName: v.string()\n} as const;\n\nconst _countrySchema = v.object(countryEntries);\n\nexport interface Country extends v.InferOutput<typeof _countrySchema> {}\n\n/**\n * ### Country\n *\n * A country TMDB knows of. Watch-provider regions share this shape.\n */\nexport const countrySchema = schema<Country>(_countrySchema);\n\nexport type Countries = Country[];\n\n/** Every country TMDB uses (`getCountries`). */\nexport const countriesSchema = schema<Countries>(v.array(countrySchema));\n"],"mappings":";;;AAGA,MAAa,iBAAiB;;CAE5B,YAAY,EAAE,OAAO;CACrB,aAAa,EAAE,OAAO;;CAEtB,YAAY,EAAE,OAAO;AACvB;AAEA,MAAM,iBAAiB,EAAE,OAAO,cAAc;;;;;;AAS9C,MAAa,gBAAgB,OAAgB,cAAc;;AAK3D,MAAa,kBAAkB,OAAkB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _departmentSchema: v.ObjectSchema<{
|
|
3
|
+
readonly department: v.StringSchema<undefined>;
|
|
4
|
+
readonly jobs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
}, undefined>;
|
|
6
|
+
export interface Department extends v.InferOutput<typeof _departmentSchema> {}
|
|
7
|
+
export type DepartmentJobs = Department[];
|
|
8
|
+
/**
|
|
9
|
+
* ### Jobs
|
|
10
|
+
*
|
|
11
|
+
* Every crew department and the jobs in it (`getJobs`): the values crew credits use for `department` and `job`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const departmentJobsSchema: v.GenericSchema<DepartmentJobs>;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=DepartmentJobs.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepartmentJobs.d.mts","names":[],"sources":["../../../src/configuration/types/DepartmentJobs.ts"],"mappings":";cAGM,mBAAiB,EAAA;;;;iBAKN,mBAAmB,EAAE,mBAAmB;YAE7C,iBAAiB;;;;;;qBAOhB,sBAAoB,EAAA,cAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/types/DepartmentJobs.ts
|
|
4
|
+
const _departmentSchema = v.object({
|
|
5
|
+
department: v.string(),
|
|
6
|
+
jobs: v.array(v.string())
|
|
7
|
+
});
|
|
8
|
+
/**
|
|
9
|
+
* ### Jobs
|
|
10
|
+
*
|
|
11
|
+
* Every crew department and the jobs in it (`getJobs`): the values crew credits use for `department` and `job`.
|
|
12
|
+
*/
|
|
13
|
+
const departmentJobsSchema = schema(v.array(schema(_departmentSchema)));
|
|
14
|
+
export { departmentJobsSchema };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=DepartmentJobs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepartmentJobs.mjs","names":[],"sources":["../../../src/configuration/types/DepartmentJobs.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\n\nconst _departmentSchema = v.object({\n department: v.string(),\n jobs: v.array(v.string())\n});\n\nexport interface Department extends v.InferOutput<typeof _departmentSchema> {}\n\nexport type DepartmentJobs = Department[];\n\n/**\n * ### Jobs\n *\n * Every crew department and the jobs in it (`getJobs`): the values crew credits use for `department` and `job`.\n */\nexport const departmentJobsSchema = schema<DepartmentJobs>(\n v.array(schema<Department>(_departmentSchema))\n);\n"],"mappings":";;;AAGA,MAAM,oBAAoB,EAAE,OAAO;CACjC,YAAY,EAAE,OAAO;CACrB,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC;AAC1B,CAAC;;;;;;AAWD,MAAa,uBAAuB,OAClC,EAAE,MAAM,OAAmB,iBAAiB,CAAC,CAC/C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SpokenLanguage } from "../../types/SpokenLanguage.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
export type Languages = SpokenLanguage[];
|
|
4
|
+
/**
|
|
5
|
+
* ### Languages
|
|
6
|
+
*
|
|
7
|
+
* Every language TMDB uses (`getLanguages`), in the same shape as a title's spoken languages.
|
|
8
|
+
*/
|
|
9
|
+
export declare const languagesSchema: v.GenericSchema<Languages>;
|
|
10
|
+
//# sourceMappingURL=Language.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Language.d.mts","names":[],"sources":["../../../src/configuration/types/Language.ts"],"mappings":";;YAOY,YAAY;;;;;;qBAOX,iBAAe,EAAA,cAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import { spokenLanguageSchema } from "../../types/SpokenLanguage.mjs";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
// src/configuration/types/Language.ts
|
|
5
|
+
/**
|
|
6
|
+
* ### Languages
|
|
7
|
+
*
|
|
8
|
+
* Every language TMDB uses (`getLanguages`), in the same shape as a title's spoken languages.
|
|
9
|
+
*/
|
|
10
|
+
const languagesSchema = schema(v.array(spokenLanguageSchema));
|
|
11
|
+
export { languagesSchema };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=Language.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Language.mjs","names":[],"sources":["../../../src/configuration/types/Language.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\nimport {\n spokenLanguageSchema,\n type SpokenLanguage\n} from \"../../types/SpokenLanguage.js\";\n\nexport type Languages = SpokenLanguage[];\n\n/**\n * ### Languages\n *\n * Every language TMDB uses (`getLanguages`), in the same shape as a title's spoken languages.\n */\nexport const languagesSchema = schema<Languages>(v.array(spokenLanguageSchema));\n"],"mappings":";;;;;;;;;AAcA,MAAa,kBAAkB,OAAkB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
export type PrimaryTranslations = string[];
|
|
3
|
+
/**
|
|
4
|
+
* ### Primary Translations
|
|
5
|
+
*
|
|
6
|
+
* The languages TMDB translates its content into, as `language-REGION` tags (e.g. `en-US`, `pt-BR`): the values worth passing as a request's `language`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const primaryTranslationsSchema: v.GenericSchema<PrimaryTranslations>;
|
|
9
|
+
//# sourceMappingURL=PrimaryTranslations.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimaryTranslations.d.mts","names":[],"sources":["../../../src/configuration/types/PrimaryTranslations.ts"],"mappings":";YAGY;;;;;;qBAOC,2BAAyB,EAAA,cAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/types/PrimaryTranslations.ts
|
|
4
|
+
/**
|
|
5
|
+
* ### Primary Translations
|
|
6
|
+
*
|
|
7
|
+
* The languages TMDB translates its content into, as `language-REGION` tags (e.g. `en-US`, `pt-BR`): the values worth passing as a request's `language`.
|
|
8
|
+
*/
|
|
9
|
+
const primaryTranslationsSchema = schema(v.array(v.string()));
|
|
10
|
+
export { primaryTranslationsSchema };
|
|
11
|
+
|
|
12
|
+
//# sourceMappingURL=PrimaryTranslations.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimaryTranslations.mjs","names":[],"sources":["../../../src/configuration/types/PrimaryTranslations.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\n\nexport type PrimaryTranslations = string[];\n\n/**\n * ### Primary Translations\n *\n * The languages TMDB translates its content into, as `language-REGION` tags (e.g. `en-US`, `pt-BR`): the values worth passing as a request's `language`.\n */\nexport const primaryTranslationsSchema = schema<PrimaryTranslations>(\n v.array(v.string())\n);\n"],"mappings":";;;;;;;;AAUA,MAAa,4BAA4B,OACvC,EAAE,MAAM,EAAE,OAAO,CAAC,CACpB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as v from "valibot";
|
|
2
|
+
declare const _timezoneSchema: v.ObjectSchema<{
|
|
3
|
+
/** ISO 3166-1 code. */
|
|
4
|
+
readonly iso_3166_1: v.StringSchema<undefined>;
|
|
5
|
+
/** IANA zone names, e.g. `America/Los_Angeles`. */
|
|
6
|
+
readonly zones: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
7
|
+
}, undefined>;
|
|
8
|
+
export interface Timezone extends v.InferOutput<typeof _timezoneSchema> {}
|
|
9
|
+
export type Timezones = Timezone[];
|
|
10
|
+
/**
|
|
11
|
+
* ### Timezones
|
|
12
|
+
*
|
|
13
|
+
* The time zones of every country (`getTimezones`), as used by `getTvSeriesAiringToday`'s `timezone`.
|
|
14
|
+
*/
|
|
15
|
+
export declare const timezonesSchema: v.GenericSchema<Timezones>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Timezone.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timezone.d.mts","names":[],"sources":["../../../src/configuration/types/Timezone.ts"],"mappings":";cAGM,iBAAe,EAAA;;;;;;iBAOJ,iBAAiB,EAAE,mBAAmB;YAE3C,YAAY;;;;;;qBAOX,iBAAe,EAAA,cAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { schema } from "../../validations/schema.mjs";
|
|
2
|
+
import * as v from "valibot";
|
|
3
|
+
// src/configuration/types/Timezone.ts
|
|
4
|
+
const _timezoneSchema = v.object({
|
|
5
|
+
/** ISO 3166-1 code. */
|
|
6
|
+
iso_3166_1: v.string(),
|
|
7
|
+
/** IANA zone names, e.g. `America/Los_Angeles`. */
|
|
8
|
+
zones: v.array(v.string())
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* ### Timezones
|
|
12
|
+
*
|
|
13
|
+
* The time zones of every country (`getTimezones`), as used by `getTvSeriesAiringToday`'s `timezone`.
|
|
14
|
+
*/
|
|
15
|
+
const timezonesSchema = schema(v.array(schema(_timezoneSchema)));
|
|
16
|
+
export { timezonesSchema };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=Timezone.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timezone.mjs","names":[],"sources":["../../../src/configuration/types/Timezone.ts"],"sourcesContent":["import * as v from \"valibot\";\nimport { schema } from \"../../validations/schema.js\";\n\nconst _timezoneSchema = v.object({\n /** ISO 3166-1 code. */\n iso_3166_1: v.string(),\n /** IANA zone names, e.g. `America/Los_Angeles`. */\n zones: v.array(v.string())\n});\n\nexport interface Timezone extends v.InferOutput<typeof _timezoneSchema> {}\n\nexport type Timezones = Timezone[];\n\n/**\n * ### Timezones\n *\n * The time zones of every country (`getTimezones`), as used by `getTvSeriesAiringToday`'s `timezone`.\n */\nexport const timezonesSchema = schema<Timezones>(\n v.array(schema<Timezone>(_timezoneSchema))\n);\n"],"mappings":";;;AAGA,MAAM,kBAAkB,EAAE,OAAO;;CAE/B,YAAY,EAAE,OAAO;;CAErB,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC;AAC3B,CAAC;;;;;;AAWD,MAAa,kBAAkB,OAC7B,EAAE,MAAM,OAAiB,eAAe,CAAC,CAC3C"}
|