@lorenzopant/tmdb 1.2.0 → 1.4.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # TMDB API TS
1
+ # 🍿 @lorenzopant/tmdb
2
2
 
3
3
  A **TypeScript-first** lightweight client for [The Movie Database (TMDB)](https://developer.themoviedb.org/docs/getting-started) API.
4
4
 
@@ -9,7 +9,7 @@ Feel free to open pull requests on the project repository.
9
9
  - 🔥 Simple and tiny wrapper
10
10
  - 🚀 Designed for server-side and frontend use (NextJS, React, Vue, etc.)
11
11
 
12
- ## Full documentation is available at [@lorenzopant/tmdb](https://lorenzopant-docs.vercel.app/)
12
+ ## Full documentation is available at [@lorenzopant/tmdb](https://lorenzopant-tmdb-docs.vercel.app)
13
13
 
14
14
  ---
15
15
 
@@ -17,6 +17,10 @@ Feel free to open pull requests on the project repository.
17
17
 
18
18
  ```bash
19
19
  npm install @lorenzopant/tmdb
20
+ // or
21
+ pnpm add @lorenzopant/tmdb
22
+ // or
23
+ yard add @lorenzopant/tmdb
20
24
  ```
21
25
 
22
26
  ---
@@ -0,0 +1,21 @@
1
+ import { Certifications } from "../types";
2
+ import { TMDBAPIBase } from "./base";
3
+ export declare class CertificationsAPI extends TMDBAPIBase {
4
+ /**
5
+ * Movie Certifications
6
+ * GET - https://api.themoviedb.org/3/certification/movie/list
7
+ *
8
+ * Get an up to date list of the officially supported movie certifications on TMDB.
9
+ * @reference https://developer.themoviedb.org/reference/certification-movie-list
10
+ */
11
+ movie_certifications(): Promise<Certifications>;
12
+ /**
13
+ * TV Certifications
14
+ * GET - https://api.themoviedb.org/3/certification/tv/list
15
+ *
16
+ * Get an up to date list of the officially supported tv certifications on TMDB.
17
+ * @reference https://developer.themoviedb.org/reference/certification-tv-list
18
+ */
19
+ tv_certifications(): Promise<Certifications>;
20
+ }
21
+ //# sourceMappingURL=certifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certifications.d.ts","sourceRoot":"","sources":["../../src/endpoints/certifications.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,iBAAkB,SAAQ,WAAW;IACjD;;;;;;OAMG;IACG,oBAAoB,IAAI,OAAO,CAAC,cAAc,CAAC;IAIrD;;;;;;OAMG;IACG,iBAAiB,IAAI,OAAO,CAAC,cAAc,CAAC;CAGlD"}
@@ -0,0 +1,24 @@
1
+ import { ENDPOINTS } from "../routes";
2
+ import { TMDBAPIBase } from "./base";
3
+ export class CertificationsAPI extends TMDBAPIBase {
4
+ /**
5
+ * Movie Certifications
6
+ * GET - https://api.themoviedb.org/3/certification/movie/list
7
+ *
8
+ * Get an up to date list of the officially supported movie certifications on TMDB.
9
+ * @reference https://developer.themoviedb.org/reference/certification-movie-list
10
+ */
11
+ async movie_certifications() {
12
+ return this.client.request(ENDPOINTS.CERTIFICATIONS.MOVIE_CERTIFICATIONS);
13
+ }
14
+ /**
15
+ * TV Certifications
16
+ * GET - https://api.themoviedb.org/3/certification/tv/list
17
+ *
18
+ * Get an up to date list of the officially supported tv certifications on TMDB.
19
+ * @reference https://developer.themoviedb.org/reference/certification-tv-list
20
+ */
21
+ async tv_certifications() {
22
+ return this.client.request(ENDPOINTS.CERTIFICATIONS.TV_CERTIFICATIONS);
23
+ }
24
+ }
@@ -0,0 +1,41 @@
1
+ import { ChangeResultItem, PaginatedResponse, WithPageAndDateRange } from "../types";
2
+ import { TMDBAPIBase } from "./base";
3
+ export declare class ChangesAPI extends TMDBAPIBase {
4
+ /**
5
+ * Movie List
6
+ * GET - https://api.themoviedb.org/3/movie/changes
7
+ *
8
+ * Get a list of all of the movie ids that have been changed in the past 24 hours.
9
+ *
10
+ * @param page Page number
11
+ * @param start_date Start date for change items
12
+ * @param end_date End date for change items
13
+ * @reference https://developer.themoviedb.org/reference/changes-movie-list
14
+ */
15
+ movie_list(params?: WithPageAndDateRange): Promise<PaginatedResponse<ChangeResultItem>>;
16
+ /**
17
+ * People List
18
+ * GET - https://api.themoviedb.org/3/person/changes
19
+ *
20
+ * Get a list of all of the person ids that have been changed in the past 24 hours.
21
+ *
22
+ * @param page Page number
23
+ * @param start_date Start date for change items
24
+ * @param end_date End date for change items
25
+ * @reference https://developer.themoviedb.org/reference/changes-people-list
26
+ */
27
+ people_list(params?: WithPageAndDateRange): Promise<PaginatedResponse<ChangeResultItem>>;
28
+ /**
29
+ * TV List
30
+ * GET - https://api.themoviedb.org/3/tv/changes
31
+ *
32
+ * Get a list of all of the tv show ids that have been changed in the past 24 hours.
33
+ *
34
+ * @param page Page number
35
+ * @param start_date Start date for change items
36
+ * @param end_date End date for change items
37
+ * @reference https://developer.themoviedb.org/reference/changes-tv-list
38
+ */
39
+ tv_list(params?: WithPageAndDateRange): Promise<PaginatedResponse<ChangeResultItem>>;
40
+ }
41
+ //# sourceMappingURL=changes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../src/endpoints/changes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACrF,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,UAAW,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACG,UAAU,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAI7F;;;;;;;;;;OAUG;IACG,WAAW,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAI9F;;;;;;;;;;OAUG;IACG,OAAO,CAAC,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;CAG1F"}
@@ -0,0 +1,46 @@
1
+ import { ENDPOINTS } from "../routes";
2
+ import { TMDBAPIBase } from "./base";
3
+ export class ChangesAPI extends TMDBAPIBase {
4
+ /**
5
+ * Movie List
6
+ * GET - https://api.themoviedb.org/3/movie/changes
7
+ *
8
+ * Get a list of all of the movie ids that have been changed in the past 24 hours.
9
+ *
10
+ * @param page Page number
11
+ * @param start_date Start date for change items
12
+ * @param end_date End date for change items
13
+ * @reference https://developer.themoviedb.org/reference/changes-movie-list
14
+ */
15
+ async movie_list(params) {
16
+ return this.client.request(ENDPOINTS.CHANGES.MOVIE_LIST, params);
17
+ }
18
+ /**
19
+ * People List
20
+ * GET - https://api.themoviedb.org/3/person/changes
21
+ *
22
+ * Get a list of all of the person ids that have been changed in the past 24 hours.
23
+ *
24
+ * @param page Page number
25
+ * @param start_date Start date for change items
26
+ * @param end_date End date for change items
27
+ * @reference https://developer.themoviedb.org/reference/changes-people-list
28
+ */
29
+ async people_list(params) {
30
+ return this.client.request(ENDPOINTS.CHANGES.PEOPLE_LIST, params);
31
+ }
32
+ /**
33
+ * TV List
34
+ * GET - https://api.themoviedb.org/3/tv/changes
35
+ *
36
+ * Get a list of all of the tv show ids that have been changed in the past 24 hours.
37
+ *
38
+ * @param page Page number
39
+ * @param start_date Start date for change items
40
+ * @param end_date End date for change items
41
+ * @reference https://developer.themoviedb.org/reference/changes-tv-list
42
+ */
43
+ async tv_list(params) {
44
+ return this.client.request(ENDPOINTS.CHANGES.TV_LIST, params);
45
+ }
46
+ }
package/dist/routes.d.ts CHANGED
@@ -7,5 +7,14 @@ export declare const ENDPOINTS: {
7
7
  TIMEZONES: string;
8
8
  PRIMARY_TRANSLATIONS: string;
9
9
  };
10
+ CERTIFICATIONS: {
11
+ MOVIE_CERTIFICATIONS: string;
12
+ TV_CERTIFICATIONS: string;
13
+ };
14
+ CHANGES: {
15
+ MOVIE_LIST: string;
16
+ PEOPLE_LIST: string;
17
+ TV_LIST: string;
18
+ };
10
19
  };
