mezon-js-protobuf 1.8.88 → 1.8.90
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 +4261 -5695
- package/build.js +1 -1
- package/build.mjs +1 -1
- package/dist/mezon-js/api/api.d.ts +5160 -5160
- package/dist/mezon-js/utils.d.ts +1 -1
- package/dist/mezon-js-protobuf/api/api.d.ts +5160 -5160
- package/dist/mezon-js-protobuf/google/protobuf/struct.d.ts +1 -1
- package/dist/mezon-js-protobuf/google/protobuf/wrappers.d.ts +11 -11
- package/dist/mezon-js-protobuf/rtapi/realtime.d.ts +8644 -8644
- package/dist/mezon-js-protobuf.cjs.js +4073 -4844
- package/dist/mezon-js-protobuf.esm.mjs +4073 -4844
- package/google/protobuf/struct.ts +1 -1
- package/google/protobuf/wrappers.ts +21 -27
- package/package.json +4 -4
- package/rtapi/realtime.ts +1825 -2310
- package/tsconfig.json +1 -4
|
@@ -188,7 +188,7 @@ export declare const ListValue: {
|
|
|
188
188
|
wrap(array: Array<any> | undefined): ListValue;
|
|
189
189
|
unwrap(message: ListValue): Array<any>;
|
|
190
190
|
};
|
|
191
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean |
|
|
191
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
192
192
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
193
193
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
194
194
|
} : Partial<T>;
|
|
@@ -25,7 +25,7 @@ export interface FloatValue {
|
|
|
25
25
|
*/
|
|
26
26
|
export interface Int64Value {
|
|
27
27
|
/** The int64 value. */
|
|
28
|
-
value:
|
|
28
|
+
value: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Wrapper message for `uint64`.
|
|
@@ -34,7 +34,7 @@ export interface Int64Value {
|
|
|
34
34
|
*/
|
|
35
35
|
export interface UInt64Value {
|
|
36
36
|
/** The uint64 value. */
|
|
37
|
-
value:
|
|
37
|
+
value: string;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Wrapper message for `int32`.
|
|
@@ -119,14 +119,14 @@ export declare const Int64Value: {
|
|
|
119
119
|
fromJSON(object: any): Int64Value;
|
|
120
120
|
toJSON(message: Int64Value): unknown;
|
|
121
121
|
create<I extends {
|
|
122
|
-
value?:
|
|
122
|
+
value?: string | undefined;
|
|
123
123
|
} & {
|
|
124
|
-
value?:
|
|
124
|
+
value?: string | undefined;
|
|
125
125
|
} & { [K in Exclude<keyof I, "value">]: never; }>(base?: I | undefined): Int64Value;
|
|
126
126
|
fromPartial<I_1 extends {
|
|
127
|
-
value?:
|
|
127
|
+
value?: string | undefined;
|
|
128
128
|
} & {
|
|
129
|
-
value?:
|
|
129
|
+
value?: string | undefined;
|
|
130
130
|
} & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): Int64Value;
|
|
131
131
|
};
|
|
132
132
|
export declare const UInt64Value: {
|
|
@@ -135,14 +135,14 @@ export declare const UInt64Value: {
|
|
|
135
135
|
fromJSON(object: any): UInt64Value;
|
|
136
136
|
toJSON(message: UInt64Value): unknown;
|
|
137
137
|
create<I extends {
|
|
138
|
-
value?:
|
|
138
|
+
value?: string | undefined;
|
|
139
139
|
} & {
|
|
140
|
-
value?:
|
|
140
|
+
value?: string | undefined;
|
|
141
141
|
} & { [K in Exclude<keyof I, "value">]: never; }>(base?: I | undefined): UInt64Value;
|
|
142
142
|
fromPartial<I_1 extends {
|
|
143
|
-
value?:
|
|
143
|
+
value?: string | undefined;
|
|
144
144
|
} & {
|
|
145
|
-
value?:
|
|
145
|
+
value?: string | undefined;
|
|
146
146
|
} & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): UInt64Value;
|
|
147
147
|
};
|
|
148
148
|
export declare const Int32Value: {
|
|
@@ -225,7 +225,7 @@ export declare const BytesValue: {
|
|
|
225
225
|
value?: Uint8Array | undefined;
|
|
226
226
|
} & { [K_1 in Exclude<keyof I_1, "value">]: never; }>(object: I_1): BytesValue;
|
|
227
227
|
};
|
|
228
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean |
|
|
228
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
229
229
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
230
230
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
231
231
|
} : Partial<T>;
|