UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

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