You've already forked npm-viz-sdk
38 lines
1.5 KiB
TypeScript
38 lines
1.5 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
|
|
// @generated from protobuf file "viz-tab.proto" (package "vizapi", syntax proto3)
|
|
// tslint:disable
|
|
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
import { TabService } from "./viz-tab";
|
|
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
import type { ListTabResult } from "./viz-tab";
|
|
import type { ListTabRequest } from "./viz-tab";
|
|
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
/**
|
|
* @generated from protobuf service vizapi.TabService
|
|
*/
|
|
export interface ITabServiceClient {
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult>;
|
|
}
|
|
/**
|
|
* @generated from protobuf service vizapi.TabService
|
|
*/
|
|
export class TabServiceClient implements ITabServiceClient, ServiceInfo {
|
|
typeName = TabService.typeName;
|
|
methods = TabService.methods;
|
|
options = TabService.options;
|
|
constructor(private readonly _transport: RpcTransport) {
|
|
}
|
|
/**
|
|
* @generated from protobuf rpc: List
|
|
*/
|
|
list(input: ListTabRequest, options?: RpcOptions): UnaryCall<ListTabRequest, ListTabResult> {
|
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
return stackIntercept<ListTabRequest, ListTabResult>("unary", this._transport, method, opt, input);
|
|
}
|
|
}
|