mezon-js-protobuf 1.8.35 → 1.8.36
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 +18 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +6 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +408 -334
- package/dist/mezon-js-protobuf.cjs.js +112 -2
- package/dist/mezon-js-protobuf.esm.mjs +112 -2
- package/package.json +1 -1
- package/rtapi/realtime.ts +138 -1
package/api/api.ts
CHANGED
|
@@ -1537,6 +1537,8 @@ export interface ClanProfile {
|
|
|
1537
1537
|
avatar: string;
|
|
1538
1538
|
/** id clan */
|
|
1539
1539
|
clan_id: string;
|
|
1540
|
+
/** about clan */
|
|
1541
|
+
about: string;
|
|
1540
1542
|
}
|
|
1541
1543
|
|
|
1542
1544
|
/** information user by clan requset */
|
|
@@ -13611,7 +13613,7 @@ export const LinkInviteUser = {
|
|
|
13611
13613
|
};
|
|
13612
13614
|
|
|
13613
13615
|
function createBaseClanProfile(): ClanProfile {
|
|
13614
|
-
return { user_id: "", nick_name: "", avatar: "", clan_id: "" };
|
|
13616
|
+
return { user_id: "", nick_name: "", avatar: "", clan_id: "", about: "" };
|
|
13615
13617
|
}
|
|
13616
13618
|
|
|
13617
13619
|
export const ClanProfile = {
|
|
@@ -13628,6 +13630,9 @@ export const ClanProfile = {
|
|
|
13628
13630
|
if (message.clan_id !== "") {
|
|
13629
13631
|
writer.uint32(34).string(message.clan_id);
|
|
13630
13632
|
}
|
|
13633
|
+
if (message.about !== "") {
|
|
13634
|
+
writer.uint32(42).string(message.about);
|
|
13635
|
+
}
|
|
13631
13636
|
return writer;
|
|
13632
13637
|
},
|
|
13633
13638
|
|
|
@@ -13666,6 +13671,13 @@ export const ClanProfile = {
|
|
|
13666
13671
|
|
|
13667
13672
|
message.clan_id = reader.string();
|
|
13668
13673
|
continue;
|
|
13674
|
+
case 5:
|
|
13675
|
+
if (tag !== 42) {
|
|
13676
|
+
break;
|
|
13677
|
+
}
|
|
13678
|
+
|
|
13679
|
+
message.about = reader.string();
|
|
13680
|
+
continue;
|
|
13669
13681
|
}
|
|
13670
13682
|
if ((tag & 7) === 4 || tag === 0) {
|
|
13671
13683
|
break;
|
|
@@ -13681,6 +13693,7 @@ export const ClanProfile = {
|
|
|
13681
13693
|
nick_name: isSet(object.nick_name) ? globalThis.String(object.nick_name) : "",
|
|
13682
13694
|
avatar: isSet(object.avatar) ? globalThis.String(object.avatar) : "",
|
|
13683
13695
|
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
13696
|
+
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
13684
13697
|
};
|
|
13685
13698
|
},
|
|
13686
13699
|
|
|
@@ -13698,6 +13711,9 @@ export const ClanProfile = {
|
|
|
13698
13711
|
if (message.clan_id !== "") {
|
|
13699
13712
|
obj.clan_id = message.clan_id;
|
|
13700
13713
|
}
|
|
13714
|
+
if (message.about !== "") {
|
|
13715
|
+
obj.about = message.about;
|
|
13716
|
+
}
|
|
13701
13717
|
return obj;
|
|
13702
13718
|
},
|
|
13703
13719
|
|
|
@@ -13710,6 +13726,7 @@ export const ClanProfile = {
|
|
|
13710
13726
|
message.nick_name = object.nick_name ?? "";
|
|
13711
13727
|
message.avatar = object.avatar ?? "";
|
|
13712
13728
|
message.clan_id = object.clan_id ?? "";
|
|
13729
|
+
message.about = object.about ?? "";
|
|
13713
13730
|
return message;
|
|
13714
13731
|
},
|
|
13715
13732
|
};
|
|
@@ -1108,6 +1108,8 @@ export interface ClanProfile {
|
|
|
1108
1108
|
avatar: string;
|
|
1109
1109
|
/** id clan */
|
|
1110
1110
|
clan_id: string;
|
|
1111
|
+
/** about clan */
|
|
1112
|
+
about: string;
|
|
1111
1113
|
}
|
|
1112
1114
|
/** information user by clan requset */
|
|
1113
1115
|
export interface ClanProfileRequest {
|
|
@@ -10409,22 +10411,26 @@ export declare const ClanProfile: {
|
|
|
10409
10411
|
nick_name?: string | undefined;
|
|
10410
10412
|
avatar?: string | undefined;
|
|
10411
10413
|
clan_id?: string | undefined;
|
|
10414
|
+
about?: string | undefined;
|
|
10412
10415
|
} & {
|
|
10413
10416
|
user_id?: string | undefined;
|
|
10414
10417
|
nick_name?: string | undefined;
|
|
10415
10418
|
avatar?: string | undefined;
|
|
10416
10419
|
clan_id?: string | undefined;
|
|
10420
|
+
about?: string | undefined;
|
|
10417
10421
|
} & { [K in Exclude<keyof I, keyof ClanProfile>]: never; }>(base?: I | undefined): ClanProfile;
|
|
10418
10422
|
fromPartial<I_1 extends {
|
|
10419
10423
|
user_id?: string | undefined;
|
|
10420
10424
|
nick_name?: string | undefined;
|
|
10421
10425
|
avatar?: string | undefined;
|
|
10422
10426
|
clan_id?: string | undefined;
|
|
10427
|
+
about?: string | undefined;
|
|
10423
10428
|
} & {
|
|
10424
10429
|
user_id?: string | undefined;
|
|
10425
10430
|
nick_name?: string | undefined;
|
|
10426
10431
|
avatar?: string | undefined;
|
|
10427
10432
|
clan_id?: string | undefined;
|
|
10433
|
+
about?: string | undefined;
|
|
10428
10434
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanProfile>]: never; }>(object: I_1): ClanProfile;
|
|
10429
10435
|
};
|
|
10430
10436
|
export declare const ClanProfileRequest: {
|