1 | import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
|
2 | import { RemoteRepoRef } from "@atomist/automation-client/lib/operations/common/RepoId";
|
3 | import { Goal } from "../../api/goal/Goal";
|
4 | import { SdmGoalEvent } from "../../api/goal/SdmGoalEvent";
|
5 | import { CommitForSdmGoal, SdmGoalFields, SdmGoalRepo } from "../../typings/types";
|
6 | export declare function fetchGoalsFromPush(sdmGoal: SdmGoalEvent): SdmGoalEvent[];
|
7 | export declare function findSdmGoalOnCommit(ctx: HandlerContext, id: RemoteRepoRef, providerId: string, goal: Goal): Promise<SdmGoalEvent>;
|
8 | export declare function fetchCommitForSdmGoal(ctx: HandlerContext, goal: SdmGoalFields.Fragment & SdmGoalRepo.Fragment): Promise<CommitForSdmGoal.Commit>;
|
9 | export declare function fetchGoalsForCommit(ctx: HandlerContext, id: RemoteRepoRef, providerId: string, goalSetId?: string): Promise<SdmGoalEvent[]>;
|
10 | export declare function sumSdmGoalEvents(some: SdmGoalEvent[]): SdmGoalEvent[];
|
11 |
|
\ | No newline at end of file |