@nsshunt/stsappframework 3.1.30 → 3.1.32
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/dist/gRPC/ststest/protos/auth_sample.js +3 -0
- package/dist/gRPC/ststest/protos/auth_sample.js.map +1 -0
- package/dist/gRPC/ststest/protos/echo.js +3 -0
- package/dist/gRPC/ststest/protos/echo.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/Echo.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/testing/Request.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/testing/Request.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/testing/Response.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/testing/Response.js.map +1 -0
- package/dist/gRPC/ststest/protos/grpc/testing/TestService.js +4 -0
- package/dist/gRPC/ststest/protos/grpc/testing/TestService.js.map +1 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js +4 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/HelloReply.js.map +1 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js +4 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/HelloRequest.js.map +1 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js +4 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.js.map +1 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld.js +3 -0
- package/dist/gRPC/ststest/protos/hellostreamingworld.js.map +1 -0
- package/dist/gRPC/ststest/protos/helloworld/Greeter.js +4 -0
- package/dist/gRPC/ststest/protos/helloworld/Greeter.js.map +1 -0
- package/dist/gRPC/ststest/protos/helloworld/HelloReply.js +4 -0
- package/dist/gRPC/ststest/protos/helloworld/HelloReply.js.map +1 -0
- package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js +4 -0
- package/dist/gRPC/ststest/protos/helloworld/HelloRequest.js.map +1 -0
- package/dist/gRPC/ststest/protos/helloworld.js +3 -0
- package/dist/gRPC/ststest/protos/helloworld.js.map +1 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js +4 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/KeyValueStore.js.map +1 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/Request.js +4 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/Request.js.map +1 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/Response.js +4 -0
- package/dist/gRPC/ststest/protos/keyvaluestore/Response.js.map +1 -0
- package/dist/gRPC/ststest/protos/keyvaluestore.js +3 -0
- package/dist/gRPC/ststest/protos/keyvaluestore.js.map +1 -0
- package/dist/gRPC/ststest/protos/route_guide.js +3 -0
- package/dist/gRPC/ststest/protos/route_guide.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/Feature.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/Feature.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/Point.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/Point.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/Rectangle.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/Rectangle.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteGuide.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteNote.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteNote.js.map +1 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js +4 -0
- package/dist/gRPC/ststest/protos/routeguide/RouteSummary.js.map +1 -0
- package/dist/gRPC/ststest/src/route_guide_server.js +1 -0
- package/dist/gRPC/ststest/src/route_guide_server.js.map +1 -1
- package/dist/gRPC/ststest/src/route_guide_server2.js +205 -0
- package/dist/gRPC/ststest/src/route_guide_server2.js.map +1 -0
- package/package.json +1 -1
- package/run-grpc-server.sh +1 -1
- package/src/gRPC/ststest/protos/auth_sample.ts +20 -0
- package/src/gRPC/ststest/protos/echo.ts +22 -0
- package/src/gRPC/ststest/protos/grpc/examples/echo/Echo.ts +55 -0
- package/src/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.ts +10 -0
- package/src/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.ts +10 -0
- package/src/gRPC/ststest/protos/grpc/testing/Request.ts +12 -0
- package/src/gRPC/ststest/protos/grpc/testing/Response.ts +12 -0
- package/src/gRPC/ststest/protos/grpc/testing/TestService.ts +27 -0
- package/src/gRPC/ststest/protos/hellostreamingworld/HelloReply.ts +10 -0
- package/src/gRPC/ststest/protos/hellostreamingworld/HelloRequest.ts +12 -0
- package/src/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.ts +23 -0
- package/src/gRPC/ststest/protos/hellostreamingworld.ts +18 -0
- package/src/gRPC/ststest/protos/helloworld/Greeter.ts +35 -0
- package/src/gRPC/ststest/protos/helloworld/HelloReply.ts +10 -0
- package/src/gRPC/ststest/protos/helloworld/HelloRequest.ts +10 -0
- package/src/gRPC/ststest/protos/helloworld.ts +18 -0
- package/src/gRPC/ststest/protos/keyvaluestore/KeyValueStore.ts +23 -0
- package/src/gRPC/ststest/protos/keyvaluestore/Request.ts +10 -0
- package/src/gRPC/ststest/protos/keyvaluestore/Response.ts +10 -0
- package/src/gRPC/ststest/protos/keyvaluestore.ts +18 -0
- package/src/gRPC/ststest/protos/route_guide.ts +21 -0
- package/src/gRPC/ststest/protos/routeguide/Feature.ts +13 -0
- package/src/gRPC/ststest/protos/routeguide/Point.ts +12 -0
- package/src/gRPC/ststest/protos/routeguide/Rectangle.ts +13 -0
- package/src/gRPC/ststest/protos/routeguide/RouteGuide.ts +58 -0
- package/src/gRPC/ststest/protos/routeguide/RouteNote.ts +13 -0
- package/src/gRPC/ststest/protos/routeguide/RouteSummary.ts +16 -0
- package/src/gRPC/ststest/src/route_guide_server.ts +3 -0
- package/src/gRPC/ststest/src/route_guide_server2.ts +211 -0
- package/types/gRPC/ststest/protos/auth_sample.d.ts +19 -0
- package/types/gRPC/ststest/protos/auth_sample.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/echo.d.ts +21 -0
- package/types/gRPC/ststest/protos/echo.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts +43 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/Echo.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts +7 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/EchoRequest.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts +7 -0
- package/types/gRPC/ststest/protos/grpc/examples/echo/EchoResponse.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts +9 -0
- package/types/gRPC/ststest/protos/grpc/testing/Request.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts +9 -0
- package/types/gRPC/ststest/protos/grpc/testing/Response.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts +21 -0
- package/types/gRPC/ststest/protos/grpc/testing/TestService.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts +7 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/HelloReply.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts +9 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/HelloRequest.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts +17 -0
- package/types/gRPC/ststest/protos/hellostreamingworld/MultiGreeter.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/hellostreamingworld.d.ts +17 -0
- package/types/gRPC/ststest/protos/hellostreamingworld.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts +27 -0
- package/types/gRPC/ststest/protos/helloworld/Greeter.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts +7 -0
- package/types/gRPC/ststest/protos/helloworld/HelloReply.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts +7 -0
- package/types/gRPC/ststest/protos/helloworld/HelloRequest.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/helloworld.d.ts +17 -0
- package/types/gRPC/ststest/protos/helloworld.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts +17 -0
- package/types/gRPC/ststest/protos/keyvaluestore/KeyValueStore.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts +7 -0
- package/types/gRPC/ststest/protos/keyvaluestore/Request.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts +7 -0
- package/types/gRPC/ststest/protos/keyvaluestore/Response.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/keyvaluestore.d.ts +17 -0
- package/types/gRPC/ststest/protos/keyvaluestore.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/route_guide.d.ts +20 -0
- package/types/gRPC/ststest/protos/route_guide.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/Feature.d.ts +10 -0
- package/types/gRPC/ststest/protos/routeguide/Feature.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/Point.d.ts +9 -0
- package/types/gRPC/ststest/protos/routeguide/Point.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts +10 -0
- package/types/gRPC/ststest/protos/routeguide/Rectangle.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts +46 -0
- package/types/gRPC/ststest/protos/routeguide/RouteGuide.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts +10 -0
- package/types/gRPC/ststest/protos/routeguide/RouteNote.d.ts.map +1 -0
- package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts +13 -0
- package/types/gRPC/ststest/protos/routeguide/RouteSummary.d.ts.map +1 -0
- package/types/gRPC/ststest/src/route_guide_server2.d.ts +3 -0
- package/types/gRPC/ststest/src/route_guide_server2.d.ts.map +1 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// Original file: protos/echo.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { EchoRequest as _grpc_examples_echo_EchoRequest, EchoRequest__Output as _grpc_examples_echo_EchoRequest__Output } from '../../../grpc/examples/echo/EchoRequest';
|
|
6
|
+
import type { EchoResponse as _grpc_examples_echo_EchoResponse, EchoResponse__Output as _grpc_examples_echo_EchoResponse__Output } from '../../../grpc/examples/echo/EchoResponse';
|
|
7
|
+
|
|
8
|
+
export interface EchoClient extends grpc.Client {
|
|
9
|
+
BidirectionalStreamingEcho(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
|
|
10
|
+
BidirectionalStreamingEcho(options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
|
|
11
|
+
bidirectionalStreamingEcho(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
|
|
12
|
+
bidirectionalStreamingEcho(options?: grpc.CallOptions): grpc.ClientDuplexStream<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse__Output>;
|
|
13
|
+
|
|
14
|
+
ClientStreamingEcho(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
15
|
+
ClientStreamingEcho(metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
16
|
+
ClientStreamingEcho(options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
17
|
+
ClientStreamingEcho(callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
18
|
+
clientStreamingEcho(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
19
|
+
clientStreamingEcho(metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
20
|
+
clientStreamingEcho(options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
21
|
+
clientStreamingEcho(callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientWritableStream<_grpc_examples_echo_EchoRequest>;
|
|
22
|
+
|
|
23
|
+
ServerStreamingEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
|
|
24
|
+
ServerStreamingEcho(argument: _grpc_examples_echo_EchoRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
|
|
25
|
+
serverStreamingEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
|
|
26
|
+
serverStreamingEcho(argument: _grpc_examples_echo_EchoRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_grpc_examples_echo_EchoResponse__Output>;
|
|
27
|
+
|
|
28
|
+
UnaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
29
|
+
UnaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
30
|
+
UnaryEcho(argument: _grpc_examples_echo_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
31
|
+
UnaryEcho(argument: _grpc_examples_echo_EchoRequest, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
32
|
+
unaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
33
|
+
unaryEcho(argument: _grpc_examples_echo_EchoRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
34
|
+
unaryEcho(argument: _grpc_examples_echo_EchoRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
35
|
+
unaryEcho(argument: _grpc_examples_echo_EchoRequest, callback: grpc.requestCallback<_grpc_examples_echo_EchoResponse__Output>): grpc.ClientUnaryCall;
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface EchoHandlers extends grpc.UntypedServiceImplementation {
|
|
40
|
+
BidirectionalStreamingEcho: grpc.handleBidiStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
|
|
41
|
+
|
|
42
|
+
ClientStreamingEcho: grpc.handleClientStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
|
|
43
|
+
|
|
44
|
+
ServerStreamingEcho: grpc.handleServerStreamingCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
|
|
45
|
+
|
|
46
|
+
UnaryEcho: grpc.handleUnaryCall<_grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse>;
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface EchoDefinition extends grpc.ServiceDefinition {
|
|
51
|
+
BidirectionalStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
|
|
52
|
+
ClientStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
|
|
53
|
+
ServerStreamingEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
|
|
54
|
+
UnaryEcho: MethodDefinition<_grpc_examples_echo_EchoRequest, _grpc_examples_echo_EchoResponse, _grpc_examples_echo_EchoRequest__Output, _grpc_examples_echo_EchoResponse__Output>
|
|
55
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Original file: protos/auth_sample.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { Request as _grpc_testing_Request, Request__Output as _grpc_testing_Request__Output } from '../../grpc/testing/Request';
|
|
6
|
+
import type { Response as _grpc_testing_Response, Response__Output as _grpc_testing_Response__Output } from '../../grpc/testing/Response';
|
|
7
|
+
|
|
8
|
+
export interface TestServiceClient extends grpc.Client {
|
|
9
|
+
UnaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
10
|
+
UnaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
11
|
+
UnaryCall(argument: _grpc_testing_Request, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
12
|
+
UnaryCall(argument: _grpc_testing_Request, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
13
|
+
unaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
14
|
+
unaryCall(argument: _grpc_testing_Request, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
15
|
+
unaryCall(argument: _grpc_testing_Request, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
16
|
+
unaryCall(argument: _grpc_testing_Request, callback: grpc.requestCallback<_grpc_testing_Response__Output>): grpc.ClientUnaryCall;
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface TestServiceHandlers extends grpc.UntypedServiceImplementation {
|
|
21
|
+
UnaryCall: grpc.handleUnaryCall<_grpc_testing_Request__Output, _grpc_testing_Response>;
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface TestServiceDefinition extends grpc.ServiceDefinition {
|
|
26
|
+
UnaryCall: MethodDefinition<_grpc_testing_Request, _grpc_testing_Response, _grpc_testing_Request__Output, _grpc_testing_Response__Output>
|
|
27
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Original file: protos/hellostreamingworld.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { HelloReply as _hellostreamingworld_HelloReply, HelloReply__Output as _hellostreamingworld_HelloReply__Output } from '../hellostreamingworld/HelloReply';
|
|
6
|
+
import type { HelloRequest as _hellostreamingworld_HelloRequest, HelloRequest__Output as _hellostreamingworld_HelloRequest__Output } from '../hellostreamingworld/HelloRequest';
|
|
7
|
+
|
|
8
|
+
export interface MultiGreeterClient extends grpc.Client {
|
|
9
|
+
sayHello(argument: _hellostreamingworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
|
|
10
|
+
sayHello(argument: _hellostreamingworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
|
|
11
|
+
sayHello(argument: _hellostreamingworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
|
|
12
|
+
sayHello(argument: _hellostreamingworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_hellostreamingworld_HelloReply__Output>;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface MultiGreeterHandlers extends grpc.UntypedServiceImplementation {
|
|
17
|
+
sayHello: grpc.handleServerStreamingCall<_hellostreamingworld_HelloRequest__Output, _hellostreamingworld_HelloReply>;
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface MultiGreeterDefinition extends grpc.ServiceDefinition {
|
|
22
|
+
sayHello: MethodDefinition<_hellostreamingworld_HelloRequest, _hellostreamingworld_HelloReply, _hellostreamingworld_HelloRequest__Output, _hellostreamingworld_HelloReply__Output>
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
|
|
2
|
+
import type * as grpc from '@grpc/grpc-js';
|
|
3
|
+
import type { MessageTypeDefinition } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
import type { MultiGreeterClient as _hellostreamingworld_MultiGreeterClient, MultiGreeterDefinition as _hellostreamingworld_MultiGreeterDefinition } from './hellostreamingworld/MultiGreeter';
|
|
6
|
+
|
|
7
|
+
type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
|
|
8
|
+
new(...args: ConstructorParameters<Constructor>): Subtype;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export interface ProtoGrpcType {
|
|
12
|
+
hellostreamingworld: {
|
|
13
|
+
HelloReply: MessageTypeDefinition
|
|
14
|
+
HelloRequest: MessageTypeDefinition
|
|
15
|
+
MultiGreeter: SubtypeConstructor<typeof grpc.Client, _hellostreamingworld_MultiGreeterClient> & { service: _hellostreamingworld_MultiGreeterDefinition }
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Original file: protos/helloworld.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { HelloReply as _helloworld_HelloReply, HelloReply__Output as _helloworld_HelloReply__Output } from '../helloworld/HelloReply';
|
|
6
|
+
import type { HelloRequest as _helloworld_HelloRequest, HelloRequest__Output as _helloworld_HelloRequest__Output } from '../helloworld/HelloRequest';
|
|
7
|
+
|
|
8
|
+
export interface GreeterClient extends grpc.Client {
|
|
9
|
+
SayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
10
|
+
SayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
11
|
+
SayHello(argument: _helloworld_HelloRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
12
|
+
SayHello(argument: _helloworld_HelloRequest, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
13
|
+
sayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
14
|
+
sayHello(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
15
|
+
sayHello(argument: _helloworld_HelloRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
16
|
+
sayHello(argument: _helloworld_HelloRequest, callback: grpc.requestCallback<_helloworld_HelloReply__Output>): grpc.ClientUnaryCall;
|
|
17
|
+
|
|
18
|
+
SayHelloStreamReply(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
|
|
19
|
+
SayHelloStreamReply(argument: _helloworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
|
|
20
|
+
sayHelloStreamReply(argument: _helloworld_HelloRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
|
|
21
|
+
sayHelloStreamReply(argument: _helloworld_HelloRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_helloworld_HelloReply__Output>;
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface GreeterHandlers extends grpc.UntypedServiceImplementation {
|
|
26
|
+
SayHello: grpc.handleUnaryCall<_helloworld_HelloRequest__Output, _helloworld_HelloReply>;
|
|
27
|
+
|
|
28
|
+
SayHelloStreamReply: grpc.handleServerStreamingCall<_helloworld_HelloRequest__Output, _helloworld_HelloReply>;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface GreeterDefinition extends grpc.ServiceDefinition {
|
|
33
|
+
SayHello: MethodDefinition<_helloworld_HelloRequest, _helloworld_HelloReply, _helloworld_HelloRequest__Output, _helloworld_HelloReply__Output>
|
|
34
|
+
SayHelloStreamReply: MethodDefinition<_helloworld_HelloRequest, _helloworld_HelloReply, _helloworld_HelloRequest__Output, _helloworld_HelloReply__Output>
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
|
|
2
|
+
import type * as grpc from '@grpc/grpc-js';
|
|
3
|
+
import type { MessageTypeDefinition } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
import type { GreeterClient as _helloworld_GreeterClient, GreeterDefinition as _helloworld_GreeterDefinition } from './helloworld/Greeter';
|
|
6
|
+
|
|
7
|
+
type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
|
|
8
|
+
new(...args: ConstructorParameters<Constructor>): Subtype;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export interface ProtoGrpcType {
|
|
12
|
+
helloworld: {
|
|
13
|
+
Greeter: SubtypeConstructor<typeof grpc.Client, _helloworld_GreeterClient> & { service: _helloworld_GreeterDefinition }
|
|
14
|
+
HelloReply: MessageTypeDefinition
|
|
15
|
+
HelloRequest: MessageTypeDefinition
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Original file: protos/keyvaluestore.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { Request as _keyvaluestore_Request, Request__Output as _keyvaluestore_Request__Output } from '../keyvaluestore/Request';
|
|
6
|
+
import type { Response as _keyvaluestore_Response, Response__Output as _keyvaluestore_Response__Output } from '../keyvaluestore/Response';
|
|
7
|
+
|
|
8
|
+
export interface KeyValueStoreClient extends grpc.Client {
|
|
9
|
+
GetValues(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
|
|
10
|
+
GetValues(options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
|
|
11
|
+
getValues(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
|
|
12
|
+
getValues(options?: grpc.CallOptions): grpc.ClientDuplexStream<_keyvaluestore_Request, _keyvaluestore_Response__Output>;
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface KeyValueStoreHandlers extends grpc.UntypedServiceImplementation {
|
|
17
|
+
GetValues: grpc.handleBidiStreamingCall<_keyvaluestore_Request__Output, _keyvaluestore_Response>;
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface KeyValueStoreDefinition extends grpc.ServiceDefinition {
|
|
22
|
+
GetValues: MethodDefinition<_keyvaluestore_Request, _keyvaluestore_Response, _keyvaluestore_Request__Output, _keyvaluestore_Response__Output>
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
|
|
2
|
+
import type * as grpc from '@grpc/grpc-js';
|
|
3
|
+
import type { MessageTypeDefinition } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
import type { KeyValueStoreClient as _keyvaluestore_KeyValueStoreClient, KeyValueStoreDefinition as _keyvaluestore_KeyValueStoreDefinition } from './keyvaluestore/KeyValueStore';
|
|
6
|
+
|
|
7
|
+
type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
|
|
8
|
+
new(...args: ConstructorParameters<Constructor>): Subtype;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export interface ProtoGrpcType {
|
|
12
|
+
keyvaluestore: {
|
|
13
|
+
KeyValueStore: SubtypeConstructor<typeof grpc.Client, _keyvaluestore_KeyValueStoreClient> & { service: _keyvaluestore_KeyValueStoreDefinition }
|
|
14
|
+
Request: MessageTypeDefinition
|
|
15
|
+
Response: MessageTypeDefinition
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* eslint @typescript-eslint/no-explicit-any: 0 */ // --> OFF
|
|
2
|
+
import type * as grpc from '@grpc/grpc-js';
|
|
3
|
+
import type { MessageTypeDefinition } from '@grpc/proto-loader';
|
|
4
|
+
|
|
5
|
+
import type { RouteGuideClient as _routeguide_RouteGuideClient, RouteGuideDefinition as _routeguide_RouteGuideDefinition } from './routeguide/RouteGuide';
|
|
6
|
+
|
|
7
|
+
type SubtypeConstructor<Constructor extends new (...args: any) => any, Subtype> = {
|
|
8
|
+
new(...args: ConstructorParameters<Constructor>): Subtype;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export interface ProtoGrpcType {
|
|
12
|
+
routeguide: {
|
|
13
|
+
Feature: MessageTypeDefinition
|
|
14
|
+
Point: MessageTypeDefinition
|
|
15
|
+
Rectangle: MessageTypeDefinition
|
|
16
|
+
RouteGuide: SubtypeConstructor<typeof grpc.Client, _routeguide_RouteGuideClient> & { service: _routeguide_RouteGuideDefinition }
|
|
17
|
+
RouteNote: MessageTypeDefinition
|
|
18
|
+
RouteSummary: MessageTypeDefinition
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Original file: protos/route_guide.proto
|
|
2
|
+
|
|
3
|
+
import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
|
|
4
|
+
|
|
5
|
+
export interface Feature {
|
|
6
|
+
'name'?: (string);
|
|
7
|
+
'location'?: (_routeguide_Point | null);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface Feature__Output {
|
|
11
|
+
'name': (string);
|
|
12
|
+
'location': (_routeguide_Point__Output | null);
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Original file: protos/route_guide.proto
|
|
2
|
+
|
|
3
|
+
import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
|
|
4
|
+
|
|
5
|
+
export interface Rectangle {
|
|
6
|
+
'lo'?: (_routeguide_Point | null);
|
|
7
|
+
'hi'?: (_routeguide_Point | null);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface Rectangle__Output {
|
|
11
|
+
'lo': (_routeguide_Point__Output | null);
|
|
12
|
+
'hi': (_routeguide_Point__Output | null);
|
|
13
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Original file: protos/route_guide.proto
|
|
2
|
+
|
|
3
|
+
import type * as grpc from '@grpc/grpc-js'
|
|
4
|
+
import type { MethodDefinition } from '@grpc/proto-loader'
|
|
5
|
+
import type { Feature as _routeguide_Feature, Feature__Output as _routeguide_Feature__Output } from '../routeguide/Feature';
|
|
6
|
+
import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
|
|
7
|
+
import type { Rectangle as _routeguide_Rectangle, Rectangle__Output as _routeguide_Rectangle__Output } from '../routeguide/Rectangle';
|
|
8
|
+
import type { RouteNote as _routeguide_RouteNote, RouteNote__Output as _routeguide_RouteNote__Output } from '../routeguide/RouteNote';
|
|
9
|
+
import type { RouteSummary as _routeguide_RouteSummary, RouteSummary__Output as _routeguide_RouteSummary__Output } from '../routeguide/RouteSummary';
|
|
10
|
+
|
|
11
|
+
export interface RouteGuideClient extends grpc.Client {
|
|
12
|
+
GetFeature(argument: _routeguide_Point, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
13
|
+
GetFeature(argument: _routeguide_Point, metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
14
|
+
GetFeature(argument: _routeguide_Point, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
15
|
+
GetFeature(argument: _routeguide_Point, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
16
|
+
getFeature(argument: _routeguide_Point, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
17
|
+
getFeature(argument: _routeguide_Point, metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
18
|
+
getFeature(argument: _routeguide_Point, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
19
|
+
getFeature(argument: _routeguide_Point, callback: grpc.requestCallback<_routeguide_Feature__Output>): grpc.ClientUnaryCall;
|
|
20
|
+
|
|
21
|
+
ListFeatures(argument: _routeguide_Rectangle, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
|
|
22
|
+
ListFeatures(argument: _routeguide_Rectangle, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
|
|
23
|
+
listFeatures(argument: _routeguide_Rectangle, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
|
|
24
|
+
listFeatures(argument: _routeguide_Rectangle, options?: grpc.CallOptions): grpc.ClientReadableStream<_routeguide_Feature__Output>;
|
|
25
|
+
|
|
26
|
+
RecordRoute(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
27
|
+
RecordRoute(metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
28
|
+
RecordRoute(options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
29
|
+
RecordRoute(callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
30
|
+
recordRoute(metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
31
|
+
recordRoute(metadata: grpc.Metadata, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
32
|
+
recordRoute(options: grpc.CallOptions, callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
33
|
+
recordRoute(callback: grpc.requestCallback<_routeguide_RouteSummary__Output>): grpc.ClientWritableStream<_routeguide_Point>;
|
|
34
|
+
|
|
35
|
+
RouteChat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
|
|
36
|
+
RouteChat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
|
|
37
|
+
routeChat(metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
|
|
38
|
+
routeChat(options?: grpc.CallOptions): grpc.ClientDuplexStream<_routeguide_RouteNote, _routeguide_RouteNote__Output>;
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface RouteGuideHandlers extends grpc.UntypedServiceImplementation {
|
|
43
|
+
GetFeature: grpc.handleUnaryCall<_routeguide_Point__Output, _routeguide_Feature>;
|
|
44
|
+
|
|
45
|
+
ListFeatures: grpc.handleServerStreamingCall<_routeguide_Rectangle__Output, _routeguide_Feature>;
|
|
46
|
+
|
|
47
|
+
RecordRoute: grpc.handleClientStreamingCall<_routeguide_Point__Output, _routeguide_RouteSummary>;
|
|
48
|
+
|
|
49
|
+
RouteChat: grpc.handleBidiStreamingCall<_routeguide_RouteNote__Output, _routeguide_RouteNote>;
|
|
50
|
+
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface RouteGuideDefinition extends grpc.ServiceDefinition {
|
|
54
|
+
GetFeature: MethodDefinition<_routeguide_Point, _routeguide_Feature, _routeguide_Point__Output, _routeguide_Feature__Output>
|
|
55
|
+
ListFeatures: MethodDefinition<_routeguide_Rectangle, _routeguide_Feature, _routeguide_Rectangle__Output, _routeguide_Feature__Output>
|
|
56
|
+
RecordRoute: MethodDefinition<_routeguide_Point, _routeguide_RouteSummary, _routeguide_Point__Output, _routeguide_RouteSummary__Output>
|
|
57
|
+
RouteChat: MethodDefinition<_routeguide_RouteNote, _routeguide_RouteNote, _routeguide_RouteNote__Output, _routeguide_RouteNote__Output>
|
|
58
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Original file: protos/route_guide.proto
|
|
2
|
+
|
|
3
|
+
import type { Point as _routeguide_Point, Point__Output as _routeguide_Point__Output } from '../routeguide/Point';
|
|
4
|
+
|
|
5
|
+
export interface RouteNote {
|
|
6
|
+
'location'?: (_routeguide_Point | null);
|
|
7
|
+
'message'?: (string);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface RouteNote__Output {
|
|
11
|
+
'location': (_routeguide_Point__Output | null);
|
|
12
|
+
'message': (string);
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Original file: protos/route_guide.proto
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export interface RouteSummary {
|
|
5
|
+
'pointCount'?: (number);
|
|
6
|
+
'featureCount'?: (number);
|
|
7
|
+
'distance'?: (number);
|
|
8
|
+
'elapsedTime'?: (number);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface RouteSummary__Output {
|
|
12
|
+
'pointCount': (number);
|
|
13
|
+
'featureCount': (number);
|
|
14
|
+
'distance': (number);
|
|
15
|
+
'elapsedTime': (number);
|
|
16
|
+
}
|
|
@@ -176,6 +176,9 @@ function routeChat(call: any) {
|
|
|
176
176
|
*/
|
|
177
177
|
function getServer() {
|
|
178
178
|
const server = new grpc.Server();
|
|
179
|
+
|
|
180
|
+
//server.addService(routeguide.routeguide.RouteGuide.service, exampleServer);
|
|
181
|
+
|
|
179
182
|
server.addService((routeguide as any).RouteGuide.service, {
|
|
180
183
|
getFeature: getFeature,
|
|
181
184
|
listFeatures: listFeatures,
|