@wdtest007/contracts 1.0.17 → 1.0.18

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/category.ts CHANGED
@@ -9,7 +9,7 @@ import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
9
9
  import { Observable } from "rxjs";
10
10
  import { Empty } from "./google/protobuf/empty";
11
11
 
12
- export const protobufPackage = "movie.v1";
12
+ export const protobufPackage = "category.v1";
13
13
 
14
14
  export interface GetAllCategoriesResponse {
15
15
  categories: Category[];
@@ -21,7 +21,7 @@ export interface Category {
21
21
  slug: string;
22
22
  }
23
23
 
24
- export const MOVIE_V1_PACKAGE_NAME = "movie.v1";
24
+ export const CATEGORY_V1_PACKAGE_NAME = "category.v1";
25
25
 
26
26
  export interface CategoryServiceClient {
27
27
  getAllCategories(request: Empty): Observable<GetAllCategoriesResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdtest007/contracts",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Protobuf definition and generated TS types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -1,6 +1,6 @@
1
1
  syntax = "proto3";
2
2
 
3
- package movie.v1;
3
+ package category.v1;
4
4
 
5
5
  import "google/protobuf/empty.proto";
6
6