@docsearch/react 4.0.0-beta.2 → 4.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,6 +132,12 @@ type DocSearchAskAi = {
132
132
  * The assistant ID to use for the ask AI feature.
133
133
  */
134
134
  assistantId: string | null;
135
+ /**
136
+ * The search parameters to use for the ask AI feature.
137
+ */
138
+ searchParameters?: {
139
+ facetFilters?: SearchParamsObject['facetFilters'];
140
+ };
135
141
  };
136
142
  interface DocSearchProps {
137
143
  appId: string;
@@ -291,6 +297,6 @@ interface UseDocSearchKeyboardEventsProps {
291
297
  }
292
298
  declare function useDocSearchKeyboardEvents({ isOpen, onOpen, onClose, onInput, isAskAiActive, onAskAiToggle, searchButtonRef, }: UseDocSearchKeyboardEventsProps): void;
293
299
 
294
- declare const version = "4.0.0-beta.2";
300
+ declare const version = "4.0.0-beta.3";
295
301
 
296
302
  export { type ButtonTranslations, DocSearch, type DocSearchAskAi, DocSearchButton, type DocSearchButtonProps, type DocSearchHit, DocSearchModal, type DocSearchModalProps, type DocSearchProps, type DocSearchState, type DocSearchTheme, type DocSearchTransformClient, type DocSearchTranslations, type InternalDocSearchHit, type ModalTranslations, type StoredAskAiMessage, type StoredAskAiState, type StoredDocSearchHit, type UseDocSearchKeyboardEventsProps, useDocSearchKeyboardEvents, version };