mezon-js-protobuf 1.6.6 → 1.6.7
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
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
|
|
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 */
|
|
@@ -3235,6 +3235,10 @@ export interface ChannelCanvasItem {
|
|
|
3235
3235
|
title: string;
|
|
3236
3236
|
/** is default */
|
|
3237
3237
|
is_default: boolean;
|
|
3238
|
+
/** content */
|
|
3239
|
+
content: string;
|
|
3240
|
+
/** creator */
|
|
3241
|
+
creator_id: string;
|
|
3238
3242
|
}
|
|
3239
3243
|
|
|
3240
3244
|
export interface ChannelCanvasListResponse {
|
|
@@ -30471,7 +30475,7 @@ export const ChannelCanvasListRequest = {
|
|
|
30471
30475
|
};
|
|
30472
30476
|
|
|
30473
30477
|
function createBaseChannelCanvasItem(): ChannelCanvasItem {
|
|
30474
|
-
return { id: "", title: "", is_default: false };
|
|
30478
|
+
return { id: "", title: "", is_default: false, content: "", creator_id: "" };
|
|
30475
30479
|
}
|
|
30476
30480
|
|
|
30477
30481
|
export const ChannelCanvasItem = {
|
|
@@ -30485,6 +30489,12 @@ export const ChannelCanvasItem = {
|
|
|
30485
30489
|
if (message.is_default !== false) {
|
|
30486
30490
|
writer.uint32(24).bool(message.is_default);
|
|
30487
30491
|
}
|
|
30492
|
+
if (message.content !== "") {
|
|
30493
|
+
writer.uint32(34).string(message.content);
|
|
30494
|
+
}
|
|
30495
|
+
if (message.creator_id !== "") {
|
|
30496
|
+
writer.uint32(42).string(message.creator_id);
|
|
30497
|
+
}
|
|
30488
30498
|
return writer;
|
|
30489
30499
|
},
|
|
30490
30500
|
|
|
@@ -30516,6 +30526,20 @@ export const ChannelCanvasItem = {
|
|
|
30516
30526
|
|
|
30517
30527
|
message.is_default = reader.bool();
|
|
30518
30528
|
continue;
|
|
30529
|
+
case 4:
|
|
30530
|
+
if (tag !== 34) {
|
|
30531
|
+
break;
|
|
30532
|
+
}
|
|
30533
|
+
|
|
30534
|
+
message.content = reader.string();
|
|
30535
|
+
continue;
|
|
30536
|
+
case 5:
|
|
30537
|
+
if (tag !== 42) {
|
|
30538
|
+
break;
|
|
30539
|
+
}
|
|
30540
|
+
|
|
30541
|
+
message.creator_id = reader.string();
|
|
30542
|
+
continue;
|
|
30519
30543
|
}
|
|
30520
30544
|
if ((tag & 7) === 4 || tag === 0) {
|
|
30521
30545
|
break;
|
|
@@ -30530,6 +30554,8 @@ export const ChannelCanvasItem = {
|
|
|
30530
30554
|
id: isSet(object.id) ? globalThis.String(object.id) : "",
|
|
30531
30555
|
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
30532
30556
|
is_default: isSet(object.is_default) ? globalThis.Boolean(object.is_default) : false,
|
|
30557
|
+
content: isSet(object.content) ? globalThis.String(object.content) : "",
|
|
30558
|
+
creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
|
|
30533
30559
|
};
|
|
30534
30560
|
},
|
|
30535
30561
|
|
|
@@ -30544,6 +30570,12 @@ export const ChannelCanvasItem = {
|
|
|
30544
30570
|
if (message.is_default !== false) {
|
|
30545
30571
|
obj.is_default = message.is_default;
|
|
30546
30572
|
}
|
|
30573
|
+
if (message.content !== "") {
|
|
30574
|
+
obj.content = message.content;
|
|
30575
|
+
}
|
|
30576
|
+
if (message.creator_id !== "") {
|
|
30577
|
+
obj.creator_id = message.creator_id;
|
|
30578
|
+
}
|
|
30547
30579
|
return obj;
|
|
30548
30580
|
},
|
|
30549
30581
|
|
|
@@ -30555,6 +30587,8 @@ export const ChannelCanvasItem = {
|
|
|
30555
30587
|
message.id = object.id ?? "";
|
|
30556
30588
|
message.title = object.title ?? "";
|
|
30557
30589
|
message.is_default = object.is_default ?? false;
|
|
30590
|
+
message.content = object.content ?? "";
|
|
30591
|
+
message.creator_id = object.creator_id ?? "";
|
|
30558
30592
|
return message;
|
|
30559
30593
|
},
|
|
30560
30594
|
};
|
|
@@ -2573,6 +2573,10 @@ export interface ChannelCanvasItem {
|
|
|
2573
2573
|
title: string;
|
|
2574
2574
|
/** is default */
|
|
2575
2575
|
is_default: boolean;
|
|
2576
|
+
/** content */
|
|
2577
|
+
content: string;
|
|
2578
|
+
/** creator */
|
|
2579
|
+
creator_id: string;
|
|
2576
2580
|
}
|
|
2577
2581
|
export interface ChannelCanvasListResponse {
|
|
2578
2582
|
/** clan id */
|
|
@@ -17574,19 +17578,27 @@ export declare const ChannelCanvasItem: {
|
|
|
17574
17578
|
id?: string | undefined;
|
|
17575
17579
|
title?: string | undefined;
|
|
17576
17580
|
is_default?: boolean | undefined;
|
|
17581
|
+
content?: string | undefined;
|
|
17582
|
+
creator_id?: string | undefined;
|
|
17577
17583
|
} & {
|
|
17578
17584
|
id?: string | undefined;
|
|
17579
17585
|
title?: string | undefined;
|
|
17580
17586
|
is_default?: boolean | undefined;
|
|
17587
|
+
content?: string | undefined;
|
|
17588
|
+
creator_id?: string | undefined;
|
|
17581
17589
|
} & { [K in Exclude<keyof I, keyof ChannelCanvasItem>]: never; }>(base?: I | undefined): ChannelCanvasItem;
|
|
17582
17590
|
fromPartial<I_1 extends {
|
|
17583
17591
|
id?: string | undefined;
|
|
17584
17592
|
title?: string | undefined;
|
|
17585
17593
|
is_default?: boolean | undefined;
|
|
17594
|
+
content?: string | undefined;
|
|
17595
|
+
creator_id?: string | undefined;
|
|
17586
17596
|
} & {
|
|
17587
17597
|
id?: string | undefined;
|
|
17588
17598
|
title?: string | undefined;
|
|
17589
17599
|
is_default?: boolean | undefined;
|
|
17600
|
+
content?: string | undefined;
|
|
17601
|
+
creator_id?: string | undefined;
|
|
17590
17602
|
} & { [K_1 in Exclude<keyof I_1, keyof ChannelCanvasItem>]: never; }>(object: I_1): ChannelCanvasItem;
|
|
17591
17603
|
};
|
|
17592
17604
|
export declare const ChannelCanvasListResponse: {
|
|
@@ -17601,6 +17613,8 @@ export declare const ChannelCanvasListResponse: {
|
|
|
17601
17613
|
id?: string | undefined;
|
|
17602
17614
|
title?: string | undefined;
|
|
17603
17615
|
is_default?: boolean | undefined;
|
|
17616
|
+
content?: string | undefined;
|
|
17617
|
+
creator_id?: string | undefined;
|
|
17604
17618
|
}[] | undefined;
|
|
17605
17619
|
} & {
|
|
17606
17620
|
clan_id?: string | undefined;
|
|
@@ -17609,18 +17623,26 @@ export declare const ChannelCanvasListResponse: {
|
|
|
17609
17623
|
id?: string | undefined;
|
|
17610
17624
|
title?: string | undefined;
|
|
17611
17625
|
is_default?: boolean | undefined;
|
|
17626
|
+
content?: string | undefined;
|
|
17627
|
+
creator_id?: string | undefined;
|
|
17612
17628
|
}[] & ({
|
|
17613
17629
|
id?: string | undefined;
|
|
17614
17630
|
title?: string | undefined;
|
|
17615
17631
|
is_default?: boolean | undefined;
|
|
17632
|
+
content?: string | undefined;
|
|
17633
|
+
creator_id?: string | undefined;
|
|
17616
17634
|
} & {
|
|
17617
17635
|
id?: string | undefined;
|
|
17618
17636
|
title?: string | undefined;
|
|
17619
17637
|
is_default?: boolean | undefined;
|
|
17638
|
+
content?: string | undefined;
|
|
17639
|
+
creator_id?: string | undefined;
|
|
17620
17640
|
} & { [K in Exclude<keyof I["channel_canvases"][number], keyof ChannelCanvasItem>]: never; })[] & { [K_1 in Exclude<keyof I["channel_canvases"], keyof {
|
|
17621
17641
|
id?: string | undefined;
|
|
17622
17642
|
title?: string | undefined;
|
|
17623
17643
|
is_default?: boolean | undefined;
|
|
17644
|
+
content?: string | undefined;
|
|
17645
|
+
creator_id?: string | undefined;
|
|
17624
17646
|
}[]>]: never; }) | undefined;
|
|
17625
17647
|
} & { [K_2 in Exclude<keyof I, keyof ChannelCanvasListResponse>]: never; }>(base?: I | undefined): ChannelCanvasListResponse;
|
|
17626
17648
|
fromPartial<I_1 extends {
|
|
@@ -17630,6 +17652,8 @@ export declare const ChannelCanvasListResponse: {
|
|
|
17630
17652
|
id?: string | undefined;
|
|
17631
17653
|
title?: string | undefined;
|
|
17632
17654
|
is_default?: boolean | undefined;
|
|
17655
|
+
content?: string | undefined;
|
|
17656
|
+
creator_id?: string | undefined;
|
|
17633
17657
|
}[] | undefined;
|
|
17634
17658
|
} & {
|
|
17635
17659
|
clan_id?: string | undefined;
|
|
@@ -17638,18 +17662,26 @@ export declare const ChannelCanvasListResponse: {
|
|
|
17638
17662
|
id?: string | undefined;
|
|
17639
17663
|
title?: string | undefined;
|
|
17640
17664
|
is_default?: boolean | undefined;
|
|
17665
|
+
content?: string | undefined;
|
|
17666
|
+
creator_id?: string | undefined;
|
|
17641
17667
|
}[] & ({
|
|
17642
17668
|
id?: string | undefined;
|
|
17643
17669
|
title?: string | undefined;
|
|
17644
17670
|
is_default?: boolean | undefined;
|
|
17671
|
+
content?: string | undefined;
|
|
17672
|
+
creator_id?: string | undefined;
|
|
17645
17673
|
} & {
|
|
17646
17674
|
id?: string | undefined;
|
|
17647
17675
|
title?: string | undefined;
|
|
17648
17676
|
is_default?: boolean | undefined;
|
|
17677
|
+
content?: string | undefined;
|
|
17678
|
+
creator_id?: string | undefined;
|
|
17649
17679
|
} & { [K_3 in Exclude<keyof I_1["channel_canvases"][number], keyof ChannelCanvasItem>]: never; })[] & { [K_4 in Exclude<keyof I_1["channel_canvases"], keyof {
|
|
17650
17680
|
id?: string | undefined;
|
|
17651
17681
|
title?: string | undefined;
|
|
17652
17682
|
is_default?: boolean | undefined;
|
|
17683
|
+
content?: string | undefined;
|
|
17684
|
+
creator_id?: string | undefined;
|
|
17653
17685
|
}[]>]: never; }) | undefined;
|
|
17654
17686
|
} & { [K_5 in Exclude<keyof I_1, keyof ChannelCanvasListResponse>]: never; }>(object: I_1): ChannelCanvasListResponse;
|
|
17655
17687
|
};
|