@lorenzopant/tmdb 1.10.0 → 1.11.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/dist/endpoints/networks.d.ts +36 -0
- package/dist/endpoints/networks.d.ts.map +1 -0
- package/dist/endpoints/networks.js +46 -0
- package/dist/routes.d.ts +5 -0
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +5 -0
- package/dist/tmdb.d.ts +2 -0
- package/dist/tmdb.d.ts.map +1 -1
- package/dist/tmdb.js +3 -0
- package/dist/types/common/images.d.ts +65 -0
- package/dist/types/common/images.d.ts.map +1 -0
- package/dist/types/common/index.d.ts +1 -0
- package/dist/types/common/index.d.ts.map +1 -1
- package/dist/types/common/index.js +1 -0
- package/dist/types/common/media.d.ts +25 -22
- package/dist/types/common/media.d.ts.map +1 -1
- package/dist/types/common/media.js +0 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/dist/types/movies/images.d.ts +2 -11
- package/dist/types/movies/images.d.ts.map +1 -1
- package/dist/types/other/collections.d.ts +3 -9
- package/dist/types/other/collections.d.ts.map +1 -1
- package/dist/types/other/companies.d.ts +5 -33
- package/dist/types/other/companies.d.ts.map +1 -1
- package/dist/types/other/index.d.ts +1 -0
- package/dist/types/other/index.d.ts.map +1 -1
- package/dist/types/other/index.js +1 -0
- package/dist/types/other/networks.d.ts +46 -0
- package/dist/types/other/networks.d.ts.map +1 -0
- package/dist/types/other/networks.js +1 -0
- package/dist/types/tv/episode_groups.d.ts +1 -1
- package/dist/types/tv/episode_groups.d.ts.map +1 -1
- package/dist/types/tv/images.d.ts +2 -11
- package/dist/types/tv/images.d.ts.map +1 -1
- package/dist/types/tv/tv_series.d.ts +1 -1
- package/dist/types/tv/tv_series.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/networks/alternative_names.d.ts +0 -1
- package/dist/types/networks/alternative_names.d.ts.map +0 -1
- package/dist/types/networks/alternative_names.js +0 -1
- package/dist/types/networks/images.d.ts +0 -1
- package/dist/types/networks/images.d.ts.map +0 -1
- package/dist/types/networks/images.js +0 -1
- package/dist/types/networks/index.d.ts +0 -2
- package/dist/types/networks/index.d.ts.map +0 -1
- package/dist/types/networks/index.js +0 -1
- package/dist/types/networks/network.d.ts +0 -8
- package/dist/types/networks/network.d.ts.map +0 -1
- /package/dist/types/{networks/network.js → common/images.js} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AlternativeNamesResult, Network, NetworkBaseParams, NetworkImages } from "../types";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export declare class NetworksAPI extends TMDBAPIBase {
|
|
4
|
+
private networkPath;
|
|
5
|
+
/**
|
|
6
|
+
* Details
|
|
7
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}
|
|
8
|
+
*
|
|
9
|
+
* Get the network details by ID.
|
|
10
|
+
*
|
|
11
|
+
* @param network_id Unique identifier for the network
|
|
12
|
+
* @reference https://developer.themoviedb.org/reference/network-details
|
|
13
|
+
*/
|
|
14
|
+
details(params: NetworkBaseParams): Promise<Network>;
|
|
15
|
+
/**
|
|
16
|
+
* Alternative names
|
|
17
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/alternative_names
|
|
18
|
+
*
|
|
19
|
+
* Get the list of alternative names for a network.
|
|
20
|
+
*
|
|
21
|
+
* @param network_id Unique identifier for the network
|
|
22
|
+
* @reference https://developer.themoviedb.org/reference/network-alternative-names
|
|
23
|
+
*/
|
|
24
|
+
alternative_names(params: NetworkBaseParams): Promise<AlternativeNamesResult>;
|
|
25
|
+
/**
|
|
26
|
+
* Images
|
|
27
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/images
|
|
28
|
+
*
|
|
29
|
+
* Get the logos for a network by ID.
|
|
30
|
+
*
|
|
31
|
+
* @param network_id Unique identifier for the network
|
|
32
|
+
* @reference https://developer.themoviedb.org/reference/network-images
|
|
33
|
+
*/
|
|
34
|
+
images(params: NetworkBaseParams): Promise<NetworkImages>;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=networks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../src/endpoints/networks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAErC,qBAAa,WAAY,SAAQ,WAAW;IAC3C,OAAO,CAAC,WAAW;IAInB;;;;;;;;OAQG;IACG,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;IAK1D;;;;;;;;OAQG;IACG,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAKnF;;;;;;;;OAQG;IACG,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC;CAI/D"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ENDPOINTS } from "../routes";
|
|
2
|
+
import { TMDBAPIBase } from "./base";
|
|
3
|
+
export class NetworksAPI extends TMDBAPIBase {
|
|
4
|
+
networkPath(network_id) {
|
|
5
|
+
return `${ENDPOINTS.NETWORKS.DETAILS}/${network_id}`;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Details
|
|
9
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}
|
|
10
|
+
*
|
|
11
|
+
* Get the network details by ID.
|
|
12
|
+
*
|
|
13
|
+
* @param network_id Unique identifier for the network
|
|
14
|
+
* @reference https://developer.themoviedb.org/reference/network-details
|
|
15
|
+
*/
|
|
16
|
+
async details(params) {
|
|
17
|
+
const endpoint = this.networkPath(params.network_id);
|
|
18
|
+
return this.client.request(endpoint, params);
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Alternative names
|
|
22
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/alternative_names
|
|
23
|
+
*
|
|
24
|
+
* Get the list of alternative names for a network.
|
|
25
|
+
*
|
|
26
|
+
* @param network_id Unique identifier for the network
|
|
27
|
+
* @reference https://developer.themoviedb.org/reference/network-alternative-names
|
|
28
|
+
*/
|
|
29
|
+
async alternative_names(params) {
|
|
30
|
+
const endpoint = `${this.networkPath(params.network_id)}${ENDPOINTS.NETWORKS.ALTERNATIVE_NAMES}`;
|
|
31
|
+
return this.client.request(endpoint, params);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Images
|
|
35
|
+
* GET - https://api.themoviedb.org/3/network/{network_id}/images
|
|
36
|
+
*
|
|
37
|
+
* Get the logos for a network by ID.
|
|
38
|
+
*
|
|
39
|
+
* @param network_id Unique identifier for the network
|
|
40
|
+
* @reference https://developer.themoviedb.org/reference/network-images
|
|
41
|
+
*/
|
|
42
|
+
async images(params) {
|
|
43
|
+
const endpoint = `${this.networkPath(params.network_id)}${ENDPOINTS.NETWORKS.IMAGES}`;
|
|
44
|
+
return this.client.request(endpoint);
|
|
45
|
+
}
|
|
46
|
+
}
|
package/dist/routes.d.ts
CHANGED
package/dist/routes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6GrB,CAAC"}
|
package/dist/routes.js
CHANGED
|
@@ -63,6 +63,11 @@ export const ENDPOINTS = {
|
|
|
63
63
|
VIDEOS: "/videos",
|
|
64
64
|
WATCH_PROVIDERS: "/watch/providers",
|
|
65
65
|
},
|
|
66
|
+
NETWORKS: {
|
|
67
|
+
DETAILS: "/network",
|
|
68
|
+
ALTERNATIVE_NAMES: "/alternative_names",
|
|
69
|
+
IMAGES: "/images",
|
|
70
|
+
},
|
|
66
71
|
SEARCH: {
|
|
67
72
|
MOVIE: "/search/movie",
|
|
68
73
|
COLLECTION: "/search/collection",
|
package/dist/tmdb.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { TVSeriesListsAPI } from "./endpoints/tv_series_lists";
|
|
|
16
16
|
import { WatchProvidersAPI } from "./endpoints/watch_providers";
|
|
17
17
|
import { ImageAPI } from "./images/images";
|
|
18
18
|
import { TMDBOptions } from "./types/config";
|
|
19
|
+
import { NetworksAPI } from "./endpoints/networks";
|
|
19
20
|
export declare class TMDB {
|
|
20
21
|
private client;
|
|
21
22
|
private options;
|
|
@@ -36,6 +37,7 @@ export declare class TMDB {
|
|
|
36
37
|
collections: CollectionsAPI;
|
|
37
38
|
discover: DiscoverAPI;
|
|
38
39
|
find: FindAPI;
|
|
40
|
+
networks: NetworksAPI;
|
|
39
41
|
/**
|
|
40
42
|
* Creates a new TMDB instance.
|
|
41
43
|
* @param accessToken The TMDB API access token.
|
package/dist/tmdb.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA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SeriesListsAPI } from "./endpoints/tv_series_lists";
|
|
|
18
18
|
import { WatchProvidersAPI } from "./endpoints/watch_providers";
|
|
19
19
|
import { Errors } from "./errors/messages";
|
|
20
20
|
import { ImageAPI } from "./images/images";
|
|
21
|
+
import { NetworksAPI } from "./endpoints/networks";
|
|
21
22
|
export class TMDB {
|
|
22
23
|
client;
|
|
23
24
|
options; // ** Default options for all requests
|
|
@@ -38,6 +39,7 @@ export class TMDB {
|
|
|
38
39
|
collections;
|
|
39
40
|
discover;
|
|
40
41
|
find;
|
|
42
|
+
networks;
|
|
41
43
|
// etc...
|
|
42
44
|
/**
|
|
43
45
|
* Creates a new TMDB instance.
|
|
@@ -66,5 +68,6 @@ export class TMDB {
|
|
|
66
68
|
this.collections = new CollectionsAPI(this.client, this.options);
|
|
67
69
|
this.discover = new DiscoverAPI(this.client, this.options);
|
|
68
70
|
this.find = new FindAPI(this.client, this.options);
|
|
71
|
+
this.networks = new NetworksAPI(this.client, this.options);
|
|
69
72
|
}
|
|
70
73
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { LiteralUnion } from "../utility";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the possible image collection keys returned by TMDB image endpoints.
|
|
4
|
+
*/
|
|
5
|
+
export type ImageCollectionKey = "backdrops" | "logos" | "posters" | "profiles" | "stills";
|
|
6
|
+
/**
|
|
7
|
+
* Image metadata and details
|
|
8
|
+
*/
|
|
9
|
+
export type ImageItem = {
|
|
10
|
+
/** Aspect ratio of the image (width/height) */
|
|
11
|
+
aspect_ratio: number;
|
|
12
|
+
/** Image height in pixels */
|
|
13
|
+
height: number;
|
|
14
|
+
/** ISO 639-1 language code if image contains text, null otherwise */
|
|
15
|
+
iso_639_1?: string | null;
|
|
16
|
+
/** Relative path to the image file (append to base URL) */
|
|
17
|
+
file_path: string;
|
|
18
|
+
/** Average user rating for this image */
|
|
19
|
+
vote_average: number;
|
|
20
|
+
/** Total number of votes for this image */
|
|
21
|
+
vote_count: number;
|
|
22
|
+
/** Image width in pixels */
|
|
23
|
+
width: number;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Represents a single company or network logo (slightly different from ImageItem)
|
|
27
|
+
*
|
|
28
|
+
* Note on FileType from TMDB:
|
|
29
|
+
* There are two image formats that are supported for companies, PNG's and SVG's.
|
|
30
|
+
* You can see which type the original file is by looking at the file_type field.
|
|
31
|
+
* We prefer SVG's as they are resolution independent and as such, the width and height are only
|
|
32
|
+
* there to reflect the original asset that was uploaded.
|
|
33
|
+
* An SVG can be scaled properly beyond those dimensions if you call them as a PNG.
|
|
34
|
+
*/
|
|
35
|
+
export type OrganizationImage = Omit<ImageItem, "iso_639_1"> & {
|
|
36
|
+
id: string;
|
|
37
|
+
file_type: FileType;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Represents the response from a TMDB image endpoint.
|
|
41
|
+
* Use the generic parameter to specify which image collections are present.
|
|
42
|
+
*
|
|
43
|
+
* @template K - The image collection keys available for the given entity type.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* // Company or Network (logos only)
|
|
47
|
+
* type OrganizationImagesResult = ImagesResult<"logos">;
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* // Movie or TV Show (backdrops, logos and posters)
|
|
51
|
+
* type MovieImagesResult = ImagesResult<"backdrops" | "logos" | "posters">;
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* // Person (profiles only)
|
|
55
|
+
* type PersonImagesResult = ImagesResult<"profiles">;
|
|
56
|
+
*/
|
|
57
|
+
export type ImagesResult<T, K extends ImageCollectionKey> = {
|
|
58
|
+
/** The unique TMDB identifier of the entity. */
|
|
59
|
+
id: number;
|
|
60
|
+
} & {
|
|
61
|
+
[P in K]: T[];
|
|
62
|
+
};
|
|
63
|
+
/** Available file type on svg (for images) */
|
|
64
|
+
export type FileType = LiteralUnion<".png" | ".svg">;
|
|
65
|
+
//# sourceMappingURL=images.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/common/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE3F;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACvB,+CAA+C;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,6BAA6B;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,2DAA2D;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,GAAG;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,QAAQ,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,kBAAkB,IAAI;IAC3D,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;CACX,GAAG;KACF,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;CACb,CAAC;AAEF,8CAA8C;AAC9C,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC"}
|
|
@@ -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;AACzB,cAAc,kBAAkB,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,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CountryISO3166_1 } from "../config/countries";
|
|
2
|
-
import type { LiteralUnion } from "../utility";
|
|
3
2
|
/**
|
|
4
3
|
* Represents a genre of a movie or TV show.
|
|
5
4
|
*/
|
|
@@ -83,6 +82,31 @@ export type Keyword = {
|
|
|
83
82
|
id: number;
|
|
84
83
|
name: string;
|
|
85
84
|
};
|
|
85
|
+
/**
|
|
86
|
+
* Represents an alternative name entry for a company or network.
|
|
87
|
+
*
|
|
88
|
+
* @see https://developer.themoviedb.org/reference/company-alternative-names
|
|
89
|
+
* @see https://developer.themoviedb.org/reference/network-alternative-names
|
|
90
|
+
*/
|
|
91
|
+
export type AlternativeName = {
|
|
92
|
+
/** The alternative name. */
|
|
93
|
+
name: string;
|
|
94
|
+
/** The type or context of the alternative name (e.g. "short name", "abbreviation"). */
|
|
95
|
+
type: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Represents the response from the TMDB alternative names endpoint
|
|
99
|
+
* for a company or network.
|
|
100
|
+
*
|
|
101
|
+
* @see https://developer.themoviedb.org/reference/company-alternative-names
|
|
102
|
+
* @see https://developer.themoviedb.org/reference/network-alternative-names
|
|
103
|
+
*/
|
|
104
|
+
export type AlternativeNamesResult = {
|
|
105
|
+
/** The unique TMDB identifier of the company or network. */
|
|
106
|
+
id: number;
|
|
107
|
+
/** A list of alternative names associated with the company or network. */
|
|
108
|
+
results: AlternativeName[];
|
|
109
|
+
};
|
|
86
110
|
/**
|
|
87
111
|
* Alternative title entry
|
|
88
112
|
*/
|
|
@@ -123,25 +147,6 @@ export type VideoItem = {
|
|
|
123
147
|
* Watch provider monetization filters supported by TMDB media discovery endpoints.
|
|
124
148
|
*/
|
|
125
149
|
export type WatchMonetizationType = "flatrate" | "free" | "ads" | "rent" | "buy";
|
|
126
|
-
/**
|
|
127
|
-
* Image metadata and details
|
|
128
|
-
*/
|
|
129
|
-
export type ImageItem = {
|
|
130
|
-
/** Aspect ratio of the image (width/height) */
|
|
131
|
-
aspect_ratio: number;
|
|
132
|
-
/** Image height in pixels */
|
|
133
|
-
height: number;
|
|
134
|
-
/** ISO 639-1 language code if image contains text, null otherwise */
|
|
135
|
-
iso_639_1?: string | null;
|
|
136
|
-
/** Relative path to the image file (append to base URL) */
|
|
137
|
-
file_path: string;
|
|
138
|
-
/** Average user rating for this image */
|
|
139
|
-
vote_average: number;
|
|
140
|
-
/** Total number of votes for this image */
|
|
141
|
-
vote_count: number;
|
|
142
|
-
/** Image width in pixels */
|
|
143
|
-
width: number;
|
|
144
|
-
};
|
|
145
150
|
/**
|
|
146
151
|
* Base properties shared between movie and TV show results
|
|
147
152
|
*/
|
|
@@ -193,8 +198,6 @@ export type KnownForTV = BaseKnownForItem & {
|
|
|
193
198
|
export type KnownForItem = KnownForMovie | KnownForTV;
|
|
194
199
|
/** Available media types on TMDB */
|
|
195
200
|
export type MediaType = "movie" | "tv";
|
|
196
|
-
/** Available file type on svg (for images) */
|
|
197
|
-
export type FileType = LiteralUnion<".png" | ".svg">;
|
|
198
201
|
/**
|
|
199
202
|
* Content rating information for a TV show or movie
|
|
200
203
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/types/common/media.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/types/common/media.ts"],"names":[],"mapp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mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAC;CACjD,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,sCAAsC;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,QAAQ,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC/B,uBAAuB;IACvB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,yBAAyB;IACzB,GAAG,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,kCAAkC;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,aAAa,EAAE,MAAM,CAAC;IACtB,+DAA+D;IAC/D,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,MAAM,CAAC;AACrB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import { ImageItem } from "../common";
|
|
1
|
+
import { ImageItem, ImagesResult } from "../common/images";
|
|
2
2
|
/**
|
|
3
3
|
* Collection of movie images (backdrops, logos, posters)
|
|
4
4
|
*/
|
|
5
|
-
export type MovieImages =
|
|
6
|
-
/** Movie identifier */
|
|
7
|
-
id: number;
|
|
8
|
-
/** Array of backdrop images */
|
|
9
|
-
backdrops: ImageItem[];
|
|
10
|
-
/** Array of logo images */
|
|
11
|
-
logos: ImageItem[];
|
|
12
|
-
/** Array of poster images */
|
|
13
|
-
posters: ImageItem[];
|
|
14
|
-
};
|
|
5
|
+
export type MovieImages = ImagesResult<ImageItem, "backdrops" | "logos" | "posters">;
|
|
15
6
|
//# sourceMappingURL=images.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/movies/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/movies/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,SAAS,EAAE,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MediaType, Translation, WithLanguage } from "../common";
|
|
2
|
+
import { ImageItem, ImagesResult } from "../common/images";
|
|
2
3
|
import { Language, LanguageISO6391 } from "../config";
|
|
3
4
|
import { MovieResultItem } from "../search";
|
|
4
5
|
/**
|
|
@@ -41,14 +42,7 @@ export type CollectionItem = Omit<MovieResultItem, "title" | "original_title"> &
|
|
|
41
42
|
* Represents the images associated with a TMDB collection,
|
|
42
43
|
* including backdrops and posters.
|
|
43
44
|
*/
|
|
44
|
-
export type CollectionImages =
|
|
45
|
-
/** Unique TMDB identifier for the collection */
|
|
46
|
-
id: number;
|
|
47
|
-
/** List of backdrop images available for the collection */
|
|
48
|
-
backdrops: ImageItem[];
|
|
49
|
-
/** List of poster images available for the collection */
|
|
50
|
-
posters: ImageItem[];
|
|
51
|
-
};
|
|
45
|
+
export type CollectionImages = ImagesResult<ImageItem, "backdrops" | "posters">;
|
|
52
46
|
/**
|
|
53
47
|
* Represents the available translations for a TMDB collection.
|
|
54
48
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../src/types/other/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../../src/types/other/collections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACxB,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sDAAsD;IACtD,aAAa,EAAE,MAAM,CAAC;IACtB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,8GAA8G;IAC9G,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gHAAgH;IAChH,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,GAAG,eAAe,CAAC;CACpD,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AlternativeName, AlternativeNamesResult, WithLanguage } from "../common";
|
|
2
|
+
import { ImagesResult, OrganizationImage } from "../common/images";
|
|
2
3
|
import { CountryISO3166_1 } from "../config/countries";
|
|
3
4
|
import { Language, LanguageISO6391 } from "../config/languages";
|
|
4
5
|
/**
|
|
@@ -30,44 +31,15 @@ export type Company = CompanySummary & {
|
|
|
30
31
|
/**
|
|
31
32
|
* A single alternative company name entry.
|
|
32
33
|
*/
|
|
33
|
-
export type CompanyAlternativeName =
|
|
34
|
-
/** Alternative company name */
|
|
35
|
-
name: string;
|
|
36
|
-
/** Optional classification for the name */
|
|
37
|
-
type: string;
|
|
38
|
-
};
|
|
34
|
+
export type CompanyAlternativeName = AlternativeName;
|
|
39
35
|
/**
|
|
40
36
|
* Alternative names response for a company.
|
|
41
37
|
*/
|
|
42
|
-
export type CompanyAlternativeNames =
|
|
43
|
-
/** Unique company identifier */
|
|
44
|
-
id: number;
|
|
45
|
-
/** List of alternative names associated with the company */
|
|
46
|
-
results: CompanyAlternativeName[];
|
|
47
|
-
};
|
|
38
|
+
export type CompanyAlternativeNames = AlternativeNamesResult;
|
|
48
39
|
/**
|
|
49
40
|
* Company logo images returned by `/company/{company_id}/images`.
|
|
50
41
|
*/
|
|
51
|
-
export type CompanyImages =
|
|
52
|
-
/** Unique company identifier */
|
|
53
|
-
id: number;
|
|
54
|
-
/** Logos available for the company */
|
|
55
|
-
logos: CompanyImage[];
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Represents a single company logo (slightly different from ImageItem)
|
|
59
|
-
*
|
|
60
|
-
* Note on FileType from TMDB:
|
|
61
|
-
* There are two image formats that are supported for companies, PNG's and SVG's.
|
|
62
|
-
* You can see which type the original file is by looking at the file_type field.
|
|
63
|
-
* We prefer SVG's as they are resolution independent and as such, the width and height are only
|
|
64
|
-
* there to reflect the original asset that was uploaded.
|
|
65
|
-
* An SVG can be scaled properly beyond those dimensions if you call them as a PNG.
|
|
66
|
-
*/
|
|
67
|
-
export type CompanyImage = Omit<ImageItem, "iso_639_1"> & {
|
|
68
|
-
id: string;
|
|
69
|
-
file_type: FileType;
|
|
70
|
-
};
|
|
42
|
+
export type CompanyImages = ImagesResult<OrganizationImage, "logos">;
|
|
71
43
|
/** Base param used by all company queries */
|
|
72
44
|
export type CompanyBaseParam = {
|
|
73
45
|
/** Uniquely identifies a company in TMDB. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../../src/types/other/companies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"companies.d.ts","sourceRoot":"","sources":["../../../src/types/other/companies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC5B,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,cAAc,GAAG;IACtC,wCAAwC;IACxC,cAAc,EAAE,gBAAgB,CAAC;IACjC,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,wCAAwC;IACxC,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,eAAe,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;AAErE,6CAA6C;AAC7C,MAAM,MAAM,gBAAgB,GAAG;IAC9B,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;AACpD,MAAM,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG;IACpD,sBAAsB,CAAC,EAAE,QAAQ,GAAG,eAAe,CAAC;CACpD,GAAG,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/other/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/other/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ImagesResult, OrganizationImage } from "../common/images";
|
|
2
|
+
import { CountryISO3166_1 } from "../config/countries";
|
|
3
|
+
/**
|
|
4
|
+
* Represents a network entry as returned in search results or list responses.
|
|
5
|
+
*
|
|
6
|
+
* @see https://developer.themoviedb.org/reference/network-details
|
|
7
|
+
*/
|
|
8
|
+
export type NetworkItem = {
|
|
9
|
+
/** The unique TMDB identifier of the network. */
|
|
10
|
+
id: number;
|
|
11
|
+
/** Path to the network's logo, to be appended to the TMDB base image URL. */
|
|
12
|
+
logo_path: string;
|
|
13
|
+
/** The name of the network. */
|
|
14
|
+
name: string;
|
|
15
|
+
/** The ISO 3166-1 country code of the network's country of origin. */
|
|
16
|
+
origin_country: CountryISO3166_1;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Represents the images response for a network.
|
|
20
|
+
* Networks only expose logo images.
|
|
21
|
+
*
|
|
22
|
+
* @see https://developer.themoviedb.org/reference/network-images
|
|
23
|
+
*/
|
|
24
|
+
export type NetworkImages = ImagesResult<OrganizationImage, "logos">;
|
|
25
|
+
/**
|
|
26
|
+
* Represents the full details of a network, as returned by the network details endpoint.
|
|
27
|
+
* Extends {@link NetworkItem} with additional metadata.
|
|
28
|
+
*
|
|
29
|
+
* @see https://developer.themoviedb.org/reference/network-details
|
|
30
|
+
*/
|
|
31
|
+
export type Network = NetworkItem & {
|
|
32
|
+
/** The city or location of the network's headquarters, if available. */
|
|
33
|
+
headquarters?: string | null;
|
|
34
|
+
/** The URL of the network's official homepage, if available. */
|
|
35
|
+
homepage?: string | null;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Base parameters required by all network endpoints.
|
|
39
|
+
*
|
|
40
|
+
* @see https://developer.themoviedb.org/reference/network-details
|
|
41
|
+
*/
|
|
42
|
+
export type NetworkBaseParams = {
|
|
43
|
+
/** The unique TMDB identifier of the network. */
|
|
44
|
+
network_id: number;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=networks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networks.d.ts","sourceRoot":"","sources":["../../../src/types/other/networks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACzB,iDAAiD;IACjD,EAAE,EAAE,MAAM,CAAC;IACX,6EAA6E;IAC7E,SAAS,EAAE,MAAM,CAAC;IAClB,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,cAAc,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;AAErE;;;;;GAKG;AACH,MAAM,MAAM,OAAO,GAAG,WAAW,GAAG;IACnC,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,iDAAiD;IACjD,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"episode_groups.d.ts","sourceRoot":"","sources":["../../../src/types/tv/episode_groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"episode_groups.d.ts","sourceRoot":"","sources":["../../../src/types/tv/episode_groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC7B,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,mCAAmC;IACnC,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAChC,kEAAkE;IAClE,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAC;IACtB,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,OAAO,EAAE,WAAW,CAAC;IACrB,4GAA4G;IAC5G,IAAI,EAAE,MAAM,CAAC;CACb,CAAC"}
|
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
import { ImageItem } from "../common";
|
|
1
|
+
import { ImageItem, ImagesResult } from "../common/images";
|
|
2
2
|
/**
|
|
3
3
|
* Images related to a TV show.
|
|
4
4
|
* Contains backdrops, logos, posters and stills.
|
|
5
5
|
*/
|
|
6
|
-
export type TVImages =
|
|
7
|
-
/** TMDB unique identifier for the TV show. */
|
|
8
|
-
id: number;
|
|
9
|
-
/** List of backdrop images for the TV show. */
|
|
10
|
-
backdrops: TVImageItem[];
|
|
11
|
-
/** List of logo images for the TV show. */
|
|
12
|
-
logos: TVImageItem[];
|
|
13
|
-
/** List of poster images for the TV show. */
|
|
14
|
-
posters: TVImageItem[];
|
|
15
|
-
};
|
|
6
|
+
export type TVImages = ImagesResult<TVImageItem, "backdrops" | "logos" | "posters">;
|
|
16
7
|
/**
|
|
17
8
|
* Image items for TVShows have an undocumented "iso_3166_1" property
|
|
18
9
|
* I decided to put it anyway as an optional property,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/tv/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/tv/images.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,YAAY,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Credit, Genre, ProductionCompany, ProductionCountry, SpokenLanguage } from "../common";
|
|
2
2
|
import { CountryISO3166_1 } from "../config/countries";
|
|
3
|
-
import { NetworkItem } from "../
|
|
3
|
+
import { NetworkItem } from "../other";
|
|
4
4
|
import { TVCredits } from "./credits";
|
|
5
5
|
import { TVEpisodeItem } from "./episodes";
|
|
6
6
|
import { TVExternalIDs } from "./external_ids";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tv_series.d.ts","sourceRoot":"","sources":["../../../src/types/tv/tv_series.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tv_series.d.ts","sourceRoot":"","sources":["../../../src/types/tv/tv_series.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,aAAa,EA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;IACnC,OAAO,EAAE,SAAS,CAAC;IACnB,YAAY,EAAE,cAAc,CAAC;IAC7B,MAAM,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,SAAS,2BAA2B,EAAE,IAAI,eAAe,GAAG;KACrG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC;CACpC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=alternative_names.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alternative_names.d.ts","sourceRoot":"","sources":["../../../src/types/networks/alternative_names.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=images.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"images.d.ts","sourceRoot":"","sources":["../../../src/types/networks/images.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/networks/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./network";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../../../src/types/networks/network.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,gBAAgB,CAAC;CACjC,CAAC"}
|
|
File without changes
|