@sinequa/atomic 2.11.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.
- package/README.md +75 -93
- package/dist/atomic.cjs +1 -1
- package/dist/atomic.js +1 -1
- package/dist/authentication/constants.d.ts +1 -1
- package/dist/authentication/events/auth-events.d.ts +2 -2
- package/dist/authentication/events/emit-authenticated-event.d.ts +1 -1
- package/dist/authentication/events/index.d.ts +2 -2
- package/dist/authentication/index.d.ts +4 -4
- package/dist/authentication/providers/index.d.ts +2 -2
- package/dist/authentication/providers/oauth-authentication.d.ts +1 -1
- package/dist/authentication/providers/redirect-to-identity-provider.d.ts +1 -1
- package/dist/authentication/providers/redirect-to-identity-provider.d.ts.map +1 -1
- package/dist/authentication/providers/saml-authentication.d.ts +1 -1
- package/dist/authentication/session/auth-mode-marker.d.ts +1 -1
- package/dist/authentication/session/auth-state.d.ts +1 -1
- package/dist/authentication/session/detect-auth-mode.d.ts +2 -2
- package/dist/authentication/session/has-session.d.ts +1 -1
- package/dist/authentication/session/index.d.ts +7 -7
- package/dist/authentication/session/login.d.ts +2 -2
- package/dist/authentication/session/logout.d.ts +4 -3
- package/dist/authentication/session/logout.d.ts.map +1 -1
- package/dist/authentication/session/redirect-guard.d.ts +1 -1
- package/dist/authentication/session/session-lost-latch.d.ts +1 -1
- package/dist/authentication/session/signed-out-guard.d.ts +1 -1
- package/dist/authentication/session/try-auto-authentication.d.ts +1 -1
- package/dist/authentication/session/try-auto-authentication.d.ts.map +1 -1
- package/dist/authentication/session/user-authentication.d.ts +1 -1
- package/dist/authentication/tokens/delete-web-token-cookie.d.ts +1 -1
- package/dist/authentication/tokens/delete-web-token-cookie.d.ts.map +1 -1
- package/dist/authentication/tokens/get-csrf-token.d.ts +1 -1
- package/dist/authentication/tokens/get-csrf-token.d.ts.map +1 -1
- package/dist/authentication/tokens/get-jwt-token.d.ts +2 -2
- package/dist/authentication/tokens/get-token.d.ts +1 -1
- package/dist/authentication/tokens/index.d.ts +5 -5
- package/dist/authentication/tokens/set-token.d.ts +1 -1
- package/dist/client/atomic-context.d.ts +4 -4
- package/dist/client/create-api.d.ts +49 -48
- package/dist/client/create-api.d.ts.map +1 -1
- package/dist/client/create-atomic-client.d.ts +8 -8
- package/dist/client/http-adapter.d.ts +1 -1
- package/dist/client/index.d.ts +4 -4
- package/dist/configurations/auth-options.d.ts +1 -1
- package/dist/configurations/global.config.d.ts +4 -4
- package/dist/configurations/index.d.ts +3 -3
- package/dist/helpers/aggregation-count.d.ts +3 -2
- package/dist/helpers/aggregation-count.d.ts.map +1 -1
- package/dist/helpers/column-resolver.d.ts +11 -3
- package/dist/helpers/column-resolver.d.ts.map +1 -1
- package/dist/helpers/columns.d.ts +1 -1
- package/dist/helpers/filters.d.ts +1 -1
- package/dist/helpers/index.d.ts +8 -8
- package/dist/helpers/metadata.d.ts +2 -2
- package/dist/helpers/pagination.d.ts +1 -1
- package/dist/helpers/to-aggregation-count.d.ts +11 -0
- package/dist/helpers/to-aggregation-count.d.ts.map +1 -0
- package/dist/index.d.ts +7 -7
- package/dist/polyfills/storage.d.ts +1 -1
- package/dist/spfx/index.cjs +1 -1
- package/dist/spfx/index.d.ts +3 -3
- package/dist/spfx/index.js +1 -1
- package/dist/src-CCjB0b1J.cjs +1 -0
- package/dist/{src-bQIJ_J2j.js → src-CK3j-Qz_.js} +819 -757
- package/dist/types/agent-workspace/index.d.ts +3 -3
- package/dist/types/aggregations/Aggregation.d.ts +2 -2
- package/dist/types/aggregations/ListAggregation.d.ts +1 -1
- package/dist/types/aggregations/TreeAggregation.d.ts +2 -2
- package/dist/types/aggregations/TreeAggregationNode.d.ts +1 -1
- package/dist/types/aggregations/index.d.ts +6 -6
- package/dist/types/audit/AuditEvent.d.ts +2 -2
- package/dist/types/audit/AuditRecord.d.ts +1 -1
- package/dist/types/audit/index.d.ts +4 -4
- package/dist/types/chunks/index.d.ts +2 -2
- package/dist/types/config/CCAggregation.d.ts +7 -1
- package/dist/types/config/CCAggregation.d.ts.map +1 -1
- package/dist/types/config/CCApp.d.ts +11 -7
- package/dist/types/config/CCApp.d.ts.map +1 -1
- package/dist/types/config/CCAppRefresh.d.ts +1 -1
- package/dist/types/config/CCAutocomplete.d.ts +1 -1
- package/dist/types/config/CCColumn.d.ts +3 -3
- package/dist/types/config/CCColumnsInfo.d.ts +1 -1
- package/dist/types/config/CCIndex.d.ts +2 -2
- package/dist/types/config/CCLabels.d.ts +1 -1
- package/dist/types/config/CCList.d.ts +2 -2
- package/dist/types/config/CCQuery.d.ts +9 -9
- package/dist/types/config/CCRFM.d.ts +1 -1
- package/dist/types/config/CCTab.d.ts +1 -1
- package/dist/types/config/CCTabSearch.d.ts +1 -1
- package/dist/types/config/CCWebService.d.ts +13 -1
- package/dist/types/config/CCWebService.d.ts.map +1 -1
- package/dist/types/config/index.d.ts +26 -26
- package/dist/types/filters/BetweenFilter.d.ts +1 -1
- package/dist/types/filters/ExprFilter.d.ts +1 -1
- package/dist/types/filters/InFilter.d.ts +1 -1
- package/dist/types/filters/NotNullFilter.d.ts +1 -1
- package/dist/types/filters/NullFilter.d.ts +1 -1
- package/dist/types/filters/SimpleFilter.d.ts +1 -1
- package/dist/types/filters/index.d.ts +8 -8
- package/dist/types/filters/legacy-filters.d.ts +1 -1
- package/dist/types/index.d.ts +19 -19
- package/dist/types/interfaces/Query.d.ts +5 -5
- package/dist/types/interfaces/index.d.ts +3 -3
- package/dist/types/link-results/index.d.ts +2 -2
- package/dist/types/link-results/links-results.d.ts +1 -1
- package/dist/types/preview/CategoryHighlightData.d.ts +1 -1
- package/dist/types/preview/HighlightDataPerCategory.d.ts +1 -1
- package/dist/types/preview/HighlightValue.d.ts +1 -1
- package/dist/types/preview/PreviewData.d.ts +4 -4
- package/dist/types/preview/index.d.ts +8 -8
- package/dist/types/principal/PrincipalChangedEvent.d.ts +1 -1
- package/dist/types/principal/index.d.ts +6 -6
- package/dist/types/search/AccessLists.d.ts +1 -1
- package/dist/types/search/Answer.d.ts +1 -1
- package/dist/types/search/Article.d.ts +5 -5
- package/dist/types/search/DidYouMean.d.ts +2 -2
- package/dist/types/search/DocumentAccessLists.d.ts +1 -1
- package/dist/types/search/MatchLocationsPerPartname.d.ts +1 -1
- package/dist/types/search/MatchingPassage.d.ts +1 -1
- package/dist/types/search/QueryAnalysis.d.ts +1 -1
- package/dist/types/search/QueryIntent.d.ts +4 -4
- package/dist/types/search/QueryIntentData.d.ts +2 -2
- package/dist/types/search/QueryIntentMatch.d.ts +1 -1
- package/dist/types/search/QueryIntentResponse.d.ts +1 -1
- package/dist/types/search/RFMActionDisplay.d.ts +1 -1
- package/dist/types/search/RFMData.d.ts +1 -1
- package/dist/types/search/Result.d.ts +17 -16
- package/dist/types/search/Result.d.ts.map +1 -1
- package/dist/types/search/TopPassage.d.ts +1 -1
- package/dist/types/search/index.d.ts +32 -32
- package/dist/types/security-principal/index.d.ts +1 -1
- package/dist/types/user-profile/user-profile.d.ts +5 -0
- package/dist/types/user-profile/user-profile.d.ts.map +1 -1
- package/dist/utils/aggregations.d.ts +3 -3
- package/dist/utils/index.d.ts +11 -11
- package/dist/utils/query-params.d.ts +1 -1
- package/dist/utils/to-sql.d.ts +1 -1
- package/dist/web-api/helpers/create-headers.d.ts +1 -1
- package/dist/web-api/helpers/errors/server-error.d.ts +1 -1
- package/dist/web-api/helpers/errors/timeout-error.d.ts +1 -1
- package/dist/web-api/helpers/errors/unauthorized-error.d.ts +1 -1
- package/dist/web-api/helpers/handle-response.d.ts +2 -2
- package/dist/web-api/helpers/handle-response.d.ts.map +1 -1
- package/dist/web-api/helpers/index.d.ts +16 -16
- package/dist/web-api/helpers/methods/del.d.ts +3 -3
- package/dist/web-api/helpers/methods/get.d.ts +3 -3
- package/dist/web-api/helpers/methods/patch-raw.d.ts +3 -3
- package/dist/web-api/helpers/methods/patch.d.ts +3 -3
- package/dist/web-api/helpers/methods/post.d.ts +3 -3
- package/dist/web-api/helpers/methods/put.d.ts +3 -3
- package/dist/web-api/helpers/methods/send-patch.d.ts +3 -3
- package/dist/web-api/helpers/methods/send-request.d.ts +2 -2
- package/dist/web-api/helpers/utils/build-request-url.d.ts +2 -2
- package/dist/web-api/helpers/utils/create-timeout-controller.d.ts +6 -1
- package/dist/web-api/helpers/utils/create-timeout-controller.d.ts.map +1 -1
- package/dist/web-api/helpers/utils/resolve-no-auto-authentication.d.ts +1 -1
- package/dist/web-api/index.d.ts +23 -23
- package/dist/web-api/v1/fetch-aggregation.d.ts +2 -2
- package/dist/web-api/v1/fetch-aggregation.d.ts.map +1 -1
- package/dist/web-api/v1/fetch-app.d.ts +2 -2
- package/dist/web-api/v1/fetch-audit.d.ts +2 -2
- package/dist/web-api/v1/fetch-dataset.d.ts +2 -2
- package/dist/web-api/v1/fetch-labels.d.ts +2 -2
- package/dist/web-api/v1/fetch-preview.d.ts +2 -2
- package/dist/web-api/v1/fetch-principal.d.ts +3 -3
- package/dist/web-api/v1/fetch-query-export.d.ts +9 -4
- package/dist/web-api/v1/fetch-query-export.d.ts.map +1 -1
- package/dist/web-api/v1/fetch-query-intent.d.ts +2 -2
- package/dist/web-api/v1/fetch-query.d.ts +3 -3
- package/dist/web-api/v1/fetch-security-principal.d.ts +2 -2
- package/dist/web-api/v1/fetch-similar-documents.d.ts +2 -2
- package/dist/web-api/v1/fetch-sponsored-links.d.ts +2 -2
- package/dist/web-api/v1/fetch-suggest.d.ts +2 -2
- package/dist/web-api/v1/fetch-text-chunk.d.ts +2 -2
- package/dist/web-api/v1/fetch-user-settings.d.ts +2 -2
- package/dist/web-api/v1/fetch-user-settings.d.ts.map +1 -1
- package/dist/web-api/v2/fetch-agent-workspace-status.d.ts +3 -3
- package/dist/web-api/v2/fetch-agent-workspace.d.ts +3 -3
- package/dist/web-api/v2/fetch-change-password.d.ts +1 -1
- package/dist/web-api/v2/fetch-forgot-password.d.ts +1 -1
- package/dist/web-api/v2/fetch-user-profile.d.ts +24 -6
- package/dist/web-api/v2/fetch-user-profile.d.ts.map +1 -1
- package/dist/web-api/v2/fetch-version.d.ts +1 -1
- package/package.json +2 -2
- package/dist/src-DwKhKgxj.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,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,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
|
|
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
|
|
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,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,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 { 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,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
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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,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,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
|
*
|