UNPKG

trm-core

Version:

TRM (Transport Request Manager) Core

28 lines (27 loc) 1.01 kB
import { AbstractRegistry } from "../../registry"; import { IActionContext, InstallActionInputContextData, InstallActionInputInstallData, InstallActionOutput } from ".."; export interface InstallDependencyActionInput { contextData?: InstallActionInputContextData; dependencyDataPackage: { name: string; versionRange: string; registry: AbstractRegistry; 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 {};