@algolia/recommend 5.0.0-alpha.9 → 5.0.0-alpha.91

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 (290) hide show
  1. package/dist/builds/browser.d.ts +5 -5
  2. package/dist/builds/node.d.ts +5 -5
  3. package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
  4. package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
  5. package/dist/model/alternativesAsExact.d.ts +1 -1
  6. package/dist/model/alternativesAsExact.d.ts.map +1 -1
  7. package/dist/model/anchoring.d.ts +5 -0
  8. package/dist/model/anchoring.d.ts.map +1 -0
  9. package/dist/model/aroundPrecision.d.ts +6 -0
  10. package/dist/model/aroundPrecision.d.ts.map +1 -0
  11. package/dist/model/aroundPrecisionFromValueInner.d.ts +5 -0
  12. package/dist/model/aroundPrecisionFromValueInner.d.ts.map +1 -0
  13. package/dist/model/aroundRadius.d.ts +5 -5
  14. package/dist/model/aroundRadius.d.ts.map +1 -1
  15. package/dist/model/aroundRadiusAll.d.ts +1 -1
  16. package/dist/model/aroundRadiusAll.d.ts.map +1 -1
  17. package/dist/model/automaticFacetFilter.d.ts +18 -0
  18. package/dist/model/automaticFacetFilter.d.ts.map +1 -0
  19. package/dist/model/automaticFacetFilters.d.ts +6 -0
  20. package/dist/model/automaticFacetFilters.d.ts.map +1 -0
  21. package/dist/model/baseRecommendRequest.d.ts +14 -17
  22. package/dist/model/baseRecommendRequest.d.ts.map +1 -1
  23. package/dist/model/baseRecommendationsQuery.d.ts +12 -0
  24. package/dist/model/baseRecommendationsQuery.d.ts.map +1 -0
  25. package/dist/model/baseSearchParams.d.ts +3 -3
  26. package/dist/model/baseSearchParams.d.ts.map +1 -1
  27. package/dist/model/baseSearchParamsWithoutQuery.d.ts +118 -122
  28. package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
  29. package/dist/model/baseSearchResponse.d.ts +105 -101
  30. package/dist/model/baseSearchResponse.d.ts.map +1 -1
  31. package/dist/model/baseTrendingFacetsQuery.d.ts +9 -0
  32. package/dist/model/baseTrendingFacetsQuery.d.ts.map +1 -0
  33. package/dist/model/baseTrendingItemsQuery.d.ts +16 -0
  34. package/dist/model/baseTrendingItemsQuery.d.ts.map +1 -0
  35. package/dist/model/clientMethodProps.d.ts +127 -60
  36. package/dist/model/clientMethodProps.d.ts.map +1 -1
  37. package/dist/model/condition.d.ts +17 -0
  38. package/dist/model/condition.d.ts.map +1 -0
  39. package/dist/model/consequence.d.ts +26 -0
  40. package/dist/model/consequence.d.ts.map +1 -0
  41. package/dist/model/consequenceHide.d.ts +10 -0
  42. package/dist/model/consequenceHide.d.ts.map +1 -0
  43. package/dist/model/consequenceParams.d.ts +5 -0
  44. package/dist/model/consequenceParams.d.ts.map +1 -0
  45. package/dist/model/consequenceQuery.d.ts +6 -0
  46. package/dist/model/consequenceQuery.d.ts.map +1 -0
  47. package/dist/model/consequenceQueryObject.d.ts +12 -0
  48. package/dist/model/consequenceQueryObject.d.ts.map +1 -0
  49. package/dist/model/deletedAtResponse.d.ts +14 -0
  50. package/dist/model/deletedAtResponse.d.ts.map +1 -0
  51. package/dist/model/distinct.d.ts +4 -4
  52. package/dist/model/distinct.d.ts.map +1 -1
  53. package/dist/model/edit.d.ts +13 -0
  54. package/dist/model/edit.d.ts.map +1 -0
  55. package/dist/model/editType.d.ts +5 -0
  56. package/dist/model/editType.d.ts.map +1 -0
  57. package/dist/model/errorBase.d.ts +6 -6
  58. package/dist/model/errorBase.d.ts.map +1 -1
  59. package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
  60. package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
  61. package/dist/model/exhaustive.d.ts +26 -0
  62. package/dist/model/exhaustive.d.ts.map +1 -0
  63. package/dist/model/facetFilters.d.ts +5 -5
  64. package/dist/model/facetFilters.d.ts.map +1 -1
  65. package/dist/model/facetOrdering.d.ts +12 -12
  66. package/dist/model/facetOrdering.d.ts.map +1 -1
  67. package/dist/model/facets.d.ts +9 -9
  68. package/dist/model/facets.d.ts.map +1 -1
  69. package/dist/model/facetsStats.d.ts +18 -18
  70. package/dist/model/facetsStats.d.ts.map +1 -1
  71. package/dist/model/getRecommendTaskResponse.d.ts +5 -0
  72. package/dist/model/getRecommendTaskResponse.d.ts.map +1 -0
  73. package/dist/model/getRecommendationsParams.d.ts +10 -10
  74. package/dist/model/getRecommendationsParams.d.ts.map +1 -1
  75. package/dist/model/getRecommendationsResponse.d.ts +4 -4
  76. package/dist/model/getRecommendationsResponse.d.ts.map +1 -1
  77. package/dist/model/highlightResult.d.ts +2 -2
  78. package/dist/model/highlightResult.d.ts.map +1 -1
  79. package/dist/model/highlightResultOption.d.ts +19 -19
  80. package/dist/model/highlightResultOption.d.ts.map +1 -1
  81. package/dist/model/ignorePlurals.d.ts +4 -4
  82. package/dist/model/ignorePlurals.d.ts.map +1 -1
  83. package/dist/model/index.d.ts +87 -53
  84. package/dist/model/index.d.ts.map +1 -1
  85. package/dist/model/indexSettingsAsSearchParams.d.ts +162 -160
  86. package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
  87. package/dist/model/matchLevel.d.ts +4 -4
  88. package/dist/model/matchLevel.d.ts.map +1 -1
  89. package/dist/model/matchedGeoLocation.d.ts +14 -14
  90. package/dist/model/matchedGeoLocation.d.ts.map +1 -1
  91. package/dist/model/mixedSearchFilters.d.ts +1 -1
  92. package/dist/model/mixedSearchFilters.d.ts.map +1 -1
  93. package/dist/model/mode.d.ts +5 -0
  94. package/dist/model/mode.d.ts.map +1 -0
  95. package/dist/model/numericFilters.d.ts +5 -5
  96. package/dist/model/numericFilters.d.ts.map +1 -1
  97. package/dist/model/optionalFilters.d.ts +5 -5
  98. package/dist/model/optionalFilters.d.ts.map +1 -1
  99. package/dist/model/params.d.ts +13 -0
  100. package/dist/model/params.d.ts.map +1 -0
  101. package/dist/model/personalization.d.ts +14 -14
  102. package/dist/model/personalization.d.ts.map +1 -1
  103. package/dist/model/promote.d.ts +4 -0
  104. package/dist/model/promote.d.ts.map +1 -0
  105. package/dist/model/promoteObjectID.d.ts +14 -0
  106. package/dist/model/promoteObjectID.d.ts.map +1 -0
  107. package/dist/model/promoteObjectIDs.d.ts +14 -0
  108. package/dist/model/promoteObjectIDs.d.ts.map +1 -0
  109. package/dist/model/queryType.d.ts +4 -4
  110. package/dist/model/queryType.d.ts.map +1 -1
  111. package/dist/model/rankingInfo.d.ts +50 -50
  112. package/dist/model/rankingInfo.d.ts.map +1 -1
  113. package/dist/model/reRankingApplyFilter.d.ts +5 -5
  114. package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
  115. package/dist/model/recommendHit.d.ts +26 -26
  116. package/dist/model/recommendHit.d.ts.map +1 -1
  117. package/dist/model/recommendHits.d.ts +12 -4
  118. package/dist/model/recommendHits.d.ts.map +1 -1
  119. package/dist/model/recommendModels.d.ts +2 -0
  120. package/dist/model/recommendModels.d.ts.map +1 -0
  121. package/dist/model/recommendationModels.d.ts +4 -4
  122. package/dist/model/recommendationModels.d.ts.map +1 -1
  123. package/dist/model/recommendationsQuery.d.ts +4 -0
  124. package/dist/model/recommendationsQuery.d.ts.map +1 -0
  125. package/dist/model/recommendationsRequest.d.ts +4 -3
  126. package/dist/model/recommendationsRequest.d.ts.map +1 -1
  127. package/dist/model/recommendationsResponse.d.ts +3 -3
  128. package/dist/model/recommendationsResponse.d.ts.map +1 -1
  129. package/dist/model/redirect.d.ts +8 -0
  130. package/dist/model/redirect.d.ts.map +1 -0
  131. package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
  132. package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
  133. package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
  134. package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
  135. package/dist/model/removeStopWords.d.ts +4 -4
  136. package/dist/model/removeStopWords.d.ts.map +1 -1
  137. package/dist/model/removeWordsIfNoResults.d.ts +4 -4
  138. package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
  139. package/dist/model/renderingContent.d.ts +7 -7
  140. package/dist/model/renderingContent.d.ts.map +1 -1
  141. package/dist/model/ruleResponse.d.ts +27 -0
  142. package/dist/model/ruleResponse.d.ts.map +1 -0
  143. package/dist/model/ruleResponseMetadata.d.ts +7 -0
  144. package/dist/model/ruleResponseMetadata.d.ts.map +1 -0
  145. package/dist/model/searchParamsObject.d.ts +3 -3
  146. package/dist/model/searchParamsObject.d.ts.map +1 -1
  147. package/dist/model/searchParamsQuery.d.ts +6 -6
  148. package/dist/model/searchParamsQuery.d.ts.map +1 -1
  149. package/dist/model/searchRecommendRulesParams.d.ts +30 -0
  150. package/dist/model/searchRecommendRulesParams.d.ts.map +1 -0
  151. package/dist/model/searchRecommendRulesResponse.d.ts +20 -0
  152. package/dist/model/searchRecommendRulesResponse.d.ts.map +1 -0
  153. package/dist/model/semanticSearch.d.ts +10 -0
  154. package/dist/model/semanticSearch.d.ts.map +1 -0
  155. package/dist/model/snippetResult.d.ts +2 -2
  156. package/dist/model/snippetResult.d.ts.map +1 -1
  157. package/dist/model/snippetResultOption.d.ts +11 -11
  158. package/dist/model/snippetResultOption.d.ts.map +1 -1
  159. package/dist/model/sortRemainingBy.d.ts +4 -4
  160. package/dist/model/sortRemainingBy.d.ts.map +1 -1
  161. package/dist/model/tagFilters.d.ts +5 -5
  162. package/dist/model/tagFilters.d.ts.map +1 -1
  163. package/dist/model/taskStatus.d.ts +5 -0
  164. package/dist/model/taskStatus.d.ts.map +1 -0
  165. package/dist/model/trendingFacetsModel.d.ts +5 -0
  166. package/dist/model/trendingFacetsModel.d.ts.map +1 -0
  167. package/dist/model/trendingFacetsQuery.d.ts +4 -0
  168. package/dist/model/trendingFacetsQuery.d.ts.map +1 -0
  169. package/dist/model/trendingItemsModel.d.ts +5 -0
  170. package/dist/model/trendingItemsModel.d.ts.map +1 -0
  171. package/dist/model/trendingItemsQuery.d.ts +4 -0
  172. package/dist/model/trendingItemsQuery.d.ts.map +1 -0
  173. package/dist/model/typoTolerance.d.ts +5 -5
  174. package/dist/model/typoTolerance.d.ts.map +1 -1
  175. package/dist/model/typoToleranceEnum.d.ts +1 -1
  176. package/dist/model/typoToleranceEnum.d.ts.map +1 -1
  177. package/dist/model/value.d.ts +8 -8
  178. package/dist/model/value.d.ts.map +1 -1
  179. package/dist/recommend.cjs +381 -0
  180. package/dist/recommend.esm.browser.js +552 -469
  181. package/dist/recommend.esm.node.js +370 -235
  182. package/dist/recommend.umd.js +2 -2
  183. package/dist/src/recommendClient.d.ts +129 -81
  184. package/dist/src/recommendClient.d.ts.map +1 -1
  185. package/index.js +1 -1
  186. package/model/advancedSyntaxFeatures.ts +1 -1
  187. package/model/alternativesAsExact.ts +1 -1
  188. package/model/anchoring.ts +6 -0
  189. package/model/aroundPrecision.ts +8 -0
  190. package/model/aroundPrecisionFromValueInner.ts +7 -0
  191. package/model/aroundRadius.ts +2 -2
  192. package/model/aroundRadiusAll.ts +1 -1
  193. package/model/automaticFacetFilter.ts +21 -0
  194. package/model/automaticFacetFilters.ts +8 -0
  195. package/model/baseRecommendRequest.ts +5 -11
  196. package/model/baseRecommendationsQuery.ts +17 -0
  197. package/model/baseSearchParams.ts +1 -1
  198. package/model/baseSearchParamsWithoutQuery.ts +40 -45
  199. package/model/baseSearchResponse.ts +37 -31
  200. package/model/baseTrendingFacetsQuery.ts +12 -0
  201. package/model/baseTrendingItemsQuery.ts +22 -0
  202. package/model/clientMethodProps.ts +83 -11
  203. package/model/condition.ts +22 -0
  204. package/model/consequence.ts +32 -0
  205. package/model/consequenceHide.ts +11 -0
  206. package/model/consequenceParams.ts +9 -0
  207. package/model/consequenceQuery.ts +8 -0
  208. package/model/consequenceQueryObject.ts +15 -0
  209. package/model/deletedAtResponse.ts +16 -0
  210. package/model/distinct.ts +2 -2
  211. package/model/edit.ts +17 -0
  212. package/model/editType.ts +6 -0
  213. package/model/errorBase.ts +1 -1
  214. package/model/exactOnSingleWordQuery.ts +2 -2
  215. package/model/exhaustive.ts +31 -0
  216. package/model/facetFilters.ts +2 -2
  217. package/model/facetOrdering.ts +3 -3
  218. package/model/facets.ts +2 -2
  219. package/model/facetsStats.ts +5 -5
  220. package/model/getRecommendTaskResponse.ts +7 -0
  221. package/model/getRecommendationsParams.ts +3 -3
  222. package/model/getRecommendationsResponse.ts +1 -1
  223. package/model/highlightResult.ts +1 -1
  224. package/model/highlightResultOption.ts +2 -2
  225. package/model/ignorePlurals.ts +2 -2
  226. package/model/index.ts +40 -6
  227. package/model/indexSettingsAsSearchParams.ts +51 -47
  228. package/model/matchLevel.ts +1 -1
  229. package/model/matchedGeoLocation.ts +1 -1
  230. package/model/mixedSearchFilters.ts +1 -1
  231. package/model/mode.ts +6 -0
  232. package/model/numericFilters.ts +2 -2
  233. package/model/optionalFilters.ts +2 -2
  234. package/model/params.ts +18 -0
  235. package/model/personalization.ts +1 -1
  236. package/model/promote.ts +6 -0
  237. package/model/promoteObjectID.ts +16 -0
  238. package/model/promoteObjectIDs.ts +16 -0
  239. package/model/queryType.ts +2 -2
  240. package/model/rankingInfo.ts +1 -1
  241. package/model/reRankingApplyFilter.ts +2 -2
  242. package/model/recommendHit.ts +4 -4
  243. package/model/recommendHits.ts +11 -1
  244. package/model/recommendModels.ts +7 -0
  245. package/model/recommendationModels.ts +2 -2
  246. package/model/recommendationsQuery.ts +7 -0
  247. package/model/recommendationsRequest.ts +8 -4
  248. package/model/recommendationsResponse.ts +1 -1
  249. package/model/redirect.ts +10 -0
  250. package/model/redirectRuleIndexMetadata.ts +27 -0
  251. package/model/redirectRuleIndexMetadataData.ts +8 -0
  252. package/model/removeStopWords.ts +2 -2
  253. package/model/removeWordsIfNoResults.ts +2 -2
  254. package/model/renderingContent.ts +2 -2
  255. package/model/ruleResponse.ts +34 -0
  256. package/model/ruleResponseMetadata.ts +8 -0
  257. package/model/searchParamsObject.ts +1 -1
  258. package/model/searchParamsQuery.ts +2 -2
  259. package/model/searchRecommendRulesParams.ts +36 -0
  260. package/model/searchRecommendRulesResponse.ts +25 -0
  261. package/model/semanticSearch.ts +11 -0
  262. package/model/snippetResult.ts +1 -1
  263. package/model/snippetResultOption.ts +2 -2
  264. package/model/sortRemainingBy.ts +2 -2
  265. package/model/tagFilters.ts +2 -2
  266. package/model/taskStatus.ts +6 -0
  267. package/model/trendingFacetsModel.ts +6 -0
  268. package/model/trendingFacetsQuery.ts +7 -0
  269. package/model/trendingItemsModel.ts +6 -0
  270. package/model/trendingItemsQuery.ts +6 -0
  271. package/model/typoTolerance.ts +2 -2
  272. package/model/typoToleranceEnum.ts +1 -1
  273. package/model/value.ts +1 -1
  274. package/package.json +30 -13
  275. package/dist/model/baseRecommendationRequest.d.ts +0 -9
  276. package/dist/model/baseRecommendationRequest.d.ts.map +0 -1
  277. package/dist/model/baseTrendingRequest.d.ts +0 -13
  278. package/dist/model/baseTrendingRequest.d.ts.map +0 -1
  279. package/dist/model/recommendationRequest.d.ts +0 -4
  280. package/dist/model/recommendationRequest.d.ts.map +0 -1
  281. package/dist/model/trendingModels.d.ts +0 -5
  282. package/dist/model/trendingModels.d.ts.map +0 -1
  283. package/dist/model/trendingRequest.d.ts +0 -4
  284. package/dist/model/trendingRequest.d.ts.map +0 -1
  285. package/dist/recommend.cjs.js +0 -248
  286. package/model/baseRecommendationRequest.ts +0 -12
  287. package/model/baseTrendingRequest.ts +0 -17
  288. package/model/recommendationRequest.ts +0 -7
  289. package/model/trendingModels.ts +0 -6
  290. package/model/trendingRequest.ts +0 -6
