mezon-js-protobuf 1.8.30 → 1.8.31
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 +54 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +48 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +470 -333
- package/dist/mezon-js-protobuf.cjs.js +146 -5
- package/dist/mezon-js-protobuf.esm.mjs +146 -5
- package/package.json +1 -1
- package/rtapi/realtime.ts +121 -1
package/api/api.ts
CHANGED
|
@@ -1383,6 +1383,12 @@ export interface ClanDesc {
|
|
|
1383
1383
|
is_community: boolean;
|
|
1384
1384
|
/** community banner */
|
|
1385
1385
|
community_banner: string;
|
|
1386
|
+
/** description */
|
|
1387
|
+
description: string;
|
|
1388
|
+
/** about */
|
|
1389
|
+
about: string;
|
|
1390
|
+
/** short_url */
|
|
1391
|
+
short_url: string;
|
|
1386
1392
|
}
|
|
1387
1393
|
|
|
1388
1394
|
/** Clan information */
|
|
@@ -12279,6 +12285,9 @@ function createBaseClanDesc(): ClanDesc {
|
|
|
12279
12285
|
clan_order: 0,
|
|
12280
12286
|
is_community: false,
|
|
12281
12287
|
community_banner: "",
|
|
12288
|
+
description: "",
|
|
12289
|
+
about: "",
|
|
12290
|
+
short_url: "",
|
|
12282
12291
|
};
|
|
12283
12292
|
}
|
|
12284
12293
|
|
|
@@ -12323,6 +12332,15 @@ export const ClanDesc = {
|
|
|
12323
12332
|
if (message.community_banner !== "") {
|
|
12324
12333
|
writer.uint32(106).string(message.community_banner);
|
|
12325
12334
|
}
|
|
12335
|
+
if (message.description !== "") {
|
|
12336
|
+
writer.uint32(114).string(message.description);
|
|
12337
|
+
}
|
|
12338
|
+
if (message.about !== "") {
|
|
12339
|
+
writer.uint32(122).string(message.about);
|
|
12340
|
+
}
|
|
12341
|
+
if (message.short_url !== "") {
|
|
12342
|
+
writer.uint32(130).string(message.short_url);
|
|
12343
|
+
}
|
|
12326
12344
|
return writer;
|
|
12327
12345
|
},
|
|
12328
12346
|
|
|
@@ -12424,6 +12442,27 @@ export const ClanDesc = {
|
|
|
12424
12442
|
|
|
12425
12443
|
message.community_banner = reader.string();
|
|
12426
12444
|
continue;
|
|
12445
|
+
case 14:
|
|
12446
|
+
if (tag !== 114) {
|
|
12447
|
+
break;
|
|
12448
|
+
}
|
|
12449
|
+
|
|
12450
|
+
message.description = reader.string();
|
|
12451
|
+
continue;
|
|
12452
|
+
case 15:
|
|
12453
|
+
if (tag !== 122) {
|
|
12454
|
+
break;
|
|
12455
|
+
}
|
|
12456
|
+
|
|
12457
|
+
message.about = reader.string();
|
|
12458
|
+
continue;
|
|
12459
|
+
case 16:
|
|
12460
|
+
if (tag !== 130) {
|
|
12461
|
+
break;
|
|
12462
|
+
}
|
|
12463
|
+
|
|
12464
|
+
message.short_url = reader.string();
|
|
12465
|
+
continue;
|
|
12427
12466
|
}
|
|
12428
12467
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12429
12468
|
break;
|
|
@@ -12448,6 +12487,9 @@ export const ClanDesc = {
|
|
|
12448
12487
|
clan_order: isSet(object.clan_order) ? globalThis.Number(object.clan_order) : 0,
|
|
12449
12488
|
is_community: isSet(object.is_community) ? globalThis.Boolean(object.is_community) : false,
|
|
12450
12489
|
community_banner: isSet(object.community_banner) ? globalThis.String(object.community_banner) : "",
|
|
12490
|
+
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
12491
|
+
about: isSet(object.about) ? globalThis.String(object.about) : "",
|
|
12492
|
+
short_url: isSet(object.short_url) ? globalThis.String(object.short_url) : "",
|
|
12451
12493
|
};
|
|
12452
12494
|
},
|
|
12453
12495
|
|
|
@@ -12492,6 +12534,15 @@ export const ClanDesc = {
|
|
|
12492
12534
|
if (message.community_banner !== "") {
|
|
12493
12535
|
obj.community_banner = message.community_banner;
|
|
12494
12536
|
}
|
|
12537
|
+
if (message.description !== "") {
|
|
12538
|
+
obj.description = message.description;
|
|
12539
|
+
}
|
|
12540
|
+
if (message.about !== "") {
|
|
12541
|
+
obj.about = message.about;
|
|
12542
|
+
}
|
|
12543
|
+
if (message.short_url !== "") {
|
|
12544
|
+
obj.short_url = message.short_url;
|
|
12545
|
+
}
|
|
12495
12546
|
return obj;
|
|
12496
12547
|
},
|
|
12497
12548
|
|
|
@@ -12513,6 +12564,9 @@ export const ClanDesc = {
|
|
|
12513
12564
|
message.clan_order = object.clan_order ?? 0;
|
|
12514
12565
|
message.is_community = object.is_community ?? false;
|
|
12515
12566
|
message.community_banner = object.community_banner ?? "";
|
|
12567
|
+
message.description = object.description ?? "";
|
|
12568
|
+
message.about = object.about ?? "";
|
|
12569
|
+
message.short_url = object.short_url ?? "";
|
|
12516
12570
|
return message;
|
|
12517
12571
|
},
|
|
12518
12572
|
};
|
|
@@ -988,6 +988,12 @@ export interface ClanDesc {
|
|
|
988
988
|
is_community: boolean;
|
|
989
989
|
/** community banner */
|
|
990
990
|
community_banner: string;
|
|
991
|
+
/** description */
|
|
992
|
+
description: string;
|
|
993
|
+
/** about */
|
|
994
|
+
about: string;
|
|
995
|
+
/** short_url */
|
|
996
|
+
short_url: string;
|
|
991
997
|
}
|
|
992
998
|
/** Clan information */
|
|
993
999
|
export interface CreateClanDescRequest {
|
|
@@ -9805,6 +9811,9 @@ export declare const ClanDesc: {
|
|
|
9805
9811
|
clan_order?: number | undefined;
|
|
9806
9812
|
is_community?: boolean | undefined;
|
|
9807
9813
|
community_banner?: string | undefined;
|
|
9814
|
+
description?: string | undefined;
|
|
9815
|
+
about?: string | undefined;
|
|
9816
|
+
short_url?: string | undefined;
|
|
9808
9817
|
} & {
|
|
9809
9818
|
creator_id?: string | undefined;
|
|
9810
9819
|
clan_name?: string | undefined;
|
|
@@ -9819,6 +9828,9 @@ export declare const ClanDesc: {
|
|
|
9819
9828
|
clan_order?: number | undefined;
|
|
9820
9829
|
is_community?: boolean | undefined;
|
|
9821
9830
|
community_banner?: string | undefined;
|
|
9831
|
+
description?: string | undefined;
|
|
9832
|
+
about?: string | undefined;
|
|
9833
|
+
short_url?: string | undefined;
|
|
9822
9834
|
} & { [K in Exclude<keyof I, keyof ClanDesc>]: never; }>(base?: I | undefined): ClanDesc;
|
|
9823
9835
|
fromPartial<I_1 extends {
|
|
9824
9836
|
creator_id?: string | undefined;
|
|
@@ -9834,6 +9846,9 @@ export declare const ClanDesc: {
|
|
|
9834
9846
|
clan_order?: number | undefined;
|
|
9835
9847
|
is_community?: boolean | undefined;
|
|
9836
9848
|
community_banner?: string | undefined;
|
|
9849
|
+
description?: string | undefined;
|
|
9850
|
+
about?: string | undefined;
|
|
9851
|
+
short_url?: string | undefined;
|
|
9837
9852
|
} & {
|
|
9838
9853
|
creator_id?: string | undefined;
|
|
9839
9854
|
clan_name?: string | undefined;
|
|
@@ -9848,6 +9863,9 @@ export declare const ClanDesc: {
|
|
|
9848
9863
|
clan_order?: number | undefined;
|
|
9849
9864
|
is_community?: boolean | undefined;
|
|
9850
9865
|
community_banner?: string | undefined;
|
|
9866
|
+
description?: string | undefined;
|
|
9867
|
+
about?: string | undefined;
|
|
9868
|
+
short_url?: string | undefined;
|
|
9851
9869
|
} & { [K_1 in Exclude<keyof I_1, keyof ClanDesc>]: never; }>(object: I_1): ClanDesc;
|
|
9852
9870
|
};
|
|
9853
9871
|
export declare const CreateClanDescRequest: {
|
|
@@ -9998,6 +10016,9 @@ export declare const ClanDescList: {
|
|
|
9998
10016
|
clan_order?: number | undefined;
|
|
9999
10017
|
is_community?: boolean | undefined;
|
|
10000
10018
|
community_banner?: string | undefined;
|
|
10019
|
+
description?: string | undefined;
|
|
10020
|
+
about?: string | undefined;
|
|
10021
|
+
short_url?: string | undefined;
|
|
10001
10022
|
}[] | undefined;
|
|
10002
10023
|
} & {
|
|
10003
10024
|
clandesc?: ({
|
|
@@ -10014,6 +10035,9 @@ export declare const ClanDescList: {
|
|
|
10014
10035
|
clan_order?: number | undefined;
|
|
10015
10036
|
is_community?: boolean | undefined;
|
|
10016
10037
|
community_banner?: string | undefined;
|
|
10038
|
+
description?: string | undefined;
|
|
10039
|
+
about?: string | undefined;
|
|
10040
|
+
short_url?: string | undefined;
|
|
10017
10041
|
}[] & ({
|
|
10018
10042
|
creator_id?: string | undefined;
|
|
10019
10043
|
clan_name?: string | undefined;
|
|
@@ -10028,6 +10052,9 @@ export declare const ClanDescList: {
|
|
|
10028
10052
|
clan_order?: number | undefined;
|
|
10029
10053
|
is_community?: boolean | undefined;
|
|
10030
10054
|
community_banner?: string | undefined;
|
|
10055
|
+
description?: string | undefined;
|
|
10056
|
+
about?: string | undefined;
|
|
10057
|
+
short_url?: string | undefined;
|
|
10031
10058
|
} & {
|
|
10032
10059
|
creator_id?: string | undefined;
|
|
10033
10060
|
clan_name?: string | undefined;
|
|
@@ -10042,6 +10069,9 @@ export declare const ClanDescList: {
|
|
|
10042
10069
|
clan_order?: number | undefined;
|
|
10043
10070
|
is_community?: boolean | undefined;
|
|
10044
10071
|
community_banner?: string | undefined;
|
|
10072
|
+
description?: string | undefined;
|
|
10073
|
+
about?: string | undefined;
|
|
10074
|
+
short_url?: string | undefined;
|
|
10045
10075
|
} & { [K in Exclude<keyof I["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_1 in Exclude<keyof I["clandesc"], keyof {
|
|
10046
10076
|
creator_id?: string | undefined;
|
|
10047
10077
|
clan_name?: string | undefined;
|
|
@@ -10056,6 +10086,9 @@ export declare const ClanDescList: {
|
|
|
10056
10086
|
clan_order?: number | undefined;
|
|
10057
10087
|
is_community?: boolean | undefined;
|
|
10058
10088
|
community_banner?: string | undefined;
|
|
10089
|
+
description?: string | undefined;
|
|
10090
|
+
about?: string | undefined;
|
|
10091
|
+
short_url?: string | undefined;
|
|
10059
10092
|
}[]>]: never; }) | undefined;
|
|
10060
10093
|
} & { [K_2 in Exclude<keyof I, "clandesc">]: never; }>(base?: I | undefined): ClanDescList;
|
|
10061
10094
|
fromPartial<I_1 extends {
|
|
@@ -10073,6 +10106,9 @@ export declare const ClanDescList: {
|
|
|
10073
10106
|
clan_order?: number | undefined;
|
|
10074
10107
|
is_community?: boolean | undefined;
|
|
10075
10108
|
community_banner?: string | undefined;
|
|
10109
|
+
description?: string | undefined;
|
|
10110
|
+
about?: string | undefined;
|
|
10111
|
+
short_url?: string | undefined;
|
|
10076
10112
|
}[] | undefined;
|
|
10077
10113
|
} & {
|
|
10078
10114
|
clandesc?: ({
|
|
@@ -10089,6 +10125,9 @@ export declare const ClanDescList: {
|
|
|
10089
10125
|
clan_order?: number | undefined;
|
|
10090
10126
|
is_community?: boolean | undefined;
|
|
10091
10127
|
community_banner?: string | undefined;
|
|
10128
|
+
description?: string | undefined;
|
|
10129
|
+
about?: string | undefined;
|
|
10130
|
+
short_url?: string | undefined;
|
|
10092
10131
|
}[] & ({
|
|
10093
10132
|
creator_id?: string | undefined;
|
|
10094
10133
|
clan_name?: string | undefined;
|
|
@@ -10103,6 +10142,9 @@ export declare const ClanDescList: {
|
|
|
10103
10142
|
clan_order?: number | undefined;
|
|
10104
10143
|
is_community?: boolean | undefined;
|
|
10105
10144
|
community_banner?: string | undefined;
|
|
10145
|
+
description?: string | undefined;
|
|
10146
|
+
about?: string | undefined;
|
|
10147
|
+
short_url?: string | undefined;
|
|
10106
10148
|
} & {
|
|
10107
10149
|
creator_id?: string | undefined;
|
|
10108
10150
|
clan_name?: string | undefined;
|
|
@@ -10117,6 +10159,9 @@ export declare const ClanDescList: {
|
|
|
10117
10159
|
clan_order?: number | undefined;
|
|
10118
10160
|
is_community?: boolean | undefined;
|
|
10119
10161
|
community_banner?: string | undefined;
|
|
10162
|
+
description?: string | undefined;
|
|
10163
|
+
about?: string | undefined;
|
|
10164
|
+
short_url?: string | undefined;
|
|
10120
10165
|
} & { [K_3 in Exclude<keyof I_1["clandesc"][number], keyof ClanDesc>]: never; })[] & { [K_4 in Exclude<keyof I_1["clandesc"], keyof {
|
|
10121
10166
|
creator_id?: string | undefined;
|
|
10122
10167
|
clan_name?: string | undefined;
|
|
@@ -10131,6 +10176,9 @@ export declare const ClanDescList: {
|
|
|
10131
10176
|
clan_order?: number | undefined;
|
|
10132
10177
|
is_community?: boolean | undefined;
|
|
10133
10178
|
community_banner?: string | undefined;
|
|
10179
|
+
description?: string | undefined;
|
|
10180
|
+
about?: string | undefined;
|
|
10181
|
+
short_url?: string | undefined;
|
|
10134
10182
|
}[]>]: never; }) | undefined;
|
|
10135
10183
|
} & { [K_5 in Exclude<keyof I_1, "clandesc">]: never; }>(object: I_1): ClanDescList;
|
|
10136
10184
|
};
|