mezon-js-protobuf 1.7.7 → 1.7.8
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.
|
@@ -820,6 +820,8 @@ export interface UserChannelRemoved {
|
|
|
820
820
|
user_ids: string[];
|
|
821
821
|
/** the channel type */
|
|
822
822
|
channel_type: number;
|
|
823
|
+
/** the clan id */
|
|
824
|
+
clan_id: string;
|
|
823
825
|
}
|
|
824
826
|
/** */
|
|
825
827
|
export interface UserClanRemoved {
|
|
@@ -1556,6 +1558,7 @@ export declare const Envelope: {
|
|
|
1556
1558
|
channel_id?: string | undefined;
|
|
1557
1559
|
user_ids?: string[] | undefined;
|
|
1558
1560
|
channel_type?: number | undefined;
|
|
1561
|
+
clan_id?: string | undefined;
|
|
1559
1562
|
} | undefined;
|
|
1560
1563
|
user_clan_removed_event?: {
|
|
1561
1564
|
clan_id?: string | undefined;
|
|
@@ -3726,10 +3729,12 @@ export declare const Envelope: {
|
|
|
3726
3729
|
channel_id?: string | undefined;
|
|
3727
3730
|
user_ids?: string[] | undefined;
|
|
3728
3731
|
channel_type?: number | undefined;
|
|
3732
|
+
clan_id?: string | undefined;
|
|
3729
3733
|
} & {
|
|
3730
3734
|
channel_id?: string | undefined;
|
|
3731
3735
|
user_ids?: (string[] & string[] & { [K_102 in Exclude<keyof I["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
3732
3736
|
channel_type?: number | undefined;
|
|
3737
|
+
clan_id?: string | undefined;
|
|
3733
3738
|
} & { [K_103 in Exclude<keyof I["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
3734
3739
|
user_clan_removed_event?: ({
|
|
3735
3740
|
clan_id?: string | undefined;
|
|
@@ -5094,6 +5099,7 @@ export declare const Envelope: {
|
|
|
5094
5099
|
channel_id?: string | undefined;
|
|
5095
5100
|
user_ids?: string[] | undefined;
|
|
5096
5101
|
channel_type?: number | undefined;
|
|
5102
|
+
clan_id?: string | undefined;
|
|
5097
5103
|
} | undefined;
|
|
5098
5104
|
user_clan_removed_event?: {
|
|
5099
5105
|
clan_id?: string | undefined;
|
|
@@ -7264,10 +7270,12 @@ export declare const Envelope: {
|
|
|
7264
7270
|
channel_id?: string | undefined;
|
|
7265
7271
|
user_ids?: string[] | undefined;
|
|
7266
7272
|
channel_type?: number | undefined;
|
|
7273
|
+
clan_id?: string | undefined;
|
|
7267
7274
|
} & {
|
|
7268
7275
|
channel_id?: string | undefined;
|
|
7269
7276
|
user_ids?: (string[] & string[] & { [K_271 in Exclude<keyof I_1["user_channel_removed_event"]["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
7270
7277
|
channel_type?: number | undefined;
|
|
7278
|
+
clan_id?: string | undefined;
|
|
7271
7279
|
} & { [K_272 in Exclude<keyof I_1["user_channel_removed_event"], keyof UserChannelRemoved>]: never; }) | undefined;
|
|
7272
7280
|
user_clan_removed_event?: ({
|
|
7273
7281
|
clan_id?: string | undefined;
|
|
@@ -13003,19 +13011,23 @@ export declare const UserChannelRemoved: {
|
|
|
13003
13011
|
channel_id?: string | undefined;
|
|
13004
13012
|
user_ids?: string[] | undefined;
|
|
13005
13013
|
channel_type?: number | undefined;
|
|
13014
|
+
clan_id?: string | undefined;
|
|
13006
13015
|
} & {
|
|
13007
13016
|
channel_id?: string | undefined;
|
|
13008
13017
|
user_ids?: (string[] & string[] & { [K in Exclude<keyof I["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
13009
13018
|
channel_type?: number | undefined;
|
|
13019
|
+
clan_id?: string | undefined;
|
|
13010
13020
|
} & { [K_1 in Exclude<keyof I, keyof UserChannelRemoved>]: never; }>(base?: I | undefined): UserChannelRemoved;
|
|
13011
13021
|
fromPartial<I_1 extends {
|
|
13012
13022
|
channel_id?: string | undefined;
|
|
13013
13023
|
user_ids?: string[] | undefined;
|
|
13014
13024
|
channel_type?: number | undefined;
|
|
13025
|
+
clan_id?: string | undefined;
|
|
13015
13026
|
} & {
|
|
13016
13027
|
channel_id?: string | undefined;
|
|
13017
13028
|
user_ids?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["user_ids"], keyof string[]>]: never; }) | undefined;
|
|
13018
13029
|
channel_type?: number | undefined;
|
|
13030
|
+
clan_id?: string | undefined;
|
|
13019
13031
|
} & { [K_3 in Exclude<keyof I_1, keyof UserChannelRemoved>]: never; }>(object: I_1): UserChannelRemoved;
|
|
13020
13032
|
};
|
|
13021
13033
|
export declare const UserClanRemoved: {
|
|
@@ -12865,7 +12865,7 @@ var UserChannelAdded = {
|
|
|
12865
12865
|
}
|
|
12866
12866
|
};
|
|
12867
12867
|
function createBaseUserChannelRemoved() {
|
|
12868
|
-
return { channel_id: "", user_ids: [], channel_type: 0 };
|
|
12868
|
+
return { channel_id: "", user_ids: [], channel_type: 0, clan_id: "" };
|
|
12869
12869
|
}
|
|
12870
12870
|
var UserChannelRemoved = {
|
|
12871
12871
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -12878,6 +12878,9 @@ var UserChannelRemoved = {
|
|
|
12878
12878
|
if (message.channel_type !== 0) {
|
|
12879
12879
|
writer.uint32(24).int32(message.channel_type);
|
|
12880
12880
|
}
|
|
12881
|
+
if (message.clan_id !== "") {
|
|
12882
|
+
writer.uint32(34).string(message.clan_id);
|
|
12883
|
+
}
|
|
12881
12884
|
return writer;
|
|
12882
12885
|
},
|
|
12883
12886
|
decode(input, length) {
|
|
@@ -12905,6 +12908,12 @@ var UserChannelRemoved = {
|
|
|
12905
12908
|
}
|
|
12906
12909
|
message.channel_type = reader.int32();
|
|
12907
12910
|
continue;
|
|
12911
|
+
case 4:
|
|
12912
|
+
if (tag !== 34) {
|
|
12913
|
+
break;
|
|
12914
|
+
}
|
|
12915
|
+
message.clan_id = reader.string();
|
|
12916
|
+
continue;
|
|
12908
12917
|
}
|
|
12909
12918
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12910
12919
|
break;
|
|
@@ -12917,7 +12926,8 @@ var UserChannelRemoved = {
|
|
|
12917
12926
|
return {
|
|
12918
12927
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12919
12928
|
user_ids: globalThis.Array.isArray(object == null ? void 0 : object.user_ids) ? object.user_ids.map((e) => globalThis.String(e)) : [],
|
|
12920
|
-
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0
|
|
12929
|
+
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
|
|
12930
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
12921
12931
|
};
|
|
12922
12932
|
},
|
|
12923
12933
|
toJSON(message) {
|
|
@@ -12932,17 +12942,21 @@ var UserChannelRemoved = {
|
|
|
12932
12942
|
if (message.channel_type !== 0) {
|
|
12933
12943
|
obj.channel_type = Math.round(message.channel_type);
|
|
12934
12944
|
}
|
|
12945
|
+
if (message.clan_id !== "") {
|
|
12946
|
+
obj.clan_id = message.clan_id;
|
|
12947
|
+
}
|
|
12935
12948
|
return obj;
|
|
12936
12949
|
},
|
|
12937
12950
|
create(base) {
|
|
12938
12951
|
return UserChannelRemoved.fromPartial(base != null ? base : {});
|
|
12939
12952
|
},
|
|
12940
12953
|
fromPartial(object) {
|
|
12941
|
-
var _a, _b, _c;
|
|
12954
|
+
var _a, _b, _c, _d;
|
|
12942
12955
|
const message = createBaseUserChannelRemoved();
|
|
12943
12956
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
12944
12957
|
message.user_ids = ((_b = object.user_ids) == null ? void 0 : _b.map((e) => e)) || [];
|
|
12945
12958
|
message.channel_type = (_c = object.channel_type) != null ? _c : 0;
|
|
12959
|
+
message.clan_id = (_d = object.clan_id) != null ? _d : "";
|
|
12946
12960
|
return message;
|
|
12947
12961
|
}
|
|
12948
12962
|
};
|
|
@@ -12852,7 +12852,7 @@ var UserChannelAdded = {
|
|
|
12852
12852
|
}
|
|
12853
12853
|
};
|
|
12854
12854
|
function createBaseUserChannelRemoved() {
|
|
12855
|
-
return { channel_id: "", user_ids: [], channel_type: 0 };
|
|
12855
|
+
return { channel_id: "", user_ids: [], channel_type: 0, clan_id: "" };
|
|
12856
12856
|
}
|
|
12857
12857
|
var UserChannelRemoved = {
|
|
12858
12858
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -12865,6 +12865,9 @@ var UserChannelRemoved = {
|
|
|
12865
12865
|
if (message.channel_type !== 0) {
|
|
12866
12866
|
writer.uint32(24).int32(message.channel_type);
|
|
12867
12867
|
}
|
|
12868
|
+
if (message.clan_id !== "") {
|
|
12869
|
+
writer.uint32(34).string(message.clan_id);
|
|
12870
|
+
}
|
|
12868
12871
|
return writer;
|
|
12869
12872
|
},
|
|
12870
12873
|
decode(input, length) {
|
|
@@ -12892,6 +12895,12 @@ var UserChannelRemoved = {
|
|
|
12892
12895
|
}
|
|
12893
12896
|
message.channel_type = reader.int32();
|
|
12894
12897
|
continue;
|
|
12898
|
+
case 4:
|
|
12899
|
+
if (tag !== 34) {
|
|
12900
|
+
break;
|
|
12901
|
+
}
|
|
12902
|
+
message.clan_id = reader.string();
|
|
12903
|
+
continue;
|
|
12895
12904
|
}
|
|
12896
12905
|
if ((tag & 7) === 4 || tag === 0) {
|
|
12897
12906
|
break;
|
|
@@ -12904,7 +12913,8 @@ var UserChannelRemoved = {
|
|
|
12904
12913
|
return {
|
|
12905
12914
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12906
12915
|
user_ids: globalThis.Array.isArray(object == null ? void 0 : object.user_ids) ? object.user_ids.map((e) => globalThis.String(e)) : [],
|
|
12907
|
-
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0
|
|
12916
|
+
channel_type: isSet4(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
|
|
12917
|
+
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : ""
|
|
12908
12918
|
};
|
|
12909
12919
|
},
|
|
12910
12920
|
toJSON(message) {
|
|
@@ -12919,17 +12929,21 @@ var UserChannelRemoved = {
|
|
|
12919
12929
|
if (message.channel_type !== 0) {
|
|
12920
12930
|
obj.channel_type = Math.round(message.channel_type);
|
|
12921
12931
|
}
|
|
12932
|
+
if (message.clan_id !== "") {
|
|
12933
|
+
obj.clan_id = message.clan_id;
|
|
12934
|
+
}
|
|
12922
12935
|
return obj;
|
|
12923
12936
|
},
|
|
12924
12937
|
create(base) {
|
|
12925
12938
|
return UserChannelRemoved.fromPartial(base != null ? base : {});
|
|
12926
12939
|
},
|
|
12927
12940
|
fromPartial(object) {
|
|
12928
|
-
var _a, _b, _c;
|
|
12941
|
+
var _a, _b, _c, _d;
|
|
12929
12942
|
const message = createBaseUserChannelRemoved();
|
|
12930
12943
|
message.channel_id = (_a = object.channel_id) != null ? _a : "";
|
|
12931
12944
|
message.user_ids = ((_b = object.user_ids) == null ? void 0 : _b.map((e) => e)) || [];
|
|
12932
12945
|
message.channel_type = (_c = object.channel_type) != null ? _c : 0;
|
|
12946
|
+
message.clan_id = (_d = object.clan_id) != null ? _d : "";
|
|
12933
12947
|
return message;
|
|
12934
12948
|
}
|
|
12935
12949
|
};
|
package/package.json
CHANGED
package/rtapi/realtime.ts
CHANGED
|
@@ -1126,6 +1126,8 @@ export interface UserChannelRemoved {
|
|
|
1126
1126
|
user_ids: string[];
|
|
1127
1127
|
/** the channel type */
|
|
1128
1128
|
channel_type: number;
|
|
1129
|
+
/** the clan id */
|
|
1130
|
+
clan_id: string;
|
|
1129
1131
|
}
|
|
1130
1132
|
|
|
1131
1133
|
/** */
|
|
@@ -9264,7 +9266,7 @@ export const UserChannelAdded = {
|
|
|
9264
9266
|
};
|
|
9265
9267
|
|
|
9266
9268
|
function createBaseUserChannelRemoved(): UserChannelRemoved {
|
|
9267
|
-
return { channel_id: "", user_ids: [], channel_type: 0 };
|
|
9269
|
+
return { channel_id: "", user_ids: [], channel_type: 0, clan_id: "" };
|
|
9268
9270
|
}
|
|
9269
9271
|
|
|
9270
9272
|
export const UserChannelRemoved = {
|
|
@@ -9278,6 +9280,9 @@ export const UserChannelRemoved = {
|
|
|
9278
9280
|
if (message.channel_type !== 0) {
|
|
9279
9281
|
writer.uint32(24).int32(message.channel_type);
|
|
9280
9282
|
}
|
|
9283
|
+
if (message.clan_id !== "") {
|
|
9284
|
+
writer.uint32(34).string(message.clan_id);
|
|
9285
|
+
}
|
|
9281
9286
|
return writer;
|
|
9282
9287
|
},
|
|
9283
9288
|
|
|
@@ -9309,6 +9314,13 @@ export const UserChannelRemoved = {
|
|
|
9309
9314
|
|
|
9310
9315
|
message.channel_type = reader.int32();
|
|
9311
9316
|
continue;
|
|
9317
|
+
case 4:
|
|
9318
|
+
if (tag !== 34) {
|
|
9319
|
+
break;
|
|
9320
|
+
}
|
|
9321
|
+
|
|
9322
|
+
message.clan_id = reader.string();
|
|
9323
|
+
continue;
|
|
9312
9324
|
}
|
|
9313
9325
|
if ((tag & 7) === 4 || tag === 0) {
|
|
9314
9326
|
break;
|
|
@@ -9323,6 +9335,7 @@ export const UserChannelRemoved = {
|
|
|
9323
9335
|
channel_id: isSet(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
9324
9336
|
user_ids: globalThis.Array.isArray(object?.user_ids) ? object.user_ids.map((e: any) => globalThis.String(e)) : [],
|
|
9325
9337
|
channel_type: isSet(object.channel_type) ? globalThis.Number(object.channel_type) : 0,
|
|
9338
|
+
clan_id: isSet(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
9326
9339
|
};
|
|
9327
9340
|
},
|
|
9328
9341
|
|
|
@@ -9337,6 +9350,9 @@ export const UserChannelRemoved = {
|
|
|
9337
9350
|
if (message.channel_type !== 0) {
|
|
9338
9351
|
obj.channel_type = Math.round(message.channel_type);
|
|
9339
9352
|
}
|
|
9353
|
+
if (message.clan_id !== "") {
|
|
9354
|
+
obj.clan_id = message.clan_id;
|
|
9355
|
+
}
|
|
9340
9356
|
return obj;
|
|
9341
9357
|
},
|
|
9342
9358
|
|
|
@@ -9348,6 +9364,7 @@ export const UserChannelRemoved = {
|
|
|
9348
9364
|
message.channel_id = object.channel_id ?? "";
|
|
9349
9365
|
message.user_ids = object.user_ids?.map((e) => e) || [];
|
|
9350
9366
|
message.channel_type = object.channel_type ?? 0;
|
|
9367
|
+
message.clan_id = object.clan_id ?? "";
|
|
9351
9368
|
return message;
|
|
9352
9369
|
},
|
|
9353
9370
|
};
|