@@ -1,102 +1,106 @@
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
- };
1
+ import type { Exhaustive } from './exhaustive';
2
+ import type { FacetsStats } from './facetsStats';
3
+ import type { Redirect } from './redirect';
4
+ import type { RenderingContent } from './renderingContent';
5
+ export type BaseSearchResponse = Record<string, any> & {
6
+ /**
7
+ * A/B test ID. This is only included in the response for indices that are part of an A/B test.
8
+ */
9
+ abTestID?: number;
10
+ /**
11
+ * Variant ID. This is only included in the response for indices that are part of an A/B test.
12
+ */
13
+ abTestVariantID?: number;
14
+ /**
15
+ * Computed geographical location.
16
+ */
17
+ aroundLatLng?: string;
18
+ /**
19
+ * Automatically-computed radius.
20
+ */
21
+ automaticRadius?: string;
22
+ exhaustive?: Exhaustive;
23
+ /**
24
+ * See the `facetsCount` field of the `exhaustive` object in the response.
25
+ */
26
+ exhaustiveFacetsCount?: boolean;
27
+ /**
28
+ * See the `nbHits` field of the `exhaustive` object in the response.
29
+ */
30
+ exhaustiveNbHits?: boolean;
31
+ /**
32
+ * See the `typo` field of the `exhaustive` object in the response.
33
+ */
34
+ exhaustiveTypo?: boolean;
35
+ /**
36
+ * Mapping of each facet name to the corresponding facet counts.
37
+ */
38
+ facets?: Record<string, Record<string, number>>;
39
+ /**
40
+ * Statistics for numerical facets.
41
+ */
42
+ facets_stats?: Record<string, FacetsStats>;
43
+ /**
44
+ * Number of hits per page.
45
+ */
46
+ hitsPerPage: number;
47
+ /**
48
+ * Index name used for the query.
49
+ */
50
+ index?: string;
51
+ /**
52
+ * Index name used for the query. During A/B testing, the targeted index isn\'t always the index used by the query.
53
+ */
54
+ indexUsed?: string;
55
+ /**
56
+ * Warnings about the query.
57
+ */
58
+ message?: string;
59
+ /**
60
+ * Number of hits the search query matched.
61
+ */
62
+ nbHits: number;
63
+ /**
64
+ * Number of pages of results for the current query.
65
+ */
66
+ nbPages: number;
67
+ /**
68
+ * Number of hits selected and sorted by the relevant sort algorithm.
69
+ */
70
+ nbSortedHits?: number;
71
+ /**
72
+ * Page to retrieve (the first page is `0`, not `1`).
73
+ */
74
+ page: number;
75
+ /**
76
+ * Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched.
77
+ */
78
+ parsedQuery?: string;
79
+ /**
80
+ * Time the server took to process the request, in milliseconds.
81
+ */
82
+ processingTimeMS: number;
83
+ /**
84
+ * Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.
85
+ */
86
+ processingTimingsMS?: Record<string, any>;
87
+ /**
88
+ * Markup text indicating which parts of the original query have been removed to retrieve a non-empty result set.
89
+ */
90
+ queryAfterRemoval?: string;
91
+ redirect?: Redirect;
92
+ renderingContent?: RenderingContent;
93
+ /**
94
+ * Time the server took to process the request, in milliseconds.
95
+ */
96
+ serverTimeMS?: number;
97
+ /**
98
+ * Host name of the server that processed the request.
99
+ */
100
+ serverUsed?: string;
101
+ /**
102
+ * Lets you store custom data in your indices.
103
+ */
104
+ userData?: any | null;
105
+ };
102
106
  //# sourceMappingURL=baseSearchResponse.d.ts.map
