You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { ViewService } from "./view";
|
||||
import type { GetProjectViewFieldsResult } from "./view";
|
||||
import type { GetProjectViewFieldsRequest } from "./view";
|
||||
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
||||
import type { GetViewFieldsResult } from "./view";
|
||||
import type { GetViewFieldsRequest } from "./view";
|
||||
@@ -16,14 +14,9 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
||||
*/
|
||||
export interface IViewServiceClient {
|
||||
/**
|
||||
* @deprecated
|
||||
* @generated from protobuf rpc: GetViewFields
|
||||
*/
|
||||
getViewFields(input: GetViewFieldsRequest, options?: RpcOptions): UnaryCall<GetViewFieldsRequest, GetViewFieldsResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: GetProjectViewFields
|
||||
*/
|
||||
getProjectViewFields(input: GetProjectViewFieldsRequest, options?: RpcOptions): UnaryCall<GetProjectViewFieldsRequest, GetProjectViewFieldsResult>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.ViewService
|
||||
@@ -35,18 +28,10 @@ export class ViewServiceClient implements IViewServiceClient, ServiceInfo {
|
||||
constructor(private readonly _transport: RpcTransport) {
|
||||
}
|
||||
/**
|
||||
* @deprecated
|
||||
* @generated from protobuf rpc: GetViewFields
|
||||
*/
|
||||
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);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetProjectViewFields
|
||||
*/
|
||||
getProjectViewFields(input: GetProjectViewFieldsRequest, options?: RpcOptions): UnaryCall<GetProjectViewFieldsRequest, GetProjectViewFieldsResult> {
|
||||
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetProjectViewFieldsRequest, GetProjectViewFieldsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user