@algolia/recommend 4.14.2 → 5.0.0-alpha.11

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.
Files changed (177) hide show
  1. package/dist/builds/browser.d.ts +6 -0
  2. package/dist/builds/browser.d.ts.map +1 -0
  3. package/dist/builds/node.d.ts +6 -0
  4. package/dist/builds/node.d.ts.map +1 -0
  5. package/dist/model/advancedSyntaxFeatures.d.ts +2 -0
  6. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -0
  7. package/dist/model/alternativesAsExact.d.ts +2 -0
  8. package/dist/model/alternativesAsExact.d.ts.map +1 -0
  9. package/dist/model/aroundRadius.d.ts +6 -0
  10. package/dist/model/aroundRadius.d.ts.map +1 -0
  11. package/dist/model/aroundRadiusAll.d.ts +2 -0
  12. package/dist/model/aroundRadiusAll.d.ts.map +1 -0
  13. package/dist/model/baseRecommendRequest.d.ts +18 -0
  14. package/dist/model/baseRecommendRequest.d.ts.map +1 -0
  15. package/dist/model/baseRecommendationRequest.d.ts +9 -0
  16. package/dist/model/baseRecommendationRequest.d.ts.map +1 -0
  17. package/dist/model/baseSearchParams.d.ts +4 -0
  18. package/dist/model/baseSearchParams.d.ts.map +1 -0
  19. package/dist/model/baseSearchParamsWithoutQuery.d.ts +123 -0
  20. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -0
  21. package/dist/model/baseSearchResponse.d.ts +102 -0
  22. package/dist/model/baseSearchResponse.d.ts.map +1 -0
  23. package/dist/model/baseTrendingRequest.d.ts +13 -0
  24. package/dist/model/baseTrendingRequest.d.ts.map +1 -0
  25. package/dist/model/clientMethodProps.d.ts +61 -0
  26. package/dist/model/clientMethodProps.d.ts.map +1 -0
  27. package/dist/model/distinct.d.ts +5 -0
  28. package/dist/model/distinct.d.ts.map +1 -0
  29. package/dist/model/errorBase.d.ts +7 -0
  30. package/dist/model/errorBase.d.ts.map +1 -0
  31. package/dist/model/exactOnSingleWordQuery.d.ts +5 -0
  32. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -0
  33. package/dist/model/facetFilters.d.ts +6 -0
  34. package/dist/model/facetFilters.d.ts.map +1 -0
  35. package/dist/model/facetOrdering.d.ts +13 -0
  36. package/dist/model/facetOrdering.d.ts.map +1 -0
  37. package/dist/model/facets.d.ts +10 -0
  38. package/dist/model/facets.d.ts.map +1 -0
  39. package/dist/model/facetsStats.d.ts +19 -0
  40. package/dist/model/facetsStats.d.ts.map +1 -0
  41. package/dist/model/getRecommendationsParams.d.ts +11 -0
  42. package/dist/model/getRecommendationsParams.d.ts.map +1 -0
  43. package/dist/model/getRecommendationsResponse.d.ts +5 -0
  44. package/dist/model/getRecommendationsResponse.d.ts.map +1 -0
  45. package/dist/model/highlightResult.d.ts +3 -0
  46. package/dist/model/highlightResult.d.ts.map +1 -0
  47. package/dist/model/highlightResultOption.d.ts +20 -0
  48. package/dist/model/highlightResultOption.d.ts.map +1 -0
  49. package/dist/model/ignorePlurals.d.ts +5 -0
  50. package/dist/model/ignorePlurals.d.ts.map +1 -0
  51. package/dist/model/index.d.ts +54 -0
  52. package/dist/model/index.d.ts.map +1 -0
  53. package/dist/model/indexSettingsAsSearchParams.d.ts +161 -0
  54. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -0
  55. package/dist/model/matchLevel.d.ts +5 -0
  56. package/dist/model/matchLevel.d.ts.map +1 -0
  57. package/dist/model/matchedGeoLocation.d.ts +15 -0
  58. package/dist/model/matchedGeoLocation.d.ts.map +1 -0
  59. package/dist/model/mixedSearchFilters.d.ts +2 -0
  60. package/dist/model/mixedSearchFilters.d.ts.map +1 -0
  61. package/dist/model/numericFilters.d.ts +6 -0
  62. package/dist/model/numericFilters.d.ts.map +1 -0
  63. package/dist/model/optionalFilters.d.ts +6 -0
  64. package/dist/model/optionalFilters.d.ts.map +1 -0
  65. package/dist/model/personalization.d.ts +15 -0
  66. package/dist/model/personalization.d.ts.map +1 -0
  67. package/dist/model/queryType.d.ts +5 -0
  68. package/dist/model/queryType.d.ts.map +1 -0
  69. package/dist/model/rankingInfo.d.ts +51 -0
  70. package/dist/model/rankingInfo.d.ts.map +1 -0
  71. package/dist/model/reRankingApplyFilter.d.ts +6 -0
  72. package/dist/model/reRankingApplyFilter.d.ts.map +1 -0
  73. package/dist/model/recommendHit.d.ts +27 -0
  74. package/dist/model/recommendHit.d.ts.map +1 -0
  75. package/dist/model/recommendHits.d.ts +5 -0
  76. package/dist/model/recommendHits.d.ts.map +1 -0
  77. package/dist/model/recommendationModels.d.ts +5 -0
  78. package/dist/model/recommendationModels.d.ts.map +1 -0
  79. package/dist/model/recommendationRequest.d.ts +4 -0
  80. package/dist/model/recommendationRequest.d.ts.map +1 -0
  81. package/dist/model/recommendationsRequest.d.ts +4 -0
  82. package/dist/model/recommendationsRequest.d.ts.map +1 -0
  83. package/dist/model/recommendationsResponse.d.ts +4 -0
  84. package/dist/model/recommendationsResponse.d.ts.map +1 -0
  85. package/dist/model/removeStopWords.d.ts +5 -0
  86. package/dist/model/removeStopWords.d.ts.map +1 -0
  87. package/dist/model/removeWordsIfNoResults.d.ts +5 -0
  88. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -0
  89. package/dist/model/renderingContent.d.ts +8 -0
  90. package/dist/model/renderingContent.d.ts.map +1 -0
  91. package/dist/model/searchParamsObject.d.ts +4 -0
  92. package/dist/model/searchParamsObject.d.ts.map +1 -0
  93. package/dist/model/searchParamsQuery.d.ts +7 -0
  94. package/dist/model/searchParamsQuery.d.ts.map +1 -0
  95. package/dist/model/snippetResult.d.ts +3 -0
  96. package/dist/model/snippetResult.d.ts.map +1 -0
  97. package/dist/model/snippetResultOption.d.ts +12 -0
  98. package/dist/model/snippetResultOption.d.ts.map +1 -0
  99. package/dist/model/sortRemainingBy.d.ts +5 -0
  100. package/dist/model/sortRemainingBy.d.ts.map +1 -0
  101. package/dist/model/tagFilters.d.ts +6 -0
  102. package/dist/model/tagFilters.d.ts.map +1 -0
  103. package/dist/model/trendingModels.d.ts +5 -0
  104. package/dist/model/trendingModels.d.ts.map +1 -0
  105. package/dist/model/trendingRequest.d.ts +4 -0
  106. package/dist/model/trendingRequest.d.ts.map +1 -0
  107. package/dist/model/typoTolerance.d.ts +6 -0
  108. package/dist/model/typoTolerance.d.ts.map +1 -0
  109. package/dist/model/typoToleranceEnum.d.ts +2 -0
  110. package/dist/model/typoToleranceEnum.d.ts.map +1 -0
  111. package/dist/model/value.d.ts +9 -0
  112. package/dist/model/value.d.ts.map +1 -0
  113. package/dist/recommend.cjs.js +225 -142
  114. package/dist/recommend.esm.browser.js +896 -821
  115. package/dist/recommend.esm.node.js +243 -0
  116. package/dist/recommend.umd.js +2 -2
  117. package/dist/src/recommendClient.d.ts +82 -0
  118. package/dist/src/recommendClient.d.ts.map +1 -0
  119. package/index.d.ts +2 -3
  120. package/index.js +2 -15
  121. package/model/advancedSyntaxFeatures.ts +3 -0
  122. package/model/alternativesAsExact.ts +6 -0
  123. package/model/aroundRadius.ts +8 -0
  124. package/model/aroundRadiusAll.ts +3 -0
  125. package/model/baseRecommendRequest.ts +24 -0
  126. package/model/baseRecommendationRequest.ts +12 -0
  127. package/model/baseSearchParams.ts +6 -0
  128. package/model/baseSearchParamsWithoutQuery.ts +157 -0
  129. package/model/baseSearchResponse.ts +128 -0
  130. package/model/baseTrendingRequest.ts +17 -0
  131. package/model/clientMethodProps.ts +65 -0
  132. package/model/distinct.ts +6 -0
  133. package/model/errorBase.ts +8 -0
  134. package/model/exactOnSingleWordQuery.ts +6 -0
  135. package/model/facetFilters.ts +8 -0
  136. package/model/facetOrdering.ts +16 -0
  137. package/model/facets.ts +11 -0
  138. package/model/facetsStats.ts +23 -0
  139. package/model/getRecommendationsParams.ts +13 -0
  140. package/model/getRecommendationsResponse.ts +7 -0
  141. package/model/highlightResult.ts +5 -0
  142. package/model/highlightResultOption.ts +25 -0
  143. package/model/ignorePlurals.ts +6 -0
  144. package/model/index.ts +55 -0
  145. package/model/indexSettingsAsSearchParams.ts +205 -0
  146. package/model/matchLevel.ts +6 -0
  147. package/model/matchedGeoLocation.ts +18 -0
  148. package/model/mixedSearchFilters.ts +3 -0
  149. package/model/numericFilters.ts +8 -0
  150. package/model/optionalFilters.ts +8 -0
  151. package/model/personalization.ts +18 -0
  152. package/model/queryType.ts +6 -0
  153. package/model/rankingInfo.ts +65 -0
  154. package/model/reRankingApplyFilter.ts +8 -0
  155. package/model/recommendHit.ts +34 -0
  156. package/model/recommendHits.ts +7 -0
  157. package/model/recommendationModels.ts +6 -0
  158. package/model/recommendationRequest.ts +7 -0
  159. package/model/recommendationsRequest.ts +6 -0
  160. package/model/recommendationsResponse.ts +6 -0
  161. package/model/removeStopWords.ts +6 -0
  162. package/model/removeWordsIfNoResults.ts +10 -0
  163. package/model/renderingContent.ts +10 -0
  164. package/model/searchParamsObject.ts +6 -0
  165. package/model/searchParamsQuery.ts +8 -0
  166. package/model/snippetResult.ts +5 -0
  167. package/model/snippetResultOption.ts +15 -0
  168. package/model/sortRemainingBy.ts +6 -0
  169. package/model/tagFilters.ts +8 -0
  170. package/model/trendingModels.ts +6 -0
  171. package/model/trendingRequest.ts +6 -0
  172. package/model/typoTolerance.ts +8 -0
  173. package/model/typoToleranceEnum.ts +3 -0
  174. package/model/value.ts +12 -0
  175. package/package.json +40 -24
  176. package/README.md +0 -76
  177. package/dist/recommend.d.ts +0 -162
