mezon-js-protobuf 1.7.15 → 1.7.17
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 +254 -32
- package/dist/mezon-js-protobuf/api/api.d.ts +135 -67
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +86 -86
- package/dist/mezon-js-protobuf.cjs.js +32 -32
- package/dist/mezon-js-protobuf.esm.mjs +32 -32
- package/google/protobuf/struct.ts +554 -554
- package/google/protobuf/timestamp.ts +223 -223
- package/google/protobuf/wrappers.ts +670 -670
- package/package.json +1 -1
- package/rtapi/realtime.ts +11946 -11946
|
@@ -4184,7 +4184,7 @@ var ChannelMessageHeader = {
|
|
|
4184
4184
|
function createBaseChannelDescription() {
|
|
4185
4185
|
return {
|
|
4186
4186
|
clan_id: "",
|
|
4187
|
-
|
|
4187
|
+
parent_id: "",
|
|
4188
4188
|
channel_id: "",
|
|
4189
4189
|
category_id: "",
|
|
4190
4190
|
category_name: "",
|
|
@@ -4221,8 +4221,8 @@ var ChannelDescription = {
|
|
|
4221
4221
|
if (message.clan_id !== "") {
|
|
4222
4222
|
writer.uint32(10).string(message.clan_id);
|
|
4223
4223
|
}
|
|
4224
|
-
if (message.
|
|
4225
|
-
writer.uint32(18).string(message.
|
|
4224
|
+
if (message.parent_id !== "") {
|
|
4225
|
+
writer.uint32(18).string(message.parent_id);
|
|
4226
4226
|
}
|
|
4227
4227
|
if (message.channel_id !== "") {
|
|
4228
4228
|
writer.uint32(26).string(message.channel_id);
|
|
@@ -4332,7 +4332,7 @@ var ChannelDescription = {
|
|
|
4332
4332
|
if (tag !== 18) {
|
|
4333
4333
|
break;
|
|
4334
4334
|
}
|
|
4335
|
-
message.
|
|
4335
|
+
message.parent_id = reader.string();
|
|
4336
4336
|
continue;
|
|
4337
4337
|
case 3:
|
|
4338
4338
|
if (tag !== 26) {
|
|
@@ -4526,7 +4526,7 @@ var ChannelDescription = {
|
|
|
4526
4526
|
fromJSON(object) {
|
|
4527
4527
|
return {
|
|
4528
4528
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4529
|
-
|
|
4529
|
+
parent_id: isSet3(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
4530
4530
|
channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
4531
4531
|
category_id: isSet3(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
4532
4532
|
category_name: isSet3(object.category_name) ? globalThis.String(object.category_name) : "",
|
|
@@ -4564,8 +4564,8 @@ var ChannelDescription = {
|
|
|
4564
4564
|
if (message.clan_id !== "") {
|
|
4565
4565
|
obj.clan_id = message.clan_id;
|
|
4566
4566
|
}
|
|
4567
|
-
if (message.
|
|
4568
|
-
obj.
|
|
4567
|
+
if (message.parent_id !== "") {
|
|
4568
|
+
obj.parent_id = message.parent_id;
|
|
4569
4569
|
}
|
|
4570
4570
|
if (message.channel_id !== "") {
|
|
4571
4571
|
obj.channel_id = message.channel_id;
|
|
@@ -4663,7 +4663,7 @@ var ChannelDescription = {
|
|
|
4663
4663
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
4664
4664
|
const message = createBaseChannelDescription();
|
|
4665
4665
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4666
|
-
message.
|
|
4666
|
+
message.parent_id = (_b = object.parent_id) != null ? _b : "";
|
|
4667
4667
|
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
4668
4668
|
message.category_id = (_d = object.category_id) != null ? _d : "";
|
|
4669
4669
|
message.category_name = (_e = object.category_name) != null ? _e : "";
|
|
@@ -11183,7 +11183,7 @@ function createBaseChannelCreatedEvent() {
|
|
|
11183
11183
|
clan_id: "",
|
|
11184
11184
|
category_id: "",
|
|
11185
11185
|
creator_id: "",
|
|
11186
|
-
|
|
11186
|
+
parent_id: "",
|
|
11187
11187
|
channel_id: "",
|
|
11188
11188
|
channel_label: "",
|
|
11189
11189
|
channel_private: 0,
|
|
@@ -11204,8 +11204,8 @@ var ChannelCreatedEvent = {
|
|
|
11204
11204
|
if (message.creator_id !== "") {
|
|
11205
11205
|
writer.uint32(26).string(message.creator_id);
|
|
11206
11206
|
}
|
|
11207
|
-
if (message.
|
|
11208
|
-
writer.uint32(34).string(message.
|
|
11207
|
+
if (message.parent_id !== "") {
|
|
11208
|
+
writer.uint32(34).string(message.parent_id);
|
|
11209
11209
|
}
|
|
11210
11210
|
if (message.channel_id !== "") {
|
|
11211
11211
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -11259,7 +11259,7 @@ var ChannelCreatedEvent = {
|
|
|
11259
11259
|
if (tag !== 34) {
|
|
11260
11260
|
break;
|
|
11261
11261
|
}
|
|
11262
|
-
message.
|
|
11262
|
+
message.parent_id = reader.string();
|
|
11263
11263
|
continue;
|
|
11264
11264
|
case 5:
|
|
11265
11265
|
if (tag !== 42) {
|
|
@@ -11316,7 +11316,7 @@ var ChannelCreatedEvent = {
|
|
|
11316
11316
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11317
11317
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11318
11318
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
11319
|
-
|
|
11319
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11320
11320
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11321
11321
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
11322
11322
|
channel_private: isSet4(object.channel_private) ? globalThis.Number(object.channel_private) : 0,
|
|
@@ -11337,8 +11337,8 @@ var ChannelCreatedEvent = {
|
|
|
11337
11337
|
if (message.creator_id !== "") {
|
|
11338
11338
|
obj.creator_id = message.creator_id;
|
|
11339
11339
|
}
|
|
11340
|
-
if (message.
|
|
11341
|
-
obj.
|
|
11340
|
+
if (message.parent_id !== "") {
|
|
11341
|
+
obj.parent_id = message.parent_id;
|
|
11342
11342
|
}
|
|
11343
11343
|
if (message.channel_id !== "") {
|
|
11344
11344
|
obj.channel_id = message.channel_id;
|
|
@@ -11372,7 +11372,7 @@ var ChannelCreatedEvent = {
|
|
|
11372
11372
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11373
11373
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11374
11374
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
11375
|
-
message.
|
|
11375
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
11376
11376
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
11377
11377
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
11378
11378
|
message.channel_private = (_g = object.channel_private) != null ? _g : 0;
|
|
@@ -11530,7 +11530,7 @@ var RoleEvent = {
|
|
|
11530
11530
|
}
|
|
11531
11531
|
};
|
|
11532
11532
|
function createBaseChannelDeletedEvent() {
|
|
11533
|
-
return { clan_id: "", category_id: "",
|
|
11533
|
+
return { clan_id: "", category_id: "", parent_id: "", channel_id: "", deletor: "" };
|
|
11534
11534
|
}
|
|
11535
11535
|
var ChannelDeletedEvent = {
|
|
11536
11536
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -11540,8 +11540,8 @@ var ChannelDeletedEvent = {
|
|
|
11540
11540
|
if (message.category_id !== "") {
|
|
11541
11541
|
writer.uint32(18).string(message.category_id);
|
|
11542
11542
|
}
|
|
11543
|
-
if (message.
|
|
11544
|
-
writer.uint32(26).string(message.
|
|
11543
|
+
if (message.parent_id !== "") {
|
|
11544
|
+
writer.uint32(26).string(message.parent_id);
|
|
11545
11545
|
}
|
|
11546
11546
|
if (message.channel_id !== "") {
|
|
11547
11547
|
writer.uint32(34).string(message.channel_id);
|
|
@@ -11574,7 +11574,7 @@ var ChannelDeletedEvent = {
|
|
|
11574
11574
|
if (tag !== 26) {
|
|
11575
11575
|
break;
|
|
11576
11576
|
}
|
|
11577
|
-
message.
|
|
11577
|
+
message.parent_id = reader.string();
|
|
11578
11578
|
continue;
|
|
11579
11579
|
case 4:
|
|
11580
11580
|
if (tag !== 34) {
|
|
@@ -11600,7 +11600,7 @@ var ChannelDeletedEvent = {
|
|
|
11600
11600
|
return {
|
|
11601
11601
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11602
11602
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11603
|
-
|
|
11603
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11604
11604
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11605
11605
|
deletor: isSet4(object.deletor) ? globalThis.String(object.deletor) : ""
|
|
11606
11606
|
};
|
|
@@ -11613,8 +11613,8 @@ var ChannelDeletedEvent = {
|
|
|
11613
11613
|
if (message.category_id !== "") {
|
|
11614
11614
|
obj.category_id = message.category_id;
|
|
11615
11615
|
}
|
|
11616
|
-
if (message.
|
|
11617
|
-
obj.
|
|
11616
|
+
if (message.parent_id !== "") {
|
|
11617
|
+
obj.parent_id = message.parent_id;
|
|
11618
11618
|
}
|
|
11619
11619
|
if (message.channel_id !== "") {
|
|
11620
11620
|
obj.channel_id = message.channel_id;
|
|
@@ -11632,7 +11632,7 @@ var ChannelDeletedEvent = {
|
|
|
11632
11632
|
const message = createBaseChannelDeletedEvent();
|
|
11633
11633
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11634
11634
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11635
|
-
message.
|
|
11635
|
+
message.parent_id = (_c = object.parent_id) != null ? _c : "";
|
|
11636
11636
|
message.channel_id = (_d = object.channel_id) != null ? _d : "";
|
|
11637
11637
|
message.deletor = (_e = object.deletor) != null ? _e : "";
|
|
11638
11638
|
return message;
|
|
@@ -12018,7 +12018,7 @@ function createBaseChannelUpdatedEvent() {
|
|
|
12018
12018
|
clan_id: "",
|
|
12019
12019
|
category_id: "",
|
|
12020
12020
|
creator_id: "",
|
|
12021
|
-
|
|
12021
|
+
parent_id: "",
|
|
12022
12022
|
channel_id: "",
|
|
12023
12023
|
channel_label: "",
|
|
12024
12024
|
channel_type: void 0,
|
|
@@ -12043,8 +12043,8 @@ var ChannelUpdatedEvent = {
|
|
|
12043
12043
|
if (message.creator_id !== "") {
|
|
12044
12044
|
writer.uint32(26).string(message.creator_id);
|
|
12045
12045
|
}
|
|
12046
|
-
if (message.
|
|
12047
|
-
writer.uint32(34).string(message.
|
|
12046
|
+
if (message.parent_id !== "") {
|
|
12047
|
+
writer.uint32(34).string(message.parent_id);
|
|
12048
12048
|
}
|
|
12049
12049
|
if (message.channel_id !== "") {
|
|
12050
12050
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -12110,7 +12110,7 @@ var ChannelUpdatedEvent = {
|
|
|
12110
12110
|
if (tag !== 34) {
|
|
12111
12111
|
break;
|
|
12112
12112
|
}
|
|
12113
|
-
message.
|
|
12113
|
+
message.parent_id = reader.string();
|
|
12114
12114
|
continue;
|
|
12115
12115
|
case 5:
|
|
12116
12116
|
if (tag !== 42) {
|
|
@@ -12191,7 +12191,7 @@ var ChannelUpdatedEvent = {
|
|
|
12191
12191
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12192
12192
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
12193
12193
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
12194
|
-
|
|
12194
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
12195
12195
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12196
12196
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
12197
12197
|
channel_type: isSet4(object.channel_type) ? Number(object.channel_type) : void 0,
|
|
@@ -12216,8 +12216,8 @@ var ChannelUpdatedEvent = {
|
|
|
12216
12216
|
if (message.creator_id !== "") {
|
|
12217
12217
|
obj.creator_id = message.creator_id;
|
|
12218
12218
|
}
|
|
12219
|
-
if (message.
|
|
12220
|
-
obj.
|
|
12219
|
+
if (message.parent_id !== "") {
|
|
12220
|
+
obj.parent_id = message.parent_id;
|
|
12221
12221
|
}
|
|
12222
12222
|
if (message.channel_id !== "") {
|
|
12223
12223
|
obj.channel_id = message.channel_id;
|
|
@@ -12263,7 +12263,7 @@ var ChannelUpdatedEvent = {
|
|
|
12263
12263
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
12264
12264
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
12265
12265
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
12266
|
-
message.
|
|
12266
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
12267
12267
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
12268
12268
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
12269
12269
|
message.channel_type = (_g = object.channel_type) != null ? _g : void 0;
|
|
@@ -4171,7 +4171,7 @@ var ChannelMessageHeader = {
|
|
|
4171
4171
|
function createBaseChannelDescription() {
|
|
4172
4172
|
return {
|
|
4173
4173
|
clan_id: "",
|
|
4174
|
-
|
|
4174
|
+
parent_id: "",
|
|
4175
4175
|
channel_id: "",
|
|
4176
4176
|
category_id: "",
|
|
4177
4177
|
category_name: "",
|
|
@@ -4208,8 +4208,8 @@ var ChannelDescription = {
|
|
|
4208
4208
|
if (message.clan_id !== "") {
|
|
4209
4209
|
writer.uint32(10).string(message.clan_id);
|
|
4210
4210
|
}
|
|
4211
|
-
if (message.
|
|
4212
|
-
writer.uint32(18).string(message.
|
|
4211
|
+
if (message.parent_id !== "") {
|
|
4212
|
+
writer.uint32(18).string(message.parent_id);
|
|
4213
4213
|
}
|
|
4214
4214
|
if (message.channel_id !== "") {
|
|
4215
4215
|
writer.uint32(26).string(message.channel_id);
|
|
@@ -4319,7 +4319,7 @@ var ChannelDescription = {
|
|
|
4319
4319
|
if (tag !== 18) {
|
|
4320
4320
|
break;
|
|
4321
4321
|
}
|
|
4322
|
-
message.
|
|
4322
|
+
message.parent_id = reader.string();
|
|
4323
4323
|
continue;
|
|
4324
4324
|
case 3:
|
|
4325
4325
|
if (tag !== 26) {
|
|
@@ -4513,7 +4513,7 @@ var ChannelDescription = {
|
|
|
4513
4513
|
fromJSON(object) {
|
|
4514
4514
|
return {
|
|
4515
4515
|
clan_id: isSet3(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
4516
|
-
|
|
4516
|
+
parent_id: isSet3(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
4517
4517
|
channel_id: isSet3(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
4518
4518
|
category_id: isSet3(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
4519
4519
|
category_name: isSet3(object.category_name) ? globalThis.String(object.category_name) : "",
|
|
@@ -4551,8 +4551,8 @@ var ChannelDescription = {
|
|
|
4551
4551
|
if (message.clan_id !== "") {
|
|
4552
4552
|
obj.clan_id = message.clan_id;
|
|
4553
4553
|
}
|
|
4554
|
-
if (message.
|
|
4555
|
-
obj.
|
|
4554
|
+
if (message.parent_id !== "") {
|
|
4555
|
+
obj.parent_id = message.parent_id;
|
|
4556
4556
|
}
|
|
4557
4557
|
if (message.channel_id !== "") {
|
|
4558
4558
|
obj.channel_id = message.channel_id;
|
|
@@ -4650,7 +4650,7 @@ var ChannelDescription = {
|
|
|
4650
4650
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
4651
4651
|
const message = createBaseChannelDescription();
|
|
4652
4652
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
4653
|
-
message.
|
|
4653
|
+
message.parent_id = (_b = object.parent_id) != null ? _b : "";
|
|
4654
4654
|
message.channel_id = (_c = object.channel_id) != null ? _c : "";
|
|
4655
4655
|
message.category_id = (_d = object.category_id) != null ? _d : "";
|
|
4656
4656
|
message.category_name = (_e = object.category_name) != null ? _e : "";
|
|
@@ -11170,7 +11170,7 @@ function createBaseChannelCreatedEvent() {
|
|
|
11170
11170
|
clan_id: "",
|
|
11171
11171
|
category_id: "",
|
|
11172
11172
|
creator_id: "",
|
|
11173
|
-
|
|
11173
|
+
parent_id: "",
|
|
11174
11174
|
channel_id: "",
|
|
11175
11175
|
channel_label: "",
|
|
11176
11176
|
channel_private: 0,
|
|
@@ -11191,8 +11191,8 @@ var ChannelCreatedEvent = {
|
|
|
11191
11191
|
if (message.creator_id !== "") {
|
|
11192
11192
|
writer.uint32(26).string(message.creator_id);
|
|
11193
11193
|
}
|
|
11194
|
-
if (message.
|
|
11195
|
-
writer.uint32(34).string(message.
|
|
11194
|
+
if (message.parent_id !== "") {
|
|
11195
|
+
writer.uint32(34).string(message.parent_id);
|
|
11196
11196
|
}
|
|
11197
11197
|
if (message.channel_id !== "") {
|
|
11198
11198
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -11246,7 +11246,7 @@ var ChannelCreatedEvent = {
|
|
|
11246
11246
|
if (tag !== 34) {
|
|
11247
11247
|
break;
|
|
11248
11248
|
}
|
|
11249
|
-
message.
|
|
11249
|
+
message.parent_id = reader.string();
|
|
11250
11250
|
continue;
|
|
11251
11251
|
case 5:
|
|
11252
11252
|
if (tag !== 42) {
|
|
@@ -11303,7 +11303,7 @@ var ChannelCreatedEvent = {
|
|
|
11303
11303
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11304
11304
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11305
11305
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
11306
|
-
|
|
11306
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11307
11307
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11308
11308
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
11309
11309
|
channel_private: isSet4(object.channel_private) ? globalThis.Number(object.channel_private) : 0,
|
|
@@ -11324,8 +11324,8 @@ var ChannelCreatedEvent = {
|
|
|
11324
11324
|
if (message.creator_id !== "") {
|
|
11325
11325
|
obj.creator_id = message.creator_id;
|
|
11326
11326
|
}
|
|
11327
|
-
if (message.
|
|
11328
|
-
obj.
|
|
11327
|
+
if (message.parent_id !== "") {
|
|
11328
|
+
obj.parent_id = message.parent_id;
|
|
11329
11329
|
}
|
|
11330
11330
|
if (message.channel_id !== "") {
|
|
11331
11331
|
obj.channel_id = message.channel_id;
|
|
@@ -11359,7 +11359,7 @@ var ChannelCreatedEvent = {
|
|
|
11359
11359
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11360
11360
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11361
11361
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
11362
|
-
message.
|
|
11362
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
11363
11363
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
11364
11364
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
11365
11365
|
message.channel_private = (_g = object.channel_private) != null ? _g : 0;
|
|
@@ -11517,7 +11517,7 @@ var RoleEvent = {
|
|
|
11517
11517
|
}
|
|
11518
11518
|
};
|
|
11519
11519
|
function createBaseChannelDeletedEvent() {
|
|
11520
|
-
return { clan_id: "", category_id: "",
|
|
11520
|
+
return { clan_id: "", category_id: "", parent_id: "", channel_id: "", deletor: "" };
|
|
11521
11521
|
}
|
|
11522
11522
|
var ChannelDeletedEvent = {
|
|
11523
11523
|
encode(message, writer = import_minimal5.default.Writer.create()) {
|
|
@@ -11527,8 +11527,8 @@ var ChannelDeletedEvent = {
|
|
|
11527
11527
|
if (message.category_id !== "") {
|
|
11528
11528
|
writer.uint32(18).string(message.category_id);
|
|
11529
11529
|
}
|
|
11530
|
-
if (message.
|
|
11531
|
-
writer.uint32(26).string(message.
|
|
11530
|
+
if (message.parent_id !== "") {
|
|
11531
|
+
writer.uint32(26).string(message.parent_id);
|
|
11532
11532
|
}
|
|
11533
11533
|
if (message.channel_id !== "") {
|
|
11534
11534
|
writer.uint32(34).string(message.channel_id);
|
|
@@ -11561,7 +11561,7 @@ var ChannelDeletedEvent = {
|
|
|
11561
11561
|
if (tag !== 26) {
|
|
11562
11562
|
break;
|
|
11563
11563
|
}
|
|
11564
|
-
message.
|
|
11564
|
+
message.parent_id = reader.string();
|
|
11565
11565
|
continue;
|
|
11566
11566
|
case 4:
|
|
11567
11567
|
if (tag !== 34) {
|
|
@@ -11587,7 +11587,7 @@ var ChannelDeletedEvent = {
|
|
|
11587
11587
|
return {
|
|
11588
11588
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
11589
11589
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
11590
|
-
|
|
11590
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
11591
11591
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
11592
11592
|
deletor: isSet4(object.deletor) ? globalThis.String(object.deletor) : ""
|
|
11593
11593
|
};
|
|
@@ -11600,8 +11600,8 @@ var ChannelDeletedEvent = {
|
|
|
11600
11600
|
if (message.category_id !== "") {
|
|
11601
11601
|
obj.category_id = message.category_id;
|
|
11602
11602
|
}
|
|
11603
|
-
if (message.
|
|
11604
|
-
obj.
|
|
11603
|
+
if (message.parent_id !== "") {
|
|
11604
|
+
obj.parent_id = message.parent_id;
|
|
11605
11605
|
}
|
|
11606
11606
|
if (message.channel_id !== "") {
|
|
11607
11607
|
obj.channel_id = message.channel_id;
|
|
@@ -11619,7 +11619,7 @@ var ChannelDeletedEvent = {
|
|
|
11619
11619
|
const message = createBaseChannelDeletedEvent();
|
|
11620
11620
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
11621
11621
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
11622
|
-
message.
|
|
11622
|
+
message.parent_id = (_c = object.parent_id) != null ? _c : "";
|
|
11623
11623
|
message.channel_id = (_d = object.channel_id) != null ? _d : "";
|
|
11624
11624
|
message.deletor = (_e = object.deletor) != null ? _e : "";
|
|
11625
11625
|
return message;
|
|
@@ -12005,7 +12005,7 @@ function createBaseChannelUpdatedEvent() {
|
|
|
12005
12005
|
clan_id: "",
|
|
12006
12006
|
category_id: "",
|
|
12007
12007
|
creator_id: "",
|
|
12008
|
-
|
|
12008
|
+
parent_id: "",
|
|
12009
12009
|
channel_id: "",
|
|
12010
12010
|
channel_label: "",
|
|
12011
12011
|
channel_type: void 0,
|
|
@@ -12030,8 +12030,8 @@ var ChannelUpdatedEvent = {
|
|
|
12030
12030
|
if (message.creator_id !== "") {
|
|
12031
12031
|
writer.uint32(26).string(message.creator_id);
|
|
12032
12032
|
}
|
|
12033
|
-
if (message.
|
|
12034
|
-
writer.uint32(34).string(message.
|
|
12033
|
+
if (message.parent_id !== "") {
|
|
12034
|
+
writer.uint32(34).string(message.parent_id);
|
|
12035
12035
|
}
|
|
12036
12036
|
if (message.channel_id !== "") {
|
|
12037
12037
|
writer.uint32(42).string(message.channel_id);
|
|
@@ -12097,7 +12097,7 @@ var ChannelUpdatedEvent = {
|
|
|
12097
12097
|
if (tag !== 34) {
|
|
12098
12098
|
break;
|
|
12099
12099
|
}
|
|
12100
|
-
message.
|
|
12100
|
+
message.parent_id = reader.string();
|
|
12101
12101
|
continue;
|
|
12102
12102
|
case 5:
|
|
12103
12103
|
if (tag !== 42) {
|
|
@@ -12178,7 +12178,7 @@ var ChannelUpdatedEvent = {
|
|
|
12178
12178
|
clan_id: isSet4(object.clan_id) ? globalThis.String(object.clan_id) : "",
|
|
12179
12179
|
category_id: isSet4(object.category_id) ? globalThis.String(object.category_id) : "",
|
|
12180
12180
|
creator_id: isSet4(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
12181
|
-
|
|
12181
|
+
parent_id: isSet4(object.parent_id) ? globalThis.String(object.parent_id) : "",
|
|
12182
12182
|
channel_id: isSet4(object.channel_id) ? globalThis.String(object.channel_id) : "",
|
|
12183
12183
|
channel_label: isSet4(object.channel_label) ? globalThis.String(object.channel_label) : "",
|
|
12184
12184
|
channel_type: isSet4(object.channel_type) ? Number(object.channel_type) : void 0,
|
|
@@ -12203,8 +12203,8 @@ var ChannelUpdatedEvent = {
|
|
|
12203
12203
|
if (message.creator_id !== "") {
|
|
12204
12204
|
obj.creator_id = message.creator_id;
|
|
12205
12205
|
}
|
|
12206
|
-
if (message.
|
|
12207
|
-
obj.
|
|
12206
|
+
if (message.parent_id !== "") {
|
|
12207
|
+
obj.parent_id = message.parent_id;
|
|
12208
12208
|
}
|
|
12209
12209
|
if (message.channel_id !== "") {
|
|
12210
12210
|
obj.channel_id = message.channel_id;
|
|
@@ -12250,7 +12250,7 @@ var ChannelUpdatedEvent = {
|
|
|
12250
12250
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
12251
12251
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
12252
12252
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
12253
|
-
message.
|
|
12253
|
+
message.parent_id = (_d = object.parent_id) != null ? _d : "";
|
|
12254
12254
|
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
12255
12255
|
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
12256
12256
|
message.channel_type = (_g = object.channel_type) != null ? _g : void 0;
|