File tree Expand file tree Collapse file tree 2 files changed +9
-71
lines changed Expand file tree Collapse file tree 2 files changed +9
-71
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ interface AlgoliaConfig {
1212 contextualSearch ?: boolean ;
1313 externalUrlRegex ?: string ;
1414 searchParameters ?: Record < string , any > ;
15+ insights ?: boolean ;
16+ askAi ?: {
17+ assistantId : string ;
18+ indexName : string ;
19+ appId : string ;
20+ apiKey : string ;
21+ } ;
1522}
1623
1724export default function SearchBar ( ) : ReactElement {
@@ -23,6 +30,8 @@ export default function SearchBar(): ReactElement {
2330 appId = { algolia . appId }
2431 apiKey = { algolia . apiKey }
2532 indexName = { algolia . indexName }
33+ insights = { algolia . insights }
34+ askAi = { algolia . askAi }
2635 transformItems = { ( items : DocSearchHit [ ] ) => {
2736 return items . map ( ( item ) => {
2837 // Extract the pathname from the URL
You can’t perform that action at this time.
0 commit comments