@nemma-training/contracts 1.1.8 → 1.1.9

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/gen/ts/movie.ts CHANGED
@@ -27,7 +27,7 @@ export interface GetMovieRequest {
27
27
  }
28
28
 
29
29
  export interface GetMovieResponse {
30
- movies: Movie[];
30
+ movie: MovieDetails | undefined;
31
31
  }
32
32
 
33
33
  export interface Movie {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemma-training/contracts",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Protobuf contract ts and go definitions for Nemma microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/movie.proto CHANGED
@@ -27,7 +27,7 @@ message GetMovieRequest {
27
27
  }
28
28
 
29
29
  message GetMovieResponse {
30
- repeated Movie movies = 1;
30
+ MovieDetails movie = 1;
31
31
  }
32
32
 
33
33
  message Movie {