@algolia/recommend 5.0.0-alpha.7 → 5.0.0-alpha.71
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/dist/builds/browser.d.ts +5 -5
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/node.d.ts +5 -5
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/model/advancedSyntaxFeatures.d.ts.map +1 -1
- package/dist/model/alternativesAsExact.d.ts +1 -1
- package/dist/model/alternativesAsExact.d.ts.map +1 -1
- package/dist/model/aroundRadius.d.ts +5 -5
- package/dist/model/aroundRadius.d.ts.map +1 -1
- package/dist/model/aroundRadiusAll.d.ts +1 -1
- package/dist/model/aroundRadiusAll.d.ts.map +1 -1
- package/dist/model/baseRecommendRequest.d.ts +17 -17
- package/dist/model/baseRecommendRequest.d.ts.map +1 -1
- package/dist/model/baseRecommendationRequest.d.ts +8 -8
- package/dist/model/baseRecommendationRequest.d.ts.map +1 -1
- package/dist/model/baseSearchParams.d.ts +3 -3
- package/dist/model/baseSearchParams.d.ts.map +1 -1
- package/dist/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/model/baseSearchResponse.d.ts +103 -101
- package/dist/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/model/baseSearchResponseRedirect.d.ts +8 -0
- package/dist/model/baseSearchResponseRedirect.d.ts.map +1 -0
- package/dist/model/baseTrendingRequest.d.ts +12 -12
- package/dist/model/baseTrendingRequest.d.ts.map +1 -1
- package/dist/model/clientMethodProps.d.ts +60 -60
- package/dist/model/clientMethodProps.d.ts.map +1 -1
- package/dist/model/distinct.d.ts +4 -4
- package/dist/model/distinct.d.ts.map +1 -1
- package/dist/model/errorBase.d.ts +6 -6
- package/dist/model/errorBase.d.ts.map +1 -1
- package/dist/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/model/exactOnSingleWordQuery.d.ts.map +1 -1
- package/dist/model/facetFilters.d.ts +5 -5
- package/dist/model/facetFilters.d.ts.map +1 -1
- package/dist/model/facetOrdering.d.ts +12 -12
- package/dist/model/facetOrdering.d.ts.map +1 -1
- package/dist/model/facets.d.ts +9 -9
- package/dist/model/facets.d.ts.map +1 -1
- package/dist/model/facetsStats.d.ts +18 -18
- package/dist/model/facetsStats.d.ts.map +1 -1
- package/dist/model/getRecommendationsParams.d.ts +10 -10
- package/dist/model/getRecommendationsParams.d.ts.map +1 -1
- package/dist/model/getRecommendationsResponse.d.ts +4 -4
- package/dist/model/getRecommendationsResponse.d.ts.map +1 -1
- package/dist/model/highlightResult.d.ts +2 -2
- package/dist/model/highlightResult.d.ts.map +1 -1
- package/dist/model/highlightResultOption.d.ts +19 -19
- package/dist/model/highlightResultOption.d.ts.map +1 -1
- package/dist/model/ignorePlurals.d.ts +4 -4
- package/dist/model/ignorePlurals.d.ts.map +1 -1
- package/dist/model/index.d.ts +58 -53
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParams.d.ts +164 -160
- package/dist/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts +10 -0
- package/dist/model/indexSettingsAsSearchParamsSemanticSearch.d.ts.map +1 -0
- package/dist/model/matchLevel.d.ts +4 -4
- package/dist/model/matchLevel.d.ts.map +1 -1
- package/dist/model/matchedGeoLocation.d.ts +14 -14
- package/dist/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/model/mixedSearchFilters.d.ts +1 -1
- package/dist/model/mixedSearchFilters.d.ts.map +1 -1
- package/dist/model/mode.d.ts +5 -0
- package/dist/model/mode.d.ts.map +1 -0
- package/dist/model/numericFilters.d.ts +5 -5
- package/dist/model/numericFilters.d.ts.map +1 -1
- package/dist/model/optionalFilters.d.ts +5 -5
- package/dist/model/optionalFilters.d.ts.map +1 -1
- package/dist/model/personalization.d.ts +14 -14
- package/dist/model/personalization.d.ts.map +1 -1
- package/dist/model/queryType.d.ts +4 -4
- package/dist/model/queryType.d.ts.map +1 -1
- package/dist/model/rankingInfo.d.ts +50 -50
- package/dist/model/rankingInfo.d.ts.map +1 -1
- package/dist/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/model/recommendHit.d.ts +26 -26
- package/dist/model/recommendHit.d.ts.map +1 -1
- package/dist/model/recommendHits.d.ts +4 -4
- package/dist/model/recommendHits.d.ts.map +1 -1
- package/dist/model/recommendationModels.d.ts +4 -4
- package/dist/model/recommendationModels.d.ts.map +1 -1
- package/dist/model/recommendationRequest.d.ts +3 -3
- package/dist/model/recommendationRequest.d.ts.map +1 -1
- package/dist/model/recommendationsRequest.d.ts +3 -3
- package/dist/model/recommendationsRequest.d.ts.map +1 -1
- package/dist/model/recommendationsResponse.d.ts +3 -3
- package/dist/model/recommendationsResponse.d.ts.map +1 -1
- package/dist/model/redirectRuleIndexMetadata.d.ts +21 -0
- package/dist/model/redirectRuleIndexMetadata.d.ts.map +1 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts +7 -0
- package/dist/model/redirectRuleIndexMetadataData.d.ts.map +1 -0
- package/dist/model/removeStopWords.d.ts +4 -4
- package/dist/model/removeStopWords.d.ts.map +1 -1
- package/dist/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/model/removeWordsIfNoResults.d.ts.map +1 -1
- package/dist/model/renderingContent.d.ts +7 -7
- package/dist/model/renderingContent.d.ts.map +1 -1
- package/dist/model/searchParamsObject.d.ts +3 -3
- package/dist/model/searchParamsObject.d.ts.map +1 -1
- package/dist/model/searchParamsQuery.d.ts +6 -6
- package/dist/model/searchParamsQuery.d.ts.map +1 -1
- package/dist/model/snippetResult.d.ts +2 -2
- package/dist/model/snippetResult.d.ts.map +1 -1
- package/dist/model/snippetResultOption.d.ts +11 -11
- package/dist/model/snippetResultOption.d.ts.map +1 -1
- package/dist/model/sortRemainingBy.d.ts +4 -4
- package/dist/model/sortRemainingBy.d.ts.map +1 -1
- package/dist/model/tagFilters.d.ts +5 -5
- package/dist/model/tagFilters.d.ts.map +1 -1
- package/dist/model/trendingModels.d.ts +4 -4
- package/dist/model/trendingModels.d.ts.map +1 -1
- package/dist/model/trendingRequest.d.ts +3 -3
- package/dist/model/trendingRequest.d.ts.map +1 -1
- package/dist/model/typoTolerance.d.ts +5 -5
- package/dist/model/typoTolerance.d.ts.map +1 -1
- package/dist/model/typoToleranceEnum.d.ts +1 -1
- package/dist/model/typoToleranceEnum.d.ts.map +1 -1
- package/dist/model/value.d.ts +8 -8
- package/dist/model/value.d.ts.map +1 -1
- package/dist/recommend.cjs.js +235 -235
- package/dist/recommend.esm.browser.js +418 -468
- package/dist/recommend.esm.node.js +235 -235
- package/dist/recommend.umd.js +2 -2
- package/dist/src/recommendClient.d.ts +81 -81
- package/dist/src/recommendClient.d.ts.map +1 -1
- package/model/advancedSyntaxFeatures.ts +1 -1
- package/model/alternativesAsExact.ts +1 -1
- package/model/aroundRadius.ts +1 -1
- package/model/aroundRadiusAll.ts +1 -1
- package/model/baseRecommendRequest.ts +1 -1
- package/model/baseRecommendationRequest.ts +1 -1
- package/model/baseSearchParams.ts +1 -1
- package/model/baseSearchParamsWithoutQuery.ts +1 -1
- package/model/baseSearchResponse.ts +4 -1
- package/model/baseSearchResponseRedirect.ts +10 -0
- package/model/baseTrendingRequest.ts +1 -1
- package/model/clientMethodProps.ts +1 -1
- package/model/distinct.ts +1 -1
- package/model/errorBase.ts +1 -1
- package/model/exactOnSingleWordQuery.ts +1 -1
- package/model/facetFilters.ts +1 -1
- package/model/facetOrdering.ts +1 -1
- package/model/facets.ts +1 -1
- package/model/facetsStats.ts +1 -1
- package/model/getRecommendationsParams.ts +1 -1
- package/model/getRecommendationsResponse.ts +1 -1
- package/model/highlightResult.ts +1 -1
- package/model/highlightResultOption.ts +1 -1
- package/model/ignorePlurals.ts +1 -1
- package/model/index.ts +6 -1
- package/model/indexSettingsAsSearchParams.ts +12 -6
- package/model/indexSettingsAsSearchParamsSemanticSearch.ts +11 -0
- package/model/matchLevel.ts +1 -1
- package/model/matchedGeoLocation.ts +1 -1
- package/model/mixedSearchFilters.ts +1 -1
- package/model/mode.ts +6 -0
- package/model/numericFilters.ts +1 -1
- package/model/optionalFilters.ts +1 -1
- package/model/personalization.ts +1 -1
- package/model/queryType.ts +1 -1
- package/model/rankingInfo.ts +1 -1
- package/model/reRankingApplyFilter.ts +1 -1
- package/model/recommendHit.ts +1 -1
- package/model/recommendHits.ts +1 -1
- package/model/recommendationModels.ts +1 -1
- package/model/recommendationRequest.ts +1 -1
- package/model/recommendationsRequest.ts +1 -1
- package/model/recommendationsResponse.ts +1 -1
- package/model/redirectRuleIndexMetadata.ts +27 -0
- package/model/redirectRuleIndexMetadataData.ts +8 -0
- package/model/removeStopWords.ts +1 -1
- package/model/removeWordsIfNoResults.ts +1 -1
- package/model/renderingContent.ts +1 -1
- package/model/searchParamsObject.ts +1 -1
- package/model/searchParamsQuery.ts +1 -1
- package/model/snippetResult.ts +1 -1
- package/model/snippetResultOption.ts +1 -1
- package/model/sortRemainingBy.ts +1 -1
- package/model/tagFilters.ts +1 -1
- package/model/trendingModels.ts +1 -1
- package/model/trendingRequest.ts +1 -1
- package/model/typoTolerance.ts +1 -1
- package/model/typoToleranceEnum.ts +1 -1
- package/model/value.ts +1 -1
- package/package.json +31 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
+
*/
|
|
5
|
+
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=reRankingApplyFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reRankingApplyFilter.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"reRankingApplyFilter.d.ts","sourceRoot":"","sources":["../../model/reRankingApplyFilter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import type { HighlightResult } from './highlightResult';
|
|
2
|
-
import type { RankingInfo } from './rankingInfo';
|
|
3
|
-
import type { SnippetResult } from './snippetResult';
|
|
4
|
-
/**
|
|
5
|
-
* A Recommend hit.
|
|
6
|
-
*/
|
|
7
|
-
export
|
|
8
|
-
/**
|
|
9
|
-
* Unique identifier of the object.
|
|
10
|
-
*/
|
|
11
|
-
objectID: string;
|
|
12
|
-
/**
|
|
13
|
-
* Show highlighted section and words matched on a query.
|
|
14
|
-
*/
|
|
15
|
-
_highlightResult?: Record<string, HighlightResult>;
|
|
16
|
-
/**
|
|
17
|
-
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
18
|
-
*/
|
|
19
|
-
_snippetResult?: Record<string, SnippetResult>;
|
|
20
|
-
_rankingInfo?: RankingInfo;
|
|
21
|
-
_distinctSeqID?: number;
|
|
22
|
-
/**
|
|
23
|
-
* The recommendation score.
|
|
24
|
-
*/
|
|
25
|
-
_score: number;
|
|
26
|
-
};
|
|
1
|
+
import type { HighlightResult } from './highlightResult';
|
|
2
|
+
import type { RankingInfo } from './rankingInfo';
|
|
3
|
+
import type { SnippetResult } from './snippetResult';
|
|
4
|
+
/**
|
|
5
|
+
* A Recommend hit.
|
|
6
|
+
*/
|
|
7
|
+
export type RecommendHit = Record<string, any> & {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier of the object.
|
|
10
|
+
*/
|
|
11
|
+
objectID: string;
|
|
12
|
+
/**
|
|
13
|
+
* Show highlighted section and words matched on a query.
|
|
14
|
+
*/
|
|
15
|
+
_highlightResult?: Record<string, HighlightResult>;
|
|
16
|
+
/**
|
|
17
|
+
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
18
|
+
*/
|
|
19
|
+
_snippetResult?: Record<string, SnippetResult>;
|
|
20
|
+
_rankingInfo?: RankingInfo;
|
|
21
|
+
_distinctSeqID?: number;
|
|
22
|
+
/**
|
|
23
|
+
* The recommendation score.
|
|
24
|
+
*/
|
|
25
|
+
_score: number;
|
|
26
|
+
};
|
|
27
27
|
//# sourceMappingURL=recommendHit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendHit.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendHit.d.ts","sourceRoot":"","sources":["../../model/recommendHit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IAEnD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAE/C,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { RecommendHit } from './recommendHit';
|
|
2
|
-
export
|
|
3
|
-
hits: RecommendHit[];
|
|
4
|
-
};
|
|
1
|
+
import type { RecommendHit } from './recommendHit';
|
|
2
|
+
export type RecommendHits = {
|
|
3
|
+
hits: RecommendHit[];
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=recommendHits.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendHits.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendHits.d.ts","sourceRoot":"","sources":["../../model/recommendHits.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,YAAY,EAAE,CAAC;CACtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The recommendation model to use.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* The recommendation model to use.
|
|
3
|
+
*/
|
|
4
|
+
export type RecommendationModels = 'bought-together' | 'related-products';
|
|
5
5
|
//# sourceMappingURL=recommendationModels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationModels.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendationModels.d.ts","sourceRoot":"","sources":["../../model/recommendationModels.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,iBAAiB,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
-
import type { BaseRecommendationRequest } from './baseRecommendationRequest';
|
|
3
|
-
export
|
|
1
|
+
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
+
import type { BaseRecommendationRequest } from './baseRecommendationRequest';
|
|
3
|
+
export type RecommendationRequest = BaseRecommendationRequest & BaseRecommendRequest;
|
|
4
4
|
//# sourceMappingURL=recommendationRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationRequest.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendationRequest.d.ts","sourceRoot":"","sources":["../../model/recommendationRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RecommendationRequest } from './recommendationRequest';
|
|
2
|
-
import type { TrendingRequest } from './trendingRequest';
|
|
3
|
-
export
|
|
1
|
+
import type { RecommendationRequest } from './recommendationRequest';
|
|
2
|
+
import type { TrendingRequest } from './trendingRequest';
|
|
3
|
+
export type RecommendationsRequest = RecommendationRequest | TrendingRequest;
|
|
4
4
|
//# sourceMappingURL=recommendationsRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationsRequest.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendationsRequest.d.ts","sourceRoot":"","sources":["../../model/recommendationsRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,GAAG,eAAe,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
-
import type { RecommendHits } from './recommendHits';
|
|
3
|
-
export
|
|
1
|
+
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
+
import type { RecommendHits } from './recommendHits';
|
|
3
|
+
export type RecommendationsResponse = BaseSearchResponse & RecommendHits;
|
|
4
4
|
//# sourceMappingURL=recommendationsResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recommendationsResponse.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"recommendationsResponse.d.ts","sourceRoot":"","sources":["../../model/recommendationsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
|
|
2
|
+
export type RedirectRuleIndexMetadata = {
|
|
3
|
+
/**
|
|
4
|
+
* Source index for the redirect rule.
|
|
5
|
+
*/
|
|
6
|
+
source: string;
|
|
7
|
+
/**
|
|
8
|
+
* Destination index for the redirect rule.
|
|
9
|
+
*/
|
|
10
|
+
dest: string;
|
|
11
|
+
/**
|
|
12
|
+
* Reason for the redirect rule.
|
|
13
|
+
*/
|
|
14
|
+
reason: string;
|
|
15
|
+
/**
|
|
16
|
+
* Status for the redirect rule.
|
|
17
|
+
*/
|
|
18
|
+
succeed: boolean;
|
|
19
|
+
data: RedirectRuleIndexMetadataData;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=redirectRuleIndexMetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirectRuleIndexMetadata.d.ts","sourceRoot":"","sources":["../../model/redirectRuleIndexMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAErF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB,IAAI,EAAE,6BAA6B,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redirectRuleIndexMetadataData.d.ts","sourceRoot":"","sources":["../../model/redirectRuleIndexMetadataData.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
|
|
3
|
+
*/
|
|
4
|
+
export type RemoveStopWords = string[] | boolean;
|
|
5
5
|
//# sourceMappingURL=removeStopWords.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeStopWords.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"removeStopWords.d.ts","sourceRoot":"","sources":["../../model/removeStopWords.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selects a strategy to remove words from the query when it doesn\'t match any hits.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* Selects a strategy to remove words from the query when it doesn\'t match any hits.
|
|
3
|
+
*/
|
|
4
|
+
export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
|
|
5
5
|
//# sourceMappingURL=removeWordsIfNoResults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeWordsIfNoResults.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"removeWordsIfNoResults.d.ts","sourceRoot":"","sources":["../../model/removeWordsIfNoResults.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAC9B,aAAa,GACb,YAAY,GACZ,WAAW,GACX,MAAM,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { FacetOrdering } from './facetOrdering';
|
|
2
|
-
/**
|
|
3
|
-
* Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
6
|
-
facetOrdering?: FacetOrdering;
|
|
7
|
-
};
|
|
1
|
+
import type { FacetOrdering } from './facetOrdering';
|
|
2
|
+
/**
|
|
3
|
+
* Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
|
|
4
|
+
*/
|
|
5
|
+
export type RenderingContent = {
|
|
6
|
+
facetOrdering?: FacetOrdering;
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=renderingContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderingContent.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"renderingContent.d.ts","sourceRoot":"","sources":["../../model/renderingContent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseSearchParams } from './baseSearchParams';
|
|
2
|
-
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
|
-
export
|
|
1
|
+
import type { BaseSearchParams } from './baseSearchParams';
|
|
2
|
+
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
|
+
export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
|
|
4
4
|
//# sourceMappingURL=searchParamsObject.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchParamsObject.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"searchParamsObject.d.ts","sourceRoot":"","sources":["../../model/searchParamsObject.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG,2BAA2B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* The text to search in the index.
|
|
4
|
-
*/
|
|
5
|
-
query?: string;
|
|
6
|
-
};
|
|
1
|
+
export type SearchParamsQuery = {
|
|
2
|
+
/**
|
|
3
|
+
* The text to search in the index.
|
|
4
|
+
*/
|
|
5
|
+
query?: string;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=searchParamsQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchParamsQuery.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"searchParamsQuery.d.ts","sourceRoot":"","sources":["../../model/searchParamsQuery.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { SnippetResultOption } from './snippetResultOption';
|
|
2
|
-
export
|
|
1
|
+
import type { SnippetResultOption } from './snippetResultOption';
|
|
2
|
+
export type SnippetResult = SnippetResultOption | SnippetResultOption[];
|
|
3
3
|
//# sourceMappingURL=snippetResult.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippetResult.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"snippetResult.d.ts","sourceRoot":"","sources":["../../model/snippetResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { MatchLevel } from './matchLevel';
|
|
2
|
-
/**
|
|
3
|
-
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
* Markup text with occurrences highlighted.
|
|
8
|
-
*/
|
|
9
|
-
value: string;
|
|
10
|
-
matchLevel: MatchLevel;
|
|
11
|
-
};
|
|
1
|
+
import type { MatchLevel } from './matchLevel';
|
|
2
|
+
/**
|
|
3
|
+
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
4
|
+
*/
|
|
5
|
+
export type SnippetResultOption = {
|
|
6
|
+
/**
|
|
7
|
+
* Markup text with occurrences highlighted.
|
|
8
|
+
*/
|
|
9
|
+
value: string;
|
|
10
|
+
matchLevel: MatchLevel;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=snippetResultOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snippetResultOption.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"snippetResultOption.d.ts","sourceRoot":"","sources":["../../model/snippetResultOption.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,UAAU,CAAC;CACxB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
|
|
3
|
+
*/
|
|
4
|
+
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
|
5
5
|
//# sourceMappingURL=sortRemainingBy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sortRemainingBy.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"sortRemainingBy.d.ts","sourceRoot":"","sources":["../../model/sortRemainingBy.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* Filter hits by tags.
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* Filter hits by tags.
|
|
4
|
+
*/
|
|
5
|
+
export type TagFilters = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=tagFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tagFilters.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tagFilters.d.ts","sourceRoot":"","sources":["../../model/tagFilters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,kBAAkB,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The trending model to use.
|
|
3
|
-
*/
|
|
4
|
-
export
|
|
1
|
+
/**
|
|
2
|
+
* The trending model to use.
|
|
3
|
+
*/
|
|
4
|
+
export type TrendingModels = 'trending-facets' | 'trending-items';
|
|
5
5
|
//# sourceMappingURL=trendingModels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trendingModels.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"trendingModels.d.ts","sourceRoot":"","sources":["../../model/trendingModels.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
-
import type { BaseTrendingRequest } from './baseTrendingRequest';
|
|
3
|
-
export
|
|
1
|
+
import type { BaseRecommendRequest } from './baseRecommendRequest';
|
|
2
|
+
import type { BaseTrendingRequest } from './baseTrendingRequest';
|
|
3
|
+
export type TrendingRequest = BaseRecommendRequest & BaseTrendingRequest;
|
|
4
4
|
//# sourceMappingURL=trendingRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trendingRequest.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"trendingRequest.d.ts","sourceRoot":"","sources":["../../model/trendingRequest.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG,mBAAmB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { TypoToleranceEnum } from './typoToleranceEnum';
|
|
2
|
-
/**
|
|
3
|
-
* Controls whether typo tolerance is enabled and how it is applied.
|
|
4
|
-
*/
|
|
5
|
-
export
|
|
1
|
+
import type { TypoToleranceEnum } from './typoToleranceEnum';
|
|
2
|
+
/**
|
|
3
|
+
* Controls whether typo tolerance is enabled and how it is applied.
|
|
4
|
+
*/
|
|
5
|
+
export type TypoTolerance = TypoToleranceEnum | boolean;
|
|
6
6
|
//# sourceMappingURL=typoTolerance.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typoTolerance.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"typoTolerance.d.ts","sourceRoot":"","sources":["../../model/typoTolerance.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAAG,OAAO,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type TypoToleranceEnum = 'min' | 'strict';
|
|
2
2
|
//# sourceMappingURL=typoToleranceEnum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typoToleranceEnum.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"typoToleranceEnum.d.ts","sourceRoot":"","sources":["../../model/typoToleranceEnum.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,QAAQ,CAAC"}
|
package/dist/model/value.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { SortRemainingBy } from './sortRemainingBy';
|
|
2
|
-
export
|
|
3
|
-
/**
|
|
4
|
-
* Pinned order of facet lists.
|
|
5
|
-
*/
|
|
6
|
-
order?: string[];
|
|
7
|
-
sortRemainingBy?: SortRemainingBy;
|
|
8
|
-
};
|
|
1
|
+
import type { SortRemainingBy } from './sortRemainingBy';
|
|
2
|
+
export type Value = {
|
|
3
|
+
/**
|
|
4
|
+
* Pinned order of facet lists.
|
|
5
|
+
*/
|
|
6
|
+
order?: string[];
|
|
7
|
+
sortRemainingBy?: SortRemainingBy;
|
|
8
|
+
};
|
|
9
9
|
//# sourceMappingURL=value.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"value.d.ts","sourceRoot":"","sources":["../../model/value.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,KAAK,GAAG;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC,CAAC"}
|