src/app/shared/widgets/widget.descriptor.ts
Properties |
identifier |
identifier:
|
Type : string
|
property |
property:
|
Type : string
|
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>;
}