mezon-js-protobuf 1.5.87 → 1.5.89
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 +20 -2
- package/dist/mezon-js-protobuf/api/api.d.ts +16 -0
- package/package.json +1 -1
- package/rtapi/realtime.ts +2 -2
package/api/api.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
-
// protoc v5.
|
|
3
|
+
// protoc-gen-ts_proto v1.181.1
|
|
4
|
+
// protoc v5.27.2
|
|
5
5
|
// source: api/api.proto
|
|
6
6
|
|
|
7
7
|
/* eslint-disable */
|
|
@@ -1845,6 +1845,8 @@ export interface ChannelDescription {
|
|
|
1845
1845
|
clan_name: string;
|
|
1846
1846
|
/** app url */
|
|
1847
1847
|
app_url: string;
|
|
1848
|
+
/** channel all message */
|
|
1849
|
+
is_mute: boolean;
|
|
1848
1850
|
}
|
|
1849
1851
|
|
|
1850
1852
|
/** A list of channel description, usually a result of a list operation. */
|
|
@@ -15722,6 +15724,7 @@ function createBaseChannelDescription(): ChannelDescription {
|
|
|
15722
15724
|
about_me: [],
|
|
15723
15725
|
clan_name: "",
|
|
15724
15726
|
app_url: "",
|
|
15727
|
+
is_mute: false,
|
|
15725
15728
|
};
|
|
15726
15729
|
}
|
|
15727
15730
|
|
|
@@ -15807,6 +15810,9 @@ export const ChannelDescription = {
|
|
|
15807
15810
|
if (message.app_url !== "") {
|
|
15808
15811
|
writer.uint32(210).string(message.app_url);
|
|
15809
15812
|
}
|
|
15813
|
+
if (message.is_mute !== false) {
|
|
15814
|
+
writer.uint32(216).bool(message.is_mute);
|
|
15815
|
+
}
|
|
15810
15816
|
return writer;
|
|
15811
15817
|
},
|
|
15812
15818
|
|
|
@@ -16009,6 +16015,13 @@ export const ChannelDescription = {
|
|
|
16009
16015
|
|
|
16010
16016
|
message.app_url = reader.string();
|
|
16011
16017
|
continue;
|
|
16018
|
+
case 27:
|
|
16019
|
+
if (tag !== 216) {
|
|
16020
|
+
break;
|
|
16021
|
+
}
|
|
16022
|
+
|
|
16023
|
+
message.is_mute = reader.bool();
|
|
16024
|
+
continue;
|
|
16012
16025
|
}
|
|
16013
16026
|
if ((tag & 7) === 4 || tag === 0) {
|
|
16014
16027
|
break;
|
|
@@ -16054,6 +16067,7 @@ export const ChannelDescription = {
|
|
|
16054
16067
|
about_me: globalThis.Array.isArray(object?.about_me) ? object.about_me.map((e: any) => globalThis.String(e)) : [],
|
|
16055
16068
|
clan_name: isSet(object.clan_name) ? globalThis.String(object.clan_name) : "",
|
|
16056
16069
|
app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
|
|
16070
|
+
is_mute: isSet(object.is_mute) ? globalThis.Boolean(object.is_mute) : false,
|
|
16057
16071
|
};
|
|
16058
16072
|
},
|
|
16059
16073
|
|
|
@@ -16137,6 +16151,9 @@ export const ChannelDescription = {
|
|
|
16137
16151
|
if (message.app_url !== "") {
|
|
16138
16152
|
obj.app_url = message.app_url;
|
|
16139
16153
|
}
|
|
16154
|
+
if (message.is_mute !== false) {
|
|
16155
|
+
obj.is_mute = message.is_mute;
|
|
16156
|
+
}
|
|
16140
16157
|
return obj;
|
|
16141
16158
|
},
|
|
16142
16159
|
|
|
@@ -16175,6 +16192,7 @@ export const ChannelDescription = {
|
|
|
16175
16192
|
message.about_me = object.about_me?.map((e) => e) || [];
|
|
16176
16193
|
message.clan_name = object.clan_name ?? "";
|
|
16177
16194
|
message.app_url = object.app_url ?? "";
|
|
16195
|
+
message.is_mute = object.is_mute ?? false;
|
|
16178
16196
|
return message;
|
|
16179
16197
|
},
|
|
16180
16198
|
};
|
|
@@ -1375,6 +1375,8 @@ export interface ChannelDescription {
|
|
|
1375
1375
|
clan_name: string;
|
|
1376
1376
|
/** app url */
|
|
1377
1377
|
app_url: string;
|
|
1378
|
+
/** channel all message */
|
|
1379
|
+
is_mute: boolean;
|
|
1378
1380
|
}
|
|
1379
1381
|
/** A list of channel description, usually a result of a list operation. */
|
|
1380
1382
|
export interface ChannelDescList {
|
|
@@ -9283,6 +9285,7 @@ export declare const ChannelDescription: {
|
|
|
9283
9285
|
about_me?: string[] | undefined;
|
|
9284
9286
|
clan_name?: string | undefined;
|
|
9285
9287
|
app_url?: string | undefined;
|
|
9288
|
+
is_mute?: boolean | undefined;
|
|
9286
9289
|
} & {
|
|
9287
9290
|
clan_id?: string | undefined;
|
|
9288
9291
|
parrent_id?: string | undefined;
|
|
@@ -9346,6 +9349,7 @@ export declare const ChannelDescription: {
|
|
|
9346
9349
|
about_me?: (string[] & string[] & { [K_6 in Exclude<keyof I["about_me"], keyof string[]>]: never; }) | undefined;
|
|
9347
9350
|
clan_name?: string | undefined;
|
|
9348
9351
|
app_url?: string | undefined;
|
|
9352
|
+
is_mute?: boolean | undefined;
|
|
9349
9353
|
} & { [K_7 in Exclude<keyof I, keyof ChannelDescription>]: never; }>(base?: I | undefined): ChannelDescription;
|
|
9350
9354
|
fromPartial<I_1 extends {
|
|
9351
9355
|
clan_id?: string | undefined;
|
|
@@ -9392,6 +9396,7 @@ export declare const ChannelDescription: {
|
|
|
9392
9396
|
about_me?: string[] | undefined;
|
|
9393
9397
|
clan_name?: string | undefined;
|
|
9394
9398
|
app_url?: string | undefined;
|
|
9399
|
+
is_mute?: boolean | undefined;
|
|
9395
9400
|
} & {
|
|
9396
9401
|
clan_id?: string | undefined;
|
|
9397
9402
|
parrent_id?: string | undefined;
|
|
@@ -9455,6 +9460,7 @@ export declare const ChannelDescription: {
|
|
|
9455
9460
|
about_me?: (string[] & string[] & { [K_14 in Exclude<keyof I_1["about_me"], keyof string[]>]: never; }) | undefined;
|
|
9456
9461
|
clan_name?: string | undefined;
|
|
9457
9462
|
app_url?: string | undefined;
|
|
9463
|
+
is_mute?: boolean | undefined;
|
|
9458
9464
|
} & { [K_15 in Exclude<keyof I_1, keyof ChannelDescription>]: never; }>(object: I_1): ChannelDescription;
|
|
9459
9465
|
};
|
|
9460
9466
|
export declare const ChannelDescList: {
|
|
@@ -9508,6 +9514,7 @@ export declare const ChannelDescList: {
|
|
|
9508
9514
|
about_me?: string[] | undefined;
|
|
9509
9515
|
clan_name?: string | undefined;
|
|
9510
9516
|
app_url?: string | undefined;
|
|
9517
|
+
is_mute?: boolean | undefined;
|
|
9511
9518
|
}[] | undefined;
|
|
9512
9519
|
next_cursor?: string | undefined;
|
|
9513
9520
|
prev_cursor?: string | undefined;
|
|
@@ -9558,6 +9565,7 @@ export declare const ChannelDescList: {
|
|
|
9558
9565
|
about_me?: string[] | undefined;
|
|
9559
9566
|
clan_name?: string | undefined;
|
|
9560
9567
|
app_url?: string | undefined;
|
|
9568
|
+
is_mute?: boolean | undefined;
|
|
9561
9569
|
}[] & ({
|
|
9562
9570
|
clan_id?: string | undefined;
|
|
9563
9571
|
parrent_id?: string | undefined;
|
|
@@ -9603,6 +9611,7 @@ export declare const ChannelDescList: {
|
|
|
9603
9611
|
about_me?: string[] | undefined;
|
|
9604
9612
|
clan_name?: string | undefined;
|
|
9605
9613
|
app_url?: string | undefined;
|
|
9614
|
+
is_mute?: boolean | undefined;
|
|
9606
9615
|
} & {
|
|
9607
9616
|
clan_id?: string | undefined;
|
|
9608
9617
|
parrent_id?: string | undefined;
|
|
@@ -9666,6 +9675,7 @@ export declare const ChannelDescList: {
|
|
|
9666
9675
|
about_me?: (string[] & string[] & { [K_6 in Exclude<keyof I["channeldesc"][number]["about_me"], keyof string[]>]: never; }) | undefined;
|
|
9667
9676
|
clan_name?: string | undefined;
|
|
9668
9677
|
app_url?: string | undefined;
|
|
9678
|
+
is_mute?: boolean | undefined;
|
|
9669
9679
|
} & { [K_7 in Exclude<keyof I["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_8 in Exclude<keyof I["channeldesc"], keyof {
|
|
9670
9680
|
clan_id?: string | undefined;
|
|
9671
9681
|
parrent_id?: string | undefined;
|
|
@@ -9711,6 +9721,7 @@ export declare const ChannelDescList: {
|
|
|
9711
9721
|
about_me?: string[] | undefined;
|
|
9712
9722
|
clan_name?: string | undefined;
|
|
9713
9723
|
app_url?: string | undefined;
|
|
9724
|
+
is_mute?: boolean | undefined;
|
|
9714
9725
|
}[]>]: never; }) | undefined;
|
|
9715
9726
|
next_cursor?: string | undefined;
|
|
9716
9727
|
prev_cursor?: string | undefined;
|
|
@@ -9762,6 +9773,7 @@ export declare const ChannelDescList: {
|
|
|
9762
9773
|
about_me?: string[] | undefined;
|
|
9763
9774
|
clan_name?: string | undefined;
|
|
9764
9775
|
app_url?: string | undefined;
|
|
9776
|
+
is_mute?: boolean | undefined;
|
|
9765
9777
|
}[] | undefined;
|
|
9766
9778
|
next_cursor?: string | undefined;
|
|
9767
9779
|
prev_cursor?: string | undefined;
|
|
@@ -9812,6 +9824,7 @@ export declare const ChannelDescList: {
|
|
|
9812
9824
|
about_me?: string[] | undefined;
|
|
9813
9825
|
clan_name?: string | undefined;
|
|
9814
9826
|
app_url?: string | undefined;
|
|
9827
|
+
is_mute?: boolean | undefined;
|
|
9815
9828
|
}[] & ({
|
|
9816
9829
|
clan_id?: string | undefined;
|
|
9817
9830
|
parrent_id?: string | undefined;
|
|
@@ -9857,6 +9870,7 @@ export declare const ChannelDescList: {
|
|
|
9857
9870
|
about_me?: string[] | undefined;
|
|
9858
9871
|
clan_name?: string | undefined;
|
|
9859
9872
|
app_url?: string | undefined;
|
|
9873
|
+
is_mute?: boolean | undefined;
|
|
9860
9874
|
} & {
|
|
9861
9875
|
clan_id?: string | undefined;
|
|
9862
9876
|
parrent_id?: string | undefined;
|
|
@@ -9920,6 +9934,7 @@ export declare const ChannelDescList: {
|
|
|
9920
9934
|
about_me?: (string[] & string[] & { [K_16 in Exclude<keyof I_1["channeldesc"][number]["about_me"], keyof string[]>]: never; }) | undefined;
|
|
9921
9935
|
clan_name?: string | undefined;
|
|
9922
9936
|
app_url?: string | undefined;
|
|
9937
|
+
is_mute?: boolean | undefined;
|
|
9923
9938
|
} & { [K_17 in Exclude<keyof I_1["channeldesc"][number], keyof ChannelDescription>]: never; })[] & { [K_18 in Exclude<keyof I_1["channeldesc"], keyof {
|
|
9924
9939
|
clan_id?: string | undefined;
|
|
9925
9940
|
parrent_id?: string | undefined;
|
|
@@ -9965,6 +9980,7 @@ export declare const ChannelDescList: {
|
|
|
9965
9980
|
about_me?: string[] | undefined;
|
|
9966
9981
|
clan_name?: string | undefined;
|
|
9967
9982
|
app_url?: string | undefined;
|
|
9983
|
+
is_mute?: boolean | undefined;
|
|
9968
9984
|
}[]>]: never; }) | undefined;
|
|
9969
9985
|
next_cursor?: string | undefined;
|
|
9970
9986
|
prev_cursor?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.89",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|
package/rtapi/realtime.ts
CHANGED