UNPKG

596 BTypeScriptView Raw
1import { OnPushToAnyBranch } from "../../typings/types";
2import { SdmListener } from "./Listener";
3import { ProjectListenerInvocation } from "./ProjectListener";
4/**
5 * Invocation for an event relating to a push on a project.
6 * Many event listeners listen to this type of event.
7 */
8export interface PushListenerInvocation extends ProjectListenerInvocation {
9 /**
10 * Information about the push, including repo and commit
11 */
12 readonly push: OnPushToAnyBranch.Push;
13}
14export declare type PushListener = SdmListener<PushListenerInvocation>;
15//# sourceMappingURL=PushListener.d.ts.map
\No newline at end of file