@vsniksnet/contracts 1.3.11 → 1.3.12
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/users.ts +8 -1
- package/package.json +1 -1
- package/proto/users.proto +8 -1
package/gen/users.ts
CHANGED
|
@@ -95,7 +95,7 @@ export interface FollowUserRequest {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
export interface FollowUserResponse {
|
|
98
|
-
|
|
98
|
+
data: FollowData | undefined;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
/** Get followers */
|
|
@@ -137,6 +137,13 @@ export interface User {
|
|
|
137
137
|
friendStatus?: string | undefined;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
+
export interface FollowData {
|
|
141
|
+
userId: string;
|
|
142
|
+
followersCount: number;
|
|
143
|
+
followingCount: number;
|
|
144
|
+
isFollow: boolean;
|
|
145
|
+
}
|
|
146
|
+
|
|
140
147
|
export interface Profile {
|
|
141
148
|
id: string;
|
|
142
149
|
username: string;
|
package/package.json
CHANGED
package/proto/users.proto
CHANGED
|
@@ -111,7 +111,7 @@ message FollowUserRequest {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
message FollowUserResponse {
|
|
114
|
-
|
|
114
|
+
FollowData data = 1;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/* Get followers */
|
|
@@ -154,6 +154,13 @@ message User {
|
|
|
154
154
|
optional string friend_status = 6;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
message FollowData {
|
|
158
|
+
string user_id = 1;
|
|
159
|
+
int32 followers_count = 2;
|
|
160
|
+
int32 following_count = 3;
|
|
161
|
+
bool is_follow = 4;
|
|
162
|
+
}
|
|
163
|
+
|
|
157
164
|
message Profile {
|
|
158
165
|
string id = 1;
|
|
159
166
|
string username = 2;
|