@dkcinema/contracts 1.0.14 → 1.0.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/output/auth.ts CHANGED
@@ -11,11 +11,11 @@ import { Observable } from "rxjs";
11
11
  export const protobufPackage = "auth.v1";
12
12
 
13
13
  export interface GetUserRequest {
14
- userId: string;
14
+ userId: number;
15
15
  }
16
16
 
17
17
  export interface GetUserResponse {
18
- id: string;
18
+ id: number;
19
19
  email?: string | undefined;
20
20
  phone?: string | undefined;
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dkcinema/contracts",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/protos/auth.proto CHANGED
@@ -14,11 +14,11 @@ service AuthService {
14
14
  }
15
15
 
16
16
  message GetUserRequest {
17
- string user_id = 1;
17
+ int64 user_id = 1;
18
18
  }
19
19
 
20
20
  message GetUserResponse {
21
- string id = 1;
21
+ int64 id = 1;
22
22
 
23
23
  oneof contact {
24
24
  string email = 2;