@andev2005/movie-glu-sdk 1.0.5 → 1.0.6
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 +17 -16
- package/dist/index.d.ts +17 -16
- package/package.json +1 -1
- package/src/type.ts +17 -16
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
|
};
|
|
@@ -259,7 +260,7 @@ type AlternateVersion = {
|
|
|
259
260
|
version_type: string;
|
|
260
261
|
};
|
|
261
262
|
type TrailerItem = {
|
|
262
|
-
film_trailer
|
|
263
|
+
film_trailer?: string;
|
|
263
264
|
trailer_image?: string;
|
|
264
265
|
version?: number;
|
|
265
266
|
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
|
};
|
|
@@ -259,7 +260,7 @@ type AlternateVersion = {
|
|
|
259
260
|
version_type: string;
|
|
260
261
|
};
|
|
261
262
|
type TrailerItem = {
|
|
262
|
-
film_trailer
|
|
263
|
+
film_trailer?: string;
|
|
263
264
|
trailer_image?: string;
|
|
264
265
|
version?: number;
|
|
265
266
|
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
|
};
|
|
@@ -303,7 +304,7 @@ export type AlternateVersion = {
|
|
|
303
304
|
};
|
|
304
305
|
|
|
305
306
|
export type TrailerItem = {
|
|
306
|
-
film_trailer
|
|
307
|
+
film_trailer?: string;
|
|
307
308
|
trailer_image?: string;
|
|
308
309
|
version?: number;
|
|
309
310
|
quality?: string;
|