UNPKG

@atomist/sdm-pack-fingerprints

Version:

an Atomist SDM Extension Pack for fingerprinting code

19 lines (18 loc) 788 B
import { Aspect, Diff, DiffSummary, FP, Vote } from "../machine/Aspect"; export interface GitCoordinate { owner: string; repo: string; sha: string; providerId: string; branch?: string; } declare type MessageIdMaker = (shas: string[], coordinate: GitCoordinate) => string; export declare const updateableMessage: MessageIdMaker; /** * get a diff summary if any registrations support one for this Fingerprint type */ export declare function getDiffSummary(diff: Diff, target: FP, aspect: Aspect): undefined | DiffSummary; export declare function applyFingerprintTitle(fp: FP, aspects: Aspect[]): string; export declare function prBodyFromFingerprint(fp: FP, aspects: Aspect[]): string; export declare function prBody(vote: Vote, aspects: Aspect[]): string; export {};