@lumina-cinema/contracts 1.1.7 → 1.1.8

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
@@ -60,7 +60,7 @@ export interface Movie {
60
60
  /** Poster image URL/key. */
61
61
  poster: string;
62
62
  /** Age rating label (for example "16+", "PG-13"). */
63
- ratingAge: string;
63
+ ratingAge: number;
64
64
  /** Official release date. */
65
65
  releaseDate: Timestamp | undefined;
66
66
  }
@@ -82,7 +82,7 @@ export interface MovieDetails {
82
82
  /** Duration in minutes. */
83
83
  duration: number;
84
84
  /** Age rating label. */
85
- ratingAge: string;
85
+ ratingAge: number;
86
86
  /** Country of production (display value). */
87
87
  country: string;
88
88
  /** Official release date. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumina-cinema/contracts",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
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
@@ -67,7 +67,7 @@ message Movie {
67
67
  string poster = 4;
68
68
 
69
69
  // Age rating label (for example "16+", "PG-13").
70
- string rating_age = 5;
70
+ int32 rating_age = 5;
71
71
 
72
72
  // Official release date.
73
73
  google.protobuf.Timestamp release_date = 6;
@@ -97,7 +97,7 @@ message MovieDetails {
97
97
  int32 duration = 7;
98
98
 
99
99
  // Age rating label.
100
- string rating_age = 8;
100
+ int32 rating_age = 8;
101
101
 
102
102
  // Country of production (display value).
103
103
  string country = 9;