import { SearchResultItem } from "./Search"; export interface RegisterSearchTemplateRendererMsg { searchTemplate: SearchTemplate; weight: number; } export interface PropertyMapping { /** * Property placeholder should be a string and do NOT contain "|" */ mappedProperty: string; defaultProperty?: string; } export interface SearchTemplate { id: string; title: string; switchRule: (dataRow: SearchResultItem) => string; mappingProperties: Array; retrieveProperties?: Array; msSearchMappingProperties?: Array; msSearchRetrieveProperties?: Array; noResultRowWrapper?: boolean; }