@salesforce/lds-adapters-cms-orchestrator 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.
Files changed (15) hide show
  1. package/dist/es/es2018/cms-orchestrator.js +37 -32
  2. package/dist/es/es2018/types/src/generated/resources/getConnectCmsContentsOrchestrationDefinitions.d.ts +2 -2
  3. package/dist/es/es2018/types/src/generated/resources/getConnectCmsContentsOrchestrationHistoryEvents.d.ts +2 -2
  4. package/dist/es/es2018/types/src/generated/resources/getConnectCmsContentsOrchestrationInstances.d.ts +2 -2
  5. package/dist/es/es2018/types/src/generated/resources/postConnectCmsContentsOrchestrationInstances.d.ts +2 -2
  6. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationDefinitionCollectionRepresentation.d.ts +2 -2
  7. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationDefinitionRepresentation.d.ts +1 -1
  8. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationInstanceCollectionRepresentation.d.ts +2 -2
  9. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationInstanceInputRepresentation.d.ts +2 -2
  10. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationInstanceInputWrapperRepresentation.d.ts +2 -2
  11. package/dist/es/es2018/types/src/generated/types/ManagedContentOrchestrationInstanceRepresentation.d.ts +1 -1
  12. package/dist/es/es2018/types/src/generated/types/ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation.d.ts +2 -2
  13. package/dist/es/es2018/types/src/generated/types/ManagedContentRunningOrchestrationHistoryEventRepresentation.d.ts +2 -2
  14. package/package.json +1 -1
  15. package/sfdc/index.js +38 -33
@@ -4,7 +4,7 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
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;
@@ -226,8 +226,7 @@ const ingest$4 = function ManagedContentOrchestrationDefinitionRepresentationIng
226
226
  }
227
227
  return createLink(key);
228
228
  };
229
- function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
230
- const rootKeySet = new StoreKeyMap();
229
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
231
230
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
232
231
  const rootKey = keyBuilderFromType$1(luvio, input);
233
232
  rootKeySet.set(rootKey, {
@@ -235,7 +234,6 @@ function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
235
234
  representationName: RepresentationType$4,
236
235
  mergeable: false
237
236
  });
238
- return rootKeySet;
239
237
  }
240
238
 
241
239
  const TTL$3 = 3600000;
@@ -436,8 +434,7 @@ const ingest$3 = function ManagedContentOrchestrationDefinitionCollectionReprese
436
434
  }
437
435
  return createLink(key);
438
436
  };
439
- function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
440
- const rootKeySet = new StoreKeyMap();
437
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
441
438
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
442
439
  const rootKey = fullPathFactory();
443
440
  rootKeySet.set(rootKey, {
@@ -447,9 +444,8 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
447
444
  });
448
445
  const input_orchestrationDefinitions_length = input.orchestrationDefinitions.length;
449
446
  for (let i = 0; i < input_orchestrationDefinitions_length; i++) {
450
- rootKeySet.merge(getTypeCacheKeys$4(luvio, input.orchestrationDefinitions[i]));
447
+ getTypeCacheKeys$4(rootKeySet, luvio, input.orchestrationDefinitions[i]);
451
448
  }
452
- return rootKeySet;
453
449
  }
454
450
 
455
451
  function select$7(luvio, params) {
@@ -458,8 +454,8 @@ function select$7(luvio, params) {
458
454
  function keyBuilder$6(luvio, params) {
459
455
  return keyPrefix + '::ManagedContentOrchestrationDefinitionCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
460
456
  }
461
- function getResponseCacheKeys$3(luvio, resourceParams, response) {
462
- return getTypeCacheKeys$3(luvio, response, () => keyBuilder$6(luvio, resourceParams));
457
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
458
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$6(luvio, resourceParams));
463
459
  }
464
460
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
465
461
  const { body } = response;
@@ -575,7 +571,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
575
571
  const request = createResourceRequest$3(resourceParams);
576
572
  return luvio.dispatchResourceRequest(request, options)
577
573
  .then((response) => {
578
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
574
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
575
+ const cache = new StoreKeyMap();
576
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
577
+ return cache;
578
+ });
579
579
  }, (response) => {
580
580
  return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
581
581
  });
