@microservsforsell/contracts 1.2.5 → 1.2.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/dist/gen/ts/theater.d.ts +2 -2
- package/package.json +1 -1
- package/proto/theater.proto +2 -2
package/dist/gen/ts/theater.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Observable } from "rxjs";
|
|
|
2
2
|
import { Empty } from "./google/protobuf/empty";
|
|
3
3
|
export declare const protobufPackage = "theater.v1";
|
|
4
4
|
export interface ListTheatersResponse {
|
|
5
|
-
|
|
5
|
+
theaters: Theater[];
|
|
6
6
|
}
|
|
7
7
|
export interface GetTheaterRequest {
|
|
8
8
|
id: string;
|
|
@@ -11,7 +11,7 @@ export interface GetTheaterResponse {
|
|
|
11
11
|
theater: Theater | undefined;
|
|
12
12
|
}
|
|
13
13
|
export interface CreateTheaterRequest {
|
|
14
|
-
|
|
14
|
+
name: string;
|
|
15
15
|
address: string;
|
|
16
16
|
}
|
|
17
17
|
export interface CreateTheaterResponse {
|
package/package.json
CHANGED
package/proto/theater.proto
CHANGED
|
@@ -13,7 +13,7 @@ service TheaterService {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
message ListTheatersResponse {
|
|
16
|
-
repeated Theater
|
|
16
|
+
repeated Theater theaters = 1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
message GetTheaterRequest {
|
|
@@ -25,7 +25,7 @@ message GetTheaterResponse {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
message CreateTheaterRequest {
|
|
28
|
-
string
|
|
28
|
+
string name = 1;
|
|
29
29
|
string address = 2;
|
|
30
30
|
}
|
|
31
31
|
|