@sinequa/atomic 2.10.0 → 2.12.0

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 (186) hide show
  1. package/README.md +181 -80
  2. package/dist/atomic.cjs +1 -1
  3. package/dist/atomic.js +1 -1
  4. package/dist/authentication/constants.d.ts +1 -1
  5. package/dist/authentication/events/auth-events.d.ts +2 -2
  6. package/dist/authentication/events/emit-authenticated-event.d.ts +1 -1
  7. package/dist/authentication/events/index.d.ts +2 -2
  8. package/dist/authentication/index.d.ts +4 -4
  9. package/dist/authentication/providers/index.d.ts +2 -2
  10. package/dist/authentication/providers/oauth-authentication.d.ts +1 -1
  11. package/dist/authentication/providers/redirect-to-identity-provider.d.ts +1 -1
  12. package/dist/authentication/providers/redirect-to-identity-provider.d.ts.map +1 -1
  13. package/dist/authentication/providers/saml-authentication.d.ts +1 -1
  14. package/dist/authentication/session/auth-mode-marker.d.ts +1 -1
  15. package/dist/authentication/session/auth-state.d.ts +1 -1
  16. package/dist/authentication/session/detect-auth-mode.d.ts +2 -2
  17. package/dist/authentication/session/has-session.d.ts +1 -1
  18. package/dist/authentication/session/index.d.ts +7 -7
  19. package/dist/authentication/session/login.d.ts +2 -2
  20. package/dist/authentication/session/logout.d.ts +4 -3
  21. package/dist/authentication/session/logout.d.ts.map +1 -1
  22. package/dist/authentication/session/redirect-guard.d.ts +1 -1
  23. package/dist/authentication/session/session-lost-latch.d.ts +1 -1
  24. package/dist/authentication/session/signed-out-guard.d.ts +1 -1
  25. package/dist/authentication/session/try-auto-authentication.d.ts +1 -1
  26. package/dist/authentication/session/try-auto-authentication.d.ts.map +1 -1
  27. package/dist/authentication/session/user-authentication.d.ts +1 -1
  28. package/dist/authentication/tokens/delete-web-token-cookie.d.ts +1 -1
  29. package/dist/authentication/tokens/delete-web-token-cookie.d.ts.map +1 -1
  30. package/dist/authentication/tokens/get-csrf-token.d.ts +1 -1
  31. package/dist/authentication/tokens/get-csrf-token.d.ts.map +1 -1
  32. package/dist/authentication/tokens/get-jwt-token.d.ts +2 -2
  33. package/dist/authentication/tokens/get-token.d.ts +1 -1
  34. package/dist/authentication/tokens/index.d.ts +5 -5
  35. package/dist/authentication/tokens/set-token.d.ts +1 -1
  36. package/dist/client/atomic-context.d.ts +4 -4
  37. package/dist/client/create-api.d.ts +49 -48
  38. package/dist/client/create-api.d.ts.map +1 -1
  39. package/dist/client/create-atomic-client.d.ts +8 -8
  40. package/dist/client/http-adapter.d.ts +1 -1
  41. package/dist/client/index.d.ts +4 -4
  42. package/dist/configurations/auth-options.d.ts +1 -1
  43. package/dist/configurations/global.config.d.ts +4 -4
  44. package/dist/configurations/index.d.ts +3 -3
  45. package/dist/helpers/aggregation-count.d.ts +3 -2
  46. package/dist/helpers/aggregation-count.d.ts.map +1 -1
  47. package/dist/helpers/column-resolver.d.ts +11 -3
  48. package/dist/helpers/column-resolver.d.ts.map +1 -1
  49. package/dist/helpers/columns.d.ts +1 -1
  50. package/dist/helpers/filters.d.ts +1 -1
  51. package/dist/helpers/index.d.ts +8 -8
  52. package/dist/helpers/metadata.d.ts +2 -2
  53. package/dist/helpers/pagination.d.ts +1 -1
  54. package/dist/helpers/to-aggregation-count.d.ts +11 -0
  55. package/dist/helpers/to-aggregation-count.d.ts.map +1 -0
  56. package/dist/index.d.ts +7 -7
  57. package/dist/polyfills/storage.d.ts +1 -1
  58. package/dist/spfx/index.cjs +1 -1
  59. package/dist/spfx/index.d.ts +3 -3
  60. package/dist/spfx/index.js +1 -1
  61. package/dist/src-CCjB0b1J.cjs +1 -0
  62. package/dist/{src-s3KlD6YE.js → src-CK3j-Qz_.js} +837 -760
  63. package/dist/types/agent-workspace/index.d.ts +3 -3
  64. package/dist/types/aggregations/Aggregation.d.ts +2 -2
  65. package/dist/types/aggregations/ListAggregation.d.ts +1 -1
  66. package/dist/types/aggregations/TreeAggregation.d.ts +2 -2
  67. package/dist/types/aggregations/TreeAggregationNode.d.ts +1 -1
  68. package/dist/types/aggregations/index.d.ts +6 -6
  69. package/dist/types/audit/AuditEvent.d.ts +2 -2
  70. package/dist/types/audit/AuditRecord.d.ts +1 -1
  71. package/dist/types/audit/index.d.ts +4 -4
  72. package/dist/types/chunks/index.d.ts +2 -2
  73. package/dist/types/config/CCAggregation.d.ts +7 -1
  74. package/dist/types/config/CCAggregation.d.ts.map +1 -1
  75. package/dist/types/config/CCApp.d.ts +11 -7
  76. package/dist/types/config/CCApp.d.ts.map +1 -1
  77. package/dist/types/config/CCAppRefresh.d.ts +1 -1
  78. package/dist/types/config/CCAutocomplete.d.ts +1 -1
  79. package/dist/types/config/CCColumn.d.ts +3 -3
  80. package/dist/types/config/CCColumnsInfo.d.ts +1 -1
  81. package/dist/types/config/CCIndex.d.ts +2 -2
  82. package/dist/types/config/CCLabels.d.ts +1 -1
  83. package/dist/types/config/CCList.d.ts +2 -2
  84. package/dist/types/config/CCQuery.d.ts +9 -9
  85. package/dist/types/config/CCRFM.d.ts +1 -1
  86. package/dist/types/config/CCTab.d.ts +1 -1
  87. package/dist/types/config/CCTabSearch.d.ts +1 -1
  88. package/dist/types/config/CCWebService.d.ts +13 -1
  89. package/dist/types/config/CCWebService.d.ts.map +1 -1
  90. package/dist/types/config/index.d.ts +26 -26
  91. package/dist/types/filters/BetweenFilter.d.ts +1 -1
  92. package/dist/types/filters/ExprFilter.d.ts +1 -1
  93. package/dist/types/filters/InFilter.d.ts +1 -1
  94. package/dist/types/filters/NotNullFilter.d.ts +1 -1
  95. package/dist/types/filters/NullFilter.d.ts +1 -1
  96. package/dist/types/filters/SimpleFilter.d.ts +1 -1
  97. package/dist/types/filters/index.d.ts +8 -8
  98. package/dist/types/filters/legacy-filters.d.ts +1 -1
  99. package/dist/types/index.d.ts +19 -19
  100. package/dist/types/interfaces/Query.d.ts +5 -5
  101. package/dist/types/interfaces/index.d.ts +3 -3
  102. package/dist/types/link-results/index.d.ts +2 -2
  103. package/dist/types/link-results/links-results.d.ts +1 -1
  104. package/dist/types/preview/CategoryHighlightData.d.ts +1 -1
  105. package/dist/types/preview/HighlightDataPerCategory.d.ts +1 -1
  106. package/dist/types/preview/HighlightValue.d.ts +1 -1
  107. package/dist/types/preview/PreviewData.d.ts +4 -4
  108. package/dist/types/preview/index.d.ts +8 -8
  109. package/dist/types/principal/PrincipalChangedEvent.d.ts +1 -1
  110. package/dist/types/principal/index.d.ts +6 -6
  111. package/dist/types/search/AccessLists.d.ts +1 -1
  112. package/dist/types/search/Answer.d.ts +1 -1
  113. package/dist/types/search/Article.d.ts +5 -5
  114. package/dist/types/search/DidYouMean.d.ts +2 -2
  115. package/dist/types/search/DocumentAccessLists.d.ts +1 -1
  116. package/dist/types/search/MatchLocationsPerPartname.d.ts +1 -1
  117. package/dist/types/search/MatchingPassage.d.ts +1 -1
  118. package/dist/types/search/QueryAnalysis.d.ts +1 -1
  119. package/dist/types/search/QueryIntent.d.ts +4 -4
  120. package/dist/types/search/QueryIntentData.d.ts +2 -2
  121. package/dist/types/search/QueryIntentMatch.d.ts +1 -1
  122. package/dist/types/search/QueryIntentResponse.d.ts +1 -1
  123. package/dist/types/search/RFMActionDisplay.d.ts +1 -1
  124. package/dist/types/search/RFMData.d.ts +1 -1
  125. package/dist/types/search/Result.d.ts +17 -16
  126. package/dist/types/search/Result.d.ts.map +1 -1
  127. package/dist/types/search/TopPassage.d.ts +1 -1
  128. package/dist/types/search/index.d.ts +32 -32
  129. package/dist/types/security-principal/index.d.ts +1 -1
  130. package/dist/types/user-profile/user-profile.d.ts +5 -0
  131. package/dist/types/user-profile/user-profile.d.ts.map +1 -1
  132. package/dist/utils/aggregations.d.ts +3 -3
  133. package/dist/utils/index.d.ts +11 -11
  134. package/dist/utils/query-params.d.ts +1 -1
  135. package/dist/utils/to-sql.d.ts +1 -1
  136. package/dist/web-api/helpers/create-headers.d.ts +1 -1
  137. package/dist/web-api/helpers/errors/server-error.d.ts +1 -1
  138. package/dist/web-api/helpers/errors/timeout-error.d.ts +1 -1
  139. package/dist/web-api/helpers/errors/unauthorized-error.d.ts +1 -1
  140. package/dist/web-api/helpers/handle-response.d.ts +2 -2
  141. package/dist/web-api/helpers/handle-response.d.ts.map +1 -1
  142. package/dist/web-api/helpers/index.d.ts +16 -16
  143. package/dist/web-api/helpers/methods/del.d.ts +3 -3
  144. package/dist/web-api/helpers/methods/get.d.ts +3 -3
  145. package/dist/web-api/helpers/methods/patch-raw.d.ts +14 -0
  146. package/dist/web-api/helpers/methods/patch-raw.d.ts.map +1 -0
  147. package/dist/web-api/helpers/methods/patch.d.ts +3 -3
  148. package/dist/web-api/helpers/methods/patch.d.ts.map +1 -1
  149. package/dist/web-api/helpers/methods/post.d.ts +3 -3
  150. package/dist/web-api/helpers/methods/put.d.ts +3 -3
  151. package/dist/web-api/helpers/methods/send-patch.d.ts +11 -0
  152. package/dist/web-api/helpers/methods/send-patch.d.ts.map +1 -0
  153. package/dist/web-api/helpers/methods/send-request.d.ts +2 -2
  154. package/dist/web-api/helpers/utils/build-request-url.d.ts +2 -2
  155. package/dist/web-api/helpers/utils/create-timeout-controller.d.ts +6 -1
  156. package/dist/web-api/helpers/utils/create-timeout-controller.d.ts.map +1 -1
  157. package/dist/web-api/helpers/utils/resolve-no-auto-authentication.d.ts +1 -1
  158. package/dist/web-api/index.d.ts +23 -23
  159. package/dist/web-api/v1/fetch-aggregation.d.ts +2 -2
  160. package/dist/web-api/v1/fetch-aggregation.d.ts.map +1 -1
  161. package/dist/web-api/v1/fetch-app.d.ts +2 -2
  162. package/dist/web-api/v1/fetch-audit.d.ts +2 -2
  163. package/dist/web-api/v1/fetch-dataset.d.ts +2 -2
  164. package/dist/web-api/v1/fetch-labels.d.ts +2 -2
  165. package/dist/web-api/v1/fetch-preview.d.ts +2 -2
  166. package/dist/web-api/v1/fetch-principal.d.ts +3 -3
  167. package/dist/web-api/v1/fetch-query-export.d.ts +9 -4
  168. package/dist/web-api/v1/fetch-query-export.d.ts.map +1 -1
  169. package/dist/web-api/v1/fetch-query-intent.d.ts +2 -2
  170. package/dist/web-api/v1/fetch-query.d.ts +3 -3
  171. package/dist/web-api/v1/fetch-security-principal.d.ts +2 -2
  172. package/dist/web-api/v1/fetch-similar-documents.d.ts +2 -2
  173. package/dist/web-api/v1/fetch-sponsored-links.d.ts +2 -2
  174. package/dist/web-api/v1/fetch-suggest.d.ts +2 -2
  175. package/dist/web-api/v1/fetch-text-chunk.d.ts +2 -2
  176. package/dist/web-api/v1/fetch-user-settings.d.ts +2 -2
  177. package/dist/web-api/v1/fetch-user-settings.d.ts.map +1 -1
  178. package/dist/web-api/v2/fetch-agent-workspace-status.d.ts +3 -3
  179. package/dist/web-api/v2/fetch-agent-workspace.d.ts +3 -3
  180. package/dist/web-api/v2/fetch-change-password.d.ts +1 -1
  181. package/dist/web-api/v2/fetch-forgot-password.d.ts +1 -1
  182. package/dist/web-api/v2/fetch-user-profile.d.ts +29 -6
  183. package/dist/web-api/v2/fetch-user-profile.d.ts.map +1 -1
  184. package/dist/web-api/v2/fetch-version.d.ts +1 -1
  185. package/package.json +2 -2
  186. package/dist/src-CPlI3qi5.cjs +0 -1
