UNPKG

946 BTypeScriptView Raw
1import { SoftwareDeliveryMachine } from "../../../api/machine/SoftwareDeliveryMachine";
2import { CodeTransformRegistration } from "../../../api/registration/CodeTransformRegistration";
3import { CommandHandlerRegistration } from "../../../api/registration/CommandHandlerRegistration";
4import { RepoTargetingParameters } from "../../machine/RepoTargetingParameters";
5/**
6 * Wrap a CodeTransform to determine the target branch of the transform.
7 *
8 * If the target branch, as expressed by the CodeTransformRegistration.transformPresentation,
9 * already exists, the wrapped CodeTransform will run against that branch instead of the
10 * requested branch.
11 * @param codeTransformRegistration
12 * @param sdm
13 */
14export declare function branchAwareCodeTransform(codeTransformRegistration: CodeTransformRegistration<any>, sdm: SoftwareDeliveryMachine): CommandHandlerRegistration<RepoTargetingParameters>;
15//# sourceMappingURL=codeTransformWrapping.d.ts.map
\No newline at end of file