typesense-instantsearch-adapter 2.7.1-2 → 2.7.1-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.
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ type SearchClient = any;
|
|
|
2
2
|
|
|
3
3
|
import type { ConfigurationOptions } from "typesense/lib/Typesense/Configuration";
|
|
4
4
|
import type { SearchParamsWithPreset } from "typesense/lib/Typesense/Documents";
|
|
5
|
+
import { default as TypesenseSearchClient } from "typesense/lib/Typesense/SearchClient";
|
|
5
6
|
|
|
6
7
|
interface BaseSearchParameters extends Partial<Omit<SearchParamsWithPreset, "q" | "filter_by">> {
|
|
7
8
|
/**
|
|
@@ -120,6 +121,7 @@ type TypesenseInstantsearchAdapterOptions =
|
|
|
120
121
|
|
|
121
122
|
export default class TypesenseInstantsearchAdapter {
|
|
122
123
|
readonly searchClient: SearchClient;
|
|
124
|
+
readonly typesenseClient: TypesenseSearchClient;
|
|
123
125
|
constructor(options: TypesenseInstantsearchAdapterOptions);
|
|
124
126
|
clearCache(): SearchClient;
|
|
125
127
|
updateConfiguration(options: TypesenseInstantsearchAdapterOptions): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typesense-instantsearch-adapter",
|
|
3
|
-
"version": "2.7.1-
|
|
3
|
+
"version": "2.7.1-3",
|
|
4
4
|
"description": "Adapter to use InstantSearch UI widgets with Typesense Search",
|
|
5
5
|
"homepage": "https://github.com/typesense/typesense-instantsearch-adapter",
|
|
6
6
|
"main": "lib/TypesenseInstantsearchAdapter.js",
|