@trash-streamers/contracts 1.1.12 → 1.1.13

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.
@@ -48,6 +48,10 @@ export interface Account {
48
48
  isPhoneVerified: boolean;
49
49
  isEmailVerified: boolean;
50
50
  role: Role;
51
+ user: User | undefined;
52
+ }
53
+ export interface User {
54
+ id: string;
51
55
  }
52
56
  export declare const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
53
57
  export interface AccountServiceClient {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trash-streamers/contracts",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {
@@ -17,6 +17,7 @@
17
17
  "description": "Protobuf definitions and generated TypeScript types",
18
18
  "dependencies": {
19
19
  "@nestjs/microservices": "^11.1.11",
20
+ "@trash-streamers/contracts": "^1.1.12",
20
21
  "rxjs": "^7.8.2",
21
22
  "ts-proto": "^2.10.1"
22
23
  },
@@ -70,5 +70,10 @@ message Account {
70
70
  bool is_phone_verified = 4;
71
71
  bool is_email_verified = 5;
72
72
  Role role = 6;
73
+ User user = 7;
73
74
 
75
+ }
76
+
77
+ message User {
78
+ string id = 1;
74
79
  }