11
20
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;CAkBrB,CAAC"}
package/dist/routes.js CHANGED
@@ -7,4 +7,13 @@ export const ENDPOINTS = {
7
7
  TIMEZONES: "/configuration/timezones",
8
8
  PRIMARY_TRANSLATIONS: "/configuration/primary_translations",
9
9
  },
10
+ CERTIFICATIONS: {
11
+ MOVIE_CERTIFICATIONS: "/certification/movie/list",
12
+ TV_CERTIFICATIONS: "/certification/tv/list",
13
+ },
14
+ CHANGES: {
15
+ MOVIE_LIST: "/movie/changes",
16
+ PEOPLE_LIST: "/person/changes",
17
+ TV_LIST: "/tv/changes",
18
+ },
10
19
  };
package/dist/tmdb.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { CertificationsAPI } from "./endpoints/certifications";
2
+ import { ChangesAPI } from "./endpoints/changes";
1
3
  import { ConfigurationAPI } from "./endpoints/configuration";
2
4
  import { GenresAPI } from "./endpoints/genres";
3
5
  import { MovieListsAPI } from "./endpoints/movie_lists";
@@ -18,6 +20,8 @@ export declare class TMDB {
18
20
  genres: GenresAPI;
19
21
  tv_lists: TVSeriesListsAPI;
20
22
  tv_series: TVSeriesAPI;
23
+ certifications: CertificationsAPI;
24
+ changes: ChangesAPI;
21
25
  /**
22
26
  * Creates a new TMDB instance.
23
27
  * @param accessToken The TMDB API access token.
@@ -1 +1 @@
1
- {"version":3,"file":"tmdb.d.ts","sourceRoot":"","sources":["../src/tmdb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBAAa,IAAI;IAChB,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,OAAO,CAAc;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,gBAAgB,CAAC;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;IAG9B;;;;OAIG;gBACS,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;CAa1D"}
1
+ {"version":3,"file":"tmdb.d.ts","sourceRoot":"","sources":["../src/tmdb.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,qBAAa,IAAI;IAChB,OAAO,CAAC,MAAM,CAAY;IAC1B,OAAO,CAAC,OAAO,CAAc;IACtB,MAAM,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,aAAa,CAAC;IAC3B,MAAM,EAAE,SAAS,CAAC;IAClB,MAAM,EAAE,QAAQ,CAAC;IACjB,aAAa,EAAE,gBAAgB,CAAC;IAChC,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,SAAS,EAAE,WAAW,CAAC;IACvB,cAAc,EAAE,iBAAiB,CAAC;IAClC,OAAO,EAAE,UAAU,CAAC;IAG3B;;;;OAIG;gBACS,WAAW,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB;CAe1D"}
package/dist/tmdb.js CHANGED
@@ -1,5 +1,7 @@
1
1
  // src.tmdb.ts
2
2
  import { ApiClient } from "./client";
3
+ import { CertificationsAPI } from "./endpoints/certifications";
4
+ import { ChangesAPI } from "./endpoints/changes";
3
5
  import { ConfigurationAPI } from "./endpoints/configuration";
4
6
  import { GenresAPI } from "./endpoints/genres";
5
7
  import { MovieListsAPI } from "./endpoints/movie_lists";
@@ -20,6 +22,8 @@ export class TMDB {
20
22
  genres;
21
23
  tv_lists;
22
24
  tv_series;
25
+ certifications;
26
+ changes;
23
27
  // etc...
24
28
  /**
25
29
  * Creates a new TMDB instance.
@@ -39,5 +43,7 @@ export class TMDB {
39
43
  this.genres = new GenresAPI(this.client, this.options);
40
44
  this.tv_lists = new TVSeriesListsAPI(this.client, this.options);
41
45
  this.tv_series = new TVSeriesAPI(this.client, this.options);
46
+ this.certifications = new CertificationsAPI(this.client, this.options);
47
+ this.changes = new ChangesAPI(this.client, this.options);
42
48
  }
43
49
  }
@@ -0,0 +1,20 @@
1
+ import { CountryISO3166_1 } from "../config";
2
+ /**
3
+ * Represents a content rating certification for a movie or TV show.
4
+ */
5
+ export type CertificationItem = {
6
+ /** The certification label as defined by the rating authority (e.g. `PG-13`, `18+`, `R`) */
7
+ certification: string;
8
+ /** A human-readable description of the audience this certification targets or restricts */
9
+ meaning?: string;
10
+ /** The display order of this certification relative to others in the same rating system */
11
+ order?: number;
12
+ };
13
+ /**
14
+ * A map of content rating certifications grouped by country.
15
+ */
16
+ export type Certifications = {
17
+ /** A record mapping each country (ISO 3166-1 alpha-2 code) to its list of applicable certifications */
18
+ certifications: Record<CountryISO3166_1, CertificationItem[]>;
19
+ };
20
+ //# sourceMappingURL=certifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certifications.d.ts","sourceRoot":"","sources":["../../../src/types/common/certifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,4FAA4F;IAC5F,aAAa,EAAE,MAAM,CAAC;IACtB,2FAA2F;IAC3F,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC5B,uGAAuG;IACvG,cAAc,EAAE,MAAM,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,CAAC,CAAC;CAC9D,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -33,4 +33,13 @@ export type ChangeItem = {
33
33
  /** The original data object (structure varies by change type) */
34
34
  original_value?: object;
35
35
  };
