@stackcine/contracts 1.6.0 → 1.6.1
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/theater.ts +3 -3
- package/package.json +1 -1
- package/proto/theater.proto +2 -2
package/gen/ts/theater.ts
CHANGED
|
@@ -19,7 +19,7 @@ export interface GetTheaterRequest {
|
|
|
19
19
|
id: string;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export interface
|
|
22
|
+
export interface GetTheaterResponse {
|
|
23
23
|
theater: Theater | undefined;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -43,7 +43,7 @@ export const THEATER_V1_PACKAGE_NAME = "theater.v1";
|
|
|
43
43
|
export interface TheaterServiceClient {
|
|
44
44
|
listTheaters(request: Empty): Observable<ListTheatersResponse>;
|
|
45
45
|
|
|
46
|
-
getTheater(request: GetTheaterRequest): Observable<
|
|
46
|
+
getTheater(request: GetTheaterRequest): Observable<GetTheaterResponse>;
|
|
47
47
|
|
|
48
48
|
createTheater(request: CreateTheaterRequest): Observable<CreateTheaterResponse>;
|
|
49
49
|
}
|
|
@@ -53,7 +53,7 @@ export interface TheaterServiceController {
|
|
|
53
53
|
|
|
54
54
|
getTheater(
|
|
55
55
|
request: GetTheaterRequest,
|
|
56
|
-
): Promise<
|
|
56
|
+
): Promise<GetTheaterResponse> | Observable<GetTheaterResponse> | GetTheaterResponse;
|
|
57
57
|
|
|
58
58
|
createTheater(
|
|
59
59
|
request: CreateTheaterRequest,
|
package/package.json
CHANGED
package/proto/theater.proto
CHANGED
|
@@ -6,7 +6,7 @@ import "google/protobuf/empty.proto";
|
|
|
6
6
|
|
|
7
7
|
service TheaterService {
|
|
8
8
|
rpc ListTheaters (google.protobuf.Empty) returns (ListTheatersResponse);
|
|
9
|
-
rpc GetTheater (GetTheaterRequest) returns (
|
|
9
|
+
rpc GetTheater (GetTheaterRequest) returns (GetTheaterResponse);
|
|
10
10
|
rpc CreateTheater (CreateTheaterRequest) returns (CreateTheaterResponse);
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ message GetTheaterRequest {
|
|
|
18
18
|
string id = 1;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
message
|
|
21
|
+
message GetTheaterResponse {
|
|
22
22
|
Theater theater = 1;
|
|
23
23
|
}
|
|
24
24
|
|