@teacinema-nekoo/contracts 1.2.3 → 1.2.5

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.
@@ -5,4 +5,5 @@ export declare const PROTO_PATHS: {
5
5
  readonly MEDIA: string;
6
6
  readonly MOVIE: string;
7
7
  readonly CATEGORY: string;
8
+ readonly THEATER: string;
8
9
  };
@@ -9,4 +9,5 @@ exports.PROTO_PATHS = {
9
9
  MEDIA: (0, path_1.join)(__dirname, "../../proto/media.proto"),
10
10
  MOVIE: (0, path_1.join)(__dirname, "../../proto/movie.proto"),
11
11
  CATEGORY: (0, path_1.join)(__dirname, "../../proto/category.proto"),
12
+ THEATER: (0, path_1.join)(__dirname, "../../proto/theater.proto"),
12
13
  };
package/gen/ts/theater.ts CHANGED
@@ -12,7 +12,7 @@ import { Empty } from "./google/protobuf/empty";
12
12
  export const protobufPackage = "theater.v1";
13
13
 
14
14
  export interface ListTheatersResponse {
15
- theater: Theater[];
15
+ theaters: Theater[];
16
16
  }
17
17
 
18
18
  export interface GetTheaterRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teacinema-nekoo/contracts",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -11,7 +11,7 @@ service TheaterService {
11
11
  }
12
12
 
13
13
  message ListTheatersResponse {
14
- repeated Theater theater = 1;
14
+ repeated Theater theaters = 1;
15
15
  }
16
16
 
17
17
  message GetTheaterRequest {