@@ -740,8 +740,7 @@ const ingest$2 = function ManagedContentOrchestrationInstanceRepresentationInges
740
740
  }
741
741
  return createLink(key);
742
742
  };
743
- function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
744
- const rootKeySet = new StoreKeyMap();
743
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
745
744
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
746
745
  const rootKey = keyBuilderFromType(luvio, input);
747
746
  rootKeySet.set(rootKey, {
@@ -749,9 +748,7 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
749
748
  representationName: RepresentationType$2,
750
749
  mergeable: false
751
750
  });
752
- const input_orchestrationDefinition = getTypeCacheKeys$4(luvio, input.orchestrationDefinition);
753
- rootKeySet.merge(input_orchestrationDefinition);
754
- return rootKeySet;
751
+ getTypeCacheKeys$4(rootKeySet, luvio, input.orchestrationDefinition);
755
752
  }
756
753
 
757
754
  const TTL$1 = 100;
@@ -854,8 +851,7 @@ const ingest$1 = function ManagedContentOrchestrationInstanceCollectionRepresent
854
851
  }
855
852
  return createLink(key);
856
853
  };
857
- function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
858
- const rootKeySet = new StoreKeyMap();
854
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
859
855
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
860
856
  const rootKey = fullPathFactory();
861
857
  rootKeySet.set(rootKey, {
@@ -865,9 +861,8 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
865
861
  });
866
862
  const input_orchestrationInstances_length = input.orchestrationInstances.length;
867
863
  for (let i = 0; i < input_orchestrationInstances_length; i++) {
868
- rootKeySet.merge(getTypeCacheKeys$2(luvio, input.orchestrationInstances[i]));
864
+ getTypeCacheKeys$2(rootKeySet, luvio, input.orchestrationInstances[i]);
869
865
  }
870
- return rootKeySet;
871
866
  }
872
867
 
873
868
  function select$4(luvio, params) {
@@ -876,8 +871,8 @@ function select$4(luvio, params) {
876
871
  function keyBuilder$3(luvio, params) {
877
872
  return keyPrefix + '::ManagedContentOrchestrationInstanceCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ')';
878
873
  }
879
- function getResponseCacheKeys$2(luvio, resourceParams, response) {
880
- return getTypeCacheKeys$1(luvio, response, () => keyBuilder$3(luvio, resourceParams));
874
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
875
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
881
876
  }
882
877
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
883
878
  const { body } = response;
@@ -985,7 +980,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
985
980
  const request = createResourceRequest$2(resourceParams);
986
981
  return luvio.dispatchResourceRequest(request, options)
987
982
  .then((response) => {
988
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
983
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
984
+ const cache = new StoreKeyMap();
985
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
986
+ return cache;
987
+ });
989
988
  }, (response) => {
990
989
  return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
991
990
  });
@@ -1052,8 +1051,8 @@ function validate$2(obj, path = 'ManagedContentOrchestrationInstanceInputReprese
1052
1051
  function select$3(luvio, params) {
1053
1052
  return select$6();
1054
1053
  }
1055
- function getResponseCacheKeys$1(luvio, resourceParams, response) {
1056
- return getTypeCacheKeys$2(luvio, response);
1054
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1055
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
1057
1056
  }
1058
1057
  function ingestSuccess$1(luvio, resourceParams, response) {
1059
1058
  const { body } = response;
@@ -1131,7 +1130,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1131
1130
  return luvio.handleSuccessResponse(() => {
1132
1131
  const snapshot = ingestSuccess$1(luvio, resourceParams, response);
1133
1132
  return luvio.storeBroadcast().then(() => snapshot);
1134
- }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
1133
+ }, () => {
1134
+ const cache = new StoreKeyMap();
1135
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1136
+ return cache;
1137
+ });
1135
1138
  }, (response) => {
1136
1139
  deepFreeze(response);
1137
1140
  throw response;
@@ -1615,8 +1618,7 @@ const ingest = function ManagedContentRunningOrchestrationHistoryEventCollection
1615
1618
  }
1616
1619
  return createLink(key);
1617
1620
  };
1618
- function getTypeCacheKeys(luvio, input, fullPathFactory) {
1619
- const rootKeySet = new StoreKeyMap();
1621
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
1620
1622
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1621
1623
  const rootKey = fullPathFactory();
1622
1624
  rootKeySet.set(rootKey, {
@@ -1624,7 +1626,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
1624
1626
  representationName: RepresentationType,
1625
1627
  mergeable: false
1626
1628
  });
1627
- return rootKeySet;
1628
1629
  }
