Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tmdb-ts-benlei-fork

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmdb-ts-benlei-fork - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

4

dist/endpoints/movies.d.ts

@@ -0,3 +1,3 @@

import { AlternativeTitles, AppendToResponse, AppendToResponseMovieKey, ChangeOption, Changes, Credits, ExternalIds, Images, LanguageOption, LatestMovie, MovieChangeValue, MovieDetails, MovieKeywords, MovieLists, MoviesPlayingNow, PageOption, PopularMovies, Recommendations, RegionOption, ReleaseDates, Reviews, SimilarMovies, TopRatedMovies, Translations, UpcomingMovies, Videos, WatchProviders } from '../types';
import { BaseEndpoint } from './base';
import { AlternativeTitles, AppendToResponse, AppendToResponseMovieKey, ChangeOption, Changes, Credits, ExternalIds, Images, Keywords, LanguageOption, LatestMovie, MovieChangeValue, MovieDetails, MovieLists, MoviesPlayingNow, PageOption, PopularMovies, Recommendations, RegionOption, ReleaseDates, Reviews, SimilarMovies, TopRatedMovies, Translations, UpcomingMovies, Videos, WatchProviders } from '../types';
export declare class MoviesEndpoint extends BaseEndpoint {

@@ -12,3 +12,3 @@ protected readonly accessToken: string;

images(id: number): Promise<Images>;
keywords(id: number): Promise<Keywords>;
keywords(id: number): Promise<MovieKeywords>;
lists(id: number, options?: LanguageOption | PageOption): Promise<MovieLists>;

@@ -15,0 +15,0 @@ recommendations(id: number, options?: PageOption): Promise<Recommendations>;

@@ -0,3 +1,3 @@

import { AggregateCredits, AlternativeTitles, AppendToResponse, AppendToResponseTvKey, ChangeOption, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, LanguageOption, LatestTvShows, OnTheAir, PageOption, PopularTvShows, Recommendations, RegionOption, Reviews, ScreenedTheatrically, SeasonDetails, SimilarTvShows, TopRatedTvShows, Translations, TvKeywords, TvShowChangeValue, TvShowDetails, TvShowsAiringToday, Videos, WatchProviders } from '../types';
import { BaseEndpoint } from './base';
import { AggregateCredits, AlternativeTitles, AppendToResponse, AppendToResponseTvKey, ChangeOption, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, Keywords, LanguageOption, LatestTvShows, OnTheAir, PageOption, PopularTvShows, Recommendations, RegionOption, Reviews, ScreenedTheatrically, SeasonDetails, SimilarTvShows, TopRatedTvShows, Translations, TvShowChangeValue, TvShowDetails, TvShowsAiringToday, Videos, WatchProviders } from '../types';
export declare class TvShowsEndpoint extends BaseEndpoint {

@@ -16,3 +16,3 @@ protected readonly accessToken: string;

images(id: number): Promise<Images>;
keywords(id: number): Promise<Keywords>;
keywords(id: number): Promise<TvKeywords>;
recommendations(id: number, options?: PageOption): Promise<Recommendations>;

@@ -19,0 +19,0 @@ reviews(id: number, options?: PageOption): Promise<Reviews>;

@@ -16,5 +16,9 @@ import { Movie } from '.';

}
export interface Keywords {
export interface MovieKeywords {
id: number;
keywords: Keyword[];
}
export interface TvKeywords {
id: number;
results: Keyword[];
}

@@ -1,2 +0,2 @@

import { AlternativeTitles, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, Keywords, MovieChangeValue, MovieLists, PeopleImages, PersonChangeValue, PersonCombinedCredits, PersonMovieCredit, PersonTranslations, PersonTvShowCredit, Recommendations, ReleaseDates, Reviews, ScreenedTheatrically, SimilarMovies, SimilarTvShows, TaggedImages, Translations, TvEpisodeChangeValue, TvEpisodeCredit, TvEpisodeTranslations, TvSeasonChangeValue, TvShowChangeValue, Videos, WatchProviders } from '.';
import { AlternativeTitles, Changes, ContentRatings, Credits, EpisodeGroups, ExternalIds, Images, MovieChangeValue, MovieKeywords, MovieLists, PeopleImages, PersonChangeValue, PersonCombinedCredits, PersonMovieCredit, PersonTranslations, PersonTvShowCredit, Recommendations, ReleaseDates, Reviews, ScreenedTheatrically, SimilarMovies, SimilarTvShows, TaggedImages, Translations, TvEpisodeChangeValue, TvEpisodeCredit, TvEpisodeTranslations, TvSeasonChangeValue, TvShowChangeValue, Videos, WatchProviders } from '.';
export interface LanguageOption {

@@ -37,3 +37,3 @@ language?: string;

} : object) & ('keywords' extends T[number] ? {
keywords: Omit<Keywords, 'id'>;
keywords: Omit<MovieKeywords, 'id'>;
} : object) & ('lists' extends T[number] ? {

@@ -40,0 +40,0 @@ lists: Omit<MovieLists, 'id'>;

{
"name": "tmdb-ts-benlei-fork",
"version": "1.4.7",
"version": "1.4.8",
"description": "TMDB v3 library wrapper",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc