@readytomog/contracts 1.5.2 → 1.5.4

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/chat.ts CHANGED
@@ -33,6 +33,7 @@ export interface Message {
33
33
  id: string;
34
34
  createdAt: string;
35
35
  updatedAt: string;
36
+ chatId: string;
36
37
  }
37
38
 
38
39
  export interface User {
package/gen/user.ts CHANGED
@@ -33,6 +33,7 @@ export interface GetUserByIdResponse {
33
33
  isTwoFactorEnabled: boolean;
34
34
  phone: string;
35
35
  roles: Role[];
36
+ email: string;
36
37
  }
37
38
 
38
39
  export const USER_V1_PACKAGE_NAME = "user.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@readytomog/contracts",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "description": "Protobuf definitions and generated Typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/chat.proto CHANGED
@@ -34,6 +34,7 @@ message Message {
34
34
  string id = 4;
35
35
  string created_at = 5;
36
36
  string updated_at = 6;
37
+ string chatId = 7;
37
38
  }
38
39
 
39
40
  message User {
package/proto/user.proto CHANGED
@@ -30,4 +30,5 @@ message GetUserByIdResponse{
30
30
  bool isTwoFactorEnabled = 7;
31
31
  string phone = 8;
32
32
  repeated Role roles = 9;
33
+ string email = 10;
33
34
  }