UNPKG

trm-core

Version:

TRM (Transport Request Manager) Core

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