@platfformx/proto-contracts 1.3.1 → 1.3.2

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.
@@ -2,18 +2,18 @@ import { Observable } from "rxjs";
2
2
  export declare const protobufPackage = "categories.v1";
3
3
  export interface CategoryResponse {
4
4
  id: string;
5
- title: string;
5
+ categoryName: string;
6
6
  slug: string;
7
7
  }
8
8
  export interface CreateCategoryRequest {
9
- title: string;
9
+ categoryName: string;
10
10
  }
11
11
  export interface CreateCategoryResponse {
12
12
  category: CategoryResponse | undefined;
13
13
  }
14
14
  export interface UpdateCategoryRequest {
15
15
  categoryId: string;
16
- title?: string | undefined;
16
+ categoryName?: string | undefined;
17
17
  slug?: string | undefined;
18
18
  }
19
19
  export interface UpdateCategoryResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,11 +15,11 @@ service CategoryService {
15
15
 
16
16
  message CategoryResponse {
17
17
  string id = 1;
18
- string title = 2;
18
+ string categoryName = 2;
19
19
  string slug = 3;
20
20
  }
21
21
  message CreateCategoryRequest {
22
- string title = 1;
22
+ string categoryName = 1;
23
23
  }
24
24
 
25
25
  message CreateCategoryResponse {
@@ -27,7 +27,7 @@ message CreateCategoryResponse {
27
27
  }
28
28
  message UpdateCategoryRequest {
29
29
  string category_id = 1;
30
- optional string title = 2;
30
+ optional string categoryName = 2;
31
31
  optional string slug = 3;
32
32
  }
33
33