@salesforce/lds-adapters-industries-timeline 1.170.0 → 1.170.1
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/industries-timeline.js +33 -25
- package/dist/es/es2018/types/src/generated/resources/getConnectTimelineCustDataPfrmDataModelObjects.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getConnectTimelineMetadataConfigurations.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getConnectTimelineTimelineDefinitionsCustDataPfrmEventsByTimelineConfigFullNameAndTimelineObjRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getConnectTimelineTimelineDefinitionsEventsByTimelineConfigFullNameAndTimelineObjRecordId.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/CdpMetadataOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DmoFieldsOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DmoOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/DmoRelationshipsOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/EngagementEventTimelineDataRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/RelationshipTypeOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineDataGetResultRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineElementRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineEntityRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineErrorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineEventFieldRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineEventRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineEventTypeMetadataRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineEventTypeRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineMetadataDefinitionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/TimelineMetadataResultRepresentation.d.ts +2 -2
- package/package.json +1 -1
- package/sfdc/index.js +34 -26
|
@@ -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, create: ObjectCreate } = Object;
|
|
@@ -505,8 +505,7 @@ const ingest$3 = function EngagementEventTimelineDataRepresentationIngest(input,
|
|
|
505
505
|
}
|
|
506
506
|
return createLink(key);
|
|
507
507
|
};
|
|
508
|
-
function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
509
|
-
const rootKeySet = new StoreKeyMap();
|
|
508
|
+
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
510
509
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
511
510
|
const rootKey = fullPathFactory();
|
|
512
511
|
rootKeySet.set(rootKey, {
|
|
@@ -514,7 +513,6 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
|
514
513
|
representationName: RepresentationType$3,
|
|
515
514
|
mergeable: false
|
|
516
515
|
});
|
|
517
|
-
return rootKeySet;
|
|
518
516
|
}
|
|
519
517
|
|
|
520
518
|
function select$6(luvio, params) {
|
|
@@ -523,8 +521,8 @@ function select$6(luvio, params) {
|
|
|
523
521
|
function keyBuilder$7(luvio, params) {
|
|
524
522
|
return keyPrefix + '::EngagementEventTimelineDataRepresentation:(' + 'timelineConfigFullName:' + params.urlParams.timelineConfigFullName + ',' + 'timelineObjRecordId:' + params.urlParams.timelineObjRecordId + ')';
|
|
525
523
|
}
|
|
526
|
-
function getResponseCacheKeys$3(luvio, resourceParams, response) {
|
|
527
|
-
|
|
524
|
+
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
525
|
+
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
528
526
|
}
|
|
529
527
|
function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
530
528
|
const { body } = response;
|
|
@@ -636,7 +634,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
636
634
|
const request = createResourceRequest$3(resourceParams);
|
|
637
635
|
return luvio.dispatchResourceRequest(request, options)
|
|
638
636
|
.then((response) => {
|
|
639
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () =>
|
|
637
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
|
|
638
|
+
const cache = new StoreKeyMap();
|
|
639
|
+
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
640
|
+
return cache;
|
|
641
|
+
});
|
|
640
642
|
}, (response) => {
|
|
641
643
|
return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
|
|
642
644
|
});
|
|
@@ -804,8 +806,7 @@ const ingest$2 = function TimelineDataGetResultRepresentationIngest(input, path,
|
|
|
804
806
|
}
|
|
805
807
|
return createLink(key);
|
|
806
808
|
};
|
|
807
|
-
function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
808
|
-
const rootKeySet = new StoreKeyMap();
|
|
809
|
+
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
809
810
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
810
811
|
const rootKey = fullPathFactory();
|
|
811
812
|
rootKeySet.set(rootKey, {
|
|
@@ -813,7 +814,6 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
|
813
814
|
representationName: RepresentationType$2,
|
|
814
815
|
mergeable: false
|
|
815
816
|
});
|
|
816
|
-
return rootKeySet;
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
function select$4(luvio, params) {
|
|
@@ -822,8 +822,8 @@ function select$4(luvio, params) {
|
|
|
822
822
|
function keyBuilder$5(luvio, params) {
|
|
823
823
|
return keyPrefix + '::TimelineDataGetResultRepresentation:(' + 'direction:' + params.queryParams.direction + ',' + 'endDate:' + params.queryParams.endDate + ',' + 'eventTypeOffsets:' + params.queryParams.eventTypeOffsets + ',' + 'eventTypes:' + params.queryParams.eventTypes + ',' + 'startDate:' + params.queryParams.startDate + ',' + 'timelineConfigFullName:' + params.urlParams.timelineConfigFullName + ',' + 'timelineObjRecordId:' + params.urlParams.timelineObjRecordId + ')';
|
|
824
824
|
}
|
|
825
|
-
function getResponseCacheKeys$2(luvio, resourceParams, response) {
|
|
826
|
-
|
|
825
|
+
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
826
|
+
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
827
827
|
}
|
|
828
828
|
function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
829
829
|
const { body } = response;
|
|
@@ -958,7 +958,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
958
958
|
const request = createResourceRequest$2(resourceParams);
|
|
959
959
|
return luvio.dispatchResourceRequest(request, options)
|
|
960
960
|
.then((response) => {
|
|
961
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () =>
|
|
961
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
962
|
+
const cache = new StoreKeyMap();
|
|
963
|
+
getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
|
|
964
|
+
return cache;
|
|
965
|
+
});
|
|
962
966
|
}, (response) => {
|
|
963
967
|
return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
|
|
964
968
|
});
|
|
@@ -1198,8 +1202,7 @@ const ingest$1 = function CdpMetadataOutputRepresentationIngest(input, path, luv
|
|
|
1198
1202
|
}
|
|
1199
1203
|
return createLink(key);
|
|
1200
1204
|
};
|
|
1201
|
-
function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
1202
|
-
const rootKeySet = new StoreKeyMap();
|
|
1205
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
1203
1206
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1204
1207
|
const rootKey = fullPathFactory();
|
|
1205
1208
|
rootKeySet.set(rootKey, {
|
|
@@ -1207,7 +1210,6 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
|
1207
1210
|
representationName: RepresentationType$1,
|
|
1208
1211
|
mergeable: false
|
|
1209
1212
|
});
|
|
1210
|
-
return rootKeySet;
|
|
1211
1213
|
}
|
|
1212
1214
|
|
|
1213
1215
|
function select$2(luvio, params) {
|
|
@@ -1216,8 +1218,8 @@ function select$2(luvio, params) {
|
|
|
1216
1218
|
function keyBuilder$3(luvio, params) {
|
|
1217
1219
|
return keyPrefix + '::CdpMetadataOutputRepresentation:(' + 'objectCategory:' + params.queryParams.objectCategory + ')';
|
|
1218
1220
|
}
|
|
1219
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
1220
|
-
|
|
1221
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
1222
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
1221
1223
|
}
|
|
1222
1224
|
function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
1223
1225
|
const { body } = response;
|
|
@@ -1325,7 +1327,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
1325
1327
|
const request = createResourceRequest$1(resourceParams);
|
|
1326
1328
|
return luvio.dispatchResourceRequest(request, options)
|
|
1327
1329
|
.then((response) => {
|
|
1328
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
1330
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
1331
|
+
const cache = new StoreKeyMap();
|
|
1332
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
1333
|
+
return cache;
|
|
1334
|
+
});
|
|
1329
1335
|
}, (response) => {
|
|
1330
1336
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
1331
1337
|
});
|
|
@@ -1977,8 +1983,7 @@ const ingest = function TimelineMetadataResultRepresentationIngest(input, path,
|
|
|
1977
1983
|
}
|
|
1978
1984
|
return createLink(key);
|
|
1979
1985
|
};
|
|
1980
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
1981
|
-
const rootKeySet = new StoreKeyMap();
|
|
1986
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
1982
1987
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1983
1988
|
const rootKey = fullPathFactory();
|
|
1984
1989
|
rootKeySet.set(rootKey, {
|
|
@@ -1986,7 +1991,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
1986
1991
|
representationName: RepresentationType,
|
|
1987
1992
|
mergeable: false
|
|
1988
1993
|
});
|
|
1989
|
-
return rootKeySet;
|
|
1990
1994
|
}
|
|
1991
1995
|
|
|
1992
1996
|
function select(luvio, params) {
|
|
@@ -1995,8 +1999,8 @@ function select(luvio, params) {
|
|
|
1995
1999
|
function keyBuilder$1(luvio, params) {
|
|
1996
2000
|
return keyPrefix + '::TimelineMetadataResultRepresentation:(' + 'fullNames:' + params.queryParams.fullNames + ')';
|
|
1997
2001
|
}
|
|
1998
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
1999
|
-
|
|
2002
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
2003
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
2000
2004
|
}
|
|
2001
2005
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
2002
2006
|
const { body } = response;
|
|
@@ -2111,7 +2115,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
2111
2115
|
const request = createResourceRequest(resourceParams);
|
|
2112
2116
|
return luvio.dispatchResourceRequest(request, options)
|
|
2113
2117
|
.then((response) => {
|
|
2114
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
2118
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
2119
|
+
const cache = new StoreKeyMap();
|
|
2120
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
2121
|
+
return cache;
|
|
2122
|
+
});
|
|
2115
2123
|
}, (response) => {
|
|
2116
2124
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
2117
2125
|
});
|
|
@@ -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 { CdpMetadataOutputRepresentation as types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation } from '../types/CdpMetadataOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
@@ -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_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation, 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_CdpMetadataOutputRepresentation_CdpMetadataOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getConnectTimelineMetadataConfigurations.d.ts
CHANGED
|
@@ -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 { TimelineMetadataResultRepresentation as types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation } from '../types/TimelineMetadataResultRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
@@ -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_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation, 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_TimelineMetadataResultRepresentation_TimelineMetadataResultRepresentation>): $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 { EngagementEventTimelineDataRepresentation as types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation } from '../types/EngagementEventTimelineDataRepresentation';
|
|
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_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation):
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation): void;
|
|
13
13
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation, 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_EngagementEventTimelineDataRepresentation_EngagementEventTimelineDataRepresentation>): $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 { TimelineDataGetResultRepresentation as types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation } from '../types/TimelineDataGetResultRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
@@ -16,7 +16,7 @@ export interface ResourceRequestConfig {
|
|
|
16
16
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
17
17
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
18
18
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation):
|
|
19
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation): void;
|
|
20
20
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation, any>;
|
|
21
21
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TimelineDataGetResultRepresentation_TimelineDataGetResultRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
22
22
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DmoOutputRepresentation as DmoOutputRepresentation_DmoOutputRepresentation } from './DmoOutputRepresentation';
|
|
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 TTL = 600000;
|
|
4
4
|
export declare const VERSION = "84ccc17f91013e292e7b01a291dd0322";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -8,7 +8,7 @@ export declare function normalize(input: CdpMetadataOutputRepresentation, existi
|
|
|
8
8
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
9
|
export declare function equals(existing: CdpMetadataOutputRepresentationNormalized, incoming: CdpMetadataOutputRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: CdpMetadataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CdpMetadataOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Output representation to fetch all engagement dmos
|
|
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, 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 = "3de3d025c0a0af44f39305af7a738239";
|
|
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: DmoFieldsOutputRepresentation, existing
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: DmoFieldsOutputRepresentationNormalized, incoming: DmoFieldsOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DmoFieldsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DmoFieldsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of each field of DMO
|
|
12
12
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DmoFieldsOutputRepresentation as DmoFieldsOutputRepresentation_DmoFieldsOutputRepresentation } from './DmoFieldsOutputRepresentation';
|
|
2
2
|
import { DmoRelationshipsOutputRepresentation as DmoRelationshipsOutputRepresentation_DmoRelationshipsOutputRepresentation } from './DmoRelationshipsOutputRepresentation';
|
|
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 = "f50724468fc2f740b113fd9591e37b8b";
|
|
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: DmoOutputRepresentation, existing: DmoO
|
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: DmoOutputRepresentationNormalized, incoming: DmoOutputRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DmoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DmoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Output representation of each dmo
|
|
14
14
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RelationshipTypeOutputRepresentation as RelationshipTypeOutputRepresentation_RelationshipTypeOutputRepresentation } from './RelationshipTypeOutputRepresentation';
|
|
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 = "bd9cfb2e9b327ac378ff320957463a19";
|
|
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: DmoRelationshipsOutputRepresentation, e
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: DmoRelationshipsOutputRepresentationNormalized, incoming: DmoRelationshipsOutputRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DmoRelationshipsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DmoRelationshipsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Output representation of relationships for a DMO
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/EngagementEventTimelineDataRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimelineErrorRepresentation as TimelineErrorRepresentation_TimelineErrorRepresentation } from './TimelineErrorRepresentation';
|
|
2
2
|
import { TimelineEventTypeRepresentation as TimelineEventTypeRepresentation_TimelineEventTypeRepresentation } from './TimelineEventTypeRepresentation';
|
|
3
3
|
import { TimelineEventRepresentation as TimelineEventRepresentation_TimelineEventRepresentation } from './TimelineEventRepresentation';
|
|
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
|
export declare const TTL = 600000;
|
|
6
6
|
export declare const VERSION = "321752356b84efcf9df843ceda55f23c";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -10,7 +10,7 @@ export declare function normalize(input: EngagementEventTimelineDataRepresentati
|
|
|
10
10
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
11
11
|
export declare function equals(existing: EngagementEventTimelineDataRepresentationNormalized, incoming: EngagementEventTimelineDataRepresentationNormalized): boolean;
|
|
12
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: EngagementEventTimelineDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
13
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: EngagementEventTimelineDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
14
|
/**
|
|
15
15
|
* Output representation of engagement events to be displayed on the timeline component
|
|
16
16
|
*
|
|
@@ -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 = "9d364af703abf32478364b295d0a5a1b";
|
|
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: RelationshipTypeOutputRepresentation, e
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: RelationshipTypeOutputRepresentationNormalized, incoming: RelationshipTypeOutputRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RelationshipTypeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RelationshipTypeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of relationship type
|
|
12
12
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TimelineErrorRepresentation as TimelineErrorRepresentation_TimelineErrorRepresentation } from './TimelineErrorRepresentation';
|
|
2
2
|
import { TimelineEventTypeRepresentation as TimelineEventTypeRepresentation_TimelineEventTypeRepresentation } from './TimelineEventTypeRepresentation';
|
|
3
3
|
import { TimelineEventRepresentation as TimelineEventRepresentation_TimelineEventRepresentation } from './TimelineEventRepresentation';
|
|
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
|
export declare const TTL = 500;
|
|
6
6
|
export declare const VERSION = "fdc9f6f24a05bf6064b5dd39db6e4e4d";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -10,7 +10,7 @@ export declare function normalize(input: TimelineDataGetResultRepresentation, ex
|
|
|
10
10
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
11
11
|
export declare function equals(existing: TimelineDataGetResultRepresentationNormalized, incoming: TimelineDataGetResultRepresentationNormalized): boolean;
|
|
12
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineDataGetResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
13
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineDataGetResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
14
|
/**
|
|
15
15
|
* Output representation of Timeline Data from the GET Resource
|
|
16
16
|
*
|
|
@@ -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 = "57c5b7692fd7f8322167aa02acb48913";
|
|
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: TimelineElementRepresentation, existing
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TimelineElementRepresentationNormalized, incoming: TimelineElementRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineElementRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineElementRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of Fields/related Lists that is returned as part of the GET Timeline metadata
|
|
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 = "6d26e44b0d5b8bd332be1045a8fcaaf9";
|
|
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: TimelineEntityRepresentation, existing:
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TimelineEntityRepresentationNormalized, incoming: TimelineEntityRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineEntityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineEntityRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of entity that is returned as part of the GET Timeline metadata
|
|
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 = "aea7b84dab350809c1563f5cabd7d0b5";
|
|
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: TimelineErrorRepresentation, existing:
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TimelineErrorRepresentationNormalized, incoming: TimelineErrorRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineErrorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Error response representation
|
|
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 = "e0ce4518789f0a66fa41752f75500b56";
|
|
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: TimelineEventFieldRepresentation, exist
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TimelineEventFieldRepresentationNormalized, incoming: TimelineEventFieldRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineEventFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineEventFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of the Event Field that is returned as part of the GET Timeline Data Result
|
|
12
12
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimelineEventFieldRepresentation as TimelineEventFieldRepresentation_TimelineEventFieldRepresentation } from './TimelineEventFieldRepresentation';
|
|
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 = "96b838685b37994d292fec63398db92d";
|
|
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: TimelineEventRepresentation, existing:
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: TimelineEventRepresentationNormalized, incoming: TimelineEventRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineEventRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineEventRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Output representation of the Event that is returned as part of the GET Timeline Data Result
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/TimelineEventTypeMetadataRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimelineElementRepresentation as TimelineElementRepresentation_TimelineElementRepresentation } from './TimelineElementRepresentation';
|
|
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 = "8700d3bfa7e6fb9c4962306b4834e3dc";
|
|
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: TimelineEventTypeMetadataRepresentation
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: TimelineEventTypeMetadataRepresentationNormalized, incoming: TimelineEventTypeMetadataRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineEventTypeMetadataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineEventTypeMetadataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Output representation of Event Object that is returned as part of the GET Timeline metadata
|
|
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 = "0e4a1507b9409e8869af37b248c7fd7c";
|
|
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: TimelineEventTypeRepresentation, existi
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: TimelineEventTypeRepresentationNormalized, incoming: TimelineEventTypeRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineEventTypeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineEventTypeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Output representation of EventType that is returned as part of the GET Timeline Data Result
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/TimelineMetadataDefinitionRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimelineEntityRepresentation as TimelineEntityRepresentation_TimelineEntityRepresentation } from './TimelineEntityRepresentation';
|
|
2
2
|
import { TimelineEventTypeMetadataRepresentation as TimelineEventTypeMetadataRepresentation_TimelineEventTypeMetadataRepresentation } from './TimelineEventTypeMetadataRepresentation';
|
|
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 = "145e891ce7a096c716cf83fe3c7aa592";
|
|
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: TimelineMetadataDefinitionRepresentatio
|
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: TimelineMetadataDefinitionRepresentationNormalized, incoming: TimelineMetadataDefinitionRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineMetadataDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineMetadataDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Output representation of Timeline Metadata from the GET Resource
|
|
14
14
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimelineMetadataDefinitionRepresentation as TimelineMetadataDefinitionRepresentation_TimelineMetadataDefinitionRepresentation } from './TimelineMetadataDefinitionRepresentation';
|
|
2
2
|
import { TimelineErrorRepresentation as TimelineErrorRepresentation_TimelineErrorRepresentation } from './TimelineErrorRepresentation';
|
|
3
|
-
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,
|
|
3
|
+
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';
|
|
4
4
|
export declare const TTL = 500;
|
|
5
5
|
export declare const VERSION = "73eb5de038a20239e23e31b0a0bb3cdc";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
@@ -9,7 +9,7 @@ export declare function normalize(input: TimelineMetadataResultRepresentation, e
|
|
|
9
9
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
10
10
|
export declare function equals(existing: TimelineMetadataResultRepresentationNormalized, incoming: TimelineMetadataResultRepresentationNormalized): boolean;
|
|
11
11
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TimelineMetadataResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: TimelineMetadataResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
13
|
/**
|
|
14
14
|
* Output representation of Timeline Metadata from the GET Resource
|
|
15
15
|
*
|
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, create: ObjectCreate } = Object;
|
|
@@ -263,8 +263,7 @@ const ingest$3 = function CdpMetadataOutputRepresentationIngest(input, path, luv
|
|
|
263
263
|
}
|
|
264
264
|
return createLink(key);
|
|
265
265
|
};
|
|
266
|
-
function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
267
|
-
const rootKeySet = new StoreKeyMap();
|
|
266
|
+
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
268
267
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
269
268
|
const rootKey = fullPathFactory();
|
|
270
269
|
rootKeySet.set(rootKey, {
|
|
@@ -272,7 +271,6 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
|
|
|
272
271
|
representationName: RepresentationType$3,
|
|
273
272
|
mergeable: false
|
|
274
273
|
});
|
|
275
|
-
return rootKeySet;
|
|
276
274
|
}
|
|
277
275
|
|
|
278
276
|
function select$6(luvio, params) {
|
|
@@ -281,8 +279,8 @@ function select$6(luvio, params) {
|
|
|
281
279
|
function keyBuilder$7(luvio, params) {
|
|
282
280
|
return keyPrefix + '::CdpMetadataOutputRepresentation:(' + 'objectCategory:' + params.queryParams.objectCategory + ')';
|
|
283
281
|
}
|
|
284
|
-
function getResponseCacheKeys$3(luvio, resourceParams, response) {
|
|
285
|
-
|
|
282
|
+
function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
283
|
+
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$7(luvio, resourceParams));
|
|
286
284
|
}
|
|
287
285
|
function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
288
286
|
const { body } = response;
|
|
@@ -390,7 +388,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
390
388
|
const request = createResourceRequest$3(resourceParams);
|
|
391
389
|
return luvio.dispatchResourceRequest(request, options)
|
|
392
390
|
.then((response) => {
|
|
393
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () =>
|
|
391
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$3(luvio, config, resourceParams, response), () => {
|
|
392
|
+
const cache = new StoreKeyMap();
|
|
393
|
+
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
394
|
+
return cache;
|
|
395
|
+
});
|
|
394
396
|
}, (response) => {
|
|
395
397
|
return luvio.handleErrorResponse(() => onFetchResponseError$3(luvio, config, resourceParams, response));
|
|
396
398
|
});
|
|
@@ -882,8 +884,7 @@ const ingest$2 = function EngagementEventTimelineDataRepresentationIngest(input,
|
|
|
882
884
|
}
|
|
883
885
|
return createLink(key);
|
|
884
886
|
};
|
|
885
|
-
function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
886
|
-
const rootKeySet = new StoreKeyMap();
|
|
887
|
+
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
887
888
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
888
889
|
const rootKey = fullPathFactory();
|
|
889
890
|
rootKeySet.set(rootKey, {
|
|
@@ -891,7 +892,6 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
|
|
|
891
892
|
representationName: RepresentationType$2,
|
|
892
893
|
mergeable: false
|
|
893
894
|
});
|
|
894
|
-
return rootKeySet;
|
|
895
895
|
}
|
|
896
896
|
|
|
897
897
|
function select$4(luvio, params) {
|
|
@@ -900,8 +900,8 @@ function select$4(luvio, params) {
|
|
|
900
900
|
function keyBuilder$5(luvio, params) {
|
|
901
901
|
return keyPrefix + '::EngagementEventTimelineDataRepresentation:(' + 'timelineConfigFullName:' + params.urlParams.timelineConfigFullName + ',' + 'timelineObjRecordId:' + params.urlParams.timelineObjRecordId + ')';
|
|
902
902
|
}
|
|
903
|
-
function getResponseCacheKeys$2(luvio, resourceParams, response) {
|
|
904
|
-
|
|
903
|
+
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
904
|
+
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
905
905
|
}
|
|
906
906
|
function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
907
907
|
const { body } = response;
|
|
@@ -1013,7 +1013,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
1013
1013
|
const request = createResourceRequest$2(resourceParams);
|
|
1014
1014
|
return luvio.dispatchResourceRequest(request, options)
|
|
1015
1015
|
.then((response) => {
|
|
1016
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () =>
|
|
1016
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
1017
|
+
const cache = new StoreKeyMap();
|
|
1018
|
+
getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
|
|
1019
|
+
return cache;
|
|
1020
|
+
});
|
|
1017
1021
|
}, (response) => {
|
|
1018
1022
|
return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
|
|
1019
1023
|
});
|
|
@@ -1181,8 +1185,7 @@ const ingest$1 = function TimelineDataGetResultRepresentationIngest(input, path,
|
|
|
1181
1185
|
}
|
|
1182
1186
|
return createLink(key);
|
|
1183
1187
|
};
|
|
1184
|
-
function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
1185
|
-
const rootKeySet = new StoreKeyMap();
|
|
1188
|
+
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
1186
1189
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1187
1190
|
const rootKey = fullPathFactory();
|
|
1188
1191
|
rootKeySet.set(rootKey, {
|
|
@@ -1190,7 +1193,6 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
|
|
|
1190
1193
|
representationName: RepresentationType$1,
|
|
1191
1194
|
mergeable: false
|
|
1192
1195
|
});
|
|
1193
|
-
return rootKeySet;
|
|
1194
1196
|
}
|
|
1195
1197
|
|
|
1196
1198
|
function select$2(luvio, params) {
|
|
@@ -1199,8 +1201,8 @@ function select$2(luvio, params) {
|
|
|
1199
1201
|
function keyBuilder$3(luvio, params) {
|
|
1200
1202
|
return keyPrefix + '::TimelineDataGetResultRepresentation:(' + 'direction:' + params.queryParams.direction + ',' + 'endDate:' + params.queryParams.endDate + ',' + 'eventTypeOffsets:' + params.queryParams.eventTypeOffsets + ',' + 'eventTypes:' + params.queryParams.eventTypes + ',' + 'startDate:' + params.queryParams.startDate + ',' + 'timelineConfigFullName:' + params.urlParams.timelineConfigFullName + ',' + 'timelineObjRecordId:' + params.urlParams.timelineObjRecordId + ')';
|
|
1201
1203
|
}
|
|
1202
|
-
function getResponseCacheKeys$1(luvio, resourceParams, response) {
|
|
1203
|
-
|
|
1204
|
+
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
1205
|
+
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
1204
1206
|
}
|
|
1205
1207
|
function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
1206
1208
|
const { body } = response;
|
|
@@ -1335,7 +1337,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
1335
1337
|
const request = createResourceRequest$1(resourceParams);
|
|
1336
1338
|
return luvio.dispatchResourceRequest(request, options)
|
|
1337
1339
|
.then((response) => {
|
|
1338
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () =>
|
|
1340
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
1341
|
+
const cache = new StoreKeyMap();
|
|
1342
|
+
getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
|
|
1343
|
+
return cache;
|
|
1344
|
+
});
|
|
1339
1345
|
}, (response) => {
|
|
1340
1346
|
return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
|
|
1341
1347
|
});
|
|
@@ -1987,8 +1993,7 @@ const ingest = function TimelineMetadataResultRepresentationIngest(input, path,
|
|
|
1987
1993
|
}
|
|
1988
1994
|
return createLink(key);
|
|
1989
1995
|
};
|
|
1990
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
1991
|
-
const rootKeySet = new StoreKeyMap();
|
|
1996
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
1992
1997
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1993
1998
|
const rootKey = fullPathFactory();
|
|
1994
1999
|
rootKeySet.set(rootKey, {
|
|
@@ -1996,7 +2001,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
1996
2001
|
representationName: RepresentationType,
|
|
1997
2002
|
mergeable: false
|
|
1998
2003
|
});
|
|
1999
|
-
return rootKeySet;
|
|
2000
2004
|
}
|
|
2001
2005
|
|
|
2002
2006
|
function select(luvio, params) {
|
|
@@ -2005,8 +2009,8 @@ function select(luvio, params) {
|
|
|
2005
2009
|
function keyBuilder$1(luvio, params) {
|
|
2006
2010
|
return keyPrefix + '::TimelineMetadataResultRepresentation:(' + 'fullNames:' + params.queryParams.fullNames + ')';
|
|
2007
2011
|
}
|
|
2008
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
2009
|
-
|
|
2012
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
2013
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
2010
2014
|
}
|
|
2011
2015
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
2012
2016
|
const { body } = response;
|
|
@@ -2121,7 +2125,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
2121
2125
|
const request = createResourceRequest(resourceParams);
|
|
2122
2126
|
return luvio.dispatchResourceRequest(request, options)
|
|
2123
2127
|
.then((response) => {
|
|
2124
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
2128
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
2129
|
+
const cache = new StoreKeyMap();
|
|
2130
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
2131
|
+
return cache;
|
|
2132
|
+
});
|
|
2125
2133
|
}, (response) => {
|
|
2126
2134
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
2127
2135
|
});
|
|
@@ -2212,4 +2220,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2212
2220
|
});
|
|
2213
2221
|
|
|
2214
2222
|
export { getDataModelObjects, getDataModelObjects_imperative, getEngagementEvents, getEngagementEvents_imperative, getTimelineData, getTimelineData_imperative, getTimelineMetadata, getTimelineMetadata_imperative };
|
|
2215
|
-
// version: 1.170.
|
|
2223
|
+
// version: 1.170.1-5fb216cf1
|