@@ -1 +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,EAA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,CAAC,EAAE,MAAM,CAAC;IAE3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TrendingFacetsModel } from './trendingFacetsModel';
2
+ export type BaseTrendingFacetsQuery = {
3
+ /**
4
+ * Facet name for trending models.
5
+ */
6
+ facetName: string;
7
+ model?: TrendingFacetsModel;
8
+ };
9
+ //# sourceMappingURL=baseTrendingFacetsQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseTrendingFacetsQuery.d.ts","sourceRoot":"","sources":["../../model/baseTrendingFacetsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { SearchParamsObject } from './searchParamsObject';
2
+ import type { TrendingItemsModel } from './trendingItemsModel';
3
+ export type BaseTrendingItemsQuery = {
4
+ /**
5
+ * Facet name for trending models.
6
+ */
7
+ facetName?: string;
8
+ /**
9
+ * Facet value for trending models.
10
+ */
11
+ facetValue?: string;
12
+ model?: TrendingItemsModel;
13
+ queryParameters?: SearchParamsObject;
14
+ fallbackParameters?: SearchParamsObject;
15
+ };
16
+ //# sourceMappingURL=baseTrendingItemsQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"baseTrendingItemsQuery.d.ts","sourceRoot":"","sources":["../../model/baseTrendingItemsQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAE3B,eAAe,CAAC,EAAE,kBAAkB,CAAC;IAErC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACzC,CAAC"}
@@ -1,61 +1,128 @@
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
- };
1
+ import type { RecommendModels } from './recommendModels';
2
+ import type { SearchRecommendRulesParams } from './searchRecommendRulesParams';
3
+ /**
4
+ * Properties for the `del` method.
5
+ */
6
+ export type DelProps = {
7
+ /**
8
+ * Path of the endpoint, anything after \"/1\" must be specified.
9
+ */
10
+ path: string;
11
+ /**
12
+ * Query parameters to apply to the current query.
13
+ */
14
+ parameters?: Record<string, any>;
15
+ };
16
+ /**
17
+ * Properties for the `deleteRecommendRule` method.
18
+ */
19
+ export type DeleteRecommendRuleProps = {
20
+ /**
21
+ * Index on which to perform the request.
22
+ */
23
+ indexName: string;
24
+ /**
25
+ * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
26
+ */
27
+ model: RecommendModels;
28
+ /**
29
+ * Unique record (object) identifier.
30
+ */
31
+ objectID: string;
32
+ };
33
+ /**
34
+ * Properties for the `get` method.
35
+ */
36
+ export type GetProps = {
37
+ /**
38
+ * Path of the endpoint, anything after \"/1\" must be specified.
39
+ */
40
+ path: string;
41
+ /**
42
+ * Query parameters to apply to the current query.
43
+ */
44
+ parameters?: Record<string, any>;
45
+ };
46
+ /**
47
+ * Properties for the `getRecommendRule` method.
48
+ */
49
+ export type GetRecommendRuleProps = {
50
+ /**
51
+ * Index on which to perform the request.
52
+ */
53
+ indexName: string;
54
+ /**
55
+ * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
56
+ */
57
+ model: RecommendModels;
58
+ /**
59
+ * Unique record (object) identifier.
60
+ */
61
+ objectID: string;
62
+ };
63
+ /**
64
+ * Properties for the `getRecommendStatus` method.
65
+ */
66
+ export type GetRecommendStatusProps = {
67
+ /**
68
+ * Index on which to perform the request.
69
+ */
70
+ indexName: string;
71
+ /**
72
+ * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
73
+ */
74
+ model: RecommendModels;
75
+ /**
76
+ * Unique identifier of a task. Numeric value (up to 64bits).
77
+ */
78
+ taskID: number;
79
+ };
80
+ /**
81
+ * Properties for the `post` method.
82
+ */
83
+ export type PostProps = {
84
+ /**
85
+ * Path of the endpoint, anything after \"/1\" must be specified.
86
+ */
87
+ path: string;
88
+ /**
89
+ * Query parameters to apply to the current query.
90
+ */
91
+ parameters?: Record<string, any>;
92
+ /**
93
+ * Parameters to send with the custom request.
94
+ */
95
+ body?: Record<string, any>;
96
+ };
97
+ /**
98
+ * Properties for the `put` method.
99
+ */
100
+ export type PutProps = {
101
+ /**
102
+ * Path of the endpoint, anything after \"/1\" must be specified.
103
+ */
104
+ path: string;
105
+ /**
106
+ * Query parameters to apply to the current query.
107
+ */
108
+ parameters?: Record<string, any>;
109
+ /**
110
+ * Parameters to send with the custom request.
111
+ */
112
+ body?: Record<string, any>;
113
+ };
114
+ /**
115
+ * Properties for the `searchRecommendRules` method.
116
+ */
117
+ export type SearchRecommendRulesProps = {
118
+ /**
119
+ * Index on which to perform the request.
120
+ */
121
+ indexName: string;
122
+ /**
123
+ * [Recommend models](https://www.algolia.com/doc/guides/algolia-recommend/overview/#recommend-models).
124
+ */
125
+ model: RecommendModels;
126
+ searchRecommendRulesParams?: SearchRecommendRulesParams;
127
+ };
61
128
  //# sourceMappingURL=clientMethodProps.d.ts.map
