@t-cinema/contracts 1.3.0 → 1.3.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
@@ -12,9 +12,9 @@ import { Timestamp } from "./google/protobuf/timestamp";
12
12
  export const protobufPackage = "movie.v1";
13
13
 
14
14
  export interface ListMoviesRequest {
15
- category: string;
16
- random: boolean;
17
- limit: number;
15
+ category?: string | undefined;
16
+ random?: boolean | undefined;
17
+ limit?: number | undefined;
18
18
  }
19
19
 
20
20
  export interface ListMoviesResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t-cinema/contracts",
3
- "version": "1.3.0",
3
+ "version": "1.3.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
@@ -10,9 +10,9 @@ service MovieService {
10
10
  }
11
11
 
12
12
  message ListMoviesRequest {
13
- string category = 1;
14
- bool random = 2;
15
- int32 limit = 3;
13
+ optional string category = 1;
14
+ optional bool random = 2;
15
+ optional int32 limit = 3;
16
16
  }
17
17
  message ListMoviesResponse {
18
18
  repeated Movie movies = 1;