@sinequa/atomic 0.0.61

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 (298) hide show
  1. package/README.md +18 -0
  2. package/dist/atomic.js +860 -0
  3. package/dist/atomic.umd.cjs +1 -0
  4. package/dist/auth/auth.d.ts +39 -0
  5. package/dist/auth/auth.d.ts.map +1 -0
  6. package/dist/auth/index.d.ts +2 -0
  7. package/dist/auth/index.d.ts.map +1 -0
  8. package/dist/configurations/global.config.d.ts +35 -0
  9. package/dist/configurations/global.config.d.ts.map +1 -0
  10. package/dist/configurations/index.d.ts +2 -0
  11. package/dist/configurations/index.d.ts.map +1 -0
  12. package/dist/helpers/column-resolver.d.ts +10 -0
  13. package/dist/helpers/column-resolver.d.ts.map +1 -0
  14. package/dist/helpers/column-resolver.test.d.ts +2 -0
  15. package/dist/helpers/column-resolver.test.d.ts.map +1 -0
  16. package/dist/helpers/index.d.ts +5 -0
  17. package/dist/helpers/index.d.ts.map +1 -0
  18. package/dist/helpers/metadata.d.ts +13 -0
  19. package/dist/helpers/metadata.d.ts.map +1 -0
  20. package/dist/helpers/ts-helper.d.ts +8 -0
  21. package/dist/helpers/ts-helper.d.ts.map +1 -0
  22. package/dist/helpers/utils.d.ts +21 -0
  23. package/dist/helpers/utils.d.ts.map +1 -0
  24. package/dist/helpers/utils.test.d.ts +2 -0
  25. package/dist/helpers/utils.test.d.ts.map +1 -0
  26. package/dist/index.d.ts +7 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/types/aggregations/Aggregation.d.ts +38 -0
  29. package/dist/types/aggregations/Aggregation.d.ts.map +1 -0
  30. package/dist/types/aggregations/AggregationItem.d.ts +30 -0
  31. package/dist/types/aggregations/AggregationItem.d.ts.map +1 -0
  32. package/dist/types/aggregations/AggregationOptions.d.ts +14 -0
  33. package/dist/types/aggregations/AggregationOptions.d.ts.map +1 -0
  34. package/dist/types/aggregations/ListAggregation.d.ts +6 -0
  35. package/dist/types/aggregations/ListAggregation.d.ts.map +1 -0
  36. package/dist/types/aggregations/TreeAggregation.d.ts +13 -0
  37. package/dist/types/aggregations/TreeAggregation.d.ts.map +1 -0
  38. package/dist/types/aggregations/TreeAggregationNode.d.ts +27 -0
  39. package/dist/types/aggregations/TreeAggregationNode.d.ts.map +1 -0
  40. package/dist/types/aggregations/index.d.ts +7 -0
  41. package/dist/types/aggregations/index.d.ts.map +1 -0
  42. package/dist/types/api-endpoints.d.ts +4 -0
  43. package/dist/types/api-endpoints.d.ts.map +1 -0
  44. package/dist/types/audit/AuditEvent.d.ts +15 -0
  45. package/dist/types/audit/AuditEvent.d.ts.map +1 -0
  46. package/dist/types/audit/AuditEventType.d.ts +114 -0
  47. package/dist/types/audit/AuditEventType.d.ts.map +1 -0
  48. package/dist/types/audit/AuditRecord.d.ts +9 -0
  49. package/dist/types/audit/AuditRecord.d.ts.map +1 -0
  50. package/dist/types/audit/index.d.ts +5 -0
  51. package/dist/types/audit/index.d.ts.map +1 -0
  52. package/dist/types/chunks/index.d.ts +3 -0
  53. package/dist/types/chunks/index.d.ts.map +1 -0
  54. package/dist/types/chunks/text-chunk.d.ts +11 -0
  55. package/dist/types/chunks/text-chunk.d.ts.map +1 -0
  56. package/dist/types/chunks/text-location.d.ts +7 -0
  57. package/dist/types/chunks/text-location.d.ts.map +1 -0
  58. package/dist/types/config/CCAggregation.d.ts +47 -0
  59. package/dist/types/config/CCAggregation.d.ts.map +1 -0
  60. package/dist/types/config/CCApp.d.ts +87 -0
  61. package/dist/types/config/CCApp.d.ts.map +1 -0
  62. package/dist/types/config/CCAppPreLogin.d.ts +9 -0
  63. package/dist/types/config/CCAppPreLogin.d.ts.map +1 -0
  64. package/dist/types/config/CCAppRefresh.d.ts +10 -0
  65. package/dist/types/config/CCAppRefresh.d.ts.map +1 -0
  66. package/dist/types/config/CCAutocomplete.d.ts +32 -0
  67. package/dist/types/config/CCAutocomplete.d.ts.map +1 -0
  68. package/dist/types/config/CCColumn.d.ts +15 -0
  69. package/dist/types/config/CCColumn.d.ts.map +1 -0
  70. package/dist/types/config/CCColumnInfo.d.ts +38 -0
  71. package/dist/types/config/CCColumnInfo.d.ts.map +1 -0
  72. package/dist/types/config/CCColumnsInfo.d.ts +8 -0
  73. package/dist/types/config/CCColumnsInfo.d.ts.map +1 -0
  74. package/dist/types/config/CCConfig.d.ts +15 -0
  75. package/dist/types/config/CCConfig.d.ts.map +1 -0
  76. package/dist/types/config/CCIndex.d.ts +16 -0
  77. package/dist/types/config/CCIndex.d.ts.map +1 -0
  78. package/dist/types/config/CCLabels.d.ts +43 -0
  79. package/dist/types/config/CCLabels.d.ts.map +1 -0
  80. package/dist/types/config/CCList.d.ts +16 -0
  81. package/dist/types/config/CCList.d.ts.map +1 -0
  82. package/dist/types/config/CCListItem.d.ts +14 -0
  83. package/dist/types/config/CCListItem.d.ts.map +1 -0
  84. package/dist/types/config/CCQuery.d.ts +34 -0
  85. package/dist/types/config/CCQuery.d.ts.map +1 -0
  86. package/dist/types/config/CCRFM.d.ts +11 -0
  87. package/dist/types/config/CCRFM.d.ts.map +1 -0
  88. package/dist/types/config/CCRFMAction.d.ts +12 -0
  89. package/dist/types/config/CCRFMAction.d.ts.map +1 -0
  90. package/dist/types/config/CCScope.d.ts +28 -0
  91. package/dist/types/config/CCScope.d.ts.map +1 -0
  92. package/dist/types/config/CCSortingChoice.d.ts +32 -0
  93. package/dist/types/config/CCSortingChoice.d.ts.map +1 -0
  94. package/dist/types/config/CCTab.d.ts +35 -0
  95. package/dist/types/config/CCTab.d.ts.map +1 -0
  96. package/dist/types/config/CCTabSearch.d.ts +46 -0
  97. package/dist/types/config/CCTabSearch.d.ts.map +1 -0
  98. package/dist/types/config/CCWebService.d.ts +10 -0
  99. package/dist/types/config/CCWebService.d.ts.map +1 -0
  100. package/dist/types/config/EngineType.d.ts +22 -0
  101. package/dist/types/config/EngineType.d.ts.map +1 -0
  102. package/dist/types/config/EngineTypeModifier.d.ts +24 -0
  103. package/dist/types/config/EngineTypeModifier.d.ts.map +1 -0
  104. package/dist/types/config/ExportDialogModel.d.ts +13 -0
  105. package/dist/types/config/ExportDialogModel.d.ts.map +1 -0
  106. package/dist/types/config/ExportOutputFormat.d.ts +10 -0
  107. package/dist/types/config/ExportOutputFormat.d.ts.map +1 -0
  108. package/dist/types/config/ExportSourceType.d.ts +10 -0
  109. package/dist/types/config/ExportSourceType.d.ts.map +1 -0
  110. package/dist/types/config/QueryPrecision.d.ts +14 -0
  111. package/dist/types/config/QueryPrecision.d.ts.map +1 -0
  112. package/dist/types/config/QueryStrategy.d.ts +18 -0
  113. package/dist/types/config/QueryStrategy.d.ts.map +1 -0
  114. package/dist/types/config/SpellingCorrectionMode.d.ts +28 -0
  115. package/dist/types/config/SpellingCorrectionMode.d.ts.map +1 -0
  116. package/dist/types/config/index.d.ts +34 -0
  117. package/dist/types/config/index.d.ts.map +1 -0
  118. package/dist/types/credentials.d.ts +5 -0
  119. package/dist/types/credentials.d.ts.map +1 -0
  120. package/dist/types/filters/BetweenFilter.d.ts +7 -0
  121. package/dist/types/filters/BetweenFilter.d.ts.map +1 -0
  122. package/dist/types/filters/ExprFilter.d.ts +6 -0
  123. package/dist/types/filters/ExprFilter.d.ts.map +1 -0
  124. package/dist/types/filters/Filter.d.ts +10 -0
  125. package/dist/types/filters/Filter.d.ts.map +1 -0
  126. package/dist/types/filters/InFilter.d.ts +6 -0
  127. package/dist/types/filters/InFilter.d.ts.map +1 -0
  128. package/dist/types/filters/NotNullFilter.d.ts +5 -0
  129. package/dist/types/filters/NotNullFilter.d.ts.map +1 -0
  130. package/dist/types/filters/NullFilter.d.ts +5 -0
  131. package/dist/types/filters/NullFilter.d.ts.map +1 -0
  132. package/dist/types/filters/SimpleFilter.d.ts +5 -0
  133. package/dist/types/filters/SimpleFilter.d.ts.map +1 -0
  134. package/dist/types/filters/index.d.ts +9 -0
  135. package/dist/types/filters/index.d.ts.map +1 -0
  136. package/dist/types/filters/legacy-filters.d.ts +13 -0
  137. package/dist/types/filters/legacy-filters.d.ts.map +1 -0
  138. package/dist/types/index.d.ts +16 -0
  139. package/dist/types/index.d.ts.map +1 -0
  140. package/dist/types/interfaces/Open.d.ts +14 -0
  141. package/dist/types/interfaces/Open.d.ts.map +1 -0
  142. package/dist/types/interfaces/Query.d.ts +136 -0
  143. package/dist/types/interfaces/Query.d.ts.map +1 -0
  144. package/dist/types/interfaces/Select.d.ts +15 -0
  145. package/dist/types/interfaces/Select.d.ts.map +1 -0
  146. package/dist/types/interfaces/index.d.ts +4 -0
  147. package/dist/types/interfaces/index.d.ts.map +1 -0
  148. package/dist/types/interfaces/json.d.ts +7 -0
  149. package/dist/types/interfaces/json.d.ts.map +1 -0
  150. package/dist/types/labels/label-rights.d.ts +5 -0
  151. package/dist/types/labels/label-rights.d.ts.map +1 -0
  152. package/dist/types/link-results/index.d.ts +3 -0
  153. package/dist/types/link-results/index.d.ts.map +1 -0
  154. package/dist/types/link-results/link-results.d.ts +12 -0
  155. package/dist/types/link-results/link-results.d.ts.map +1 -0
  156. package/dist/types/link-results/links-results.d.ts +9 -0
  157. package/dist/types/link-results/links-results.d.ts.map +1 -0
  158. package/dist/types/preview/CategoryHighlightData.d.ts +12 -0
  159. package/dist/types/preview/CategoryHighlightData.d.ts.map +1 -0
  160. package/dist/types/preview/CustomHighlights.d.ts +8 -0
  161. package/dist/types/preview/CustomHighlights.d.ts.map +1 -0
  162. package/dist/types/preview/HighlightDataPerCategory.d.ts +6 -0
  163. package/dist/types/preview/HighlightDataPerCategory.d.ts.map +1 -0
  164. package/dist/types/preview/HighlightDataPerLocation.d.ts +11 -0
  165. package/dist/types/preview/HighlightDataPerLocation.d.ts.map +1 -0
  166. package/dist/types/preview/HighlightValue.d.ts +10 -0
  167. package/dist/types/preview/HighlightValue.d.ts.map +1 -0
  168. package/dist/types/preview/Location.d.ts +8 -0
  169. package/dist/types/preview/Location.d.ts.map +1 -0
  170. package/dist/types/preview/PreviewData.d.ts +15 -0
  171. package/dist/types/preview/PreviewData.d.ts.map +1 -0
  172. package/dist/types/preview/index.d.ts +8 -0
  173. package/dist/types/preview/index.d.ts.map +1 -0
  174. package/dist/types/principal/Principal.d.ts +29 -0
  175. package/dist/types/principal/Principal.d.ts.map +1 -0
  176. package/dist/types/principal/PrincipalChangedEvent.d.ts +11 -0
  177. package/dist/types/principal/PrincipalChangedEvent.d.ts.map +1 -0
  178. package/dist/types/principal/PrincipalEvent.d.ts +7 -0
  179. package/dist/types/principal/PrincipalEvent.d.ts.map +1 -0
  180. package/dist/types/principal/PrincipalParams.d.ts +8 -0
  181. package/dist/types/principal/PrincipalParams.d.ts.map +1 -0
  182. package/dist/types/principal/PrincipalUserIdsParams.d.ts +6 -0
  183. package/dist/types/principal/PrincipalUserIdsParams.d.ts.map +1 -0
  184. package/dist/types/principal/PrincipalUserInfo.d.ts +11 -0
  185. package/dist/types/principal/PrincipalUserInfo.d.ts.map +1 -0
  186. package/dist/types/principal/index.d.ts +7 -0
  187. package/dist/types/principal/index.d.ts.map +1 -0
  188. package/dist/types/search/AccessListPrincipal.d.ts +17 -0
  189. package/dist/types/search/AccessListPrincipal.d.ts.map +1 -0
  190. package/dist/types/search/AccessLists.d.ts +9 -0
  191. package/dist/types/search/AccessLists.d.ts.map +1 -0
  192. package/dist/types/search/Answer.d.ts +16 -0
  193. package/dist/types/search/Answer.d.ts.map +1 -0
  194. package/dist/types/search/Article.d.ts +194 -0
  195. package/dist/types/search/Article.d.ts.map +1 -0
  196. package/dist/types/search/Attributes.d.ts +17 -0
  197. package/dist/types/search/Attributes.d.ts.map +1 -0
  198. package/dist/types/search/DidYouMean.d.ts +10 -0
  199. package/dist/types/search/DidYouMean.d.ts.map +1 -0
  200. package/dist/types/search/DidYouMeanItem.d.ts +17 -0
  201. package/dist/types/search/DidYouMeanItem.d.ts.map +1 -0
  202. package/dist/types/search/DidYouMeanKind.d.ts +8 -0
  203. package/dist/types/search/DidYouMeanKind.d.ts.map +1 -0
  204. package/dist/types/search/DocumentAccessLists.d.ts +10 -0
  205. package/dist/types/search/DocumentAccessLists.d.ts.map +1 -0
  206. package/dist/types/search/EntityItem.d.ts +26 -0
  207. package/dist/types/search/EntityItem.d.ts.map +1 -0
  208. package/dist/types/search/MatchLocationsPerPartname.d.ts +8 -0
  209. package/dist/types/search/MatchLocationsPerPartname.d.ts.map +1 -0
  210. package/dist/types/search/MatchingPassage.d.ts +11 -0
  211. package/dist/types/search/MatchingPassage.d.ts.map +1 -0
  212. package/dist/types/search/PartnameMatchLocations.d.ts +8 -0
  213. package/dist/types/search/PartnameMatchLocations.d.ts.map +1 -0
  214. package/dist/types/search/Passage.d.ts +8 -0
  215. package/dist/types/search/Passage.d.ts.map +1 -0
  216. package/dist/types/search/QueryAnalysis.d.ts +11 -0
  217. package/dist/types/search/QueryAnalysis.d.ts.map +1 -0
  218. package/dist/types/search/QueryAnalysisElement.d.ts +24 -0
  219. package/dist/types/search/QueryAnalysisElement.d.ts.map +1 -0
  220. package/dist/types/search/QueryIntent.d.ts +15 -0
  221. package/dist/types/search/QueryIntent.d.ts.map +1 -0
  222. package/dist/types/search/QueryIntentAction.d.ts +11 -0
  223. package/dist/types/search/QueryIntentAction.d.ts.map +1 -0
  224. package/dist/types/search/QueryIntentData.d.ts +27 -0
  225. package/dist/types/search/QueryIntentData.d.ts.map +1 -0
  226. package/dist/types/search/QueryIntentDatasets.d.ts +13 -0
  227. package/dist/types/search/QueryIntentDatasets.d.ts.map +1 -0
  228. package/dist/types/search/QueryIntentEntity.d.ts +12 -0
  229. package/dist/types/search/QueryIntentEntity.d.ts.map +1 -0
  230. package/dist/types/search/QueryIntentWord.d.ts +12 -0
  231. package/dist/types/search/QueryIntentWord.d.ts.map +1 -0
  232. package/dist/types/search/RFMActionDisplay.d.ts +16 -0
  233. package/dist/types/search/RFMActionDisplay.d.ts.map +1 -0
  234. package/dist/types/search/RFMData.d.ts +10 -0
  235. package/dist/types/search/RFMData.d.ts.map +1 -0
  236. package/dist/types/search/RFMDisplay.d.ts +18 -0
  237. package/dist/types/search/RFMDisplay.d.ts.map +1 -0
  238. package/dist/types/search/RelevantExtract.d.ts +11 -0
  239. package/dist/types/search/RelevantExtract.d.ts.map +1 -0
  240. package/dist/types/search/Result.d.ts +43 -0
  241. package/dist/types/search/Result.d.ts.map +1 -0
  242. package/dist/types/search/Tab.d.ts +25 -0
  243. package/dist/types/search/Tab.d.ts.map +1 -0
  244. package/dist/types/search/TermPresence.d.ts +11 -0
  245. package/dist/types/search/TermPresence.d.ts.map +1 -0
  246. package/dist/types/search/TopPassage.d.ts +13 -0
  247. package/dist/types/search/TopPassage.d.ts.map +1 -0
  248. package/dist/types/search/index.d.ts +32 -0
  249. package/dist/types/search/index.d.ts.map +1 -0
  250. package/dist/types/suggest/suggestion.d.ts +11 -0
  251. package/dist/types/suggest/suggestion.d.ts.map +1 -0
  252. package/dist/types/user-settings/user-settings.d.ts +14 -0
  253. package/dist/types/user-settings/user-settings.d.ts.map +1 -0
  254. package/dist/utils/aggregations.d.ts +51 -0
  255. package/dist/utils/aggregations.d.ts.map +1 -0
  256. package/dist/utils/array/bisect.d.ts +17 -0
  257. package/dist/utils/array/bisect.d.ts.map +1 -0
  258. package/dist/utils/concepts.d.ts +72 -0
  259. package/dist/utils/concepts.d.ts.map +1 -0
  260. package/dist/utils/date.d.ts +31 -0
  261. package/dist/utils/date.d.ts.map +1 -0
  262. package/dist/utils/index.d.ts +7 -0
  263. package/dist/utils/index.d.ts.map +1 -0
  264. package/dist/utils/query-params.d.ts +72 -0
  265. package/dist/utils/query-params.d.ts.map +1 -0
  266. package/dist/utils/syslang.d.ts +27 -0
  267. package/dist/utils/syslang.d.ts.map +1 -0
  268. package/dist/web-api/fetch-aggregation.d.ts +11 -0
  269. package/dist/web-api/fetch-aggregation.d.ts.map +1 -0
  270. package/dist/web-api/fetch-app.d.ts +17 -0
  271. package/dist/web-api/fetch-app.d.ts.map +1 -0
  272. package/dist/web-api/fetch-audit.d.ts +33 -0
  273. package/dist/web-api/fetch-audit.d.ts.map +1 -0
  274. package/dist/web-api/fetch-dataset.d.ts +43 -0
  275. package/dist/web-api/fetch-dataset.d.ts.map +1 -0
  276. package/dist/web-api/fetch-labels.d.ts +95 -0
  277. package/dist/web-api/fetch-labels.d.ts.map +1 -0
  278. package/dist/web-api/fetch-preview.d.ts +17 -0
  279. package/dist/web-api/fetch-preview.d.ts.map +1 -0
  280. package/dist/web-api/fetch-principal.d.ts +13 -0
  281. package/dist/web-api/fetch-principal.d.ts.map +1 -0
  282. package/dist/web-api/fetch-query.d.ts +27 -0
  283. package/dist/web-api/fetch-query.d.ts.map +1 -0
  284. package/dist/web-api/fetch-sponsored-links.d.ts +14 -0
  285. package/dist/web-api/fetch-sponsored-links.d.ts.map +1 -0
  286. package/dist/web-api/fetch-suggest.d.ts +55 -0
  287. package/dist/web-api/fetch-suggest.d.ts.map +1 -0
  288. package/dist/web-api/fetch-text-chunk.d.ts +16 -0
  289. package/dist/web-api/fetch-text-chunk.d.ts.map +1 -0
  290. package/dist/web-api/fetch-user-settings.d.ts +28 -0
  291. package/dist/web-api/fetch-user-settings.d.ts.map +1 -0
  292. package/dist/web-api/helpers.d.ts +35 -0
  293. package/dist/web-api/helpers.d.ts.map +1 -0
  294. package/dist/web-api/helpers.test.d.ts +2 -0
  295. package/dist/web-api/helpers.test.d.ts.map +1 -0
  296. package/dist/web-api/index.d.ts +14 -0
  297. package/dist/web-api/index.d.ts.map +1 -0
  298. package/package.json +41 -0
