@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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a single "did you mean" item
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Describes a single "did you mean" item
|
|
6
|
+
*/
|
|
7
|
+
export type DidYouMeanItem = {
|
|
8
|
+
/**
|
|
9
|
+
* The original search term
|
|
10
|
+
*/
|
|
11
|
+
original: string;
|
|
12
|
+
/**
|
|
13
|
+
* The corrected search term
|
|
14
|
+
*/
|
|
15
|
+
corrected: string;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=DidYouMeanItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidYouMeanItem.d.ts","sourceRoot":"","sources":["../../../src/types/search/DidYouMeanItem.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DidYouMeanKind.d.ts","sourceRoot":"","sources":["../../../src/types/search/DidYouMeanKind.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oBAAY,cAAc;IACtB,QAAQ,IAAA;IACR,SAAS,IAAA;CACZ"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccessLists } from "./AccessLists";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the authorized and denied access lists for a document
|
|
4
|
+
*/
|
|
5
|
+
export type DocumentAccessLists = {
|
|
6
|
+
accessListIndices: number[];
|
|
7
|
+
authorizedLists: AccessLists;
|
|
8
|
+
deniedLists: AccessLists;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=DocumentAccessLists.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAccessLists.d.ts","sourceRoot":"","sources":["../../../src/types/search/DocumentAccessLists.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,eAAe,EAAE,WAAW,CAAC;IAC7B,WAAW,EAAE,WAAW,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the fields making up an entity in the context of a particular document
|
|
3
|
+
*/
|
|
4
|
+
export type EntityItem = {
|
|
5
|
+
/**
|
|
6
|
+
* The value
|
|
7
|
+
*/
|
|
8
|
+
value: string;
|
|
9
|
+
/**
|
|
10
|
+
* The display
|
|
11
|
+
*/
|
|
12
|
+
display: string;
|
|
13
|
+
/**
|
|
14
|
+
* The locations of this item in the document text in the form `row1,col1;row2,col2;...`
|
|
15
|
+
*/
|
|
16
|
+
locations?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The remapped locations of this item in the original document in the form `row1,col1;row2,col2;...`
|
|
19
|
+
*/
|
|
20
|
+
originalLocations?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Following ES-11166, the number of occurrence of this entity in the document can be included
|
|
23
|
+
*/
|
|
24
|
+
count?: number;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=EntityItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityItem.d.ts","sourceRoot":"","sources":["../../../src/types/search/EntityItem.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PartnameMatchLocations } from "./PartnameMatchLocations";
|
|
2
|
+
/**
|
|
3
|
+
* Describes a set of partname match locations
|
|
4
|
+
*/
|
|
5
|
+
export type MatchLocationsPerPartname = {
|
|
6
|
+
matchlocations: PartnameMatchLocations[];
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=MatchLocationsPerPartname.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchLocationsPerPartname.d.ts","sourceRoot":"","sources":["../../../src/types/search/MatchLocationsPerPartname.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAE;IACnC,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC5C,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Passage } from ".";
|
|
2
|
+
/**
|
|
3
|
+
* A passage returned by ML Passage Ranking model
|
|
4
|
+
*/
|
|
5
|
+
export type MatchingPassage = {
|
|
6
|
+
/** Score of this matching passage */
|
|
7
|
+
score: number;
|
|
8
|
+
/** Front end parameter to store the state of expansion/collapse of this passage */
|
|
9
|
+
$expanded?: boolean;
|
|
10
|
+
} & Passage;
|
|
11
|
+
//# sourceMappingURL=MatchingPassage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchingPassage.d.ts","sourceRoot":"","sources":["../../../src/types/search/MatchingPassage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAE5B;;GAEG;AAEH,MAAM,MAAM,eAAe,GAAG;IAC1B,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PartnameMatchLocations.d.ts","sourceRoot":"","sources":["../../../src/types/search/PartnameMatchLocations.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Passage.d.ts","sourceRoot":"","sources":["../../../src/types/search/Passage.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,OAAO,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gEAAgE;IAChE,eAAe,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QueryAnalysisElement } from "./QueryAnalysisElement";
|
|
2
|
+
/**
|
|
3
|
+
* Describes an analysis of a query
|
|
4
|
+
*/
|
|
5
|
+
export type QueryAnalysis = {
|
|
6
|
+
text: string;
|
|
7
|
+
initial: boolean;
|
|
8
|
+
queryLanguage?: string;
|
|
9
|
+
elements: QueryAnalysisElement[];
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=QueryAnalysis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryAnalysis.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryAnalysis.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,oBAAoB,EAAE,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes an element of query analysis
|
|
3
|
+
*/
|
|
4
|
+
export type QueryAnalysisElement = {
|
|
5
|
+
text: string;
|
|
6
|
+
entity?: string;
|
|
7
|
+
weight: number;
|
|
8
|
+
length?: number;
|
|
9
|
+
offset?: number;
|
|
10
|
+
stopword?: boolean;
|
|
11
|
+
root?: string;
|
|
12
|
+
normalization?: string;
|
|
13
|
+
lemmas?: {
|
|
14
|
+
text: string;
|
|
15
|
+
}[];
|
|
16
|
+
entities?: QueryAnalysisElement[];
|
|
17
|
+
synonyms?: QueryAnalysisElement[];
|
|
18
|
+
reformulations?: QueryAnalysisElement[];
|
|
19
|
+
typos?: QueryAnalysisElement[];
|
|
20
|
+
expression?: QueryAnalysisElement[];
|
|
21
|
+
adjacency?: QueryAnalysisElement[];
|
|
22
|
+
exact?: QueryAnalysisElement[];
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=QueryAnalysisElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryAnalysisElement.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryAnalysisElement.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAClC,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACxC,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACpC,SAAS,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACnC,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACjC,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { QueryIntentAction } from "./QueryIntentAction";
|
|
2
|
+
import { QueryIntentEntity } from "./QueryIntentEntity";
|
|
3
|
+
import { QueryIntentWord } from "./QueryIntentWord";
|
|
4
|
+
/**
|
|
5
|
+
* Describes a single query intent item
|
|
6
|
+
*/
|
|
7
|
+
export type QueryIntent = {
|
|
8
|
+
name: string;
|
|
9
|
+
component: string;
|
|
10
|
+
entities: QueryIntentEntity[];
|
|
11
|
+
words: QueryIntentWord[];
|
|
12
|
+
actions: QueryIntentAction[];
|
|
13
|
+
datasets: QueryIntent;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=QueryIntent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntent.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,QAAQ,EAAE,WAAW,CAAA;CACxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentAction.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentAction.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes information to be sent to the server when executing a query for server-side query intent processing
|
|
3
|
+
*/
|
|
4
|
+
import { QueryAnalysis } from "./QueryAnalysis";
|
|
5
|
+
import { QueryIntent } from "./QueryIntent";
|
|
6
|
+
/**
|
|
7
|
+
* Describes information to be sent to the server when executing a query for server-side query intent processing
|
|
8
|
+
*/
|
|
9
|
+
export type QueryIntentData = {
|
|
10
|
+
/**
|
|
11
|
+
* The current results view
|
|
12
|
+
*/
|
|
13
|
+
resultsView?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The current tab
|
|
16
|
+
*/
|
|
17
|
+
tab?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Query intents
|
|
20
|
+
*/
|
|
21
|
+
queryIntents?: QueryIntent[];
|
|
22
|
+
/**
|
|
23
|
+
* Analysis of the current query
|
|
24
|
+
*/
|
|
25
|
+
queryAnalysis?: QueryAnalysis;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=QueryIntentData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentData.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentData.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a set of query intent datasets
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Describes a set of query intent datasets
|
|
6
|
+
*/
|
|
7
|
+
export type QueryIntentDatasets = {
|
|
8
|
+
[key: string]: {
|
|
9
|
+
attributes: any[];
|
|
10
|
+
rows: any[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=QueryIntentDatasets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentDatasets.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentDatasets.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,UAAU,EAAE,GAAG,EAAE,CAAC;QAClB,IAAI,EAAE,GAAG,EAAE,CAAC;KACf,CAAC;CACL,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a query intent entity
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Describes a query intent entity
|
|
6
|
+
*/
|
|
7
|
+
export type QueryIntentEntity = {
|
|
8
|
+
/** global entity name, eg. "person" */
|
|
9
|
+
name: string;
|
|
10
|
+
/** global entity type (entities are detected by classical NLP, slots are detected by ML) */
|
|
11
|
+
type: "entity" | "slot";
|
|
12
|
+
/** global entity resource */
|
|
13
|
+
resource: string;
|
|
14
|
+
/** text that match the global entity, eg. "Bill gates" */
|
|
15
|
+
value: string;
|
|
16
|
+
/** offset in the query */
|
|
17
|
+
offset: number;
|
|
18
|
+
/** length in the query */
|
|
19
|
+
length: number;
|
|
20
|
+
/** basic form if type=entity, eg. "BILL GATES"*/
|
|
21
|
+
basic: string | null;
|
|
22
|
+
/** normalization form if type=entity, eg. "William H Gates"*/
|
|
23
|
+
normalization: string | null;
|
|
24
|
+
/** score for the extraction if type=slot */
|
|
25
|
+
score?: number;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=QueryIntentEntity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentEntity.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentEntity.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,4FAA4F;IAC5F,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,6BAA6B;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,0BAA0B;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,8DAA8D;IAC9D,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QueryIntentEntity } from "./QueryIntentEntity";
|
|
2
|
+
/**
|
|
3
|
+
* Describes a query intent match
|
|
4
|
+
*/
|
|
5
|
+
export type QueryIntentMatch = {
|
|
6
|
+
/** name of the intent */
|
|
7
|
+
name: string;
|
|
8
|
+
/** global entities that match */
|
|
9
|
+
globalEntities?: QueryIntentEntity[];
|
|
10
|
+
/** rule that match if exact match rule */
|
|
11
|
+
matchRule: string | null;
|
|
12
|
+
/** ml score or 1 if rule */
|
|
13
|
+
score: number;
|
|
14
|
+
/** ml confidence score or 1 if rule */
|
|
15
|
+
confidence: number;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=QueryIntentMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentMatch.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentMatch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,0CAA0C;IAC1C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;CACtB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentResponse.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryIntentWord.d.ts","sourceRoot":"","sources":["../../../src/types/search/QueryIntentWord.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RFMDisplay } from "./RFMDisplay";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the fields of an RFM action
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Describes the fields of an RFM action
|
|
7
|
+
*/
|
|
8
|
+
export type RFMActionDisplay = {
|
|
9
|
+
eventCount: number;
|
|
10
|
+
average: number;
|
|
11
|
+
status: RFMDisplay;
|
|
12
|
+
image: RFMDisplay;
|
|
13
|
+
imageAction: RFMDisplay;
|
|
14
|
+
availableActions: RFMDisplay;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=RFMActionDisplay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFMActionDisplay.d.ts","sourceRoot":"","sources":["../../../src/types/search/RFMActionDisplay.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,WAAW,EAAE,UAAU,CAAC;IACxB,gBAAgB,EAAE,UAAU,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RFMActionDisplay } from "./RFMActionDisplay";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the RFM data returned with a set of results
|
|
4
|
+
*/
|
|
5
|
+
export type RFMData = {
|
|
6
|
+
click?: RFMActionDisplay;
|
|
7
|
+
like?: RFMActionDisplay;
|
|
8
|
+
important?: RFMActionDisplay;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=RFMData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFMData.d.ts","sourceRoot":"","sources":["../../../src/types/search/RFMData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGrD;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IAClB,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,SAAS,CAAC,EAAE,gBAAgB,CAAA;CAC/B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Display kinds for RFM
|
|
3
|
+
*/
|
|
4
|
+
export declare enum RFMDisplay {
|
|
5
|
+
none = 0,
|
|
6
|
+
positiveRate = 1,
|
|
7
|
+
mainlyPosRate = 2,
|
|
8
|
+
unrate = 4,
|
|
9
|
+
mainlyNegRate = 8,
|
|
10
|
+
negativeRate = 16,
|
|
11
|
+
all = 31,
|
|
12
|
+
positiveOnly = 7,
|
|
13
|
+
negativeOnly = 28,
|
|
14
|
+
personalAll = 21,
|
|
15
|
+
personalPosOnly = 5,
|
|
16
|
+
personalNegOnly = 20
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=RFMDisplay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RFMDisplay.d.ts","sourceRoot":"","sources":["../../../src/types/search/RFMDisplay.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IAElB,IAAI,IAAI;IAER,YAAY,IAAI;IAChB,aAAa,IAAI;IACjB,MAAM,IAAI;IACV,aAAa,IAAI;IACjB,YAAY,KAAK;IAEjB,GAAG,KAAK;IACR,YAAY,IAAI;IAChB,YAAY,KAAK;IAEjB,WAAW,KAAK;IAChB,eAAe,IAAI;IACnB,eAAe,KAAK;CACvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Relevant Extract computed by the engine for a particular query
|
|
3
|
+
*/
|
|
4
|
+
export type RelevantExtract = {
|
|
5
|
+
partname?: string;
|
|
6
|
+
highlighted: string;
|
|
7
|
+
locations: string;
|
|
8
|
+
originalLocations: string;
|
|
9
|
+
score: number;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=RelevantExtract.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelevantExtract.d.ts","sourceRoot":"","sources":["../../../src/types/search/RelevantExtract.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Aggregation, TreeAggregation } from "../aggregations";
|
|
2
|
+
import { Answer } from "./Answer";
|
|
3
|
+
import { Article } from "./Article";
|
|
4
|
+
import { Attributes } from "./Attributes";
|
|
5
|
+
import { DidYouMean } from "./DidYouMean";
|
|
6
|
+
import { QueryAnalysis } from "./QueryAnalysis";
|
|
7
|
+
import { QueryIntent } from "./QueryIntent";
|
|
8
|
+
import { Tab } from "./Tab";
|
|
9
|
+
import { TopPassage } from "./TopPassage";
|
|
10
|
+
/**
|
|
11
|
+
* Describes the results of a call to the query web service
|
|
12
|
+
*/
|
|
13
|
+
export type Result = {
|
|
14
|
+
id: string;
|
|
15
|
+
page: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
rowCount: number;
|
|
18
|
+
totalRowCount: number;
|
|
19
|
+
cursorRowCount: number;
|
|
20
|
+
attributeCount?: number;
|
|
21
|
+
columnCount: number;
|
|
22
|
+
tab: string;
|
|
23
|
+
tabs: Tab[];
|
|
24
|
+
scope?: string;
|
|
25
|
+
sort: string;
|
|
26
|
+
didYouMean?: DidYouMean;
|
|
27
|
+
aggregations: (Aggregation | TreeAggregation)[];
|
|
28
|
+
attributes: Attributes;
|
|
29
|
+
queryIntents: QueryIntent[];
|
|
30
|
+
queryAnalysis?: QueryAnalysis;
|
|
31
|
+
records: Article[];
|
|
32
|
+
rfmQueryHash?: string;
|
|
33
|
+
queryName: string;
|
|
34
|
+
statements?: string[];
|
|
35
|
+
hasRelevance: boolean;
|
|
36
|
+
answers?: {
|
|
37
|
+
answers: Answer[];
|
|
38
|
+
} | null;
|
|
39
|
+
topPassages?: {
|
|
40
|
+
passages?: TopPassage[];
|
|
41
|
+
} | null;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=Result.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Result.d.ts","sourceRoot":"","sources":["../../../src/types/search/Result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,EAAE,CAAC,WAAW,GAAG,eAAe,CAAC,EAAE,CAAC;IAChD,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,EAAE,OAAO,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE;QACN,OAAO,EAAE,MAAM,EAAE,CAAC;KACrB,GAAG,IAAI,CAAC;IACT,WAAW,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;KAC3B,GAAG,IAAI,CAAC;CACZ,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the results for a particular tab
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Describes the results for a particular tab
|
|
6
|
+
*/
|
|
7
|
+
export type Tab = {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the tab
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* The display value of the tab
|
|
14
|
+
*/
|
|
15
|
+
display: string;
|
|
16
|
+
/**
|
|
17
|
+
* The tab value
|
|
18
|
+
*/
|
|
19
|
+
value: string;
|
|
20
|
+
/**
|
|
21
|
+
* The number of document records that would be returned if this tab is selected
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../src/types/search/Tab.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,GAAG,GAAG;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the term presence for a particular search term
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Describes the term presence for a particular search term
|
|
6
|
+
*/
|
|
7
|
+
export type TermPresence = {
|
|
8
|
+
term: string;
|
|
9
|
+
presence: "found" | "missing";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=TermPresence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TermPresence.d.ts","sourceRoot":"","sources":["../../../src/types/search/TermPresence.ts"],"names":[],"mappings":"AACA;;GAEG;AACH;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;CAChC,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Article } from "./Article";
|
|
2
|
+
export type TopPassage = {
|
|
3
|
+
id: number;
|
|
4
|
+
index: string;
|
|
5
|
+
score: number;
|
|
6
|
+
text: string;
|
|
7
|
+
recordId: string;
|
|
8
|
+
location: [number, number];
|
|
9
|
+
answer?: string;
|
|
10
|
+
answerScore?: number;
|
|
11
|
+
$article?: Article;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=TopPassage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TopPassage.d.ts","sourceRoot":"","sources":["../../../src/types/search/TopPassage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,MAAM,MAAM,UAAU,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface IMulti<T> {
|
|
2
|
+
results: T[];
|
|
3
|
+
}
|
|
4
|
+
export type { AccessListPrincipal } from "./AccessListPrincipal";
|
|
5
|
+
export type { AccessLists } from "./AccessLists";
|
|
6
|
+
export type { Answer } from "./Answer";
|
|
7
|
+
export type { Attributes } from "./Attributes";
|
|
8
|
+
export type { DidYouMean } from "./DidYouMean";
|
|
9
|
+
export type { DidYouMeanItem } from "./DidYouMeanItem";
|
|
10
|
+
export type { DidYouMeanKind } from "./DidYouMeanKind";
|
|
11
|
+
export type { DocumentAccessLists } from "./DocumentAccessLists";
|
|
12
|
+
export type { EntityItem } from "./EntityItem";
|
|
13
|
+
export type { Passage } from "./Passage";
|
|
14
|
+
export type { MatchingPassage } from "./MatchingPassage";
|
|
15
|
+
export type { MatchLocationsPerPartname } from "./MatchLocationsPerPartname";
|
|
16
|
+
export type { Result } from "./Result";
|
|
17
|
+
export type { Article } from "./Article";
|
|
18
|
+
export type { RelevantExtract } from "./RelevantExtract";
|
|
19
|
+
export type { TermPresence } from "./TermPresence";
|
|
20
|
+
export type { TopPassage } from "./TopPassage";
|
|
21
|
+
export type { RFMData } from "./RFMData";
|
|
22
|
+
export type { RFMDisplay } from "./RFMDisplay";
|
|
23
|
+
export type { RFMActionDisplay } from "./RFMActionDisplay";
|
|
24
|
+
export type { Tab } from "./Tab";
|
|
25
|
+
export type { QueryAnalysis } from "./QueryAnalysis";
|
|
26
|
+
export type { QueryAnalysisElement } from "./QueryAnalysisElement";
|
|
27
|
+
export type { QueryIntent } from "./QueryIntent";
|
|
28
|
+
export type { QueryIntentAction } from "./QueryIntentAction";
|
|
29
|
+
export type { QueryIntentData } from "./QueryIntentData";
|
|
30
|
+
export type { QueryIntentEntity } from "./QueryIntentEntity";
|
|
31
|
+
export type { QueryIntentWord } from "./QueryIntentWord";
|
|
32
|
+
export type { QueryIntentMatch } from "./QueryIntentMatch";
|
|
33
|
+
export type { QueryIntentResponse } from "./QueryIntentResponse";
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/search/index.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM,CAAC,CAAC;IACrB,OAAO,EAAE,CAAC,EAAE,CAAC;CAChB;AAED,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A suggestion returned by either {@link SuggestFieldWebService} or {@link SuggestQueryWebService}
|
|
3
|
+
*/
|
|
4
|
+
export interface Suggestion {
|
|
5
|
+
category: string;
|
|
6
|
+
display: string;
|
|
7
|
+
frequency?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
normalized?: string;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=suggestion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion.d.ts","sourceRoot":"","sources":["../../../src/types/suggest/suggestion.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type StringWithAutocomplete<T> = T | (string & Record<never, never>);
|
|
2
|
+
export type UserSettingsKeys = StringWithAutocomplete<keyof UserSettingsBase>;
|
|
3
|
+
type UserSettingsBase = {
|
|
4
|
+
language?: string;
|
|
5
|
+
skipCount?: number;
|
|
6
|
+
email?: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Minimal built-in user settings. Can be extended in the context of
|
|
10
|
+
* complex applications to store user data, preferences, objects, etc.
|
|
11
|
+
*/
|
|
12
|
+
export type UserSettings = UserSettingsBase & Record<string, any>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=user-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-settings.d.ts","sourceRoot":"","sources":["../../../src/types/user-settings/user-settings.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;AAC5E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC,MAAM,gBAAgB,CAAC,CAAC;AAE9E,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AACD;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA"}
|