Notably, this gets us `@actions/github` 6.0.1, which is necessary for `github.context.runAttempt` (so I have also updated `package.json` accordingly). On that note... great job following semver, GitHub! Between this and the non-breaking major version change on `@actions/cache`, I'm starting to feel like nobody on the Actions team understands how software versioning works.
19 lines
1.5 KiB
TypeScript
19 lines
1.5 KiB
TypeScript
import { ServiceClientGeneratorBase } from "./service-client-generator-base";
|
|
import { TypescriptFile } from "../framework/typescript-file";
|
|
import * as ts from "typescript";
|
|
import * as rpc from "@protobuf-ts/runtime-rpc";
|
|
import { DescService } from "@bufbuild/protobuf";
|
|
export declare class ServiceClientGeneratorGrpc extends ServiceClientGeneratorBase {
|
|
readonly symbolKindInterface = "grpc1-client-interface";
|
|
readonly symbolKindImplementation = "grpc1-client";
|
|
generateImplementationClass(source: TypescriptFile, descService: DescService): ts.ClassDeclaration;
|
|
protected createUnarySignatures(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodSignature[];
|
|
protected createServerStreamingSignatures(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodSignature[];
|
|
protected createClientStreamingSignatures(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodSignature[];
|
|
protected createDuplexStreamingSignatures(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodSignature[];
|
|
protected createUnary(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodDeclaration;
|
|
protected createServerStreaming(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodDeclaration;
|
|
protected createClientStreaming(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodDeclaration;
|
|
protected createDuplexStreaming(source: TypescriptFile, methodInfo: rpc.MethodInfo): ts.MethodDeclaration;
|
|
}
|