@sinequa/atomic 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/atomic.js +860 -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 +21 -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 +12 -0
- package/dist/types/search/QueryIntentEntity.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 +32 -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.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 +14 -0
- package/dist/web-api/index.d.ts.map +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/chunks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type TextChunk = {
|
|
2
|
+
/** Location in document */
|
|
3
|
+
offset: number;
|
|
4
|
+
/** Length of chunk in document */
|
|
5
|
+
length: number;
|
|
6
|
+
/** Text with HTML tags for entity highlights */
|
|
7
|
+
text: string;
|
|
8
|
+
/** For information: SQL clause for extracting this text chunk */
|
|
9
|
+
sql: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=text-chunk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-chunk.d.ts","sourceRoot":"","sources":["../../../src/types/chunks/text-chunk.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACpB,2BAA2B;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,GAAG,EAAE,MAAM,CAAC;CACf,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-location.d.ts","sourceRoot":"","sources":["../../../src/types/chunks/text-location.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes an aggregation configuration object
|
|
3
|
+
*/
|
|
4
|
+
export type CCAggregation = {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the aggregation
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The underlying column in the aggregation
|
|
11
|
+
*/
|
|
12
|
+
column: string;
|
|
13
|
+
/**
|
|
14
|
+
* Determines whether this aggregation should be included in a regular search
|
|
15
|
+
*/
|
|
16
|
+
includeInStandardSearch: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The maximum number of values to retrieve
|
|
19
|
+
*/
|
|
20
|
+
count: number;
|
|
21
|
+
/**
|
|
22
|
+
* The value of the `order` clause
|
|
23
|
+
*/
|
|
24
|
+
order: string;
|
|
25
|
+
/**
|
|
26
|
+
* The value of the `mask` clause
|
|
27
|
+
*/
|
|
28
|
+
mask: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of an associated distribution configuration object
|
|
31
|
+
*/
|
|
32
|
+
distribution: string;
|
|
33
|
+
/**
|
|
34
|
+
* Determines whether the aggregation is requested in the context of the currently selected tab or globally.
|
|
35
|
+
* The default is to respect the [CCTabSearch.loadAggregationsForSelectedTab]{@link CCTabSearch#loadAggregationsForSelectedTab} setting
|
|
36
|
+
*/
|
|
37
|
+
tabBehavior: "" | "Default" | "LoadForSelectedTab" | "LoadForAllTabs";
|
|
38
|
+
/**
|
|
39
|
+
* The separator used for crossed aggregations
|
|
40
|
+
*/
|
|
41
|
+
keySeparator: string;
|
|
42
|
+
/**
|
|
43
|
+
* The display separator used for crossed aggregations
|
|
44
|
+
*/
|
|
45
|
+
displayKeySeparator: string;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=CCAggregation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCAggregation.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAggregation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,EAAE,EAAE,GAAG,SAAS,GAAG,oBAAoB,GAAG,gBAAgB,CAAC;IACtE;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { CCConfig } from "./CCConfig";
|
|
2
|
+
import { CCIndex } from "./CCIndex";
|
|
3
|
+
import { CCList } from "./CCList";
|
|
4
|
+
import { CCQuery } from "./CCQuery";
|
|
5
|
+
import { CCRFM } from "./CCRFM";
|
|
6
|
+
import { CCWebService } from "./CCWebService";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the fields in the application configuration object
|
|
9
|
+
*/
|
|
10
|
+
export type CCApp = CCConfig & {
|
|
11
|
+
/**
|
|
12
|
+
* Identifies the version of the application configuration. This field can be passed
|
|
13
|
+
* to the [AppWebService.refresh]{@link AppWebService#refresh} api to update the application
|
|
14
|
+
* configuration if the version now available on the server is different.
|
|
15
|
+
*/
|
|
16
|
+
versionId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Defines the queries configured on the application
|
|
19
|
+
*/
|
|
20
|
+
queries: Record<string, CCQuery>;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the RFM objects configured on the application
|
|
23
|
+
*/
|
|
24
|
+
rfms: Record<string, CCRFM>;
|
|
25
|
+
/**
|
|
26
|
+
* Defines the indexes configured on the application
|
|
27
|
+
*/
|
|
28
|
+
indexes: Record<string, CCIndex>;
|
|
29
|
+
/**
|
|
30
|
+
* Defines the lists configured on the application
|
|
31
|
+
*/
|
|
32
|
+
lists: Record<string, CCList>;
|
|
33
|
+
/**
|
|
34
|
+
* Defines the web services configured on the application
|
|
35
|
+
*/
|
|
36
|
+
webServices: Record<string, CCWebService>;
|
|
37
|
+
/**
|
|
38
|
+
* A comma-separated list of the names of the queries configured on the application
|
|
39
|
+
*/
|
|
40
|
+
queryNames: string;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the labels web service configured on the application
|
|
43
|
+
*/
|
|
44
|
+
labels: string;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the preview web service configured on the application
|
|
47
|
+
*/
|
|
48
|
+
preview: string;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the autocomplete web service configured on the application
|
|
51
|
+
*/
|
|
52
|
+
autocomplete: string;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the sponsored links web service configured on the application
|
|
55
|
+
*/
|
|
56
|
+
sponsoredLinks: string;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the query export web service configured on the application
|
|
59
|
+
*/
|
|
60
|
+
queryExport: string;
|
|
61
|
+
/**
|
|
62
|
+
* Determines whether RSS feeds are available on saved queries
|
|
63
|
+
*/
|
|
64
|
+
queryRssEnabled: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Custom JSON configuration (see App Customization tab in Sinequa admin)
|
|
67
|
+
*/
|
|
68
|
+
data: Record<string, unknown>;
|
|
69
|
+
customJSONs: Array<{
|
|
70
|
+
name: string;
|
|
71
|
+
data: Record<string, unknown>;
|
|
72
|
+
}>;
|
|
73
|
+
/**
|
|
74
|
+
* The version of the server API.
|
|
75
|
+
* This field is used to compare with [MINIMUM_COMPATIBLE_SERVER_API_VERSION]{@link MINIMUM_COMPATIBLE_SERVER_API_VERSION}
|
|
76
|
+
*/
|
|
77
|
+
apiVersion: string;
|
|
78
|
+
/**
|
|
79
|
+
* The workspace associated with this app
|
|
80
|
+
*/
|
|
81
|
+
workspaceApp: string;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the default query
|
|
84
|
+
*/
|
|
85
|
+
defaultQueryName: string;
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=CCApp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCApp.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,QAAQ,GAAG;IAC3B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC5B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,WAAW,EAAE,KAAK,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACjC,CAAC,CAAC;IACH;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC5B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCAppPreLogin.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAppPreLogin.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CCApp } from ".";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the object returned by a call to [AppWebService.refresh]{@link AppWebService#refresh}. If the upToDate
|
|
4
|
+
* member is false then the app member contains the latest version of the app configuration
|
|
5
|
+
*/
|
|
6
|
+
export interface CCAppRefresh {
|
|
7
|
+
upToDate: boolean;
|
|
8
|
+
app?: CCApp;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=CCAppRefresh.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCAppRefresh.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAppRefresh.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAE1B;;;GAGG;AAEH,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC;CACf"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { CCWebService } from "./CCWebService";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the fields in the autocomplete web service configuration object
|
|
4
|
+
*/
|
|
5
|
+
export interface CCAutocomplete extends CCWebService {
|
|
6
|
+
/**
|
|
7
|
+
* Defines whether this autocomplete service is enabled
|
|
8
|
+
*/
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Contains a comma-separated list of suggest queries for this service
|
|
12
|
+
*/
|
|
13
|
+
suggestQueries: string;
|
|
14
|
+
/**
|
|
15
|
+
* Defines the minimum number of characters that must be entered before presenting
|
|
16
|
+
* suggestions
|
|
17
|
+
*/
|
|
18
|
+
inputLengthTrigger: number;
|
|
19
|
+
/**
|
|
20
|
+
* Defines whether suggestions should be grouped into categories when they are displayed
|
|
21
|
+
*/
|
|
22
|
+
groupSuggestionsByCategory: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Defines whether fielded search should be used when processing suggestions
|
|
25
|
+
*/
|
|
26
|
+
useFieldedSearch: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Defines the number of items per category to display when a category is not collapsed
|
|
29
|
+
*/
|
|
30
|
+
uncollapsedItemsPerCategory: number;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=CCAutocomplete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCAutocomplete.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCAutocomplete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY;IAChD;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,0BAA0B,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,2BAA2B,EAAE,MAAM,CAAC;CACvC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CCColumnInfo } from "./CCColumnInfo";
|
|
2
|
+
import { EngineType } from "./EngineType";
|
|
3
|
+
import { EngineTypeModifier } from "./EngineTypeModifier";
|
|
4
|
+
/**
|
|
5
|
+
* Defines the fields for a column configuration object defined in an index. See {@link CCIndex}
|
|
6
|
+
*/
|
|
7
|
+
export type CCColumn = Partial<Omit<CCColumnInfo, "name" | "aliases">> & {
|
|
8
|
+
name: string;
|
|
9
|
+
aliases?: string[];
|
|
10
|
+
type: string;
|
|
11
|
+
typeModifier?: string;
|
|
12
|
+
eType: EngineType;
|
|
13
|
+
eTypeModifier: EngineTypeModifier;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CCColumn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCColumn.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,GAAC,SAAS,CAAE,CAAC,GAAG;IACpE,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAClB,aAAa,EAAE,kBAAkB,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines configuration parameters for a column
|
|
3
|
+
*/
|
|
4
|
+
export type CCColumnInfo = {
|
|
5
|
+
/**
|
|
6
|
+
* The column name
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* A description of the column
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
/**
|
|
14
|
+
* A comma-separated list of aliases for the column
|
|
15
|
+
*/
|
|
16
|
+
aliases: string;
|
|
17
|
+
/**
|
|
18
|
+
* A display label for the column
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* A plural form display label for the column
|
|
23
|
+
*/
|
|
24
|
+
labelPlural: string;
|
|
25
|
+
/**
|
|
26
|
+
* The name of a formatter function that produces a formatted string value from the column value. See {@link FormatService}
|
|
27
|
+
*/
|
|
28
|
+
formatter: string;
|
|
29
|
+
/**
|
|
30
|
+
* A set of transform functions that are applied to the a formatted string value. See {@link FormatService}
|
|
31
|
+
*/
|
|
32
|
+
transforms: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of a parser function that produces a column value from a formatted string value. See {@link FormatService}
|
|
35
|
+
*/
|
|
36
|
+
parser: string;
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=CCColumnInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCColumnInfo.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCColumnInfo.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCColumnsInfo.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCColumnsInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the fields available in all configuration objects. By convention, configuration object
|
|
3
|
+
* interfaces are prefixed by `CC`.
|
|
4
|
+
*/
|
|
5
|
+
export type CCConfig = {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the configuration object
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* An optional description of the configuration object
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=CCConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCConfig.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCConfig.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CCColumn } from "./CCColumn";
|
|
2
|
+
import { CCConfig } from "./CCConfig";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the fields available in the index configuration object
|
|
5
|
+
*/
|
|
6
|
+
export interface CCIndex extends CCConfig {
|
|
7
|
+
/**
|
|
8
|
+
* The type of the index
|
|
9
|
+
*/
|
|
10
|
+
indexType: string;
|
|
11
|
+
/**
|
|
12
|
+
* The columns in the index
|
|
13
|
+
*/
|
|
14
|
+
columns?: Record<string, CCColumn>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=CCIndex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCIndex.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCIndex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,MAAM,WAAW,OAAQ,SAAQ,QAAQ;IACrC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACtC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CCWebService } from "./CCWebService";
|
|
2
|
+
/**
|
|
3
|
+
* Describes the fields in the labels web service configuration object
|
|
4
|
+
*/
|
|
5
|
+
export interface CCLabels extends CCWebService {
|
|
6
|
+
/**
|
|
7
|
+
* The the index column to use for public labels
|
|
8
|
+
*/
|
|
9
|
+
publicLabelsField: string;
|
|
10
|
+
/**
|
|
11
|
+
* A semi-colon separated list of predefined public labels
|
|
12
|
+
*/
|
|
13
|
+
defaultPublicLabels: string;
|
|
14
|
+
/**
|
|
15
|
+
* Determines whether new public labels can be created by users
|
|
16
|
+
*/
|
|
17
|
+
allowPublicLabelsCreation: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* A list of principal ids identifying users and groups that can create public labels
|
|
20
|
+
*/
|
|
21
|
+
publicLabelsCreationPrincipalIds: string;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether existing public labels can be modified by users
|
|
24
|
+
*/
|
|
25
|
+
allowPublicLabelsModification: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* A list of principal ids identifying users and groups that can modify existing public labels
|
|
28
|
+
*/
|
|
29
|
+
publicLabelsModificationPrincipalIds: string;
|
|
30
|
+
/**
|
|
31
|
+
* The the index column to use for private labels
|
|
32
|
+
*/
|
|
33
|
+
privateLabelsField: string;
|
|
34
|
+
/**
|
|
35
|
+
* The maximum number of labels to return when listing labels using the [LabelsWebService.list]{@link LabelsWebService#list} api
|
|
36
|
+
*/
|
|
37
|
+
labelsAutoSuggestMaxCount: number;
|
|
38
|
+
/**
|
|
39
|
+
* The wildcard character to recognize when listing labels using the [LabelsWebService.list]{@link LabelsWebService#list} api
|
|
40
|
+
*/
|
|
41
|
+
labelsAutoSuggestWildcard: string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=CCLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCLabels.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCLabels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;GAEG;AAGH,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC1C;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,yBAAyB,EAAE,OAAO,CAAC;IACnC;;OAEG;IACH,gCAAgC,EAAE,MAAM,CAAC;IACzC;;OAEG;IACH,6BAA6B,EAAE,OAAO,CAAC;IACvC;;OAEG;IACH,oCAAoC,EAAE,MAAM,CAAC;IAE7C;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,yBAAyB,EAAE,MAAM,CAAC;CACrC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CCConfig } from "./CCConfig";
|
|
2
|
+
import { CCListItem } from "./CCListItem";
|
|
3
|
+
/**
|
|
4
|
+
* Describes a list configuration object. Lists can be created in `App Dependencies/Lists` in the admin interface.
|
|
5
|
+
*/
|
|
6
|
+
export interface CCList extends CCConfig {
|
|
7
|
+
/**
|
|
8
|
+
* The name of the list
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* The items in the list
|
|
13
|
+
*/
|
|
14
|
+
items: CCListItem[];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=CCList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCList.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AAEH,MAAM,WAAW,MAAO,SAAQ,QAAQ;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAC;CACvB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes the fields available in a list item configuration object
|
|
3
|
+
*/
|
|
4
|
+
export interface CCListItem {
|
|
5
|
+
/**
|
|
6
|
+
* The name is used to display an item
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The value holds the underlying value of the item
|
|
11
|
+
*/
|
|
12
|
+
value: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=CCListItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCListItem.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCListItem.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CCAggregation } from "./CCAggregation";
|
|
2
|
+
import { CCColumnsInfo } from "./CCColumnsInfo";
|
|
3
|
+
import { CCScope } from "./CCScope";
|
|
4
|
+
import { CCSortingChoice } from "./CCSortingChoice";
|
|
5
|
+
import { CCTabSearch } from "./CCTabSearch";
|
|
6
|
+
import { CCWebService } from "./CCWebService";
|
|
7
|
+
import { QueryPrecision } from "./QueryPrecision";
|
|
8
|
+
import { QueryStrategy } from "./QueryStrategy";
|
|
9
|
+
import { SpellingCorrectionMode } from "./SpellingCorrectionMode";
|
|
10
|
+
export type CCQuery = CCWebService & {
|
|
11
|
+
pageSize: number;
|
|
12
|
+
aggregations: CCAggregation[];
|
|
13
|
+
columnsInfo: CCColumnsInfo;
|
|
14
|
+
sortingChoices: CCSortingChoice[];
|
|
15
|
+
scopes: CCScope[];
|
|
16
|
+
scopesActive: boolean;
|
|
17
|
+
sCMode: SpellingCorrectionMode;
|
|
18
|
+
defaultNearValue: number;
|
|
19
|
+
tabSearch: CCTabSearch;
|
|
20
|
+
rFM: string;
|
|
21
|
+
questionLanguage: string;
|
|
22
|
+
questionPrecision: QueryPrecision;
|
|
23
|
+
questionStrategy: QueryStrategy;
|
|
24
|
+
searchIndexes: string;
|
|
25
|
+
allowEmptySearch: boolean;
|
|
26
|
+
columnFieldsIncluded: string[];
|
|
27
|
+
columnFieldsExcluded: string[];
|
|
28
|
+
partnameFieldsIncluded: string[];
|
|
29
|
+
partnameFieldsExcluded: string[];
|
|
30
|
+
queryIntent: string;
|
|
31
|
+
queryIntentSet: string;
|
|
32
|
+
isNeural: boolean;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=CCQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCQuery.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,MAAM,OAAO,GAAG,YAAY,GAAG;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,aAAa,EAAE,CAAC;IAC9B,WAAW,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,eAAe,EAAE,CAAC;IAClC,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,EAAE,sBAAsB,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,WAAW,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,cAAc,CAAC;IAClC,gBAAgB,EAAE,aAAa,CAAC;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCRFM.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCRFM.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AAEH,MAAM,WAAW,KAAK;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes an RFM action configuration object
|
|
3
|
+
*/
|
|
4
|
+
export interface CCRFMAction {
|
|
5
|
+
name: string;
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
actionEnabled: boolean;
|
|
8
|
+
noMenu: boolean;
|
|
9
|
+
displayUnrated: boolean;
|
|
10
|
+
negAvailable: boolean;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=CCRFMAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCRFMAction.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCRFMAction.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;CACzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a scope configuration object. A scope defines a set of conditions which
|
|
3
|
+
* will be added to the query `where clause` when the scope is selected
|
|
4
|
+
*/
|
|
5
|
+
export interface CCScope {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the scope
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* The description of the scope
|
|
12
|
+
*/
|
|
13
|
+
description?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The display value to be used when rendering the scope
|
|
16
|
+
*/
|
|
17
|
+
display?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Determines whether the scope is active or not
|
|
20
|
+
*/
|
|
21
|
+
isActive?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Determines whether the scope should be considered the default scope
|
|
24
|
+
* when a scope is not specified in a query
|
|
25
|
+
*/
|
|
26
|
+
isDefault?: boolean;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=CCScope.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCScope.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCScope.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,OAAO;IACpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Describes a sorting choice which can be selected for a query
|
|
3
|
+
*/
|
|
4
|
+
export interface CCSortingChoice {
|
|
5
|
+
/**
|
|
6
|
+
* The name of this sorting choice
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of this sorting choice
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
/**
|
|
14
|
+
* The display value to use when rendering this sorting choice
|
|
15
|
+
*/
|
|
16
|
+
display: string;
|
|
17
|
+
/**
|
|
18
|
+
* The `ORDER BY` clause to use when this sorting choice is selected
|
|
19
|
+
*/
|
|
20
|
+
orderByClause: string;
|
|
21
|
+
/**
|
|
22
|
+
* Determines whether this sorting choice should be used as the default when
|
|
23
|
+
* the query has no `text contains` clause
|
|
24
|
+
*/
|
|
25
|
+
isDefaultNoRelevance: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Determines whether this sorting choice should be used as the default when
|
|
28
|
+
* the query has a `text contains` clause
|
|
29
|
+
*/
|
|
30
|
+
isDefaultWithRelevance: boolean;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=CCSortingChoice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CCSortingChoice.d.ts","sourceRoot":"","sources":["../../../src/types/config/CCSortingChoice.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,sBAAsB,EAAE,OAAO,CAAC;CACnC"}
|
|
@@ -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"}
|