UNPKG

@interopio/desktop-cli

Version:

io.Connect Desktop Seed Repository CLI Tools

35 lines 1.32 kB
import { ComponentProcessor, ComponentRegistry } from '../types/component'; /** * Implementation of ComponentRegistry */ export declare class ComponentRegistryImpl implements ComponentRegistry { private components; constructor(); register(componentName: string): void; get(componentName: string): ComponentProcessor | undefined; getAll(): ComponentProcessor[]; getComponentNames(): string[]; has(componentName: string): boolean; unregister(componentName: string): boolean; /** * Get all components that have modifications available */ getComponentsWithModifications(): Promise<ComponentProcessor[]>; /** * Apply modifications for all registered components */ applyAllModifications(): Promise<void>; /** * Validate modifications for all registered components */ validateAllModifications(): Promise<boolean>; createProcessorByName(name: string): ComponentProcessor | undefined; /** * Discover available components by scanning the components directory * and looking for component processor implementations */ private discoverAvailableComponents; } export declare const DefaultComponentRegistry: typeof ComponentRegistryImpl; export default ComponentRegistryImpl; //# sourceMappingURL=component-registry.d.ts.map