@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
65 lines (64 loc) • 7.37 kB
TypeScript
import { EnterprisePropertyDefinition, EnterprisePropertyDataType, PropertyIndexedType, GuidValue, PropertyArchive, EnterprisePropertyColumnMapping } from "../models";
import { Store } from "./Store";
import { EnterprisePropertyService } from "../services/EnterprisePropertyService";
export declare class EnterprisePropertyStore extends Store {
enterprisePropertyService: EnterprisePropertyService;
private localizationService;
private multilingualTextsStore;
private queryablePropertiesService;
private omniaContext;
private ensuredLoadDataPromise;
private ensuredQueryablePropertiesLoadedPromise;
private editingProperty;
private ensureLoadExtendedEnterprisePropertiesPromise;
enterprisePropertyDefinitions: import("./Store").StoreState<EnterprisePropertyDefinition[]>;
enterprisePropertyDataTypes: import("./Store").StoreState<EnterprisePropertyDataType[]>;
computedPropertyMapping: import("./Store").StoreState<{
[serviceIdWithTableKey: string]: EnterprisePropertyColumnMapping[];
}>;
enterprisePropertyDefinitionsDeleted: import("./Store").StoreState<EnterprisePropertyDefinition[]>;
getters: {
enterprisePropertyDefinitionsByIndexedTypes: (indexTypes: Array<PropertyIndexedType>) => EnterprisePropertyDefinition[];
enterprisePropertyDefinitions: () => EnterprisePropertyDefinition[];
extenedEnterprisePropertyDefinitionsDeleted: () => EnterprisePropertyDefinition[];
enterprisePropertyDefinitionsGroupByCategory: () => {
[categoryId: string]: EnterprisePropertyDefinition[];
};
enterprisePropertyDataTypes: () => EnterprisePropertyDataType[];
omniaSearchableEnterprisePropertyDataTypes: () => EnterprisePropertyDataType[];
managedProperties: () => EnterprisePropertyDefinition[];
queryableManagedProperties: () => EnterprisePropertyDefinition[];
sortableManagedProperties: () => EnterprisePropertyDefinition[];
retrievableManagedProperties: () => EnterprisePropertyDefinition[];
refinableManagedProperties: () => EnterprisePropertyDefinition[];
queryableManagedPropertiesByIndexedTypes: (indexTypes: Array<PropertyIndexedType>) => EnterprisePropertyDefinition[];
sortableManagedPropertiesByIndexedTypes: (indexTypes: Array<PropertyIndexedType>) => EnterprisePropertyDefinition[];
retrievableManagedPropertiesByIndexedTypes: (indexTypes: Array<PropertyIndexedType>) => EnterprisePropertyDefinition[];
refinableManagedPropertiesByIndexedTypes: (indexTypes: Array<PropertyIndexedType>) => EnterprisePropertyDefinition[];
editingProperty: () => EnterprisePropertyDefinition;
queryableEnterpriseProperties: (serviceId: GuidValue, tableName?: string) => Array<EnterprisePropertyDefinition>;
queryableEnterprisePropertiesByIndexedTypes: (serviceId: GuidValue, indexTypes: Array<PropertyIndexedType>, tableName?: string) => EnterprisePropertyDefinition[];
queryableEnterprisePropertiesColumnMapping: (serviceId: GuidValue, tableName?: string) => Array<EnterprisePropertyColumnMapping>;
};
mutations: {
resetEditingProperty: import("./Store").StoreMutation<(property?: EnterprisePropertyDefinition) => void, (property?: EnterprisePropertyDefinition) => import("@omnia/fx-models").IMessageBusSubscriptionHandler>;
};
actions: {
refresh: import("./Store").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
ensureLoadData: import("./Store").StoreAction<unknown, (forceReload?: boolean) => void, (result: boolean, forceReload?: boolean) => void, (failureReason: any, forceReload?: boolean) => void, (forceReload?: boolean) => Promise<boolean>>;
ensureLoadExtendedEnterpriseProperties: import("./Store").StoreAction<unknown, () => void, (result: boolean) => void, (failureReason: any) => void, () => Promise<boolean>>;
addEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, (enterpriseProperty: EnterprisePropertyDefinition) => void, (result: EnterprisePropertyDefinition, enterpriseProperty: EnterprisePropertyDefinition) => void, (failureReason: any, enterpriseProperty: EnterprisePropertyDefinition) => void, (enterpriseProperty: EnterprisePropertyDefinition) => Promise<EnterprisePropertyDefinition>>;
updateEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, (enterpriseProperty: EnterprisePropertyDefinition) => void, (result: EnterprisePropertyDefinition, enterpriseProperty: EnterprisePropertyDefinition) => void, (failureReason: any, enterpriseProperty: EnterprisePropertyDefinition) => void, (enterpriseProperty: EnterprisePropertyDefinition) => Promise<EnterprisePropertyDefinition>>;
removeEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, (enterprisePropertyId: GuidValue) => void, (result: boolean, enterprisePropertyId: GuidValue) => void, (failureReason: any, enterprisePropertyId: GuidValue) => void, (enterprisePropertyId: GuidValue) => Promise<boolean>>;
getAllArchiveEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, () => void, (result: PropertyArchive[]) => void, (failureReason: any) => void, () => Promise<PropertyArchive[]>>;
terminateEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, (enterprisePropertyId: GuidValue) => void, (result: boolean, enterprisePropertyId: GuidValue) => void, (failureReason: any, enterprisePropertyId: GuidValue) => void, (enterprisePropertyId: GuidValue) => Promise<boolean>>;
restoreEnterprisePropertyDefinition: import("./Store").StoreAction<unknown, (enterprisePropertyId: GuidValue) => void, (result: void, enterprisePropertyId: GuidValue) => void, (failureReason: any, enterprisePropertyId: GuidValue) => void, (enterprisePropertyId: GuidValue) => Promise<void>>;
ensureLoadQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (result: void, serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (failureReason: any, serviceId: GuidValue, tableName?: string, forceReload?: boolean) => void, (serviceId: GuidValue, tableName?: string, forceReload?: boolean) => Promise<void>>;
removeQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (result: EnterprisePropertyColumnMapping, serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (failureReason: any, serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => void, (serviceId: GuidValue, property: EnterprisePropertyColumnMapping) => Promise<EnterprisePropertyColumnMapping>>;
addQueryableProperties: import("./Store").StoreAction<unknown, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (result: void, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (failureReason: any, serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => void, (serviceId: GuidValue, properties: EnterprisePropertyColumnMapping[]) => Promise<void>>;
};
private ensureUniqueMultilingualTitle;
private getServiceIdWithTableKey;
onActivated(): void;
onDisposing(): void;
}