@veaceslav_morarescu/contracts 1.3.5 → 1.3.7

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
 
package/gen/seat.ts CHANGED
@@ -29,7 +29,7 @@ export interface ListSeatsReesponse {
29
29
 
30
30
  export interface Seat {
31
31
  id: string;
32
- row: string;
32
+ row: number;
33
33
  number: number;
34
34
  price: number;
35
35
  status: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veaceslav_morarescu/contracts",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
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
 
package/proto/seat.proto CHANGED
@@ -26,7 +26,7 @@ message ListSeatsReesponse {
26
26
 
27
27
  message Seat {
28
28
  string id = 1;
29
- string row = 2;
29
+ int32 row = 2;
30
30
  int32 number = 3;
31
31
  int32 price = 4;
32
32
  string status = 5;