src/app/shared/widgets/widget.descriptor.ts
[key: string]:
|
input parameters map |
import { Observable } from "rxjs";
export interface ChannelDescriptor {
identifier: string;
property: string;
}
export interface ChannelDescriptors {
[key: string]: ChannelDescriptor;
}
export interface WidgetMetadata {
widgetId?: string;
propertyId?: string;
propertyConfiguration?: string;
methodConfigure?: string;
component?: any;
inputs: ChannelDescriptors;
outputs: ChannelDescriptors;
}
export interface InputParameterDefinition {
/**
* input parameters map
*/
[key: string]: Observable<any>;
}