@noildm/contracts 1.0.12 → 1.0.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.
@@ -12,6 +12,7 @@ export interface CreateUserRequest {
12
12
  userName: string;
13
13
  telegramId?: string | undefined;
14
14
  userImage?: string | undefined;
15
+ email: string;
15
16
  }
16
17
  export interface GetUserByIdRequest {
17
18
  id: string;
package/gen/user.ts CHANGED
@@ -23,6 +23,7 @@ export interface CreateUserRequest {
23
23
  userName: string;
24
24
  telegramId?: string | undefined;
25
25
  userImage?: string | undefined;
26
+ email: string;
26
27
  }
27
28
 
28
29
  export interface GetUserByIdRequest {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noildm/contracts",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Protobuf and RabbitMQ contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/proto/user.proto CHANGED
@@ -24,7 +24,7 @@ message CreateUserRequest {
24
24
  string user_name = 1;
25
25
  optional string telegram_id = 2;
26
26
  optional string user_image = 3;
27
-
27
+ string email= 4;
28
28
  }
29
29
 
30
30
  message GetUserByIdRequest {