UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

11 lines 682 B
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext"; import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId"; import { PushFields, RepoBranchTips } from "../../../typings/types"; export declare function fetchPushForCommit(context: HandlerContext, id: RemoteRepoRef, providerId: string): Promise<PushFields.Fragment>; export declare function fetchBranchTips(ctx: HandlerContext, repositoryId: { repo: string; owner: string; providerId: string; }): Promise<RepoBranchTips.Repo>; export declare function tipOfBranch(repo: RepoBranchTips.Repo, branchName: string): string; //# sourceMappingURL=queryCommits.d.ts.map