@algolia/recommend 5.0.0-alpha.99 → 5.0.0-beta.1
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/builds/browser.d.ts +21 -3
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +21 -3
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/model/aroundPrecision.d.ts +1 -1
- package/dist/model/aroundPrecisionFromValueInner.d.ts +9 -0
- package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -1
- package/dist/model/aroundRadius.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts +3 -0
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/autoFacetFilter.d.ts +14 -0
- package/dist/model/autoFacetFilter.d.ts.map +1 -0
- package/dist/model/baseRecommendRequest.d.ts +6 -4
- package/dist/model/baseRecommendRequest.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +26 -29
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +10 -6
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/boughtTogetherQuery.d.ts +4 -0
- package/dist/model/boughtTogetherQuery.d.ts.map +1 -0
- package/dist/model/clientMethodProps.d.ts +11 -11
- package/dist/model/condition.d.ts +6 -9
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +9 -17
- package/dist/model/consequence.d.ts.map +1 -1
- package/dist/model/deletedAtResponse.d.ts +2 -2
- package/dist/model/distinct.d.ts +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +1 -1
- package/dist/model/facetFilters.d.ts +1 -1
- package/dist/model/facetOrdering.d.ts +2 -2
- package/dist/model/facets.d.ts +2 -2
- package/dist/model/fallbackParams.d.ts +3 -0
- package/dist/model/fallbackParams.d.ts.map +1 -0
- package/dist/model/fbtModel.d.ts +5 -0
- package/dist/model/fbtModel.d.ts.map +1 -0
- package/dist/model/frequentlyBoughtTogether.d.ts +9 -0
- package/dist/model/frequentlyBoughtTogether.d.ts.map +1 -0
- package/dist/model/getRecommendationsParams.d.ts +2 -2
- package/dist/model/hideConsequenceObject.d.ts +10 -0
- package/dist/model/hideConsequenceObject.d.ts.map +1 -0
- package/dist/model/highlightResult.d.ts +1 -1
- package/dist/model/highlightResult.d.ts.map +1 -1
- package/dist/model/highlightResultOption.d.ts +3 -3
- package/dist/model/ignorePlurals.d.ts +3 -2
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +21 -23
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +32 -35
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/lookingSimilar.d.ts +11 -0
- package/dist/model/lookingSimilar.d.ts.map +1 -0
- package/dist/model/lookingSimilarModel.d.ts +5 -0
- package/dist/model/lookingSimilarModel.d.ts.map +1 -0
- package/dist/model/lookingSimilarQuery.d.ts +4 -0
- package/dist/model/lookingSimilarQuery.d.ts.map +1 -0
- package/dist/model/matchLevel.d.ts +1 -1
- package/dist/model/mode.d.ts +1 -1
- package/dist/model/numericFilters.d.ts +1 -1
- package/dist/model/optionalFilters.d.ts +1 -1
- package/dist/model/paramsConsequence.d.ts +19 -0
- package/dist/model/paramsConsequence.d.ts.map +1 -0
- package/dist/model/promoteConsequenceObject.d.ts +14 -0
- package/dist/model/promoteConsequenceObject.d.ts.map +1 -0
- package/dist/model/queryType.d.ts +1 -1
- package/dist/model/rankingInfo.d.ts +10 -7
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +1 -1
- package/dist/model/recommendHit.d.ts +3 -3
- package/dist/model/recommendRule.d.ts +24 -0
- package/dist/model/recommendRule.d.ts.map +1 -0
- package/dist/model/recommendRuleMetadata.d.ts +10 -0
- package/dist/model/recommendRuleMetadata.d.ts.map +1 -0
- package/dist/model/recommendationsHits.d.ts +0 -8
- package/dist/model/recommendationsHits.d.ts.map +1 -1
- package/dist/model/recommendationsRequest.d.ts +4 -2
- package/dist/model/recommendationsRequest.d.ts.map +1 -1
- package/dist/model/recommendedForYou.d.ts +7 -0
- package/dist/model/recommendedForYou.d.ts.map +1 -0
- package/dist/model/recommendedForYouModel.d.ts +1 -1
- package/dist/model/recommendedForYouQuery.d.ts +2 -2
- package/dist/model/recommendedForYouQuery.d.ts.map +1 -1
- package/dist/model/relatedModel.d.ts +5 -0
- package/dist/model/relatedModel.d.ts.map +1 -0
- package/dist/model/relatedProducts.d.ts +11 -0
- package/dist/model/relatedProducts.d.ts.map +1 -0
- package/dist/model/relatedQuery.d.ts +4 -0
- package/dist/model/relatedQuery.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +3 -2
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/renderingContent.d.ts +1 -1
- package/dist/model/searchParams.d.ts +3 -0
- package/dist/model/searchParams.d.ts.map +1 -0
- package/dist/model/searchParamsObject.d.ts +3 -0
- package/dist/model/searchParamsObject.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +1 -1
- package/dist/model/searchRecommendRulesParams.d.ts +18 -6
- package/dist/model/searchRecommendRulesParams.d.ts.map +1 -1
- package/dist/model/searchRecommendRulesResponse.d.ts +6 -6
- package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -1
- package/dist/model/semanticSearch.d.ts +2 -2
- package/dist/model/snippetResult.d.ts +1 -1
- package/dist/model/snippetResult.d.ts.map +1 -1
- package/dist/model/snippetResultOption.d.ts +2 -2
- package/dist/model/sortRemainingBy.d.ts +1 -1
- package/dist/model/supportedLanguage.d.ts +5 -0
- package/dist/model/supportedLanguage.d.ts.map +1 -0
- package/dist/model/tagFilters.d.ts +1 -1
- package/dist/model/taskStatus.d.ts +1 -1
- package/dist/model/trendingFacetHit.d.ts +2 -2
- package/dist/model/trendingFacets.d.ts +11 -0
- package/dist/model/trendingFacets.d.ts.map +1 -0
- package/dist/model/trendingFacetsModel.d.ts +1 -1
- package/dist/model/trendingFacetsQuery.d.ts +2 -2
- package/dist/model/trendingFacetsQuery.d.ts.map +1 -1
- package/dist/model/trendingItems.d.ts +15 -0
- package/dist/model/trendingItems.d.ts.map +1 -0
- package/dist/model/trendingItemsModel.d.ts +1 -1
- package/dist/model/trendingItemsQuery.d.ts +2 -2
- package/dist/model/trendingItemsQuery.d.ts.map +1 -1
- package/dist/model/typoTolerance.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts +3 -0
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/value.d.ts +1 -1
- package/dist/recommend.cjs +54 -45
- package/dist/recommend.esm.browser.js +42 -38
- package/dist/recommend.esm.node.js +54 -45
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +34 -32
- package/dist/src/recommendClient.d.ts.map +1 -1
- package/model/aroundPrecision.ts +1 -1
- package/model/aroundPrecisionFromValueInner.ts +9 -0
- package/model/aroundRadius.ts +1 -1
- package/model/aroundRadiusAll.ts +3 -0
- package/model/autoFacetFilter.ts +16 -0
- package/model/baseRecommendRequest.ts +8 -4
- package/model/baseSearchParamsWithoutQuery.ts +26 -30
- package/model/baseSearchResponse.ts +11 -6
- package/model/{recommendationsQuery.ts → boughtTogetherQuery.ts} +3 -3
- package/model/clientMethodProps.ts +11 -11
- package/model/condition.ts +6 -12
- package/model/consequence.ts +9 -19
- package/model/deletedAtResponse.ts +2 -2
- package/model/distinct.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/facetFilters.ts +1 -1
- package/model/facetOrdering.ts +2 -2
- package/model/facets.ts +2 -2
- package/model/{editType.ts → fallbackParams.ts} +3 -4
- package/model/fbtModel.ts +6 -0
- package/model/{consequenceHide.ts → frequentlyBoughtTogether.ts} +6 -5
- package/model/getRecommendationsParams.ts +2 -2
- package/model/hideConsequenceObject.ts +11 -0
- package/model/highlightResult.ts +1 -0
- package/model/highlightResultOption.ts +3 -3
- package/model/ignorePlurals.ts +4 -2
- package/model/index.ts +21 -23
- package/model/indexSettingsAsSearchParams.ts +32 -36
- package/model/lookingSimilar.ts +15 -0
- package/model/lookingSimilarModel.ts +6 -0
- package/model/lookingSimilarQuery.ts +6 -0
- package/model/matchLevel.ts +1 -1
- package/model/mode.ts +1 -1
- package/model/numericFilters.ts +1 -1
- package/model/optionalFilters.ts +1 -1
- package/model/paramsConsequence.ts +23 -0
- package/model/promoteConsequenceObject.ts +16 -0
- package/model/queryType.ts +1 -1
- package/model/rankingInfo.ts +10 -7
- package/model/reRankingApplyFilter.ts +1 -1
- package/model/recommendHit.ts +3 -3
- package/model/{ruleResponse.ts → recommendRule.ts} +7 -10
- package/model/{ruleResponseMetadata.ts → recommendRuleMetadata.ts} +5 -2
- package/model/recommendationsHits.ts +0 -10
- package/model/recommendationsRequest.ts +6 -2
- package/model/{baseRecommendedForYouQuery.ts → recommendedForYou.ts} +3 -5
- package/model/recommendedForYouModel.ts +1 -1
- package/model/recommendedForYouQuery.ts +2 -3
- package/model/relatedModel.ts +6 -0
- package/model/relatedProducts.ts +15 -0
- package/model/relatedQuery.ts +6 -0
- package/model/removeStopWords.ts +4 -2
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/{recommendationModels.ts → searchParams.ts} +3 -4
- package/model/searchParamsObject.ts +3 -0
- package/model/searchParamsQuery.ts +1 -1
- package/model/searchRecommendRulesParams.ts +21 -6
- package/model/searchRecommendRulesResponse.ts +6 -6
- package/model/semanticSearch.ts +2 -2
- package/model/snippetResult.ts +2 -1
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +1 -1
- package/model/supportedLanguage.ts +74 -0
- package/model/tagFilters.ts +1 -1
- package/model/taskStatus.ts +1 -1
- package/model/trendingFacetHit.ts +2 -2
- package/model/{baseTrendingFacetsQuery.ts → trendingFacets.ts} +7 -4
- package/model/trendingFacetsModel.ts +1 -1
- package/model/trendingFacetsQuery.ts +2 -3
- package/model/trendingItems.ts +20 -0
- package/model/trendingItemsModel.ts +1 -1
- package/model/trendingItemsQuery.ts +2 -2
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +3 -0
- package/model/value.ts +1 -1
- package/package.json +7 -7
- package/dist/model/anchoring.d.ts +0 -5
- package/dist/model/anchoring.d.ts.map +0 -1
- package/dist/model/automaticFacetFilter.d.ts +0 -18
- package/dist/model/automaticFacetFilter.d.ts.map +0 -1
- package/dist/model/automaticFacetFilters.d.ts +0 -6
- package/dist/model/automaticFacetFilters.d.ts.map +0 -1
- package/dist/model/baseRecommendationsQuery.d.ts +0 -12
- package/dist/model/baseRecommendationsQuery.d.ts.map +0 -1
- package/dist/model/baseRecommendedForYouQuery.d.ts +0 -8
- package/dist/model/baseRecommendedForYouQuery.d.ts.map +0 -1
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts +0 -7
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts.map +0 -1
- package/dist/model/baseTrendingFacetsQuery.d.ts +0 -9
- package/dist/model/baseTrendingFacetsQuery.d.ts.map +0 -1
- package/dist/model/baseTrendingItemsQuery.d.ts +0 -16
- package/dist/model/baseTrendingItemsQuery.d.ts.map +0 -1
- package/dist/model/consequenceHide.d.ts +0 -10
- package/dist/model/consequenceHide.d.ts.map +0 -1
- package/dist/model/consequenceParams.d.ts +0 -5
- package/dist/model/consequenceParams.d.ts.map +0 -1
- package/dist/model/consequenceQuery.d.ts +0 -6
- package/dist/model/consequenceQuery.d.ts.map +0 -1
- package/dist/model/consequenceQueryObject.d.ts +0 -12
- package/dist/model/consequenceQueryObject.d.ts.map +0 -1
- package/dist/model/edit.d.ts +0 -13
- package/dist/model/edit.d.ts.map +0 -1
- package/dist/model/editType.d.ts +0 -5
- package/dist/model/editType.d.ts.map +0 -1
- package/dist/model/params.d.ts +0 -13
- package/dist/model/params.d.ts.map +0 -1
- package/dist/model/promote.d.ts +0 -4
- package/dist/model/promote.d.ts.map +0 -1
- package/dist/model/promoteObjectID.d.ts +0 -14
- package/dist/model/promoteObjectID.d.ts.map +0 -1
- package/dist/model/promoteObjectIDs.d.ts +0 -14
- package/dist/model/promoteObjectIDs.d.ts.map +0 -1
- package/dist/model/recommendationModels.d.ts +0 -5
- package/dist/model/recommendationModels.d.ts.map +0 -1
- package/dist/model/recommendationsQuery.d.ts +0 -4
- package/dist/model/recommendationsQuery.d.ts.map +0 -1
- package/dist/model/recommendedForYouQueryParameters.d.ts +0 -4
- package/dist/model/recommendedForYouQueryParameters.d.ts.map +0 -1
- package/dist/model/ruleResponse.d.ts +0 -27
- package/dist/model/ruleResponse.d.ts.map +0 -1
- package/dist/model/ruleResponseMetadata.d.ts +0 -7
- package/dist/model/ruleResponseMetadata.d.ts.map +0 -1
- package/model/anchoring.ts +0 -6
- package/model/automaticFacetFilter.ts +0 -21
- package/model/automaticFacetFilters.ts +0 -8
- package/model/baseRecommendationsQuery.ts +0 -17
- package/model/baseRecommendedForYouQueryParameters.ts +0 -8
- package/model/baseTrendingItemsQuery.ts +0 -22
- package/model/consequenceParams.ts +0 -9
- package/model/consequenceQuery.ts +0 -8
- package/model/consequenceQueryObject.ts +0 -15
- package/model/edit.ts +0 -17
- package/model/params.ts +0 -18
- package/model/promote.ts +0 -6
- package/model/promoteObjectID.ts +0 -16
- package/model/promoteObjectIDs.ts +0 -16
- package/model/recommendedForYouQueryParameters.ts +0 -7
|
@@ -5,16 +5,17 @@ import type { AroundRadius } from './aroundRadius';
|
|
|
5
5
|
import type { FacetFilters } from './facetFilters';
|
|
6
6
|
import type { NumericFilters } from './numericFilters';
|
|
7
7
|
import type { OptionalFilters } from './optionalFilters';
|
|
8
|
+
import type { SupportedLanguage } from './supportedLanguage';
|
|
8
9
|
import type { TagFilters } from './tagFilters';
|
|
9
10
|
|
|
10
11
|
export type BaseSearchParamsWithoutQuery = {
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* Keywords to be used instead of the search query to conduct a more broader search. Using the `similarQuery` parameter changes other settings: - `queryType` is set to `prefixNone`. - `removeStopWords` is set to true. - `words` is set as the first ranking criterion. - All remaining words are treated as `optionalWords`. Since the `similarQuery` is supposed to do a broad search, they usually return many results. Combine it with `filters` to narrow down the list of results.
|
|
13
14
|
*/
|
|
14
15
|
similarQuery?: string;
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
|
-
* [
|
|
18
|
+
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
18
19
|
*/
|
|
19
20
|
filters?: string;
|
|
20
21
|
|
|
@@ -27,47 +28,47 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
27
28
|
tagFilters?: TagFilters;
|
|
28
29
|
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
+
* Whether to sum all filter scores. If true, all filter scores are summed. Otherwise, the maximum filter score is kept. For more information, see [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).
|
|
31
32
|
*/
|
|
32
33
|
sumOrFiltersScores?: boolean;
|
|
33
34
|
|
|
34
35
|
/**
|
|
35
|
-
* Restricts a
|
|
36
|
+
* Restricts a search to a subset of your searchable attributes. Attribute names are case-sensitive.
|
|
36
37
|
*/
|
|
37
38
|
restrictSearchableAttributes?: string[];
|
|
38
39
|
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
* Facets for which to retrieve facet values that match the search criteria and the number of matching facet values. To retrieve all facets, use the wildcard character `*`. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts).
|
|
41
42
|
*/
|
|
42
43
|
facets?: string[];
|
|
43
44
|
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
+
* Whether faceting should be applied after deduplication with `distinct`. This leads to accurate facet counts when using faceting in combination with `distinct`. It\'s usually better to use `afterDistinct` modifiers in the `attributesForFaceting` setting, as `facetingAfterDistinct` only computes correct facet counts if all records have the same facet values for the `attributeForDistinct`.
|
|
46
47
|
*/
|
|
47
48
|
facetingAfterDistinct?: boolean;
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
|
-
* Page
|
|
51
|
+
* Page of search results to retrieve.
|
|
51
52
|
*/
|
|
52
53
|
page?: number;
|
|
53
54
|
|
|
54
55
|
/**
|
|
55
|
-
*
|
|
56
|
+
* Position of the first hit to retrieve.
|
|
56
57
|
*/
|
|
57
58
|
offset?: number;
|
|
58
59
|
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* Number of hits to retrieve (used in combination with `offset`).
|
|
61
62
|
*/
|
|
62
63
|
length?: number;
|
|
63
64
|
|
|
64
65
|
/**
|
|
65
|
-
*
|
|
66
|
+
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
|
|
66
67
|
*/
|
|
67
68
|
aroundLatLng?: string;
|
|
68
69
|
|
|
69
70
|
/**
|
|
70
|
-
*
|
|
71
|
+
* Whether to obtain the coordinates from the request\'s IP address.
|
|
71
72
|
*/
|
|
72
73
|
aroundLatLngViaIP?: boolean;
|
|
73
74
|
|
|
@@ -76,62 +77,57 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
76
77
|
aroundPrecision?: AroundPrecision;
|
|
77
78
|
|
|
78
79
|
/**
|
|
79
|
-
* Minimum radius (in meters)
|
|
80
|
+
* Minimum radius (in meters) for a search around a location when `aroundRadius` isn\'t set.
|
|
80
81
|
*/
|
|
81
82
|
minimumAroundRadius?: number;
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
|
-
*
|
|
85
|
+
* Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
|
|
85
86
|
*/
|
|
86
87
|
insideBoundingBox?: number[][];
|
|
87
88
|
|
|
88
89
|
/**
|
|
89
|
-
*
|
|
90
|
+
* Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored if you also specify `insideBoundingBox`.
|
|
90
91
|
*/
|
|
91
92
|
insidePolygon?: number[][];
|
|
92
93
|
|
|
93
94
|
/**
|
|
94
|
-
*
|
|
95
|
+
* ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches): - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
|
|
95
96
|
*/
|
|
96
|
-
naturalLanguages?:
|
|
97
|
+
naturalLanguages?: SupportedLanguage[];
|
|
97
98
|
|
|
98
99
|
/**
|
|
99
|
-
* Assigns
|
|
100
|
+
* Assigns a rule context to the search query. [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
100
101
|
*/
|
|
101
102
|
ruleContexts?: string[];
|
|
102
103
|
|
|
103
104
|
/**
|
|
104
|
-
*
|
|
105
|
+
* Impact that Personalization should have on this search. The higher this value is, the more Personalization determines the ranking compared to other factors. For more information, see [Understanding Personalization impact](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).
|
|
105
106
|
*/
|
|
106
107
|
personalizationImpact?: number;
|
|
107
108
|
|
|
108
109
|
/**
|
|
109
|
-
*
|
|
110
|
+
* Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/).
|
|
110
111
|
*/
|
|
111
112
|
userToken?: string;
|
|
112
113
|
|
|
113
114
|
/**
|
|
114
|
-
*
|
|
115
|
+
* Whether the search response should include detailed ranking information.
|
|
115
116
|
*/
|
|
116
117
|
getRankingInfo?: boolean;
|
|
117
118
|
|
|
118
119
|
/**
|
|
119
|
-
*
|
|
120
|
-
*/
|
|
121
|
-
explain?: string[];
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Whether to take into account an index\'s synonyms for a particular search.
|
|
120
|
+
* Whether to take into account an index\'s synonyms for this search.
|
|
125
121
|
*/
|
|
126
122
|
synonyms?: boolean;
|
|
127
123
|
|
|
128
124
|
/**
|
|
129
|
-
*
|
|
125
|
+
* Whether to include a `queryID` attribute in the response. The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/guides/sending-events/getting-started/).
|
|
130
126
|
*/
|
|
131
127
|
clickAnalytics?: boolean;
|
|
132
128
|
|
|
133
129
|
/**
|
|
134
|
-
*
|
|
130
|
+
* Whether this search will be included in Analytics.
|
|
135
131
|
*/
|
|
136
132
|
analytics?: boolean;
|
|
137
133
|
|
|
@@ -141,12 +137,12 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
141
137
|
analyticsTags?: string[];
|
|
142
138
|
|
|
143
139
|
/**
|
|
144
|
-
* Whether to include
|
|
140
|
+
* Whether to include this search when calculating processing-time percentiles.
|
|
145
141
|
*/
|
|
146
142
|
percentileComputation?: boolean;
|
|
147
143
|
|
|
148
144
|
/**
|
|
149
|
-
*
|
|
145
|
+
* Whether to enable A/B testing for this search.
|
|
150
146
|
*/
|
|
151
147
|
enableABTest?: boolean;
|
|
152
148
|
};
|
|
@@ -22,7 +22,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
22
22
|
aroundLatLng?: string;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Distance from a central coordinate provided by `aroundLatLng`.
|
|
26
26
|
*/
|
|
27
27
|
automaticRadius?: string;
|
|
28
28
|
|
|
@@ -44,7 +44,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
44
44
|
exhaustiveTypo?: boolean;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Facet counts.
|
|
48
48
|
*/
|
|
49
49
|
facets?: Record<string, Record<string, number>>;
|
|
50
50
|
|
|
@@ -74,12 +74,12 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
74
74
|
message?: string;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Number of hits
|
|
77
|
+
* Number of results (hits).
|
|
78
78
|
*/
|
|
79
79
|
nbHits: number;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Number of pages of results
|
|
82
|
+
* Number of pages of results.
|
|
83
83
|
*/
|
|
84
84
|
nbPages: number;
|
|
85
85
|
|
|
@@ -89,7 +89,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
89
89
|
nbSortedHits?: number;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* Page
|
|
92
|
+
* Page of search results to retrieve.
|
|
93
93
|
*/
|
|
94
94
|
page: number;
|
|
95
95
|
|
|
@@ -128,7 +128,12 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
128
128
|
serverUsed?: string;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* An object with custom data. You can store up to 32 kB as custom data.
|
|
132
132
|
*/
|
|
133
133
|
userData?: any | null;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
|
|
137
|
+
*/
|
|
138
|
+
queryID?: string;
|
|
134
139
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
|
|
3
3
|
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
4
|
-
import type {
|
|
4
|
+
import type { FrequentlyBoughtTogether } from './frequentlyBoughtTogether';
|
|
5
5
|
|
|
6
|
-
export type
|
|
7
|
-
|
|
6
|
+
export type BoughtTogetherQuery = BaseRecommendRequest &
|
|
7
|
+
FrequentlyBoughtTogether;
|
|
@@ -72,15 +72,15 @@ export type CustomPutProps = {
|
|
|
72
72
|
*/
|
|
73
73
|
export type DeleteRecommendRuleProps = {
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Name of the index on which to perform the operation.
|
|
76
76
|
*/
|
|
77
77
|
indexName: string;
|
|
78
78
|
/**
|
|
79
|
-
* [Recommend
|
|
79
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
80
80
|
*/
|
|
81
81
|
model: RecommendModels;
|
|
82
82
|
/**
|
|
83
|
-
* Unique record
|
|
83
|
+
* Unique record identifier.
|
|
84
84
|
*/
|
|
85
85
|
objectID: string;
|
|
86
86
|
};
|
|
@@ -90,15 +90,15 @@ export type DeleteRecommendRuleProps = {
|
|
|
90
90
|
*/
|
|
91
91
|
export type GetRecommendRuleProps = {
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Name of the index on which to perform the operation.
|
|
94
94
|
*/
|
|
95
95
|
indexName: string;
|
|
96
96
|
/**
|
|
97
|
-
* [Recommend
|
|
97
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
98
98
|
*/
|
|
99
99
|
model: RecommendModels;
|
|
100
100
|
/**
|
|
101
|
-
* Unique record
|
|
101
|
+
* Unique record identifier.
|
|
102
102
|
*/
|
|
103
103
|
objectID: string;
|
|
104
104
|
};
|
|
@@ -108,15 +108,15 @@ export type GetRecommendRuleProps = {
|
|
|
108
108
|
*/
|
|
109
109
|
export type GetRecommendStatusProps = {
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Name of the index on which to perform the operation.
|
|
112
112
|
*/
|
|
113
113
|
indexName: string;
|
|
114
114
|
/**
|
|
115
|
-
* [Recommend
|
|
115
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
116
116
|
*/
|
|
117
117
|
model: RecommendModels;
|
|
118
118
|
/**
|
|
119
|
-
* Unique
|
|
119
|
+
* Unique task identifier.
|
|
120
120
|
*/
|
|
121
121
|
taskID: number;
|
|
122
122
|
};
|
|
@@ -126,11 +126,11 @@ export type GetRecommendStatusProps = {
|
|
|
126
126
|
*/
|
|
127
127
|
export type SearchRecommendRulesProps = {
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* Name of the index on which to perform the operation.
|
|
130
130
|
*/
|
|
131
131
|
indexName: string;
|
|
132
132
|
/**
|
|
133
|
-
* [Recommend
|
|
133
|
+
* [Recommend model](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
|
|
134
134
|
*/
|
|
135
135
|
model: RecommendModels;
|
|
136
136
|
searchRecommendRulesParams?: SearchRecommendRulesParams;
|
package/model/condition.ts
CHANGED
|
@@ -1,22 +1,16 @@
|
|
|
1
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
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Condition that triggers the rule. If not specified, the rule is triggered for all recommendations.
|
|
5
|
+
*/
|
|
5
6
|
export type Condition = {
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
pattern?: string;
|
|
10
|
-
|
|
11
|
-
anchoring?: Anchoring;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Whether the pattern matches on plurals, synonyms, and typos.
|
|
8
|
+
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
15
9
|
*/
|
|
16
|
-
|
|
10
|
+
filters?: string;
|
|
17
11
|
|
|
18
12
|
/**
|
|
19
|
-
*
|
|
13
|
+
* An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
|
|
20
14
|
*/
|
|
21
15
|
context?: string;
|
|
22
16
|
};
|
package/model/consequence.ts
CHANGED
|
@@ -1,32 +1,22 @@
|
|
|
1
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
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
3
|
+
import type { HideConsequenceObject } from './hideConsequenceObject';
|
|
4
|
+
import type { ParamsConsequence } from './paramsConsequence';
|
|
5
|
+
import type { PromoteConsequenceObject } from './promoteConsequenceObject';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Effect of the rule.
|
|
9
9
|
*/
|
|
10
10
|
export type Consequence = {
|
|
11
|
-
params?: ConsequenceParams;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Records to promote.
|
|
15
|
-
*/
|
|
16
|
-
promote?: Promote[];
|
|
17
|
-
|
|
18
11
|
/**
|
|
19
|
-
*
|
|
12
|
+
* Exclude items from recommendations.
|
|
20
13
|
*/
|
|
21
|
-
|
|
14
|
+
hide?: HideConsequenceObject[];
|
|
22
15
|
|
|
23
16
|
/**
|
|
24
|
-
*
|
|
17
|
+
* Place items at specific positions in the list of recommendations.
|
|
25
18
|
*/
|
|
26
|
-
|
|
19
|
+
promote?: PromoteConsequenceObject[];
|
|
27
20
|
|
|
28
|
-
|
|
29
|
-
* Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
|
|
30
|
-
*/
|
|
31
|
-
userData?: any | null;
|
|
21
|
+
params?: ParamsConsequence;
|
|
32
22
|
};
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export type DeletedAtResponse = {
|
|
7
7
|
/**
|
|
8
|
-
* Unique identifier of a task.
|
|
8
|
+
* Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
|
|
9
9
|
*/
|
|
10
10
|
taskID: number;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Date and time when the object was deleted, in RFC 3339 format.
|
|
14
14
|
*/
|
|
15
15
|
deletedAt: string;
|
|
16
16
|
};
|
package/model/distinct.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Determines how many records of a group are included in the search results. Records with the same value for the `attributeForDistinct` attribute are considered a group. The `distinct` setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The `distinct` setting is ignored if `attributeForDistinct` is not set.
|
|
5
5
|
*/
|
|
6
6
|
export type Distinct = boolean | number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the query
|
|
4
|
+
* Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word. - `attribute`. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". - `none`. The Exact ranking criterion is ignored on single-word searches. - `word`. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won\'t.
|
|
5
5
|
*/
|
|
6
6
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
package/model/facetFilters.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Filter the search by facet values, so that only records with the same facet values are retrieved. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** - `[filter1, filter2]` is interpreted as `filter1 AND filter2`. - `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`. - `facet:-value` is interpreted as `NOT facet:value`. While it\'s best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash: `facet:\\-value`.
|
|
7
7
|
*/
|
|
8
8
|
export type FacetFilters = MixedSearchFilters[] | string;
|
package/model/facetOrdering.ts
CHANGED
|
@@ -4,13 +4,13 @@ import type { Facets } from './facets';
|
|
|
4
4
|
import type { Value } from './value';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Order of facet names and facet values in your UI.
|
|
8
8
|
*/
|
|
9
9
|
export type FacetOrdering = {
|
|
10
10
|
facets?: Facets;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Order of facet values. One object for each facet.
|
|
14
14
|
*/
|
|
15
15
|
values?: Record<string, Value>;
|
|
16
16
|
};
|
package/model/facets.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
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
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Order of facet names.
|
|
5
5
|
*/
|
|
6
6
|
export type Facets = {
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
|
|
9
9
|
*/
|
|
10
10
|
order?: string[];
|
|
11
11
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
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
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export type EditType = 'remove' | 'replace';
|
|
3
|
+
import type { SearchParamsObject } from './searchParamsObject';
|
|
4
|
+
|
|
5
|
+
export type FallbackParams = Record<string, any> & SearchParamsObject;
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
* Frequently bought together model. This model recommends items that have been purchased within 1 day with the item with the ID `objectID`.
|
|
5
|
+
*/
|
|
6
|
+
export type FbtModel = 'bought-together';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
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
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import type { FbtModel } from './fbtModel';
|
|
4
|
+
|
|
5
|
+
export type FrequentlyBoughtTogether = {
|
|
6
|
+
model: FbtModel;
|
|
7
|
+
|
|
7
8
|
/**
|
|
8
|
-
* Unique
|
|
9
|
+
* Unique record identifier.
|
|
9
10
|
*/
|
|
10
11
|
objectID: string;
|
|
11
12
|
};
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import type { RecommendationsRequest } from './recommendationsRequest';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Recommend
|
|
6
|
+
* Recommend request body.
|
|
7
7
|
*/
|
|
8
8
|
export type GetRecommendationsParams = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Recommendation request with parameters depending on the requested model.
|
|
11
11
|
*/
|
|
12
12
|
requests: RecommendationsRequest[];
|
|
13
13
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
* Object ID of the recommendation you want to exclude.
|
|
5
|
+
*/
|
|
6
|
+
export type HideConsequenceObject = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique record identifier.
|
|
9
|
+
*/
|
|
10
|
+
objectID?: string;
|
|
11
|
+
};
|
package/model/highlightResult.ts
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
import type { MatchLevel } from './matchLevel';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Surround words that match the query with HTML tags for highlighting.
|
|
7
7
|
*/
|
|
8
8
|
export type HighlightResultOption = {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Highlighted attribute value, including HTML tags.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
13
|
|
|
14
14
|
matchLevel: MatchLevel;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* List of words from the query
|
|
17
|
+
* List of matched words from the search query.
|
|
18
18
|
*/
|
|
19
19
|
matchedWords: string[];
|
|
20
20
|
|
package/model/ignorePlurals.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
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
2
|
|
|
3
|
+
import type { SupportedLanguage } from './supportedLanguage';
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
6
|
+
* Treat singular, plurals, and other forms of declensions as equivalent. You should only use this feature for the languages used in your index.
|
|
5
7
|
*/
|
|
6
|
-
export type IgnorePlurals =
|
|
8
|
+
export type IgnorePlurals = SupportedLanguage[] | boolean;
|