UNPKG

@grnsft/if

Version:

Impact Framework

64 lines (63 loc) 2.47 kB
import { LoadDiffParams } from '../types/args'; /** * Loads files to compare. As a source file checks if data is piped and then decides which one to take. */ export declare const loadIfDiffFiles: (params: LoadDiffParams) => Promise<{ rawSourceManifest: unknown; rawTargetManifest: { name: string; initialize: { plugins: Record<string, { path: string; method: string; mapping?: Record<string, string> | undefined; config?: Record<string, any> | undefined; 'parameter-metadata'?: { inputs?: Record<string, { unit: string; description: string; 'aggregation-method': { time: "sum" | "avg" | "none" | "copy"; component: "sum" | "avg" | "none" | "copy"; }; }> | null | undefined; outputs?: Record<string, { unit: string; description: string; 'aggregation-method': { time: "sum" | "avg" | "none" | "copy"; component: "sum" | "avg" | "none" | "copy"; }; }> | null | undefined; } | undefined; } | undefined>; }; tree: Record<string, any>; description?: string | null | undefined; tags?: { kind?: string | null | undefined; complexity?: string | null | undefined; category?: string | null | undefined; } | null | undefined; explainer?: boolean | undefined; explain?: Record<string, any> | undefined; aggregation?: { type: "horizontal" | "time" | "vertical" | "component" | "both"; metrics: string[]; 'skip-components'?: string[] | undefined; } | null | undefined; execution?: { status: string; command?: string | undefined; environment?: { 'if-version': string; os: string; 'os-version': string; 'node-version': string; 'date-time': string; dependencies: string[]; } | undefined; error?: string | undefined; } | undefined; }; }>;