@vsniksnet/contracts 1.2.19 → 1.2.21

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 CHANGED
@@ -66,7 +66,7 @@ export interface UpdateUserRequest {
66
66
  bio?: string | undefined;
67
67
  gender?: string | undefined;
68
68
  status?: string | undefined;
69
- country?: string | undefined;
69
+ location?: string | undefined;
70
70
  birthDay?: string | undefined;
71
71
  }
72
72
 
@@ -91,7 +91,7 @@ export interface ListFollowersRequest {
91
91
  }
92
92
 
93
93
  export interface ListFollowersResponse {
94
- user: User[];
94
+ users: User[];
95
95
  }
96
96
 
97
97
  /** Get followings */
@@ -101,7 +101,7 @@ export interface ListFollowingsRequest {
101
101
  }
102
102
 
103
103
  export interface ListFollowingsResponse {
104
- user: User[];
104
+ users: User[];
105
105
  }
106
106
 
107
107
  /** Get Suggested */
@@ -110,7 +110,7 @@ export interface ListSuggestedRequest {
110
110
  }
111
111
 
112
112
  export interface ListSuggestedResponse {
113
- user: User[];
113
+ users: User[];
114
114
  }
115
115
 
116
116
  /** Models */
@@ -130,7 +130,7 @@ export interface Profile {
130
130
  bio: string;
131
131
  gender: string;
132
132
  status: string;
133
- country: string;
133
+ location: string;
134
134
  birthDay: string;
135
135
  followersCount: string;
136
136
  followingCount: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsniksnet/contracts",
3
- "version": "1.2.19",
3
+ "version": "1.2.21",
4
4
  "description": "Protobuf definitions and generated typescript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/users.proto CHANGED
@@ -80,7 +80,7 @@ message UpdateUserRequest {
80
80
  optional string bio = 5;
81
81
  optional string gender = 6;
82
82
  optional string status = 7;
83
- optional string country = 8;
83
+ optional string location = 8;
84
84
  optional string birth_day = 9;
85
85
  }
86
86
 
@@ -105,7 +105,7 @@ message ListFollowersRequest {
105
105
  }
106
106
 
107
107
  message ListFollowersResponse {
108
- repeated User user = 1;
108
+ repeated User users = 1;
109
109
  }
110
110
 
111
111
  /* Get followings */
@@ -115,7 +115,7 @@ message ListFollowingsRequest {
115
115
  }
116
116
 
117
117
  message ListFollowingsResponse {
118
- repeated User user = 1;
118
+ repeated User users = 1;
119
119
  }
120
120
 
121
121
  /* Get Suggested */
@@ -124,7 +124,7 @@ message ListSuggestedRequest {
124
124
  }
125
125
 
126
126
  message ListSuggestedResponse {
127
- repeated User user = 1;
127
+ repeated User users = 1;
128
128
  }
129
129
 
130
130
 
@@ -145,7 +145,7 @@ message Profile {
145
145
  string bio = 5;
146
146
  string gender = 6;
147
147
  string status = 7;
148
- string country = 8;
148
+ string location = 8;
149
149
  string birth_day = 9;
150
150
  string followers_count = 10;
151
151
  string following_count = 11;