import { GlobalSearchProviderResult , GlobalSearchResult } from './types' ; import { convertResultUrl , IBasePath } from './utils' ; /**
 * Convert a  GlobalSearchProviderResult * to a  GlobalSearchResult export const processProviderResult = ( result , basePath ) : GlobalSearchResult => { return { ... result , url : convertResultUrl ( result . url , basePath ) , } ; } ;