1629
1630
 
1630
1631
  function select(luvio, params) {
@@ -1633,8 +1634,8 @@ function select(luvio, params) {
1633
1634
  function keyBuilder$1(luvio, params) {
1634
1635
  return keyPrefix + '::ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ')';
1635
1636
  }
1636
- function getResponseCacheKeys(luvio, resourceParams, response) {
1637
- return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
1637
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
1638
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
1638
1639
  }
1639
1640
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
1640
1641
  const { body } = response;
@@ -1742,7 +1743,11 @@ function buildNetworkSnapshot(luvio, config, options) {
1742
1743
  const request = createResourceRequest(resourceParams);
1743
1744
  return luvio.dispatchResourceRequest(request, options)
1744
1745
  .then((response) => {
1745
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => getResponseCacheKeys(luvio, resourceParams, response.body));
1746
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1747
+ const cache = new StoreKeyMap();
1748
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
1749
+ return cache;
1750
+ });
1746
1751
  }, (response) => {
1747
1752
  return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
1748
1753
  });
@@ -1,4 +1,4 @@
1
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
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 { ManagedContentOrchestrationDefinitionCollectionRepresentation as types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation } from '../types/ManagedContentOrchestrationDefinitionCollectionRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
10
10
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
11
11
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
12
12
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
13
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation): void;
14
14
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation, any>;
15
15
  export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ManagedContentOrchestrationDefinitionCollectionRepresentation_ManagedContentOrchestrationDefinitionCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
16
16
  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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
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 { ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation as types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation } from '../types/ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation';
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_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation): void;
12
12
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation, 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_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation_ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation>): $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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
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 { ManagedContentOrchestrationInstanceCollectionRepresentation as types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation } from '../types/ManagedContentOrchestrationInstanceCollectionRepresentation';
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_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation): void;
12
12
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation, 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_ManagedContentOrchestrationInstanceCollectionRepresentation_ManagedContentOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
14
14
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
@@ -1,5 +1,5 @@
1
1
  import { ManagedContentOrchestrationInstanceInputRepresentation as types_ManagedContentOrchestrationInstanceInputRepresentation_ManagedContentOrchestrationInstanceInputRepresentation } from '../types/ManagedContentOrchestrationInstanceInputRepresentation';
2
- import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
3
3
  import { ManagedContentOrchestrationInstanceRepresentation as types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation } from '../types/ManagedContentOrchestrationInstanceRepresentation';
4
4
  export interface ResourceRequestConfig {
5
5
  body: {
@@ -7,7 +7,7 @@ export interface ResourceRequestConfig {
7
7
  };
8
8
  }
9
9
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
- export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation): void;
11
11
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation, any>;
12
12
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
13
  export default createResourceRequest;
@@ -1,4 +1,4 @@
1
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  import { ManagedContentOrchestrationDefinitionRepresentation as ManagedContentOrchestrationDefinitionRepresentation_ManagedContentOrchestrationDefinitionRepresentation } from './ManagedContentOrchestrationDefinitionRepresentation';
3
3
  export declare const TTL = 3600000;
4
4
  export declare const VERSION = "d2a7fad15081fd4cd737c942d3e7e5a7";
