trm-core
Version:
TRM (Transport Request Manager) Core
28 lines (27 loc) • 994 B
TypeScript
import { Registry } from "../../registry";
import { IActionContext, InstallActionInputContextData, InstallActionInputInstallData, InstallActionOutput } from "..";
export interface InstallDependencyActionInput {
contextData?: InstallActionInputContextData;
dependencyDataPackage: {
name: string;
versionRange: string;
registry: Registry;
integrity?: string;
};
installData?: InstallActionInputInstallData;
}
type WorkflowRuntime = {
rollback: boolean;
installVersion: string;
installOutput: InstallActionOutput;
};
export type InstallDependencyActionOutput = {
installOutput: InstallActionOutput;
};
export interface InstallDependencyWorkflowContext extends IActionContext {
rawInput: InstallDependencyActionInput;
runtime?: WorkflowRuntime;
output?: InstallDependencyActionOutput;
}
export declare function installDependency(inputData: InstallDependencyActionInput): Promise<InstallDependencyActionOutput>;
export {};