@tcinema-pro/contracts 1.3.0 → 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.
package/gen/users.ts CHANGED
@@ -11,8 +11,9 @@ import { Observable } from "rxjs";
11
11
  export const protobufPackage = "users.v1";
12
12
 
13
13
  export interface ChangeAccountRequest {
14
- name: string;
14
+ name?: string | undefined;
15
15
  id: string;
16
+ avatar?: string | undefined;
16
17
  }
17
18
 
18
19
  export interface ChangeAccountResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tcinema-pro/contracts",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Protobuf defs",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -9,8 +9,9 @@ service UserService {
9
9
  }
10
10
 
11
11
  message ChangeAccountRequest {
12
- string name = 1;
12
+ optional string name = 1;
13
13
  string id = 2;
14
+ optional string avatar = 3;
14
15
  }
15
16
 
16
17
  message ChangeAccountResponse {