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.
25 lines
1.1 KiB
TypeScript
25 lines
1.1 KiB
TypeScript
import { TypescriptFile } from "../framework/typescript-file";
|
|
import * as ts from "typescript";
|
|
import { CommentGenerator } from "./comment-generator";
|
|
import { Interpreter } from "../interpreter";
|
|
import { DescService } from "@bufbuild/protobuf";
|
|
import { TypeScriptImports } from "../framework/typescript-imports";
|
|
import { SymbolTable } from "../framework/symbol-table";
|
|
export declare class ServiceServerGeneratorGeneric {
|
|
private readonly symbols;
|
|
private readonly imports;
|
|
private readonly comments;
|
|
private readonly interpreter;
|
|
private readonly options;
|
|
private readonly symbolKindInterface;
|
|
constructor(symbols: SymbolTable, imports: TypeScriptImports, comments: CommentGenerator, interpreter: Interpreter, options: {
|
|
runtimeRpcImportPath: string;
|
|
});
|
|
registerSymbols(source: TypescriptFile, descService: DescService): void;
|
|
generateInterface(source: TypescriptFile, descService: DescService): ts.InterfaceDeclaration;
|
|
private createUnary;
|
|
private createServerStreaming;
|
|
private createClientStreaming;
|
|
private createBidi;
|
|
}
|