@justwicked/tmdb-client 1.0.3 → 1.0.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Generated by orval v7.
|
|
2
|
+
* Generated by orval v7.21.0 🍺
|
|
3
3
|
* Do not edit manually.
|
|
4
4
|
* tmdb-api
|
|
5
5
|
* OpenAPI spec version: 3
|
|
@@ -4457,6 +4457,11 @@ export type TrendingAllParams = {
|
|
|
4457
4457
|
* `ISO-639-1`-`ISO-3166-1` code
|
|
4458
4458
|
*/
|
|
4459
4459
|
language?: string;
|
|
4460
|
+
/**
|
|
4461
|
+
* Page number for pagination (default is 1)
|
|
4462
|
+
* @minimum 1
|
|
4463
|
+
*/
|
|
4464
|
+
page?: number;
|
|
4460
4465
|
};
|
|
4461
4466
|
export type TrendingAll200ResultsItem = {
|
|
4462
4467
|
adult?: boolean;
|
|
@@ -4486,6 +4491,11 @@ export type TrendingMoviesParams = {
|
|
|
4486
4491
|
* `ISO-639-1`-`ISO-3166-1` code
|
|
4487
4492
|
*/
|
|
4488
4493
|
language?: string;
|
|
4494
|
+
/**
|
|
4495
|
+
* Page number for pagination (default is 1)
|
|
4496
|
+
* @minimum 1
|
|
4497
|
+
*/
|
|
4498
|
+
page?: number;
|
|
4489
4499
|
};
|
|
4490
4500
|
export type TrendingMovies200ResultsItem = {
|
|
4491
4501
|
adult?: boolean;
|
|
@@ -4515,6 +4525,11 @@ export type TrendingPeopleParams = {
|
|
|
4515
4525
|
* `ISO-639-1`-`ISO-3166-1` code
|
|
4516
4526
|
*/
|
|
4517
4527
|
language?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* Page number for pagination (default is 1)
|
|
4530
|
+
* @minimum 1
|
|
4531
|
+
*/
|
|
4532
|
+
page?: number;
|
|
4518
4533
|
};
|
|
4519
4534
|
export type TrendingPeople200ResultsItemKnownForItem = {
|
|
4520
4535
|
adult?: boolean;
|
|
@@ -4556,6 +4571,11 @@ export type TrendingTvParams = {
|
|
|
4556
4571
|
* `ISO-639-1`-`ISO-3166-1` code
|
|
4557
4572
|
*/
|
|
4558
4573
|
language?: string;
|
|
4574
|
+
/**
|
|
4575
|
+
* Page number for pagination (default is 1)
|
|
4576
|
+
* @minimum 1
|
|
4577
|
+
*/
|
|
4578
|
+
page?: number;
|
|
4559
4579
|
};
|
|
4560
4580
|
export type TrendingTv200ResultsItem = {
|
|
4561
4581
|
adult?: boolean;
|
|
@@ -8942,8 +8962,8 @@ export declare const tvSeriesScreenedTheatrically: (seriesId: number, options?:
|
|
|
8942
8962
|
* Get the similar TV shows.
|
|
8943
8963
|
* @summary Similar
|
|
8944
8964
|
*/
|
|
8945
|
-
export declare const getTvSeriesSimilarUrl: (seriesId:
|
|
8946
|
-
export declare const tvSeriesSimilar: (seriesId:
|
|
8965
|
+
export declare const getTvSeriesSimilarUrl: (seriesId: number, params?: TvSeriesSimilarParams) => string;
|
|
8966
|
+
export declare const tvSeriesSimilar: (seriesId: number, params?: TvSeriesSimilarParams, options?: RequestInit) => Promise<TvSeriesSimilar200>;
|
|
8947
8967
|
/**
|
|
8948
8968
|
* Get the translations that have been added to a TV show.
|
|
8949
8969
|
* @summary Translations
|
|
@@ -27,7 +27,7 @@ export default class TVService {
|
|
|
27
27
|
getRecommendations(seriesId: number, params?: TvSeriesRecommendationsParams): Promise<import("../../types").TvSeriesRecommendations200>;
|
|
28
28
|
getReviews(seriesId: number, params?: TvSeriesReviewsParams): Promise<import("../../types").TvSeriesReviews200>;
|
|
29
29
|
getScreenedTheatrically(seriesId: number): Promise<import("../../types").TvSeriesScreenedTheatrically200>;
|
|
30
|
-
getSimilar(seriesId:
|
|
30
|
+
getSimilar(seriesId: number, params?: TvSeriesSimilarParams): Promise<import("../../types").TvSeriesSimilar200>;
|
|
31
31
|
getTranslations(seriesId: number): Promise<import("../../types").TvSeriesTranslations200>;
|
|
32
32
|
getVideos(seriesId: number, params?: TvSeriesVideosParams): Promise<import("../../types").TvSeriesVideos200>;
|
|
33
33
|
getWatchProviders(seriesId: number): Promise<import("../../types").TvSeriesWatchProviders200>;
|
package/package.json
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@justwicked/tmdb-client",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A lightweight TypeScript Client for the TMDB API.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"module": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"require": "./dist/index.cjs",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"clean": "rimraf dist",
|
|
21
|
-
"build": "npm run clean && npm run generate:api && tsc",
|
|
22
|
-
"prepare": "npm run build",
|
|
23
|
-
"format": "prettier . --write",
|
|
24
|
-
"generate:api": "rimraf ./src/client/__generated__/api ./src/client/__generated__/schema && orval"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "https://github.com/justwickedcode/tmdb-
|
|
29
|
-
},
|
|
30
|
-
"keywords": [
|
|
31
|
-
"tmdb",
|
|
32
|
-
"api",
|
|
33
|
-
"rest",
|
|
34
|
-
"wrapper"
|
|
35
|
-
],
|
|
36
|
-
"author": "justwickedcode",
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"devDependencies": {
|
|
39
|
-
"dotenv": "^17.
|
|
40
|
-
"orval": "^7.
|
|
41
|
-
"prettier": "^3.
|
|
42
|
-
"rimraf": "^6.
|
|
43
|
-
"typescript": "^5.
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@justwicked/tmdb-client",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "A lightweight TypeScript Client for the TMDB API.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"clean": "rimraf dist",
|
|
21
|
+
"build": "npm run clean && npm run generate:api && tsc",
|
|
22
|
+
"prepare": "npm run build",
|
|
23
|
+
"format": "prettier . --write",
|
|
24
|
+
"generate:api": "rimraf ./src/client/__generated__/api ./src/client/__generated__/schema && orval"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/justwickedcode/tmdb-client.git"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [
|
|
31
|
+
"tmdb",
|
|
32
|
+
"api",
|
|
33
|
+
"rest",
|
|
34
|
+
"wrapper"
|
|
35
|
+
],
|
|
36
|
+
"author": "justwickedcode",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"dotenv": "^17.3.1",
|
|
40
|
+
"orval": "^7.21.0",
|
|
41
|
+
"prettier": "^3.8.1",
|
|
42
|
+
"rimraf": "^6.1.2",
|
|
43
|
+
"typescript": "^5.9.3"
|
|
44
|
+
}
|
|
45
|
+
}
|