UNPKG

@atomist/sdm-core

Version:

Atomist Software Delivery Machine - Implementation

6 lines 600 B
import { Goal, PushTest, SoftwareDeliveryMachine } from "@atomist/sdm"; import { DeliveryGoals } from "../configure"; import { PushTestMaker } from "./mapPushTests"; export declare type GoalMaker<G extends Record<string, any> = {}> = (sdm: SoftwareDeliveryMachine, params: G) => Promise<Goal> | Goal; export declare function mapGoals(sdm: SoftwareDeliveryMachine, goals: any, additionalGoals: DeliveryGoals, goalMakers: Record<string, GoalMaker>, additionalTests: Record<string, PushTest>, extensionTests: Record<string, PushTestMaker>): Promise<Goal | Goal[]>; //# sourceMappingURL=mapGoals.d.ts.map