@veaceslav_morarescu/contracts 1.3.4 → 1.3.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/hall.ts CHANGED
@@ -12,7 +12,7 @@ export const protobufPackage = "hall.v1";
12
12
 
13
13
  export interface CreateHallRequest {
14
14
  name: string;
15
- theaterName: string;
15
+ theaterId: string;
16
16
  layout: RowLayout[];
17
17
  }
18
18
 
@@ -39,13 +39,13 @@ export interface ListHallsResponse {
39
39
  export interface Hall {
40
40
  id: string;
41
41
  name: string;
42
- theaterName: string;
42
+ theaterId: string;
43
43
  }
44
44
 
45
45
  export interface RowLayout {
46
46
  row: number;
47
47
  columns: number;
48
- theaterName: string;
48
+ theaterId: string;
49
49
  type: string;
50
50
  price: number;
51
51
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veaceslav_morarescu/contracts",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
package/proto/hall.proto CHANGED
@@ -10,7 +10,7 @@ service HallService {
10
10
 
11
11
  message CreateHallRequest {
12
12
  string name = 1;
13
- string theater_name = 2;
13
+ string theater_id = 2;
14
14
  repeated RowLayout layout = 3;
15
15
  }
16
16
 
@@ -37,13 +37,13 @@ message ListHallsResponse {
37
37
  message Hall {
38
38
  string id = 1;
39
39
  string name = 2;
40
- string theater_name = 3;
40
+ string theater_id = 3;
41
41
  }
42
42
 
43
43
  message RowLayout {
44
44
  int32 row = 1;
45
45
  int32 columns = 2;
46
- string theater_name = 3;
46
+ string theater_id = 3;
47
47
  string type = 4;
48
48
  int32 price = 5;
49
49
  }