import { DataSourceProperty, GuidValue, PropertyConfiguration, PropertyDataSourceId, PropertyDefinition } from "@omnia/fx-models"; import { DataSourcePropertyDefintionHandlerId } from "../../../services"; export interface IDataSourcePropertySelection { dataSourceProperty: DataSourceProperty; selectedConverter: DataSourcePropertyDefintionHandlerId; propertyConfiguration?: PropertyConfiguration>; } export interface IPropertyPicker { selectableDataSources: Array; onDataSourcePropertySelected: (selection: IDataSourcePropertySelection, allowEdit: boolean) => Promise; filled?: boolean; disabled?: boolean; dark?: boolean; hideDetails?: boolean; multiple?: boolean; hideConfiguration?: boolean; selectionProperty?: IDataSourcePropertySelection; selectablePropertyConverters?: Array; hideLabelIfSingleSource?: boolean; hideConverter?: boolean; keepSelectionAfterAdd?: boolean; }