@@ -1,4 +1,4 @@
1
- export * from "./workspace";
2
- export * from "./workspace-document";
3
- export * from "./upload-status";
1
+ export * from "./workspace.js";
2
+ export * from "./workspace-document.js";
3
+ export * from "./upload-status.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AggregationItem } from "./AggregationItem";
2
- import { TreeAggregationNode } from "./TreeAggregationNode";
1
+ import { AggregationItem } from "./AggregationItem.js";
2
+ import { TreeAggregationNode } from "./TreeAggregationNode.js";
3
3
  /**
4
4
  * Describes the results of an aggregation. This serves as a base interface for list and tree aggregations
5
5
  */
@@ -1,4 +1,4 @@
1
- import { Aggregation } from "./Aggregation";
1
+ import { Aggregation } from "./Aggregation.js";
2
2
  /**
3
3
  * Describes the fields specific to a list aggregation
4
4
  */
@@ -1,5 +1,5 @@
1
- import { Aggregation } from "./Aggregation";
2
- import { TreeAggregationNode } from "./TreeAggregationNode";
1
+ import { Aggregation } from "./Aggregation.js";
2
+ import { TreeAggregationNode } from "./TreeAggregationNode.js";
3
3
  /**
4
4
  * Describes the fields specific to a tree aggregation
5
5
  */
