@nemma-training/contracts 1.2.2 → 1.2.4

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
@@ -39,7 +39,6 @@ export interface ListHallsResponse {
39
39
  export interface Hall {
40
40
  id: string;
41
41
  name: string;
42
- address: string;
43
42
  }
44
43
 
45
44
  export interface RowLayout {
package/gen/ts/seat.ts CHANGED
@@ -24,7 +24,7 @@ export interface ListSeatsRequest {
24
24
  }
25
25
 
26
26
  export interface ListSeatsResponse {
27
- seat: Seat[];
27
+ seats: Seat[];
28
28
  }
29
29
 
30
30
  export interface Seat {
@@ -32,7 +32,6 @@ export interface Seat {
32
32
  row: number;
33
33
  number: number;
34
34
  price: number;
35
- status: string;
36
35
  type: string;
37
36
  hallId: string;
38
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemma-training/contracts",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Protobuf contract ts and go definitions for Nemma microservices",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/hall.proto CHANGED
@@ -38,7 +38,6 @@ message ListHallsResponse {
38
38
  message Hall {
39
39
  string id = 1;
40
40
  string name = 2;
41
- string address = 3;
42
41
  }
43
42
 
44
43
  message RowLayout {
package/proto/seat.proto CHANGED
@@ -21,7 +21,7 @@ message ListSeatsRequest {
21
21
  }
22
22
 
23
23
  message ListSeatsResponse {
24
- repeated Seat seat = 1;
24
+ repeated Seat seats = 1;
25
25
  }
26
26
 
27
27
  message Seat {
@@ -29,7 +29,6 @@ message Seat {
29
29
  int32 row = 2;
30
30
  int32 number = 3;
31
31
  int32 price = 4;
32
- string status = 5;
33
- string type = 6;
34
- string hall_id = 7;
32
+ string type = 5;
33
+ string hall_id = 6;
35
34
  }