@neo-tickets/contracts 1.18.1 → 1.19.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/gen/ts/movie.d.ts +6 -1
- package/gen/ts/movie.ts +7 -1
- package/package.json +1 -1
- package/proto/movie.proto +7 -1
package/dist/gen/ts/movie.d.ts
CHANGED
|
@@ -32,9 +32,14 @@ export interface MovieDetails {
|
|
|
32
32
|
banner: string;
|
|
33
33
|
duration: number;
|
|
34
34
|
ratingAge: number;
|
|
35
|
-
country:
|
|
35
|
+
country: Country | undefined;
|
|
36
36
|
releaseDate: Timestamp | undefined;
|
|
37
37
|
}
|
|
38
|
+
export interface Country {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
code: string;
|
|
42
|
+
}
|
|
38
43
|
export interface MovieServiceClient {
|
|
39
44
|
listMovies(request: ListMoviesRequest): Observable<ListMoviesResponse>;
|
|
40
45
|
getMovie(request: GetMovieRequest): Observable<GetMovieResponse>;
|
package/gen/ts/movie.ts
CHANGED
|
@@ -46,10 +46,16 @@ export interface MovieDetails {
|
|
|
46
46
|
banner: string;
|
|
47
47
|
duration: number;
|
|
48
48
|
ratingAge: number;
|
|
49
|
-
country:
|
|
49
|
+
country: Country | undefined;
|
|
50
50
|
releaseDate: Timestamp | undefined;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
export interface Country {
|
|
54
|
+
id: string;
|
|
55
|
+
name: string;
|
|
56
|
+
code: string;
|
|
57
|
+
}
|
|
58
|
+
|
|
53
59
|
export interface MovieServiceClient {
|
|
54
60
|
listMovies(request: ListMoviesRequest): Observable<ListMoviesResponse>;
|
|
55
61
|
|
package/package.json
CHANGED
package/proto/movie.proto
CHANGED
|
@@ -48,6 +48,12 @@ message MovieDetails {
|
|
|
48
48
|
string banner = 6;
|
|
49
49
|
int32 duration = 7;
|
|
50
50
|
int32 rating_age = 8;
|
|
51
|
-
|
|
51
|
+
Country country = 9;
|
|
52
52
|
google.protobuf.Timestamp release_date = 10;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message Country {
|
|
56
|
+
string id = 1;
|
|
57
|
+
string name = 2;
|
|
58
|
+
string code = 3;
|
|
53
59
|
}
|