mezon-js-protobuf 1.4.3 → 1.4.4
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.
|
@@ -610,6 +610,8 @@ export interface ChannelCreatedEvent {
|
|
|
610
610
|
category_id: string;
|
|
611
611
|
/** creator */
|
|
612
612
|
creator_id: string;
|
|
613
|
+
/** parrent id */
|
|
614
|
+
parrent_id: string;
|
|
613
615
|
/** channel id */
|
|
614
616
|
channel_id: string;
|
|
615
617
|
/** channel label */
|
|
@@ -620,6 +622,8 @@ export interface ChannelDeletedEvent {
|
|
|
620
622
|
clan_id: string;
|
|
621
623
|
/** category */
|
|
622
624
|
category_id: string;
|
|
625
|
+
/** parrent id */
|
|
626
|
+
parrent_id: string;
|
|
623
627
|
/** channel id */
|
|
624
628
|
channel_id: string;
|
|
625
629
|
/** deletor */
|
|
@@ -1091,12 +1095,14 @@ export declare const Envelope: {
|
|
|
1091
1095
|
clan_id?: string | undefined;
|
|
1092
1096
|
category_id?: string | undefined;
|
|
1093
1097
|
creator_id?: string | undefined;
|
|
1098
|
+
parrent_id?: string | undefined;
|
|
1094
1099
|
channel_id?: string | undefined;
|
|
1095
1100
|
channel_label?: string | undefined;
|
|
1096
1101
|
} | undefined;
|
|
1097
1102
|
channel_deleted_event?: {
|
|
1098
1103
|
clan_id?: string | undefined;
|
|
1099
1104
|
category_id?: string | undefined;
|
|
1105
|
+
parrent_id?: string | undefined;
|
|
1100
1106
|
channel_id?: string | undefined;
|
|
1101
1107
|
deletor?: string | undefined;
|
|
1102
1108
|
} | undefined;
|
|
@@ -2224,23 +2230,27 @@ export declare const Envelope: {
|
|
|
2224
2230
|
clan_id?: string | undefined;
|
|
2225
2231
|
category_id?: string | undefined;
|
|
2226
2232
|
creator_id?: string | undefined;
|
|
2233
|
+
parrent_id?: string | undefined;
|
|
2227
2234
|
channel_id?: string | undefined;
|
|
2228
2235
|
channel_label?: string | undefined;
|
|
2229
2236
|
} & {
|
|
2230
2237
|
clan_id?: string | undefined;
|
|
2231
2238
|
category_id?: string | undefined;
|
|
2232
2239
|
creator_id?: string | undefined;
|
|
2240
|
+
parrent_id?: string | undefined;
|
|
2233
2241
|
channel_id?: string | undefined;
|
|
2234
2242
|
channel_label?: string | undefined;
|
|
2235
2243
|
} & { [K_88 in Exclude<keyof I["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
2236
2244
|
channel_deleted_event?: ({
|
|
2237
2245
|
clan_id?: string | undefined;
|
|
2238
2246
|
category_id?: string | undefined;
|
|
2247
|
+
parrent_id?: string | undefined;
|
|
2239
2248
|
channel_id?: string | undefined;
|
|
2240
2249
|
deletor?: string | undefined;
|
|
2241
2250
|
} & {
|
|
2242
2251
|
clan_id?: string | undefined;
|
|
2243
2252
|
category_id?: string | undefined;
|
|
2253
|
+
parrent_id?: string | undefined;
|
|
2244
2254
|
channel_id?: string | undefined;
|
|
2245
2255
|
deletor?: string | undefined;
|
|
2246
2256
|
} & { [K_89 in Exclude<keyof I["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
@@ -2652,12 +2662,14 @@ export declare const Envelope: {
|
|
|
2652
2662
|
clan_id?: string | undefined;
|
|
2653
2663
|
category_id?: string | undefined;
|
|
2654
2664
|
creator_id?: string | undefined;
|
|
2665
|
+
parrent_id?: string | undefined;
|
|
2655
2666
|
channel_id?: string | undefined;
|
|
2656
2667
|
channel_label?: string | undefined;
|
|
2657
2668
|
} | undefined;
|
|
2658
2669
|
channel_deleted_event?: {
|
|
2659
2670
|
clan_id?: string | undefined;
|
|
2660
2671
|
category_id?: string | undefined;
|
|
2672
|
+
parrent_id?: string | undefined;
|
|
2661
2673
|
channel_id?: string | undefined;
|
|
2662
2674
|
deletor?: string | undefined;
|
|
2663
2675
|
} | undefined;
|
|
@@ -3785,23 +3797,27 @@ export declare const Envelope: {
|
|
|
3785
3797
|
clan_id?: string | undefined;
|
|
3786
3798
|
category_id?: string | undefined;
|
|
3787
3799
|
creator_id?: string | undefined;
|
|
3800
|
+
parrent_id?: string | undefined;
|
|
3788
3801
|
channel_id?: string | undefined;
|
|
3789
3802
|
channel_label?: string | undefined;
|
|
3790
3803
|
} & {
|
|
3791
3804
|
clan_id?: string | undefined;
|
|
3792
3805
|
category_id?: string | undefined;
|
|
3793
3806
|
creator_id?: string | undefined;
|
|
3807
|
+
parrent_id?: string | undefined;
|
|
3794
3808
|
channel_id?: string | undefined;
|
|
3795
3809
|
channel_label?: string | undefined;
|
|
3796
3810
|
} & { [K_179 in Exclude<keyof I_1["channel_created_event"], keyof ChannelCreatedEvent>]: never; }) | undefined;
|
|
3797
3811
|
channel_deleted_event?: ({
|
|
3798
3812
|
clan_id?: string | undefined;
|
|
3799
3813
|
category_id?: string | undefined;
|
|
3814
|
+
parrent_id?: string | undefined;
|
|
3800
3815
|
channel_id?: string | undefined;
|
|
3801
3816
|
deletor?: string | undefined;
|
|
3802
3817
|
} & {
|
|
3803
3818
|
clan_id?: string | undefined;
|
|
3804
3819
|
category_id?: string | undefined;
|
|
3820
|
+
parrent_id?: string | undefined;
|
|
3805
3821
|
channel_id?: string | undefined;
|
|
3806
3822
|
deletor?: string | undefined;
|
|
3807
3823
|
} & { [K_180 in Exclude<keyof I_1["channel_deleted_event"], keyof ChannelDeletedEvent>]: never; }) | undefined;
|
|
@@ -6242,12 +6258,14 @@ export declare const ChannelCreatedEvent: {
|
|
|
6242
6258
|
clan_id?: string | undefined;
|
|
6243
6259
|
category_id?: string | undefined;
|
|
6244
6260
|
creator_id?: string | undefined;
|
|
6261
|
+
parrent_id?: string | undefined;
|
|
6245
6262
|
channel_id?: string | undefined;
|
|
6246
6263
|
channel_label?: string | undefined;
|
|
6247
6264
|
} & {
|
|
6248
6265
|
clan_id?: string | undefined;
|
|
6249
6266
|
category_id?: string | undefined;
|
|
6250
6267
|
creator_id?: string | undefined;
|
|
6268
|
+
parrent_id?: string | undefined;
|
|
6251
6269
|
channel_id?: string | undefined;
|
|
6252
6270
|
channel_label?: string | undefined;
|
|
6253
6271
|
} & { [K in Exclude<keyof I, keyof ChannelCreatedEvent>]: never; }>(base?: I | undefined): ChannelCreatedEvent;
|
|
@@ -6255,12 +6273,14 @@ export declare const ChannelCreatedEvent: {
|
|
|
6255
6273
|
clan_id?: string | undefined;
|
|
6256
6274
|
category_id?: string | undefined;
|
|
6257
6275
|
creator_id?: string | undefined;
|
|
6276
|
+
parrent_id?: string | undefined;
|
|
6258
6277
|
channel_id?: string | undefined;
|
|
6259
6278
|
channel_label?: string | undefined;
|
|
6260
6279
|
} & {
|
|
6261
6280
|
clan_id?: string | undefined;
|
|
6262
6281
|
category_id?: string | undefined;
|
|
6263
6282
|
creator_id?: string | undefined;
|
|
6283
|
+
parrent_id?: string | undefined;
|
|
6264
6284
|
channel_id?: string | undefined;
|
|
6265
6285
|
channel_label?: string | undefined;
|
|
6266
6286
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelCreatedEvent>]: never; }>(object: I_1): ChannelCreatedEvent;
|
|
@@ -6273,22 +6293,26 @@ export declare const ChannelDeletedEvent: {
|
|
|
6273
6293
|
create<I extends {
|
|
6274
6294
|
clan_id?: string | undefined;
|
|
6275
6295
|
category_id?: string | undefined;
|
|
6296
|
+
parrent_id?: string | undefined;
|
|
6276
6297
|
channel_id?: string | undefined;
|
|
6277
6298
|
deletor?: string | undefined;
|
|
6278
6299
|
} & {
|
|
6279
6300
|
clan_id?: string | undefined;
|
|
6280
6301
|
category_id?: string | undefined;
|
|
6302
|
+
parrent_id?: string | undefined;
|
|
6281
6303
|
channel_id?: string | undefined;
|
|
6282
6304
|
deletor?: string | undefined;
|
|
6283
6305
|
} & { [K in Exclude<keyof I, keyof ChannelDeletedEvent>]: never; }>(base?: I | undefined): ChannelDeletedEvent;
|
|
6284
6306
|
fromPartial<I_1 extends {
|
|
6285
6307
|
clan_id?: string | undefined;
|
|
6286
6308
|
category_id?: string | undefined;
|
|
6309
|
+
parrent_id?: string | undefined;
|
|
6287
6310
|
channel_id?: string | undefined;
|
|
6288
6311
|
deletor?: string | undefined;
|
|
6289
6312
|
} & {
|
|
6290
6313
|
clan_id?: string | undefined;
|
|
6291
6314
|
category_id?: string | undefined;
|
|
6315
|
+
parrent_id?: string | undefined;
|
|
6292
6316
|
channel_id?: string | undefined;
|
|
6293
6317
|
deletor?: string | undefined;
|
|
6294
6318
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelDeletedEvent>]: never; }>(object: I_1): ChannelDeletedEvent;
|
|
@@ -6319,7 +6319,7 @@ var VoiceJoinedEvent = {
|
|
|
6319
6319
|
}
|
|
6320
6320
|
};
|
|
6321
6321
|
function createBaseChannelCreatedEvent() {
|
|
6322
|
-
return { clan_id: "", category_id: "", creator_id: "", channel_id: "", channel_label: "" };
|
|
6322
|
+
return { clan_id: "", category_id: "", creator_id: "", parrent_id: "", channel_id: "", channel_label: "" };
|
|
6323
6323
|
}
|
|
6324
6324
|
var ChannelCreatedEvent = {
|
|
6325
6325
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
@@ -6332,11 +6332,14 @@ var ChannelCreatedEvent = {
|
|
|
6332
6332
|
if (message.creator_id !== "") {
|
|
6333
6333
|
writer.uint32(26).string(message.creator_id);
|
|
6334
6334
|
}
|
|
6335
|
+
if (message.parrent_id !== "") {
|
|
6336
|
+
writer.uint32(34).string(message.parrent_id);
|
|
6337
|
+
}
|
|
6335
6338
|
if (message.channel_id !== "") {
|
|
6336
|
-
writer.uint32(
|
|
6339
|
+
writer.uint32(42).string(message.channel_id);
|
|
6337
6340
|
}
|
|
6338
6341
|
if (message.channel_label !== "") {
|
|
6339
|
-
writer.uint32(
|
|
6342
|
+
writer.uint32(50).string(message.channel_label);
|
|
6340
6343
|
}
|
|
6341
6344
|
return writer;
|
|
6342
6345
|
},
|
|
@@ -6357,9 +6360,12 @@ var ChannelCreatedEvent = {
|
|
|
6357
6360
|
message.creator_id = reader.string();
|
|
6358
6361
|
break;
|
|
6359
6362
|
case 4:
|
|
6360
|
-
message.
|
|
6363
|
+
message.parrent_id = reader.string();
|
|
6361
6364
|
break;
|
|
6362
6365
|
case 5:
|
|
6366
|
+
message.channel_id = reader.string();
|
|
6367
|
+
break;
|
|
6368
|
+
case 6:
|
|
6363
6369
|
message.channel_label = reader.string();
|
|
6364
6370
|
break;
|
|
6365
6371
|
default:
|
|
@@ -6374,6 +6380,7 @@ var ChannelCreatedEvent = {
|
|
|
6374
6380
|
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
6375
6381
|
category_id: isSet4(object.category_id) ? String(object.category_id) : "",
|
|
6376
6382
|
creator_id: isSet4(object.creator_id) ? String(object.creator_id) : "",
|
|
6383
|
+
parrent_id: isSet4(object.parrent_id) ? String(object.parrent_id) : "",
|
|
6377
6384
|
channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
|
|
6378
6385
|
channel_label: isSet4(object.channel_label) ? String(object.channel_label) : ""
|
|
6379
6386
|
};
|
|
@@ -6383,6 +6390,7 @@ var ChannelCreatedEvent = {
|
|
|
6383
6390
|
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
6384
6391
|
message.category_id !== void 0 && (obj.category_id = message.category_id);
|
|
6385
6392
|
message.creator_id !== void 0 && (obj.creator_id = message.creator_id);
|
|
6393
|
+
message.parrent_id !== void 0 && (obj.parrent_id = message.parrent_id);
|
|
6386
6394
|
message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
|
|
6387
6395
|
message.channel_label !== void 0 && (obj.channel_label = message.channel_label);
|
|
6388
6396
|
return obj;
|
|
@@ -6391,18 +6399,19 @@ var ChannelCreatedEvent = {
|
|
|
6391
6399
|
return ChannelCreatedEvent.fromPartial(base != null ? base : {});
|
|
6392
6400
|
},
|
|
6393
6401
|
fromPartial(object) {
|
|
6394
|
-
var _a, _b, _c, _d, _e;
|
|
6402
|
+
var _a, _b, _c, _d, _e, _f;
|
|
6395
6403
|
const message = createBaseChannelCreatedEvent();
|
|
6396
6404
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
6397
6405
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
6398
6406
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
6399
|
-
message.
|
|
6400
|
-
message.
|
|
6407
|
+
message.parrent_id = (_d = object.parrent_id) != null ? _d : "";
|
|
6408
|
+
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
6409
|
+
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
6401
6410
|
return message;
|
|
6402
6411
|
}
|
|
6403
6412
|
};
|
|
6404
6413
|
function createBaseChannelDeletedEvent() {
|
|
6405
|
-
return { clan_id: "", category_id: "", channel_id: "", deletor: "" };
|
|
6414
|
+
return { clan_id: "", category_id: "", parrent_id: "", channel_id: "", deletor: "" };
|
|
6406
6415
|
}
|
|
6407
6416
|
var ChannelDeletedEvent = {
|
|
6408
6417
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
@@ -6412,11 +6421,14 @@ var ChannelDeletedEvent = {
|
|
|
6412
6421
|
if (message.category_id !== "") {
|
|
6413
6422
|
writer.uint32(18).string(message.category_id);
|
|
6414
6423
|
}
|
|
6424
|
+
if (message.parrent_id !== "") {
|
|
6425
|
+
writer.uint32(26).string(message.parrent_id);
|
|
6426
|
+
}
|
|
6415
6427
|
if (message.channel_id !== "") {
|
|
6416
|
-
writer.uint32(
|
|
6428
|
+
writer.uint32(34).string(message.channel_id);
|
|
6417
6429
|
}
|
|
6418
6430
|
if (message.deletor !== "") {
|
|
6419
|
-
writer.uint32(
|
|
6431
|
+
writer.uint32(42).string(message.deletor);
|
|
6420
6432
|
}
|
|
6421
6433
|
return writer;
|
|
6422
6434
|
},
|
|
@@ -6434,9 +6446,12 @@ var ChannelDeletedEvent = {
|
|
|
6434
6446
|
message.category_id = reader.string();
|
|
6435
6447
|
break;
|
|
6436
6448
|
case 3:
|
|
6437
|
-
message.
|
|
6449
|
+
message.parrent_id = reader.string();
|
|
6438
6450
|
break;
|
|
6439
6451
|
case 4:
|
|
6452
|
+
message.channel_id = reader.string();
|
|
6453
|
+
break;
|
|
6454
|
+
case 5:
|
|
6440
6455
|
message.deletor = reader.string();
|
|
6441
6456
|
break;
|
|
6442
6457
|
default:
|
|
@@ -6450,6 +6465,7 @@ var ChannelDeletedEvent = {
|
|
|
6450
6465
|
return {
|
|
6451
6466
|
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
6452
6467
|
category_id: isSet4(object.category_id) ? String(object.category_id) : "",
|
|
6468
|
+
parrent_id: isSet4(object.parrent_id) ? String(object.parrent_id) : "",
|
|
6453
6469
|
channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
|
|
6454
6470
|
deletor: isSet4(object.deletor) ? String(object.deletor) : ""
|
|
6455
6471
|
};
|
|
@@ -6458,6 +6474,7 @@ var ChannelDeletedEvent = {
|
|
|
6458
6474
|
const obj = {};
|
|
6459
6475
|
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
6460
6476
|
message.category_id !== void 0 && (obj.category_id = message.category_id);
|
|
6477
|
+
message.parrent_id !== void 0 && (obj.parrent_id = message.parrent_id);
|
|
6461
6478
|
message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
|
|
6462
6479
|
message.deletor !== void 0 && (obj.deletor = message.deletor);
|
|
6463
6480
|
return obj;
|
|
@@ -6466,12 +6483,13 @@ var ChannelDeletedEvent = {
|
|
|
6466
6483
|
return ChannelDeletedEvent.fromPartial(base != null ? base : {});
|
|
6467
6484
|
},
|
|
6468
6485
|
fromPartial(object) {
|
|
6469
|
-
var _a, _b, _c, _d;
|
|
6486
|
+
var _a, _b, _c, _d, _e;
|
|
6470
6487
|
const message = createBaseChannelDeletedEvent();
|
|
6471
6488
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
6472
6489
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
6473
|
-
message.
|
|
6474
|
-
message.
|
|
6490
|
+
message.parrent_id = (_c = object.parrent_id) != null ? _c : "";
|
|
6491
|
+
message.channel_id = (_d = object.channel_id) != null ? _d : "";
|
|
6492
|
+
message.deletor = (_e = object.deletor) != null ? _e : "";
|
|
6475
6493
|
return message;
|
|
6476
6494
|
}
|
|
6477
6495
|
};
|
|
@@ -6306,7 +6306,7 @@ var VoiceJoinedEvent = {
|
|
|
6306
6306
|
}
|
|
6307
6307
|
};
|
|
6308
6308
|
function createBaseChannelCreatedEvent() {
|
|
6309
|
-
return { clan_id: "", category_id: "", creator_id: "", channel_id: "", channel_label: "" };
|
|
6309
|
+
return { clan_id: "", category_id: "", creator_id: "", parrent_id: "", channel_id: "", channel_label: "" };
|
|
6310
6310
|
}
|
|
6311
6311
|
var ChannelCreatedEvent = {
|
|
6312
6312
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
@@ -6319,11 +6319,14 @@ var ChannelCreatedEvent = {
|
|
|
6319
6319
|
if (message.creator_id !== "") {
|
|
6320
6320
|
writer.uint32(26).string(message.creator_id);
|
|
6321
6321
|
}
|
|
6322
|
+
if (message.parrent_id !== "") {
|
|
6323
|
+
writer.uint32(34).string(message.parrent_id);
|
|
6324
|
+
}
|
|
6322
6325
|
if (message.channel_id !== "") {
|
|
6323
|
-
writer.uint32(
|
|
6326
|
+
writer.uint32(42).string(message.channel_id);
|
|
6324
6327
|
}
|
|
6325
6328
|
if (message.channel_label !== "") {
|
|
6326
|
-
writer.uint32(
|
|
6329
|
+
writer.uint32(50).string(message.channel_label);
|
|
6327
6330
|
}
|
|
6328
6331
|
return writer;
|
|
6329
6332
|
},
|
|
@@ -6344,9 +6347,12 @@ var ChannelCreatedEvent = {
|
|
|
6344
6347
|
message.creator_id = reader.string();
|
|
6345
6348
|
break;
|
|
6346
6349
|
case 4:
|
|
6347
|
-
message.
|
|
6350
|
+
message.parrent_id = reader.string();
|
|
6348
6351
|
break;
|
|
6349
6352
|
case 5:
|
|
6353
|
+
message.channel_id = reader.string();
|
|
6354
|
+
break;
|
|
6355
|
+
case 6:
|
|
6350
6356
|
message.channel_label = reader.string();
|
|
6351
6357
|
break;
|
|
6352
6358
|
default:
|
|
@@ -6361,6 +6367,7 @@ var ChannelCreatedEvent = {
|
|
|
6361
6367
|
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
6362
6368
|
category_id: isSet4(object.category_id) ? String(object.category_id) : "",
|
|
6363
6369
|
creator_id: isSet4(object.creator_id) ? String(object.creator_id) : "",
|
|
6370
|
+
parrent_id: isSet4(object.parrent_id) ? String(object.parrent_id) : "",
|
|
6364
6371
|
channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
|
|
6365
6372
|
channel_label: isSet4(object.channel_label) ? String(object.channel_label) : ""
|
|
6366
6373
|
};
|
|
@@ -6370,6 +6377,7 @@ var ChannelCreatedEvent = {
|
|
|
6370
6377
|
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
6371
6378
|
message.category_id !== void 0 && (obj.category_id = message.category_id);
|
|
6372
6379
|
message.creator_id !== void 0 && (obj.creator_id = message.creator_id);
|
|
6380
|
+
message.parrent_id !== void 0 && (obj.parrent_id = message.parrent_id);
|
|
6373
6381
|
message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
|
|
6374
6382
|
message.channel_label !== void 0 && (obj.channel_label = message.channel_label);
|
|
6375
6383
|
return obj;
|
|
@@ -6378,18 +6386,19 @@ var ChannelCreatedEvent = {
|
|
|
6378
6386
|
return ChannelCreatedEvent.fromPartial(base != null ? base : {});
|
|
6379
6387
|
},
|
|
6380
6388
|
fromPartial(object) {
|
|
6381
|
-
var _a, _b, _c, _d, _e;
|
|
6389
|
+
var _a, _b, _c, _d, _e, _f;
|
|
6382
6390
|
const message = createBaseChannelCreatedEvent();
|
|
6383
6391
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
6384
6392
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
6385
6393
|
message.creator_id = (_c = object.creator_id) != null ? _c : "";
|
|
6386
|
-
message.
|
|
6387
|
-
message.
|
|
6394
|
+
message.parrent_id = (_d = object.parrent_id) != null ? _d : "";
|
|
6395
|
+
message.channel_id = (_e = object.channel_id) != null ? _e : "";
|
|
6396
|
+
message.channel_label = (_f = object.channel_label) != null ? _f : "";
|
|
6388
6397
|
return message;
|
|
6389
6398
|
}
|
|
6390
6399
|
};
|
|
6391
6400
|
function createBaseChannelDeletedEvent() {
|
|
6392
|
-
return { clan_id: "", category_id: "", channel_id: "", deletor: "" };
|
|
6401
|
+
return { clan_id: "", category_id: "", parrent_id: "", channel_id: "", deletor: "" };
|
|
6393
6402
|
}
|
|
6394
6403
|
var ChannelDeletedEvent = {
|
|
6395
6404
|
encode(message, writer = import_minimal4.default.Writer.create()) {
|
|
@@ -6399,11 +6408,14 @@ var ChannelDeletedEvent = {
|
|
|
6399
6408
|
if (message.category_id !== "") {
|
|
6400
6409
|
writer.uint32(18).string(message.category_id);
|
|
6401
6410
|
}
|
|
6411
|
+
if (message.parrent_id !== "") {
|
|
6412
|
+
writer.uint32(26).string(message.parrent_id);
|
|
6413
|
+
}
|
|
6402
6414
|
if (message.channel_id !== "") {
|
|
6403
|
-
writer.uint32(
|
|
6415
|
+
writer.uint32(34).string(message.channel_id);
|
|
6404
6416
|
}
|
|
6405
6417
|
if (message.deletor !== "") {
|
|
6406
|
-
writer.uint32(
|
|
6418
|
+
writer.uint32(42).string(message.deletor);
|
|
6407
6419
|
}
|
|
6408
6420
|
return writer;
|
|
6409
6421
|
},
|
|
@@ -6421,9 +6433,12 @@ var ChannelDeletedEvent = {
|
|
|
6421
6433
|
message.category_id = reader.string();
|
|
6422
6434
|
break;
|
|
6423
6435
|
case 3:
|
|
6424
|
-
message.
|
|
6436
|
+
message.parrent_id = reader.string();
|
|
6425
6437
|
break;
|
|
6426
6438
|
case 4:
|
|
6439
|
+
message.channel_id = reader.string();
|
|
6440
|
+
break;
|
|
6441
|
+
case 5:
|
|
6427
6442
|
message.deletor = reader.string();
|
|
6428
6443
|
break;
|
|
6429
6444
|
default:
|
|
@@ -6437,6 +6452,7 @@ var ChannelDeletedEvent = {
|
|
|
6437
6452
|
return {
|
|
6438
6453
|
clan_id: isSet4(object.clan_id) ? String(object.clan_id) : "",
|
|
6439
6454
|
category_id: isSet4(object.category_id) ? String(object.category_id) : "",
|
|
6455
|
+
parrent_id: isSet4(object.parrent_id) ? String(object.parrent_id) : "",
|
|
6440
6456
|
channel_id: isSet4(object.channel_id) ? String(object.channel_id) : "",
|
|
6441
6457
|
deletor: isSet4(object.deletor) ? String(object.deletor) : ""
|
|
6442
6458
|
};
|
|
@@ -6445,6 +6461,7 @@ var ChannelDeletedEvent = {
|
|
|
6445
6461
|
const obj = {};
|
|
6446
6462
|
message.clan_id !== void 0 && (obj.clan_id = message.clan_id);
|
|
6447
6463
|
message.category_id !== void 0 && (obj.category_id = message.category_id);
|
|
6464
|
+
message.parrent_id !== void 0 && (obj.parrent_id = message.parrent_id);
|
|
6448
6465
|
message.channel_id !== void 0 && (obj.channel_id = message.channel_id);
|
|
6449
6466
|
message.deletor !== void 0 && (obj.deletor = message.deletor);
|
|
6450
6467
|
return obj;
|
|
@@ -6453,12 +6470,13 @@ var ChannelDeletedEvent = {
|
|
|
6453
6470
|
return ChannelDeletedEvent.fromPartial(base != null ? base : {});
|
|
6454
6471
|
},
|
|
6455
6472
|
fromPartial(object) {
|
|
6456
|
-
var _a, _b, _c, _d;
|
|
6473
|
+
var _a, _b, _c, _d, _e;
|
|
6457
6474
|
const message = createBaseChannelDeletedEvent();
|
|
6458
6475
|
message.clan_id = (_a = object.clan_id) != null ? _a : "";
|
|
6459
6476
|
message.category_id = (_b = object.category_id) != null ? _b : "";
|
|
6460
|
-
message.
|
|
6461
|
-
message.
|
|
6477
|
+
message.parrent_id = (_c = object.parrent_id) != null ? _c : "";
|
|
6478
|
+
message.channel_id = (_d = object.channel_id) != null ? _d : "";
|
|
6479
|
+
message.deletor = (_e = object.deletor) != null ? _e : "";
|
|
6462
6480
|
return message;
|
|
6463
6481
|
}
|
|
6464
6482
|
};
|
package/package.json
CHANGED
package/rtapi/realtime.ts
CHANGED
|
@@ -818,6 +818,8 @@ export interface ChannelCreatedEvent {
|
|
|
818
818
|
category_id: string;
|
|
819
819
|
/** creator */
|
|
820
820
|
creator_id: string;
|
|
821
|
+
/** parrent id */
|
|
822
|
+
parrent_id: string;
|
|
821
823
|
/** channel id */
|
|
822
824
|
channel_id: string;
|
|
823
825
|
/** channel label */
|
|
@@ -829,6 +831,8 @@ export interface ChannelDeletedEvent {
|
|
|
829
831
|
clan_id: string;
|
|
830
832
|
/** category */
|
|
831
833
|
category_id: string;
|
|
834
|
+
/** parrent id */
|
|
835
|
+
parrent_id: string;
|
|
832
836
|
/** channel id */
|
|
833
837
|
channel_id: string;
|
|
834
838
|
/** deletor */
|
|
@@ -5383,7 +5387,7 @@ export const VoiceJoinedEvent = {
|
|
|
5383
5387
|
};
|
|
5384
5388
|
|
|
5385
5389
|
function createBaseChannelCreatedEvent(): ChannelCreatedEvent {
|
|
5386
|
-
return { clan_id: "", category_id: "", creator_id: "", channel_id: "", channel_label: "" };
|
|
5390
|
+
return { clan_id: "", category_id: "", creator_id: "", parrent_id: "", channel_id: "", channel_label: "" };
|
|
5387
5391
|
}
|
|
5388
5392
|
|
|
5389
5393
|
export const ChannelCreatedEvent = {
|
|
@@ -5397,11 +5401,14 @@ export const ChannelCreatedEvent = {
|
|
|
5397
5401
|
if (message.creator_id !== "") {
|
|
5398
5402
|
writer.uint32(26).string(message.creator_id);
|
|
5399
5403
|
}
|
|
5404
|
+
if (message.parrent_id !== "") {
|
|
5405
|
+
writer.uint32(34).string(message.parrent_id);
|
|
5406
|
+
}
|
|
5400
5407
|
if (message.channel_id !== "") {
|
|
5401
|
-
writer.uint32(
|
|
5408
|
+
writer.uint32(42).string(message.channel_id);
|
|
5402
5409
|
}
|
|
5403
5410
|
if (message.channel_label !== "") {
|
|
5404
|
-
writer.uint32(
|
|
5411
|
+
writer.uint32(50).string(message.channel_label);
|
|
5405
5412
|
}
|
|
5406
5413
|
return writer;
|
|
5407
5414
|
},
|
|
@@ -5423,9 +5430,12 @@ export const ChannelCreatedEvent = {
|
|
|
5423
5430
|
message.creator_id = reader.string();
|
|
5424
5431
|
break;
|
|
5425
5432
|
case 4:
|
|
5426
|
-
message.
|
|
5433
|
+
message.parrent_id = reader.string();
|
|
5427
5434
|
break;
|
|
5428
5435
|
case 5:
|
|
5436
|
+
message.channel_id = reader.string();
|
|
5437
|
+
break;
|
|
5438
|
+
case 6:
|
|
5429
5439
|
message.channel_label = reader.string();
|
|
5430
5440
|
break;
|
|
5431
5441
|
default:
|
|
@@ -5441,6 +5451,7 @@ export const ChannelCreatedEvent = {
|
|
|
5441
5451
|
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
5442
5452
|
category_id: isSet(object.category_id) ? String(object.category_id) : "",
|
|
5443
5453
|
creator_id: isSet(object.creator_id) ? String(object.creator_id) : "",
|
|
5454
|
+
parrent_id: isSet(object.parrent_id) ? String(object.parrent_id) : "",
|
|
5444
5455
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
5445
5456
|
channel_label: isSet(object.channel_label) ? String(object.channel_label) : "",
|
|
5446
5457
|
};
|
|
@@ -5451,6 +5462,7 @@ export const ChannelCreatedEvent = {
|
|
|
5451
5462
|
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
5452
5463
|
message.category_id !== undefined && (obj.category_id = message.category_id);
|
|
5453
5464
|
message.creator_id !== undefined && (obj.creator_id = message.creator_id);
|
|
5465
|
+
message.parrent_id !== undefined && (obj.parrent_id = message.parrent_id);
|
|
5454
5466
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
5455
5467
|
message.channel_label !== undefined && (obj.channel_label = message.channel_label);
|
|
5456
5468
|
return obj;
|
|
@@ -5465,6 +5477,7 @@ export const ChannelCreatedEvent = {
|
|
|
5465
5477
|
message.clan_id = object.clan_id ?? "";
|
|
5466
5478
|
message.category_id = object.category_id ?? "";
|
|
5467
5479
|
message.creator_id = object.creator_id ?? "";
|
|
5480
|
+
message.parrent_id = object.parrent_id ?? "";
|
|
5468
5481
|
message.channel_id = object.channel_id ?? "";
|
|
5469
5482
|
message.channel_label = object.channel_label ?? "";
|
|
5470
5483
|
return message;
|
|
@@ -5472,7 +5485,7 @@ export const ChannelCreatedEvent = {
|
|
|
5472
5485
|
};
|
|
5473
5486
|
|
|
5474
5487
|
function createBaseChannelDeletedEvent(): ChannelDeletedEvent {
|
|
5475
|
-
return { clan_id: "", category_id: "", channel_id: "", deletor: "" };
|
|
5488
|
+
return { clan_id: "", category_id: "", parrent_id: "", channel_id: "", deletor: "" };
|
|
5476
5489
|
}
|
|
5477
5490
|
|
|
5478
5491
|
export const ChannelDeletedEvent = {
|
|
@@ -5483,11 +5496,14 @@ export const ChannelDeletedEvent = {
|
|
|
5483
5496
|
if (message.category_id !== "") {
|
|
5484
5497
|
writer.uint32(18).string(message.category_id);
|
|
5485
5498
|
}
|
|
5499
|
+
if (message.parrent_id !== "") {
|
|
5500
|
+
writer.uint32(26).string(message.parrent_id);
|
|
5501
|
+
}
|
|
5486
5502
|
if (message.channel_id !== "") {
|
|
5487
|
-
writer.uint32(
|
|
5503
|
+
writer.uint32(34).string(message.channel_id);
|
|
5488
5504
|
}
|
|
5489
5505
|
if (message.deletor !== "") {
|
|
5490
|
-
writer.uint32(
|
|
5506
|
+
writer.uint32(42).string(message.deletor);
|
|
5491
5507
|
}
|
|
5492
5508
|
return writer;
|
|
5493
5509
|
},
|
|
@@ -5506,9 +5522,12 @@ export const ChannelDeletedEvent = {
|
|
|
5506
5522
|
message.category_id = reader.string();
|
|
5507
5523
|
break;
|
|
5508
5524
|
case 3:
|
|
5509
|
-
message.
|
|
5525
|
+
message.parrent_id = reader.string();
|
|
5510
5526
|
break;
|
|
5511
5527
|
case 4:
|
|
5528
|
+
message.channel_id = reader.string();
|
|
5529
|
+
break;
|
|
5530
|
+
case 5:
|
|
5512
5531
|
message.deletor = reader.string();
|
|
5513
5532
|
break;
|
|
5514
5533
|
default:
|
|
@@ -5523,6 +5542,7 @@ export const ChannelDeletedEvent = {
|
|
|
5523
5542
|
return {
|
|
5524
5543
|
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
5525
5544
|
category_id: isSet(object.category_id) ? String(object.category_id) : "",
|
|
5545
|
+
parrent_id: isSet(object.parrent_id) ? String(object.parrent_id) : "",
|
|
5526
5546
|
channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
|
|
5527
5547
|
deletor: isSet(object.deletor) ? String(object.deletor) : "",
|
|
5528
5548
|
};
|
|
@@ -5532,6 +5552,7 @@ export const ChannelDeletedEvent = {
|
|
|
5532
5552
|
const obj: any = {};
|
|
5533
5553
|
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
5534
5554
|
message.category_id !== undefined && (obj.category_id = message.category_id);
|
|
5555
|
+
message.parrent_id !== undefined && (obj.parrent_id = message.parrent_id);
|
|
5535
5556
|
message.channel_id !== undefined && (obj.channel_id = message.channel_id);
|
|
5536
5557
|
message.deletor !== undefined && (obj.deletor = message.deletor);
|
|
5537
5558
|
return obj;
|
|
@@ -5545,6 +5566,7 @@ export const ChannelDeletedEvent = {
|
|
|
5545
5566
|
const message = createBaseChannelDeletedEvent();
|
|
5546
5567
|
message.clan_id = object.clan_id ?? "";
|
|
5547
5568
|
message.category_id = object.category_id ?? "";
|
|
5569
|
+
message.parrent_id = object.parrent_id ?? "";
|
|
5548
5570
|
message.channel_id = object.channel_id ?? "";
|
|
5549
5571
|
message.deletor = object.deletor ?? "";
|
|
5550
5572
|
return message;
|