mezon-js-protobuf 1.4.69 → 1.4.70
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 +33 -9
- package/dist/mezon-js-protobuf/api/api.d.ts +12 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -573,6 +573,10 @@ export interface NotificationInfo {
|
|
|
573
573
|
username: string;
|
|
574
574
|
/** avatar */
|
|
575
575
|
avatar: string;
|
|
576
|
+
/** clan nick name */
|
|
577
|
+
clan_nick: string;
|
|
578
|
+
/** display name */
|
|
579
|
+
display_name: string;
|
|
576
580
|
/** channel label */
|
|
577
581
|
channel_label: string;
|
|
578
582
|
/** channel type */
|
|
@@ -5679,6 +5683,8 @@ function createBaseNotificationInfo(): NotificationInfo {
|
|
|
5679
5683
|
return {
|
|
5680
5684
|
username: "",
|
|
5681
5685
|
avatar: "",
|
|
5686
|
+
clan_nick: "",
|
|
5687
|
+
display_name: "",
|
|
5682
5688
|
channel_label: "",
|
|
5683
5689
|
channel_type: "",
|
|
5684
5690
|
category_name: "",
|
|
@@ -5695,20 +5701,26 @@ export const NotificationInfo = {
|
|
|
5695
5701
|
if (message.avatar !== "") {
|
|
5696
5702
|
writer.uint32(18).string(message.avatar);
|
|
5697
5703
|
}
|
|
5704
|
+
if (message.clan_nick !== "") {
|
|
5705
|
+
writer.uint32(26).string(message.clan_nick);
|
|
5706
|
+
}
|
|
5707
|
+
if (message.display_name !== "") {
|
|
5708
|
+
writer.uint32(34).string(message.display_name);
|
|
5709
|
+
}
|
|
5698
5710
|
if (message.channel_label !== "") {
|
|
5699
|
-
writer.uint32(
|
|
5711
|
+
writer.uint32(42).string(message.channel_label);
|
|
5700
5712
|
}
|
|
5701
5713
|
if (message.channel_type !== "") {
|
|
5702
|
-
writer.uint32(
|
|
5714
|
+
writer.uint32(50).string(message.channel_type);
|
|
5703
5715
|
}
|
|
5704
5716
|
if (message.category_name !== "") {
|
|
5705
|
-
writer.uint32(
|
|
5717
|
+
writer.uint32(58).string(message.category_name);
|
|
5706
5718
|
}
|
|
5707
5719
|
if (message.clan_name !== "") {
|
|
5708
|
-
writer.uint32(
|
|
5720
|
+
writer.uint32(66).string(message.clan_name);
|
|
5709
5721
|
}
|
|
5710
5722
|
if (message.clan_logo !== "") {
|
|
5711
|
-
writer.uint32(
|
|
5723
|
+
writer.uint32(74).string(message.clan_logo);
|
|
5712
5724
|
}
|
|
5713
5725
|
return writer;
|
|
5714
5726
|
},
|
|
@@ -5727,18 +5739,24 @@ export const NotificationInfo = {
|
|
|
5727
5739
|
message.avatar = reader.string();
|
|
5728
5740
|
break;
|
|
5729
5741
|
case 3:
|
|
5730
|
-
message.
|
|
5742
|
+
message.clan_nick = reader.string();
|
|
5731
5743
|
break;
|
|
5732
5744
|
case 4:
|
|
5733
|
-
message.
|
|
5745
|
+
message.display_name = reader.string();
|
|
5734
5746
|
break;
|
|
5735
5747
|
case 5:
|
|
5736
|
-
message.
|
|
5748
|
+
message.channel_label = reader.string();
|
|
5737
5749
|
break;
|
|
5738
5750
|
case 6:
|
|
5739
|
-
message.
|
|
5751
|
+
message.channel_type = reader.string();
|
|
5740
5752
|
break;
|
|
5741
5753
|
case 7:
|
|
5754
|
+
message.category_name = reader.string();
|
|
5755
|
+
break;
|
|
5756
|
+
case 8:
|
|
5757
|
+
message.clan_name = reader.string();
|
|
5758
|
+
break;
|
|
5759
|
+
case 9:
|
|
5742
5760
|
message.clan_logo = reader.string();
|
|
5743
5761
|
break;
|
|
5744
5762
|
default:
|
|
@@ -5753,6 +5771,8 @@ export const NotificationInfo = {
|
|
|
5753
5771
|
return {
|
|
5754
5772
|
username: isSet(object.username) ? String(object.username) : "",
|
|
5755
5773
|
avatar: isSet(object.avatar) ? String(object.avatar) : "",
|
|
5774
|
+
clan_nick: isSet(object.clan_nick) ? String(object.clan_nick) : "",
|
|
5775
|
+
display_name: isSet(object.display_name) ? String(object.display_name) : "",
|
|
5756
5776
|
channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
|
|
5757
5777
|
channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
|
|
5758
5778
|
category_name: isSet(object.category_name) ? String(object.category_name) : "",
|
|
@@ -5765,6 +5785,8 @@ export const NotificationInfo = {
|
|
|
5765
5785
|
const obj: any = {};
|
|
5766
5786
|
message.username !== undefined && (obj.username = message.username);
|
|
5767
5787
|
message.avatar !== undefined && (obj.avatar = message.avatar);
|
|
5788
|
+
message.clan_nick !== undefined && (obj.clan_nick = message.clan_nick);
|
|
5789
|
+
message.display_name !== undefined && (obj.display_name = message.display_name);
|
|
5768
5790
|
message.channel_label !== undefined && (obj.channel_label = message.channel_label);
|
|
5769
5791
|
message.channel_type !== undefined && (obj.channel_type = message.channel_type);
|
|
5770
5792
|
message.category_name !== undefined && (obj.category_name = message.category_name);
|
|
@@ -5781,6 +5803,8 @@ export const NotificationInfo = {
|
|
|
5781
5803
|
const message = createBaseNotificationInfo();
|
|
5782
5804
|
message.username = object.username ?? "";
|
|
5783
5805
|
message.avatar = object.avatar ?? "";
|
|
5806
|
+
message.clan_nick = object.clan_nick ?? "";
|
|
5807
|
+
message.display_name = object.display_name ?? "";
|
|
5784
5808
|
message.channel_label = object.channel_label ?? "";
|
|
5785
5809
|
message.channel_type = object.channel_type ?? "";
|
|
5786
5810
|
message.category_name = object.category_name ?? "";
|
|
@@ -395,6 +395,10 @@ export interface NotificationInfo {
|
|
|
395
395
|
username: string;
|
|
396
396
|
/** avatar */
|
|
397
397
|
avatar: string;
|
|
398
|
+
/** clan nick name */
|
|
399
|
+
clan_nick: string;
|
|
400
|
+
/** display name */
|
|
401
|
+
display_name: string;
|
|
398
402
|
/** channel label */
|
|
399
403
|
channel_label: string;
|
|
400
404
|
/** channel type */
|
|
@@ -3641,6 +3645,8 @@ export declare const NotificationInfo: {
|
|
|
3641
3645
|
create<I extends {
|
|
3642
3646
|
username?: string | undefined;
|
|
3643
3647
|
avatar?: string | undefined;
|
|
3648
|
+
clan_nick?: string | undefined;
|
|
3649
|
+
display_name?: string | undefined;
|
|
3644
3650
|
channel_label?: string | undefined;
|
|
3645
3651
|
channel_type?: string | undefined;
|
|
3646
3652
|
category_name?: string | undefined;
|
|
@@ -3649,6 +3655,8 @@ export declare const NotificationInfo: {
|
|
|
3649
3655
|
} & {
|
|
3650
3656
|
username?: string | undefined;
|
|
3651
3657
|
avatar?: string | undefined;
|
|
3658
|
+
clan_nick?: string | undefined;
|
|
3659
|
+
display_name?: string | undefined;
|
|
3652
3660
|
channel_label?: string | undefined;
|
|
3653
3661
|
channel_type?: string | undefined;
|
|
3654
3662
|
category_name?: string | undefined;
|
|
@@ -3658,6 +3666,8 @@ export declare const NotificationInfo: {
|
|
|
3658
3666
|
fromPartial<I_1 extends {
|
|
3659
3667
|
username?: string | undefined;
|
|
3660
3668
|
avatar?: string | undefined;
|
|
3669
|
+
clan_nick?: string | undefined;
|
|
3670
|
+
display_name?: string | undefined;
|
|
3661
3671
|
channel_label?: string | undefined;
|
|
3662
3672
|
channel_type?: string | undefined;
|
|
3663
3673
|
category_name?: string | undefined;
|
|
@@ -3666,6 +3676,8 @@ export declare const NotificationInfo: {
|
|
|
3666
3676
|
} & {
|
|
3667
3677
|
username?: string | undefined;
|
|
3668
3678
|
avatar?: string | undefined;
|
|
3679
|
+
clan_nick?: string | undefined;
|
|
3680
|
+
display_name?: string | undefined;
|
|
3669
3681
|
channel_label?: string | undefined;
|
|
3670
3682
|
channel_type?: string | undefined;
|
|
3671
3683
|
category_name?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.70",
|
|
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",
|