@babacarthiamdev/contracts 1.0.19 → 1.0.20
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 +12 -0
- package/package.json +1 -1
- package/proto/users.proto +1 -0
package/gen/users.ts
CHANGED
|
@@ -30,6 +30,7 @@ export interface CreateUserResponse {
|
|
|
30
30
|
export interface PatchUserRequest {
|
|
31
31
|
userId: string;
|
|
32
32
|
name?: string | undefined;
|
|
33
|
+
avatar?: string | undefined;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export interface PatchUserResponse {
|
|
@@ -206,6 +207,9 @@ export const PatchUserRequest: MessageFns<PatchUserRequest> = {
|
|
|
206
207
|
if (message.name !== undefined) {
|
|
207
208
|
writer.uint32(18).string(message.name);
|
|
208
209
|
}
|
|
210
|
+
if (message.avatar !== undefined) {
|
|
211
|
+
writer.uint32(26).string(message.avatar);
|
|
212
|
+
}
|
|
209
213
|
return writer;
|
|
210
214
|
},
|
|
211
215
|
|
|
@@ -232,6 +236,14 @@ export const PatchUserRequest: MessageFns<PatchUserRequest> = {
|
|
|
232
236
|
message.name = reader.string();
|
|
233
237
|
continue;
|
|
234
238
|
}
|
|
239
|
+
case 3: {
|
|
240
|
+
if (tag !== 26) {
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
message.avatar = reader.string();
|
|
245
|
+
continue;
|
|
246
|
+
}
|
|
235
247
|
}
|
|
236
248
|
if ((tag & 7) === 4 || tag === 0) {
|
|
237
249
|
break;
|
package/package.json
CHANGED