@@ -1,4 +1,4 @@
1
- import { AggregationItem } from "./AggregationItem";
1
+ import { AggregationItem } from "./AggregationItem.js";
2
2
  type TreeAggregationNode = Omit<AggregationItem, "items"> & {
3
3
  /**
4
4
  * Determines whether this node has any children even if the `items` field is not currently populated
@@ -1,7 +1,7 @@
1
- export * from "./Aggregation";
2
- export * from "./AggregationItem";
3
- export * from "./AggregationOptions";
4
- export * from "./ListAggregation";
5
- export * from "./TreeAggregation";
6
- export * from "./TreeAggregationNode";
1
+ export * from "./Aggregation.js";
2
+ export * from "./AggregationItem.js";
3
+ export * from "./AggregationOptions.js";
4
+ export * from "./ListAggregation.js";
5
+ export * from "./TreeAggregation.js";
6
+ export * from "./TreeAggregationNode.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import { AuditEventType, AuditEventTypeValues } from "./AuditEventType";
2
- import { AuditRecord } from "./AuditRecord";
1
+ import { AuditEventType, AuditEventTypeValues } from "./AuditEventType.js";
2
+ import { AuditRecord } from "./AuditRecord.js";
3
3
  /**
4
4
  * Describes a single audit event
5
5
  */
@@ -1,4 +1,4 @@
1
- import { AuditEvent } from "./AuditEvent";
1
+ import { AuditEvent } from "./AuditEvent.js";
2
2
  /**
3
3
  * Contains an array of {@link AuditEvent} objects and an array of ML audit event records
4
4
  */
@@ -1,5 +1,5 @@
1
- export type { AuditEvent, AuditEvents } from "./AuditEvent";
2
- export type { AuditEventTypeValues } from "./AuditEventType";
3
- export { AuditEventType } from "./AuditEventType";
4
- export type { AuditRecord } from "./AuditRecord";
1
+ export type { AuditEvent, AuditEvents } from "./AuditEvent.js";
2
+ export type { AuditEventTypeValues } from "./AuditEventType.js";
3
+ export { AuditEventType } from "./AuditEventType.js";
4
+ export type { AuditRecord } from "./AuditRecord.js";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export * from "./text-chunk";
2
- export * from "./text-location";
1
+ export * from "./text-chunk.js";
2
+ export * from "./text-location.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -15,7 +15,13 @@ export type CCAggregation = {
15
15
  */
16
16
  includeInStandardSearch: boolean;
17
17
  /**
18
- * The maximum number of values to retrieve
18
+ * The maximum number of values to retrieve.
19
+ *
20
+ * Declared `number`, but on a real server's configuration it is an **empty string** (`""`) when the
21
+ * administrator did not set one. The type is left as is — widening it to `number | ""` would break
22
+ * every consumer doing arithmetic on it — so do not use it raw: the SDK itself reads a non-numeric
23
+ * value as "not declared" and falls back on `DEFAULT_AGGREGATION_COUNT` (10)
24
+ * (`resolveAggregationCount`, `aggregationCounts`, the `count` argument of `fetchAggregation`).
19
25
  */
20
26
  count: number;
21
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CCAggregation.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAggregation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,EAAE,EAAE,GAAG,SAAS,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IACtE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC"}
1
+ {"version":3,"file":"CCAggregation.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAggregation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;;;;;;;OAQG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,EAAE,EAAE,GAAG,SAAS,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IACtE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CAAC"}
@@ -1,9 +1,9 @@
1
- import { CCConfig } from "./CCConfig";
2
- import { CCIndex } from "./CCIndex";
3
- import { CCList } from "./CCList";
4
- import { CCQuery } from "./CCQuery";
5
- import { CCRFM } from "./CCRFM";
6
- import { CCWebService } from "./CCWebService";
1
+ import { CCConfig } from "./CCConfig.js";
2
+ import { CCIndex } from "./CCIndex.js";
3
+ import { CCList } from "./CCList.js";
4
+ import { CCQuery } from "./CCQuery.js";
5
+ import { CCRFM } from "./CCRFM.js";
6
+ import { CCWebService } from "./CCWebService.js";
7
7
  /**
8
8
  * Describes the fields in the application configuration object
9
9
  */
@@ -33,7 +33,11 @@ export type CCApp = CCConfig & {
33
33
  */
34
34
  lists: Record<string, CCList>;
35
35
  /**
36
- * Defines the web services configured on the application
36
+ * Defines the web services configured on the application.
37
+ *
38
+ * On a real server the query web services are **not** in this record — they are in
39
+ * {@link CCApp.queries} — and `CCWebService.webServiceType` is mixed-case, whatever its declared
40
+ * type says: compare it case-insensitively.
37
41
  */
38
42
  webServices: Record<string, CCWebService>;
39
43
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CCApp.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,QAAQ,GAAG;IAC7B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE;QAAE,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,WAAW,EAAE,KAAK,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAC;IACH;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"CCApp.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,QAAQ,GAAG;IAC7B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE;QAAE,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B;;;;;;OAMG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,WAAW,EAAE,KAAK,CAAC;QACjB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAC/B,CAAC,CAAC;IACH;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { CCApp } from ".";
1
+ import { CCApp } from "./index.js";
2
2
  /**
3
3
  * Defines the object returned by a call to [AppWebService.refresh]{@link AppWebService#refresh}. If the upToDate
4
4
  * member is false then the app member contains the latest version of the app configuration
@@ -1,4 +1,4 @@
1
- import { CCWebService } from "./CCWebService";
1
+ import { CCWebService } from "./CCWebService.js";
2
2
  /**
3
3
  * Describes the fields in the autocomplete web service configuration object
4
4
  */
@@ -1,6 +1,6 @@
1
- import { CCColumnInfo } from "./CCColumnInfo";
2
- import { EngineType } from "./EngineType";
3
- import { EngineTypeModifier } from "./EngineTypeModifier";
1
+ import { CCColumnInfo } from "./CCColumnInfo.js";
2
+ import { EngineType } from "./EngineType.js";
3
+ import { EngineTypeModifier } from "./EngineTypeModifier.js";
4
4
  /**
5
5
  * Defines the fields for a column configuration object defined in an index. See {@link CCIndex}
6
6
  */
@@ -1,4 +1,4 @@
1
- import { CCColumnInfo } from "./CCColumnInfo";
1
+ import { CCColumnInfo } from "./CCColumnInfo.js";
2
2
  /**
3
3
  * Describes a set of `CCColumnInfo` objects
4
4
  */
@@ -1,5 +1,5 @@
1
- import { CCColumn } from "./CCColumn";
2
- import { CCConfig } from "./CCConfig";
1
+ import { CCColumn } from "./CCColumn.js";
2
+ import { CCConfig } from "./CCConfig.js";
3
3
  /**
4
4
  * Describes the fields available in the index configuration object
5
5
  */
@@ -1,4 +1,4 @@
1
- import { CCWebService } from "./CCWebService";
1
+ import { CCWebService } from "./CCWebService.js";
2
2
  /**
3
3
  * Describes the fields in the labels web service configuration object
4
4
  */
@@ -1,5 +1,5 @@
1
- import { CCConfig } from "./CCConfig";
2
- import { CCListItem } from "./CCListItem";
1
+ import { CCConfig } from "./CCConfig.js";
2
+ import { CCListItem } from "./CCListItem.js";
3
3
  /**
4
4
  * Describes a list configuration object. Lists can be created in `App Dependencies/Lists` in the admin interface.
5
5
  */
@@ -1,12 +1,12 @@
1
- import { CCAggregation } from "./CCAggregation";
2
- import { CCColumnsInfo } from "./CCColumnsInfo";
3
- import { CCScope } from "./CCScope";
4
- import { CCSortingChoice } from "./CCSortingChoice";
5
- import { CCTabSearch } from "./CCTabSearch";
6
- import { CCWebService } from "./CCWebService";
7
- import { QueryPrecision } from "./QueryPrecision";
8
- import { QueryStrategy } from "./QueryStrategy";
9
- import { SpellingCorrectionMode } from "./SpellingCorrectionMode";
1
+ import { CCAggregation } from "./CCAggregation.js";
2
+ import { CCColumnsInfo } from "./CCColumnsInfo.js";
3
+ import { CCScope } from "./CCScope.js";
4
+ import { CCSortingChoice } from "./CCSortingChoice.js";
5
+ import { CCTabSearch } from "./CCTabSearch.js";
6
+ import { CCWebService } from "./CCWebService.js";
7
+ import { QueryPrecision } from "./QueryPrecision.js";
8
+ import { QueryStrategy } from "./QueryStrategy.js";
9
+ import { SpellingCorrectionMode } from "./SpellingCorrectionMode.js";
10
10
  export type CCQuery = CCWebService & {
11
11
  pageSize: number;
12
12
  aggregations: CCAggregation[];
@@ -1,4 +1,4 @@
1
- import { CCRFMAction } from "./CCRFMAction";
1
+ import { CCRFMAction } from "./CCRFMAction.js";
2
2
  /**
3
3
  * Describes an RFM configuration object
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CCSortingChoice } from "./CCSortingChoice";
1
+ import { CCSortingChoice } from "./CCSortingChoice.js";
2
2
  /**
3
3
  * Describes the fields for a tab configuration object
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CCTab } from "./CCTab";
1
+ import { CCTab } from "./CCTab.js";
2
2
  /**
3
3
  * Describes the fields for the tab search configuration in a query. A tab search defines a special distribution which is evaluated
4
4
  * as a part of query to group the results by a set of tab items. The distribution gives the count of documents
@@ -1,9 +1,21 @@
1
1
  /**
2
2
  * Describes the fields available in all web service configuration objects
3
3
  */
4
- import { CCConfig } from "./CCConfig";
4
+ import { CCConfig } from "./CCConfig.js";
5
5
  declare const VALUES: readonly ["query", "sponsoredlinks", "queryexport", "preview", "labels", "autocomplete", "dataset"];
6
6
  export type CCWebService = CCConfig & {
7
+ /**
8
+ * The kind of the web service.
9
+ *
10
+ * Declared as the lowercase literals above, but a real server's configuration is not that
11
+ * consistent: the values come back mixed-case (`Autocomplete`, `Preview`, `Query`, `Dataset`…) with
12
+ * a few lowercase ones (`labels`). The type is left narrow so that existing `switch`/narrowing code
13
+ * keeps compiling; compare case-insensitively instead of with `===`:
14
+ * `ws.webServiceType.toLowerCase() === "dataset"`.
15
+ *
16
+ * Query web services are not necessarily listed in {@link CCApp.webServices}: they live in
17
+ * {@link CCApp.queries}.
18
+ */
7
19
  webServiceType: (typeof VALUES)[number];
8
20
  };
9
21
  export {};
@@ -1 +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,qGAQF,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG;IACpC,cAAc,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;CACzC,CAAC"}
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,qGAQF,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG;IACpC;;;;;;;;;;;OAWG;IACH,cAAc,EAAE,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;CACzC,CAAC"}
@@ -2,30 +2,30 @@
2
2
  * The minimum server api version that compatible with this version of SBA.
3
3
  */
4
4
  export declare const MINIMUM_COMPATIBLE_SERVER_API_VERSION = "1.0";
5
- export type { CCAggregation } from "./CCAggregation";
6
- export type { CCApp } from "./CCApp";
7
- export type { CCAppPreLogin } from "./CCAppPreLogin";
8
- export type { CCAppRefresh } from "./CCAppRefresh";
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 * from "./EngineType";
27
- export * from "./EngineTypeModifier";
28
- export type { QueryPrecision } from "./QueryPrecision";
29
- export type { QueryStrategy } from "./QueryStrategy";
30
- export type { SpellingCorrectionMode } from "./SpellingCorrectionMode";
5
+ export type { CCAggregation } from "./CCAggregation.js";
6
+ export type { CCApp } from "./CCApp.js";
7
+ export type { CCAppPreLogin } from "./CCAppPreLogin.js";
8
+ export type { CCAppRefresh } from "./CCAppRefresh.js";
9
+ export type { CCAutocomplete } from "./CCAutocomplete.js";
10
+ export type { CCColumn } from "./CCColumn.js";
11
+ export type { CCColumnInfo } from "./CCColumnInfo.js";
12
+ export type { CCColumnsInfo } from "./CCColumnsInfo.js";
13
+ export type { CCConfig } from "./CCConfig.js";
14
+ export type { CCIndex } from "./CCIndex.js";
15
+ export type { CCLabels } from "./CCLabels.js";
16
+ export type { CCList } from "./CCList.js";
17
+ export type { CCListItem } from "./CCListItem.js";
18
+ export type { CCQuery } from "./CCQuery.js";
19
+ export type { CCRFM } from "./CCRFM.js";
20
+ export type { CCRFMAction } from "./CCRFMAction.js";
21
+ export type { CCScope } from "./CCScope.js";
22
+ export type { CCSortingChoice } from "./CCSortingChoice.js";
23
+ export type { CCTab } from "./CCTab.js";
24
+ export type { CCTabSearch } from "./CCTabSearch.js";
25
+ export type { CCWebService } from "./CCWebService.js";
26
+ export * from "./EngineType.js";
27
+ export * from "./EngineTypeModifier.js";
28
+ export type { QueryPrecision } from "./QueryPrecision.js";
29
+ export type { QueryStrategy } from "./QueryStrategy.js";
30
+ export type { SpellingCorrectionMode } from "./SpellingCorrectionMode.js";
31
31
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Filter } from "./Filter";
1
+ import { Filter } from "./Filter.js";
2
2
  export type BetweenFilter = Omit<Filter, "value"> & {
3
3
  operator: "between";
4
4
  start: string | number;
@@ -1,4 +1,4 @@
1
- import { Filter, FilterExprOperator } from "./Filter";
1
+ import { Filter, FilterExprOperator } from "./Filter.js";
2
2
  export type ExprFilter = Omit<Filter, "field" | "value"> & {
3
3
  operator: FilterExprOperator;
4
4
  filters: Filter[];
@@ -1,4 +1,4 @@
1
- import { Filter } from "./Filter";
1
+ import { Filter } from "./Filter.js";
2
2
  export type InFilter = Omit<Filter, "value"> & {
3
3
  operator: "in";
4
4
  values: string[];
@@ -1,4 +1,4 @@
1
- import { Filter } from ".";
1
+ import { Filter } from "./index.js";
2
2
  export type NotNullFilter = Omit<Filter, "value"> & {
3
3
  operator: "notnull";
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Filter } from ".";
1
+ import { Filter } from "./index.js";
2
2
  export type NullFilter = Omit<Filter, "value"> & {
3
3
  operator: "null";
4
4
  };
@@ -1,4 +1,4 @@
1
- import { Filter, FilterScalarOperator } from "./Filter";
1
+ import { Filter, FilterScalarOperator } from "./Filter.js";
2
2
  export type SimpleFilter = Filter & {
3
3
  operator: FilterScalarOperator;
4
4
  };
@@ -1,9 +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 { LegacyFilter } from "./legacy-filters";
6
- export type { NotNullFilter } from "./NotNullFilter";
7
- export type { NullFilter } from "./NullFilter";
8
- export type { SimpleFilter } from "./SimpleFilter";
1
+ export type { BetweenFilter } from "./BetweenFilter.js";
2
+ export type { ExprFilter } from "./ExprFilter.js";
3
+ export type { Filter, FilterExprOperator, FilterOperator, FilterRangeOperator, FilterScalarOperator, } from "./Filter.js";
4
+ export type { InFilter } from "./InFilter.js";
5
+ export type { LegacyFilter } from "./legacy-filters.js";
6
+ export type { NotNullFilter } from "./NotNullFilter.js";
7
+ export type { NullFilter } from "./NullFilter.js";
8
+ export type { SimpleFilter } from "./SimpleFilter.js";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { FilterOperator } from "./Filter";
1
+ import { FilterOperator } from "./Filter.js";
2
2
  export type LegacyFilter = {
3
3
  name?: string;
4
4
  display?: string;
@@ -1,20 +1,20 @@
1
- export * from "./aggregations";
2
- export * from "./api-endpoints";
3
- export * from "./audit";
4
- export * from "./chunks";
5
- export * from "./config";
6
- export * from "./credentials";
7
- export * from "./agent-workspace";
8
- export * from "./export/types";
9
- export * from "./filters";
10
- export * from "./interfaces";
11
- export * from "./labels/label-rights";
12
- export * from "./link-results";
13
- export * from "./preview";
14
- export * from "./principal";
15
- export * from "./search";
16
- export * from "./security-principal";
17
- export * from "./suggest/suggestion";
18
- export * from "./user-profile/user-profile";
19
- export * from "./user-settings/user-settings";
1
+ export * from "./aggregations/index.js";
2
+ export * from "./api-endpoints.js";
3
+ export * from "./audit/index.js";
4
+ export * from "./chunks/index.js";
5
+ export * from "./config/index.js";
6
+ export * from "./credentials.js";
7
+ export * from "./agent-workspace/index.js";
8
+ export * from "./export/types.js";
9
+ export * from "./filters/index.js";
10
+ export * from "./interfaces/index.js";
11
+ export * from "./labels/label-rights.js";
12
+ export * from "./link-results/index.js";
13
+ export * from "./preview/index.js";
14
+ export * from "./principal/index.js";
15
+ export * from "./search/index.js";
16
+ export * from "./security-principal/index.js";
17
+ export * from "./suggest/suggestion.js";
18
+ export * from "./user-profile/user-profile.js";
19
+ export * from "./user-settings/user-settings.js";
20
20
  //# sourceMappingURL=index.d.ts.map
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * Describes the query object that can be passed to the {@link QueryWebService}
3
3
  */
4
- import { AggregationOptions } from "../aggregations";
5
- import { SpellingCorrectionMode } from "../config";
6
- import { ExprFilter, Filter, LegacyFilter } from "../filters";
7
- import { Open } from "./Open";
8
- import { Select } from "./Select";
4
+ import { AggregationOptions } from "../aggregations/index.js";
5
+ import { SpellingCorrectionMode } from "../config/index.js";
6
+ import { ExprFilter, Filter, LegacyFilter } from "../filters/index.js";
7
+ import { Open } from "./Open.js";
8
+ import { Select } from "./Select.js";
9
9
  export type Query = {
10
10
  /**
11
11
  * The name of the query web service configuration object
@@ -1,4 +1,4 @@
1
- export type { Open } from "./Open";
2
- export type { Query } from "./Query";
3
- export type { Select } from "./Select";
1
+ export type { Open } from "./Open.js";
2
+ export type { Query } from "./Query.js";
3
+ export type { Select } from "./Select.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
- export * from "./link-results";
2
- export * from "./links-results";
1
+ export * from "./link-results.js";
2
+ export * from "./links-results.js";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { LinkResult } from "./link-results";
1
+ import { LinkResult } from "./link-results.js";
2
2
  /**
3
3
  * Describes a set of sponsored links
4
4
  */
@@ -1,4 +1,4 @@
1
- import { HighlightValue } from "./HighlightValue";
1
+ import { HighlightValue } from "./HighlightValue.js";
2
2
  /**
3
3
  * Describes highlight data for a category
4
4
  */
@@ -1,4 +1,4 @@
1
- import { CategoryHighlightData } from "./CategoryHighlightData";
1
+ import { CategoryHighlightData } from "./CategoryHighlightData.js";
2
2
  /**
3
3
  * Describes highlight data for a set of categories
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Location } from "./Location";
1
+ import { Location } from "./Location.js";
2
2
  /**
3
3
  * Describes a highlight value
4
4
  */
@@ -1,7 +1,7 @@
1
- import { Article } from "../search";
2
- import { Conversion } from "./Conversion";
3
- import { HighlightDataPerCategory } from "./HighlightDataPerCategory";
4
- import { HighlightDataPerLocation } from "./HighlightDataPerLocation";
1
+ import { Article } from "../search/index.js";
2
+ import { Conversion } from "./Conversion.js";
3
+ import { HighlightDataPerCategory } from "./HighlightDataPerCategory.js";
4
+ import { HighlightDataPerLocation } from "./HighlightDataPerLocation.js";
5
5
  /**
6
6
  * Describes the data returned by [PreviewWebService.get]{@link PreviewWebService#get}
7
7
  */
@@ -1,9 +1,9 @@
1
- export type { CategoryHighlightData } from "./CategoryHighlightData";
2
- export type { Conversion } from "./Conversion";
3
- export type { CustomHighlights } from "./CustomHighlights";
4
- export type { HighlightDataPerCategory } from "./HighlightDataPerCategory";
5
- export type { HighlightDataPerLocation } from "./HighlightDataPerLocation";
6
- export type { HighlightValue } from "./HighlightValue";
7
- export type { Location } from "./Location";
8
- export type { PreviewData } from "./PreviewData";
1
+ export type { CategoryHighlightData } from "./CategoryHighlightData.js";
2
+ export type { Conversion } from "./Conversion.js";
3
+ export type { CustomHighlights } from "./CustomHighlights.js";
4
+ export type { HighlightDataPerCategory } from "./HighlightDataPerCategory.js";
5
+ export type { HighlightDataPerLocation } from "./HighlightDataPerLocation.js";
6
+ export type { HighlightValue } from "./HighlightValue.js";
7
+ export type { Location } from "./Location.js";
8
+ export type { PreviewData } from "./PreviewData.js";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { PrincipalEvent } from "./PrincipalEvent";
1
+ import { PrincipalEvent } from "./PrincipalEvent.js";
2
2
  /**
3
3
  * This event is fired each time the [principal]{@link PrincipalWebService#principal} member is modified.
4
4
  * Typically this will be at login / logoff and also if the "override user" admin feature is used.
@@ -1,7 +1,7 @@
1
- export type { Principal } from "./Principal";
2
- export type { PrincipalChangedEvent } from "./PrincipalChangedEvent";
3
- export type { PrincipalEvent } from "./PrincipalEvent";
4
- export type { PrincipalParams } from "./PrincipalParams";
5
- export type { PrincipalUserIdsParams } from "./PrincipalUserIdsParams";
6
- export type { PrincipalUserInfo } from "./PrincipalUserInfo";
1
+ export type { Principal } from "./Principal.js";
2
+ export type { PrincipalChangedEvent } from "./PrincipalChangedEvent.js";
3
+ export type { PrincipalEvent } from "./PrincipalEvent.js";
4
+ export type { PrincipalParams } from "./PrincipalParams.js";
5
+ export type { PrincipalUserIdsParams } from "./PrincipalUserIdsParams.js";
6
+ export type { PrincipalUserInfo } from "./PrincipalUserInfo.js";
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { AccessListPrincipal } from "./AccessListPrincipal";
1
+ import { AccessListPrincipal } from "./AccessListPrincipal.js";
2
2
  /**
3
3
  * Describes the access lists
4
4
  */
@@ -1,4 +1,4 @@
1
- import { Article, Passage } from ".";
1
+ import { Article, Passage } from "./index.js";
2
2
  /**
3
3
  * An answer returned by the ML Answer Finder model
4
4
  */
@@ -1,8 +1,8 @@
1
- import { MatchingPassage, TermPresence } from ".";
2
- import { DocumentAccessLists } from "./DocumentAccessLists";
3
- import { MatchLocationsPerPartname } from "./MatchLocationsPerPartname";
4
- import { RelevantExtract } from "./RelevantExtract";
5
- import { RFMData } from "./RFMData";
1
+ import { MatchingPassage, TermPresence } from "./index.js";
2
+ import { DocumentAccessLists } from "./DocumentAccessLists.js";
3
+ import { MatchLocationsPerPartname } from "./MatchLocationsPerPartname.js";
4
+ import { RelevantExtract } from "./RelevantExtract.js";
5
+ import { RFMData } from "./RFMData.js";
6
6
  /**
7
7
  * Describes the standard fields in a document result record
8
8
  *