@alebooking/contracts 1.1.14 → 1.1.15
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/screening.ts +6 -7
- package/package.json +1 -1
- package/proto/screening.proto +6 -6
package/gen/ts/screening.ts
CHANGED
|
@@ -7,15 +7,14 @@
|
|
|
7
7
|
/* eslint-disable */
|
|
8
8
|
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
9
9
|
import { Observable } from "rxjs";
|
|
10
|
-
import { Timestamp } from "./google/protobuf/timestamp";
|
|
11
10
|
|
|
12
11
|
export const protobufPackage = "screening.v1";
|
|
13
12
|
|
|
14
13
|
export interface CreateScreeningRequest {
|
|
15
14
|
movieId: string;
|
|
16
15
|
hallId: string;
|
|
17
|
-
startAt:
|
|
18
|
-
endAt:
|
|
16
|
+
startAt: string;
|
|
17
|
+
endAt: string;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
export interface CreateScreeningResponse {
|
|
@@ -24,7 +23,7 @@ export interface CreateScreeningResponse {
|
|
|
24
23
|
|
|
25
24
|
export interface GetScreeningsRequest {
|
|
26
25
|
theaterId?: string | undefined;
|
|
27
|
-
date?:
|
|
26
|
+
date?: string | undefined;
|
|
28
27
|
}
|
|
29
28
|
|
|
30
29
|
export interface GetScreeningsResponse {
|
|
@@ -34,7 +33,7 @@ export interface GetScreeningsResponse {
|
|
|
34
33
|
export interface GetScreeningByMovieRequest {
|
|
35
34
|
movieId: string;
|
|
36
35
|
theaterId?: string | undefined;
|
|
37
|
-
date?:
|
|
36
|
+
date?: string | undefined;
|
|
38
37
|
}
|
|
39
38
|
|
|
40
39
|
export interface GetScreeningByMovieResponse {
|
|
@@ -51,8 +50,8 @@ export interface GetScreeningResponse {
|
|
|
51
50
|
|
|
52
51
|
export interface Screening {
|
|
53
52
|
id: string;
|
|
54
|
-
startAt:
|
|
55
|
-
endAt:
|
|
53
|
+
startAt: string;
|
|
54
|
+
endAt: string;
|
|
56
55
|
theater: Theater | undefined;
|
|
57
56
|
hall: Hall | undefined;
|
|
58
57
|
movie: Movie | undefined;
|
package/package.json
CHANGED
package/proto/screening.proto
CHANGED
|
@@ -14,8 +14,8 @@ service ScreeningService {
|
|
|
14
14
|
message CreateScreeningRequest {
|
|
15
15
|
string movie_id = 1;
|
|
16
16
|
string hall_id = 2;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
string start_at = 3;
|
|
18
|
+
string end_at = 4;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
message CreateScreeningResponse {
|
|
@@ -24,7 +24,7 @@ message CreateScreeningResponse {
|
|
|
24
24
|
|
|
25
25
|
message GetScreeningsRequest {
|
|
26
26
|
optional string theater_id = 1;
|
|
27
|
-
optional
|
|
27
|
+
optional string date = 2;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
message GetScreeningsResponse {
|
|
@@ -34,7 +34,7 @@ message GetScreeningsResponse {
|
|
|
34
34
|
message GetScreeningByMovieRequest {
|
|
35
35
|
string movie_id = 1;
|
|
36
36
|
optional string theater_id = 2;
|
|
37
|
-
optional
|
|
37
|
+
optional string date = 3;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
message GetScreeningByMovieResponse {
|
|
@@ -51,8 +51,8 @@ message GetScreeningResponse {
|
|
|
51
51
|
|
|
52
52
|
message Screening {
|
|
53
53
|
string id = 1;
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
string start_at = 2;
|
|
55
|
+
string end_at = 3;
|
|
56
56
|
|
|
57
57
|
Theater theater = 4;
|
|
58
58
|
Hall hall = 5;
|