@salesforce/lds-adapters-industries-externaldocument 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 (22) hide show
  1. package/dist/es/es2018/industries-externaldocument.js +33 -25
  2. package/dist/es/es2018/types/src/generated/resources/getConnectExternalDocument.d.ts +2 -2
  3. package/dist/es/es2018/types/src/generated/resources/getConnectExternalDocumentUsers.d.ts +2 -2
  4. package/dist/es/es2018/types/src/generated/resources/postConnectExternalDocument.d.ts +2 -2
  5. package/dist/es/es2018/types/src/generated/resources/putConnectExternalDocumentSave.d.ts +2 -2
  6. package/dist/es/es2018/types/src/generated/types/ExternalDocCreationInputRepresentation.d.ts +2 -2
  7. package/dist/es/es2018/types/src/generated/types/ExternalDocCreationInputRepresentationWrapper.d.ts +2 -2
  8. package/dist/es/es2018/types/src/generated/types/ExternalDocCreationOutputRepresentation.d.ts +1 -1
  9. package/dist/es/es2018/types/src/generated/types/ExternalDocumentContentRepresentation.d.ts +2 -2
  10. package/dist/es/es2018/types/src/generated/types/ExternalDocumentMetadataRepresentation.d.ts +2 -2
  11. package/dist/es/es2018/types/src/generated/types/ExternalDocumentOutputRepresentation.d.ts +2 -2
  12. package/dist/es/es2018/types/src/generated/types/ExternalDocumentUsersListOutputRepresentation.d.ts +2 -2
  13. package/dist/es/es2018/types/src/generated/types/ExternalDocumentUsersOutputRepresentation.d.ts +2 -2
  14. package/dist/es/es2018/types/src/generated/types/ObjectReferenceRepresentation.d.ts +2 -2
  15. package/dist/es/es2018/types/src/generated/types/ParentContentRepresentation.d.ts +2 -2
  16. package/dist/es/es2018/types/src/generated/types/ReviewerMetadataRepresentation.d.ts +2 -2
  17. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentation.d.ts +2 -2
  18. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentInputRepresentationWrapper.d.ts +2 -2
  19. package/dist/es/es2018/types/src/generated/types/SaveExternalDocumentRepresentation.d.ts +1 -1
  20. package/dist/es/es2018/types/src/generated/types/UsagesRepresentation.d.ts +2 -2
  21. package/package.json +1 -1
  22. 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, 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;
@@ -146,8 +146,7 @@ const ingest$3 = function ExternalDocumentOutputRepresentationIngest(input, path
146
146
  }
147
147
  return createLink(key);
148
148
  };
149
- function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
150
- const rootKeySet = new StoreKeyMap();
149
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
151
150
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
152
151
  const rootKey = fullPathFactory();
153
152
  rootKeySet.set(rootKey, {
@@ -155,7 +154,6 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
155
154
  representationName: RepresentationType$3,
156
155
  mergeable: false
157
156
  });
158
- return rootKeySet;
159
157
  }
160
158
 
161
159
  function select$6(luvio, params) {
@@ -164,8 +162,8 @@ function select$6(luvio, params) {
164
162
  function keyBuilder$5(luvio, params) {
165
163
  return keyPrefix + '::ExternalDocumentOutputRepresentation:(' + 'externalDocumentId:' + params.queryParams.externalDocumentId + ',' + 'refObjectId:' + params.queryParams.refObjectId + ')';
166
164
  }
167
- function getResponseCacheKeys$3(luvio, resourceParams, response) {
168
- return getTypeCacheKeys$3(luvio, response, () => keyBuilder$5(luvio, resourceParams));
165
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
166
+ getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
169
167
  }
170
168
  function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
171
169
  const { body } = response;
@@ -277,7 +275,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
277
275
  const request = createResourceRequest$3(resourceParams);
278
276
  return luvio.dispatchResourceRequest(request, options)
279
277
  .then((response) => {
280
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
278
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
279
+ const cache = new StoreKeyMap();
280
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
281
+ return cache;
282
+ });
281
283
  }, (response) => {
282
284
  return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
283
285
  });
@@ -438,8 +440,7 @@ const ingest$2 = function ExternalDocCreationOutputRepresentationIngest(input, p
438
440
  }
