@atomist/sdm
Version:
Atomist Software Delivery Machine SDK
16 lines • 853 B
TypeScript
import { Maker } from "@atomist/automation-client/lib/util/constructionUtils";
import { RepoTargetingParameters } from "../../api-helper/machine/RepoTargetingParameters";
import { RepoTargets } from "../../api/machine/RepoTargets";
import { SoftwareDeliveryMachine } from "../../api/machine/SoftwareDeliveryMachine";
import { CommandHandlerRegistration } from "../../api/registration/CommandHandlerRegistration";
import { SdmGoalState } from "../../typings/types";
declare class SetGoalStateParameters {
providerId: string;
goal: string;
state: SdmGoalState;
msgId: string;
cancel: boolean;
}
export declare function setGoalStateCommand(sdm: SoftwareDeliveryMachine, repoTargets?: Maker<RepoTargets>): CommandHandlerRegistration<SetGoalStateParameters & RepoTargetingParameters>;
export {};
//# sourceMappingURL=setGoalState.d.ts.map