UNPKG

@omnia/fx-models

Version:
19 lines (18 loc) 1.06 kB
import { ApiPath, EnterprisePropertyDataTypeIds, EnterprisePropertyToPropertySettingsMap, IExtendApiManifestWithConfiguration, PropertyDefinition, PropertySetting } from "@omnia/fx-models"; export interface IEnterprisePropertyToPropertySettingMappingApi { getEnterprisePropertySetting: (enterprisePropertyDataTypeId: string) => Promise<EnterprisePropertyToPropertySettingsMap>; registerEnterprisePropertyToPropertySettingMap: (propDefinitionCtor: new () => PropertyDefinition<any, any, any>, enterprisePropertyDataTypeId: EnterprisePropertyDataTypeIds, propSettingCtor?: new () => PropertySetting<any>) => void; } declare module "./UxApi" { interface IOmniaUxApi { enterprisePropertyDefinitionMapping: { registration: Promise<IEnterprisePropertyToPropertySettingMappingApi>; }; } interface IOmniaUxExtendApiManifest { enterprisePropertyDefinitionMapping: { registration: ApiPath; mappings: IExtendApiManifestWithConfiguration<EnterprisePropertyDataTypeIds>; }; } }