You've already forked npm-core-sdk
Latest generation
This commit is contained in:
37
view.client.ts
Normal file
37
view.client.ts
Normal file
@@ -0,0 +1,37 @@
|
||||
// @generated by protobuf-ts 2.9.5
|
||||
// @generated from protobuf file "view.proto" (package "api", syntax proto3)
|
||||
// tslint:disable
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ViewService } from "./view";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { GetViewFieldsResult } from "./view";
|
||||
import type { GetViewFieldsRequest } from "./view";
|
||||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
||||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
/**
|
||||
* @generated from protobuf service api.ViewService
|
||||
*/
|
||||
export interface IViewServiceClient {
|
||||
/**
|
||||
* @generated from protobuf rpc: GetViewFields(api.GetViewFieldsRequest) returns (api.GetViewFieldsResult);
|
||||
*/
|
||||
getViewFields(input: GetViewFieldsRequest, options?: RpcOptions): UnaryCall<GetViewFieldsRequest, GetViewFieldsResult>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.ViewService
|
||||
*/
|
||||
export class ViewServiceClient implements IViewServiceClient, ServiceInfo {
|
||||
typeName = ViewService.typeName;
|
||||
methods = ViewService.methods;
|
||||
options = ViewService.options;
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetViewFields(api.GetViewFieldsRequest) returns (api.GetViewFieldsResult);
|
||||
*/
|
||||
getViewFields(input: GetViewFieldsRequest, options?: RpcOptions): UnaryCall<GetViewFieldsRequest, GetViewFieldsResult> {
|
||||
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetViewFieldsRequest, GetViewFieldsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user