mezon-js-protobuf 1.6.2 → 1.6.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/api/api.ts
CHANGED
|
@@ -1455,7 +1455,7 @@ export interface User {
|
|
|
1455
1455
|
| Date
|
|
1456
1456
|
| undefined;
|
|
1457
1457
|
/** platform */
|
|
1458
|
-
|
|
1458
|
+
is_mobile: boolean;
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
/** A list of groups belonging to a user, along with the user's role in each group. */
|
|
@@ -12991,7 +12991,7 @@ function createBaseUser(): User {
|
|
|
12991
12991
|
apple_id: "",
|
|
12992
12992
|
about_me: "",
|
|
12993
12993
|
join_time: undefined,
|
|
12994
|
-
|
|
12994
|
+
is_mobile: false,
|
|
12995
12995
|
};
|
|
12996
12996
|
}
|
|
12997
12997
|
|
|
@@ -13054,8 +13054,8 @@ export const User = {
|
|
|
13054
13054
|
if (message.join_time !== undefined) {
|
|
13055
13055
|
Timestamp.encode(toTimestamp(message.join_time), writer.uint32(154).fork()).ldelim();
|
|
13056
13056
|
}
|
|
13057
|
-
if (message.
|
|
13058
|
-
writer.uint32(160).bool(message.
|
|
13057
|
+
if (message.is_mobile !== false) {
|
|
13058
|
+
writer.uint32(160).bool(message.is_mobile);
|
|
13059
13059
|
}
|
|
13060
13060
|
return writer;
|
|
13061
13061
|
},
|
|
@@ -13205,7 +13205,7 @@ export const User = {
|
|
|
13205
13205
|
break;
|
|
13206
13206
|
}
|
|
13207
13207
|
|
|
13208
|
-
message.
|
|
13208
|
+
message.is_mobile = reader.bool();
|
|
13209
13209
|
continue;
|
|
13210
13210
|
}
|
|
13211
13211
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -13237,7 +13237,7 @@ export const User = {
|
|
|
13237
13237
|
apple_id: isSet(object.apple_id) ? globalThis.String(object.apple_id) : "",
|
|
13238
13238
|
about_me: isSet(object.about_me) ? globalThis.String(object.about_me) : "",
|
|
13239
13239
|
join_time: isSet(object.join_time) ? fromJsonTimestamp(object.join_time) : undefined,
|
|
13240
|
-
|
|
13240
|
+
is_mobile: isSet(object.is_mobile) ? globalThis.Boolean(object.is_mobile) : false,
|
|
13241
13241
|
};
|
|
13242
13242
|
},
|
|
13243
13243
|
|
|
@@ -13300,8 +13300,8 @@ export const User = {
|
|
|
13300
13300
|
if (message.join_time !== undefined) {
|
|
13301
13301
|
obj.join_time = message.join_time.toISOString();
|
|
13302
13302
|
}
|
|
13303
|
-
if (message.
|
|
13304
|
-
obj.
|
|
13303
|
+
if (message.is_mobile !== false) {
|
|
13304
|
+
obj.is_mobile = message.is_mobile;
|
|
13305
13305
|
}
|
|
13306
13306
|
return obj;
|
|
13307
13307
|
},
|
|
@@ -13330,7 +13330,7 @@ export const User = {
|
|
|
13330
13330
|
message.apple_id = object.apple_id ?? "";
|
|
13331
13331
|
message.about_me = object.about_me ?? "";
|
|
13332
13332
|
message.join_time = object.join_time ?? undefined;
|
|
13333
|
-
message.
|
|
13333
|
+
message.is_mobile = object.is_mobile ?? false;
|
|
13334
13334
|
return message;
|
|
13335
13335
|
},
|
|
13336
13336
|
};
|