@zero-scripts/core
Version:
Framework for creating presets, configurations and extensions
12 lines • 559 B
TypeScript
import { DependencyNode } from '../graph';
export declare const METADATA_OPTIONS = "METADATA_OPTIONS";
export declare const METADATA_ROOT_DEPENDENCY_NODE = "METADATA_ROOT_DEPENDENCY_NODE";
export interface OptionMetadata<T, TOptionValue extends T[keyof T]> {
getOptionValue: (options: any, externalValue: any) => TOptionValue;
externalValue: TOptionValue;
postModifier: (value: TOptionValue, options: any) => TOptionValue;
}
export interface RootDependencyMetadata {
instance: DependencyNode;
}
//# sourceMappingURL=options.d.ts.map