@@ -0,0 +1,46 @@
1
+ import { CCTab } from "./CCTab";
2
+ /**
3
+ * Describes the fields for the tab search configuration in a query. A tab search defines a special distribution which is evaluated
4
+ * as a part of query to group the results by a set of tab items. The distribution gives the count of documents
5
+ * associated with each tab item. The values associated with a tab item are used to filter a query when a tab item is selected.
6
+ */
7
+ export type CCTabSearch = {
8
+ /**
9
+ * Determines whether this tab search is used in a query
10
+ */
11
+ isActive: boolean;
12
+ /**
13
+ * Defines the column to be used in the tab distribution and for filtering results by a selected tab item
14
+ */
15
+ column: string;
16
+ /**
17
+ * `true` if the associated column is a tree
18
+ */
19
+ columnIsTree: boolean;
20
+ /**
21
+ * Determines whether the overall document total should be calculated from the per-tab item documents totals
22
+ */
23
+ totalIsSumOfTabTotals: boolean;
24
+ /**
25
+ * Determines whether configured aggregations should be evaluated in the context of the selected tab or not.
26
+ * This setting can be overridden at the tab item level using [CCTab.excludedAggregations]{@link CCTab#excludedAggregations}
27
+ */
28
+ loadAggregationsForSelectedTab: boolean;
29
+ /**
30
+ * Determines the `minlevel` value to use when evaluating the tab distribution for a tree column
31
+ */
32
+ valueLevels: number;
33
+ /**
34
+ * Determines whether `post-group-by=true` should be used in the tab distribution
35
+ */
36
+ postGroupBy: boolean;
37
+ /**
38
+ * Determines whether 'merge-groups=true` should be used in the tab distribution. This is only used if `postGroupBy` is set to `true`
39
+ */
40
+ mergeGroups: boolean;
41
+ /**
42
+ * The set of configured tab items
43
+ */
44
+ tabs: CCTab[];
45
+ };
46
+ //# sourceMappingURL=CCTabSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CCTabSearch.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCTabSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,8BAA8B,EAAE,OAAO,CAAC;IACxC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,EAAE,KAAK,EAAE,CAAC;CACjB,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Describes the fields available in all web service configuration objects
3
+ */
4
+ import { CCConfig } from "./CCConfig";
5
+ declare const VALUES: readonly ["query", "sponsoredlinks", "queryexport", "preview", "labels", "autocomplete", "dataset"];
6
+ export type CCWebService = CCConfig & {
7
+ webServiceType: typeof VALUES[number];
8
+ };
9
+ export {};
10
+ //# sourceMappingURL=CCWebService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CCWebService.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCWebService.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,MAAM,qGAAsG,CAAC;AAEnH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG;IAClC,cAAc,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;CACzC,CAAC"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Defines the range of column types for a column
3
+ */
4
+ export declare enum EngineType {
5
+ none = 0,
6
+ bool = 1,
7
+ date = 2,
8
+ dateTime = 3,
9
+ time = 4,
10
+ unsigned = 5,
11
+ integer = 6,
12
+ float = 7,
13
+ double = 8,
14
+ dates = 9,
15
+ dateTimes = 10,
16
+ times = 11,
17
+ varchar = 12,
18
+ binary = 13,
19
+ string = 14,
20
+ csv = 15
21
+ }
22
+ //# sourceMappingURL=EngineType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EngineType.d.ts","sourceRoot":"","sources":["../../../src/types/config/EngineType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,oBAAY,UAAU;IAClB,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,KAAK,IAAI;IACT,MAAM,IAAI;IACV,KAAK,IAAI;IACT,SAAS,KAAK;IACd,KAAK,KAAK;IACV,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,MAAM,KAAK;IACX,GAAG,KAAK;CACX"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Defines the type modifiers that can be used for a column
3
+ */
4
+ export declare enum EngineTypeModifier {
5
+ none = 0,
6
+ a = 2053,
7
+ c = 4,
8
+ d = 8,
9
+ e = 2068,
10
+ i = 256,
11
+ l = 2052,
12
+ n = 8192,
13
+ t = 524292,
14
+ x = 8388608,
15
+ z = 33554432,
16
+ f_ordinal = 8192,
17
+ f_multidates = 8192,
18
+ f_varchar = 33554432,
19
+ f_binary = 33562624,
20
+ f_string = 33562888,
21
+ f_csv = 42477853,
22
+ f_overridable = 33554696
23
+ }
24
+ //# sourceMappingURL=EngineTypeModifier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EngineTypeModifier.d.ts","sourceRoot":"","sources":["../../../src/types/config/EngineTypeModifier.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,oBAAY,kBAAkB;IAC1B,IAAI,IAAI;IACR,CAAC,OAAO;IAGR,CAAC,IAAI;IACL,CAAC,IAAI;IACL,CAAC,OAAO;IAOR,CAAC,MAAM;IAGP,CAAC,OAAO;IAGR,CAAC,OAAO;IAMR,CAAC,SAAS;IAOV,CAAC,UAAU;IAEX,CAAC,WAAW;IAEZ,SAAS,OAAO;IAChB,YAAY,OAAO;IACnB,SAAS,WAAW;IACpB,QAAQ,WAAW;IACnB,QAAQ,WAAW;IACnB,KAAK,WAAW;IAEhB,aAAa,WAAW;CAC3B"}
@@ -0,0 +1,13 @@
1
+ import { ExportOutputFormat } from "./ExportOutputFormat";
2
+ import { ExportSourceType } from "./ExportSourceType";
3
+ /**
4
+ * Data model of the Export dialog.
5
+ */
6
+ export interface ExportDialogModel {
7
+ format: ExportOutputFormat;
8
+ export: ExportSourceType;
9
+ webService: string;
10
+ maxCount?: number;
11
+ queryName?: string;
12
+ }
13
+ //# sourceMappingURL=ExportDialogModel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportDialogModel.d.ts","sourceRoot":"","sources":["../../../src/types/config/ExportDialogModel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;GAEG;AAGH,MAAM,WAAW,iBAAiB;IAC9B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Enum representing supported export format.
3
+ */
4
+ export declare enum ExportOutputFormat {
5
+ None = 0,
6
+ Csv = 1,
7
+ Xlsx = 2,
8
+ Json = 4
9
+ }
10
+ //# sourceMappingURL=ExportOutputFormat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportOutputFormat.d.ts","sourceRoot":"","sources":["../../../src/types/config/ExportOutputFormat.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,oBAAY,kBAAkB;IAC1B,IAAI,IAAI;IACR,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;CACX"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Enum representing supported export source.
3
+ */
4
+ export declare enum ExportSourceType {
5
+ None = 0,
6
+ Result = 1,
7
+ Selection = 2,
8
+ SavedQuery = 4
9
+ }
10
+ //# sourceMappingURL=ExportSourceType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExportSourceType.d.ts","sourceRoot":"","sources":["../../../src/types/config/ExportSourceType.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,oBAAY,gBAAgB;IACxB,IAAI,IAAI;IACR,MAAM,IAAI;IACV,SAAS,IAAI;IACb,UAAU,IAAI;CACjB"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Defines different precision operators that can be automatically added to a `text contains` clause
3
+ * when no precision operators are present.
4
+ *
5
+ * `Default` - no operators are added
6
+ *
7
+ * `ExactExpression` - text surrounded by `"..."`
8
+ *
9
+ * `InTheSamePhrase` - text surrounded by `[...]`
10
+ *
11
+ * `EveryWord` - text surrounded by `+(...)`
12
+ */
13
+ export type QueryPrecision = "Default" | "ExactExpression" | "InTheSamePhrase" | "EveryWord";
14
+ //# sourceMappingURL=QueryPrecision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryPrecision.d.ts","sourceRoot":"","sources":["../../../src/types/config/QueryPrecision.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,WAAW,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Defines strategies that can used in the query search parameters. Each strategy defines a pair of word weight (`ww`) and meaning
3
+ * weight (`mw`) values to be used.
4
+ *
5
+ * `Default` - no `ww` and `mw` parameters used
6
+ *
7
+ * `WordsOnly` - `ww=1;mw=0`
8
+ *
9
+ * `WordsFirst` - `ww=0.8;mw=0.2`
10
+ *
11
+ * `WordsAndMeaning` - `ww=0.6;mw=0.4`
12
+ *
13
+ * `MeaningFirst` - `ww=0.3;mw=0.7`
14
+ *
15
+ * `MeaningOnly` - `ww=0;mw=1`
16
+ */
17
+ export type QueryStrategy = "Default" | "WordsOnly" | "WordsFirst" | "WordsAndMeaning" | "MeaningFirst" | "MeaningOnly";
18
+ //# sourceMappingURL=QueryStrategy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryStrategy.d.ts","sourceRoot":"","sources":["../../../src/types/config/QueryStrategy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,YAAY,GACZ,iBAAiB,GACjB,cAAc,GACd,aAAa,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Defines modes for the spelling correction of search terms and did-you-mean functionality. Corrections
3
+ * are based on edit and phonetic distance and exist among the searched documents
4
+ *
5
+ * `default | classic` - corrections are sought for terms that are not present in any documents. The original terms
6
+ * and corrections are included in the query
7
+ *
8
+ * `smart` - corrections are sought for terms that are present in less than 10 documents and where the correction
9
+ * is 20 times more frequent than the original term. Only the best corrections are kept. The original terms and corrections
10
+ * are included in the query. The [Results.didYouMean]{@link Results#didYouMean] member is populated allowing for a "We included
11
+ * results for these terms..." feedback to be displayed
12
+ *
13
+ * `correct` - corrections are sought for terms that are present in less than 10 documents and where the correction is
14
+ * 20 times more frequent than the original term. Only the best corrections are kept. The original terms that have corrections
15
+ * are not included in the query. The [Results.didYouMean]{@link Results#didYouMean] member is populated allowing for a "Your query
16
+ * has been corrected to..." feedback to be displayed
17
+ *
18
+ * `dymonly` - corrections are sought for terms that are present in less than 10 documents and where the correction is
19
+ * 20 times more frequent than the original term. The actual query is unaffected but the
20
+ * [Results.didYouMean]{@link Results#didYouMean] member will be populated allowing for a "Did you mean..." feedback to be
21
+ * displayed
22
+ *
23
+ * `force` - corrections are sought for all terms. All terms and corrections are included in the query
24
+ *
25
+ * `false` - no spelling correction processing occurs
26
+ */
27
+ export type SpellingCorrectionMode = "default" | "classic" | "smart" | "correct" | "dymonly" | "force" | "false";
28
+ //# sourceMappingURL=SpellingCorrectionMode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpellingCorrectionMode.d.ts","sourceRoot":"","sources":["../../../src/types/config/SpellingCorrectionMode.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * The minimum server api version that compatible with this version of SBA.
3
+ */
4
+ export declare const MINIMUM_COMPATIBLE_SERVER_API_VERSION = "1.0";
5
+ export type { CCApp } from "./CCApp";
6
+ export type { CCAppRefresh } from "./CCAppRefresh";
7
+ export type { CCAppPreLogin } from "./CCAppPreLogin";
8
+ export type { CCAggregation } from "./CCAggregation";
9
+ export type { CCAutocomplete } from "./CCAutocomplete";
10
+ export type { CCColumn } from "./CCColumn";
11
+ export type { CCColumnInfo } from "./CCColumnInfo";
12
+ export type { CCColumnsInfo } from "./CCColumnsInfo";
13
+ export type { CCConfig } from "./CCConfig";
14
+ export type { CCIndex } from "./CCIndex";
15
+ export type { CCLabels } from "./CCLabels";
16
+ export type { CCList } from "./CCList";
17
+ export type { CCListItem } from "./CCListItem";
18
+ export type { CCQuery } from "./CCQuery";
19
+ export type { CCRFM } from "./CCRFM";
20
+ export type { CCRFMAction } from "./CCRFMAction";
21
+ export type { CCScope } from "./CCScope";
22
+ export type { CCSortingChoice } from "./CCSortingChoice";
23
+ export type { CCTab } from "./CCTab";
24
+ export type { CCTabSearch } from "./CCTabSearch";
25
+ export type { CCWebService } from "./CCWebService";
26
+ export type { EngineType } from "./EngineType";
27
+ export type { EngineTypeModifier } from "./EngineTypeModifier";
28
+ export type { ExportDialogModel } from "./ExportDialogModel";
29
+ export type { ExportOutputFormat } from "./ExportOutputFormat";
30
+ export type { ExportSourceType } from "./ExportSourceType";
31
+ export type { QueryPrecision } from "./QueryPrecision";
32
+ export type { QueryStrategy } from "./QueryStrategy";
33
+ export type { SpellingCorrectionMode } from "./SpellingCorrectionMode";
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,qCAAqC,QAAQ,CAAC;AAE3D,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export type Credentials = {
2
+ username: string;
3
+ password: string;
4
+ };
5
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../../src/types/credentials.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { Filter } from "./Filter";
2
+ export type BetweenFilter = Omit<Filter, "value"> & {
3
+ operator: 'between';
4
+ start: string | number;
5
+ end: string | number;
6
+ };
7
+ //# sourceMappingURL=BetweenFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BetweenFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/BetweenFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAClD,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACtB,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { Filter, FilterExprOperator } from "./Filter";
2
+ export type ExprFilter = Omit<Filter, "field" | "value"> & {
3
+ operator: FilterExprOperator;
4
+ filters: Filter[];
5
+ };
6
+ //# sourceMappingURL=ExprFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExprFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/ExprFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IACzD,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAAA"}
@@ -0,0 +1,10 @@
1
+ export type FilterScalarOperator = 'eq' | 'neq' | 'gt' | 'gte' | 'lt' | 'lte' | 'like' | 'contains' | 'regex' | 'null' | 'notnull';
2
+ export type FilterRangeOperator = 'in' | 'between';
3
+ export type FilterExprOperator = 'and' | 'or' | 'not';
4
+ export type FilterOperator = FilterScalarOperator | FilterRangeOperator | FilterExprOperator;
5
+ export type Filter = {
6
+ field?: string;
7
+ operator?: FilterOperator;
8
+ value?: string | number | boolean;
9
+ };
10
+ //# sourceMappingURL=Filter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Filter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/Filter.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAC5B,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,KAAK,GACL,MAAM,GACN,UAAU,GACV,OAAO,GACP,MAAM,GACN,SAAS,CAAC;AACd,MAAM,MAAM,mBAAmB,GAAG,IAAI,GAAG,SAAS,CAAC;AACnD,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,mBAAmB,GAAG,kBAAkB,CAAC;AAE7F,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACnC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { Filter } from "./Filter";
2
+ export type InFilter = Omit<Filter, "value"> & {
3
+ operator: 'in';
4
+ values: string[];
5
+ };
6
+ //# sourceMappingURL=InFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/InFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAC7C,QAAQ,EAAE,IAAI,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Filter } from ".";
2
+ export type NotNullFilter = Omit<Filter, "value"> & {
3
+ operator: 'notnull';
4
+ };
5
+ //# sourceMappingURL=NotNullFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotNullFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/NotNullFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAE3B,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAClD,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Filter } from ".";
2
+ export type NullFilter = Omit<Filter, "value"> & {
3
+ operator: 'null';
4
+ };
5
+ //# sourceMappingURL=NullFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NullFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/NullFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,CAAC;AAE3B,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAC/C,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { Filter, FilterScalarOperator } from "./Filter";
2
+ export type SimpleFilter = Filter & {
3
+ operator: FilterScalarOperator;
4
+ };
5
+ //# sourceMappingURL=SimpleFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SimpleFilter.d.ts","sourceRoot":"","sources":["../../../src/types/filters/SimpleFilter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG;IAClC,QAAQ,EAAE,oBAAoB,CAAC;CAChC,CAAA"}
@@ -0,0 +1,9 @@
1
+ export type { BetweenFilter } from './BetweenFilter';
2
+ export type { ExprFilter } from './ExprFilter';
3
+ export type { Filter, FilterExprOperator, FilterOperator, FilterRangeOperator, FilterScalarOperator } from './Filter';
4
+ export type { InFilter } from './InFilter';
5
+ export type { NotNullFilter } from './NotNullFilter';
6
+ export type { NullFilter } from './NullFilter';
7
+ export type { SimpleFilter } from './SimpleFilter';
8
+ export type { LegacyFilter } from './legacy-filters';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/filters/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AACtH,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FilterOperator } from "./Filter";
2
+ export type LegacyFilter = {
3
+ name?: string;
4
+ display?: string;
5
+ field?: string;
6
+ filters?: LegacyFilter | LegacyFilter[];
7
+ operator?: FilterOperator;
8
+ values?: string[];
9
+ value?: string;
10
+ start?: string | number;
11
+ end?: string | number;
12
+ };
13
+ //# sourceMappingURL=legacy-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"legacy-filters.d.ts","sourceRoot":"","sources":["../../../src/types/filters/legacy-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAA"}
@@ -0,0 +1,16 @@
1
+ export * from "./aggregations";
2
+ export * from "./audit";
3
+ export * from "./config";
4
+ export * from "./filters";
5
+ export * from "./interfaces";
6
+ export * from "./link-results";
7
+ export * from "./preview";
8
+ export * from "./principal";
9
+ export * from "./search";
10
+ export * from "./suggest/suggestion";
11
+ export * from "./user-settings/user-settings";
12
+ export * from "./chunks";
13
+ export * from "./labels/label-rights";
14
+ export * from "./api-endpoints";
15
+ export * from "./credentials";
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AAEtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Defines the object used to request the children of a tree node in an aggregation
3
+ */
4
+ export interface Open {
5
+ /**
6
+ * The fielded search expression of the filter used to request the tree node children. For example: `treepath:/folder1/folder2/*`
7
+ */
8
+ expression: string;
9
+ /**
10
+ * The name of the associated aggregation
11
+ */
12
+ aggregation: string;
13
+ }
14
+ //# sourceMappingURL=Open.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Open.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/Open.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Describes the query object that can be passed to the {@link QueryWebService}
3
+ */
4
+ import { AggregationOptions } from "../aggregations";
5
+ import { SpellingCorrectionMode } from "../config";
6
+ import { ExprFilter, LegacyFilter } from "../filters";
7
+ import { Open } from "./Open";
8
+ import { Select } from "./Select";
9
+ export type Query = {
10
+ /**
11
+ * The name of the query web service configuration object
12
+ */
13
+ name: string;
14
+ /**
15
+ * The full text of the query
16
+ */
17
+ text?: string;
18
+ /**
19
+ * Defines the action that can be performed with this query.
20
+ *
21
+ * `search` - This action performs a standard search that returns document results and aggregation values. This is the default action
22
+ *
23
+ * `open` - Processes the objects specified in the `open` member. This is used to expand tree aggregation nodes
24
+ *
25
+ * `aggregate` - Processes the objects specified in the `aggregations` member. This is used to provide pagination of aggregation values
26
+ */
27
+ action?: "" | "search" | "open" | "aggregate";
28
+ /**
29
+ * Specifies conditions applied by the user to filter their search results
30
+ */
31
+ filters?: LegacyFilter | LegacyFilter[] | ExprFilter;
32
+ /**
33
+ * Specifies selection-based filtering for this query, typically from UI facets
34
+ */
35
+ select?: Select[];
36
+ /**
37
+ * Specifies the tree aggregation nodes whose children should be returned (using the `open` action)
38
+ */
39
+ open?: Open[];
40
+ /**
41
+ * Specifies the starting page for the document results. Defaults to 1
42
+ */
43
+ page?: number;
44
+ /**
45
+ * Specifies the page size size for the document results
46
+ */
47
+ pageSize?: number;
48
+ /**
49
+ * Specifies the name of the current tab selection for the query. See {@link CCTabSearch}
50
+ */
51
+ tab?: string;
52
+ /**
53
+ * Specifies the name of the current scope selection for the query. See {@link CCScope}
54
+ */
55
+ scope?: string;
56
+ /**
57
+ * Specifies the name of the current sort selection for the query. See {@link CCSortingChoice}
58
+ */
59
+ sort?: string;
60
+ /**
61
+ * Specifies the name of a basket of document results to retrieve. If specified then the search results will be
62
+ * trimmed to only contain documents included in the specified basket
63
+ */
64
+ basket?: string;
65
+ /**
66
+ * If set then no document results will be returned but aggregations results will be returned. This is typically used
67
+ * to provide aggregation results on a home page or to retrieve values to be used in advanced search components
68
+ */
69
+ isFirstPage?: boolean;
70
+ /**
71
+ * Determines results can only include documents that were in the results set prior to the addition of a filter.
72
+ * In some circumstances the addition of a filter can enlarge the set of matching documents.
73
+ * For example, the addition of search terms using the "refine" facet
74
+ */
75
+ strictRefine?: boolean;
76
+ /**
77
+ * Sets the relevance threshold for document to appear in the results. This is a number between 0 and 100.
78
+ */
79
+ globalRelevance?: number;
80
+ /**
81
+ * Sets the language to be used to interpret search terms
82
+ */
83
+ questionLanguage?: string;
84
+ /**
85
+ * Sets the language to be used to interpret search terms if `questionLanguage` is not set and the
86
+ * language cannot be determined automatically
87
+ */
88
+ questionDefaultLanguage?: string;
89
+ /**
90
+ * Sets the spelling correction mode
91
+ */
92
+ spellingCorrectionMode?: SpellingCorrectionMode;
93
+ /**
94
+ * Sets a regular expression filter on which terms to consider for spelling corrections
95
+ */
96
+ spellingCorrectionFilter?: string;
97
+ /**
98
+ * Sets the value for the `DocumentWeight` clause to be added to the query
99
+ */
100
+ documentWeight?: string;
101
+ /**
102
+ * Sets the value for the `TextPartWeights` clause to be added to the query
103
+ */
104
+ textPartWeights?: string;
105
+ /**
106
+ * Sets the value for the `RelevanceTransforms` clause to be added to the query
107
+ */
108
+ relevanceTransforms?: string;
109
+ /**
110
+ * Determines whether duplicate documents should be filtered from the results. Duplicate document detection
111
+ * requires either nearhash or exacthash values to be calculated in the indexes.
112
+ */
113
+ removeDuplicates?: boolean;
114
+ /**
115
+ * Sets the query id for the query. This is used in "strict refine" mode and is normally populated from the
116
+ * results attributes
117
+ */
118
+ queryId?: string;
119
+ /**
120
+ * Specifies the aggregations to include when `action` is set to `aggregate`
121
+ */
122
+ aggregations?: Record<string, AggregationOptions> | string[];
123
+ /**
124
+ * Specifies a value for the `ORDER BY` clause of the query
125
+ */
126
+ orderBy?: string;
127
+ /**
128
+ * Specifies a value for the `GROUP BY` clause of the query
129
+ */
130
+ groupBy?: string;
131
+ /**
132
+ * Whether to activate neural search or not (default is true, if neural search is available)
133
+ */
134
+ neuralSearch?: boolean;
135
+ };
136
+ //# sourceMappingURL=Query.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/Query.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,EAAE,GAAG,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,GAAG,UAAU,CAAC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;OAEG;IACH,sBAAsB,CAAC,EAAE,sBAAsB,CAAC;IAChD;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,GAAG,MAAM,EAAE,CAAC;IAC7D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAA"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Defines the object used to filter an {@link IQuery}. This is typically added to a query
3
+ * as a result of a selection in UI facet component
4
+ */
5
+ export interface Select {
6
+ /**
7
+ * The fielded search expression of the filter that should be applied to the query
8
+ */
9
+ expression: string;
10
+ /**
11
+ * The name of the facet where this selection was made
12
+ */
13
+ facet: string;
14
+ }
15
+ //# sourceMappingURL=Select.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/Select.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,4 @@
1
+ export type { Query } from "./Query";
2
+ export type { Open } from "./Open";
3
+ export type { Select } from "./Select";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/interfaces/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}