UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

8 lines 721 B
import { Goal } from "../../../api/goal/Goal"; import { SoftwareDeliveryMachine } from "../../../api/machine/SoftwareDeliveryMachine"; import { PushTest } from "../../../api/mapping/PushTest"; 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