@algolia/client-search 5.0.0-alpha.5 → 5.0.0-alpha.50

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 (201) hide show
  1. package/dist/builds/browser.d.ts.map +1 -1
  2. package/dist/builds/node.d.ts.map +1 -1
  3. package/dist/client-search.cjs.js +20 -17
  4. package/dist/client-search.esm.browser.js +79 -130
  5. package/dist/client-search.esm.node.js +20 -17
  6. package/dist/client-search.umd.js +2 -2
  7. package/dist/model/acl.d.ts.map +1 -1
  8. package/dist/model/action.d.ts.map +1 -1
  9. package/dist/model/addApiKeyResponse.d.ts.map +1 -1
  10. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  11. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  12. package/dist/model/anchoring.d.ts.map +1 -1
  13. package/dist/model/apiKey.d.ts.map +1 -1
  14. package/dist/model/aroundRadius.d.ts.map +1 -1
  15. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  16. package/dist/model/assignUserIdParams.d.ts.map +1 -1
  17. package/dist/model/attributeToUpdate.d.ts.map +1 -1
  18. package/dist/model/automaticFacetFilter.d.ts.map +1 -1
  19. package/dist/model/automaticFacetFilters.d.ts.map +1 -1
  20. package/dist/model/baseGetApiKeyResponse.d.ts.map +1 -1
  21. package/dist/model/baseIndexSettings.d.ts +4 -0
  22. package/dist/model/baseIndexSettings.d.ts.map +1 -1
  23. package/dist/model/baseSearchParams.d.ts.map +1 -1
  24. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  25. package/dist/model/baseSearchResponse.d.ts +1 -1
  26. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  27. package/dist/model/batchAssignUserIdsParams.d.ts.map +1 -1
  28. package/dist/model/batchDictionaryEntriesParams.d.ts.map +1 -1
  29. package/dist/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
  30. package/dist/model/batchParams.d.ts.map +1 -1
  31. package/dist/model/batchRequest.d.ts +2 -2
  32. package/dist/model/batchRequest.d.ts.map +1 -1
  33. package/dist/model/batchResponse.d.ts.map +1 -1
  34. package/dist/model/batchWriteParams.d.ts +1 -1
  35. package/dist/model/batchWriteParams.d.ts.map +1 -1
  36. package/dist/model/browseParams.d.ts +4 -0
  37. package/dist/model/browseParams.d.ts.map +1 -0
  38. package/dist/model/browseParamsObject.d.ts +4 -0
  39. package/dist/model/browseParamsObject.d.ts.map +1 -0
  40. package/dist/model/browseResponse.d.ts +2 -2
  41. package/dist/model/browseResponse.d.ts.map +1 -1
  42. package/dist/model/builtInOperation.d.ts.map +1 -1
  43. package/dist/model/builtInOperationType.d.ts.map +1 -1
  44. package/dist/model/clientMethodProps.d.ts +4 -3
  45. package/dist/model/clientMethodProps.d.ts.map +1 -1
  46. package/dist/model/condition.d.ts.map +1 -1
  47. package/dist/model/consequence.d.ts.map +1 -1
  48. package/dist/model/consequenceHide.d.ts.map +1 -1
  49. package/dist/model/consequenceParams.d.ts.map +1 -1
  50. package/dist/model/consequenceQuery.d.ts.map +1 -1
  51. package/dist/model/consequenceQueryObject.d.ts.map +1 -1
  52. package/dist/model/createdAtResponse.d.ts.map +1 -1
  53. package/dist/model/{baseBrowseResponse.d.ts → cursor.d.ts} +3 -3
  54. package/dist/model/cursor.d.ts.map +1 -0
  55. package/dist/model/deleteApiKeyResponse.d.ts.map +1 -1
  56. package/dist/model/deleteByParams.d.ts +27 -0
  57. package/dist/model/deleteByParams.d.ts.map +1 -0
  58. package/dist/model/deleteSourceResponse.d.ts.map +1 -1
  59. package/dist/model/deletedAtResponse.d.ts.map +1 -1
  60. package/dist/model/dictionaryAction.d.ts.map +1 -1
  61. package/dist/model/dictionaryEntry.d.ts.map +1 -1
  62. package/dist/model/dictionaryEntryState.d.ts.map +1 -1
  63. package/dist/model/dictionaryLanguage.d.ts.map +1 -1
  64. package/dist/model/dictionarySettingsParams.d.ts.map +1 -1
  65. package/dist/model/dictionaryType.d.ts.map +1 -1
  66. package/dist/model/distinct.d.ts.map +1 -1
  67. package/dist/model/edit.d.ts.map +1 -1
  68. package/dist/model/editType.d.ts.map +1 -1
  69. package/dist/model/errorBase.d.ts.map +1 -1
  70. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  71. package/dist/model/facetFilters.d.ts.map +1 -1
  72. package/dist/model/facetHits.d.ts.map +1 -1
  73. package/dist/model/facetOrdering.d.ts.map +1 -1
  74. package/dist/model/facets.d.ts.map +1 -1
  75. package/dist/model/facetsStats.d.ts.map +1 -1
  76. package/dist/model/fetchedIndex.d.ts +1 -1
  77. package/dist/model/fetchedIndex.d.ts.map +1 -1
  78. package/dist/model/getApiKeyResponse.d.ts.map +1 -1
  79. package/dist/model/getDictionarySettingsResponse.d.ts.map +1 -1
  80. package/dist/model/getLogsResponse.d.ts.map +1 -1
  81. package/dist/model/getObjectsParams.d.ts.map +1 -1
  82. package/dist/model/getObjectsRequest.d.ts.map +1 -1
  83. package/dist/model/getObjectsResponse.d.ts.map +1 -1
  84. package/dist/model/getTaskResponse.d.ts.map +1 -1
  85. package/dist/model/getTopUserIdsResponse.d.ts.map +1 -1
  86. package/dist/model/hasPendingMappingsResponse.d.ts.map +1 -1
  87. package/dist/model/highlightResult.d.ts.map +1 -1
  88. package/dist/model/highlightResultOption.d.ts.map +1 -1
  89. package/dist/model/hit.d.ts.map +1 -1
  90. package/dist/model/ignorePlurals.d.ts.map +1 -1
  91. package/dist/model/index.d.ts +4 -3
  92. package/dist/model/index.d.ts.map +1 -1
  93. package/dist/model/indexSettings.d.ts.map +1 -1
  94. package/dist/model/indexSettingsAsSearchParams.d.ts +4 -4
  95. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  96. package/dist/model/languages.d.ts.map +1 -1
  97. package/dist/model/listApiKeysResponse.d.ts.map +1 -1
  98. package/dist/model/listClustersResponse.d.ts.map +1 -1
  99. package/dist/model/listIndicesResponse.d.ts.map +1 -1
  100. package/dist/model/listUserIdsResponse.d.ts.map +1 -1
  101. package/dist/model/log.d.ts.map +1 -1
  102. package/dist/model/logQuery.d.ts.map +1 -1
  103. package/dist/model/logType.d.ts.map +1 -1
  104. package/dist/model/matchLevel.d.ts.map +1 -1
  105. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  106. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  107. package/dist/model/multipleBatchRequest.d.ts.map +1 -1
  108. package/dist/model/multipleBatchResponse.d.ts.map +1 -1
  109. package/dist/model/numericFilters.d.ts.map +1 -1
  110. package/dist/model/operationIndexParams.d.ts.map +1 -1
  111. package/dist/model/operationType.d.ts.map +1 -1
  112. package/dist/model/optionalFilters.d.ts.map +1 -1
  113. package/dist/model/params.d.ts.map +1 -1
  114. package/dist/model/personalization.d.ts.map +1 -1
  115. package/dist/model/promote.d.ts.map +1 -1
  116. package/dist/model/promoteObjectID.d.ts.map +1 -1
  117. package/dist/model/promoteObjectIDs.d.ts.map +1 -1
  118. package/dist/model/queryType.d.ts.map +1 -1
  119. package/dist/model/rankingInfo.d.ts.map +1 -1
  120. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  121. package/dist/model/removeStopWords.d.ts.map +1 -1
  122. package/dist/model/removeUserIdResponse.d.ts.map +1 -1
  123. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  124. package/dist/model/renderingContent.d.ts.map +1 -1
  125. package/dist/model/replaceSourceResponse.d.ts.map +1 -1
  126. package/dist/model/rule.d.ts.map +1 -1
  127. package/dist/model/saveObjectResponse.d.ts.map +1 -1
  128. package/dist/model/saveSynonymResponse.d.ts.map +1 -1
  129. package/dist/model/scopeType.d.ts.map +1 -1
  130. package/dist/model/searchDictionaryEntriesParams.d.ts.map +1 -1
  131. package/dist/model/searchForFacetValuesRequest.d.ts.map +1 -1
  132. package/dist/model/searchForFacetValuesResponse.d.ts.map +1 -1
  133. package/dist/model/searchForFacets.d.ts.map +1 -1
  134. package/dist/model/searchForFacetsOptions.d.ts.map +1 -1
  135. package/dist/model/searchForHits.d.ts.map +1 -1
  136. package/dist/model/searchForHitsOptions.d.ts.map +1 -1
  137. package/dist/model/searchHits.d.ts.map +1 -1
  138. package/dist/model/searchMethodParams.d.ts.map +1 -1
  139. package/dist/model/searchParams.d.ts.map +1 -1
  140. package/dist/model/searchParamsObject.d.ts.map +1 -1
  141. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  142. package/dist/model/searchParamsString.d.ts.map +1 -1
  143. package/dist/model/searchQuery.d.ts.map +1 -1
  144. package/dist/model/searchResponse.d.ts.map +1 -1
  145. package/dist/model/searchResponses.d.ts.map +1 -1
  146. package/dist/model/searchRulesParams.d.ts +1 -1
  147. package/dist/model/searchRulesParams.d.ts.map +1 -1
  148. package/dist/model/searchRulesResponse.d.ts.map +1 -1
  149. package/dist/model/searchStrategy.d.ts.map +1 -1
  150. package/dist/model/searchSynonymsParams.d.ts.map +1 -1
  151. package/dist/model/searchSynonymsResponse.d.ts.map +1 -1
  152. package/dist/model/searchTypeDefault.d.ts.map +1 -1
  153. package/dist/model/searchTypeFacet.d.ts.map +1 -1
  154. package/dist/model/searchUserIdsParams.d.ts.map +1 -1
  155. package/dist/model/searchUserIdsResponse.d.ts.map +1 -1
  156. package/dist/model/snippetResult.d.ts.map +1 -1
  157. package/dist/model/snippetResultOption.d.ts.map +1 -1
  158. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  159. package/dist/model/source.d.ts.map +1 -1
  160. package/dist/model/standardEntries.d.ts.map +1 -1
  161. package/dist/model/synonymHit.d.ts +0 -2
  162. package/dist/model/synonymHit.d.ts.map +1 -1
  163. package/dist/model/synonymType.d.ts.map +1 -1
  164. package/dist/model/tagFilters.d.ts.map +1 -1
  165. package/dist/model/taskStatus.d.ts.map +1 -1
  166. package/dist/model/timeRange.d.ts.map +1 -1
  167. package/dist/model/typoTolerance.d.ts.map +1 -1
  168. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  169. package/dist/model/updateApiKeyResponse.d.ts.map +1 -1
  170. package/dist/model/updatedAtResponse.d.ts.map +1 -1
  171. package/dist/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
  172. package/dist/model/updatedRuleResponse.d.ts.map +1 -1
  173. package/dist/model/userHighlightResult.d.ts.map +1 -1
  174. package/dist/model/userHit.d.ts.map +1 -1
  175. package/dist/model/userId.d.ts.map +1 -1
  176. package/dist/model/value.d.ts.map +1 -1
  177. package/dist/src/searchClient.d.ts +11 -11
  178. package/dist/src/searchClient.d.ts.map +1 -1
  179. package/model/baseIndexSettings.ts +5 -0
  180. package/model/baseSearchResponse.ts +1 -1
  181. package/model/batchRequest.ts +2 -2
  182. package/model/batchWriteParams.ts +1 -1
  183. package/model/browseParams.ts +6 -0
  184. package/model/browseParamsObject.ts +6 -0
  185. package/model/browseResponse.ts +3 -3
  186. package/model/clientMethodProps.ts +4 -3
  187. package/model/{baseBrowseResponse.ts → cursor.ts} +2 -2
  188. package/model/deleteByParams.ts +36 -0
  189. package/model/fetchedIndex.ts +1 -1
  190. package/model/index.ts +4 -3
  191. package/model/indexSettingsAsSearchParams.ts +5 -5
  192. package/model/searchRulesParams.ts +1 -1
  193. package/model/synonymHit.ts +0 -3
  194. package/package.json +31 -13
  195. package/dist/model/baseBrowseResponse.d.ts.map +0 -1
  196. package/dist/model/browseRequest.d.ts +0 -11
  197. package/dist/model/browseRequest.d.ts.map +0 -1
  198. package/dist/model/synonymHitHighlightResult.d.ts +0 -12
  199. package/dist/model/synonymHitHighlightResult.d.ts.map +0 -1
  200. package/model/browseRequest.ts +0 -13
  201. package/model/synonymHitHighlightResult.ts +0 -15