439
441
  return createLink(key);
440
442
  };
441
- function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
442
- const rootKeySet = new StoreKeyMap();
443
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
443
444
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
444
445
  const rootKey = keyBuilderFromType$1(luvio, input);
445
446
  rootKeySet.set(rootKey, {
@@ -447,14 +448,13 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
447
448
  representationName: RepresentationType$2,
448
449
  mergeable: false
449
450
  });
450
- return rootKeySet;
451
451
  }
452
452
 
453
453
  function select$4(luvio, params) {
454
454
  return select$5();
455
455
  }
456
- function getResponseCacheKeys$2(luvio, resourceParams, response) {
457
- return getTypeCacheKeys$2(luvio, response);
456
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
457
+ getTypeCacheKeys$2(storeKeyMap, luvio, response);
458
458
  }
459
459
  function ingestSuccess$2(luvio, resourceParams, response) {
460
460
  const { body } = response;
@@ -532,7 +532,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
532
532
  return luvio.handleSuccessResponse(() => {
533
533
  const snapshot = ingestSuccess$2(luvio, resourceParams, response);
534
534
  return luvio.storeBroadcast().then(() => snapshot);
535
- }, () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
535
+ }, () => {
536
+ const cache = new StoreKeyMap();
537
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
538
+ return cache;
539
+ });
536
540
  }, (response) => {
537
541
  deepFreeze(response);
538
542
  throw response;
@@ -657,8 +661,7 @@ const ingest$1 = function SaveExternalDocumentRepresentationIngest(input, path,
657
661
  }
658
662
  return createLink(key);
659
663
  };
660
- function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
661
- const rootKeySet = new StoreKeyMap();
664
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
662
665
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
663
666
  const rootKey = keyBuilderFromType(luvio, input);
664
667
  rootKeySet.set(rootKey, {
@@ -666,14 +669,13 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
666
669
  representationName: RepresentationType$1,
667
670
  mergeable: false
668
671
  });
669
- return rootKeySet;
670
672
  }
671
673
 
672
674
  function select$2(luvio, params) {
673
675
  return select$3();
674
676
  }
675
- function getResponseCacheKeys$1(luvio, resourceParams, response) {
676
- return getTypeCacheKeys$1(luvio, response);
677
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
678
+ getTypeCacheKeys$1(storeKeyMap, luvio, response);
677
679
  }
678
680
  function ingestSuccess$1(luvio, resourceParams, response) {
679
681
  const { body } = response;
@@ -751,7 +753,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
751
753
  return luvio.handleSuccessResponse(() => {
752
754
  const snapshot = ingestSuccess$1(luvio, resourceParams, response);
753
755
  return luvio.storeBroadcast().then(() => snapshot);
754
- }, () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
756
+ }, () => {
757
+ const cache = new StoreKeyMap();
758
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
759
+ return cache;
760
+ });
755
761
  }, (response) => {
756
762
  deepFreeze(response);
757
763
  throw response;
@@ -879,8 +885,7 @@ const ingest = function ExternalDocumentUsersListOutputRepresentationIngest(inpu
879
885
  }
880
886
  return createLink(key);
881
887
  };
882
- function getTypeCacheKeys(luvio, input, fullPathFactory) {
883
- const rootKeySet = new StoreKeyMap();
888
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
884
889
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
885
890
  const rootKey = fullPathFactory();
886
891
  rootKeySet.set(rootKey, {
@@ -888,7 +893,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
888
893
  representationName: RepresentationType,
889
894
  mergeable: false
890
895
  });
891
- return rootKeySet;
892
896
  }
893
897
 
894
898
  function select(luvio, params) {
@@ -897,8 +901,8 @@ function select(luvio, params) {
897
901
  function keyBuilder$1(luvio, params) {
898
902
  return keyPrefix + '::ExternalDocumentUsersListOutputRepresentation:(' + 'externalDocumentId:' + params.queryParams.externalDocumentId + ',' + 'startsWith:' + params.queryParams.startsWith + ')';
899
903
  }
900
- function getResponseCacheKeys(luvio, resourceParams, response) {
901
- return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
904
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
905
+ getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
902
906
  }
903
907
  function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
904
908
  const { body } = response;
@@ -1010,7 +1014,11 @@ function buildNetworkSnapshot(luvio, config, options) {
1010
1014
  const request = createResourceRequest(resourceParams);
1011
1015
  return luvio.dispatchResourceRequest(request, options)
1012
1016
  .then((response) => {
1013
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => getResponseCacheKeys(luvio, resourceParams, response.body));
1017
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
1018
+ const cache = new StoreKeyMap();
1019
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
1020
+ return cache;
1021
+ });
1014
1022
  }, (response) => {
1015
1023
  return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
1016
1024
  });
