@teacinema/contracts 1.2.0 → 1.2.1

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
@@ -35,7 +35,7 @@ export interface Movie {
35
35
  title: string;
36
36
  slug: string;
37
37
  poster: string;
38
- ratingAge: string;
38
+ ratingAge: number;
39
39
  releaseDate: Timestamp | undefined;
40
40
  }
41
41
 
@@ -47,7 +47,7 @@ export interface MovieDetails {
47
47
  poster: string;
48
48
  banner: string;
49
49
  duration: number;
50
- ratingAge: string;
50
+ ratingAge: number;
51
51
  country: string;
52
52
  releaseDate: Timestamp | undefined;
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teacinema/contracts",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/movie.proto CHANGED
@@ -35,7 +35,7 @@ message Movie {
35
35
  string title = 2;
36
36
  string slug = 3;
37
37
  string poster = 4;
38
- string rating_age = 5;
38
+ int32 rating_age = 5;
39
39
  google.protobuf.Timestamp release_date = 6;
40
40
  }
41
41
 
@@ -47,7 +47,7 @@ message MovieDetails {
47
47
  string poster = 5;
48
48
  string banner = 6;
49
49
  int32 duration = 7;;
50
- string rating_age = 8;
50
+ int32 rating_age = 8;
51
51
  string country = 9;
52
52
  google.protobuf.Timestamp release_date = 10;
53
53
  }