@andev2005/movie-glu-sdk 1.0.5 → 1.0.7
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/index.d.mts +39 -34
- package/dist/index.d.ts +39 -34
- package/package.json +1 -1
- package/src/type.ts +38 -33
package/dist/index.d.mts
CHANGED
|
@@ -99,23 +99,24 @@ type FilmDetailsResponse = {
|
|
|
99
99
|
film_name: string;
|
|
100
100
|
other_titles?: OtherTitles;
|
|
101
101
|
version_type?: string;
|
|
102
|
-
images
|
|
103
|
-
|
|
102
|
+
images?: FilmImages;
|
|
103
|
+
synopsis_short?: string;
|
|
104
|
+
synopsis_long?: string;
|
|
104
105
|
distributor_id?: number;
|
|
105
106
|
distributor?: string;
|
|
106
|
-
release_dates
|
|
107
|
-
age_rating
|
|
107
|
+
release_dates?: ReleaseDate[];
|
|
108
|
+
age_rating?: AgeRating[];
|
|
108
109
|
duration_mins?: number;
|
|
109
|
-
review_stars?: number;
|
|
110
|
+
review_stars?: number | string;
|
|
110
111
|
review_txt?: string;
|
|
111
|
-
trailers
|
|
112
|
-
genres
|
|
113
|
-
cast
|
|
114
|
-
directors
|
|
115
|
-
producers
|
|
116
|
-
writers
|
|
117
|
-
show_dates
|
|
118
|
-
alternate_versions
|
|
112
|
+
trailers?: Trailers | null;
|
|
113
|
+
genres?: Genre[];
|
|
114
|
+
cast?: Cast[];
|
|
115
|
+
directors?: Director[];
|
|
116
|
+
producers?: Producer[];
|
|
117
|
+
writers?: Writer[];
|
|
118
|
+
show_dates?: ShowDate[];
|
|
119
|
+
alternate_versions?: AlternateVersion[];
|
|
119
120
|
status: Status;
|
|
120
121
|
};
|
|
121
122
|
type CinemaDetailsResponse = {
|
|
@@ -162,11 +163,11 @@ type Status = {
|
|
|
162
163
|
};
|
|
163
164
|
type OtherTitles = Record<string, string>;
|
|
164
165
|
type ReleaseDate = {
|
|
165
|
-
release_date
|
|
166
|
+
release_date?: string;
|
|
166
167
|
notes?: string;
|
|
167
168
|
};
|
|
168
169
|
type AgeRating = {
|
|
169
|
-
rating
|
|
170
|
+
rating?: string;
|
|
170
171
|
age_rating_image?: string;
|
|
171
172
|
age_advisory?: string;
|
|
172
173
|
};
|
|
@@ -215,24 +216,28 @@ type Film = {
|
|
|
215
216
|
imdb_title_id?: string;
|
|
216
217
|
film_name: string;
|
|
217
218
|
other_titles?: OtherTitles;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
synopsis_long
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
219
|
+
version_type?: string;
|
|
220
|
+
images?: FilmImages;
|
|
221
|
+
synopsis_short?: string;
|
|
222
|
+
synopsis_long?: string;
|
|
223
|
+
distributor_id?: number;
|
|
224
|
+
distributor?: string;
|
|
225
|
+
release_dates?: ReleaseDate[];
|
|
226
|
+
age_rating?: AgeRating[];
|
|
227
|
+
duration_mins?: number;
|
|
228
|
+
review_stars?: number | string;
|
|
229
|
+
review_txt?: string;
|
|
230
|
+
trailers?: Trailers | null;
|
|
231
|
+
genres?: Genre[];
|
|
232
|
+
cast?: Cast[];
|
|
233
|
+
directors?: Director[];
|
|
234
|
+
producers?: Producer[];
|
|
235
|
+
writers?: Writer[];
|
|
236
|
+
show_dates?: ShowDate[];
|
|
237
|
+
alternate_versions?: AlternateVersion[];
|
|
238
|
+
film_trailer?: string | null;
|
|
239
|
+
};
|
|
240
|
+
type FilmComingSoon = Film;
|
|
236
241
|
type Genre = {
|
|
237
242
|
genre_id: number;
|
|
238
243
|
genre_name: string;
|
|
@@ -259,7 +264,7 @@ type AlternateVersion = {
|
|
|
259
264
|
version_type: string;
|
|
260
265
|
};
|
|
261
266
|
type TrailerItem = {
|
|
262
|
-
film_trailer
|
|
267
|
+
film_trailer?: string;
|
|
263
268
|
trailer_image?: string;
|
|
264
269
|
version?: number;
|
|
265
270
|
quality?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -99,23 +99,24 @@ type FilmDetailsResponse = {
|
|
|
99
99
|
film_name: string;
|
|
100
100
|
other_titles?: OtherTitles;
|
|
101
101
|
version_type?: string;
|
|
102
|
-
images
|
|
103
|
-
|
|
102
|
+
images?: FilmImages;
|
|
103
|
+
synopsis_short?: string;
|
|
104
|
+
synopsis_long?: string;
|
|
104
105
|
distributor_id?: number;
|
|
105
106
|
distributor?: string;
|
|
106
|
-
release_dates
|
|
107
|
-
age_rating
|
|
107
|
+
release_dates?: ReleaseDate[];
|
|
108
|
+
age_rating?: AgeRating[];
|
|
108
109
|
duration_mins?: number;
|
|
109
|
-
review_stars?: number;
|
|
110
|
+
review_stars?: number | string;
|
|
110
111
|
review_txt?: string;
|
|
111
|
-
trailers
|
|
112
|
-
genres
|
|
113
|
-
cast
|
|
114
|
-
directors
|
|
115
|
-
producers
|
|
116
|
-
writers
|
|
117
|
-
show_dates
|
|
118
|
-
alternate_versions
|
|
112
|
+
trailers?: Trailers | null;
|
|
113
|
+
genres?: Genre[];
|
|
114
|
+
cast?: Cast[];
|
|
115
|
+
directors?: Director[];
|
|
116
|
+
producers?: Producer[];
|
|
117
|
+
writers?: Writer[];
|
|
118
|
+
show_dates?: ShowDate[];
|
|
119
|
+
alternate_versions?: AlternateVersion[];
|
|
119
120
|
status: Status;
|
|
120
121
|
};
|
|
121
122
|
type CinemaDetailsResponse = {
|
|
@@ -162,11 +163,11 @@ type Status = {
|
|
|
162
163
|
};
|
|
163
164
|
type OtherTitles = Record<string, string>;
|
|
164
165
|
type ReleaseDate = {
|
|
165
|
-
release_date
|
|
166
|
+
release_date?: string;
|
|
166
167
|
notes?: string;
|
|
167
168
|
};
|
|
168
169
|
type AgeRating = {
|
|
169
|
-
rating
|
|
170
|
+
rating?: string;
|
|
170
171
|
age_rating_image?: string;
|
|
171
172
|
age_advisory?: string;
|
|
172
173
|
};
|
|
@@ -215,24 +216,28 @@ type Film = {
|
|
|
215
216
|
imdb_title_id?: string;
|
|
216
217
|
film_name: string;
|
|
217
218
|
other_titles?: OtherTitles;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
synopsis_long
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
219
|
+
version_type?: string;
|
|
220
|
+
images?: FilmImages;
|
|
221
|
+
synopsis_short?: string;
|
|
222
|
+
synopsis_long?: string;
|
|
223
|
+
distributor_id?: number;
|
|
224
|
+
distributor?: string;
|
|
225
|
+
release_dates?: ReleaseDate[];
|
|
226
|
+
age_rating?: AgeRating[];
|
|
227
|
+
duration_mins?: number;
|
|
228
|
+
review_stars?: number | string;
|
|
229
|
+
review_txt?: string;
|
|
230
|
+
trailers?: Trailers | null;
|
|
231
|
+
genres?: Genre[];
|
|
232
|
+
cast?: Cast[];
|
|
233
|
+
directors?: Director[];
|
|
234
|
+
producers?: Producer[];
|
|
235
|
+
writers?: Writer[];
|
|
236
|
+
show_dates?: ShowDate[];
|
|
237
|
+
alternate_versions?: AlternateVersion[];
|
|
238
|
+
film_trailer?: string | null;
|
|
239
|
+
};
|
|
240
|
+
type FilmComingSoon = Film;
|
|
236
241
|
type Genre = {
|
|
237
242
|
genre_id: number;
|
|
238
243
|
genre_name: string;
|
|
@@ -259,7 +264,7 @@ type AlternateVersion = {
|
|
|
259
264
|
version_type: string;
|
|
260
265
|
};
|
|
261
266
|
type TrailerItem = {
|
|
262
|
-
film_trailer
|
|
267
|
+
film_trailer?: string;
|
|
263
268
|
trailer_image?: string;
|
|
264
269
|
version?: number;
|
|
265
270
|
quality?: string;
|
package/package.json
CHANGED
package/src/type.ts
CHANGED
|
@@ -120,23 +120,24 @@ export type FilmDetailsResponse = {
|
|
|
120
120
|
film_name: string;
|
|
121
121
|
other_titles?: OtherTitles;
|
|
122
122
|
version_type?: string;
|
|
123
|
-
images
|
|
124
|
-
|
|
123
|
+
images?: FilmImages;
|
|
124
|
+
synopsis_short?: string;
|
|
125
|
+
synopsis_long?: string;
|
|
125
126
|
distributor_id?: number;
|
|
126
127
|
distributor?: string;
|
|
127
|
-
release_dates
|
|
128
|
-
age_rating
|
|
128
|
+
release_dates?: ReleaseDate[];
|
|
129
|
+
age_rating?: AgeRating[];
|
|
129
130
|
duration_mins?: number;
|
|
130
|
-
review_stars?: number;
|
|
131
|
+
review_stars?: number | string;
|
|
131
132
|
review_txt?: string;
|
|
132
|
-
trailers
|
|
133
|
-
genres
|
|
134
|
-
cast
|
|
135
|
-
directors
|
|
136
|
-
producers
|
|
137
|
-
writers
|
|
138
|
-
show_dates
|
|
139
|
-
alternate_versions
|
|
133
|
+
trailers?: Trailers | null;
|
|
134
|
+
genres?: Genre[];
|
|
135
|
+
cast?: Cast[];
|
|
136
|
+
directors?: Director[];
|
|
137
|
+
producers?: Producer[];
|
|
138
|
+
writers?: Writer[];
|
|
139
|
+
show_dates?: ShowDate[];
|
|
140
|
+
alternate_versions?: AlternateVersion[];
|
|
140
141
|
status: Status;
|
|
141
142
|
};
|
|
142
143
|
|
|
@@ -190,12 +191,12 @@ export type Status = {
|
|
|
190
191
|
export type OtherTitles = Record<string, string>;
|
|
191
192
|
|
|
192
193
|
export type ReleaseDate = {
|
|
193
|
-
release_date
|
|
194
|
+
release_date?: string;
|
|
194
195
|
notes?: string;
|
|
195
196
|
};
|
|
196
197
|
|
|
197
198
|
export type AgeRating = {
|
|
198
|
-
rating
|
|
199
|
+
rating?: string;
|
|
199
200
|
age_rating_image?: string;
|
|
200
201
|
age_advisory?: string;
|
|
201
202
|
};
|
|
@@ -251,25 +252,29 @@ export type Film = {
|
|
|
251
252
|
imdb_title_id?: string;
|
|
252
253
|
film_name: string;
|
|
253
254
|
other_titles?: OtherTitles;
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
synopsis_long
|
|
258
|
-
|
|
255
|
+
version_type?: string;
|
|
256
|
+
images?: FilmImages;
|
|
257
|
+
synopsis_short?: string;
|
|
258
|
+
synopsis_long?: string;
|
|
259
|
+
distributor_id?: number;
|
|
260
|
+
distributor?: string;
|
|
261
|
+
release_dates?: ReleaseDate[];
|
|
262
|
+
age_rating?: AgeRating[];
|
|
263
|
+
duration_mins?: number;
|
|
264
|
+
review_stars?: number | string;
|
|
265
|
+
review_txt?: string;
|
|
266
|
+
trailers?: Trailers | null;
|
|
267
|
+
genres?: Genre[];
|
|
268
|
+
cast?: Cast[];
|
|
269
|
+
directors?: Director[];
|
|
270
|
+
producers?: Producer[];
|
|
271
|
+
writers?: Writer[];
|
|
272
|
+
show_dates?: ShowDate[];
|
|
273
|
+
alternate_versions?: AlternateVersion[];
|
|
274
|
+
film_trailer?: string | null;
|
|
259
275
|
};
|
|
260
276
|
|
|
261
|
-
export type FilmComingSoon =
|
|
262
|
-
film_id: number;
|
|
263
|
-
imdb_id?: number;
|
|
264
|
-
imdb_title_id?: string;
|
|
265
|
-
film_name: string;
|
|
266
|
-
other_titles?: OtherTitles;
|
|
267
|
-
release_dates: ReleaseDate[];
|
|
268
|
-
age_rating: AgeRating[];
|
|
269
|
-
film_trailer: string | null;
|
|
270
|
-
synopsis_long: string;
|
|
271
|
-
images: FilmImages;
|
|
272
|
-
};
|
|
277
|
+
export type FilmComingSoon = Film;
|
|
273
278
|
|
|
274
279
|
export type Genre = {
|
|
275
280
|
genre_id: number;
|
|
@@ -303,7 +308,7 @@ export type AlternateVersion = {
|
|
|
303
308
|
};
|
|
304
309
|
|
|
305
310
|
export type TrailerItem = {
|
|
306
|
-
film_trailer
|
|
311
|
+
film_trailer?: string;
|
|
307
312
|
trailer_image?: string;
|
|
308
313
|
version?: number;
|
|
309
314
|
quality?: string;
|