UNPKG

583 BTypeScriptView Raw
1import { Context, ValidatedJobConfig, ExecutionConfig, OpConfig, GetClientConfig } from './interfaces';
2/** Get the first opConfig from an operation name */
3export declare function getOpConfig(job: ValidatedJobConfig, name: string): OpConfig | undefined;
4export declare function getAssetPath(assetDir: string, assets: string[], name: string): Promise<string>;
5export declare function getClient(context: Context, config: GetClientConfig, type: string): any;
6export declare function registerApis(context: Context, job: ValidatedJobConfig | ExecutionConfig, assetIds?: string[]): void;