({ query })
| 77 | navigate, |
| 78 | }, |
| 79 | getSources({ query }) { |
| 80 | return import('@/mdx/search.mjs').then(({ search }) => { |
| 81 | return [ |
| 82 | { |
| 83 | sourceId: 'documentation', |
| 84 | getItems() { |
| 85 | return search(query, { limit: 5 }) |
| 86 | }, |
| 87 | getItemUrl({ item }) { |
| 88 | return item.url |
| 89 | }, |
| 90 | onSelect: navigate, |
| 91 | }, |
| 92 | ] |
| 93 | }) |
| 94 | }, |
| 95 | }), |
| 96 | ) |
| 97 |
nothing calls this directly
no outgoing calls
no test coverage detected