mezon-js-protobuf 1.7.14 → 1.7.15
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 +18 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +6 -0
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +268 -146
- package/dist/mezon-js-protobuf.cjs.js +177 -2
- package/dist/mezon-js-protobuf.esm.mjs +177 -2
- package/package.json +1 -1
- package/rtapi/realtime.ts +217 -3
package/api/api.ts
CHANGED
|
@@ -3316,6 +3316,8 @@ export interface EditChannelCanvasRequest {
|
|
|
3316
3316
|
content: string;
|
|
3317
3317
|
/** is default */
|
|
3318
3318
|
is_default: boolean;
|
|
3319
|
+
/** status */
|
|
3320
|
+
status: number;
|
|
3319
3321
|
}
|
|
3320
3322
|
|
|
3321
3323
|
export interface EditChannelCanvasResponse {
|
|
@@ -31505,7 +31507,7 @@ export const MarkAsReadRequest = {
|
|
|
31505
31507
|
};
|
|
31506
31508
|
|
|
31507
31509
|
function createBaseEditChannelCanvasRequest(): EditChannelCanvasRequest {
|
|
31508
|
-
return { id: undefined, channel_id: "", clan_id: "", title: "", content: "", is_default: false };
|
|
31510
|
+
return { id: undefined, channel_id: "", clan_id: "", title: "", content: "", is_default: false, status: 0 };
|
|
31509
31511
|
}
|
|
31510
31512
|
|
|
31511
31513
|
export const EditChannelCanvasRequest = {
|
|
@@ -31528,6 +31530,9 @@ export const EditChannelCanvasRequest = {
|
|
|
31528
31530
|
if (message.is_default !== false) {
|
|
31529
31531
|
writer.uint32(48).bool(message.is_default);
|
|
31530
31532
|
}
|
|
31533
|
+
if (message.status !== 0) {
|
|
31534
|
+
writer.uint32(56).int32(message.status);
|
|
31535
|
+
}
|
|
31531
31536
|
return writer;
|
|
31532
31537
|
},
|
|
31533
31538
|
|
|
@@ -31580,6 +31585,13 @@ export const EditChannelCanvasRequest = {
|
|
|
31580
31585
|
|
|
31581
31586
|
message.is_default = reader.bool();
|
|
31582
31587
|
continue;
|
|
31588
|
+
case 7:
|
|
31589
|
+
if (tag !== 56) {
|
|
31590
|
+
break;
|
|
31591
|
+
}
|
|
31592
|
+
|
|
31593
|
+
message.status = reader.int32();
|
|
31594
|
+
continue;
|
|
31583
31595
|
}
|
|
31584
31596
|
if ((tag & 7) === 4 || tag === 0) {
|
|
31585
31597
|
break;
|
|
@@ -31597,6 +31609,7 @@ export const EditChannelCanvasRequest = {
|
|
|
31597
31609
|
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
31598
31610
|
content: isSet(object.content) ? globalThis.String(object.content) : "",
|
|
31599
31611
|
is_default: isSet(object.is_default) ? globalThis.Boolean(object.is_default) : false,
|
|
31612
|
+
status: isSet(object.status) ? globalThis.Number(object.status) : 0,
|
|
31600
31613
|
};
|
|
31601
31614
|
},
|
|
31602
31615
|
|
|
@@ -31620,6 +31633,9 @@ export const EditChannelCanvasRequest = {
|
|
|
31620
31633
|
if (message.is_default !== false) {
|
|
31621
31634
|
obj.is_default = message.is_default;
|
|
31622
31635
|
}
|
|
31636
|
+
if (message.status !== 0) {
|
|
31637
|
+
obj.status = Math.round(message.status);
|
|
31638
|
+
}
|
|
31623
31639
|
return obj;
|
|
31624
31640
|
},
|
|
31625
31641
|
|
|
@@ -31634,6 +31650,7 @@ export const EditChannelCanvasRequest = {
|
|
|
31634
31650
|
message.title = object.title ?? "";
|
|
31635
31651
|
message.content = object.content ?? "";
|
|
31636
31652
|
message.is_default = object.is_default ?? false;
|
|
31653
|
+
message.status = object.status ?? 0;
|
|
31637
31654
|
return message;
|
|
31638
31655
|
},
|
|
31639
31656
|
};
|
|
@@ -2643,6 +2643,8 @@ export interface EditChannelCanvasRequest {
|
|
|
2643
2643
|
content: string;
|
|
2644
2644
|
/** is default */
|
|
2645
2645
|
is_default: boolean;
|
|
2646
|
+
/** status */
|
|
2647
|
+
status: number;
|
|
2646
2648
|
}
|
|
2647
2649
|
export interface EditChannelCanvasResponse {
|
|
2648
2650
|
/** id */
|
|
@@ -20377,6 +20379,7 @@ export declare const EditChannelCanvasRequest: {
|
|
|
20377
20379
|
title?: string | undefined;
|
|
20378
20380
|
content?: string | undefined;
|
|
20379
20381
|
is_default?: boolean | undefined;
|
|
20382
|
+
status?: number | undefined;
|
|
20380
20383
|
} & {
|
|
20381
20384
|
id?: string | undefined;
|
|
20382
20385
|
channel_id?: string | undefined;
|
|
@@ -20384,6 +20387,7 @@ export declare const EditChannelCanvasRequest: {
|
|
|
20384
20387
|
title?: string | undefined;
|
|
20385
20388
|
content?: string | undefined;
|
|
20386
20389
|
is_default?: boolean | undefined;
|
|
20390
|
+
status?: number | undefined;
|
|
20387
20391
|
} & { [K in Exclude<keyof I, keyof EditChannelCanvasRequest>]: never; }>(base?: I | undefined): EditChannelCanvasRequest;
|
|
20388
20392
|
fromPartial<I_1 extends {
|
|
20389
20393
|
id?: string | undefined;
|
|
@@ -20392,6 +20396,7 @@ export declare const EditChannelCanvasRequest: {
|
|
|
20392
20396
|
title?: string | undefined;
|
|
20393
20397
|
content?: string | undefined;
|
|
20394
20398
|
is_default?: boolean | undefined;
|
|
20399
|
+
status?: number | undefined;
|
|
20395
20400
|
} & {
|
|
20396
20401
|
id?: string | undefined;
|
|
20397
20402
|
channel_id?: string | undefined;
|
|
@@ -20399,6 +20404,7 @@ export declare const EditChannelCanvasRequest: {
|
|
|
20399
20404
|
title?: string | undefined;
|
|
20400
20405
|
content?: string | undefined;
|
|
20401
20406
|
is_default?: boolean | undefined;
|
|
20407
|
+
status?: number | undefined;
|
|
20402
20408
|
} & { [K_1 in Exclude<keyof I_1, keyof EditChannelCanvasRequest>]: never; }>(object: I_1): EditChannelCanvasRequest;
|
|
20403
20409
|
};
|
|
20404
20410
|
export declare const EditChannelCanvasResponse: {
|