File

src/app/shared/widgets/widget.descriptor.ts

Indexable

[key: string]: ChannelDescriptor
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>;
}

results matching ""

    No results matching ""