@@ -16,7 +16,7 @@ export interface DynamicSelectParams {
16
16
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: ManagedContentOrchestrationDefinitionCollectionRepresentationNormalized, incoming: ManagedContentOrchestrationDefinitionCollectionRepresentationNormalized): boolean;
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationDefinitionCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationDefinitionCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
21
21
  /**
22
22
  * Managed content orchestration definition collection representation.
@@ -16,7 +16,7 @@ export declare function normalize(input: ManagedContentOrchestrationDefinitionRe
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: ManagedContentOrchestrationDefinitionRepresentationNormalized, incoming: ManagedContentOrchestrationDefinitionRepresentationNormalized): boolean;
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  /**
21
21
  * Managed content orchestration definition representation.
22
22
  *
@@ -1,4 +1,4 @@
1
- import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
2
  import { ManagedContentOrchestrationInstanceRepresentation as ManagedContentOrchestrationInstanceRepresentation_ManagedContentOrchestrationInstanceRepresentation } from './ManagedContentOrchestrationInstanceRepresentation';
3
3
  export declare const TTL = 100;
4
4
  export declare const VERSION = "f9f67586e8cd826574cc122b14ced0e8";
@@ -16,7 +16,7 @@ export interface DynamicSelectParams {
16
16
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: ManagedContentOrchestrationInstanceCollectionRepresentationNormalized, incoming: ManagedContentOrchestrationInstanceCollectionRepresentationNormalized): boolean;
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
21
21
  /**
22
22
  * Managed content orchestration instance collection representation.
@@ -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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
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 = "32bd9e20c9fd89ee3154eb89480cb9d5";
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: ManagedContentOrchestrationInstanceInpu
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: ManagedContentOrchestrationInstanceInputRepresentationNormalized, incoming: ManagedContentOrchestrationInstanceInputRepresentationNormalized): boolean;
8
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
9
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
10
  /**
11
11
  * Input representation for Managed Content Orchestration Instance.
12
12
  *
@@ -1,5 +1,5 @@
1
1
  import { ManagedContentOrchestrationInstanceInputRepresentation as ManagedContentOrchestrationInstanceInputRepresentation_ManagedContentOrchestrationInstanceInputRepresentation } from './ManagedContentOrchestrationInstanceInputRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
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 = "905a112b2d609cd9e2f3dc69f4a522cc";
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: ManagedContentOrchestrationInstanceInpu
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ManagedContentOrchestrationInstanceInputWrapperRepresentationNormalized, incoming: ManagedContentOrchestrationInstanceInputWrapperRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Wrapper around input representation for Managed Content Orchestration Instance.
13
13
  *
@@ -25,7 +25,7 @@ export interface DynamicSelectParams {
25
25
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
26
26
  export declare function equals(existing: ManagedContentOrchestrationInstanceRepresentationNormalized, incoming: ManagedContentOrchestrationInstanceRepresentationNormalized): boolean;
27
27
  export declare const ingest: $64$luvio_engine_ResourceIngest;
28
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
28
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentOrchestrationInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
29
29
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
30
30
  /**
31
31
  * Managed content orchestration instance representation.
@@ -1,5 +1,5 @@
1
1
  import { ManagedContentRunningOrchestrationHistoryEventRepresentation as ManagedContentRunningOrchestrationHistoryEventRepresentation_ManagedContentRunningOrchestrationHistoryEventRepresentation } from './ManagedContentRunningOrchestrationHistoryEventRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
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 TTL = 100;
4
4
  export declare const VERSION = "8d2b53591bb32ebdac40a28e64c15c48";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -8,7 +8,7 @@ export declare function normalize(input: ManagedContentRunningOrchestrationHisto
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: ManagedContentRunningOrchestrationHistoryEventCollectionRepresentationNormalized, incoming: ManagedContentRunningOrchestrationHistoryEventCollectionRepresentationNormalized): boolean;
10
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
12
  /**
13
13
  * Managed content running orchestration history event collection representation.
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
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 TTL = 1000;
3
3
  export declare const VERSION = "5044bf9d6a7c23eadc7dcfa5d49edeca";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ManagedContentRunningOrchestrationHisto
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ManagedContentRunningOrchestrationHistoryEventRepresentationNormalized, incoming: ManagedContentRunningOrchestrationHistoryEventRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManagedContentRunningOrchestrationHistoryEventRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentRunningOrchestrationHistoryEventRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Managed content running orchestration history event representation.
13
13
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cms-orchestrator",
3
- "version": "1.170.0",
3
+ "version": "1.170.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Integration between CMS and Flow Orchestrator.",
6
6
  "main": "dist/es/es2018/cms-orchestrator.js",
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, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
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;
@@ -255,8 +255,7 @@ const ingest$4 = function ManagedContentOrchestrationDefinitionRepresentationIng
255
255
  }
256
256
  return createLink(key);
257
257
  };
258
- function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
259
- const rootKeySet = new StoreKeyMap();
258
+ function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
260
259
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
261
260
  const rootKey = keyBuilderFromType$1(luvio, input);
262
261
  rootKeySet.set(rootKey, {
@@ -264,7 +263,6 @@ function getTypeCacheKeys$4(luvio, input, fullPathFactory) {
264
263
  representationName: RepresentationType$4,
265
264
  mergeable: false
266
265
  });
267
- return rootKeySet;
268
266
  }
269
267
 
270
268
  const TTL$3 = 100;
@@ -387,8 +385,7 @@ const ingest$3 = function ManagedContentOrchestrationInstanceRepresentationInges
387
385
  }
388
386
  return createLink(key);
389
387
  };
390
- function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
391
- const rootKeySet = new StoreKeyMap();
388
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
392
389
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
393
390
  const rootKey = keyBuilderFromType(luvio, input);
394
391
  rootKeySet.set(rootKey, {
@@ -396,16 +393,14 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
396
393
  representationName: RepresentationType$3,
397
394
  mergeable: false
398
395
  });
399
- const input_orchestrationDefinition = getTypeCacheKeys$4(luvio, input.orchestrationDefinition);
400
- rootKeySet.merge(input_orchestrationDefinition);
401
- return rootKeySet;
396
+ getTypeCacheKeys$4(rootKeySet, luvio, input.orchestrationDefinition);
402
397
  }
403
398
 
404
399
  function select$7(luvio, params) {
405
400
  return select$8();
406
401
  }
407
- function getResponseCacheKeys$3(luvio, resourceParams, response) {
408
- return getTypeCacheKeys$3(luvio, response);
402
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
403
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
409
404
  }
410
405
  function ingestSuccess$3(luvio, resourceParams, response) {
411
406
  const { body } = response;
@@ -483,7 +478,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
483
478
  return luvio.handleSuccessResponse(() => {
484
479
  const snapshot = ingestSuccess$3(luvio, resourceParams, response);
485
480
  return luvio.storeBroadcast().then(() => snapshot);
486
- }, () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
481
+ }, () => {
482
+ const cache = new StoreKeyMap();
483
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
484
+ return cache;
485
+ });
487
486
  }, (response) => {
488
487
  deepFreeze(response);
489
488
  throw response;
@@ -698,8 +697,7 @@ const ingest$2 = function ManagedContentOrchestrationDefinitionCollectionReprese
698
697
  }
699
698
  return createLink(key);
700
699
  };
701
- function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
702
- const rootKeySet = new StoreKeyMap();
700
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
703
701
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
704
702
  const rootKey = fullPathFactory();
705
703
  rootKeySet.set(rootKey, {
@@ -709,9 +707,8 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
709
707
  });
710
708
  const input_orchestrationDefinitions_length = input.orchestrationDefinitions.length;
711
709
  for (let i = 0; i < input_orchestrationDefinitions_length; i++) {
712
- rootKeySet.merge(getTypeCacheKeys$4(luvio, input.orchestrationDefinitions[i]));
710
+ getTypeCacheKeys$4(rootKeySet, luvio, input.orchestrationDefinitions[i]);
713
711
  }
714
- return rootKeySet;
715
712
  }
716
713
 
717
714
  function select$5(luvio, params) {
@@ -720,8 +717,8 @@ function select$5(luvio, params) {
720
717
  function keyBuilder$5(luvio, params) {
721
718
  return keyPrefix + '::ManagedContentOrchestrationDefinitionCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
722
719
  }
723
- function getResponseCacheKeys$2(luvio, resourceParams, response) {
724
- return getTypeCacheKeys$2(luvio, response, () => keyBuilder$5(luvio, resourceParams));
720
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
721
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
725
722
  }
726
723
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
727
724
  const { body } = response;
@@ -837,7 +834,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
837
834
  const request = createResourceRequest$2(resourceParams);
838
835
  return luvio.dispatchResourceRequest(request, options)
839
836
  .then((response) => {
840
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
837
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
838
+ const cache = new StoreKeyMap();
839
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
840
+ return cache;
841
+ });
841
842
  }, (response) => {
842
843
  return luvio.handleErrorResponse(() => onFetchResponseError$2(luvio, config, resourceParams, response));
843
844
  });
@@ -982,8 +983,7 @@ const ingest$1 = function ManagedContentOrchestrationInstanceCollectionRepresent
982
983
  }
983
984
  return createLink(key);
984
985
  };
985
- function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
986
- const rootKeySet = new StoreKeyMap();
986
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
987
987
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
988
988
  const rootKey = fullPathFactory();
989
989
  rootKeySet.set(rootKey, {
@@ -993,9 +993,8 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
993
993
  });
994
994
  const input_orchestrationInstances_length = input.orchestrationInstances.length;
995
995
  for (let i = 0; i < input_orchestrationInstances_length; i++) {
996
- rootKeySet.merge(getTypeCacheKeys$3(luvio, input.orchestrationInstances[i]));
996
+ getTypeCacheKeys$3(rootKeySet, luvio, input.orchestrationInstances[i]);
997
997
  }
998
- return rootKeySet;
999
998
  }
1000
999
 
1001
1000
  function select$3(luvio, params) {
@@ -1004,8 +1003,8 @@ function select$3(luvio, params) {
1004
1003
  function keyBuilder$3(luvio, params) {
1005
1004
  return keyPrefix + '::ManagedContentOrchestrationInstanceCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ')';
1006
1005
  }
1007
- function getResponseCacheKeys$1(luvio, resourceParams, response) {
1008
- return getTypeCacheKeys$1(luvio, response, () => keyBuilder$3(luvio, resourceParams));
1006
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
1007
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
1009
1008
  }
1010
1009
  function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
1011
1010
  const { body } = response;
@@ -1113,7 +1112,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
1113
1112
  const request = createResourceRequest$1(resourceParams);
1114
1113
  return luvio.dispatchResourceRequest(request, options)
1115
1114
  .then((response) => {
1116
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
1115
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
1116
+ const cache = new StoreKeyMap();
1117
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
1118
+ return cache;
1119
+ });
1117
1120
  }, (response) => {
1118
1121
  return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
1119
1122
  });
@@ -1625,8 +1628,7 @@ const ingest = function ManagedContentRunningOrchestrationHistoryEventCollection
1625
1628
  }
1626
1629
  return createLink(key);
1627
1630
  };
1628
- function getTypeCacheKeys(luvio, input, fullPathFactory) {
1629
- const rootKeySet = new StoreKeyMap();
1631
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
1630
1632
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1631
1633
  const rootKey = fullPathFactory();
1632
1634
  rootKeySet.set(rootKey, {
@@ -1634,7 +1636,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
1634
1636
  representationName: RepresentationType,
1635
1637
  mergeable: false
1636
1638
  });
1637
- return rootKeySet;
1638
1639
  }
1639
1640
 
1640
1641
  function select(luvio, params) {
@@ -1643,8 +1644,8 @@ function select(luvio, params) {
1643
1644
  function keyBuilder$1(luvio, params) {
1644
1645
  return keyPrefix + '::ManagedContentRunningOrchestrationHistoryEventCollectionRepresentation:(' + 'managedContentVariantId:' + params.queryParams.managedContentVariantId + ')';
1645
1646
  }
1646
- function getResponseCacheKeys(luvio, resourceParams, response) {
1647
- return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
1647
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
1648
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
1648
1649
  }
1649
1650
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
1650
1651
  const { body } = response;
@@ -1752,7 +1753,11 @@ function buildNetworkSnapshot(luvio, config, options) {
1752
1753
  const request = createResourceRequest(resourceParams);
1753
1754
  return luvio.dispatchResourceRequest(request, options)
1754
1755
  .then((response) => {
1755
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => getResponseCacheKeys(luvio, resourceParams, response.body));
1756
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1757
+ const cache = new StoreKeyMap();
1758
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
1759
+ return cache;
1760
+ });
1756
1761
  }, (response) => {
1757
1762
  return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
1758
1763
  });
@@ -1841,4 +1846,4 @@ withDefaultLuvio((luvio) => {
1841
1846
  });
1842
1847
 
1843
1848
  export { createManagedContentOrchestrationInstance, getManagedContentOrchestrationDefinitions, getManagedContentOrchestrationDefinitions_imperative, getManagedContentOrchestrationInstances, getManagedContentOrchestrationInstances_imperative, getManagedContentRunningOrchestrationHistoryEvents, getManagedContentRunningOrchestrationHistoryEvents_imperative };
1844
- // version: 1.170.0-1813b78e7
1849
+ // version: 1.170.1-5fb216cf1