@farris/renderer
Version:
Render schema to web page with farris ui.
23 lines (22 loc) • 557 B
TypeScript
/**
* 通讯参数配置
*/
interface CommunicationParamMappingConfig {
sourceValue: string;
targetViewModelId: string;
targetVariableName: string;
}
/**
* 模块通讯配置
*/
interface CommunicationConfig {
sourceModuleId: string;
sourceViewModelId?: string;
sourceComponentId: string;
sourceEventName: string;
targetModuleId: string;
targetViewModelId: string;
targetCommandName: string;
paramMappings: CommunicationParamMappingConfig[];
}
export { CommunicationParamMappingConfig, CommunicationConfig };