Skip to content

Commit

Permalink
Expose SearchResultSymbols as an export of @polar/plugin-address-search
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Mar 5, 2024
1 parent f54f3ab commit 789eb96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clients/dish/src/utils/autocomplete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SelectResultFunction } from '@polar/lib-custom-types'
import SearchResultSymbols from '@polar/plugin-address-search/src/utils/searchResultSymbols'
import { SearchResultSymbols } from '@polar/plugin-address-search'
import levenshtein from 'js-levenshtein'
import { dishAutocompleteUrl } from '../services'
import { DishAutocompleteFunction } from '../types'
Expand Down
2 changes: 2 additions & 0 deletions packages/plugins/AddressSearch/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { AddressSearch } from './components'
import language from './language'
import { makeStoreModule } from './store'

export { default as SearchResultSymbols } from './utils/searchResultSymbols'

export default (options: AddressSearchConfiguration) => (instance: Vue) =>
instance.$store.dispatch('addComponent', {
name: 'addressSearch',
Expand Down

0 comments on commit 789eb96

Please sign in to comment.