@algolia/recommend 5.5.0 → 5.5.2
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/dist/browser.d.ts +89 -58
- package/dist/builds/browser.js +1 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +2 -2
- package/dist/builds/fetch.js +1 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +1 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +1 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/fetch.d.ts +89 -58
- package/dist/node.d.cts +89 -58
- package/dist/node.d.ts +89 -58
- package/dist/src/recommendClient.cjs +1 -1
- package/dist/src/recommendClient.cjs.map +1 -1
- package/dist/src/recommendClient.js +1 -1
- package/dist/src/recommendClient.js.map +1 -1
- package/model/baseIndexSettings.ts +90 -0
- package/model/{indexSettingsAsSearchParams.ts → baseRecommendIndexSettings.ts} +1 -22
- package/model/baseRecommendRequest.ts +2 -2
- package/model/{baseSearchParamsWithoutQuery.ts → baseRecommendSearchParams.ts} +1 -16
- package/model/facetOrdering.ts +2 -2
- package/model/fallbackParams.ts +2 -2
- package/model/index.ts +6 -8
- package/model/{facets.ts → indexSettingsFacets.ts} +1 -1
- package/model/recommendIndexSettings.ts +9 -0
- package/model/recommendSearchParams.ts +10 -0
- package/model/trendingItems.ts +2 -2
- package/package.json +5 -5
- package/model/baseSearchParams.ts +0 -6
- package/model/mode.ts +0 -6
- package/model/searchParams.ts +0 -5
- package/model/searchParamsObject.ts +0 -9
- package/model/semanticSearch.ts +0 -11
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
|
|
4
|
-
import type { SearchParamsQuery } from './searchParamsQuery';
|
|
5
|
-
|
|
6
|
-
export type BaseSearchParams = BaseSearchParamsWithoutQuery & SearchParamsQuery;
|
package/model/mode.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Search mode the index will use to query for results. This setting only applies to indices, for which Algolia enabled NeuralSearch for you.
|
|
5
|
-
*/
|
|
6
|
-
export type Mode = 'keywordSearch' | 'neuralSearch';
|
package/model/searchParams.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
4
|
-
|
|
5
|
-
export type SearchParams = Record<string, unknown> & SearchParamsObject;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
import type { BaseSearchParams } from './baseSearchParams';
|
|
4
|
-
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Each parameter value, including the `query` must not be larger than 512 bytes.
|
|
8
|
-
*/
|
|
9
|
-
export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
|
package/model/semanticSearch.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Settings for the semantic search part of NeuralSearch. Only used when `mode` is `neuralSearch`.
|
|
5
|
-
*/
|
|
6
|
-
export type SemanticSearch = {
|
|
7
|
-
/**
|
|
8
|
-
* Indices from which to collect click and conversion events. If null, the current index and all its replicas are used.
|
|
9
|
-
*/
|
|
10
|
-
eventSources?: string[] | null;
|
|
11
|
-
};
|