@vsniksnet/contracts 1.3.2 → 1.3.5

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/friends.ts CHANGED
@@ -73,7 +73,7 @@ export interface Profile {
73
73
  followersCount?: number | undefined;
74
74
  followingCount?: number | undefined;
75
75
  isFollow?: boolean | undefined;
76
- friendStatus?: boolean | undefined;
76
+ friendStatus?: string | undefined;
77
77
  }
78
78
 
79
79
  export const FRIENDS_V1_PACKAGE_NAME = "friends.v1";
package/gen/users.ts CHANGED
@@ -41,7 +41,7 @@ export interface GetAuthResponse {
41
41
  avatar: string;
42
42
  followersCount: number;
43
43
  followingCount: number;
44
- requestCount: number;
44
+ requestsCount: number;
45
45
  friendsCount: number;
46
46
  }
47
47
 
@@ -134,7 +134,7 @@ export interface User {
134
134
  username: string;
135
135
  avatar: string;
136
136
  isFollow?: boolean | undefined;
137
- friendStatus?: boolean | undefined;
137
+ friendStatus?: string | undefined;
138
138
  }
139
139
 
140
140
  export interface Profile {
@@ -152,7 +152,7 @@ export interface Profile {
152
152
  followersCount?: number | undefined;
153
153
  followingCount?: number | undefined;
154
154
  isFollow?: boolean | undefined;
155
- friendStatus?: boolean | undefined;
155
+ friendStatus?: string | undefined;
156
156
  }
157
157
 
158
158
  export const USERS_V1_PACKAGE_NAME = "users.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.3.2",
3
+ "version": "1.3.5",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -79,5 +79,5 @@ message Profile {
79
79
  optional int32 followers_count = 12;
80
80
  optional int32 following_count = 13;
81
81
  optional bool is_follow = 14;
82
- optional bool friend_status = 15;
82
+ optional string friend_status = 15;
83
83
  }
package/proto/users.proto CHANGED
@@ -57,7 +57,7 @@ message GetAuthResponse {
57
57
  string avatar = 3;
58
58
  int32 followers_count = 4;
59
59
  int32 following_count = 5;
60
- int32 request_count = 6;
60
+ int32 requests_count = 6;
61
61
  int32 friends_count = 7;
62
62
  }
63
63
 
@@ -151,7 +151,7 @@ message User {
151
151
  string username = 3;
152
152
  string avatar = 4;
153
153
  optional bool is_follow = 5;
154
- optional bool friend_status = 6;
154
+ optional string friend_status = 6;
155
155
  }
156
156
 
157
157
  message Profile {
@@ -169,5 +169,5 @@ message Profile {
169
169
  optional int32 followers_count = 12;
170
170
  optional int32 following_count = 13;
171
171
  optional bool is_follow = 14;
172
- optional bool friend_status = 15;
172
+ optional string friend_status = 15;
173
173
  }