@latticexyz/services 1.4.1 → 1.5.1
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/bin/ecs-relay +0 -0
- package/bin/ecs-snapshot +0 -0
- package/bin/ecs-stream +0 -0
- package/bin/faucet +0 -0
- package/package.json +4 -10
- package/protobuf/go/ecs-relay/ecs-relay.pb.go +33 -27
- package/protobuf/go/ecs-relay/ecs-relay_grpc.pb.go +71 -1
- package/protobuf/go/ecs-snapshot/ecs-snapshot.pb.go +1 -1
- package/protobuf/go/ecs-snapshot/ecs-snapshot_grpc.pb.go +1 -1
- package/protobuf/go/ecs-stream/ecs-stream.pb.go +1 -1
- package/protobuf/go/ecs-stream/ecs-stream_grpc.pb.go +1 -1
- package/protobuf/go/faucet/faucet.pb.go +292 -127
- package/protobuf/go/faucet/faucet_grpc.pb.go +73 -1
- package/protobuf/ts/ecs-relay/ecs-relay.ts +562 -535
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.ts +500 -545
- package/protobuf/ts/ecs-stream/ecs-stream.ts +215 -279
- package/protobuf/ts/faucet/faucet.ts +785 -701
- package/protobuf/ts/index.ts +4 -0
- package/protobuf/ts/ecs-relay/ecs-relay.client.ts +0 -191
- package/protobuf/ts/ecs-snapshot/ecs-snapshot.client.ts +0 -134
- package/protobuf/ts/ecs-stream/ecs-stream.client.ts +0 -58
- package/protobuf/ts/faucet/faucet.client.ts +0 -136
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @generated by protobuf-ts 2.8.0 with parameter eslint_disable
|
|
3
|
-
// @generated from protobuf file "ecs-relay.proto" (package "ecsrelay", syntax proto3)
|
|
4
|
-
// tslint:disable
|
|
5
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
|
-
import { ECSRelayService } from "./ecs-relay";
|
|
8
|
-
import type { PushManyRequest } from "./ecs-relay";
|
|
9
|
-
import type { PushResponse } from "./ecs-relay";
|
|
10
|
-
import type { PushRequest } from "./ecs-relay";
|
|
11
|
-
import type { Message } from "./ecs-relay";
|
|
12
|
-
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
13
|
-
import type { Subscription } from "./ecs-relay";
|
|
14
|
-
import type { SubscriptionRequest } from "./ecs-relay";
|
|
15
|
-
import type { CountIdentitiesResponse } from "./ecs-relay";
|
|
16
|
-
import type { CountIdentitiesRequest } from "./ecs-relay";
|
|
17
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
18
|
-
import type { Identity } from "./ecs-relay";
|
|
19
|
-
import type { Signature } from "./ecs-relay";
|
|
20
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
21
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
22
|
-
/**
|
|
23
|
-
* The Relay Service definition.
|
|
24
|
-
*
|
|
25
|
-
* @generated from protobuf service ecsrelay.ECSRelayService
|
|
26
|
-
*/
|
|
27
|
-
export interface IECSRelayServiceClient {
|
|
28
|
-
/**
|
|
29
|
-
* @generated from protobuf rpc: Authenticate(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
30
|
-
*/
|
|
31
|
-
authenticate(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity>;
|
|
32
|
-
/**
|
|
33
|
-
* @generated from protobuf rpc: Revoke(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
34
|
-
*/
|
|
35
|
-
revoke(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity>;
|
|
36
|
-
/**
|
|
37
|
-
* @generated from protobuf rpc: Ping(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
38
|
-
*/
|
|
39
|
-
ping(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity>;
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf rpc: CountAuthenticated(ecsrelay.CountIdentitiesRequest) returns (ecsrelay.CountIdentitiesResponse);
|
|
42
|
-
*/
|
|
43
|
-
countAuthenticated(
|
|
44
|
-
input: CountIdentitiesRequest,
|
|
45
|
-
options?: RpcOptions
|
|
46
|
-
): UnaryCall<CountIdentitiesRequest, CountIdentitiesResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* @generated from protobuf rpc: CountConnected(ecsrelay.CountIdentitiesRequest) returns (ecsrelay.CountIdentitiesResponse);
|
|
49
|
-
*/
|
|
50
|
-
countConnected(
|
|
51
|
-
input: CountIdentitiesRequest,
|
|
52
|
-
options?: RpcOptions
|
|
53
|
-
): UnaryCall<CountIdentitiesRequest, CountIdentitiesResponse>;
|
|
54
|
-
/**
|
|
55
|
-
* @generated from protobuf rpc: Subscribe(ecsrelay.SubscriptionRequest) returns (ecsrelay.Subscription);
|
|
56
|
-
*/
|
|
57
|
-
subscribe(input: SubscriptionRequest, options?: RpcOptions): UnaryCall<SubscriptionRequest, Subscription>;
|
|
58
|
-
/**
|
|
59
|
-
* @generated from protobuf rpc: Unsubscribe(ecsrelay.SubscriptionRequest) returns (ecsrelay.Subscription);
|
|
60
|
-
*/
|
|
61
|
-
unsubscribe(input: SubscriptionRequest, options?: RpcOptions): UnaryCall<SubscriptionRequest, Subscription>;
|
|
62
|
-
/**
|
|
63
|
-
* @generated from protobuf rpc: OpenStream(ecsrelay.Signature) returns (stream ecsrelay.Message);
|
|
64
|
-
*/
|
|
65
|
-
openStream(input: Signature, options?: RpcOptions): ServerStreamingCall<Signature, Message>;
|
|
66
|
-
/**
|
|
67
|
-
* Push a single message to be relayed.
|
|
68
|
-
*
|
|
69
|
-
* @generated from protobuf rpc: Push(ecsrelay.PushRequest) returns (ecsrelay.PushResponse);
|
|
70
|
-
*/
|
|
71
|
-
push(input: PushRequest, options?: RpcOptions): UnaryCall<PushRequest, PushResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* Push a series of messages to be relayed.
|
|
74
|
-
*
|
|
75
|
-
* @generated from protobuf rpc: PushMany(ecsrelay.PushManyRequest) returns (ecsrelay.PushResponse);
|
|
76
|
-
*/
|
|
77
|
-
pushMany(input: PushManyRequest, options?: RpcOptions): UnaryCall<PushManyRequest, PushResponse>;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* The Relay Service definition.
|
|
81
|
-
*
|
|
82
|
-
* @generated from protobuf service ecsrelay.ECSRelayService
|
|
83
|
-
*/
|
|
84
|
-
export class ECSRelayServiceClient implements IECSRelayServiceClient, ServiceInfo {
|
|
85
|
-
typeName = ECSRelayService.typeName;
|
|
86
|
-
methods = ECSRelayService.methods;
|
|
87
|
-
options = ECSRelayService.options;
|
|
88
|
-
constructor(private readonly _transport: RpcTransport) {}
|
|
89
|
-
/**
|
|
90
|
-
* @generated from protobuf rpc: Authenticate(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
91
|
-
*/
|
|
92
|
-
authenticate(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity> {
|
|
93
|
-
const method = this.methods[0],
|
|
94
|
-
opt = this._transport.mergeOptions(options);
|
|
95
|
-
return stackIntercept<Signature, Identity>("unary", this._transport, method, opt, input);
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* @generated from protobuf rpc: Revoke(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
99
|
-
*/
|
|
100
|
-
revoke(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity> {
|
|
101
|
-
const method = this.methods[1],
|
|
102
|
-
opt = this._transport.mergeOptions(options);
|
|
103
|
-
return stackIntercept<Signature, Identity>("unary", this._transport, method, opt, input);
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* @generated from protobuf rpc: Ping(ecsrelay.Signature) returns (ecsrelay.Identity);
|
|
107
|
-
*/
|
|
108
|
-
ping(input: Signature, options?: RpcOptions): UnaryCall<Signature, Identity> {
|
|
109
|
-
const method = this.methods[2],
|
|
110
|
-
opt = this._transport.mergeOptions(options);
|
|
111
|
-
return stackIntercept<Signature, Identity>("unary", this._transport, method, opt, input);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* @generated from protobuf rpc: CountAuthenticated(ecsrelay.CountIdentitiesRequest) returns (ecsrelay.CountIdentitiesResponse);
|
|
115
|
-
*/
|
|
116
|
-
countAuthenticated(
|
|
117
|
-
input: CountIdentitiesRequest,
|
|
118
|
-
options?: RpcOptions
|
|
119
|
-
): UnaryCall<CountIdentitiesRequest, CountIdentitiesResponse> {
|
|
120
|
-
const method = this.methods[3],
|
|
121
|
-
opt = this._transport.mergeOptions(options);
|
|
122
|
-
return stackIntercept<CountIdentitiesRequest, CountIdentitiesResponse>(
|
|
123
|
-
"unary",
|
|
124
|
-
this._transport,
|
|
125
|
-
method,
|
|
126
|
-
opt,
|
|
127
|
-
input
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* @generated from protobuf rpc: CountConnected(ecsrelay.CountIdentitiesRequest) returns (ecsrelay.CountIdentitiesResponse);
|
|
132
|
-
*/
|
|
133
|
-
countConnected(
|
|
134
|
-
input: CountIdentitiesRequest,
|
|
135
|
-
options?: RpcOptions
|
|
136
|
-
): UnaryCall<CountIdentitiesRequest, CountIdentitiesResponse> {
|
|
137
|
-
const method = this.methods[4],
|
|
138
|
-
opt = this._transport.mergeOptions(options);
|
|
139
|
-
return stackIntercept<CountIdentitiesRequest, CountIdentitiesResponse>(
|
|
140
|
-
"unary",
|
|
141
|
-
this._transport,
|
|
142
|
-
method,
|
|
143
|
-
opt,
|
|
144
|
-
input
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* @generated from protobuf rpc: Subscribe(ecsrelay.SubscriptionRequest) returns (ecsrelay.Subscription);
|
|
149
|
-
*/
|
|
150
|
-
subscribe(input: SubscriptionRequest, options?: RpcOptions): UnaryCall<SubscriptionRequest, Subscription> {
|
|
151
|
-
const method = this.methods[5],
|
|
152
|
-
opt = this._transport.mergeOptions(options);
|
|
153
|
-
return stackIntercept<SubscriptionRequest, Subscription>("unary", this._transport, method, opt, input);
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* @generated from protobuf rpc: Unsubscribe(ecsrelay.SubscriptionRequest) returns (ecsrelay.Subscription);
|
|
157
|
-
*/
|
|
158
|
-
unsubscribe(input: SubscriptionRequest, options?: RpcOptions): UnaryCall<SubscriptionRequest, Subscription> {
|
|
159
|
-
const method = this.methods[6],
|
|
160
|
-
opt = this._transport.mergeOptions(options);
|
|
161
|
-
return stackIntercept<SubscriptionRequest, Subscription>("unary", this._transport, method, opt, input);
|
|
162
|
-
}
|
|
163
|
-
/**
|
|
164
|
-
* @generated from protobuf rpc: OpenStream(ecsrelay.Signature) returns (stream ecsrelay.Message);
|
|
165
|
-
*/
|
|
166
|
-
openStream(input: Signature, options?: RpcOptions): ServerStreamingCall<Signature, Message> {
|
|
167
|
-
const method = this.methods[7],
|
|
168
|
-
opt = this._transport.mergeOptions(options);
|
|
169
|
-
return stackIntercept<Signature, Message>("serverStreaming", this._transport, method, opt, input);
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Push a single message to be relayed.
|
|
173
|
-
*
|
|
174
|
-
* @generated from protobuf rpc: Push(ecsrelay.PushRequest) returns (ecsrelay.PushResponse);
|
|
175
|
-
*/
|
|
176
|
-
push(input: PushRequest, options?: RpcOptions): UnaryCall<PushRequest, PushResponse> {
|
|
177
|
-
const method = this.methods[8],
|
|
178
|
-
opt = this._transport.mergeOptions(options);
|
|
179
|
-
return stackIntercept<PushRequest, PushResponse>("unary", this._transport, method, opt, input);
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Push a series of messages to be relayed.
|
|
183
|
-
*
|
|
184
|
-
* @generated from protobuf rpc: PushMany(ecsrelay.PushManyRequest) returns (ecsrelay.PushResponse);
|
|
185
|
-
*/
|
|
186
|
-
pushMany(input: PushManyRequest, options?: RpcOptions): UnaryCall<PushManyRequest, PushResponse> {
|
|
187
|
-
const method = this.methods[9],
|
|
188
|
-
opt = this._transport.mergeOptions(options);
|
|
189
|
-
return stackIntercept<PushManyRequest, PushResponse>("unary", this._transport, method, opt, input);
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @generated by protobuf-ts 2.8.1 with parameter eslint_disable
|
|
3
|
-
// @generated from protobuf file "ecs-snapshot.proto" (package "ecssnapshot", syntax proto3)
|
|
4
|
-
// tslint:disable
|
|
5
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
|
-
import { ECSStateSnapshotService } from "./ecs-snapshot";
|
|
8
|
-
import type { Worlds } from "./ecs-snapshot";
|
|
9
|
-
import type { WorldsRequest } from "./ecs-snapshot";
|
|
10
|
-
import type { ECSStateRequestAtBlock } from "./ecs-snapshot";
|
|
11
|
-
import type { ECSStateBlockReply } from "./ecs-snapshot";
|
|
12
|
-
import type { ECSStateBlockRequestLatest } from "./ecs-snapshot";
|
|
13
|
-
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
14
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
15
|
-
import type { ECSStateReply } from "./ecs-snapshot";
|
|
16
|
-
import type { ECSStateRequestLatest } from "./ecs-snapshot";
|
|
17
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
18
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
19
|
-
/**
|
|
20
|
-
* The Snapshot Service definition.
|
|
21
|
-
*
|
|
22
|
-
* @generated from protobuf service ecssnapshot.ECSStateSnapshotService
|
|
23
|
-
*/
|
|
24
|
-
export interface IECSStateSnapshotServiceClient {
|
|
25
|
-
/**
|
|
26
|
-
* Requests the latest ECS state.
|
|
27
|
-
*
|
|
28
|
-
* @generated from protobuf rpc: GetStateLatest(ecssnapshot.ECSStateRequestLatest) returns (ecssnapshot.ECSStateReply);
|
|
29
|
-
*/
|
|
30
|
-
getStateLatest(input: ECSStateRequestLatest, options?: RpcOptions): UnaryCall<ECSStateRequestLatest, ECSStateReply>;
|
|
31
|
-
/**
|
|
32
|
-
* Requests the latest ECS state in stream format, which will chunk the state.
|
|
33
|
-
*
|
|
34
|
-
* @generated from protobuf rpc: GetStateLatestStream(ecssnapshot.ECSStateRequestLatest) returns (stream ecssnapshot.ECSStateReply);
|
|
35
|
-
*/
|
|
36
|
-
getStateLatestStream(
|
|
37
|
-
input: ECSStateRequestLatest,
|
|
38
|
-
options?: RpcOptions
|
|
39
|
-
): ServerStreamingCall<ECSStateRequestLatest, ECSStateReply>;
|
|
40
|
-
/**
|
|
41
|
-
* Requests the latest block number based on the latest ECS state.
|
|
42
|
-
*
|
|
43
|
-
* @generated from protobuf rpc: GetStateBlockLatest(ecssnapshot.ECSStateBlockRequestLatest) returns (ecssnapshot.ECSStateBlockReply);
|
|
44
|
-
*/
|
|
45
|
-
getStateBlockLatest(
|
|
46
|
-
input: ECSStateBlockRequestLatest,
|
|
47
|
-
options?: RpcOptions
|
|
48
|
-
): UnaryCall<ECSStateBlockRequestLatest, ECSStateBlockReply>;
|
|
49
|
-
/**
|
|
50
|
-
* Requests the ECS state at specific block.
|
|
51
|
-
*
|
|
52
|
-
* @generated from protobuf rpc: GetStateAtBlock(ecssnapshot.ECSStateRequestAtBlock) returns (ecssnapshot.ECSStateReply);
|
|
53
|
-
*/
|
|
54
|
-
getStateAtBlock(
|
|
55
|
-
input: ECSStateRequestAtBlock,
|
|
56
|
-
options?: RpcOptions
|
|
57
|
-
): UnaryCall<ECSStateRequestAtBlock, ECSStateReply>;
|
|
58
|
-
/**
|
|
59
|
-
* Requests a list of known worlds based on chain state.
|
|
60
|
-
*
|
|
61
|
-
* @generated from protobuf rpc: GetWorlds(ecssnapshot.WorldsRequest) returns (ecssnapshot.Worlds);
|
|
62
|
-
*/
|
|
63
|
-
getWorlds(input: WorldsRequest, options?: RpcOptions): UnaryCall<WorldsRequest, Worlds>;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* The Snapshot Service definition.
|
|
67
|
-
*
|
|
68
|
-
* @generated from protobuf service ecssnapshot.ECSStateSnapshotService
|
|
69
|
-
*/
|
|
70
|
-
export class ECSStateSnapshotServiceClient implements IECSStateSnapshotServiceClient, ServiceInfo {
|
|
71
|
-
typeName = ECSStateSnapshotService.typeName;
|
|
72
|
-
methods = ECSStateSnapshotService.methods;
|
|
73
|
-
options = ECSStateSnapshotService.options;
|
|
74
|
-
constructor(private readonly _transport: RpcTransport) {}
|
|
75
|
-
/**
|
|
76
|
-
* Requests the latest ECS state.
|
|
77
|
-
*
|
|
78
|
-
* @generated from protobuf rpc: GetStateLatest(ecssnapshot.ECSStateRequestLatest) returns (ecssnapshot.ECSStateReply);
|
|
79
|
-
*/
|
|
80
|
-
getStateLatest(input: ECSStateRequestLatest, options?: RpcOptions): UnaryCall<ECSStateRequestLatest, ECSStateReply> {
|
|
81
|
-
const method = this.methods[0],
|
|
82
|
-
opt = this._transport.mergeOptions(options);
|
|
83
|
-
return stackIntercept<ECSStateRequestLatest, ECSStateReply>("unary", this._transport, method, opt, input);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Requests the latest ECS state in stream format, which will chunk the state.
|
|
87
|
-
*
|
|
88
|
-
* @generated from protobuf rpc: GetStateLatestStream(ecssnapshot.ECSStateRequestLatest) returns (stream ecssnapshot.ECSStateReply);
|
|
89
|
-
*/
|
|
90
|
-
getStateLatestStream(
|
|
91
|
-
input: ECSStateRequestLatest,
|
|
92
|
-
options?: RpcOptions
|
|
93
|
-
): ServerStreamingCall<ECSStateRequestLatest, ECSStateReply> {
|
|
94
|
-
const method = this.methods[1],
|
|
95
|
-
opt = this._transport.mergeOptions(options);
|
|
96
|
-
return stackIntercept<ECSStateRequestLatest, ECSStateReply>("serverStreaming", this._transport, method, opt, input);
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Requests the latest block number based on the latest ECS state.
|
|
100
|
-
*
|
|
101
|
-
* @generated from protobuf rpc: GetStateBlockLatest(ecssnapshot.ECSStateBlockRequestLatest) returns (ecssnapshot.ECSStateBlockReply);
|
|
102
|
-
*/
|
|
103
|
-
getStateBlockLatest(
|
|
104
|
-
input: ECSStateBlockRequestLatest,
|
|
105
|
-
options?: RpcOptions
|
|
106
|
-
): UnaryCall<ECSStateBlockRequestLatest, ECSStateBlockReply> {
|
|
107
|
-
const method = this.methods[2],
|
|
108
|
-
opt = this._transport.mergeOptions(options);
|
|
109
|
-
return stackIntercept<ECSStateBlockRequestLatest, ECSStateBlockReply>("unary", this._transport, method, opt, input);
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* Requests the ECS state at specific block.
|
|
113
|
-
*
|
|
114
|
-
* @generated from protobuf rpc: GetStateAtBlock(ecssnapshot.ECSStateRequestAtBlock) returns (ecssnapshot.ECSStateReply);
|
|
115
|
-
*/
|
|
116
|
-
getStateAtBlock(
|
|
117
|
-
input: ECSStateRequestAtBlock,
|
|
118
|
-
options?: RpcOptions
|
|
119
|
-
): UnaryCall<ECSStateRequestAtBlock, ECSStateReply> {
|
|
120
|
-
const method = this.methods[3],
|
|
121
|
-
opt = this._transport.mergeOptions(options);
|
|
122
|
-
return stackIntercept<ECSStateRequestAtBlock, ECSStateReply>("unary", this._transport, method, opt, input);
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Requests a list of known worlds based on chain state.
|
|
126
|
-
*
|
|
127
|
-
* @generated from protobuf rpc: GetWorlds(ecssnapshot.WorldsRequest) returns (ecssnapshot.Worlds);
|
|
128
|
-
*/
|
|
129
|
-
getWorlds(input: WorldsRequest, options?: RpcOptions): UnaryCall<WorldsRequest, Worlds> {
|
|
130
|
-
const method = this.methods[4],
|
|
131
|
-
opt = this._transport.mergeOptions(options);
|
|
132
|
-
return stackIntercept<WorldsRequest, Worlds>("unary", this._transport, method, opt, input);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @generated by protobuf-ts 2.8.1 with parameter eslint_disable
|
|
3
|
-
// @generated from protobuf file "ecs-stream.proto" (package "ecsstream", syntax proto3)
|
|
4
|
-
// tslint:disable
|
|
5
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
|
-
import { ECSStreamService } from "./ecs-stream";
|
|
8
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import type { ECSStreamBlockBundleReply } from "./ecs-stream";
|
|
10
|
-
import type { ECSStreamBlockBundleRequest } from "./ecs-stream";
|
|
11
|
-
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
12
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
13
|
-
/**
|
|
14
|
-
* The Stream Service definition.
|
|
15
|
-
*
|
|
16
|
-
* @generated from protobuf service ecsstream.ECSStreamService
|
|
17
|
-
*/
|
|
18
|
-
export interface IECSStreamServiceClient {
|
|
19
|
-
/**
|
|
20
|
-
* Opens a cursor to receive the latest ECS events and additional data specified via request.
|
|
21
|
-
*
|
|
22
|
-
* @generated from protobuf rpc: SubscribeToStreamLatest(ecsstream.ECSStreamBlockBundleRequest) returns (stream ecsstream.ECSStreamBlockBundleReply);
|
|
23
|
-
*/
|
|
24
|
-
subscribeToStreamLatest(
|
|
25
|
-
input: ECSStreamBlockBundleRequest,
|
|
26
|
-
options?: RpcOptions
|
|
27
|
-
): ServerStreamingCall<ECSStreamBlockBundleRequest, ECSStreamBlockBundleReply>;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* The Stream Service definition.
|
|
31
|
-
*
|
|
32
|
-
* @generated from protobuf service ecsstream.ECSStreamService
|
|
33
|
-
*/
|
|
34
|
-
export class ECSStreamServiceClient implements IECSStreamServiceClient, ServiceInfo {
|
|
35
|
-
typeName = ECSStreamService.typeName;
|
|
36
|
-
methods = ECSStreamService.methods;
|
|
37
|
-
options = ECSStreamService.options;
|
|
38
|
-
constructor(private readonly _transport: RpcTransport) {}
|
|
39
|
-
/**
|
|
40
|
-
* Opens a cursor to receive the latest ECS events and additional data specified via request.
|
|
41
|
-
*
|
|
42
|
-
* @generated from protobuf rpc: SubscribeToStreamLatest(ecsstream.ECSStreamBlockBundleRequest) returns (stream ecsstream.ECSStreamBlockBundleReply);
|
|
43
|
-
*/
|
|
44
|
-
subscribeToStreamLatest(
|
|
45
|
-
input: ECSStreamBlockBundleRequest,
|
|
46
|
-
options?: RpcOptions
|
|
47
|
-
): ServerStreamingCall<ECSStreamBlockBundleRequest, ECSStreamBlockBundleReply> {
|
|
48
|
-
const method = this.methods[0],
|
|
49
|
-
opt = this._transport.mergeOptions(options);
|
|
50
|
-
return stackIntercept<ECSStreamBlockBundleRequest, ECSStreamBlockBundleReply>(
|
|
51
|
-
"serverStreaming",
|
|
52
|
-
this._transport,
|
|
53
|
-
method,
|
|
54
|
-
opt,
|
|
55
|
-
input
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
// @generated by protobuf-ts 2.8.0 with parameter eslint_disable
|
|
3
|
-
// @generated from protobuf file "faucet.proto" (package "faucet", syntax proto3)
|
|
4
|
-
// tslint:disable
|
|
5
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
7
|
-
import { FaucetService } from "./faucet";
|
|
8
|
-
import type { LinkedAddressForTwitterResponse } from "./faucet";
|
|
9
|
-
import type { LinkedAddressForTwitterRequest } from "./faucet";
|
|
10
|
-
import type { LinkedTwitterForAddressResponse } from "./faucet";
|
|
11
|
-
import type { LinkedTwitterForAddressRequest } from "./faucet";
|
|
12
|
-
import type { GetLinkedTwittersResponse } from "./faucet";
|
|
13
|
-
import type { GetLinkedTwittersRequest } from "./faucet";
|
|
14
|
-
import type { DripVerifyTweetRequest } from "./faucet";
|
|
15
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
16
|
-
import type { DripResponse } from "./faucet";
|
|
17
|
-
import type { DripDevRequest } from "./faucet";
|
|
18
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
19
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
20
|
-
/**
|
|
21
|
-
* The Faucet Service definition.
|
|
22
|
-
*
|
|
23
|
-
* @generated from protobuf service faucet.FaucetService
|
|
24
|
-
*/
|
|
25
|
-
export interface IFaucetServiceClient {
|
|
26
|
-
/**
|
|
27
|
-
* @generated from protobuf rpc: DripDev(faucet.DripDevRequest) returns (faucet.DripResponse);
|
|
28
|
-
*/
|
|
29
|
-
dripDev(input: DripDevRequest, options?: RpcOptions): UnaryCall<DripDevRequest, DripResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* @generated from protobuf rpc: DripVerifyTweet(faucet.DripVerifyTweetRequest) returns (faucet.DripResponse);
|
|
32
|
-
*/
|
|
33
|
-
dripVerifyTweet(input: DripVerifyTweetRequest, options?: RpcOptions): UnaryCall<DripVerifyTweetRequest, DripResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @generated from protobuf rpc: GetLinkedTwitters(faucet.GetLinkedTwittersRequest) returns (faucet.GetLinkedTwittersResponse);
|
|
36
|
-
*/
|
|
37
|
-
getLinkedTwitters(
|
|
38
|
-
input: GetLinkedTwittersRequest,
|
|
39
|
-
options?: RpcOptions
|
|
40
|
-
): UnaryCall<GetLinkedTwittersRequest, GetLinkedTwittersResponse>;
|
|
41
|
-
/**
|
|
42
|
-
* @generated from protobuf rpc: GetLinkedTwitterForAddress(faucet.LinkedTwitterForAddressRequest) returns (faucet.LinkedTwitterForAddressResponse);
|
|
43
|
-
*/
|
|
44
|
-
getLinkedTwitterForAddress(
|
|
45
|
-
input: LinkedTwitterForAddressRequest,
|
|
46
|
-
options?: RpcOptions
|
|
47
|
-
): UnaryCall<LinkedTwitterForAddressRequest, LinkedTwitterForAddressResponse>;
|
|
48
|
-
/**
|
|
49
|
-
* @generated from protobuf rpc: GetLinkedAddressForTwitter(faucet.LinkedAddressForTwitterRequest) returns (faucet.LinkedAddressForTwitterResponse);
|
|
50
|
-
*/
|
|
51
|
-
getLinkedAddressForTwitter(
|
|
52
|
-
input: LinkedAddressForTwitterRequest,
|
|
53
|
-
options?: RpcOptions
|
|
54
|
-
): UnaryCall<LinkedAddressForTwitterRequest, LinkedAddressForTwitterResponse>;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* The Faucet Service definition.
|
|
58
|
-
*
|
|
59
|
-
* @generated from protobuf service faucet.FaucetService
|
|
60
|
-
*/
|
|
61
|
-
export class FaucetServiceClient implements IFaucetServiceClient, ServiceInfo {
|
|
62
|
-
typeName = FaucetService.typeName;
|
|
63
|
-
methods = FaucetService.methods;
|
|
64
|
-
options = FaucetService.options;
|
|
65
|
-
constructor(private readonly _transport: RpcTransport) {}
|
|
66
|
-
/**
|
|
67
|
-
* @generated from protobuf rpc: DripDev(faucet.DripDevRequest) returns (faucet.DripResponse);
|
|
68
|
-
*/
|
|
69
|
-
dripDev(input: DripDevRequest, options?: RpcOptions): UnaryCall<DripDevRequest, DripResponse> {
|
|
70
|
-
const method = this.methods[0],
|
|
71
|
-
opt = this._transport.mergeOptions(options);
|
|
72
|
-
return stackIntercept<DripDevRequest, DripResponse>("unary", this._transport, method, opt, input);
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* @generated from protobuf rpc: DripVerifyTweet(faucet.DripVerifyTweetRequest) returns (faucet.DripResponse);
|
|
76
|
-
*/
|
|
77
|
-
dripVerifyTweet(
|
|
78
|
-
input: DripVerifyTweetRequest,
|
|
79
|
-
options?: RpcOptions
|
|
80
|
-
): UnaryCall<DripVerifyTweetRequest, DripResponse> {
|
|
81
|
-
const method = this.methods[1],
|
|
82
|
-
opt = this._transport.mergeOptions(options);
|
|
83
|
-
return stackIntercept<DripVerifyTweetRequest, DripResponse>("unary", this._transport, method, opt, input);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf rpc: GetLinkedTwitters(faucet.GetLinkedTwittersRequest) returns (faucet.GetLinkedTwittersResponse);
|
|
87
|
-
*/
|
|
88
|
-
getLinkedTwitters(
|
|
89
|
-
input: GetLinkedTwittersRequest,
|
|
90
|
-
options?: RpcOptions
|
|
91
|
-
): UnaryCall<GetLinkedTwittersRequest, GetLinkedTwittersResponse> {
|
|
92
|
-
const method = this.methods[2],
|
|
93
|
-
opt = this._transport.mergeOptions(options);
|
|
94
|
-
return stackIntercept<GetLinkedTwittersRequest, GetLinkedTwittersResponse>(
|
|
95
|
-
"unary",
|
|
96
|
-
this._transport,
|
|
97
|
-
method,
|
|
98
|
-
opt,
|
|
99
|
-
input
|
|
100
|
-
);
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* @generated from protobuf rpc: GetLinkedTwitterForAddress(faucet.LinkedTwitterForAddressRequest) returns (faucet.LinkedTwitterForAddressResponse);
|
|
104
|
-
*/
|
|
105
|
-
getLinkedTwitterForAddress(
|
|
106
|
-
input: LinkedTwitterForAddressRequest,
|
|
107
|
-
options?: RpcOptions
|
|
108
|
-
): UnaryCall<LinkedTwitterForAddressRequest, LinkedTwitterForAddressResponse> {
|
|
109
|
-
const method = this.methods[3],
|
|
110
|
-
opt = this._transport.mergeOptions(options);
|
|
111
|
-
return stackIntercept<LinkedTwitterForAddressRequest, LinkedTwitterForAddressResponse>(
|
|
112
|
-
"unary",
|
|
113
|
-
this._transport,
|
|
114
|
-
method,
|
|
115
|
-
opt,
|
|
116
|
-
input
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* @generated from protobuf rpc: GetLinkedAddressForTwitter(faucet.LinkedAddressForTwitterRequest) returns (faucet.LinkedAddressForTwitterResponse);
|
|
121
|
-
*/
|
|
122
|
-
getLinkedAddressForTwitter(
|
|
123
|
-
input: LinkedAddressForTwitterRequest,
|
|
124
|
-
options?: RpcOptions
|
|
125
|
-
): UnaryCall<LinkedAddressForTwitterRequest, LinkedAddressForTwitterResponse> {
|
|
126
|
-
const method = this.methods[4],
|
|
127
|
-
opt = this._transport.mergeOptions(options);
|
|
128
|
-
return stackIntercept<LinkedAddressForTwitterRequest, LinkedAddressForTwitterResponse>(
|
|
129
|
-
"unary",
|
|
130
|
-
this._transport,
|
|
131
|
-
method,
|
|
132
|
-
opt,
|
|
133
|
-
input
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
}
|