1 | import { Project } from "@atomist/automation-client/lib/project/Project";
|
2 | import { PushFields } from "../../typings/types";
|
3 | import { PushListenerInvocation } from "./PushListener";
|
4 | /**
|
5 | * Invocation object used by most listeners that react to code changes.
|
6 | * Provides fuller information about the impact of the push.
|
7 | */
|
8 | export interface PushImpactListenerInvocation extends PushListenerInvocation {
|
9 | /**
|
10 | * Paths of the files changed in this push.
|
11 | * Undefined if it is unknown how many files have changed.
|
12 | */
|
13 | filesChanged: string[] | undefined;
|
14 | /**
|
15 | * Head commit on push
|
16 | */
|
17 | commit: PushFields.Commits;
|
18 | /**
|
19 | * Project of affected files. May be the same as project, if we can't tell
|
20 | * which files were affected.
|
21 | */
|
22 | impactedSubProject: Project;
|
23 | }
|
24 | //# sourceMappingURL=PushImpactListener.d.ts.map |
\ | No newline at end of file |