@@ -0,0 +1,6 @@
1
+ import type { ClientOptions } from '@algolia/client-common';
2
+ import type { RecommendClient } from '../src/recommendClient';
3
+ export { apiClientVersion, RecommendClient } from '../src/recommendClient';
4
+ export * from '../model';
5
+ export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): RecommendClient;
6
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../builds/browser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAe5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CA8BjB"}
@@ -0,0 +1,6 @@
1
+ import type { ClientOptions } from '@algolia/client-common';
2
+ import type { RecommendClient } from '../src/recommendClient';
3
+ export { apiClientVersion, RecommendClient } from '../src/recommendClient';
4
+ export * from '../model';
5
+ export declare function recommendClient(appId: string, apiKey: string, options?: ClientOptions): RecommendClient;
6
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../builds/node.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAW5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC3E,cAAc,UAAU,CAAC;AAEzB,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAwBjB"}
@@ -0,0 +1,2 @@
1
+ export declare type AdvancedSyntaxFeatures = 'exactPhrase' | 'excludeWords';
2
+ //# sourceMappingURL=advancedSyntaxFeatures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advancedSyntaxFeatures.d.ts","sourceRoot":"","sources":["../../model/advancedSyntaxFeatures.ts"],"names":[],"mappings":"AAEA,oBAAY,sBAAsB,GAAG,aAAa,GAAG,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare type AlternativesAsExact = 'ignorePlurals' | 'multiWordsSynonym' | 'singleWordSynonym';
2
+ //# sourceMappingURL=alternativesAsExact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alternativesAsExact.d.ts","sourceRoot":"","sources":["../../model/alternativesAsExact.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB,GAC3B,eAAe,GACf,mBAAmB,GACnB,mBAAmB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { AroundRadiusAll } from './aroundRadiusAll';
2
+ /**
3
+ * Define the maximum radius for a geo search (in meters).
4
+ */
5
+ export declare type AroundRadius = AroundRadiusAll | number;
6
+ //# sourceMappingURL=aroundRadius.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aroundRadius.d.ts","sourceRoot":"","sources":["../../model/aroundRadius.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,oBAAY,YAAY,GAAG,eAAe,GAAG,MAAM,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare type AroundRadiusAll = 'all';
2
+ //# sourceMappingURL=aroundRadiusAll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aroundRadiusAll.d.ts","sourceRoot":"","sources":["../../model/aroundRadiusAll.ts"],"names":[],"mappings":"AAEA,oBAAY,eAAe,GAAG,KAAK,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { SearchParamsObject } from './searchParamsObject';
2
+ export declare type BaseRecommendRequest = {
3
+ /**
4
+ * The Algolia index name.
5
+ */
6
+ indexName: string;
7
+ /**
8
+ * The threshold to use when filtering recommendations by their score.
9
+ */
10
+ threshold: number;
11
+ /**
12
+ * The max number of recommendations to retrieve. If it\'s set to 0, all the recommendations of the objectID may be returned.
13
+ */
14
+ maxRecommendations?: number;
15
+ queryParameters?: SearchParamsObject;
16
+ fallbackParameters?: SearchParamsObject;
17
+ };
18
+ //# sourceMappingURL=baseRecommendRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseRecommendRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,oBAAY,oBAAoB,GAAG;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { RecommendationModels } from './recommendationModels';
2
+ export declare type BaseRecommendationRequest = {
3
+ model: RecommendationModels;
4
+ /**
5
+ * Unique identifier of the object.
6
+ */
7
+ objectID: string;
8
+ };
9
+ //# sourceMappingURL=baseRecommendationRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseRecommendationRequest.d.ts","sourceRoot":"","sources":["../../model/baseRecommendationRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,oBAAY,yBAAyB,GAAG;IACtC,KAAK,EAAE,oBAAoB,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
+ import type { SearchParamsQuery } from './searchParamsQuery';
3
+ export declare type BaseSearchParams = BaseSearchParamsWithoutQuery & SearchParamsQuery;
4
+ //# sourceMappingURL=baseSearchParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseSearchParams.d.ts","sourceRoot":"","sources":["../../model/baseSearchParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,oBAAY,gBAAgB,GAAG,4BAA4B,GAAG,iBAAiB,CAAC"}
@@ -0,0 +1,123 @@
1
+ import type { AroundRadius } from './aroundRadius';
2
+ import type { FacetFilters } from './facetFilters';
3
+ import type { NumericFilters } from './numericFilters';
4
+ import type { OptionalFilters } from './optionalFilters';
5
+ import type { ReRankingApplyFilter } from './reRankingApplyFilter';
6
+ import type { TagFilters } from './tagFilters';
7
+ export declare type BaseSearchParamsWithoutQuery = {
8
+ /**
9
+ * Overrides the query parameter and performs a more generic search that can be used to find \"similar\" results.
10
+ */
11
+ similarQuery?: string;
12
+ /**
13
+ * Filter the query with numeric, facet and/or tag filters.
14
+ */
15
+ filters?: string;
16
+ facetFilters?: FacetFilters;
17
+ optionalFilters?: OptionalFilters;
18
+ numericFilters?: NumericFilters;
19
+ tagFilters?: TagFilters;
20
+ /**
21
+ * Determines how to calculate the total score for filtering.
22
+ */
23
+ sumOrFiltersScores?: boolean;
24
+ /**
25
+ * Retrieve facets and their facet values.
26
+ */
27
+ facets?: string[];
28
+ /**
29
+ * Maximum number of facet values to return for each facet during a regular search.
30
+ */
31
+ maxValuesPerFacet?: number;
32
+ /**
33
+ * Force faceting to be applied after de-duplication (via the Distinct setting).
34
+ */
35
+ facetingAfterDistinct?: boolean;
36
+ /**
37
+ * Controls how facet values are fetched.
38
+ */
39
+ sortFacetValuesBy?: string;
40
+ /**
41
+ * Specify the page to retrieve.
42
+ */
43
+ page?: number;
44
+ /**
45
+ * Specify the offset of the first hit to return.
46
+ */
47
+ offset?: number;
48
+ /**
49
+ * Set the number of hits to retrieve (used only with offset).
50
+ */
51
+ length?: number;
52
+ /**
53
+ * Search for entries around a central geolocation, enabling a geo search within a circular area.
54
+ */
55
+ aroundLatLng?: string;
56
+ /**
57
+ * Search for entries around a given location automatically computed from the requester\'s IP address.
58
+ */
59
+ aroundLatLngViaIP?: boolean;
60
+ aroundRadius?: AroundRadius;
61
+ /**
62
+ * Precision of geo search (in meters), to add grouping by geo location to the ranking formula.
63
+ */
64
+ aroundPrecision?: number;
65
+ /**
66
+ * Minimum radius (in meters) used for a geo search when aroundRadius is not set.
67
+ */
68
+ minimumAroundRadius?: number;
69
+ /**
70
+ * Search inside a rectangular area (in geo coordinates).
71
+ */
72
+ insideBoundingBox?: number[];
73
+ /**
74
+ * Search inside a polygon (in geo coordinates).
75
+ */
76
+ insidePolygon?: number[];
77
+ /**
78
+ * This parameter changes the default values of certain parameters and settings that work best for a natural language query, such as ignorePlurals, removeStopWords, removeWordsIfNoResults, analyticsTags and ruleContexts. These parameters and settings work well together when the query is formatted in natural language instead of keywords, for example when your user performs a voice search.
79
+ */
80
+ naturalLanguages?: string[];
81
+ /**
82
+ * Enables contextual rules.
83
+ */
84
+ ruleContexts?: string[];
85
+ /**
86
+ * Define the impact of the Personalization feature.
87
+ */
88
+ personalizationImpact?: number;
89
+ /**
90
+ * Associates a certain user token with the current search.
91
+ */
92
+ userToken?: string;
93
+ /**
94
+ * Retrieve detailed ranking information.
95
+ */
96
+ getRankingInfo?: boolean;
97
+ /**
98
+ * Enable the Click Analytics feature.
99
+ */
100
+ clickAnalytics?: boolean;
101
+ /**
102
+ * Whether the current query will be taken into account in the Analytics.
103
+ */
104
+ analytics?: boolean;
105
+ /**
106
+ * List of tags to apply to the query for analytics purposes.
107
+ */
108
+ analyticsTags?: string[];
109
+ /**
110
+ * Whether to include or exclude a query from the processing-time percentile computation.
111
+ */
112
+ percentileComputation?: boolean;
113
+ /**
114
+ * Whether this search should participate in running AB tests.
115
+ */
116
+ enableABTest?: boolean;
117
+ /**
118
+ * Whether this search should use AI Re-Ranking.
119
+ */
120
+ enableReRanking?: boolean;
121
+ reRankingApplyFilter?: ReRankingApplyFilter | null;
122
+ };
123
+ //# sourceMappingURL=baseSearchParamsWithoutQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseSearchParamsWithoutQuery.d.ts","sourceRoot":"","sources":["../../model/baseSearchParamsWithoutQuery.ts"],"names":[],"mappings":"AAEA,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,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,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,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;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;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAE7B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB;;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,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;IAEvB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACpD,CAAC"}
@@ -0,0 +1,102 @@
1
+ import type { FacetsStats } from './facetsStats';
2
+ import type { RenderingContent } from './renderingContent';
3
+ export declare type BaseSearchResponse = {
4
+ /**
5
+ * If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
6
+ */
7
+ abTestID?: number;
8
+ /**
9
+ * If a search encounters an index that is being A/B tested, abTestVariantID reports the variant ID of the index used (starting at 1).
10
+ */
11
+ abTestVariantID?: number;
12
+ /**
13
+ * The computed geo location.
14
+ */
15
+ aroundLatLng?: string;
16
+ /**
17
+ * The automatically computed radius. For legacy reasons, this parameter is a string and not an integer.
18
+ */
19
+ automaticRadius?: string;
20
+ /**
21
+ * Whether the facet count is exhaustive or approximate.
22
+ */
23
+ exhaustiveFacetsCount?: boolean;
24
+ /**
25
+ * Indicate if the nbHits count was exhaustive or approximate.
26
+ */
27
+ exhaustiveNbHits: boolean;
28
+ /**
29
+ * Indicate if the typo-tolerance search was exhaustive or approximate (only included when typo-tolerance is enabled).
30
+ */
31
+ exhaustiveTypo?: boolean;
32
+ /**
33
+ * A mapping of each facet name to the corresponding facet counts.
34
+ */
35
+ facets?: Record<string, Record<string, number>>;
36
+ /**
37
+ * Statistics for numerical facets.
38
+ */
39
+ facets_stats?: Record<string, FacetsStats>;
40
+ /**
41
+ * Set the number of hits per page.
42
+ */
43
+ hitsPerPage: number;
44
+ /**
45
+ * Index name used for the query.
46
+ */
47
+ index?: string;
48
+ /**
49
+ * Index name used for the query. In the case of an A/B test, the targeted index isn\'t always the index used by the query.
50
+ */
51
+ indexUsed?: string;
52
+ /**
53
+ * Used to return warnings about the query.
54
+ */
55
+ message?: string;
56
+ /**
57
+ * Number of hits that the search query matched.
58
+ */
59
+ nbHits: number;
60
+ /**
61
+ * Number of pages available for the current query.
62
+ */
63
+ nbPages: number;
64
+ /**
65
+ * The number of hits selected and sorted by the relevant sort algorithm.
66
+ */
67
+ nbSortedHits?: number;
68
+ /**
69
+ * Specify the page to retrieve.
70
+ */
71
+ page: number;
72
+ /**
73
+ * A url-encoded string of all search parameters.
74
+ */
75
+ params: string;
76
+ /**
77
+ * The query string that will be searched, after normalization.
78
+ */
79
+ parsedQuery?: string;
80
+ /**
81
+ * Time the server took to process the request, in milliseconds.
82
+ */
83
+ processingTimeMS: number;
84
+ /**
85
+ * The text to search in the index.
86
+ */
87
+ query: string;
88
+ /**
89
+ * A markup text indicating which parts of the original query have been removed in order to retrieve a non-empty result set.
90
+ */
91
+ queryAfterRemoval?: string;
92
+ /**
93
+ * Actual host name of the server that processed the request.
94
+ */
95
+ serverUsed?: string;
96
+ /**
97
+ * Lets you store custom data in your indices.
98
+ */
99
+ userData?: Record<string, any>;
100
+ renderingContent?: RenderingContent;
101
+ };
102
+ //# sourceMappingURL=baseSearchResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseSearchResponse.d.ts","sourceRoot":"","sources":["../../model/baseSearchResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,oBAAY,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAEhD;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAE3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAE/B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { TrendingModels } from './trendingModels';
2
+ export declare type BaseTrendingRequest = {
3
+ model: TrendingModels;
4
+ /**
5
+ * The facet name to use for trending models.
6
+ */
7
+ facetName?: string;
8
+ /**
9
+ * The facet value to use for trending models.
10
+ */
11
+ facetValue?: string;
12
+ };
13
+ //# sourceMappingURL=baseTrendingRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseTrendingRequest.d.ts","sourceRoot":"","sources":["../../model/baseTrendingRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,oBAAY,mBAAmB,GAAG;IAChC,KAAK,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Properties for the `del` method.
3
+ */
4
+ export declare type DelProps = {
5
+ /**
6
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
7
+ */
8
+ path: string;
9
+ /**
10
+ * Query parameters to be applied to the current query.
11
+ */
12
+ parameters?: Record<string, any>;
13
+ };
14
+ /**
15
+ * Properties for the `get` method.
16
+ */
17
+ export declare type GetProps = {
18
+ /**
19
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
20
+ */
21
+ path: string;
22
+ /**
23
+ * Query parameters to be applied to the current query.
24
+ */
25
+ parameters?: Record<string, any>;
26
+ };
27
+ /**
28
+ * Properties for the `post` method.
29
+ */
30
+ export declare type PostProps = {
31
+ /**
32
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
33
+ */
34
+ path: string;
35
+ /**
36
+ * Query parameters to be applied to the current query.
37
+ */
38
+ parameters?: Record<string, any>;
39
+ /**
40
+ * The parameters to send with the custom request.
41
+ */
42
+ body?: Record<string, any>;
43
+ };
44
+ /**
45
+ * Properties for the `put` method.
46
+ */
47
+ export declare type PutProps = {
48
+ /**
49
+ * The path of the API endpoint to target, anything after the /1 needs to be specified.
50
+ */
51
+ path: string;
52
+ /**
53
+ * Query parameters to be applied to the current query.
54
+ */
55
+ parameters?: Record<string, any>;
56
+ /**
57
+ * The parameters to send with the custom request.
58
+ */
59
+ body?: Record<string, any>;
60
+ };
61
+ //# sourceMappingURL=clientMethodProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientMethodProps.d.ts","sourceRoot":"","sources":["../../model/clientMethodProps.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,oBAAY,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC,CAAC;AAEF;;GAEG;AACH,oBAAY,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,oBAAY,QAAQ,GAAG;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Enables de-duplication or grouping of results.
3
+ */
4
+ export declare type Distinct = boolean | number;
5
+ //# sourceMappingURL=distinct.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"distinct.d.ts","sourceRoot":"","sources":["../../model/distinct.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Error.
3
+ */
4
+ export declare type ErrorBase = Record<string, any> & {
5
+ message?: string;
6
+ };
7
+ //# sourceMappingURL=errorBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorBase.d.ts","sourceRoot":"","sources":["../../model/errorBase.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Controls how the exact ranking criterion is computed when the query contains only one word.
3
+ */
4
+ export declare type ExactOnSingleWordQuery = 'attribute' | 'none' | 'word';
5
+ //# sourceMappingURL=exactOnSingleWordQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exactOnSingleWordQuery.d.ts","sourceRoot":"","sources":["../../model/exactOnSingleWordQuery.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,sBAAsB,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { MixedSearchFilters } from './mixedSearchFilters';
2
+ /**
3
+ * Filter hits by facet value.
4
+ */
5
+ export declare type FacetFilters = MixedSearchFilters[] | string;
6
+ //# sourceMappingURL=facetFilters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facetFilters.d.ts","sourceRoot":"","sources":["../../model/facetFilters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,oBAAY,YAAY,GAAG,kBAAkB,EAAE,GAAG,MAAM,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Facets } from './facets';
2
+ import type { Value } from './value';
3
+ /**
4
+ * Defining how facets should be ordered.
5
+ */
6
+ export declare type FacetOrdering = {
7
+ facets?: Facets;
8
+ /**
9
+ * The ordering of facet values, within an individual list.
10
+ */
11
+ values?: Record<string, Value>;
12
+ };
13
+ //# sourceMappingURL=facetOrdering.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facetOrdering.d.ts","sourceRoot":"","sources":["../../model/facetOrdering.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,oBAAY,aAAa,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;CAChC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The ordering of facets (widgets).
3
+ */
4
+ export declare type Facets = {
5
+ /**
6
+ * Pinned order of facet lists.
7
+ */
8
+ order?: string[];
9
+ };
10
+ //# sourceMappingURL=facets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facets.d.ts","sourceRoot":"","sources":["../../model/facets.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,MAAM,GAAG;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC"}
@@ -0,0 +1,19 @@
1
+ export declare type FacetsStats = {
2
+ /**
3
+ * The minimum value in the result set.
4
+ */
5
+ min?: number;
6
+ /**
7
+ * The maximum value in the result set.
8
+ */
9
+ max?: number;
10
+ /**
11
+ * The average facet value in the result set.
12
+ */
13
+ avg?: number;
14
+ /**
15
+ * The sum of all values in the result set.
16
+ */
17
+ sum?: number;
18
+ };
19
+ //# sourceMappingURL=facetsStats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facetsStats.d.ts","sourceRoot":"","sources":["../../model/facetsStats.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW,GAAG;IACxB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { RecommendationsRequest } from './recommendationsRequest';
2
+ /**
3
+ * The `getRecommendations` parameters.
4
+ */
5
+ export declare type GetRecommendationsParams = {
6
+ /**
7
+ * The `getRecommendations` requests.
8
+ */
9
+ requests: RecommendationsRequest[];
10
+ };
11
+ //# sourceMappingURL=getRecommendationsParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRecommendationsParams.d.ts","sourceRoot":"","sources":["../../model/getRecommendationsParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE;;GAEG;AACH,oBAAY,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,sBAAsB,EAAE,CAAC;CACpC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { RecommendationsResponse } from './recommendationsResponse';
2
+ export declare type GetRecommendationsResponse = {
3
+ results?: RecommendationsResponse[];
4
+ };
5
+ //# sourceMappingURL=getRecommendationsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRecommendationsResponse.d.ts","sourceRoot":"","sources":["../../model/getRecommendationsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEzE,oBAAY,0BAA0B,GAAG;IACvC,OAAO,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACrC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { HighlightResultOption } from './highlightResultOption';
2
+ export declare type HighlightResult = HighlightResultOption | HighlightResultOption[];
3
+ //# sourceMappingURL=highlightResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightResult.d.ts","sourceRoot":"","sources":["../../model/highlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAErE,oBAAY,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { MatchLevel } from './matchLevel';
2
+ /**
3
+ * Show highlighted section and words matched on a query.
4
+ */
5
+ export declare type HighlightResultOption = {
6
+ /**
7
+ * Markup text with occurrences highlighted.
8
+ */
9
+ value: string;
10
+ matchLevel: MatchLevel;
11
+ /**
12
+ * List of words from the query that matched the object.
13
+ */
14
+ matchedWords: string[];
15
+ /**
16
+ * Whether the entire attribute value is highlighted.
17
+ */
18
+ fullyHighlighted?: boolean;
19
+ };
20
+ //# sourceMappingURL=highlightResultOption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"highlightResultOption.d.ts","sourceRoot":"","sources":["../../model/highlightResultOption.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,oBAAY,qBAAqB,GAAG;IAClC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Treats singular, plurals, and other forms of declensions as matching terms. IgnorePlurals is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the ignore plurals functionality, where singulars and plurals are considered equivalent (foot = feet). The languages supported here are either every language (this is the default, see list of languages below), or those set by queryLanguages. False: disables ignore plurals, where singulars and plurals are not considered the same for matching purposes (foot will not find feet).
3
+ */
4
+ export declare type IgnorePlurals = string[] | boolean;
5
+ //# sourceMappingURL=ignorePlurals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ignorePlurals.d.ts","sourceRoot":"","sources":["../../model/ignorePlurals.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,aAAa,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC"}