UNPKG

@interopio/desktop-cli

Version:

CLI tool for setting up, building and packaging io.Connect Desktop projects

37 lines 1.24 kB
import { SupportedPlatforms } from "./component"; export interface ComponentDefinition { /** Display name for the component */ displayName: string; /** Base filename for downloads (without extension) */ name: string; /** Whether license validation is required */ licenseRequired: boolean; /** Supported platforms */ platforms: Array<SupportedPlatforms>; /** Description of the component */ description: string; } /** * Central registry of all known components with their static metadata * It is best if this goes to cli configuration */ export declare class ComponentsRegistry { private COMPONENT_REGISTRY; /** * Get component definition by name */ getComponentDefinition(componentName: string): ComponentDefinition | undefined; /** * Get all known component names */ getAllComponentNames(): string[]; /** * Get components that support a specific platform */ getComponentsForPlatform(platform: SupportedPlatforms): string[]; /** * Check if a component exists and supports a platform */ isComponentSupported(componentName: string, platform: SupportedPlatforms): boolean; } //# sourceMappingURL=components.registry.d.ts.map