@salesforce/lds-adapters-commerce-search 1.170.0 → 1.171.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/commerce-search.js +17 -13
- package/dist/es/es2018/types/src/generated/resources/deleteCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsFacetableFieldsByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchAttributeSettingsSearchableFieldsByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByIndexIdAndWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchIndexesByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceManagementWebstoresSearchProductSettingsByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getCommerceWebstoresSearchSuggestionsByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/postCommerceWebstoresSearchProductSearchByWebstoreId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexCollectionOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DistinctFacetValueRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DistinctValueSearchFacetRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FacetValueRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FacetableAttributeOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FacetableAttributesCollectionOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ProductSearchInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ProductSearchResultsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ProductSearchSuggestionsResultsRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ProductSummaryCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/ProductSummaryRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RefinementInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchCategoryRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchFacetRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingCollectionOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchProductSettingOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchableAttributeOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionInputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchableAttributesCollectionOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SuggestedCompletionRepresentation.d.ts +2 -2
- package/package.json +1 -1
- package/sfdc/index.js +18 -14
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey,
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -384,8 +384,7 @@ const ingest$1 = function ProductSearchResultsRepresentationIngest(input, path,
|
|
|
384
384
|
}
|
|
385
385
|
return createLink(key);
|
|
386
386
|
};
|
|
387
|
-
function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
388
|
-
const rootKeySet = new StoreKeyMap();
|
|
387
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
389
388
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
390
389
|
const rootKey = fullPathFactory();
|
|
391
390
|
rootKeySet.set(rootKey, {
|
|
@@ -393,7 +392,6 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
|
393
392
|
representationName: RepresentationType$1,
|
|
394
393
|
mergeable: false
|
|
395
394
|
});
|
|
396
|
-
return rootKeySet;
|
|
397
395
|
}
|
|
398
396
|
|
|
399
397
|
function select$2(luvio, params) {
|
|
@@ -402,8 +400,8 @@ function select$2(luvio, params) {
|
|
|
402
400
|
function keyBuilder$3(luvio, params) {
|
|
403
401
|
return keyPrefix + '::ProductSearchResultsRepresentation:(' + 'effectiveAccountId:' + params.queryParams.effectiveAccountId + ',' + 'webstoreId:' + params.urlParams.webstoreId + ',' + 'categoryId:' + params.body.categoryId + '::' + 'fields:' + params.body.fields + '::' + 'page:' + params.body.page + '::' + 'pageSize:' + params.body.pageSize + '::' + '[' + params.body.refinements.map(element => stableJSONStringify(element)).join(',') + ']' + '::' + 'searchTerm:' + params.body.searchTerm + '::' + 'sortOrderId:' + params.body.sortOrderId + ')';
|
|
404
402
|
}
|
|
405
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
406
|
-
|
|
403
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
404
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
407
405
|
}
|
|
408
406
|
function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
409
407
|
const { body } = response;
|
|
@@ -560,7 +558,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
560
558
|
const request = createResourceRequest$1(resourceParams);
|
|
561
559
|
return luvio.dispatchResourceRequest(request, options)
|
|
562
560
|
.then((response) => {
|
|
563
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
561
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
562
|
+
const cache = new StoreKeyMap();
|
|
563
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
564
|
+
return cache;
|
|
565
|
+
});
|
|
564
566
|
}, (response) => {
|
|
565
567
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
566
568
|
});
|
|
@@ -696,8 +698,7 @@ const ingest = function ProductSearchSuggestionsResultsRepresentationIngest(inpu
|
|
|
696
698
|
}
|
|
697
699
|
return createLink(key);
|
|
698
700
|
};
|
|
699
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
700
|
-
const rootKeySet = new StoreKeyMap();
|
|
701
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
701
702
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
702
703
|
const rootKey = fullPathFactory();
|
|
703
704
|
rootKeySet.set(rootKey, {
|
|
@@ -705,7 +706,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
705
706
|
representationName: RepresentationType,
|
|
706
707
|
mergeable: false
|
|
707
708
|
});
|
|
708
|
-
return rootKeySet;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
function select(luvio, params) {
|
|
@@ -714,8 +714,8 @@ function select(luvio, params) {
|
|
|
714
714
|
function keyBuilder$1(luvio, params) {
|
|
715
715
|
return keyPrefix + '::ProductSearchSuggestionsResultsRepresentation:(' + 'effectiveAccountId:' + params.queryParams.effectiveAccountId + ',' + 'limit:' + params.queryParams.limit + ',' + 'searchTerm:' + params.queryParams.searchTerm + ',' + 'webstoreId:' + params.urlParams.webstoreId + ')';
|
|
716
716
|
}
|
|
717
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
718
|
-
|
|
717
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
718
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
719
719
|
}
|
|
720
720
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
721
721
|
const { body } = response;
|
|
@@ -832,7 +832,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
832
832
|
const request = createResourceRequest(resourceParams);
|
|
833
833
|
return luvio.dispatchResourceRequest(request, options)
|
|
834
834
|
.then((response) => {
|
|
835
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
835
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
836
|
+
const cache = new StoreKeyMap();
|
|
837
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
838
|
+
return cache;
|
|
839
|
+
});
|
|
836
840
|
}, (response) => {
|
|
837
841
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
838
842
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
export interface ResourceRequestConfig {
|
|
3
3
|
urlParams: {
|
|
4
4
|
indexId: string;
|
|
@@ -7,6 +7,6 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
9
9
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig):
|
|
10
|
+
export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
11
11
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
12
|
export default createResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { FacetableAttributesCollectionOutputRepresentation as types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation } from '../types/FacetableAttributesCollectionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FacetableAttributesCollectionOutputRepresentation_FacetableAttributesCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { SearchableAttributesCollectionOutputRepresentation as types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation } from '../types/SearchableAttributesCollectionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchableAttributesCollectionOutputRepresentation_SearchableAttributesCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { CommerceSearchIndexOutputRepresentation as types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation } from '../types/CommerceSearchIndexOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -9,7 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
10
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
11
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation):
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation): void;
|
|
13
13
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation, any>;
|
|
14
14
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
15
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { CommerceSearchIndexCollectionOutputRepresentation as types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation } from '../types/CommerceSearchIndexCollectionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CommerceSearchIndexCollectionOutputRepresentation_CommerceSearchIndexCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { SearchProductSettingCollectionOutputRepresentation as types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation } from '../types/SearchProductSettingCollectionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -11,7 +11,7 @@ export interface ResourceRequestConfig {
|
|
|
11
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
13
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation):
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation): void;
|
|
15
15
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation, any>;
|
|
16
16
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SearchProductSettingCollectionOutputRepresentation_SearchProductSettingCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
17
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { ProductSearchSuggestionsResultsRepresentation as types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation } from '../types/ProductSearchSuggestionsResultsRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -13,7 +13,7 @@ export interface ResourceRequestConfig {
|
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
14
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
15
15
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation):
|
|
16
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation): void;
|
|
17
17
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation, any>;
|
|
18
18
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchSuggestionsResultsRepresentation_ProductSearchSuggestionsResultsRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
19
19
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { ProductSearchResultsRepresentation as types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation } from '../types/ProductSearchResultsRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -20,7 +20,7 @@ export interface ResourceRequestConfig {
|
|
|
20
20
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
21
21
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
22
22
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
23
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation):
|
|
23
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation): void;
|
|
24
24
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation, any>;
|
|
25
25
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProductSearchResultsRepresentation_ProductSearchResultsRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
26
26
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommerceSearchIndexOutputRepresentation as CommerceSearchIndexOutputRepresentation_CommerceSearchIndexOutputRepresentation } from './CommerceSearchIndexOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "574dfd7a6c48494ecab1082ad8790608";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: CommerceSearchIndexCollectionOutputRepr
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: CommerceSearchIndexCollectionOutputRepresentationNormalized, incoming: CommerceSearchIndexCollectionOutputRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: CommerceSearchIndexCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CommerceSearchIndexCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Index collection information of a webstore
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/CommerceSearchIndexOutputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "93529414494a2de4df3d5374c5fd4626";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: CommerceSearchIndexOutputRepresentation
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: CommerceSearchIndexOutputRepresentationNormalized, incoming: CommerceSearchIndexOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: CommerceSearchIndexOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CommerceSearchIndexOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Index information of a webstore
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FacetValueRepresentation as FacetValueRepresentation_FacetValueRepresentation } from './FacetValueRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "56a27082a8589e5b343d36d65b3ac658";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: DistinctFacetValueRepresentation, exist
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: DistinctFacetValueRepresentationNormalized, incoming: DistinctFacetValueRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DistinctFacetValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DistinctFacetValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Representation of distinct facet value.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/DistinctValueSearchFacetRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchFacetRepresentation as SearchFacetRepresentation_SearchFacetRepresentation } from './SearchFacetRepresentation';
|
|
2
2
|
import { DistinctFacetValueRepresentation as DistinctFacetValueRepresentation_DistinctFacetValueRepresentation } from './DistinctFacetValueRepresentation';
|
|
3
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
3
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
4
|
export declare const VERSION = "9200fa66844dc94f257f59d51a494729";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
@@ -8,7 +8,7 @@ export declare function normalize(input: DistinctValueSearchFacetRepresentation,
|
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: DistinctValueSearchFacetRepresentationNormalized, incoming: DistinctValueSearchFacetRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DistinctValueSearchFacetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DistinctValueSearchFacetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Summary representation of a Facet with distinct values in product search results.
|
|
14
14
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare enum DiscriminatorValues {
|
|
3
3
|
DistinctValue = "DistinctValue"
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@ export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
|
11
11
|
export declare function equals(existing: FacetValueRepresentationNormalized, incoming: FacetValueRepresentationNormalized): boolean;
|
|
12
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
13
|
export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
|
|
14
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FacetValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
14
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FacetValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
15
15
|
/**
|
|
16
16
|
* Abstract superclass of all facet value representations.
|
|
17
17
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "f304fd019a12a5ce5891a304947190df";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FacetableAttributeInputRepresentation,
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FacetableAttributeInputRepresentationNormalized, incoming: FacetableAttributeInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FacetableAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FacetableAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Representation of facet settings for a search attribute
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/FacetableAttributeOutputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "784f015babd36f484f87770830b11e0c";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FacetableAttributeOutputRepresentation,
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FacetableAttributeOutputRepresentationNormalized, incoming: FacetableAttributeOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FacetableAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FacetableAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Facetable attribute in a webstore
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "e80e305e017f3c97c096c297344a1ded";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FacetableAttributesCollectionInputRepre
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FacetableAttributesCollectionInputRepresentationNormalized, incoming: FacetableAttributesCollectionInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FacetableAttributesCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FacetableAttributesCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Representation of facet settings for search attributes
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FacetableAttributeOutputRepresentation as FacetableAttributeOutputRepresentation_FacetableAttributeOutputRepresentation } from './FacetableAttributeOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "ab43e7c2b3d0e003c10abd29d0c4713b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FacetableAttributesCollectionOutputRepr
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FacetableAttributesCollectionOutputRepresentationNormalized, incoming: FacetableAttributesCollectionOutputRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FacetableAttributesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FacetableAttributesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Facetable attributes in a webstore
|
|
13
13
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "488e95665f149acb64784ffc3c595116";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: ProductSearchInputRepresentation, exist
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ProductSearchInputRepresentationNormalized, incoming: ProductSearchInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductSearchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Input representation for a product search.
|
|
12
12
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SearchCategoryRepresentation as SearchCategoryRepresentation_SearchCategoryRepresentation } from './SearchCategoryRepresentation';
|
|
2
2
|
import { SearchFacetRepresentation as SearchFacetRepresentation_SearchFacetRepresentation } from './SearchFacetRepresentation';
|
|
3
3
|
import { ProductSummaryCollectionRepresentation as ProductSummaryCollectionRepresentation_ProductSummaryCollectionRepresentation } from './ProductSummaryCollectionRepresentation';
|
|
4
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
4
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
5
5
|
import { DistinctValueSearchFacetRepresentation as DistinctValueSearchFacetRepresentation_DistinctValueSearchFacetRepresentation } from './DistinctValueSearchFacetRepresentation';
|
|
6
6
|
export declare const VERSION = "605737e638033254bdffaf42f248c5b7";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -10,7 +10,7 @@ export declare function normalize(input: ProductSearchResultsRepresentation, exi
|
|
|
10
10
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
11
11
|
export declare function equals(existing: ProductSearchResultsRepresentationNormalized, incoming: ProductSearchResultsRepresentationNormalized): boolean;
|
|
12
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductSearchResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
13
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
14
|
/**
|
|
15
15
|
* Representation for Product Search Results.
|
|
16
16
|
*
|
package/dist/es/es2018/types/src/generated/types/ProductSearchSuggestionsResultsRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SuggestedCompletionRepresentation as SuggestedCompletionRepresentation_SuggestedCompletionRepresentation } from './SuggestedCompletionRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "120685134083f097a5c3e15081721a8a";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: ProductSearchSuggestionsResultsRepresen
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
8
|
export declare function equals(existing: ProductSearchSuggestionsResultsRepresentationNormalized, incoming: ProductSearchSuggestionsResultsRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductSearchSuggestionsResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSearchSuggestionsResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Representation for Product Search Suggestions Results.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/ProductSummaryCollectionRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProductSummaryRepresentation as ProductSummaryRepresentation_ProductSummaryRepresentation } from './ProductSummaryRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "f0ad1a24a5b7ba4c53a09156b9b507ae";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: ProductSummaryCollectionRepresentation,
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ProductSummaryCollectionRepresentationNormalized, incoming: ProductSummaryCollectionRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductSummaryCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSummaryCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Collection of Product Summary representations in product search results.
|
|
13
13
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "b8eabb98dff8e3446d4ad9e766f4582a";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: ProductSummaryRepresentation, existing:
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ProductSummaryRepresentationNormalized, incoming: ProductSummaryRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Summary representation of a Product in product search results.
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "4c8ef5aadc24bc600f59b85958109c28";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: RefinementInputRepresentation, existing
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: RefinementInputRepresentationNormalized, incoming: RefinementInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RefinementInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RefinementInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Input representation of an attribute-based refinement for product search
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "b663e723e61ad3eba3d8124aa877e2ac";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchCategoryRepresentation, existing:
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchCategoryRepresentationNormalized, incoming: SearchCategoryRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchCategoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchCategoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Search Category representation in product search results.
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentUnionSelection as $64$luvio_engine_FragmentUnionSelection, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare enum DiscriminatorValues {
|
|
3
3
|
DistinctValue = "DistinctValue"
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@ export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
|
11
11
|
export declare function equals(existing: SearchFacetRepresentationNormalized, incoming: SearchFacetRepresentationNormalized): boolean;
|
|
12
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
13
|
export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
|
|
14
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchFacetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
14
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchFacetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
15
15
|
/**
|
|
16
16
|
* Abstract superclass of all Search Facet representations.
|
|
17
17
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "ea5bb0eb5e8f6c9685e8f3b8d20ddcff";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchProductSettingCollectionInputRepr
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchProductSettingCollectionInputRepresentationNormalized, incoming: SearchProductSettingCollectionInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* The representation of multiple search product settings.
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchProductSettingOutputRepresentation as SearchProductSettingOutputRepresentation_SearchProductSettingOutputRepresentation } from './SearchProductSettingOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "9d5c52d674794373b83ea358725bb447";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: SearchProductSettingCollectionOutputRep
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: SearchProductSettingCollectionOutputRepresentationNormalized, incoming: SearchProductSettingCollectionOutputRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* The representation of multiple search product settings.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/SearchProductSettingInputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "88bbccc1124a968480bf7ee38688fa78";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchProductSettingInputRepresentation
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchProductSettingInputRepresentationNormalized, incoming: SearchProductSettingInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchProductSettingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* The representation of a single search product setting.
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/SearchProductSettingOutputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "b0580760d682d098d9ff67dc1b010be9";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchProductSettingOutputRepresentatio
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchProductSettingOutputRepresentationNormalized, incoming: SearchProductSettingOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchProductSettingOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchProductSettingOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* The representation of a single search product setting.
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/SearchableAttributeInputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "14f4d90d7ffe9c034d0888866221ce2c";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchableAttributeInputRepresentation,
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchableAttributeInputRepresentationNormalized, incoming: SearchableAttributeInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchableAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchableAttributeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Representation of searchability settings for a search attribute
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/SearchableAttributeOutputRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "6eed72e792a1f0416e48d7341fc54b88";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchableAttributeOutputRepresentation
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchableAttributeOutputRepresentationNormalized, incoming: SearchableAttributeOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchableAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchableAttributeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Searchable attribute in a webstore
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "a2c29d493e676edaa3b0e2ffc884a26a";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SearchableAttributesCollectionInputRepr
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SearchableAttributesCollectionInputRepresentationNormalized, incoming: SearchableAttributesCollectionInputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchableAttributesCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchableAttributesCollectionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Representation of searchability settings for search attributes
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchableAttributeOutputRepresentation as SearchableAttributeOutputRepresentation_SearchableAttributeOutputRepresentation } from './SearchableAttributeOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "180d92ea7f5d551142b68ec4e8abbfa8";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: SearchableAttributesCollectionOutputRep
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: SearchableAttributesCollectionOutputRepresentationNormalized, incoming: SearchableAttributesCollectionOutputRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchableAttributesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SearchableAttributesCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Searchable attributes in a webstore
|
|
13
13
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest,
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const VERSION = "920dfd3b5f0ada7411ece8d56e597a8d";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: SuggestedCompletionRepresentation, exis
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: SuggestedCompletionRepresentationNormalized, incoming: SuggestedCompletionRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SuggestedCompletionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SuggestedCompletionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Representation for Product Search suggestions endpoint's Completion Proposals.
|
|
12
12
|
*
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey,
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -216,8 +216,7 @@ const ingest$1 = function ProductSearchSuggestionsResultsRepresentationIngest(in
|
|
|
216
216
|
}
|
|
217
217
|
return createLink(key);
|
|
218
218
|
};
|
|
219
|
-
function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
220
|
-
const rootKeySet = new StoreKeyMap();
|
|
219
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
221
220
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
222
221
|
const rootKey = fullPathFactory();
|
|
223
222
|
rootKeySet.set(rootKey, {
|
|
@@ -225,7 +224,6 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
|
225
224
|
representationName: RepresentationType$1,
|
|
226
225
|
mergeable: false
|
|
227
226
|
});
|
|
228
|
-
return rootKeySet;
|
|
229
227
|
}
|
|
230
228
|
|
|
231
229
|
function select$2(luvio, params) {
|
|
@@ -234,8 +232,8 @@ function select$2(luvio, params) {
|
|
|
234
232
|
function keyBuilder$3(luvio, params) {
|
|
235
233
|
return keyPrefix + '::ProductSearchSuggestionsResultsRepresentation:(' + 'effectiveAccountId:' + params.queryParams.effectiveAccountId + ',' + 'limit:' + params.queryParams.limit + ',' + 'searchTerm:' + params.queryParams.searchTerm + ',' + 'webstoreId:' + params.urlParams.webstoreId + ')';
|
|
236
234
|
}
|
|
237
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
238
|
-
|
|
235
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
236
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
239
237
|
}
|
|
240
238
|
function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
241
239
|
const { body } = response;
|
|
@@ -352,7 +350,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
352
350
|
const request = createResourceRequest$1(resourceParams);
|
|
353
351
|
return luvio.dispatchResourceRequest(request, options)
|
|
354
352
|
.then((response) => {
|
|
355
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
353
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
354
|
+
const cache = new StoreKeyMap();
|
|
355
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
356
|
+
return cache;
|
|
357
|
+
});
|
|
356
358
|
}, (response) => {
|
|
357
359
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
358
360
|
});
|
|
@@ -666,8 +668,7 @@ const ingest = function ProductSearchResultsRepresentationIngest(input, path, lu
|
|
|
666
668
|
}
|
|
667
669
|
return createLink(key);
|
|
668
670
|
};
|
|
669
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
670
|
-
const rootKeySet = new StoreKeyMap();
|
|
671
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
671
672
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
672
673
|
const rootKey = fullPathFactory();
|
|
673
674
|
rootKeySet.set(rootKey, {
|
|
@@ -675,7 +676,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
675
676
|
representationName: RepresentationType,
|
|
676
677
|
mergeable: false
|
|
677
678
|
});
|
|
678
|
-
return rootKeySet;
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
function select(luvio, params) {
|
|
@@ -684,8 +684,8 @@ function select(luvio, params) {
|
|
|
684
684
|
function keyBuilder$1(luvio, params) {
|
|
685
685
|
return keyPrefix + '::ProductSearchResultsRepresentation:(' + 'effectiveAccountId:' + params.queryParams.effectiveAccountId + ',' + 'webstoreId:' + params.urlParams.webstoreId + ',' + 'categoryId:' + params.body.categoryId + '::' + 'fields:' + params.body.fields + '::' + 'page:' + params.body.page + '::' + 'pageSize:' + params.body.pageSize + '::' + '[' + params.body.refinements.map(element => stableJSONStringify(element)).join(',') + ']' + '::' + 'searchTerm:' + params.body.searchTerm + '::' + 'sortOrderId:' + params.body.sortOrderId + ')';
|
|
686
686
|
}
|
|
687
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
688
|
-
|
|
687
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
688
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
689
689
|
}
|
|
690
690
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
691
691
|
const { body } = response;
|
|
@@ -842,7 +842,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
842
842
|
const request = createResourceRequest(resourceParams);
|
|
843
843
|
return luvio.dispatchResourceRequest(request, options)
|
|
844
844
|
.then((response) => {
|
|
845
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
845
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
846
|
+
const cache = new StoreKeyMap();
|
|
847
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
848
|
+
return cache;
|
|
849
|
+
});
|
|
846
850
|
}, (response) => {
|
|
847
851
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
848
852
|
});
|
|
@@ -917,4 +921,4 @@ withDefaultLuvio((luvio) => {
|
|
|
917
921
|
});
|
|
918
922
|
|
|
919
923
|
export { getSuggestions, getSuggestions_imperative, productSearch, productSearch_imperative };
|
|
920
|
-
// version: 1.
|
|
924
|
+
// version: 1.171.0-c5e524eba
|