@@ -0,0 +1,36 @@
1
+ // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
+
3
+ import type { AroundRadius } from './aroundRadius';
4
+ import type { FacetFilters } from './facetFilters';
5
+ import type { NumericFilters } from './numericFilters';
6
+ import type { TagFilters } from './tagFilters';
7
+
8
+ export type DeleteByParams = {
9
+ facetFilters?: FacetFilters;
10
+
11
+ /**
12
+ * Filter the query with numeric, facet and/or tag filters.
13
+ */
14
+ filters?: string;
15
+
16
+ numericFilters?: NumericFilters;
17
+
18
+ tagFilters?: TagFilters;
19
+
20
+ /**
21
+ * Search for entries around a central geolocation, enabling a geo search within a circular area.
22
+ */
23
+ aroundLatLng?: string;
24
+
25
+ aroundRadius?: AroundRadius;
26
+
27
+ /**
28
+ * Search inside a rectangular area (in geo coordinates).
29
+ */
30
+ insideBoundingBox?: number[];
31
+
32
+ /**
33
+ * Search inside a polygon (in geo coordinates).
34
+ */
35
+ insidePolygon?: number[];
36
+ };
@@ -39,7 +39,7 @@ export type FetchedIndex = {
39
39
  /**
40
40
  * Number of pending indexing operations. This value is deprecated and should not be used.
41
41
  */
42
- numberOfPendingTask?: number;
42
+ numberOfPendingTasks: number;
43
43
 
44
44
  /**
45
45
  * A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
package/model/index.ts CHANGED
@@ -13,7 +13,6 @@ export * from './assignUserIdParams';
13
13
  export * from './attributeToUpdate';
14
14
  export * from './automaticFacetFilter';
15
15
  export * from './automaticFacetFilters';
16
- export * from './baseBrowseResponse';
17
16
  export * from './baseGetApiKeyResponse';
18
17
  export * from './baseIndexSettings';
19
18
  export * from './baseSearchParams';
@@ -26,7 +25,8 @@ export * from './batchParams';
26
25
  export * from './batchRequest';
27
26
  export * from './batchResponse';
28
27
  export * from './batchWriteParams';
29
- export * from './browseRequest';
28
+ export * from './browseParams';
29
+ export * from './browseParamsObject';
30
30
  export * from './browseResponse';
31
31
  export * from './builtInOperation';
32
32
  export * from './builtInOperationType';
@@ -37,7 +37,9 @@ export * from './consequenceParams';
37
37
  export * from './consequenceQuery';
38
38
  export * from './consequenceQueryObject';
39
39
  export * from './createdAtResponse';
40
+ export * from './cursor';
40
41
  export * from './deleteApiKeyResponse';
42
+ export * from './deleteByParams';
41
43
  export * from './deleteSourceResponse';
42
44
  export * from './deletedAtResponse';
43
45
  export * from './dictionaryAction';
@@ -137,7 +139,6 @@ export * from './sortRemainingBy';
137
139
  export * from './source';
138
140
  export * from './standardEntries';
139
141
  export * from './synonymHit';
140
- export * from './synonymHitHighlightResult';
141
142
  export * from './synonymType';
142
143
  export * from './tagFilters';
143
144
  export * from './taskStatus';
@@ -17,11 +17,6 @@ export type IndexSettingsAsSearchParams = {
17
17
  */
18
18
  attributesForFaceting?: string[];
19
19
 
20
- /**
21
- * List of attributes that can\'t be retrieved at query time.
22
- */
23
- unretrievableAttributes?: string[];
24
-
25
20
  /**
26
21
  * This parameter controls which attributes to retrieve and which not to retrieve.
27
22
  */
@@ -166,6 +161,11 @@ export type IndexSettingsAsSearchParams = {
166
161
 
167
162
  distinct?: Distinct;
168
163
 
164
+ /**
165
+ * Name of the de-duplication attribute to be used with the distinct feature.
166
+ */
167
+ attributeForDistinct?: string;
168
+
169
169
  /**
170
170
  * Whether to take into account an index\'s synonyms for a particular search.
171
171
  */
@@ -31,7 +31,7 @@ export type SearchRulesParams = {
31
31
  /**
32
32
  * When specified, restricts matches to rules with a specific enabled status. When absent (default), all rules are retrieved, regardless of their enabled status.
33
33
  */
34
- enabled?: boolean;
34
+ enabled?: boolean | null;
35
35
 
36
36
  /**
37
37
  * A mapping of requestOptions to send along with the request.
@@ -1,6 +1,5 @@
1
1
  // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
2
 
3
- import type { SynonymHitHighlightResult } from './synonymHitHighlightResult';
4
3
  import type { SynonymType } from './synonymType';
5
4
 
6
5
  /**
@@ -43,6 +42,4 @@ export type SynonymHit = {
43
42
  * List of query words that will match the token.
44
43
  */
45
44
  replacements?: string[];
46
-
47
- _highlightResult?: SynonymHitHighlightResult;
48
45
  };
package/package.json CHANGED
@@ -1,16 +1,32 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "5.0.0-alpha.5",
3
+ "version": "5.0.0-alpha.50",
4
4
  "description": "JavaScript client for client-search",
5
5
  "repository": "algolia/algoliasearch-client-javascript",
6
6
  "license": "MIT",
7
7
  "author": "Algolia",
8
- "main": "index.js",
9
- "jsdelivr": "dist/client-search.umd.js",
10
- "unpkg": "dist/client-search.umd.js",
11
- "module": "dist/client-search.esm.node.js",
12
- "browser": "dist/client-search.umd.js",
13
- "types": "index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "node": {
11
+ "import": "./dist/client-search.esm.node.js",
12
+ "module": "./dist/client-search.esm.node.js",
13
+ "require": "./dist/client-search.cjs.js",
14
+ "default": "./dist/client-search.cjs.js"
15
+ },
16
+ "default": {
17
+ "umd": "./dist/client-search.umd.js",
18
+ "module": "./dist/client-search.esm.browser.js",
19
+ "import": "./dist/client-search.esm.browser.js",
20
+ "default": "./dist/client-search.umd.js"
21
+ }
22
+ },
23
+ "./src/*": "./src/*.ts",
24
+ "./model": "./model/index.ts"
25
+ },
26
+ "jsdelivr": "./dist/client-search.umd.js",
27
+ "unpkg": "./dist/client-search.umd.js",
28
+ "browser": "./dist/client-search.umd.js",
29
+ "types": "./index.d.ts",
14
30
  "files": [
15
31
  "dist",
16
32
  "model",
@@ -18,16 +34,18 @@
18
34
  "index.d.ts"
19
35
  ],
