UNPKG

@farris/renderer

Version:

Render schema to web page with farris ui.

16 lines (15 loc) 606 B
import { Configuration, DependencyKind } from "./types"; export declare class ComponentConfigRegistry { private registry; constructor(); setConfigs(componentId: string, configs: Configuration[]): void; getComponents(): Map<string, Configuration[]>; getConfigs(componentId: string): Configuration[] | undefined; /** * 获取依赖指定表达式的组件ID列表 * @param expressionId 表达式ID * @returns 组件ID数组 */ getComponentsByExpressionId(expressionId: string): string[]; getComponentsByDependencyKind(kinds: DependencyKind[]): string[]; }