@dcl/protocol 1.0.0-6200210039.commit-75f18e8 → 1.0.0-6314457636.commit-a9a962a
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 +1 -11
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +0 -2
- package/out-js/decentraland/sdk/components/animator.gen.js +8 -28
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-ts/decentraland/sdk/components/animator.gen.ts +1 -24
- package/package.json +2 -2
- package/proto/decentraland/sdk/components/animator.proto +1 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js +0 -6
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -115
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -386
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -89
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -250
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -106
- package/out-js/decentraland/bff/comms_service.gen.js +0 -189
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -168
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -949
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -110
- package/out-js/decentraland/bff/topics_service.gen.js +0 -421
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/google/protobuf/empty.gen.d.ts +0 -38
- package/out-js/google/protobuf/empty.gen.js +0 -54
- package/out-js/google/protobuf/empty.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -421
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -273
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -1100
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -478
- package/out-ts/google/protobuf/empty.gen.ts +0 -72
- package/proto/decentraland/bff/authentication_service.proto +0 -39
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -81
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/public/bff-services.proto +0 -16
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ protoc \
|
|
|
16
16
|
--dcl_ts_proto_out="$(pwd)/out-ts" \
|
|
17
17
|
-I="$(pwd)/node_modules/@dcl/protocol/public" \
|
|
18
18
|
-I="$(pwd)/node_modules/@dcl/protocol/proto" \
|
|
19
|
-
"$(pwd)/node_modules/@dcl/protocol/public/
|
|
19
|
+
"$(pwd)/node_modules/@dcl/protocol/public/sdk-components.proto"
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
# Style Guidelines
|
|
@@ -64,16 +64,6 @@ Some guidelines and testing before merge:
|
|
|
64
64
|
Repositories: [kernel](https://github.com/decentraland/kernel/), [js-sdk-toolchain](https://github.com/decentraland/js-sdk-toolchain/) and [scene-runtime](https://github.com/decentraland/scene-runtime/)
|
|
65
65
|
In this case, there is no problem with when each PR is merged. It's recommendable to merge first the rpc server-side (in this case, Kernel), second the `scene-runtime` (and this would require a second update from `kernel`) and last the `js-sdk-toolchain`.
|
|
66
66
|
|
|
67
|
-
## Renderer protocol (RPC)
|
|
68
|
-
|
|
69
|
-
Repositories: [kernel](https://github.com/decentraland/kernel/) and [unity-renderer](https://github.com/decentraland/unity-renderer/)
|
|
70
|
-
|
|
71
|
-
TODO
|
|
72
|
-
|
|
73
|
-
## BFF
|
|
74
|
-
|
|
75
|
-
TODO
|
|
76
|
-
|
|
77
67
|
## Comms
|
|
78
68
|
|
|
79
69
|
TODO
|
|
@@ -14,8 +14,6 @@ export interface PBAnimator {
|
|
|
14
14
|
}
|
|
15
15
|
/** AnimationState indicates the status and configuration of one available animation. */
|
|
16
16
|
export interface PBAnimationState {
|
|
17
|
-
/** the identifier for this animation, to use in scene code */
|
|
18
|
-
name: string;
|
|
19
17
|
/** the animation path in the `files` array of the scene manifest */
|
|
20
18
|
clip: string;
|
|
21
19
|
/** whether this animation is currently playing */
|
|
@@ -69,22 +69,11 @@ var PBAnimator;
|
|
|
69
69
|
PBAnimator.fromPartial = fromPartial;
|
|
70
70
|
})(PBAnimator || (exports.PBAnimator = PBAnimator = {}));
|
|
71
71
|
function createBasePBAnimationState() {
|
|
72
|
-
return {
|
|
73
|
-
name: "",
|
|
74
|
-
clip: "",
|
|
75
|
-
playing: undefined,
|
|
76
|
-
weight: undefined,
|
|
77
|
-
speed: undefined,
|
|
78
|
-
loop: undefined,
|
|
79
|
-
shouldReset: undefined,
|
|
80
|
-
};
|
|
72
|
+
return { clip: "", playing: undefined, weight: undefined, speed: undefined, loop: undefined, shouldReset: undefined };
|
|
81
73
|
}
|
|
82
74
|
var PBAnimationState;
|
|
83
75
|
(function (PBAnimationState) {
|
|
84
76
|
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
85
|
-
if (message.name !== "") {
|
|
86
|
-
writer.uint32(10).string(message.name);
|
|
87
|
-
}
|
|
88
77
|
if (message.clip !== "") {
|
|
89
78
|
writer.uint32(18).string(message.clip);
|
|
90
79
|
}
|
|
@@ -113,12 +102,6 @@ var PBAnimationState;
|
|
|
113
102
|
while (reader.pos < end) {
|
|
114
103
|
const tag = reader.uint32();
|
|
115
104
|
switch (tag >>> 3) {
|
|
116
|
-
case 1:
|
|
117
|
-
if (tag !== 10) {
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
message.name = reader.string();
|
|
121
|
-
continue;
|
|
122
105
|
case 2:
|
|
123
106
|
if (tag !== 18) {
|
|
124
107
|
break;
|
|
@@ -166,7 +149,6 @@ var PBAnimationState;
|
|
|
166
149
|
PBAnimationState.decode = decode;
|
|
167
150
|
function fromJSON(object) {
|
|
168
151
|
return {
|
|
169
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
170
152
|
clip: isSet(object.clip) ? String(object.clip) : "",
|
|
171
153
|
playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
|
|
172
154
|
weight: isSet(object.weight) ? Number(object.weight) : undefined,
|
|
@@ -178,7 +160,6 @@ var PBAnimationState;
|
|
|
178
160
|
PBAnimationState.fromJSON = fromJSON;
|
|
179
161
|
function toJSON(message) {
|
|
180
162
|
const obj = {};
|
|
181
|
-
message.name !== undefined && (obj.name = message.name);
|
|
182
163
|
message.clip !== undefined && (obj.clip = message.clip);
|
|
183
164
|
message.playing !== undefined && (obj.playing = message.playing);
|
|
184
165
|
message.weight !== undefined && (obj.weight = message.weight);
|
|
@@ -193,15 +174,14 @@ var PBAnimationState;
|
|
|
193
174
|
}
|
|
194
175
|
PBAnimationState.create = create;
|
|
195
176
|
function fromPartial(object) {
|
|
196
|
-
var _a, _b, _c, _d, _e, _f
|
|
177
|
+
var _a, _b, _c, _d, _e, _f;
|
|
197
178
|
const message = createBasePBAnimationState();
|
|
198
|
-
message.
|
|
199
|
-
message.
|
|
200
|
-
message.
|
|
201
|
-
message.
|
|
202
|
-
message.
|
|
203
|
-
message.
|
|
204
|
-
message.shouldReset = (_g = object.shouldReset) !== null && _g !== void 0 ? _g : undefined;
|
|
179
|
+
message.clip = (_a = object.clip) !== null && _a !== void 0 ? _a : "";
|
|
180
|
+
message.playing = (_b = object.playing) !== null && _b !== void 0 ? _b : undefined;
|
|
181
|
+
message.weight = (_c = object.weight) !== null && _c !== void 0 ? _c : undefined;
|
|
182
|
+
message.speed = (_d = object.speed) !== null && _d !== void 0 ? _d : undefined;
|
|
183
|
+
message.loop = (_e = object.loop) !== null && _e !== void 0 ? _e : undefined;
|
|
184
|
+
message.shouldReset = (_f = object.shouldReset) !== null && _f !== void 0 ? _f : undefined;
|
|
205
185
|
return message;
|
|
206
186
|
}
|
|
207
187
|
PBAnimationState.fromPartial = fromPartial;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animator.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/animator.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"animator.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/animator.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAuC7D,SAAS,oBAAoB;IAC3B,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AACxB,CAAC;AAED,IAAiB,UAAU,CAsD1B;AAtDD,WAAiB,UAAU;IACzB,SAAgB,MAAM,CAAC,OAAmB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAClF,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,MAAM,EAAE;YAC9B,gBAAgB,CAAC,MAAM,CAAC,CAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAChE;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IALe,iBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpE,MAAM,MAAM,GAAG,KAAK,YAAY,iBAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAA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 export interface PBAnimator {
|
|
|
18
18
|
|
|
19
19
|
/** AnimationState indicates the status and configuration of one available animation. */
|
|
20
20
|
export interface PBAnimationState {
|
|
21
|
-
/** the identifier for this animation, to use in scene code */
|
|
22
|
-
name: string;
|
|
23
21
|
/** the animation path in the `files` array of the scene manifest */
|
|
24
22
|
clip: string;
|
|
25
23
|
/** whether this animation is currently playing */
|
|
@@ -103,22 +101,11 @@ export namespace PBAnimator {
|
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
function createBasePBAnimationState(): PBAnimationState {
|
|
106
|
-
return {
|
|
107
|
-
name: "",
|
|
108
|
-
clip: "",
|
|
109
|
-
playing: undefined,
|
|
110
|
-
weight: undefined,
|
|
111
|
-
speed: undefined,
|
|
112
|
-
loop: undefined,
|
|
113
|
-
shouldReset: undefined,
|
|
114
|
-
};
|
|
104
|
+
return { clip: "", playing: undefined, weight: undefined, speed: undefined, loop: undefined, shouldReset: undefined };
|
|
115
105
|
}
|
|
116
106
|
|
|
117
107
|
export namespace PBAnimationState {
|
|
118
108
|
export function encode(message: PBAnimationState, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
119
|
-
if (message.name !== "") {
|
|
120
|
-
writer.uint32(10).string(message.name);
|
|
121
|
-
}
|
|
122
109
|
if (message.clip !== "") {
|
|
123
110
|
writer.uint32(18).string(message.clip);
|
|
124
111
|
}
|
|
@@ -147,13 +134,6 @@ export namespace PBAnimationState {
|
|
|
147
134
|
while (reader.pos < end) {
|
|
148
135
|
const tag = reader.uint32();
|
|
149
136
|
switch (tag >>> 3) {
|
|
150
|
-
case 1:
|
|
151
|
-
if (tag !== 10) {
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
message.name = reader.string();
|
|
156
|
-
continue;
|
|
157
137
|
case 2:
|
|
158
138
|
if (tag !== 18) {
|
|
159
139
|
break;
|
|
@@ -207,7 +187,6 @@ export namespace PBAnimationState {
|
|
|
207
187
|
|
|
208
188
|
export function fromJSON(object: any): PBAnimationState {
|
|
209
189
|
return {
|
|
210
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
211
190
|
clip: isSet(object.clip) ? String(object.clip) : "",
|
|
212
191
|
playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
|
|
213
192
|
weight: isSet(object.weight) ? Number(object.weight) : undefined,
|
|
@@ -219,7 +198,6 @@ export namespace PBAnimationState {
|
|
|
219
198
|
|
|
220
199
|
export function toJSON(message: PBAnimationState): unknown {
|
|
221
200
|
const obj: any = {};
|
|
222
|
-
message.name !== undefined && (obj.name = message.name);
|
|
223
201
|
message.clip !== undefined && (obj.clip = message.clip);
|
|
224
202
|
message.playing !== undefined && (obj.playing = message.playing);
|
|
225
203
|
message.weight !== undefined && (obj.weight = message.weight);
|
|
@@ -235,7 +213,6 @@ export namespace PBAnimationState {
|
|
|
235
213
|
|
|
236
214
|
export function fromPartial<I extends Exact<DeepPartial<PBAnimationState>, I>>(object: I): PBAnimationState {
|
|
237
215
|
const message = createBasePBAnimationState();
|
|
238
|
-
message.name = object.name ?? "";
|
|
239
216
|
message.clip = object.clip ?? "";
|
|
240
217
|
message.playing = object.playing ?? undefined;
|
|
241
218
|
message.weight = object.weight ?? undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-6314457636.commit-a9a962a",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"out-js",
|
|
30
30
|
"public"
|
|
31
31
|
],
|
|
32
|
-
"commit": "
|
|
32
|
+
"commit": "a9a962adc727481961dad2d379121a912672cae5"
|
|
33
33
|
}
|
|
@@ -16,7 +16,7 @@ message PBAnimator {
|
|
|
16
16
|
|
|
17
17
|
// AnimationState indicates the status and configuration of one available animation.
|
|
18
18
|
message PBAnimationState {
|
|
19
|
-
|
|
19
|
+
reserved 1; // deprecated `name` prop
|
|
20
20
|
string clip = 2; // the animation path in the `files` array of the scene manifest
|
|
21
21
|
optional bool playing = 3; // whether this animation is currently playing
|
|
22
22
|
optional float weight = 4; // the "weight" of this animation (see below, default: 1.0)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const protobufPackage = "v1_0_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bff-services.gen.js","sourceRoot":"","sources":["../out-ts/bff-services.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEP,QAAA,eAAe,GAAG,QAAQ,CAAC"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { Empty } from "../../google/protobuf/empty.gen";
|
|
3
|
-
export declare const protobufPackage = "decentraland.bff";
|
|
4
|
-
export declare enum DisconnectionReason {
|
|
5
|
-
DR_KICKED = 0,
|
|
6
|
-
UNRECOGNIZED = -1
|
|
7
|
-
}
|
|
8
|
-
export declare function disconnectionReasonFromJSON(object: any): DisconnectionReason;
|
|
9
|
-
export declare function disconnectionReasonToJSON(object: DisconnectionReason): string;
|
|
10
|
-
export interface GetChallengeRequest {
|
|
11
|
-
address: string;
|
|
12
|
-
}
|
|
13
|
-
export interface GetChallengeResponse {
|
|
14
|
-
challengeToSign: string;
|
|
15
|
-
alreadyConnected: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface SignedChallenge {
|
|
18
|
-
authChainJson: string;
|
|
19
|
-
}
|
|
20
|
-
export interface WelcomePeerInformation {
|
|
21
|
-
peerId: string;
|
|
22
|
-
/** list of available modules in this BFF */
|
|
23
|
-
availableModules: string[];
|
|
24
|
-
}
|
|
25
|
-
export interface DisconnectionMessage {
|
|
26
|
-
reason: DisconnectionReason;
|
|
27
|
-
}
|
|
28
|
-
export declare namespace GetChallengeRequest {
|
|
29
|
-
function encode(message: GetChallengeRequest, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): GetChallengeRequest;
|
|
31
|
-
function fromJSON(object: any): GetChallengeRequest;
|
|
32
|
-
function toJSON(message: GetChallengeRequest): unknown;
|
|
33
|
-
function create<I extends Exact<DeepPartial<GetChallengeRequest>, I>>(base?: I): GetChallengeRequest;
|
|
34
|
-
function fromPartial<I extends Exact<DeepPartial<GetChallengeRequest>, I>>(object: I): GetChallengeRequest;
|
|
35
|
-
}
|
|
36
|
-
export declare namespace GetChallengeResponse {
|
|
37
|
-
function encode(message: GetChallengeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): GetChallengeResponse;
|
|
39
|
-
function fromJSON(object: any): GetChallengeResponse;
|
|
40
|
-
function toJSON(message: GetChallengeResponse): unknown;
|
|
41
|
-
function create<I extends Exact<DeepPartial<GetChallengeResponse>, I>>(base?: I): GetChallengeResponse;
|
|
42
|
-
function fromPartial<I extends Exact<DeepPartial<GetChallengeResponse>, I>>(object: I): GetChallengeResponse;
|
|
43
|
-
}
|
|
44
|
-
export declare namespace SignedChallenge {
|
|
45
|
-
function encode(message: SignedChallenge, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): SignedChallenge;
|
|
47
|
-
function fromJSON(object: any): SignedChallenge;
|
|
48
|
-
function toJSON(message: SignedChallenge): unknown;
|
|
49
|
-
function create<I extends Exact<DeepPartial<SignedChallenge>, I>>(base?: I): SignedChallenge;
|
|
50
|
-
function fromPartial<I extends Exact<DeepPartial<SignedChallenge>, I>>(object: I): SignedChallenge;
|
|
51
|
-
}
|
|
52
|
-
export declare namespace WelcomePeerInformation {
|
|
53
|
-
function encode(message: WelcomePeerInformation, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): WelcomePeerInformation;
|
|
55
|
-
function fromJSON(object: any): WelcomePeerInformation;
|
|
56
|
-
function toJSON(message: WelcomePeerInformation): unknown;
|
|
57
|
-
function create<I extends Exact<DeepPartial<WelcomePeerInformation>, I>>(base?: I): WelcomePeerInformation;
|
|
58
|
-
function fromPartial<I extends Exact<DeepPartial<WelcomePeerInformation>, I>>(object: I): WelcomePeerInformation;
|
|
59
|
-
}
|
|
60
|
-
export declare namespace DisconnectionMessage {
|
|
61
|
-
function encode(message: DisconnectionMessage, writer?: _m0.Writer): _m0.Writer;
|
|
62
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): DisconnectionMessage;
|
|
63
|
-
function fromJSON(object: any): DisconnectionMessage;
|
|
64
|
-
function toJSON(message: DisconnectionMessage): unknown;
|
|
65
|
-
function create<I extends Exact<DeepPartial<DisconnectionMessage>, I>>(base?: I): DisconnectionMessage;
|
|
66
|
-
function fromPartial<I extends Exact<DeepPartial<DisconnectionMessage>, I>>(object: I): DisconnectionMessage;
|
|
67
|
-
}
|
|
68
|
-
export type BffAuthenticationServiceDefinition = typeof BffAuthenticationServiceDefinition;
|
|
69
|
-
export declare const BffAuthenticationServiceDefinition: {
|
|
70
|
-
readonly name: "BffAuthenticationService";
|
|
71
|
-
readonly fullName: "decentraland.bff.BffAuthenticationService";
|
|
72
|
-
readonly methods: {
|
|
73
|
-
readonly getChallenge: {
|
|
74
|
-
readonly name: "GetChallenge";
|
|
75
|
-
readonly requestType: typeof GetChallengeRequest;
|
|
76
|
-
readonly requestStream: false;
|
|
77
|
-
readonly responseType: typeof GetChallengeResponse;
|
|
78
|
-
readonly responseStream: false;
|
|
79
|
-
readonly options: {};
|
|
80
|
-
};
|
|
81
|
-
readonly authenticate: {
|
|
82
|
-
readonly name: "Authenticate";
|
|
83
|
-
readonly requestType: typeof SignedChallenge;
|
|
84
|
-
readonly requestStream: false;
|
|
85
|
-
readonly responseType: typeof WelcomePeerInformation;
|
|
86
|
-
readonly responseStream: false;
|
|
87
|
-
readonly options: {};
|
|
88
|
-
};
|
|
89
|
-
readonly getDisconnectionMessage: {
|
|
90
|
-
readonly name: "GetDisconnectionMessage";
|
|
91
|
-
readonly requestType: typeof Empty;
|
|
92
|
-
readonly requestStream: false;
|
|
93
|
-
readonly responseType: typeof DisconnectionMessage;
|
|
94
|
-
readonly responseStream: false;
|
|
95
|
-
readonly options: {};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
100
|
-
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 {
|
|
101
|
-
$case: string;
|
|
102
|
-
} ? {
|
|
103
|
-
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
104
|
-
} & {
|
|
105
|
-
$case: T["$case"];
|
|
106
|
-
} : T extends {} ? {
|
|
107
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
108
|
-
} : Partial<T>;
|
|
109
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
110
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
111
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
112
|
-
} & {
|
|
113
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
114
|
-
};
|
|
115
|
-
export {};
|