@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
11 lines • 617 B
TypeScript
import { HandlerContext, RemoteRepoRef } from "@atomist/automation-client";
import { PushFields } from "@atomist/sdm";
import { 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