UNPKG

@atomist/sdm

Version:

Atomist Software Delivery Machine SDK

21 lines 1.04 kB
import { HandlerError, HandlerResult } from "@atomist/automation-client/lib/HandlerResult"; import { CommandListenerInvocation } from "../../../api/listener/CommandListener"; import { CommandHandlerRegistration } from "../../../api/registration/CommandHandlerRegistration"; export declare class SetDeployEnablementParameters { msgId?: string; owner: string; repo: string; providerId: string; name: string; version: string; } /** * Command to set deploy enablement on the currently mapped repo * @param {CommandListenerInvocation} cli * @param {boolean} enable * @returns {Promise<HandlerResult | HandlerError>} */ export declare function setDeployEnablement(cli: CommandListenerInvocation<SetDeployEnablementParameters>, enable: boolean): Promise<HandlerResult | HandlerError>; export declare const EnableDeploy: CommandHandlerRegistration<SetDeployEnablementParameters>; export declare const DisableDeploy: CommandHandlerRegistration<SetDeployEnablementParameters>; //# sourceMappingURL=SetDeployEnablement.d.ts.map