@wolfcinema/contracts 1.2.4 → 1.2.6

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/hall.ts CHANGED
@@ -13,7 +13,7 @@ export const protobufPackage = "hall.v1";
13
13
  export interface CreateHallRequest {
14
14
  name: string;
15
15
  theaterId: string;
16
- rows: RowLayout[];
16
+ layout: RowLayout[];
17
17
  }
18
18
 
19
19
  export interface CreateHallResponse {
@@ -33,7 +33,7 @@ export interface ListHallsRequest {
33
33
  }
34
34
 
35
35
  export interface ListHallsResponse {
36
- hall: Hall[];
36
+ halls: Hall[];
37
37
  }
38
38
 
39
39
  export interface Hall {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wolfcinema/contracts",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Protobuf definitions and generated ts",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/hall.proto CHANGED
@@ -12,7 +12,7 @@ service HallService {
12
12
  message CreateHallRequest {
13
13
  string name = 1;
14
14
  string theater_id = 2;
15
- repeated RowLayout rows = 3;
15
+ repeated RowLayout layout = 3;
16
16
  }
17
17
 
18
18
 
@@ -34,7 +34,7 @@ message ListHallsRequest {
34
34
  }
35
35
 
36
36
  message ListHallsResponse {
37
- repeated Hall hall = 1;
37
+ repeated Hall halls = 1;
38
38
  }
39
39
 
40
40
  message Hall {