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.
18 lines
890 B
TypeScript
18 lines
890 B
TypeScript
import { FileRegistry } from "@bufbuild/protobuf";
|
|
import { CodeGeneratorResponse_Feature } from "@bufbuild/protobuf/wkt";
|
|
import type { CodeGeneratorRequest } from "@bufbuild/protobuf/wkt";
|
|
import { GeneratedFile } from "./framework/generated-file";
|
|
import { OutFile } from "./out-file";
|
|
import { Options } from "./options";
|
|
import { PluginBaseProtobufES } from "./framework/plugin-base";
|
|
export declare class ProtobuftsPlugin extends PluginBaseProtobufES {
|
|
private readonly version;
|
|
constructor(version: string);
|
|
generate(request: CodeGeneratorRequest): GeneratedFile[];
|
|
protected transpile(tsFiles: OutFile[], options: Options): GeneratedFile[];
|
|
protected getSupportedFeatures: () => CodeGeneratorResponse_Feature[];
|
|
private isFileUsed;
|
|
private isTypeUsed;
|
|
}
|
|
export declare function createFileRegistryFromRequest(request: CodeGeneratorRequest): FileRegistry;
|