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.
16 lines
765 B
TypeScript
16 lines
765 B
TypeScript
import type { Message } from "../types.js";
|
|
import type { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from "./gen/google/protobuf/wrappers_pb.js";
|
|
import type { DescField, DescMessage } from "../descriptors.js";
|
|
export declare function isWrapper(arg: Message): arg is DoubleValue | FloatValue | Int64Value | UInt64Value | Int32Value | UInt32Value | BoolValue | StringValue | BytesValue;
|
|
export type WktWrapperDesc = DescMessage & {
|
|
fields: [
|
|
DescField & {
|
|
fieldKind: "scalar";
|
|
number: 1;
|
|
name: "value";
|
|
oneof: undefined;
|
|
}
|
|
];
|
|
};
|
|
export declare function isWrapperDesc(messageDesc: DescMessage): messageDesc is WktWrapperDesc;
|