36
+ /**
37
+ * Represents a single change result item from the changes endpoint.
38
+ */
39
+ export type ChangeResultItem = {
40
+ /** Id of the movie, tv show or person */
41
+ id: number;
42
+ /** Whether the movie, tv show or person is marked as adult content */
43
+ adult: boolean;
44
+ };
36
45
  //# sourceMappingURL=changes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../src/types/common/changes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACrB,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACpB,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAC;IACZ,+CAA+C;IAC/C,KAAK,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
1
+ {"version":3,"file":"changes.d.ts","sourceRoot":"","sources":["../../../src/types/common/changes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACrB,uCAAuC;IACvC,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACpB,2EAA2E;IAC3E,GAAG,EAAE,MAAM,CAAC;IACZ,+CAA+C;IAC/C,KAAK,EAAE,UAAU,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,SAAS,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,sEAAsE;IACtE,KAAK,EAAE,OAAO,CAAC;CACf,CAAC"}
@@ -2,4 +2,5 @@ export * from "./changes";
2
2
  export * from "./media";
3
3
  export * from "./pagination";
4
4
  export * from "./params";
5
+ export * from "./certifications";
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
@@ -2,3 +2,4 @@ export * from "./changes";
2
2
  export * from "./media";
3
3
  export * from "./pagination";
4
4
  export * from "./params";
5
+ export * from "./certifications";
@@ -24,4 +24,5 @@ export type WithLanguage = WithParams<"language">;
24
24
  export type WithPage = WithParams<"page">;
25
25
  export type WithRegion = WithParams<"region">;
26
26
  export type WithLanguagePage = WithParams<"language" | "page">;
27
+ export type WithPageAndDateRange = WithParams<"page"> & DateRange;
27
28
  //# sourceMappingURL=params.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../src/types/common/params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACvB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,sBAAsB;AACtB,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,eAAe,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;AAEnF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;AAClD,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AAC9C,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,UAAU,GAAG,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../src/types/common/params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACvB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,sBAAsB;AACtB,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,eAAe,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC;AAEnF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;AAClD,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;AAC1C,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;AAC9C,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,UAAU,GAAG,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorenzopant/tmdb",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "A completely type-safe The Movie Database (TMDB) API wrapper for typescript applications.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",