UNPKG

776 BTypeScriptView Raw
1import { ProjectReview } from "@atomist/automation-client/lib/operations/review/ReviewResult";
2import { PushImpactResponse } from "../registration/PushImpactListenerRegistration";
3import { SdmListener } from "./Listener";
4import { PushListenerInvocation } from "./PushListener";
5/**
6 * Invocation on a completed review.
7 */
8export interface ReviewListenerInvocation extends PushListenerInvocation {
9 /**
10 * Consolidated review
11 */
12 review: ProjectReview;
13}
14/**
15 * Listener invoked when a review has been completed.
16 * Listeners will be invoked even in the case of a clean review,
17 * without errors or comments.
18 */
19export declare type ReviewListener = SdmListener<ReviewListenerInvocation, void | PushImpactResponse>;
20//# sourceMappingURL=ReviewListener.d.ts.map
\No newline at end of file