@@ -1 +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;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IAClB;;OAEG;IACH,KAAK,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,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,MAAM,MAAM,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;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,eAAe,CAAC;IACvB,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;CACzD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Anchoring } from './anchoring';
2
+ export type Condition = {
3
+ /**
4
+ * Query pattern syntax.
5
+ */
6
+ pattern?: string;
7
+ anchoring?: Anchoring;
8
+ /**
9
+ * Whether the pattern matches on plurals, synonyms, and typos.
10
+ */
11
+ alternatives?: boolean;
12
+ /**
13
+ * Rule context format: [A-Za-z0-9_-]+).
14
+ */
15
+ context?: string;
16
+ };
17
+ //# sourceMappingURL=condition.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,26 @@
1
+ import type { ConsequenceHide } from './consequenceHide';
2
+ import type { ConsequenceParams } from './consequenceParams';
3
+ import type { Promote } from './promote';
4
+ /**
5
+ * [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences) of a rule.
6
+ */
7
+ export type Consequence = {
8
+ params?: ConsequenceParams;
9
+ /**
10
+ * Records to promote.
11
+ */
12
+ promote?: Promote[];
13
+ /**
14
+ * Only use in combination with the `promote` consequence. When `true`, promoted results will be restricted to match the filters of the current search. When `false`, the promoted results will show up regardless of the filters.
15
+ */
16
+ filterPromotes?: boolean;
17
+ /**
18
+ * Records to hide. By default, you can hide up to 50 records per rule.
19
+ */
20
+ hide?: ConsequenceHide[];
21
+ /**
22
+ * Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
23
+ */
24
+ userData?: any | null;
25
+ };
26
+ //# sourceMappingURL=consequence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAEpB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Unique identifier of the record to hide.
3
+ */
4
+ export type ConsequenceHide = {
5
+ /**
6
+ * Unique object identifier.
7
+ */
8
+ objectID: string;
9
+ };
10
+ //# sourceMappingURL=consequenceHide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consequenceHide.d.ts","sourceRoot":"","sources":["../../model/consequenceHide.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { BaseSearchParamsWithoutQuery } from './baseSearchParamsWithoutQuery';
2
+ import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
3
+ import type { Params } from './params';
4
+ export type ConsequenceParams = BaseSearchParamsWithoutQuery & IndexSettingsAsSearchParams & Params;
5
+ //# sourceMappingURL=consequenceParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consequenceParams.d.ts","sourceRoot":"","sources":["../../model/consequenceParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG,4BAA4B,GAC1D,2BAA2B,GAC3B,MAAM,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ConsequenceQueryObject } from './consequenceQueryObject';
2
+ /**
3
+ * When providing a string, it replaces the entire query string. When providing an object, it describes incremental edits to be made to the query string (but you can\'t do both).
4
+ */
5
+ export type ConsequenceQuery = ConsequenceQueryObject | string;
6
+ //# sourceMappingURL=consequenceQuery.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consequenceQuery.d.ts","sourceRoot":"","sources":["../../model/consequenceQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,MAAM,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { Edit } from './edit';
2
+ export type ConsequenceQueryObject = {
3
+ /**
4
+ * Words to remove.
5
+ */
6
+ remove?: string[];
7
+ /**
8
+ * Edits to apply.
9
+ */
10
+ edits?: Edit[];
11
+ };
12
+ //# sourceMappingURL=consequenceQueryObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consequenceQueryObject.d.ts","sourceRoot":"","sources":["../../model/consequenceQueryObject.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAEnC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Response, taskID, and deletion timestamp.
3
+ */
4
+ export type DeletedAtResponse = {
5
+ /**
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 and this `taskID`.
7
+ */
8
+ taskID: number;
9
+ /**
10
+ * Timestamp of deletion in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format.
11
+ */
12
+ deletedAt: string;
13
+ };
14
+ //# sourceMappingURL=deletedAtResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deletedAtResponse.d.ts","sourceRoot":"","sources":["../../model/deletedAtResponse.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -1,5 +1,5 @@
1
- /**
2
- * Enables de-duplication or grouping of results.
3
- */
4
- export declare type Distinct = boolean | number;
1
+ /**
2
+ * Enables [deduplication or grouping of results (Algolia\'s _distinct_ feature](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature)).
3
+ */
4
+ export type Distinct = boolean | number;
5
5
  //# sourceMappingURL=distinct.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"distinct.d.ts","sourceRoot":"","sources":["../../model/distinct.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { EditType } from './editType';
2
+ export type Edit = {
3
+ type?: EditType;
4
+ /**
5
+ * Text or patterns to remove from the query string.
6
+ */
7
+ delete?: string;
8
+ /**
9
+ * Text that should be inserted in place of the removed text inside the query string.
10
+ */
11
+ insert?: string;
12
+ };
13
+ //# sourceMappingURL=edit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../model/edit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Type of edit.
3
+ */
4
+ export type EditType = 'remove' | 'replace';
5
+ //# sourceMappingURL=editType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editType.d.ts","sourceRoot":"","sources":["../../model/editType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC"}
@@ -1,7 +1,7 @@
1
- /**
2
- * Error.
3
- */
4
- export declare type ErrorBase = Record<string, any> & {
5
- message?: string;
6
- };
1
+ /**
2
+ * Error.
3
+ */
4
+ export type ErrorBase = Record<string, any> & {
5
+ message?: string;
6
+ };
7
7
  //# sourceMappingURL=errorBase.d.ts.map