Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { Command } from './command';
export interface AggregationData {
    command: string;
    property: string;
}
export declare function findFirstAggregration(command: Command): AggregationData | null;
/**
 * Aggregate the aimed Command class provided by `cliPath` and assigns its value to the property
 *
 * @param cliPath chain of command class names until the desired class instance
 */
export declare function Aggregation(cliPath: string[]): PropertyDecorator;
/**
 * Get the aggregation metadata on the given property
 *
 * @param target Command instance
 * @param propertyKey Property of the command instance
 *
 * @returns CLI path of the aggregated relation
 */
export declare function getAggregation<T extends Command, K extends Extract<keyof T, string>>(target: T, propertyKey: K): string[];