20
36
  "scripts": {
21
- "clean": "rm -rf ./dist"
37
+ "build": "yarn clean && rollup --config",
38
+ "clean": "rm -rf ./dist || true"
22
39
  },
23
40
  "dependencies": {
24
- "@algolia/client-common": "5.0.0-alpha.5",
25
- "@algolia/requester-browser-xhr": "5.0.0-alpha.5",
26
- "@algolia/requester-node-http": "5.0.0-alpha.5"
41
+ "@algolia/client-common": "5.0.0-alpha.50",
42
+ "@algolia/requester-browser-xhr": "5.0.0-alpha.50",
43
+ "@algolia/requester-node-http": "5.0.0-alpha.50"
27
44
  },
28
45
  "devDependencies": {
29
- "@types/node": "16.11.47",
30
- "typescript": "4.7.4"
46
+ "@types/node": "16.18.12",
47
+ "rollup": "2.79.1",
48
+ "typescript": "4.8.3"
31
49
  },
32
50
  "engines": {
33
51
  "node": ">= 14.0.0"
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseBrowseResponse.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/baseBrowseResponse.ts"],"names":[],"mappings":"AAEA,oBAAY,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
@@ -1,11 +0,0 @@
1
- export declare type BrowseRequest = {
2
- /**
3
- * Search parameters as URL-encoded query string.
4
- */
5
- params?: string;
6
- /**
7
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
8
- */
9
- cursor?: string;
10
- };
11
- //# sourceMappingURL=browseRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browseRequest.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/browseRequest.ts"],"names":[],"mappings":"AAEA,oBAAY,aAAa,GAAG;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { HighlightResult } from './highlightResult';
2
- /**
3
- * Highlighted results.
4
- */
5
- export declare type SynonymHitHighlightResult = {
6
- /**
7
- * Show highlighted section and words matched on a query.
8
- */
9
- type?: Record<string, HighlightResult>;
10
- synonyms?: Array<Record<string, HighlightResult>>;
11
- };
12
- //# sourceMappingURL=synonymHitHighlightResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"synonymHitHighlightResult.d.ts","sourceRoot":"","sources":["../../../../packages/client-search/model/synonymHitHighlightResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD;;GAEG;AACH,oBAAY,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEvC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;CACnD,CAAC"}
@@ -1,13 +0,0 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
-
3
- export type BrowseRequest = {
4
- /**
5
- * Search parameters as URL-encoded query string.
6
- */
7
- params?: string;
8
-
9
- /**
10
- * Cursor indicating the location to resume browsing from. Must match the value returned by the previous call.
11
- */
12
- cursor?: string;
13
- };
@@ -1,15 +0,0 @@
1
- // This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
2
-
3
- import type { HighlightResult } from './highlightResult';
4
-
5
- /**
6
- * Highlighted results.
7
- */
8
- export type SynonymHitHighlightResult = {
9
- /**
10
- * Show highlighted section and words matched on a query.
11
- */
12
- type?: Record<string, HighlightResult>;
13
-
14
- synonyms?: Array<Record<string, HighlightResult>>;
15
- };