@sinequa/atomic 0.0.62
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 +18 -0
- package/dist/atomic.js +887 -0
- package/dist/atomic.umd.cjs +1 -0
- package/dist/auth/auth.d.ts +39 -0
- package/dist/auth/auth.d.ts.map +1 -0
- package/dist/auth/index.d.ts +2 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/configurations/global.config.d.ts +35 -0
- package/dist/configurations/global.config.d.ts.map +1 -0
- package/dist/configurations/index.d.ts +2 -0
- package/dist/configurations/index.d.ts.map +1 -0
- package/dist/helpers/column-resolver.d.ts +10 -0
- package/dist/helpers/column-resolver.d.ts.map +1 -0
- package/dist/helpers/column-resolver.test.d.ts +2 -0
- package/dist/helpers/column-resolver.test.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +5 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/metadata.d.ts +13 -0
- package/dist/helpers/metadata.d.ts.map +1 -0
- package/dist/helpers/ts-helper.d.ts +8 -0
- package/dist/helpers/ts-helper.d.ts.map +1 -0
- package/dist/helpers/utils.d.ts +38 -0
- package/dist/helpers/utils.d.ts.map +1 -0
- package/dist/helpers/utils.test.d.ts +2 -0
- package/dist/helpers/utils.test.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types/aggregations/Aggregation.d.ts +38 -0
- package/dist/types/aggregations/Aggregation.d.ts.map +1 -0
- package/dist/types/aggregations/AggregationItem.d.ts +30 -0
- package/dist/types/aggregations/AggregationItem.d.ts.map +1 -0
- package/dist/types/aggregations/AggregationOptions.d.ts +14 -0
- package/dist/types/aggregations/AggregationOptions.d.ts.map +1 -0
- package/dist/types/aggregations/ListAggregation.d.ts +6 -0
- package/dist/types/aggregations/ListAggregation.d.ts.map +1 -0
- package/dist/types/aggregations/TreeAggregation.d.ts +13 -0
- package/dist/types/aggregations/TreeAggregation.d.ts.map +1 -0
- package/dist/types/aggregations/TreeAggregationNode.d.ts +27 -0
- package/dist/types/aggregations/TreeAggregationNode.d.ts.map +1 -0
- package/dist/types/aggregations/index.d.ts +7 -0
- package/dist/types/aggregations/index.d.ts.map +1 -0
- package/dist/types/api-endpoints.d.ts +4 -0
- package/dist/types/api-endpoints.d.ts.map +1 -0
- package/dist/types/audit/AuditEvent.d.ts +15 -0
- package/dist/types/audit/AuditEvent.d.ts.map +1 -0
- package/dist/types/audit/AuditEventType.d.ts +114 -0
- package/dist/types/audit/AuditEventType.d.ts.map +1 -0
- package/dist/types/audit/AuditRecord.d.ts +9 -0
- package/dist/types/audit/AuditRecord.d.ts.map +1 -0
- package/dist/types/audit/index.d.ts +5 -0
- package/dist/types/audit/index.d.ts.map +1 -0
- package/dist/types/chunks/index.d.ts +3 -0
- package/dist/types/chunks/index.d.ts.map +1 -0
- package/dist/types/chunks/text-chunk.d.ts +11 -0
- package/dist/types/chunks/text-chunk.d.ts.map +1 -0
- package/dist/types/chunks/text-location.d.ts +7 -0
- package/dist/types/chunks/text-location.d.ts.map +1 -0
- package/dist/types/config/CCAggregation.d.ts +47 -0
- package/dist/types/config/CCAggregation.d.ts.map +1 -0
- package/dist/types/config/CCApp.d.ts +87 -0
- package/dist/types/config/CCApp.d.ts.map +1 -0
- package/dist/types/config/CCAppPreLogin.d.ts +9 -0
- package/dist/types/config/CCAppPreLogin.d.ts.map +1 -0
- package/dist/types/config/CCAppRefresh.d.ts +10 -0
- package/dist/types/config/CCAppRefresh.d.ts.map +1 -0
- package/dist/types/config/CCAutocomplete.d.ts +32 -0
- package/dist/types/config/CCAutocomplete.d.ts.map +1 -0
- package/dist/types/config/CCColumn.d.ts +15 -0
- package/dist/types/config/CCColumn.d.ts.map +1 -0
- package/dist/types/config/CCColumnInfo.d.ts +38 -0
- package/dist/types/config/CCColumnInfo.d.ts.map +1 -0
- package/dist/types/config/CCColumnsInfo.d.ts +8 -0
- package/dist/types/config/CCColumnsInfo.d.ts.map +1 -0
- package/dist/types/config/CCConfig.d.ts +15 -0
- package/dist/types/config/CCConfig.d.ts.map +1 -0
- package/dist/types/config/CCIndex.d.ts +16 -0
- package/dist/types/config/CCIndex.d.ts.map +1 -0
- package/dist/types/config/CCLabels.d.ts +43 -0
- package/dist/types/config/CCLabels.d.ts.map +1 -0
- package/dist/types/config/CCList.d.ts +16 -0
- package/dist/types/config/CCList.d.ts.map +1 -0
- package/dist/types/config/CCListItem.d.ts +14 -0
- package/dist/types/config/CCListItem.d.ts.map +1 -0
- package/dist/types/config/CCQuery.d.ts +34 -0
- package/dist/types/config/CCQuery.d.ts.map +1 -0
- package/dist/types/config/CCRFM.d.ts +11 -0
- package/dist/types/config/CCRFM.d.ts.map +1 -0
- package/dist/types/config/CCRFMAction.d.ts +12 -0
- package/dist/types/config/CCRFMAction.d.ts.map +1 -0
- package/dist/types/config/CCScope.d.ts +28 -0
- package/dist/types/config/CCScope.d.ts.map +1 -0
- package/dist/types/config/CCSortingChoice.d.ts +32 -0
- package/dist/types/config/CCSortingChoice.d.ts.map +1 -0
- package/dist/types/config/CCTab.d.ts +35 -0
- package/dist/types/config/CCTab.d.ts.map +1 -0
- package/dist/types/config/CCTabSearch.d.ts +46 -0
- package/dist/types/config/CCTabSearch.d.ts.map +1 -0
- package/dist/types/config/CCWebService.d.ts +10 -0
- package/dist/types/config/CCWebService.d.ts.map +1 -0
- package/dist/types/config/EngineType.d.ts +22 -0
- package/dist/types/config/EngineType.d.ts.map +1 -0
- package/dist/types/config/EngineTypeModifier.d.ts +24 -0
- package/dist/types/config/EngineTypeModifier.d.ts.map +1 -0
- package/dist/types/config/ExportDialogModel.d.ts +13 -0
- package/dist/types/config/ExportDialogModel.d.ts.map +1 -0
- package/dist/types/config/ExportOutputFormat.d.ts +10 -0
- package/dist/types/config/ExportOutputFormat.d.ts.map +1 -0
- package/dist/types/config/ExportSourceType.d.ts +10 -0
- package/dist/types/config/ExportSourceType.d.ts.map +1 -0
- package/dist/types/config/QueryPrecision.d.ts +14 -0
- package/dist/types/config/QueryPrecision.d.ts.map +1 -0
- package/dist/types/config/QueryStrategy.d.ts +18 -0
- package/dist/types/config/QueryStrategy.d.ts.map +1 -0
- package/dist/types/config/SpellingCorrectionMode.d.ts +28 -0
- package/dist/types/config/SpellingCorrectionMode.d.ts.map +1 -0
- package/dist/types/config/index.d.ts +34 -0
- package/dist/types/config/index.d.ts.map +1 -0
- package/dist/types/credentials.d.ts +5 -0
- package/dist/types/credentials.d.ts.map +1 -0
- package/dist/types/filters/BetweenFilter.d.ts +7 -0
- package/dist/types/filters/BetweenFilter.d.ts.map +1 -0
- package/dist/types/filters/ExprFilter.d.ts +6 -0
- package/dist/types/filters/ExprFilter.d.ts.map +1 -0
- package/dist/types/filters/Filter.d.ts +10 -0
- package/dist/types/filters/Filter.d.ts.map +1 -0
- package/dist/types/filters/InFilter.d.ts +6 -0
- package/dist/types/filters/InFilter.d.ts.map +1 -0
- package/dist/types/filters/NotNullFilter.d.ts +5 -0
- package/dist/types/filters/NotNullFilter.d.ts.map +1 -0
- package/dist/types/filters/NullFilter.d.ts +5 -0
- package/dist/types/filters/NullFilter.d.ts.map +1 -0
- package/dist/types/filters/SimpleFilter.d.ts +5 -0
- package/dist/types/filters/SimpleFilter.d.ts.map +1 -0
- package/dist/types/filters/index.d.ts +9 -0
- package/dist/types/filters/index.d.ts.map +1 -0
- package/dist/types/filters/legacy-filters.d.ts +13 -0
- package/dist/types/filters/legacy-filters.d.ts.map +1 -0
- package/dist/types/index.d.ts +16 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/interfaces/Open.d.ts +14 -0
- package/dist/types/interfaces/Open.d.ts.map +1 -0
- package/dist/types/interfaces/Query.d.ts +136 -0
- package/dist/types/interfaces/Query.d.ts.map +1 -0
- package/dist/types/interfaces/Select.d.ts +15 -0
- package/dist/types/interfaces/Select.d.ts.map +1 -0
- package/dist/types/interfaces/index.d.ts +4 -0
- package/dist/types/interfaces/index.d.ts.map +1 -0
- package/dist/types/interfaces/json.d.ts +7 -0
- package/dist/types/interfaces/json.d.ts.map +1 -0
- package/dist/types/labels/label-rights.d.ts +5 -0
- package/dist/types/labels/label-rights.d.ts.map +1 -0
- package/dist/types/link-results/index.d.ts +3 -0
- package/dist/types/link-results/index.d.ts.map +1 -0
- package/dist/types/link-results/link-results.d.ts +12 -0
- package/dist/types/link-results/link-results.d.ts.map +1 -0
- package/dist/types/link-results/links-results.d.ts +9 -0
- package/dist/types/link-results/links-results.d.ts.map +1 -0
- package/dist/types/preview/CategoryHighlightData.d.ts +12 -0
- package/dist/types/preview/CategoryHighlightData.d.ts.map +1 -0
- package/dist/types/preview/CustomHighlights.d.ts +8 -0
- package/dist/types/preview/CustomHighlights.d.ts.map +1 -0
- package/dist/types/preview/HighlightDataPerCategory.d.ts +6 -0
- package/dist/types/preview/HighlightDataPerCategory.d.ts.map +1 -0
- package/dist/types/preview/HighlightDataPerLocation.d.ts +11 -0
- package/dist/types/preview/HighlightDataPerLocation.d.ts.map +1 -0
- package/dist/types/preview/HighlightValue.d.ts +10 -0
- package/dist/types/preview/HighlightValue.d.ts.map +1 -0
- package/dist/types/preview/Location.d.ts +8 -0
- package/dist/types/preview/Location.d.ts.map +1 -0
- package/dist/types/preview/PreviewData.d.ts +15 -0
- package/dist/types/preview/PreviewData.d.ts.map +1 -0
- package/dist/types/preview/index.d.ts +8 -0
- package/dist/types/preview/index.d.ts.map +1 -0
- package/dist/types/principal/Principal.d.ts +29 -0
- package/dist/types/principal/Principal.d.ts.map +1 -0
- package/dist/types/principal/PrincipalChangedEvent.d.ts +11 -0
- package/dist/types/principal/PrincipalChangedEvent.d.ts.map +1 -0
- package/dist/types/principal/PrincipalEvent.d.ts +7 -0
- package/dist/types/principal/PrincipalEvent.d.ts.map +1 -0
- package/dist/types/principal/PrincipalParams.d.ts +8 -0
- package/dist/types/principal/PrincipalParams.d.ts.map +1 -0
- package/dist/types/principal/PrincipalUserIdsParams.d.ts +6 -0
- package/dist/types/principal/PrincipalUserIdsParams.d.ts.map +1 -0
- package/dist/types/principal/PrincipalUserInfo.d.ts +11 -0
- package/dist/types/principal/PrincipalUserInfo.d.ts.map +1 -0
- package/dist/types/principal/index.d.ts +7 -0
- package/dist/types/principal/index.d.ts.map +1 -0
- package/dist/types/search/AccessListPrincipal.d.ts +17 -0
- package/dist/types/search/AccessListPrincipal.d.ts.map +1 -0
- package/dist/types/search/AccessLists.d.ts +9 -0
- package/dist/types/search/AccessLists.d.ts.map +1 -0
- package/dist/types/search/Answer.d.ts +16 -0
- package/dist/types/search/Answer.d.ts.map +1 -0
- package/dist/types/search/Article.d.ts +194 -0
- package/dist/types/search/Article.d.ts.map +1 -0
- package/dist/types/search/Attributes.d.ts +17 -0
- package/dist/types/search/Attributes.d.ts.map +1 -0
- package/dist/types/search/DidYouMean.d.ts +10 -0
- package/dist/types/search/DidYouMean.d.ts.map +1 -0
- package/dist/types/search/DidYouMeanItem.d.ts +17 -0
- package/dist/types/search/DidYouMeanItem.d.ts.map +1 -0
- package/dist/types/search/DidYouMeanKind.d.ts +8 -0
- package/dist/types/search/DidYouMeanKind.d.ts.map +1 -0
- package/dist/types/search/DocumentAccessLists.d.ts +10 -0
- package/dist/types/search/DocumentAccessLists.d.ts.map +1 -0
- package/dist/types/search/EntityItem.d.ts +26 -0
- package/dist/types/search/EntityItem.d.ts.map +1 -0
- package/dist/types/search/MatchLocationsPerPartname.d.ts +8 -0
- package/dist/types/search/MatchLocationsPerPartname.d.ts.map +1 -0
- package/dist/types/search/MatchingPassage.d.ts +11 -0
- package/dist/types/search/MatchingPassage.d.ts.map +1 -0
- package/dist/types/search/PartnameMatchLocations.d.ts +8 -0
- package/dist/types/search/PartnameMatchLocations.d.ts.map +1 -0
- package/dist/types/search/Passage.d.ts +8 -0
- package/dist/types/search/Passage.d.ts.map +1 -0
- package/dist/types/search/QueryAnalysis.d.ts +11 -0
- package/dist/types/search/QueryAnalysis.d.ts.map +1 -0
- package/dist/types/search/QueryAnalysisElement.d.ts +24 -0
- package/dist/types/search/QueryAnalysisElement.d.ts.map +1 -0
- package/dist/types/search/QueryIntent.d.ts +15 -0
- package/dist/types/search/QueryIntent.d.ts.map +1 -0
- package/dist/types/search/QueryIntentAction.d.ts +11 -0
- package/dist/types/search/QueryIntentAction.d.ts.map +1 -0
- package/dist/types/search/QueryIntentData.d.ts +27 -0
- package/dist/types/search/QueryIntentData.d.ts.map +1 -0
- package/dist/types/search/QueryIntentDatasets.d.ts +13 -0
- package/dist/types/search/QueryIntentDatasets.d.ts.map +1 -0
- package/dist/types/search/QueryIntentEntity.d.ts +27 -0
- package/dist/types/search/QueryIntentEntity.d.ts.map +1 -0
- package/dist/types/search/QueryIntentMatch.d.ts +17 -0
- package/dist/types/search/QueryIntentMatch.d.ts.map +1 -0
- package/dist/types/search/QueryIntentResponse.d.ts +9 -0
- package/dist/types/search/QueryIntentResponse.d.ts.map +1 -0
- package/dist/types/search/QueryIntentWord.d.ts +12 -0
- package/dist/types/search/QueryIntentWord.d.ts.map +1 -0
- package/dist/types/search/RFMActionDisplay.d.ts +16 -0
- package/dist/types/search/RFMActionDisplay.d.ts.map +1 -0
- package/dist/types/search/RFMData.d.ts +10 -0
- package/dist/types/search/RFMData.d.ts.map +1 -0
- package/dist/types/search/RFMDisplay.d.ts +18 -0
- package/dist/types/search/RFMDisplay.d.ts.map +1 -0
- package/dist/types/search/RelevantExtract.d.ts +11 -0
- package/dist/types/search/RelevantExtract.d.ts.map +1 -0
- package/dist/types/search/Result.d.ts +43 -0
- package/dist/types/search/Result.d.ts.map +1 -0
- package/dist/types/search/Tab.d.ts +25 -0
- package/dist/types/search/Tab.d.ts.map +1 -0
- package/dist/types/search/TermPresence.d.ts +11 -0
- package/dist/types/search/TermPresence.d.ts.map +1 -0
- package/dist/types/search/TopPassage.d.ts +13 -0
- package/dist/types/search/TopPassage.d.ts.map +1 -0
- package/dist/types/search/index.d.ts +34 -0
- package/dist/types/search/index.d.ts.map +1 -0
- package/dist/types/suggest/suggestion.d.ts +11 -0
- package/dist/types/suggest/suggestion.d.ts.map +1 -0
- package/dist/types/user-settings/user-settings.d.ts +14 -0
- package/dist/types/user-settings/user-settings.d.ts.map +1 -0
- package/dist/utils/aggregations.d.ts +51 -0
- package/dist/utils/aggregations.d.ts.map +1 -0
- package/dist/utils/array/bisect.d.ts +17 -0
- package/dist/utils/array/bisect.d.ts.map +1 -0
- package/dist/utils/concepts.d.ts +72 -0
- package/dist/utils/concepts.d.ts.map +1 -0
- package/dist/utils/date.d.ts +31 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/query-params.d.ts +72 -0
- package/dist/utils/query-params.d.ts.map +1 -0
- package/dist/utils/syslang.d.ts +27 -0
- package/dist/utils/syslang.d.ts.map +1 -0
- package/dist/web-api/fetch-aggregation.d.ts +11 -0
- package/dist/web-api/fetch-aggregation.d.ts.map +1 -0
- package/dist/web-api/fetch-app.d.ts +17 -0
- package/dist/web-api/fetch-app.d.ts.map +1 -0
- package/dist/web-api/fetch-audit.d.ts +33 -0
- package/dist/web-api/fetch-audit.d.ts.map +1 -0
- package/dist/web-api/fetch-dataset.d.ts +43 -0
- package/dist/web-api/fetch-dataset.d.ts.map +1 -0
- package/dist/web-api/fetch-labels.d.ts +95 -0
- package/dist/web-api/fetch-labels.d.ts.map +1 -0
- package/dist/web-api/fetch-preview.d.ts +17 -0
- package/dist/web-api/fetch-preview.d.ts.map +1 -0
- package/dist/web-api/fetch-principal.d.ts +13 -0
- package/dist/web-api/fetch-principal.d.ts.map +1 -0
- package/dist/web-api/fetch-query-intent.d.ts +13 -0
- package/dist/web-api/fetch-query-intent.d.ts.map +1 -0
- package/dist/web-api/fetch-query.d.ts +27 -0
- package/dist/web-api/fetch-query.d.ts.map +1 -0
- package/dist/web-api/fetch-sponsored-links.d.ts +14 -0
- package/dist/web-api/fetch-sponsored-links.d.ts.map +1 -0
- package/dist/web-api/fetch-suggest.d.ts +55 -0
- package/dist/web-api/fetch-suggest.d.ts.map +1 -0
- package/dist/web-api/fetch-text-chunk.d.ts +16 -0
- package/dist/web-api/fetch-text-chunk.d.ts.map +1 -0
- package/dist/web-api/fetch-user-settings.d.ts +28 -0
- package/dist/web-api/fetch-user-settings.d.ts.map +1 -0
- package/dist/web-api/helpers.d.ts +35 -0
- package/dist/web-api/helpers.d.ts.map +1 -0
- package/dist/web-api/helpers.test.d.ts +2 -0
- package/dist/web-api/helpers.test.d.ts.map +1 -0
- package/dist/web-api/index.d.ts +15 -0
- package/dist/web-api/index.d.ts.map +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CCSortingChoice } from "./CCSortingChoice";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the fields for a tab configuration object
|
|
4
|
+
*/
|
|
5
|
+
export type CCTab = {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the tab
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* The display value of the tab
|
|
12
|
+
*/
|
|
13
|
+
display: string;
|
|
14
|
+
/**
|
|
15
|
+
* The values in the tab distribution that contribute to this tab
|
|
16
|
+
*/
|
|
17
|
+
value: string;
|
|
18
|
+
/**
|
|
19
|
+
* Set if this tab is the default to be used when no tab is specified in a query
|
|
20
|
+
*/
|
|
21
|
+
isDefault: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Indexes to exclude when executing a query with this tab selected
|
|
24
|
+
*/
|
|
25
|
+
excludedIndices: string;
|
|
26
|
+
/**
|
|
27
|
+
* Aggregations to exclude when executing a query with this tab selected
|
|
28
|
+
*/
|
|
29
|
+
excludedAggregations: string;
|
|
30
|
+
/**
|
|
31
|
+
* Results sorting options that should be available when executing a query with this tab selected
|
|
32
|
+
*/
|
|
33
|
+
sortingChoices: CCSortingChoice[];
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=CCTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCTab.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCTab.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG;IAChB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,cAAc,EAAE,eAAe,EAAE,CAAC;CACrC,CAAA"}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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
|