mezon-js-protobuf 1.4.50 → 1.4.51
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/README.md +4 -4
- package/api/api.ts +284 -0
- package/dist/mezon-js-protobuf/api/api.d.ts +106 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Mezon JavaScript Protobuf adapter
|
|
2
2
|
========================
|
|
3
3
|
|
|
4
|
-
> Websocket adapter adding protocol buffer support to the [mezon-js](https://www.npmjs.com/package
|
|
4
|
+
> Websocket adapter adding protocol buffer support to the [mezon-js](https://www.npmjs.com/package/mezon-js) client.
|
|
5
5
|
|
|
6
6
|
[Mezon](https://github.com/heroiclabs/mezon) is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much [more](https://mezon.vn).
|
|
7
7
|
|
|
@@ -11,14 +11,14 @@ Mezon JavaScript Protobuf adapter
|
|
|
11
11
|
1. Import the adapter into your project:
|
|
12
12
|
|
|
13
13
|
```shell
|
|
14
|
-
yarn add "
|
|
14
|
+
yarn add "mezon-js-protobuf"
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
2. Pass the Protobuf adapter to build the socket object.
|
|
18
18
|
|
|
19
19
|
```js
|
|
20
|
-
import {Client} from "
|
|
21
|
-
import {WebSocketAdapterPb} from "
|
|
20
|
+
import {Client} from "mezon-js";
|
|
21
|
+
import {WebSocketAdapterPb} from "mezon-js-protobuf"
|
|
22
22
|
|
|
23
23
|
const useSSL = false; // Enable if server is run with an SSL certificate.
|
|
24
24
|
const client = new Client("defaultkey", "127.0.0.1", 7350, useSSL);
|
package/api/api.ts
CHANGED
|
@@ -2484,6 +2484,28 @@ export interface RegistrationEmailRequest_VarsEntry {
|
|
|
2484
2484
|
value: string;
|
|
2485
2485
|
}
|
|
2486
2486
|
|
|
2487
|
+
export interface ClanEmojiCreateRequest {
|
|
2488
|
+
clan_id: string;
|
|
2489
|
+
source: string;
|
|
2490
|
+
shortname: string;
|
|
2491
|
+
category: string;
|
|
2492
|
+
}
|
|
2493
|
+
|
|
2494
|
+
export interface ClanEmojiGetByClanIdRequest {
|
|
2495
|
+
clan_id: string;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
export interface ClanEmojiDeleteRequest {
|
|
2499
|
+
id: string;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
export interface ClanEmojiUpdateRequest {
|
|
2503
|
+
id: string;
|
|
2504
|
+
source: string;
|
|
2505
|
+
shortname: string;
|
|
2506
|
+
category: string;
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2487
2509
|
function createBaseAccount(): Account {
|
|
2488
2510
|
return {
|
|
2489
2511
|
user: undefined,
|
|
@@ -17959,6 +17981,268 @@ export const RegistrationEmailRequest_VarsEntry = {
|
|
|
17959
17981
|
},
|
|
17960
17982
|
};
|
|
17961
17983
|
|
|
17984
|
+
function createBaseClanEmojiCreateRequest(): ClanEmojiCreateRequest {
|
|
17985
|
+
return { clan_id: "", source: "", shortname: "", category: "" };
|
|
17986
|
+
}
|
|
17987
|
+
|
|
17988
|
+
export const ClanEmojiCreateRequest = {
|
|
17989
|
+
encode(message: ClanEmojiCreateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
17990
|
+
if (message.clan_id !== "") {
|
|
17991
|
+
writer.uint32(10).string(message.clan_id);
|
|
17992
|
+
}
|
|
17993
|
+
if (message.source !== "") {
|
|
17994
|
+
writer.uint32(18).string(message.source);
|
|
17995
|
+
}
|
|
17996
|
+
if (message.shortname !== "") {
|
|
17997
|
+
writer.uint32(26).string(message.shortname);
|
|
17998
|
+
}
|
|
17999
|
+
if (message.category !== "") {
|
|
18000
|
+
writer.uint32(34).string(message.category);
|
|
18001
|
+
}
|
|
18002
|
+
return writer;
|
|
18003
|
+
},
|
|
18004
|
+
|
|
18005
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiCreateRequest {
|
|
18006
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
18007
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
18008
|
+
const message = createBaseClanEmojiCreateRequest();
|
|
18009
|
+
while (reader.pos < end) {
|
|
18010
|
+
const tag = reader.uint32();
|
|
18011
|
+
switch (tag >>> 3) {
|
|
18012
|
+
case 1:
|
|
18013
|
+
message.clan_id = reader.string();
|
|
18014
|
+
break;
|
|
18015
|
+
case 2:
|
|
18016
|
+
message.source = reader.string();
|
|
18017
|
+
break;
|
|
18018
|
+
case 3:
|
|
18019
|
+
message.shortname = reader.string();
|
|
18020
|
+
break;
|
|
18021
|
+
case 4:
|
|
18022
|
+
message.category = reader.string();
|
|
18023
|
+
break;
|
|
18024
|
+
default:
|
|
18025
|
+
reader.skipType(tag & 7);
|
|
18026
|
+
break;
|
|
18027
|
+
}
|
|
18028
|
+
}
|
|
18029
|
+
return message;
|
|
18030
|
+
},
|
|
18031
|
+
|
|
18032
|
+
fromJSON(object: any): ClanEmojiCreateRequest {
|
|
18033
|
+
return {
|
|
18034
|
+
clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
|
|
18035
|
+
source: isSet(object.source) ? String(object.source) : "",
|
|
18036
|
+
shortname: isSet(object.shortname) ? String(object.shortname) : "",
|
|
18037
|
+
category: isSet(object.category) ? String(object.category) : "",
|
|
18038
|
+
};
|
|
18039
|
+
},
|
|
18040
|
+
|
|
18041
|
+
toJSON(message: ClanEmojiCreateRequest): unknown {
|
|
18042
|
+
const obj: any = {};
|
|
18043
|
+
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
18044
|
+
message.source !== undefined && (obj.source = message.source);
|
|
18045
|
+
message.shortname !== undefined && (obj.shortname = message.shortname);
|
|
18046
|
+
message.category !== undefined && (obj.category = message.category);
|
|
18047
|
+
return obj;
|
|
18048
|
+
},
|
|
18049
|
+
|
|
18050
|
+
create<I extends Exact<DeepPartial<ClanEmojiCreateRequest>, I>>(base?: I): ClanEmojiCreateRequest {
|
|
18051
|
+
return ClanEmojiCreateRequest.fromPartial(base ?? {});
|
|
18052
|
+
},
|
|
18053
|
+
|
|
18054
|
+
fromPartial<I extends Exact<DeepPartial<ClanEmojiCreateRequest>, I>>(object: I): ClanEmojiCreateRequest {
|
|
18055
|
+
const message = createBaseClanEmojiCreateRequest();
|
|
18056
|
+
message.clan_id = object.clan_id ?? "";
|
|
18057
|
+
message.source = object.source ?? "";
|
|
18058
|
+
message.shortname = object.shortname ?? "";
|
|
18059
|
+
message.category = object.category ?? "";
|
|
18060
|
+
return message;
|
|
18061
|
+
},
|
|
18062
|
+
};
|
|
18063
|
+
|
|
18064
|
+
function createBaseClanEmojiGetByClanIdRequest(): ClanEmojiGetByClanIdRequest {
|
|
18065
|
+
return { clan_id: "" };
|
|
18066
|
+
}
|
|
18067
|
+
|
|
18068
|
+
export const ClanEmojiGetByClanIdRequest = {
|
|
18069
|
+
encode(message: ClanEmojiGetByClanIdRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
18070
|
+
if (message.clan_id !== "") {
|
|
18071
|
+
writer.uint32(10).string(message.clan_id);
|
|
18072
|
+
}
|
|
18073
|
+
return writer;
|
|
18074
|
+
},
|
|
18075
|
+
|
|
18076
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiGetByClanIdRequest {
|
|
18077
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
18078
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
18079
|
+
const message = createBaseClanEmojiGetByClanIdRequest();
|
|
18080
|
+
while (reader.pos < end) {
|
|
18081
|
+
const tag = reader.uint32();
|
|
18082
|
+
switch (tag >>> 3) {
|
|
18083
|
+
case 1:
|
|
18084
|
+
message.clan_id = reader.string();
|
|
18085
|
+
break;
|
|
18086
|
+
default:
|
|
18087
|
+
reader.skipType(tag & 7);
|
|
18088
|
+
break;
|
|
18089
|
+
}
|
|
18090
|
+
}
|
|
18091
|
+
return message;
|
|
18092
|
+
},
|
|
18093
|
+
|
|
18094
|
+
fromJSON(object: any): ClanEmojiGetByClanIdRequest {
|
|
18095
|
+
return { clan_id: isSet(object.clan_id) ? String(object.clan_id) : "" };
|
|
18096
|
+
},
|
|
18097
|
+
|
|
18098
|
+
toJSON(message: ClanEmojiGetByClanIdRequest): unknown {
|
|
18099
|
+
const obj: any = {};
|
|
18100
|
+
message.clan_id !== undefined && (obj.clan_id = message.clan_id);
|
|
18101
|
+
return obj;
|
|
18102
|
+
},
|
|
18103
|
+
|
|
18104
|
+
create<I extends Exact<DeepPartial<ClanEmojiGetByClanIdRequest>, I>>(base?: I): ClanEmojiGetByClanIdRequest {
|
|
18105
|
+
return ClanEmojiGetByClanIdRequest.fromPartial(base ?? {});
|
|
18106
|
+
},
|
|
18107
|
+
|
|
18108
|
+
fromPartial<I extends Exact<DeepPartial<ClanEmojiGetByClanIdRequest>, I>>(object: I): ClanEmojiGetByClanIdRequest {
|
|
18109
|
+
const message = createBaseClanEmojiGetByClanIdRequest();
|
|
18110
|
+
message.clan_id = object.clan_id ?? "";
|
|
18111
|
+
return message;
|
|
18112
|
+
},
|
|
18113
|
+
};
|
|
18114
|
+
|
|
18115
|
+
function createBaseClanEmojiDeleteRequest(): ClanEmojiDeleteRequest {
|
|
18116
|
+
return { id: "" };
|
|
18117
|
+
}
|
|
18118
|
+
|
|
18119
|
+
export const ClanEmojiDeleteRequest = {
|
|
18120
|
+
encode(message: ClanEmojiDeleteRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
18121
|
+
if (message.id !== "") {
|
|
18122
|
+
writer.uint32(10).string(message.id);
|
|
18123
|
+
}
|
|
18124
|
+
return writer;
|
|
18125
|
+
},
|
|
18126
|
+
|
|
18127
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiDeleteRequest {
|
|
18128
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
18129
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
18130
|
+
const message = createBaseClanEmojiDeleteRequest();
|
|
18131
|
+
while (reader.pos < end) {
|
|
18132
|
+
const tag = reader.uint32();
|
|
18133
|
+
switch (tag >>> 3) {
|
|
18134
|
+
case 1:
|
|
18135
|
+
message.id = reader.string();
|
|
18136
|
+
break;
|
|
18137
|
+
default:
|
|
18138
|
+
reader.skipType(tag & 7);
|
|
18139
|
+
break;
|
|
18140
|
+
}
|
|
18141
|
+
}
|
|
18142
|
+
return message;
|
|
18143
|
+
},
|
|
18144
|
+
|
|
18145
|
+
fromJSON(object: any): ClanEmojiDeleteRequest {
|
|
18146
|
+
return { id: isSet(object.id) ? String(object.id) : "" };
|
|
18147
|
+
},
|
|
18148
|
+
|
|
18149
|
+
toJSON(message: ClanEmojiDeleteRequest): unknown {
|
|
18150
|
+
const obj: any = {};
|
|
18151
|
+
message.id !== undefined && (obj.id = message.id);
|
|
18152
|
+
return obj;
|
|
18153
|
+
},
|
|
18154
|
+
|
|
18155
|
+
create<I extends Exact<DeepPartial<ClanEmojiDeleteRequest>, I>>(base?: I): ClanEmojiDeleteRequest {
|
|
18156
|
+
return ClanEmojiDeleteRequest.fromPartial(base ?? {});
|
|
18157
|
+
},
|
|
18158
|
+
|
|
18159
|
+
fromPartial<I extends Exact<DeepPartial<ClanEmojiDeleteRequest>, I>>(object: I): ClanEmojiDeleteRequest {
|
|
18160
|
+
const message = createBaseClanEmojiDeleteRequest();
|
|
18161
|
+
message.id = object.id ?? "";
|
|
18162
|
+
return message;
|
|
18163
|
+
},
|
|
18164
|
+
};
|
|
18165
|
+
|
|
18166
|
+
function createBaseClanEmojiUpdateRequest(): ClanEmojiUpdateRequest {
|
|
18167
|
+
return { id: "", source: "", shortname: "", category: "" };
|
|
18168
|
+
}
|
|
18169
|
+
|
|
18170
|
+
export const ClanEmojiUpdateRequest = {
|
|
18171
|
+
encode(message: ClanEmojiUpdateRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
18172
|
+
if (message.id !== "") {
|
|
18173
|
+
writer.uint32(10).string(message.id);
|
|
18174
|
+
}
|
|
18175
|
+
if (message.source !== "") {
|
|
18176
|
+
writer.uint32(18).string(message.source);
|
|
18177
|
+
}
|
|
18178
|
+
if (message.shortname !== "") {
|
|
18179
|
+
writer.uint32(26).string(message.shortname);
|
|
18180
|
+
}
|
|
18181
|
+
if (message.category !== "") {
|
|
18182
|
+
writer.uint32(34).string(message.category);
|
|
18183
|
+
}
|
|
18184
|
+
return writer;
|
|
18185
|
+
},
|
|
18186
|
+
|
|
18187
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiUpdateRequest {
|
|
18188
|
+
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
|
|
18189
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
18190
|
+
const message = createBaseClanEmojiUpdateRequest();
|
|
18191
|
+
while (reader.pos < end) {
|
|
18192
|
+
const tag = reader.uint32();
|
|
18193
|
+
switch (tag >>> 3) {
|
|
18194
|
+
case 1:
|
|
18195
|
+
message.id = reader.string();
|
|
18196
|
+
break;
|
|
18197
|
+
case 2:
|
|
18198
|
+
message.source = reader.string();
|
|
18199
|
+
break;
|
|
18200
|
+
case 3:
|
|
18201
|
+
message.shortname = reader.string();
|
|
18202
|
+
break;
|
|
18203
|
+
case 4:
|
|
18204
|
+
message.category = reader.string();
|
|
18205
|
+
break;
|
|
18206
|
+
default:
|
|
18207
|
+
reader.skipType(tag & 7);
|
|
18208
|
+
break;
|
|
18209
|
+
}
|
|
18210
|
+
}
|
|
18211
|
+
return message;
|
|
18212
|
+
},
|
|
18213
|
+
|
|
18214
|
+
fromJSON(object: any): ClanEmojiUpdateRequest {
|
|
18215
|
+
return {
|
|
18216
|
+
id: isSet(object.id) ? String(object.id) : "",
|
|
18217
|
+
source: isSet(object.source) ? String(object.source) : "",
|
|
18218
|
+
shortname: isSet(object.shortname) ? String(object.shortname) : "",
|
|
18219
|
+
category: isSet(object.category) ? String(object.category) : "",
|
|
18220
|
+
};
|
|
18221
|
+
},
|
|
18222
|
+
|
|
18223
|
+
toJSON(message: ClanEmojiUpdateRequest): unknown {
|
|
18224
|
+
const obj: any = {};
|
|
18225
|
+
message.id !== undefined && (obj.id = message.id);
|
|
18226
|
+
message.source !== undefined && (obj.source = message.source);
|
|
18227
|
+
message.shortname !== undefined && (obj.shortname = message.shortname);
|
|
18228
|
+
message.category !== undefined && (obj.category = message.category);
|
|
18229
|
+
return obj;
|
|
18230
|
+
},
|
|
18231
|
+
|
|
18232
|
+
create<I extends Exact<DeepPartial<ClanEmojiUpdateRequest>, I>>(base?: I): ClanEmojiUpdateRequest {
|
|
18233
|
+
return ClanEmojiUpdateRequest.fromPartial(base ?? {});
|
|
18234
|
+
},
|
|
18235
|
+
|
|
18236
|
+
fromPartial<I extends Exact<DeepPartial<ClanEmojiUpdateRequest>, I>>(object: I): ClanEmojiUpdateRequest {
|
|
18237
|
+
const message = createBaseClanEmojiUpdateRequest();
|
|
18238
|
+
message.id = object.id ?? "";
|
|
18239
|
+
message.source = object.source ?? "";
|
|
18240
|
+
message.shortname = object.shortname ?? "";
|
|
18241
|
+
message.category = object.category ?? "";
|
|
18242
|
+
return message;
|
|
18243
|
+
},
|
|
18244
|
+
};
|
|
18245
|
+
|
|
17962
18246
|
declare var self: any | undefined;
|
|
17963
18247
|
declare var window: any | undefined;
|
|
17964
18248
|
declare var global: any | undefined;
|
|
@@ -1918,6 +1918,24 @@ export interface RegistrationEmailRequest_VarsEntry {
|
|
|
1918
1918
|
key: string;
|
|
1919
1919
|
value: string;
|
|
1920
1920
|
}
|
|
1921
|
+
export interface ClanEmojiCreateRequest {
|
|
1922
|
+
clan_id: string;
|
|
1923
|
+
source: string;
|
|
1924
|
+
shortname: string;
|
|
1925
|
+
category: string;
|
|
1926
|
+
}
|
|
1927
|
+
export interface ClanEmojiGetByClanIdRequest {
|
|
1928
|
+
clan_id: string;
|
|
1929
|
+
}
|
|
1930
|
+
export interface ClanEmojiDeleteRequest {
|
|
1931
|
+
id: string;
|
|
1932
|
+
}
|
|
1933
|
+
export interface ClanEmojiUpdateRequest {
|
|
1934
|
+
id: string;
|
|
1935
|
+
source: string;
|
|
1936
|
+
shortname: string;
|
|
1937
|
+
category: string;
|
|
1938
|
+
}
|
|
1921
1939
|
export declare const Account: {
|
|
1922
1940
|
encode(message: Account, writer?: _m0.Writer): _m0.Writer;
|
|
1923
1941
|
decode(input: _m0.Reader | Uint8Array, length?: number): Account;
|
|
@@ -13000,6 +13018,94 @@ export declare const RegistrationEmailRequest_VarsEntry: {
|
|
|
13000
13018
|
value?: string | undefined;
|
|
13001
13019
|
} & { [K_1 in Exclude<keyof I_1, keyof RegistrationEmailRequest_VarsEntry>]: never; }>(object: I_1): RegistrationEmailRequest_VarsEntry;
|
|
13002
13020
|
};
|
|
13021
|
+
export declare const ClanEmojiCreateRequest: {
|
|
13022
|
+
encode(message: ClanEmojiCreateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13023
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiCreateRequest;
|
|
13024
|
+
fromJSON(object: any): ClanEmojiCreateRequest;
|
|
13025
|
+
toJSON(message: ClanEmojiCreateRequest): unknown;
|
|
13026
|
+
create<I extends {
|
|
13027
|
+
clan_id?: string | undefined;
|
|
13028
|
+
source?: string | undefined;
|
|
13029
|
+
shortname?: string | undefined;
|
|
13030
|
+
category?: string | undefined;
|
|
13031
|
+
} & {
|
|
13032
|
+
clan_id?: string | undefined;
|
|
13033
|
+
source?: string | undefined;
|
|
13034
|
+
shortname?: string | undefined;
|
|
13035
|
+
category?: string | undefined;
|
|
13036
|
+
} & { [K in Exclude<keyof I, keyof ClanEmojiCreateRequest>]: never; }>(base?: I | undefined): ClanEmojiCreateRequest;
|
|
13037
|
+
fromPartial<I_1 extends {
|
|
13038
|
+
clan_id?: string | undefined;
|
|
13039
|
+
source?: string | undefined;
|
|
13040
|
+
shortname?: string | undefined;
|
|
13041
|
+
category?: string | undefined;
|
|
13042
|
+
} & {
|
|
13043
|
+
clan_id?: string | undefined;
|
|
13044
|
+
source?: string | undefined;
|
|
13045
|
+
shortname?: string | undefined;
|
|
13046
|
+
category?: string | undefined;
|
|
13047
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ClanEmojiCreateRequest>]: never; }>(object: I_1): ClanEmojiCreateRequest;
|
|
13048
|
+
};
|
|
13049
|
+
export declare const ClanEmojiGetByClanIdRequest: {
|
|
13050
|
+
encode(message: ClanEmojiGetByClanIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13051
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiGetByClanIdRequest;
|
|
13052
|
+
fromJSON(object: any): ClanEmojiGetByClanIdRequest;
|
|
13053
|
+
toJSON(message: ClanEmojiGetByClanIdRequest): unknown;
|
|
13054
|
+
create<I extends {
|
|
13055
|
+
clan_id?: string | undefined;
|
|
13056
|
+
} & {
|
|
13057
|
+
clan_id?: string | undefined;
|
|
13058
|
+
} & { [K in Exclude<keyof I, "clan_id">]: never; }>(base?: I | undefined): ClanEmojiGetByClanIdRequest;
|
|
13059
|
+
fromPartial<I_1 extends {
|
|
13060
|
+
clan_id?: string | undefined;
|
|
13061
|
+
} & {
|
|
13062
|
+
clan_id?: string | undefined;
|
|
13063
|
+
} & { [K_1 in Exclude<keyof I_1, "clan_id">]: never; }>(object: I_1): ClanEmojiGetByClanIdRequest;
|
|
13064
|
+
};
|
|
13065
|
+
export declare const ClanEmojiDeleteRequest: {
|
|
13066
|
+
encode(message: ClanEmojiDeleteRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13067
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiDeleteRequest;
|
|
13068
|
+
fromJSON(object: any): ClanEmojiDeleteRequest;
|
|
13069
|
+
toJSON(message: ClanEmojiDeleteRequest): unknown;
|
|
13070
|
+
create<I extends {
|
|
13071
|
+
id?: string | undefined;
|
|
13072
|
+
} & {
|
|
13073
|
+
id?: string | undefined;
|
|
13074
|
+
} & { [K in Exclude<keyof I, "id">]: never; }>(base?: I | undefined): ClanEmojiDeleteRequest;
|
|
13075
|
+
fromPartial<I_1 extends {
|
|
13076
|
+
id?: string | undefined;
|
|
13077
|
+
} & {
|
|
13078
|
+
id?: string | undefined;
|
|
13079
|
+
} & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): ClanEmojiDeleteRequest;
|
|
13080
|
+
};
|
|
13081
|
+
export declare const ClanEmojiUpdateRequest: {
|
|
13082
|
+
encode(message: ClanEmojiUpdateRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13083
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ClanEmojiUpdateRequest;
|
|
13084
|
+
fromJSON(object: any): ClanEmojiUpdateRequest;
|
|
13085
|
+
toJSON(message: ClanEmojiUpdateRequest): unknown;
|
|
13086
|
+
create<I extends {
|
|
13087
|
+
id?: string | undefined;
|
|
13088
|
+
source?: string | undefined;
|
|
13089
|
+
shortname?: string | undefined;
|
|
13090
|
+
category?: string | undefined;
|
|
13091
|
+
} & {
|
|
13092
|
+
id?: string | undefined;
|
|
13093
|
+
source?: string | undefined;
|
|
13094
|
+
shortname?: string | undefined;
|
|
13095
|
+
category?: string | undefined;
|
|
13096
|
+
} & { [K in Exclude<keyof I, keyof ClanEmojiUpdateRequest>]: never; }>(base?: I | undefined): ClanEmojiUpdateRequest;
|
|
13097
|
+
fromPartial<I_1 extends {
|
|
13098
|
+
id?: string | undefined;
|
|
13099
|
+
source?: string | undefined;
|
|
13100
|
+
shortname?: string | undefined;
|
|
13101
|
+
category?: string | undefined;
|
|
13102
|
+
} & {
|
|
13103
|
+
id?: string | undefined;
|
|
13104
|
+
source?: string | undefined;
|
|
13105
|
+
shortname?: string | undefined;
|
|
13106
|
+
category?: string | undefined;
|
|
13107
|
+
} & { [K_1 in Exclude<keyof I_1, keyof ClanEmojiUpdateRequest>]: never; }>(object: I_1): ClanEmojiUpdateRequest;
|
|
13108
|
+
};
|
|
13003
13109
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
13004
13110
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
13005
13111
|
[K in keyof T]?: DeepPartial<T[K]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mezon-js-protobuf",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.51",
|
|
4
4
|
"description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
|
|
5
5
|
"main": "dist/mezon-js-protobuf.cjs.js",
|
|
6
6
|
"module": "dist/mezon-js-protobuf.esm.mjs",
|