@algolia/recommend 5.0.0-alpha.106 → 5.0.0-alpha.107
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/model/anchoring.d.ts +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/automaticFacetFilter.d.ts +4 -4
- package/dist/model/automaticFacetFilters.d.ts +1 -1
- package/dist/model/baseRecommendRequest.d.ts +1 -1
- package/dist/model/baseRecommendationsQuery.d.ts +1 -1
- package/dist/model/baseRecommendedForYouQueryParameters.d.ts +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +24 -28
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +6 -6
- package/dist/model/clientMethodProps.d.ts +6 -6
- package/dist/model/condition.d.ts +7 -3
- package/dist/model/condition.d.ts.map +1 -1
- package/dist/model/consequence.d.ts +5 -5
- package/dist/model/consequenceHide.d.ts +2 -2
- package/dist/model/consequenceQuery.d.ts +1 -1
- package/dist/model/consequenceQueryObject.d.ts +2 -2
- package/dist/model/deletedAtResponse.d.ts +1 -1
- package/dist/model/distinct.d.ts +1 -1
- package/dist/model/edit.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/highlightResultOption.d.ts +3 -3
- package/dist/model/ignorePlurals.d.ts +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +30 -34
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- 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/params.d.ts +1 -1
- package/dist/model/promoteObjectID.d.ts +2 -2
- package/dist/model/promoteObjectIDs.d.ts +2 -2
- 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/recommendationsHits.d.ts +1 -1
- package/dist/model/removeStopWords.d.ts +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +1 -1
- package/dist/model/renderingContent.d.ts +1 -1
- package/dist/model/searchParamsQuery.d.ts +1 -1
- package/dist/model/searchRecommendRulesParams.d.ts +2 -2
- package/dist/model/searchRecommendRulesResponse.d.ts +3 -3
- package/dist/model/semanticSearch.d.ts +2 -2
- package/dist/model/snippetResultOption.d.ts +2 -2
- package/dist/model/sortRemainingBy.d.ts +1 -1
- package/dist/model/tagFilters.d.ts +1 -1
- package/dist/model/taskStatus.d.ts +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 +7 -7
- package/dist/recommend.esm.browser.js +7 -7
- package/dist/recommend.esm.node.js +7 -7
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +7 -7
- package/model/anchoring.ts +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/automaticFacetFilter.ts +4 -4
- package/model/automaticFacetFilters.ts +1 -1
- package/model/baseRecommendRequest.ts +1 -1
- package/model/baseRecommendationsQuery.ts +1 -1
- package/model/baseRecommendedForYouQueryParameters.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +24 -29
- package/model/baseSearchResponse.ts +6 -6
- package/model/clientMethodProps.ts +6 -6
- package/model/condition.ts +8 -3
- package/model/consequence.ts +5 -5
- package/model/consequenceHide.ts +2 -2
- package/model/consequenceQuery.ts +1 -1
- package/model/consequenceQueryObject.ts +2 -2
- package/model/deletedAtResponse.ts +1 -1
- package/model/distinct.ts +1 -1
- package/model/edit.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/highlightResultOption.ts +3 -3
- package/model/ignorePlurals.ts +1 -1
- package/model/indexSettingsAsSearchParams.ts +30 -35
- 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/params.ts +1 -1
- package/model/promoteObjectID.ts +2 -2
- package/model/promoteObjectIDs.ts +2 -2
- 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/recommendationsHits.ts +1 -1
- package/model/removeStopWords.ts +1 -1
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/searchParamsQuery.ts +1 -1
- package/model/searchRecommendRulesParams.ts +2 -2
- package/model/searchRecommendRulesResponse.ts +3 -3
- package/model/semanticSearch.ts +2 -2
- package/model/snippetResultOption.ts +2 -2
- package/model/sortRemainingBy.ts +1 -1
- package/model/tagFilters.ts +1 -1
- package/model/taskStatus.ts +1 -1
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +3 -0
- package/model/value.ts +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Which part of the search query the pattern should match: - `startsWith`. The pattern must match the begginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as pattern with `anchoring: is`.
|
|
3
3
|
*/
|
|
4
4
|
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
|
|
5
5
|
//# sourceMappingURL=anchoring.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
|
|
2
2
|
/**
|
|
3
|
-
* Precision of a
|
|
3
|
+
* Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
|
|
4
4
|
*/
|
|
5
5
|
export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
|
|
6
6
|
//# sourceMappingURL=aroundPrecision.d.ts.map
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range object with lower and upper values in meters to define custom ranges.
|
|
3
|
+
*/
|
|
1
4
|
export type AroundPrecisionFromValueInner = {
|
|
5
|
+
/**
|
|
6
|
+
* Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
7
|
+
*/
|
|
2
8
|
from?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Upper boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
|
|
11
|
+
*/
|
|
3
12
|
value?: number;
|
|
4
13
|
};
|
|
5
14
|
//# sourceMappingURL=aroundPrecisionFromValueInner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"aroundPrecisionFromValueInner.d.ts","sourceRoot":"","sources":["../../model/aroundPrecisionFromValueInner.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AroundRadiusAll } from './aroundRadiusAll';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Maximum radius for a search around a central location. This parameter works in combination with the `aroundLatLng` and `aroundLatLngViaIP` parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
|
|
4
4
|
*/
|
|
5
5
|
export type AroundRadius = AroundRadiusAll | number;
|
|
6
6
|
//# sourceMappingURL=aroundRadius.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Filter or optional filter to be applied to the search.
|
|
3
3
|
*/
|
|
4
4
|
export type AutomaticFacetFilter = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Facet name to be applied as filter. The name must match placeholders in the `pattern` parameter. For example, with `pattern: {facet:genre}`, `automaticFacetFilters` must be `genre`.
|
|
7
7
|
*/
|
|
8
8
|
facet: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Filter scores to give different weights to individual filters.
|
|
11
11
|
*/
|
|
12
12
|
score?: number;
|
|
13
13
|
/**
|
|
14
|
-
* Whether the filter is disjunctive
|
|
14
|
+
* Whether the filter is disjunctive or conjunctive. If true the filter has multiple matches, multiple occurences are combined with the logical `OR` operation. If false, multiple occurences are combined with the logical `AND` operation.
|
|
15
15
|
*/
|
|
16
16
|
disjunctive?: boolean;
|
|
17
17
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AutomaticFacetFilter } from './automaticFacetFilter';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Filter to be applied to the search. You can use this to respond to search queries that match a facet value. For example, if users search for \"comedy\", which matches a facet value of the \"genre\" facet, you can filter the results to show the top-ranked comedy movies.
|
|
4
4
|
*/
|
|
5
5
|
export type AutomaticFacetFilters = AutomaticFacetFilter[] | string[];
|
|
6
6
|
//# sourceMappingURL=automaticFacetFilters.d.ts.map
|
|
@@ -3,7 +3,7 @@ import type { SearchParamsObject } from './searchParamsObject';
|
|
|
3
3
|
export type BaseRecommendationsQuery = {
|
|
4
4
|
model: RecommendationModels;
|
|
5
5
|
/**
|
|
6
|
-
* Unique
|
|
6
|
+
* Unique record identifier.
|
|
7
7
|
*/
|
|
8
8
|
objectID: string;
|
|
9
9
|
queryParameters?: SearchParamsObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type BaseRecommendedForYouQueryParameters = {
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 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/).
|
|
4
4
|
*/
|
|
5
5
|
userToken: string;
|
|
6
6
|
};
|
|
@@ -6,11 +6,11 @@ import type { OptionalFilters } from './optionalFilters';
|
|
|
6
6
|
import type { TagFilters } from './tagFilters';
|
|
7
7
|
export type BaseSearchParamsWithoutQuery = {
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* 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.
|
|
10
10
|
*/
|
|
11
11
|
similarQuery?: string;
|
|
12
12
|
/**
|
|
13
|
-
* [
|
|
13
|
+
* Filter the search so that only records with matching values are included in the results. These filters are supported: - **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/).
|
|
14
14
|
*/
|
|
15
15
|
filters?: string;
|
|
16
16
|
facetFilters?: FacetFilters;
|
|
@@ -18,89 +18,85 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
18
18
|
numericFilters?: NumericFilters;
|
|
19
19
|
tagFilters?: TagFilters;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* 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).
|
|
22
22
|
*/
|
|
23
23
|
sumOrFiltersScores?: boolean;
|
|
24
24
|
/**
|
|
25
|
-
* Restricts a
|
|
25
|
+
* Restricts a search to a subset of your searchable attributes.
|
|
26
26
|
*/
|
|
27
27
|
restrictSearchableAttributes?: string[];
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* 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).
|
|
30
30
|
*/
|
|
31
31
|
facets?: string[];
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* 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`.
|
|
34
34
|
*/
|
|
35
35
|
facetingAfterDistinct?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Page
|
|
37
|
+
* Page of search results to retrieve.
|
|
38
38
|
*/
|
|
39
39
|
page?: number;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Position of the first hit to retrieve.
|
|
42
42
|
*/
|
|
43
43
|
offset?: number;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Number of hits to retrieve (used in combination with `offset`).
|
|
46
46
|
*/
|
|
47
47
|
length?: number;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* 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`.
|
|
50
50
|
*/
|
|
51
51
|
aroundLatLng?: string;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Whether to obtain the coordinates from the request\'s IP address.
|
|
54
54
|
*/
|
|
55
55
|
aroundLatLngViaIP?: boolean;
|
|
56
56
|
aroundRadius?: AroundRadius;
|
|
57
57
|
aroundPrecision?: AroundPrecision;
|
|
58
58
|
/**
|
|
59
|
-
* Minimum radius (in meters)
|
|
59
|
+
* Minimum radius (in meters) for a search around a location when `aroundRadius` isn\'t set.
|
|
60
60
|
*/
|
|
61
61
|
minimumAroundRadius?: number;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* 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).
|
|
64
64
|
*/
|
|
65
65
|
insideBoundingBox?: number[][];
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* 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`.
|
|
68
68
|
*/
|
|
69
69
|
insidePolygon?: number[][];
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* 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`.
|
|
72
72
|
*/
|
|
73
73
|
naturalLanguages?: string[];
|
|
74
74
|
/**
|
|
75
|
-
* Assigns
|
|
75
|
+
* 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.
|
|
76
76
|
*/
|
|
77
77
|
ruleContexts?: string[];
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* 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).
|
|
80
80
|
*/
|
|
81
81
|
personalizationImpact?: number;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* 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/).
|
|
84
84
|
*/
|
|
85
85
|
userToken?: string;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Whether the search response should include detailed ranking information.
|
|
88
88
|
*/
|
|
89
89
|
getRankingInfo?: boolean;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
92
|
-
*/
|
|
93
|
-
explain?: string[];
|
|
94
|
-
/**
|
|
95
|
-
* Whether to take into account an index\'s synonyms for a particular search.
|
|
91
|
+
* Whether to take into account an index\'s synonyms for this search.
|
|
96
92
|
*/
|
|
97
93
|
synonyms?: boolean;
|
|
98
94
|
/**
|
|
99
|
-
*
|
|
95
|
+
* 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/).
|
|
100
96
|
*/
|
|
101
97
|
clickAnalytics?: boolean;
|
|
102
98
|
/**
|
|
103
|
-
*
|
|
99
|
+
* Whether this search will be included in Analytics.
|
|
104
100
|
*/
|
|
105
101
|
analytics?: boolean;
|
|
106
102
|
/**
|
|
@@ -108,11 +104,11 @@ export type BaseSearchParamsWithoutQuery = {
|
|
|
108
104
|
*/
|
|
109
105
|
analyticsTags?: string[];
|
|
110
106
|
/**
|
|
111
|
-
* Whether to include
|
|
107
|
+
* Whether to include this search when calculating processing-time percentiles.
|
|
112
108
|
*/
|
|
113
109
|
percentileComputation?: boolean;
|
|
114
110
|
/**
|
|
115
|
-
*
|
|
111
|
+
* Whether to enable A/B testing for this search.
|
|
116
112
|
*/
|
|
117
113
|
enableABTest?: boolean;
|
|
118
114
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"baseSearchParamsWithoutQuery.d.ts","sourceRoot":"","sources":["../../model/baseSearchParamsWithoutQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"baseSearchParamsWithoutQuery.d.ts","sourceRoot":"","sources":["../../model/baseSearchParamsWithoutQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,4BAA4B,CAAC,EAAE,MAAM,EAAE,CAAC;IAExC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE5B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
16
16
|
*/
|
|
17
17
|
aroundLatLng?: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Distance from a central coordinate provided by `aroundLatLng`.
|
|
20
20
|
*/
|
|
21
21
|
automaticRadius?: string;
|
|
22
22
|
exhaustive?: Exhaustive;
|
|
@@ -33,7 +33,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
33
33
|
*/
|
|
34
34
|
exhaustiveTypo?: boolean;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Facet counts.
|
|
37
37
|
*/
|
|
38
38
|
facets?: Record<string, Record<string, number>>;
|
|
39
39
|
/**
|
|
@@ -57,11 +57,11 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
57
57
|
*/
|
|
58
58
|
message?: string;
|
|
59
59
|
/**
|
|
60
|
-
* Number of hits
|
|
60
|
+
* Number of results (hits).
|
|
61
61
|
*/
|
|
62
62
|
nbHits: number;
|
|
63
63
|
/**
|
|
64
|
-
* Number of pages of results
|
|
64
|
+
* Number of pages of results.
|
|
65
65
|
*/
|
|
66
66
|
nbPages: number;
|
|
67
67
|
/**
|
|
@@ -69,7 +69,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
69
69
|
*/
|
|
70
70
|
nbSortedHits?: number;
|
|
71
71
|
/**
|
|
72
|
-
* Page
|
|
72
|
+
* Page of search results to retrieve.
|
|
73
73
|
*/
|
|
74
74
|
page: number;
|
|
75
75
|
/**
|
|
@@ -99,7 +99,7 @@ export type BaseSearchResponse = Record<string, any> & {
|
|
|
99
99
|
*/
|
|
100
100
|
serverUsed?: string;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* An object with custom data. You can store up to 32 kB as custom data.
|
|
103
103
|
*/
|
|
104
104
|
userData?: any | null;
|
|
105
105
|
/**
|
|
@@ -65,7 +65,7 @@ export type CustomPutProps = {
|
|
|
65
65
|
*/
|
|
66
66
|
export type DeleteRecommendRuleProps = {
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Name of the index on which to perform the operation.
|
|
69
69
|
*/
|
|
70
70
|
indexName: string;
|
|
71
71
|
/**
|
|
@@ -73,7 +73,7 @@ export type DeleteRecommendRuleProps = {
|
|
|
73
73
|
*/
|
|
74
74
|
model: RecommendModels;
|
|
75
75
|
/**
|
|
76
|
-
* Unique record
|
|
76
|
+
* Unique record identifier.
|
|
77
77
|
*/
|
|
78
78
|
objectID: string;
|
|
79
79
|
};
|
|
@@ -82,7 +82,7 @@ export type DeleteRecommendRuleProps = {
|
|
|
82
82
|
*/
|
|
83
83
|
export type GetRecommendRuleProps = {
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Name of the index on which to perform the operation.
|
|
86
86
|
*/
|
|
87
87
|
indexName: string;
|
|
88
88
|
/**
|
|
@@ -90,7 +90,7 @@ export type GetRecommendRuleProps = {
|
|
|
90
90
|
*/
|
|
91
91
|
model: RecommendModels;
|
|
92
92
|
/**
|
|
93
|
-
* Unique record
|
|
93
|
+
* Unique record identifier.
|
|
94
94
|
*/
|
|
95
95
|
objectID: string;
|
|
96
96
|
};
|
|
@@ -99,7 +99,7 @@ export type GetRecommendRuleProps = {
|
|
|
99
99
|
*/
|
|
100
100
|
export type GetRecommendStatusProps = {
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Name of the index on which to perform the operation.
|
|
103
103
|
*/
|
|
104
104
|
indexName: string;
|
|
105
105
|
/**
|
|
@@ -116,7 +116,7 @@ export type GetRecommendStatusProps = {
|
|
|
116
116
|
*/
|
|
117
117
|
export type SearchRecommendRulesProps = {
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Name of the index on which to perform the operation.
|
|
120
120
|
*/
|
|
121
121
|
indexName: string;
|
|
122
122
|
/**
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import type { Anchoring } from './anchoring';
|
|
2
2
|
export type Condition = {
|
|
3
3
|
/**
|
|
4
|
-
* Query pattern
|
|
4
|
+
* Query pattern that triggers the rule. You can use either a literal string, or a special pattern `{facet:ATTRIBUTE}`, where `ATTRIBUTE` is a facet name. The rule is triggered if the query matches the literal string or a value of the specified facet. For example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as \"comedy\".
|
|
5
5
|
*/
|
|
6
6
|
pattern?: string;
|
|
7
7
|
anchoring?: Anchoring;
|
|
8
8
|
/**
|
|
9
|
-
* Whether the pattern
|
|
9
|
+
* Whether the pattern should match plurals, synonyms, and typos.
|
|
10
10
|
*/
|
|
11
11
|
alternatives?: boolean;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
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.
|
|
14
14
|
*/
|
|
15
15
|
context?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern` parameter.
|
|
18
|
+
*/
|
|
19
|
+
filters?: string;
|
|
16
20
|
};
|
|
17
21
|
//# sourceMappingURL=condition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
1
|
+
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -2,24 +2,24 @@ import type { ConsequenceHide } from './consequenceHide';
|
|
|
2
2
|
import type { ConsequenceParams } from './consequenceParams';
|
|
3
3
|
import type { Promote } from './promote';
|
|
4
4
|
/**
|
|
5
|
-
* [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences)
|
|
5
|
+
* Effect of the rule. For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
|
|
6
6
|
*/
|
|
7
7
|
export type Consequence = {
|
|
8
8
|
params?: ConsequenceParams;
|
|
9
9
|
/**
|
|
10
|
-
* Records to promote.
|
|
10
|
+
* Records you want to pin to a specific position in the search results. You can promote up to 300 records, either individually, or as groups of up to 100 records each.
|
|
11
11
|
*/
|
|
12
12
|
promote?: Promote[];
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Whether promoted records must match an active filter for the consequence to be applied. This ensures that user actions (filtering the search) are given a higher precendence. For example, if you promote a record with the `color: red` attribute, and the user filters the search for `color: blue`, the \"red\" record won\'t be shown.
|
|
15
15
|
*/
|
|
16
16
|
filterPromotes?: boolean;
|
|
17
17
|
/**
|
|
18
|
-
* Records
|
|
18
|
+
* Records you want to hide from the search results.
|
|
19
19
|
*/
|
|
20
20
|
hide?: ConsequenceHide[];
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* A JSON object with custom data that will be appended to the `userData` array in the response. This object isn\'t interpreted by the API and is limited to 1 kB of minified JSON.
|
|
23
23
|
*/
|
|
24
24
|
userData?: any | null;
|
|
25
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ConsequenceQueryObject } from './consequenceQueryObject';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Replace or edit the search query. If `consequenceQuery` is a string, the entire search query is replaced with that string. If `consequenceQuery` is an object, it describes incremental edits made to the query.
|
|
4
4
|
*/
|
|
5
5
|
export type ConsequenceQuery = ConsequenceQueryObject | string;
|
|
6
6
|
//# sourceMappingURL=consequenceQuery.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Edit } from './edit';
|
|
2
2
|
export type ConsequenceQueryObject = {
|
|
3
3
|
/**
|
|
4
|
-
* Words to remove.
|
|
4
|
+
* Words to remove from the search query.
|
|
5
5
|
*/
|
|
6
6
|
remove?: string[];
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Changes to make to the search query.
|
|
9
9
|
*/
|
|
10
10
|
edits?: Edit[];
|
|
11
11
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type DeletedAtResponse = {
|
|
5
5
|
/**
|
|
6
|
-
* Unique identifier of a task.
|
|
6
|
+
* 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`.
|
|
7
7
|
*/
|
|
8
8
|
taskID: number;
|
|
9
9
|
/**
|
package/dist/model/distinct.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* 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.
|
|
3
3
|
*/
|
|
4
4
|
export type Distinct = boolean | number;
|
|
5
5
|
//# sourceMappingURL=distinct.d.ts.map
|
package/dist/model/edit.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 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
|
|
2
|
+
* 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. <dl> <dt><code>attribute</code></dt> <dd> 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\". </dd> <dt><code>none</code></dt> <dd> The Exact ranking criterion is ignored on single-word searches. </dd> <dt><code>word</code></dt> <dd> 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. </dd> </dl> If `exactOnSingleWordQuery` is `word`, only exact matches will be highlighted, partial and prefix matches won\'t.
|
|
3
3
|
*/
|
|
4
4
|
export type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
|
|
5
5
|
//# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* 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`.
|
|
4
4
|
*/
|
|
5
5
|
export type FacetFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=facetFilters.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { Facets } from './facets';
|
|
2
2
|
import type { Value } from './value';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Order of facet names and facet values in your UI.
|
|
5
5
|
*/
|
|
6
6
|
export type FacetOrdering = {
|
|
7
7
|
facets?: Facets;
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Order of facet values. One object for each facet.
|
|
10
10
|
*/
|
|
11
11
|
values?: Record<string, Value>;
|
|
12
12
|
};
|
package/dist/model/facets.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Order of facet names.
|
|
3
3
|
*/
|
|
4
4
|
export type Facets = {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Explicit order of facets or facet values. This setting lets you always show specific facets or facet values at the top of the list.
|
|
7
7
|
*/
|
|
8
8
|
order?: string[];
|
|
9
9
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { MatchLevel } from './matchLevel';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Surround words that match the query with HTML tags for highlighting.
|
|
4
4
|
*/
|
|
5
5
|
export type HighlightResultOption = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Highlighted attribute value, including HTML tags.
|
|
8
8
|
*/
|
|
9
9
|
value: string;
|
|
10
10
|
matchLevel: MatchLevel;
|
|
11
11
|
/**
|
|
12
|
-
* List of words from the query
|
|
12
|
+
* List of matched words from the search query.
|
|
13
13
|
*/
|
|
14
14
|
matchedWords: string[];
|
|
15
15
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Treat singular, plurals, and other forms of declensions as equivalent. You should only use this feature for the languages used in your index.
|
|
3
3
|
*/
|
|
4
4
|
export type IgnorePlurals = string[] | boolean;
|
|
5
5
|
//# sourceMappingURL=ignorePlurals.d.ts.map
|