src/app/shared/widgets/widget.descriptor.ts
Properties |
|
| component |
component:
|
Type : any
|
| Optional |
| inputs |
inputs:
|
Type : ChannelDescriptors
|
| methodConfigure |
methodConfigure:
|
Type : string
|
| Optional |
| outputs |
outputs:
|
Type : ChannelDescriptors
|
| propertyConfiguration |
propertyConfiguration:
|
Type : string
|
| Optional |
| propertyId |
propertyId:
|
Type : string
|
| Optional |
| widgetId |
widgetId:
|
Type : string
|
| Optional |
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>;
}