@@ -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 { ExternalDocumentOutputRepresentation as types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation } from '../types/ExternalDocumentOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
@@ -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_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation): void;
13
13
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation, 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_ExternalDocumentOutputRepresentation_ExternalDocumentOutputRepresentation>): $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, 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 { ExternalDocumentUsersListOutputRepresentation as types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation } from '../types/ExternalDocumentUsersListOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  queryParams: {
@@ -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_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation): void;
13
13
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation, 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_ExternalDocumentUsersListOutputRepresentation_ExternalDocumentUsersListOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
15
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
@@ -1,5 +1,5 @@
1
1
  import { ExternalDocCreationInputRepresentation as types_ExternalDocCreationInputRepresentation_ExternalDocCreationInputRepresentation } from '../types/ExternalDocCreationInputRepresentation';
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 { ExternalDocCreationOutputRepresentation as types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation } from '../types/ExternalDocCreationOutputRepresentation';
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_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation): void;
11
11
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalDocCreationOutputRepresentation_ExternalDocCreationOutputRepresentation, any>;
12
12
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
13
  export default createResourceRequest;
@@ -1,5 +1,5 @@
1
1
  import { SaveExternalDocumentInputRepresentation as types_SaveExternalDocumentInputRepresentation_SaveExternalDocumentInputRepresentation } from '../types/SaveExternalDocumentInputRepresentation';
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 { SaveExternalDocumentRepresentation as types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation } from '../types/SaveExternalDocumentRepresentation';
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_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation): void;
11
11
  export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SaveExternalDocumentRepresentation_SaveExternalDocumentRepresentation, 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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "6ba47d706b09de36ff9da344095d67e2";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ExternalDocCreationInputRepresentation,
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ExternalDocCreationInputRepresentationNormalized, incoming: ExternalDocCreationInputRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocCreationInputRepresentation, 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: ExternalDocCreationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation to Create External Document
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, 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 { ExternalDocCreationInputRepresentation as ExternalDocCreationInputRepresentation_ExternalDocCreationInputRepresentation } from './ExternalDocCreationInputRepresentation';
3
3
  export declare const VERSION = "dc6324d79cfa102546e65a1e4f3f5af8";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -15,7 +15,7 @@ export interface DynamicSelectParams {
15
15
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
16
  export declare function equals(existing: ExternalDocCreationInputRepresentationWrapperNormalized, incoming: ExternalDocCreationInputRepresentationWrapperNormalized): boolean;
17
17
  export declare const ingest: $64$luvio_engine_ResourceIngest;
18
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocCreationInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExternalDocCreationInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
19
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
20
  /**
21
21
  * Wrapper for ExternalDocCreationInputRepresentation
@@ -16,7 +16,7 @@ export declare function normalize(input: ExternalDocCreationOutputRepresentation
16
16
  export declare const select: () => $64$luvio_engine_BaseFragment;
17
17
  export declare function equals(existing: ExternalDocCreationOutputRepresentationNormalized, incoming: ExternalDocCreationOutputRepresentationNormalized): boolean;
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocCreationOutputRepresentation, 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: ExternalDocCreationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  /**
21
21
  * Output representation for Create External Document
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "bc91506fe1d08d7ee37b8497770578c0";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ExternalDocumentContentRepresentation,
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ExternalDocumentContentRepresentationNormalized, incoming: ExternalDocumentContentRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocumentContentRepresentation, 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: ExternalDocumentContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of a external document content
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "438d06b747152d26a4653e07ef348651";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ExternalDocumentMetadataRepresentation,
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ExternalDocumentMetadataRepresentationNormalized, incoming: ExternalDocumentMetadataRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocumentMetadataRepresentation, 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: ExternalDocumentMetadataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of external document 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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "641dbe0f048b436a2f7b34ac9bf1ddd1";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ExternalDocumentOutputRepresentation, e
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ExternalDocumentOutputRepresentationNormalized, incoming: ExternalDocumentOutputRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocumentOutputRepresentation, 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: ExternalDocumentOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Output representation for External Document
13
13
  *
@@ -1,5 +1,5 @@
1
1
  import { ExternalDocumentUsersOutputRepresentation as ExternalDocumentUsersOutputRepresentation_ExternalDocumentUsersOutputRepresentation } from './ExternalDocumentUsersOutputRepresentation';
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, StoreLink as $64$luvio_engine_StoreLink, 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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
3
  export declare const TTL = 60000;
4
4
  export declare const VERSION = "2ab4b143223f447d344e1c9628013030";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -8,7 +8,7 @@ export declare function normalize(input: ExternalDocumentUsersListOutputRepresen
8
8
  export declare const select: () => $64$luvio_engine_BaseFragment;
9
9
  export declare function equals(existing: ExternalDocumentUsersListOutputRepresentationNormalized, incoming: ExternalDocumentUsersListOutputRepresentationNormalized): boolean;
10
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocumentUsersListOutputRepresentation, 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: ExternalDocumentUsersListOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
12
  /**
13
13
  * Output representation for External Document Users
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "b50aeca0d8c975e8b2532723b17470f0";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ExternalDocumentUsersOutputRepresentati
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ExternalDocumentUsersOutputRepresentationNormalized, incoming: ExternalDocumentUsersOutputRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalDocumentUsersOutputRepresentation, 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: ExternalDocumentUsersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Output representation for External Document Users
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "8681dc6c85e9b2734a747f1b9247e3ab";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ObjectReferenceRepresentation, existing
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ObjectReferenceRepresentationNormalized, incoming: ObjectReferenceRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ObjectReferenceRepresentation, 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: ObjectReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of objectReference
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "6aa9439ad0d2bd32f07e8497509355fa";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ParentContentRepresentation, existing:
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ParentContentRepresentationNormalized, incoming: ParentContentRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ParentContentRepresentation, 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: ParentContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of parent content
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "e8ada41107d0994c746ca1520ffebfc6";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: ReviewerMetadataRepresentation, existin
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: ReviewerMetadataRepresentationNormalized, incoming: ReviewerMetadataRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ReviewerMetadataRepresentation, 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: ReviewerMetadataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of a section
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "48fe9e58c122cd5e65971a98f5318aa6";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: SaveExternalDocumentInputRepresentation
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: SaveExternalDocumentInputRepresentationNormalized, incoming: SaveExternalDocumentInputRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentInputRepresentation, 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: SaveExternalDocumentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation to save external document to salesforce
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, 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 { SaveExternalDocumentInputRepresentation as SaveExternalDocumentInputRepresentation_SaveExternalDocumentInputRepresentation } from './SaveExternalDocumentInputRepresentation';
3
3
  export declare const VERSION = "488462ca73b932b3be884105b032af25";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -15,7 +15,7 @@ export interface DynamicSelectParams {
15
15
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
16
  export declare function equals(existing: SaveExternalDocumentInputRepresentationWrapperNormalized, incoming: SaveExternalDocumentInputRepresentationWrapperNormalized): boolean;
17
17
  export declare const ingest: $64$luvio_engine_ResourceIngest;
18
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
19
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
20
  /**
21
21
  * Wrapper for SaveExternalDocumentInputRepresentation
@@ -16,7 +16,7 @@ export declare function normalize(input: SaveExternalDocumentRepresentation, exi
16
16
  export declare const select: () => $64$luvio_engine_BaseFragment;
17
17
  export declare function equals(existing: SaveExternalDocumentRepresentationNormalized, incoming: SaveExternalDocumentRepresentationNormalized): boolean;
18
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SaveExternalDocumentRepresentation, 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: SaveExternalDocumentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
20
  /**
21
21
  * Output representation for Save External Document
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, BaseFragment as $64$luvio_engine_BaseFragment, 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, 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';
2
2
  export declare const TTL = 60000;
3
3
  export declare const VERSION = "169aae8dc166564a975ad1c72ccf6426";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
@@ -7,7 +7,7 @@ export declare function normalize(input: UsagesRepresentation, existing: UsagesR
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
8
  export declare function equals(existing: UsagesRepresentationNormalized, incoming: UsagesRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: UsagesRepresentation, 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: UsagesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
12
  * Input representation of usages
13
13
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-externaldocument",
3
- "version": "1.170.0",
3
+ "version": "1.170.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "This External Document API family will allow to create, edit or read the information about the document which is present in the external editor outside Salesforce. ",
6
6
  "main": "dist/es/es2018/industries-externaldocument.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;
@@ -184,8 +184,7 @@ const ingest$3 = function ExternalDocCreationOutputRepresentationIngest(input, p
184
184
  }
185
185
  return createLink(key);
186
186
  };
187
- function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
188
- const rootKeySet = new StoreKeyMap();
187
+ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
189
188
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
190
189
  const rootKey = keyBuilderFromType$1(luvio, input);
191
190
  rootKeySet.set(rootKey, {
@@ -193,14 +192,13 @@ function getTypeCacheKeys$3(luvio, input, fullPathFactory) {
193
192
  representationName: RepresentationType$3,
194
193
  mergeable: false
195
194
  });
196
- return rootKeySet;
197
195
  }
198
196
 
199
197
  function select$6(luvio, params) {
200
198
  return select$7();
201
199
  }
202
- function getResponseCacheKeys$3(luvio, resourceParams, response) {
203
- return getTypeCacheKeys$3(luvio, response);
200
+ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
201
+ getTypeCacheKeys$3(storeKeyMap, luvio, response);
204
202
  }
205
203
  function ingestSuccess$3(luvio, resourceParams, response) {
206
204
  const { body } = response;
@@ -278,7 +276,11 @@ function buildNetworkSnapshot$3(luvio, config, options) {
278
276
  return luvio.handleSuccessResponse(() => {
279
277
  const snapshot = ingestSuccess$3(luvio, resourceParams, response);
280
278
  return luvio.storeBroadcast().then(() => snapshot);
281
- }, () => getResponseCacheKeys$3(luvio, resourceParams, response.body));
279
+ }, () => {
280
+ const cache = new StoreKeyMap();
281
+ getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
282
+ return cache;
283
+ });
282
284
  }, (response) => {
283
285
  deepFreeze(response);
284
286
  throw response;
@@ -383,8 +385,7 @@ const ingest$2 = function ExternalDocumentOutputRepresentationIngest(input, path
383
385
  }
384
386
  return createLink(key);
385
387
  };
386
- function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
387
- const rootKeySet = new StoreKeyMap();
388
+ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
388
389
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
389
390
  const rootKey = fullPathFactory();
390
391
  rootKeySet.set(rootKey, {
@@ -392,7 +393,6 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
392
393
  representationName: RepresentationType$2,
393
394
  mergeable: false
394
395
  });
395
- return rootKeySet;
396
396
  }
397
397
 
398
398
  function select$4(luvio, params) {
@@ -401,8 +401,8 @@ function select$4(luvio, params) {
401
401
  function keyBuilder$4(luvio, params) {
402
402
  return keyPrefix + '::ExternalDocumentOutputRepresentation:(' + 'externalDocumentId:' + params.queryParams.externalDocumentId + ',' + 'refObjectId:' + params.queryParams.refObjectId + ')';
403
403
  }
404
- function getResponseCacheKeys$2(luvio, resourceParams, response) {
405
- return getTypeCacheKeys$2(luvio, response, () => keyBuilder$4(luvio, resourceParams));
404
+ function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
405
+ getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$4(luvio, resourceParams));
406
406
  }
407
407
  function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
408
408
  const { body } = response;
@@ -514,7 +514,11 @@ function buildNetworkSnapshot$2(luvio, config, options) {
514
514
  const request = createResourceRequest$2(resourceParams);
515
515
  return luvio.dispatchResourceRequest(request, options)
516
516
  .then((response) => {
517
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => getResponseCacheKeys$2(luvio, resourceParams, response.body));
517
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
518
+ const cache = new StoreKeyMap();
519
+ getResponseCacheKeys$2(cache, luvio, resourceParams, response.body);
520
+ return cache;
521
+ });
518
522
  }, (response) => {
519
523
  return luvio.handleErrorResponse(() => onFetchResponseError$1(luvio, config, resourceParams, response));
520
524
  });
@@ -670,8 +674,7 @@ const ingest$1 = function ExternalDocumentUsersListOutputRepresentationIngest(in
670
674
  }
671
675
  return createLink(key);
672
676
  };
673
- function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
674
- const rootKeySet = new StoreKeyMap();
677
+ function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
675
678
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
676
679
  const rootKey = fullPathFactory();
677
680
  rootKeySet.set(rootKey, {
@@ -679,7 +682,6 @@ function getTypeCacheKeys$1(luvio, input, fullPathFactory) {
679
682
  representationName: RepresentationType$1,
680
683
  mergeable: false
681
684
  });
682
- return rootKeySet;
683
685
  }
684
686
 
685
687
  function select$2(luvio, params) {
@@ -688,8 +690,8 @@ function select$2(luvio, params) {
688
690
  function keyBuilder$2(luvio, params) {
689
691
  return keyPrefix + '::ExternalDocumentUsersListOutputRepresentation:(' + 'externalDocumentId:' + params.queryParams.externalDocumentId + ',' + 'startsWith:' + params.queryParams.startsWith + ')';
690
692
  }
691
- function getResponseCacheKeys$1(luvio, resourceParams, response) {
692
- return getTypeCacheKeys$1(luvio, response, () => keyBuilder$2(luvio, resourceParams));
693
+ function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
694
+ getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$2(luvio, resourceParams));
693
695
  }
694
696
  function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
695
697
  const { body } = response;
@@ -801,7 +803,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
801
803
  const request = createResourceRequest$1(resourceParams);
802
804
  return luvio.dispatchResourceRequest(request, options)
803
805
  .then((response) => {
804
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => getResponseCacheKeys$1(luvio, resourceParams, response.body));
806
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
807
+ const cache = new StoreKeyMap();
808
+ getResponseCacheKeys$1(cache, luvio, resourceParams, response.body);
809
+ return cache;
810
+ });
805
811
  }, (response) => {
806
812
  return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
807
813
  });
@@ -954,8 +960,7 @@ const ingest = function SaveExternalDocumentRepresentationIngest(input, path, lu
954
960
  }
955
961
  return createLink(key);
956
962
  };
957
- function getTypeCacheKeys(luvio, input, fullPathFactory) {
958
- const rootKeySet = new StoreKeyMap();
963
+ function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
959
964
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
960
965
  const rootKey = keyBuilderFromType(luvio, input);
961
966
  rootKeySet.set(rootKey, {
@@ -963,14 +968,13 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
963
968
  representationName: RepresentationType,
964
969
  mergeable: false
965
970
  });
966
- return rootKeySet;
967
971
  }
968
972
 
969
973
  function select(luvio, params) {
970
974
  return select$1();
971
975
  }
972
- function getResponseCacheKeys(luvio, resourceParams, response) {
973
- return getTypeCacheKeys(luvio, response);
976
+ function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
977
+ getTypeCacheKeys(storeKeyMap, luvio, response);
974
978
  }
975
979
  function ingestSuccess(luvio, resourceParams, response) {
976
980
  const { body } = response;
@@ -1048,7 +1052,11 @@ function buildNetworkSnapshot(luvio, config, options) {
1048
1052
  return luvio.handleSuccessResponse(() => {
1049
1053
  const snapshot = ingestSuccess(luvio, resourceParams, response);
1050
1054
  return luvio.storeBroadcast().then(() => snapshot);
1051
- }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
1055
+ }, () => {
1056
+ const cache = new StoreKeyMap();
1057
+ getResponseCacheKeys(cache, luvio, resourceParams, response.body);
1058
+ return cache;
1059
+ });
1052
1060
  }, (response) => {
1053
1061
  deepFreeze(response);
1054
1062
  throw response;
@@ -1104,4 +1112,4 @@ withDefaultLuvio((luvio) => {
1104
1112
  });
1105
1113
 
1106
1114
  export { createExternalDocument, getExternalDocument, getExternalDocumentUsers, getExternalDocumentUsers_imperative, getExternalDocument_imperative, saveExternalDocument };
1107
- // version: 1.170.0-1813b78e7
1115
+ // version: 1.170.1-5fb216cf1