@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
14 lines • 695 B
TypeScript
import { GitHubRepoRef, RemoteRepoRef } from "@atomist/automation-client";
import { Attachment } from "@atomist/slack-messages";
import { RepoInfo } from "../lifecycleHelpers";
export declare function linkToDiff(id: RemoteRepoRef, start: string, end: string, endDescription?: string): string;
export declare function renderDiff(token: string, id: GitHubRepoRef, start: string, end: string, color: string): Promise<Attachment[]>;
export interface CommitForRendering {
sha: string;
message: string;
author: {
login: string;
};
}
export declare function renderCommitMessage(repo: RepoInfo, commitNode: CommitForRendering): string;
//# sourceMappingURL=diffRendering.d.ts.map