Files
mlugg 048396053b npm update
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.
2025-06-29 17:06:44 +01:00

22 lines
798 B
TypeScript

import type { Timestamp } from "./gen/google/protobuf/timestamp_pb.js";
/**
* Create a google.protobuf.Timestamp for the current time.
*/
export declare function timestampNow(): Timestamp;
/**
* Create a google.protobuf.Timestamp message from an ECMAScript Date.
*/
export declare function timestampFromDate(date: Date): Timestamp;
/**
* Convert a google.protobuf.Timestamp message to an ECMAScript Date.
*/
export declare function timestampDate(timestamp: Timestamp): Date;
/**
* Create a google.protobuf.Timestamp message from a Unix timestamp in milliseconds.
*/
export declare function timestampFromMs(timestampMs: number): Timestamp;
/**
* Convert a google.protobuf.Timestamp to a Unix timestamp in milliseconds.
*/
export declare function timestampMs(timestamp: Timestamp): number;