@omnia/fx-models
Version:
Provide Omnia Fx Models Stuffs.
52 lines (51 loc) • 1.68 kB
TypeScript
import { GuidValue } from './Guid';
import { PropertyIndexedType } from './Enums';
import { EnterprisePropertySettings } from '.';
import { MultilingualString } from './MultilingualString';
export interface EnterprisePropertyDataType {
id: GuidValue;
title: string;
uiOptions: EnterprisePropertyUIOptions;
valuePropertyPaths: string[];
indexedType: PropertyIndexedType;
omniaSearchable: boolean;
spSearchable: boolean;
}
export interface EnterprisePropertyDefinition {
id: GuidValue;
internalName: string;
title: MultilingualString;
enterprisePropertyDataTypeId: GuidValue;
settings: EnterprisePropertySettings;
spSearchable: boolean;
omniaSearchable: boolean;
builtIn: boolean;
managedPropertySettings?: ManagedPropertySettings;
enterprisePropertyDataType: EnterprisePropertyDataType;
multilingualTitle: string;
uniqueMultilingualTitle: string;
}
export interface ProvisioningTemplateEnterpriseProperty {
id: GuidValue;
internalName: string;
allowMultipleValues?: boolean;
required?: boolean;
hidden?: boolean;
}
export interface ManagedPropertySettings {
managedProperty: string;
retrievableManagedProperty?: string;
refinableManagedProeprty?: string;
queryableManagedProperty?: string;
sortableManagedProperty?: string;
retrievable: boolean;
refinable: boolean;
queryable: boolean;
sortable: boolean;
}
export interface EnterprisePropertyUIOptions {
settingsElementName?: string;
editModeElementName: string;
displayModeElementName?: string;
valueDefinitionElementName?: string;
}