@salesforce/lds-adapters-uiapi 1.443.0 → 1.445.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/util/dml-request-context.d.ts +10 -0
- package/dist/es/es2018/types/src/wire/createRecord/configurationTypes.d.ts +2 -2
- package/dist/es/es2018/types/src/wire/createRecord/index.d.ts +3 -3
- package/dist/es/es2018/types/src/wire/deleteRecord/configurationTypes.d.ts +2 -2
- package/dist/es/es2018/types/src/wire/deleteRecord/index.d.ts +4 -2
- package/dist/es/es2018/types/src/wire/performQuickAction/configurationTypes.d.ts +2 -2
- package/dist/es/es2018/types/src/wire/performQuickAction/index.d.ts +4 -2
- package/dist/es/es2018/types/src/wire/performUpdateRecordQuickAction/configurationTypes.d.ts +2 -2
- package/dist/es/es2018/types/src/wire/performUpdateRecordQuickAction/index.d.ts +4 -2
- package/dist/es/es2018/types/src/wire/updateLayoutUserState/index.d.ts +2 -2
- package/dist/es/es2018/types/src/wire/updateRecordAvatar/index.d.ts +4 -2
- package/dist/es/es2018/uiapi-records-service.js +410 -383
- package/package.json +8 -8
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +386 -359
- package/sfdc/uiapi-static-functions.js +1 -1
package/sfdc/index.js
CHANGED
|
@@ -3861,7 +3861,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
|
|
|
3861
3861
|
};
|
|
3862
3862
|
}
|
|
3863
3863
|
else {
|
|
3864
|
-
buildNetworkSnapshot$
|
|
3864
|
+
buildNetworkSnapshot$1a(luvio, {
|
|
3865
3865
|
recordId: incoming.id,
|
|
3866
3866
|
optionalFields: convertTrieToFields(incomingTrackedFieldsTrieRoot),
|
|
3867
3867
|
});
|
|
@@ -4345,7 +4345,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
|
4345
4345
|
function buildSnapshotRefresh$5(luvio, config) {
|
|
4346
4346
|
return {
|
|
4347
4347
|
config,
|
|
4348
|
-
resolve: () => buildNetworkSnapshot$
|
|
4348
|
+
resolve: () => buildNetworkSnapshot$1a(luvio, config),
|
|
4349
4349
|
};
|
|
4350
4350
|
}
|
|
4351
4351
|
function prepareRequest$7(luvio, config) {
|
|
@@ -4390,7 +4390,7 @@ function onResourceError(luvio, config, key, err) {
|
|
|
4390
4390
|
const errorSnapshot = ingestError$M(luvio, config, key, err);
|
|
4391
4391
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
4392
4392
|
}
|
|
4393
|
-
function buildNetworkSnapshot$
|
|
4393
|
+
function buildNetworkSnapshot$1a(luvio, config, serverRequestCount = 0, options) {
|
|
4394
4394
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$7(luvio, config);
|
|
4395
4395
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
4396
4396
|
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
@@ -4447,7 +4447,7 @@ function buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext
|
|
|
4447
4447
|
priority: networkPriority,
|
|
4448
4448
|
};
|
|
4449
4449
|
}
|
|
4450
|
-
return buildNetworkSnapshot$
|
|
4450
|
+
return buildNetworkSnapshot$1a(luvio, config, 0, dispatchOptions);
|
|
4451
4451
|
}
|
|
4452
4452
|
function getRecordByFields(luvio, config, requestContext) {
|
|
4453
4453
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$Q, buildNetworkSnapshotCachePolicy$R);
|
|
@@ -4810,7 +4810,7 @@ function onFetchResponseSuccess$N(luvio, config, resourceParams, response, serve
|
|
|
4810
4810
|
},
|
|
4811
4811
|
refresh: {
|
|
4812
4812
|
config,
|
|
4813
|
-
resolve: () => buildNetworkSnapshot$
|
|
4813
|
+
resolve: () => buildNetworkSnapshot$19(luvio, config, serverRequestCount, snapshotRefreshOptions),
|
|
4814
4814
|
},
|
|
4815
4815
|
variables: {},
|
|
4816
4816
|
};
|
|
@@ -4820,11 +4820,11 @@ function onFetchResponseSuccess$N(luvio, config, resourceParams, response, serve
|
|
|
4820
4820
|
function onFetchResponseError$O(luvio, config, resourceParams, response) {
|
|
4821
4821
|
const snapshot = ingestError$L(luvio, resourceParams, response, {
|
|
4822
4822
|
config,
|
|
4823
|
-
resolve: () => buildNetworkSnapshot$
|
|
4823
|
+
resolve: () => buildNetworkSnapshot$19(luvio, config, 0, snapshotRefreshOptions),
|
|
4824
4824
|
});
|
|
4825
4825
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
4826
4826
|
}
|
|
4827
|
-
function buildNetworkSnapshot$
|
|
4827
|
+
function buildNetworkSnapshot$19(luvio, config, serverRequestCount = 0, options) {
|
|
4828
4828
|
const resourceParams = createResourceParams$11(config);
|
|
4829
4829
|
const request = createResourceRequest$1b(resourceParams);
|
|
4830
4830
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -4851,7 +4851,7 @@ function resolveConflict(luvio, map) {
|
|
|
4851
4851
|
recordId,
|
|
4852
4852
|
optionalFields: convertTrieToFields(map.conflicts[recordId].trackedFields),
|
|
4853
4853
|
};
|
|
4854
|
-
buildNetworkSnapshot$
|
|
4854
|
+
buildNetworkSnapshot$1a(luvio, config, map.serverRequestCount);
|
|
4855
4855
|
}
|
|
4856
4856
|
else {
|
|
4857
4857
|
const records = reduce.call(ids, (acc, id) => {
|
|
@@ -4863,7 +4863,7 @@ function resolveConflict(luvio, map) {
|
|
|
4863
4863
|
return acc;
|
|
4864
4864
|
}, []);
|
|
4865
4865
|
const config = { records };
|
|
4866
|
-
buildNetworkSnapshot$
|
|
4866
|
+
buildNetworkSnapshot$19(luvio, config, map.serverRequestCount);
|
|
4867
4867
|
}
|
|
4868
4868
|
}
|
|
4869
4869
|
|
|
@@ -7849,14 +7849,14 @@ function adapterFragment$I(luvio, config) {
|
|
|
7849
7849
|
function onFetchResponseSuccess$M(luvio, config, resourceParams, response) {
|
|
7850
7850
|
const snapshot = ingestSuccess$Q(luvio, resourceParams, response, {
|
|
7851
7851
|
config,
|
|
7852
|
-
resolve: () => buildNetworkSnapshot$
|
|
7852
|
+
resolve: () => buildNetworkSnapshot$18(luvio, config, snapshotRefreshOptions)
|
|
7853
7853
|
});
|
|
7854
7854
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
7855
7855
|
}
|
|
7856
7856
|
function onFetchResponseError$N(luvio, config, resourceParams, response) {
|
|
7857
7857
|
const snapshot = ingestError$J(luvio, resourceParams, response, {
|
|
7858
7858
|
config,
|
|
7859
|
-
resolve: () => buildNetworkSnapshot$
|
|
7859
|
+
resolve: () => buildNetworkSnapshot$18(luvio, config, snapshotRefreshOptions)
|
|
7860
7860
|
});
|
|
7861
7861
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
7862
7862
|
}
|
|
@@ -7935,7 +7935,7 @@ function getPaginationMetadata$3(luvio, resourceParams) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
return node.data.__metadata;
|
|
7937
7937
|
}
|
|
7938
|
-
function buildNetworkSnapshot$
|
|
7938
|
+
function buildNetworkSnapshot$18(luvio, config, options, cacheSnapshot) {
|
|
7939
7939
|
const resourceParams = createResourceParams$_(config);
|
|
7940
7940
|
const request = prepareRequest$6(luvio, config, resourceParams, cacheSnapshot);
|
|
7941
7941
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -7950,7 +7950,7 @@ function buildNetworkSnapshot$14(luvio, config, options, cacheSnapshot) {
|
|
|
7950
7950
|
});
|
|
7951
7951
|
}
|
|
7952
7952
|
function buildNetworkSnapshotCachePolicy$Q(context, coercedAdapterRequestContext) {
|
|
7953
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
7953
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$18, undefined, true);
|
|
7954
7954
|
}
|
|
7955
7955
|
function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
7956
7956
|
const { luvio, config } = context;
|
|
@@ -7961,7 +7961,7 @@ function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
|
7961
7961
|
};
|
|
7962
7962
|
const cacheSnapshot = storeLookup(selector, {
|
|
7963
7963
|
config,
|
|
7964
|
-
resolve: () => buildNetworkSnapshot$
|
|
7964
|
+
resolve: () => buildNetworkSnapshot$18(luvio, config, snapshotRefreshOptions)
|
|
7965
7965
|
});
|
|
7966
7966
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
7967
7967
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -9893,18 +9893,18 @@ function adapterFragment$H(luvio, config) {
|
|
|
9893
9893
|
function onFetchResponseSuccess$L(luvio, config, resourceParams, response) {
|
|
9894
9894
|
const snapshot = ingestSuccess$P(luvio, resourceParams, response, {
|
|
9895
9895
|
config,
|
|
9896
|
-
resolve: () => buildNetworkSnapshot$
|
|
9896
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
9897
9897
|
});
|
|
9898
9898
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
9899
9899
|
}
|
|
9900
9900
|
function onFetchResponseError$M(luvio, config, resourceParams, response) {
|
|
9901
9901
|
const snapshot = ingestError$I(luvio, resourceParams, response, {
|
|
9902
9902
|
config,
|
|
9903
|
-
resolve: () => buildNetworkSnapshot$
|
|
9903
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
9904
9904
|
});
|
|
9905
9905
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
9906
9906
|
}
|
|
9907
|
-
function buildNetworkSnapshot$
|
|
9907
|
+
function buildNetworkSnapshot$17(luvio, config, options) {
|
|
9908
9908
|
const resourceParams = createResourceParams$Y(config);
|
|
9909
9909
|
const request = createResourceRequest$13(resourceParams);
|
|
9910
9910
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -9919,7 +9919,7 @@ function buildNetworkSnapshot$13(luvio, config, options) {
|
|
|
9919
9919
|
});
|
|
9920
9920
|
}
|
|
9921
9921
|
function buildNetworkSnapshotCachePolicy$P(context, coercedAdapterRequestContext) {
|
|
9922
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
9922
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$17, undefined, false);
|
|
9923
9923
|
}
|
|
9924
9924
|
function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
9925
9925
|
const { luvio, config } = context;
|
|
@@ -9930,7 +9930,7 @@ function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
|
9930
9930
|
};
|
|
9931
9931
|
const cacheSnapshot = storeLookup(selector, {
|
|
9932
9932
|
config,
|
|
9933
|
-
resolve: () => buildNetworkSnapshot$
|
|
9933
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
9934
9934
|
});
|
|
9935
9935
|
return cacheSnapshot;
|
|
9936
9936
|
}
|
|
@@ -11216,7 +11216,7 @@ function keyBuilder$1T(recordIds, layoutTypes, modes, optionalFields) {
|
|
|
11216
11216
|
function buildSnapshotRefresh$4(luvio, config) {
|
|
11217
11217
|
return {
|
|
11218
11218
|
config,
|
|
11219
|
-
resolve: () => buildNetworkSnapshot$
|
|
11219
|
+
resolve: () => buildNetworkSnapshot$16(luvio, config),
|
|
11220
11220
|
};
|
|
11221
11221
|
}
|
|
11222
11222
|
function markRecordUiNulledOutLookupFields(recordLookupFields, recordNodes) {
|
|
@@ -11370,7 +11370,7 @@ function onFetchResponseError$L(luvio, config, selectorKey, key, err) {
|
|
|
11370
11370
|
return errorSnapshot;
|
|
11371
11371
|
});
|
|
11372
11372
|
}
|
|
11373
|
-
function buildNetworkSnapshot$
|
|
11373
|
+
function buildNetworkSnapshot$16(luvio, config, dispatchContext) {
|
|
11374
11374
|
const { key, resourceRequest, selectorKey } = prepareRequest$5(luvio, config);
|
|
11375
11375
|
return luvio
|
|
11376
11376
|
.dispatchResourceRequest(resourceRequest, dispatchContext)
|
|
@@ -11438,7 +11438,7 @@ function buildNetworkRecordUiRepresentationSnapshot(context, coercedAdapterReque
|
|
|
11438
11438
|
priority: networkPriority,
|
|
11439
11439
|
};
|
|
11440
11440
|
}
|
|
11441
|
-
return buildNetworkSnapshot$
|
|
11441
|
+
return buildNetworkSnapshot$16(context.luvio, context.config, dispatchOptions);
|
|
11442
11442
|
}
|
|
11443
11443
|
function coerceConfigWithDefaults$3(untrustedConfig) {
|
|
11444
11444
|
const config = validateAdapterConfig$12(untrustedConfig, GET_RECORDUI_ADAPTER_CONFIG);
|
|
@@ -11505,7 +11505,7 @@ function refresh$1(luvio, config) {
|
|
|
11505
11505
|
modes,
|
|
11506
11506
|
optionalFields,
|
|
11507
11507
|
};
|
|
11508
|
-
return buildNetworkSnapshot$
|
|
11508
|
+
return buildNetworkSnapshot$16(luvio, recordUiConfig).then((snapshot) => {
|
|
11509
11509
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
11510
11510
|
if (isErrorSnapshot(snapshot)) {
|
|
11511
11511
|
var recordKey = keyBuilder$29(luvio, { recordId });
|
|
@@ -11661,7 +11661,7 @@ function getRecord$1(luvio, refresh, recordId, fields, configOptionalFields) {
|
|
|
11661
11661
|
}
|
|
11662
11662
|
return recordSnapshotOrPromise;
|
|
11663
11663
|
}
|
|
11664
|
-
function buildNetworkSnapshot$
|
|
11664
|
+
function buildNetworkSnapshot$15(context, coercedAdapterRequestContext) {
|
|
11665
11665
|
const { config, luvio, adapterContext } = context;
|
|
11666
11666
|
const { recordId } = config;
|
|
11667
11667
|
const optionalFields = config.optionalFields === undefined ? [] : dedupe(config.optionalFields).sort();
|
|
@@ -11687,7 +11687,7 @@ function buildNetworkSnapshot$11(context, coercedAdapterRequestContext) {
|
|
|
11687
11687
|
fields: context.fields,
|
|
11688
11688
|
optionalFields,
|
|
11689
11689
|
};
|
|
11690
|
-
return buildNetworkSnapshot$
|
|
11690
|
+
return buildNetworkSnapshot$1a(luvio, recordConfig, 0, coercedAdapterRequestContext).then((snapshot) => {
|
|
11691
11691
|
snapshot.refresh = refresh;
|
|
11692
11692
|
return snapshot;
|
|
11693
11693
|
});
|
|
@@ -11700,7 +11700,7 @@ function buildNetworkSnapshot$11(context, coercedAdapterRequestContext) {
|
|
|
11700
11700
|
modes,
|
|
11701
11701
|
optionalFields,
|
|
11702
11702
|
};
|
|
11703
|
-
return buildNetworkSnapshot$
|
|
11703
|
+
return buildNetworkSnapshot$16(luvio, recordUiConfig, dispatchOptions).then((snapshot) => processRecordUiRepresentation(luvio, refresh, recordId, modes, snapshot, adapterContext, optionalFields));
|
|
11704
11704
|
}
|
|
11705
11705
|
function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
11706
11706
|
const { config, luvio } = context;
|
|
@@ -11784,7 +11784,7 @@ function makeCacheOnlySnapshot(luvio, config, adapterContext, cachedSnapshot) {
|
|
|
11784
11784
|
function makeNetworkOnlySnapshot(luvio, config, adapterContext, requestContext) {
|
|
11785
11785
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, () => {
|
|
11786
11786
|
return undefined;
|
|
11787
|
-
}, buildNetworkSnapshot$
|
|
11787
|
+
}, buildNetworkSnapshot$15);
|
|
11788
11788
|
}
|
|
11789
11789
|
function getRecordLayoutType(luvio, config, adapterContext, requestContext) {
|
|
11790
11790
|
// lookup record layout
|
|
@@ -11821,10 +11821,10 @@ function getRecordLayoutType(luvio, config, adapterContext, requestContext) {
|
|
|
11821
11821
|
if (!fields) {
|
|
11822
11822
|
return makeNetworkOnlySnapshot(luvio, config, adapterContext, requestContext);
|
|
11823
11823
|
}
|
|
11824
|
-
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordSnapshot(luvio, config, recordLayoutSnapshot, objectInfoSnapshot, fields), buildNetworkSnapshot$
|
|
11824
|
+
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordSnapshot(luvio, config, recordLayoutSnapshot, objectInfoSnapshot, fields), buildNetworkSnapshot$15);
|
|
11825
11825
|
}
|
|
11826
11826
|
return makeRecordLayoutMap(luvio, config, objectInfoSnapshot.data.apiName, recordTypeId, layoutTypes, modes, adapterContext).then((recordLayoutMap) => {
|
|
11827
|
-
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordLayoutSnapshot(recordLayoutMap, luvio, config, recordLayoutSnapshot, objectInfoSnapshot), buildNetworkSnapshot$
|
|
11827
|
+
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordLayoutSnapshot(recordLayoutMap, luvio, config, recordLayoutSnapshot, objectInfoSnapshot), buildNetworkSnapshot$15);
|
|
11828
11828
|
});
|
|
11829
11829
|
});
|
|
11830
11830
|
});
|
|
@@ -13703,18 +13703,18 @@ function adapterFragment$G(luvio, config) {
|
|
|
13703
13703
|
function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
|
|
13704
13704
|
const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
|
|
13705
13705
|
config,
|
|
13706
|
-
resolve: () => buildNetworkSnapshot$
|
|
13706
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
13707
13707
|
});
|
|
13708
13708
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
13709
13709
|
}
|
|
13710
13710
|
function onFetchResponseError$K(luvio, config, resourceParams, response) {
|
|
13711
13711
|
const snapshot = ingestError$H(luvio, resourceParams, response, {
|
|
13712
13712
|
config,
|
|
13713
|
-
resolve: () => buildNetworkSnapshot$
|
|
13713
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
13714
13714
|
});
|
|
13715
13715
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
13716
13716
|
}
|
|
13717
|
-
function buildNetworkSnapshot$
|
|
13717
|
+
function buildNetworkSnapshot$14(luvio, config, options) {
|
|
13718
13718
|
const resourceParams = createResourceParams$X(config);
|
|
13719
13719
|
const request = createResourceRequest$11(resourceParams);
|
|
13720
13720
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -13729,7 +13729,7 @@ function buildNetworkSnapshot$10(luvio, config, options) {
|
|
|
13729
13729
|
});
|
|
13730
13730
|
}
|
|
13731
13731
|
function buildNetworkSnapshotCachePolicy$O(context, coercedAdapterRequestContext) {
|
|
13732
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
13732
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$14, undefined, false);
|
|
13733
13733
|
}
|
|
13734
13734
|
function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
13735
13735
|
const { luvio, config } = context;
|
|
@@ -13740,7 +13740,7 @@ function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
|
13740
13740
|
};
|
|
13741
13741
|
const cacheSnapshot = storeLookup(selector, {
|
|
13742
13742
|
config,
|
|
13743
|
-
resolve: () => buildNetworkSnapshot$
|
|
13743
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
13744
13744
|
});
|
|
13745
13745
|
return cacheSnapshot;
|
|
13746
13746
|
}
|
|
@@ -13934,18 +13934,18 @@ function adapterFragment$F(luvio, config) {
|
|
|
13934
13934
|
function onFetchResponseSuccess$I(luvio, config, resourceParams, response) {
|
|
13935
13935
|
const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
|
|
13936
13936
|
config,
|
|
13937
|
-
resolve: () => buildNetworkSnapshot
|
|
13937
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
13938
13938
|
});
|
|
13939
13939
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
13940
13940
|
}
|
|
13941
13941
|
function onFetchResponseError$J(luvio, config, resourceParams, response) {
|
|
13942
13942
|
const snapshot = ingestError$G(luvio, resourceParams, response, {
|
|
13943
13943
|
config,
|
|
13944
|
-
resolve: () => buildNetworkSnapshot
|
|
13944
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
13945
13945
|
});
|
|
13946
13946
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
13947
13947
|
}
|
|
13948
|
-
function buildNetworkSnapshot
|
|
13948
|
+
function buildNetworkSnapshot$13(luvio, config, options) {
|
|
13949
13949
|
const resourceParams = createResourceParams$W(config);
|
|
13950
13950
|
const request = createResourceRequest$10(resourceParams);
|
|
13951
13951
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -13960,7 +13960,7 @@ function buildNetworkSnapshot$$(luvio, config, options) {
|
|
|
13960
13960
|
});
|
|
13961
13961
|
}
|
|
13962
13962
|
function buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext) {
|
|
13963
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot
|
|
13963
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$13, undefined, false);
|
|
13964
13964
|
}
|
|
13965
13965
|
function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
13966
13966
|
const { luvio, config } = context;
|
|
@@ -13971,7 +13971,7 @@ function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
|
13971
13971
|
};
|
|
13972
13972
|
const cacheSnapshot = storeLookup(selector, {
|
|
13973
13973
|
config,
|
|
13974
|
-
resolve: () => buildNetworkSnapshot
|
|
13974
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
13975
13975
|
});
|
|
13976
13976
|
return cacheSnapshot;
|
|
13977
13977
|
}
|
|
@@ -14108,18 +14108,18 @@ function adapterFragment$E(luvio, config) {
|
|
|
14108
14108
|
function onFetchResponseSuccess$H(luvio, config, resourceParams, response) {
|
|
14109
14109
|
const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
|
|
14110
14110
|
config,
|
|
14111
|
-
resolve: () => buildNetworkSnapshot$
|
|
14111
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
14112
14112
|
});
|
|
14113
14113
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14114
14114
|
}
|
|
14115
14115
|
function onFetchResponseError$I(luvio, config, resourceParams, response) {
|
|
14116
14116
|
const snapshot = ingestError$F(luvio, resourceParams, response, {
|
|
14117
14117
|
config,
|
|
14118
|
-
resolve: () => buildNetworkSnapshot$
|
|
14118
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
14119
14119
|
});
|
|
14120
14120
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14121
14121
|
}
|
|
14122
|
-
function buildNetworkSnapshot$
|
|
14122
|
+
function buildNetworkSnapshot$12(luvio, config, options) {
|
|
14123
14123
|
const resourceParams = createResourceParams$V(config);
|
|
14124
14124
|
const request = createResourceRequest$$(resourceParams);
|
|
14125
14125
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14134,7 +14134,7 @@ function buildNetworkSnapshot$_(luvio, config, options) {
|
|
|
14134
14134
|
});
|
|
14135
14135
|
}
|
|
14136
14136
|
function buildNetworkSnapshotCachePolicy$M(context, coercedAdapterRequestContext) {
|
|
14137
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14137
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$12, undefined, false);
|
|
14138
14138
|
}
|
|
14139
14139
|
function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
14140
14140
|
const { luvio, config } = context;
|
|
@@ -14145,7 +14145,7 @@ function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
|
14145
14145
|
};
|
|
14146
14146
|
const cacheSnapshot = storeLookup(selector, {
|
|
14147
14147
|
config,
|
|
14148
|
-
resolve: () => buildNetworkSnapshot$
|
|
14148
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
14149
14149
|
});
|
|
14150
14150
|
return cacheSnapshot;
|
|
14151
14151
|
}
|
|
@@ -14250,18 +14250,18 @@ function adapterFragment$D(luvio, config) {
|
|
|
14250
14250
|
function onFetchResponseSuccess$G(luvio, config, resourceParams, response) {
|
|
14251
14251
|
const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
|
|
14252
14252
|
config,
|
|
14253
|
-
resolve: () => buildNetworkSnapshot$
|
|
14253
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
14254
14254
|
});
|
|
14255
14255
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14256
14256
|
}
|
|
14257
14257
|
function onFetchResponseError$H(luvio, config, resourceParams, response) {
|
|
14258
14258
|
const snapshot = ingestError$E(luvio, resourceParams, response, {
|
|
14259
14259
|
config,
|
|
14260
|
-
resolve: () => buildNetworkSnapshot$
|
|
14260
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
14261
14261
|
});
|
|
14262
14262
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14263
14263
|
}
|
|
14264
|
-
function buildNetworkSnapshot$
|
|
14264
|
+
function buildNetworkSnapshot$11(luvio, config, options) {
|
|
14265
14265
|
const resourceParams = createResourceParams$U(config);
|
|
14266
14266
|
const request = createResourceRequest$_(resourceParams);
|
|
14267
14267
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14276,7 +14276,7 @@ function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
|
14276
14276
|
});
|
|
14277
14277
|
}
|
|
14278
14278
|
function buildNetworkSnapshotCachePolicy$L(context, coercedAdapterRequestContext) {
|
|
14279
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14279
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$11, undefined, false);
|
|
14280
14280
|
}
|
|
14281
14281
|
function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
14282
14282
|
const { luvio, config } = context;
|
|
@@ -14287,7 +14287,7 @@ function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
|
14287
14287
|
};
|
|
14288
14288
|
const cacheSnapshot = storeLookup(selector, {
|
|
14289
14289
|
config,
|
|
14290
|
-
resolve: () => buildNetworkSnapshot$
|
|
14290
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
14291
14291
|
});
|
|
14292
14292
|
return cacheSnapshot;
|
|
14293
14293
|
}
|
|
@@ -14439,18 +14439,18 @@ function adapterFragment$C(luvio, config) {
|
|
|
14439
14439
|
function onFetchResponseSuccess$F(luvio, config, resourceParams, response) {
|
|
14440
14440
|
const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
|
|
14441
14441
|
config,
|
|
14442
|
-
resolve: () => buildNetworkSnapshot$
|
|
14442
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
14443
14443
|
});
|
|
14444
14444
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14445
14445
|
}
|
|
14446
14446
|
function onFetchResponseError$G(luvio, config, resourceParams, response) {
|
|
14447
14447
|
const snapshot = ingestError$D(luvio, resourceParams, response, {
|
|
14448
14448
|
config,
|
|
14449
|
-
resolve: () => buildNetworkSnapshot$
|
|
14449
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
14450
14450
|
});
|
|
14451
14451
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14452
14452
|
}
|
|
14453
|
-
function buildNetworkSnapshot$
|
|
14453
|
+
function buildNetworkSnapshot$10(luvio, config, options) {
|
|
14454
14454
|
const resourceParams = createResourceParams$T(config);
|
|
14455
14455
|
const request = createResourceRequest$Z(resourceParams);
|
|
14456
14456
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14465,7 +14465,7 @@ function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
|
14465
14465
|
});
|
|
14466
14466
|
}
|
|
14467
14467
|
function buildNetworkSnapshotCachePolicy$K(context, coercedAdapterRequestContext) {
|
|
14468
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14468
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$10, undefined, false);
|
|
14469
14469
|
}
|
|
14470
14470
|
function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
14471
14471
|
const { luvio, config } = context;
|
|
@@ -14476,7 +14476,7 @@ function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
|
14476
14476
|
};
|
|
14477
14477
|
const cacheSnapshot = storeLookup(selector, {
|
|
14478
14478
|
config,
|
|
14479
|
-
resolve: () => buildNetworkSnapshot$
|
|
14479
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
14480
14480
|
});
|
|
14481
14481
|
return cacheSnapshot;
|
|
14482
14482
|
}
|
|
@@ -14703,18 +14703,18 @@ function adapterFragment$B(luvio, config) {
|
|
|
14703
14703
|
function onFetchResponseSuccess$E(luvio, config, resourceParams, response) {
|
|
14704
14704
|
const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
|
|
14705
14705
|
config,
|
|
14706
|
-
resolve: () => buildNetworkSnapshot
|
|
14706
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
14707
14707
|
});
|
|
14708
14708
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14709
14709
|
}
|
|
14710
14710
|
function onFetchResponseError$F(luvio, config, resourceParams, response) {
|
|
14711
14711
|
const snapshot = ingestError$C(luvio, resourceParams, response, {
|
|
14712
14712
|
config,
|
|
14713
|
-
resolve: () => buildNetworkSnapshot
|
|
14713
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
14714
14714
|
});
|
|
14715
14715
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14716
14716
|
}
|
|
14717
|
-
function buildNetworkSnapshot
|
|
14717
|
+
function buildNetworkSnapshot$$(luvio, config, options) {
|
|
14718
14718
|
const resourceParams = createResourceParams$S(config);
|
|
14719
14719
|
const request = createResourceRequest$Y(resourceParams);
|
|
14720
14720
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14729,7 +14729,7 @@ function buildNetworkSnapshot$X(luvio, config, options) {
|
|
|
14729
14729
|
});
|
|
14730
14730
|
}
|
|
14731
14731
|
function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext) {
|
|
14732
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot
|
|
14732
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$$, undefined, false);
|
|
14733
14733
|
}
|
|
14734
14734
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
14735
14735
|
const { luvio, config } = context;
|
|
@@ -14740,7 +14740,7 @@ function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
|
14740
14740
|
};
|
|
14741
14741
|
const cacheSnapshot = storeLookup(selector, {
|
|
14742
14742
|
config,
|
|
14743
|
-
resolve: () => buildNetworkSnapshot
|
|
14743
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
14744
14744
|
});
|
|
14745
14745
|
return cacheSnapshot;
|
|
14746
14746
|
}
|
|
@@ -15913,18 +15913,18 @@ function adapterFragment$A(luvio, config) {
|
|
|
15913
15913
|
function onFetchResponseSuccess$D(luvio, config, resourceParams, response) {
|
|
15914
15914
|
const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
|
|
15915
15915
|
config,
|
|
15916
|
-
resolve: () => buildNetworkSnapshot$
|
|
15916
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
15917
15917
|
});
|
|
15918
15918
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
15919
15919
|
}
|
|
15920
15920
|
function onFetchResponseError$E(luvio, config, resourceParams, response) {
|
|
15921
15921
|
const snapshot = ingestError$B(luvio, resourceParams, response, {
|
|
15922
15922
|
config,
|
|
15923
|
-
resolve: () => buildNetworkSnapshot$
|
|
15923
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
15924
15924
|
});
|
|
15925
15925
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
15926
15926
|
}
|
|
15927
|
-
function buildNetworkSnapshot$
|
|
15927
|
+
function buildNetworkSnapshot$_(luvio, config, options) {
|
|
15928
15928
|
const resourceParams = createResourceParams$R(config);
|
|
15929
15929
|
const request = createResourceRequest$X(resourceParams);
|
|
15930
15930
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -15939,7 +15939,7 @@ function buildNetworkSnapshot$W(luvio, config, options) {
|
|
|
15939
15939
|
});
|
|
15940
15940
|
}
|
|
15941
15941
|
function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext) {
|
|
15942
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
15942
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$_, undefined, false);
|
|
15943
15943
|
}
|
|
15944
15944
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
15945
15945
|
const { luvio, config } = context;
|
|
@@ -15950,7 +15950,7 @@ function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
|
15950
15950
|
};
|
|
15951
15951
|
const cacheSnapshot = storeLookup(selector, {
|
|
15952
15952
|
config,
|
|
15953
|
-
resolve: () => buildNetworkSnapshot$
|
|
15953
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
15954
15954
|
});
|
|
15955
15955
|
return cacheSnapshot;
|
|
15956
15956
|
}
|
|
@@ -16091,7 +16091,7 @@ function adapterFragment$z(luvio, config) {
|
|
|
16091
16091
|
const resourceParams = createResourceParams$Q(config);
|
|
16092
16092
|
return selectFields$6(luvio, resourceParams);
|
|
16093
16093
|
}
|
|
16094
|
-
function buildNetworkSnapshot$
|
|
16094
|
+
function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
16095
16095
|
const resourceParams = createResourceParams$Q(config);
|
|
16096
16096
|
const request = createResourceRequest$W(resourceParams);
|
|
16097
16097
|
const key = keyBuilder$1w(luvio, config);
|
|
@@ -16167,18 +16167,18 @@ function buildCachedSnapshot$6(luvio, config) {
|
|
|
16167
16167
|
};
|
|
16168
16168
|
return luvio.storeLookup(selector, {
|
|
16169
16169
|
config,
|
|
16170
|
-
resolve: () => buildNetworkSnapshot$
|
|
16170
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
16171
16171
|
});
|
|
16172
16172
|
}
|
|
16173
16173
|
function onFetchResponseError$D(luvio, config, resourceParams, response) {
|
|
16174
16174
|
const snapshot = ingestError$A(luvio, resourceParams, response, {
|
|
16175
16175
|
config,
|
|
16176
|
-
resolve: () => buildNetworkSnapshot$
|
|
16176
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
16177
16177
|
});
|
|
16178
16178
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16179
16179
|
}
|
|
16180
16180
|
function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext) {
|
|
16181
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16181
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$Z, undefined, false);
|
|
16182
16182
|
}
|
|
16183
16183
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
16184
16184
|
const { luvio, config } = context;
|
|
@@ -16189,7 +16189,7 @@ function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
|
16189
16189
|
};
|
|
16190
16190
|
const cacheSnapshot = storeLookup(selector, {
|
|
16191
16191
|
config,
|
|
16192
|
-
resolve: () => buildNetworkSnapshot$
|
|
16192
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
16193
16193
|
});
|
|
16194
16194
|
return cacheSnapshot;
|
|
16195
16195
|
}
|
|
@@ -16304,18 +16304,18 @@ function adapterFragment$y(luvio, config) {
|
|
|
16304
16304
|
function onFetchResponseSuccess$C(luvio, config, resourceParams, response) {
|
|
16305
16305
|
const snapshot = ingestSuccess$H(luvio, resourceParams, response, {
|
|
16306
16306
|
config,
|
|
16307
|
-
resolve: () => buildNetworkSnapshot$
|
|
16307
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
16308
16308
|
});
|
|
16309
16309
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16310
16310
|
}
|
|
16311
16311
|
function onFetchResponseError$C(luvio, config, resourceParams, response) {
|
|
16312
16312
|
const snapshot = ingestError$z(luvio, resourceParams, response, {
|
|
16313
16313
|
config,
|
|
16314
|
-
resolve: () => buildNetworkSnapshot$
|
|
16314
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
16315
16315
|
});
|
|
16316
16316
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16317
16317
|
}
|
|
16318
|
-
function buildNetworkSnapshot$
|
|
16318
|
+
function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
16319
16319
|
const resourceParams = createResourceParams$P(config);
|
|
16320
16320
|
const request = createResourceRequest$V(resourceParams);
|
|
16321
16321
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16330,7 +16330,7 @@ function buildNetworkSnapshot$U(luvio, config, options) {
|
|
|
16330
16330
|
});
|
|
16331
16331
|
}
|
|
16332
16332
|
function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext) {
|
|
16333
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16333
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$Y, undefined, false);
|
|
16334
16334
|
}
|
|
16335
16335
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
16336
16336
|
const { luvio, config } = context;
|
|
@@ -16341,7 +16341,7 @@ function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
|
16341
16341
|
};
|
|
16342
16342
|
const cacheSnapshot = storeLookup(selector, {
|
|
16343
16343
|
config,
|
|
16344
|
-
resolve: () => buildNetworkSnapshot$
|
|
16344
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
16345
16345
|
});
|
|
16346
16346
|
return cacheSnapshot;
|
|
16347
16347
|
}
|
|
@@ -16446,18 +16446,18 @@ function adapterFragment$x(luvio, config) {
|
|
|
16446
16446
|
function onFetchResponseSuccess$B(luvio, config, resourceParams, response) {
|
|
16447
16447
|
const snapshot = ingestSuccess$G(luvio, resourceParams, response, {
|
|
16448
16448
|
config,
|
|
16449
|
-
resolve: () => buildNetworkSnapshot$
|
|
16449
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
16450
16450
|
});
|
|
16451
16451
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16452
16452
|
}
|
|
16453
16453
|
function onFetchResponseError$B(luvio, config, resourceParams, response) {
|
|
16454
16454
|
const snapshot = ingestError$y(luvio, resourceParams, response, {
|
|
16455
16455
|
config,
|
|
16456
|
-
resolve: () => buildNetworkSnapshot$
|
|
16456
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
16457
16457
|
});
|
|
16458
16458
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16459
16459
|
}
|
|
16460
|
-
function buildNetworkSnapshot$
|
|
16460
|
+
function buildNetworkSnapshot$X(luvio, config, options) {
|
|
16461
16461
|
const resourceParams = createResourceParams$O(config);
|
|
16462
16462
|
const request = createResourceRequest$U(resourceParams);
|
|
16463
16463
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16472,7 +16472,7 @@ function buildNetworkSnapshot$T(luvio, config, options) {
|
|
|
16472
16472
|
});
|
|
16473
16473
|
}
|
|
16474
16474
|
function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext) {
|
|
16475
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16475
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$X, undefined, false);
|
|
16476
16476
|
}
|
|
16477
16477
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
16478
16478
|
const { luvio, config } = context;
|
|
@@ -16483,7 +16483,7 @@ function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
|
16483
16483
|
};
|
|
16484
16484
|
const cacheSnapshot = storeLookup(selector, {
|
|
16485
16485
|
config,
|
|
16486
|
-
resolve: () => buildNetworkSnapshot$
|
|
16486
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
16487
16487
|
});
|
|
16488
16488
|
return cacheSnapshot;
|
|
16489
16489
|
}
|
|
@@ -16953,18 +16953,18 @@ function adapterFragment$w(luvio, config) {
|
|
|
16953
16953
|
function onFetchResponseSuccess$A(luvio, config, resourceParams, response) {
|
|
16954
16954
|
const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
|
|
16955
16955
|
config,
|
|
16956
|
-
resolve: () => buildNetworkSnapshot$
|
|
16956
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
16957
16957
|
});
|
|
16958
16958
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16959
16959
|
}
|
|
16960
16960
|
function onFetchResponseError$A(luvio, config, resourceParams, response) {
|
|
16961
16961
|
const snapshot = ingestError$w(luvio, resourceParams, response, {
|
|
16962
16962
|
config,
|
|
16963
|
-
resolve: () => buildNetworkSnapshot$
|
|
16963
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
16964
16964
|
});
|
|
16965
16965
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16966
16966
|
}
|
|
16967
|
-
function buildNetworkSnapshot$
|
|
16967
|
+
function buildNetworkSnapshot$W(luvio, config, options) {
|
|
16968
16968
|
const resourceParams = createResourceParams$N(config);
|
|
16969
16969
|
const request = createResourceRequest$S(resourceParams);
|
|
16970
16970
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16979,7 +16979,7 @@ function buildNetworkSnapshot$S(luvio, config, options) {
|
|
|
16979
16979
|
});
|
|
16980
16980
|
}
|
|
16981
16981
|
function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext) {
|
|
16982
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16982
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$W, 'get', false);
|
|
16983
16983
|
}
|
|
16984
16984
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
16985
16985
|
const { luvio, config } = context;
|
|
@@ -16990,7 +16990,7 @@ function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
|
16990
16990
|
};
|
|
16991
16991
|
const cacheSnapshot = storeLookup(selector, {
|
|
16992
16992
|
config,
|
|
16993
|
-
resolve: () => buildNetworkSnapshot$
|
|
16993
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
16994
16994
|
});
|
|
16995
16995
|
return cacheSnapshot;
|
|
16996
16996
|
}
|
|
@@ -17046,18 +17046,18 @@ function adapterFragment$v(luvio, config) {
|
|
|
17046
17046
|
function onFetchResponseSuccess$z(luvio, config, resourceParams, response) {
|
|
17047
17047
|
const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
|
|
17048
17048
|
config,
|
|
17049
|
-
resolve: () => buildNetworkSnapshot$
|
|
17049
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
17050
17050
|
});
|
|
17051
17051
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17052
17052
|
}
|
|
17053
17053
|
function onFetchResponseError$z(luvio, config, resourceParams, response) {
|
|
17054
17054
|
const snapshot = ingestError$x(luvio, resourceParams, response, {
|
|
17055
17055
|
config,
|
|
17056
|
-
resolve: () => buildNetworkSnapshot$
|
|
17056
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
17057
17057
|
});
|
|
17058
17058
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17059
17059
|
}
|
|
17060
|
-
function buildNetworkSnapshot$
|
|
17060
|
+
function buildNetworkSnapshot$V(luvio, config, options) {
|
|
17061
17061
|
const resourceParams = createResourceParams$M(config);
|
|
17062
17062
|
const request = createResourceRequest$T(resourceParams);
|
|
17063
17063
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -17072,7 +17072,7 @@ function buildNetworkSnapshot$R(luvio, config, options) {
|
|
|
17072
17072
|
});
|
|
17073
17073
|
}
|
|
17074
17074
|
function buildNetworkSnapshotCachePolicy$D(context, coercedAdapterRequestContext) {
|
|
17075
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
17075
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$V, 'get', false);
|
|
17076
17076
|
}
|
|
17077
17077
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
17078
17078
|
const { luvio, config } = context;
|
|
@@ -17083,7 +17083,7 @@ function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
|
17083
17083
|
};
|
|
17084
17084
|
const cacheSnapshot = storeLookup(selector, {
|
|
17085
17085
|
config,
|
|
17086
|
-
resolve: () => buildNetworkSnapshot$
|
|
17086
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
17087
17087
|
});
|
|
17088
17088
|
return cacheSnapshot;
|
|
17089
17089
|
}
|
|
@@ -17189,18 +17189,18 @@ function adapterFragment$u(luvio, config) {
|
|
|
17189
17189
|
function onFetchResponseSuccess$y(luvio, config, resourceParams, response) {
|
|
17190
17190
|
const snapshot = ingestSuccess$D(luvio, resourceParams, response, {
|
|
17191
17191
|
config,
|
|
17192
|
-
resolve: () => buildNetworkSnapshot$
|
|
17192
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
17193
17193
|
});
|
|
17194
17194
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17195
17195
|
}
|
|
17196
17196
|
function onFetchResponseError$y(luvio, config, resourceParams, response) {
|
|
17197
17197
|
const snapshot = ingestError$v(luvio, resourceParams, response, {
|
|
17198
17198
|
config,
|
|
17199
|
-
resolve: () => buildNetworkSnapshot$
|
|
17199
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
17200
17200
|
});
|
|
17201
17201
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17202
17202
|
}
|
|
17203
|
-
function buildNetworkSnapshot$
|
|
17203
|
+
function buildNetworkSnapshot$U(luvio, config, options) {
|
|
17204
17204
|
const resourceParams = createResourceParams$L(config);
|
|
17205
17205
|
const request = createResourceRequest$R(resourceParams);
|
|
17206
17206
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -17215,7 +17215,7 @@ function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
|
17215
17215
|
});
|
|
17216
17216
|
}
|
|
17217
17217
|
function buildNetworkSnapshotCachePolicy$C(context, coercedAdapterRequestContext) {
|
|
17218
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
17218
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$U, undefined, false);
|
|
17219
17219
|
}
|
|
17220
17220
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
17221
17221
|
const { luvio, config } = context;
|
|
@@ -17226,7 +17226,7 @@ function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
|
17226
17226
|
};
|
|
17227
17227
|
const cacheSnapshot = storeLookup(selector, {
|
|
17228
17228
|
config,
|
|
17229
|
-
resolve: () => buildNetworkSnapshot$
|
|
17229
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
17230
17230
|
});
|
|
17231
17231
|
return cacheSnapshot;
|
|
17232
17232
|
}
|
|
@@ -18443,18 +18443,18 @@ function adapterFragment$t(luvio, config) {
|
|
|
18443
18443
|
function onFetchResponseSuccess$x(luvio, config, resourceParams, response) {
|
|
18444
18444
|
const snapshot = ingestSuccess$C(luvio, resourceParams, response, {
|
|
18445
18445
|
config,
|
|
18446
|
-
resolve: () => buildNetworkSnapshot$
|
|
18446
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
18447
18447
|
});
|
|
18448
18448
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18449
18449
|
}
|
|
18450
18450
|
function onFetchResponseError$x(luvio, config, resourceParams, response) {
|
|
18451
18451
|
const snapshot = ingestError$u(luvio, resourceParams, response, {
|
|
18452
18452
|
config,
|
|
18453
|
-
resolve: () => buildNetworkSnapshot$
|
|
18453
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
18454
18454
|
});
|
|
18455
18455
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18456
18456
|
}
|
|
18457
|
-
function buildNetworkSnapshot$
|
|
18457
|
+
function buildNetworkSnapshot$T(luvio, config, options) {
|
|
18458
18458
|
const resourceParams = createResourceParams$K(config);
|
|
18459
18459
|
const request = createResourceRequest$Q(resourceParams);
|
|
18460
18460
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -18469,7 +18469,7 @@ function buildNetworkSnapshot$P(luvio, config, options) {
|
|
|
18469
18469
|
});
|
|
18470
18470
|
}
|
|
18471
18471
|
function buildNetworkSnapshotCachePolicy$B(context, coercedAdapterRequestContext) {
|
|
18472
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
18472
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$T, undefined, false);
|
|
18473
18473
|
}
|
|
18474
18474
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
18475
18475
|
const { luvio, config } = context;
|
|
@@ -18480,7 +18480,7 @@ function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
|
18480
18480
|
};
|
|
18481
18481
|
const cacheSnapshot = storeLookup(selector, {
|
|
18482
18482
|
config,
|
|
18483
|
-
resolve: () => buildNetworkSnapshot$
|
|
18483
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
18484
18484
|
});
|
|
18485
18485
|
return cacheSnapshot;
|
|
18486
18486
|
}
|
|
@@ -18586,18 +18586,18 @@ function adapterFragment$s(luvio, config) {
|
|
|
18586
18586
|
function onFetchResponseSuccess$w(luvio, config, resourceParams, response) {
|
|
18587
18587
|
const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
|
|
18588
18588
|
config,
|
|
18589
|
-
resolve: () => buildNetworkSnapshot$
|
|
18589
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
|
|
18590
18590
|
});
|
|
18591
18591
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18592
18592
|
}
|
|
18593
18593
|
function onFetchResponseError$w(luvio, config, resourceParams, response) {
|
|
18594
18594
|
const snapshot = ingestError$t(luvio, resourceParams, response, {
|
|
18595
18595
|
config,
|
|
18596
|
-
resolve: () => buildNetworkSnapshot$
|
|
18596
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
|
|
18597
18597
|
});
|
|
18598
18598
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18599
18599
|
}
|
|
18600
|
-
function buildNetworkSnapshot$
|
|
18600
|
+
function buildNetworkSnapshot$S(luvio, config, options) {
|
|
18601
18601
|
const resourceParams = createResourceParams$J(config);
|
|
18602
18602
|
const request = createResourceRequest$P(resourceParams);
|
|
18603
18603
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -18612,7 +18612,7 @@ function buildNetworkSnapshot$O(luvio, config, options) {
|
|
|
18612
18612
|
});
|
|
18613
18613
|
}
|
|
18614
18614
|
function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext) {
|
|
18615
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
18615
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$S, undefined, false);
|
|
18616
18616
|
}
|
|
18617
18617
|
function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
18618
18618
|
const { luvio, config } = context;
|
|
@@ -18623,7 +18623,7 @@ function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
|
18623
18623
|
};
|
|
18624
18624
|
const cacheSnapshot = storeLookup(selector, {
|
|
18625
18625
|
config,
|
|
18626
|
-
resolve: () => buildNetworkSnapshot$
|
|
18626
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
|
|
18627
18627
|
});
|
|
18628
18628
|
return cacheSnapshot;
|
|
18629
18629
|
}
|
|
@@ -19187,18 +19187,18 @@ function adapterFragment$r(luvio, config) {
|
|
|
19187
19187
|
function onFetchResponseSuccess$v(luvio, config, resourceParams, response) {
|
|
19188
19188
|
const snapshot = ingestSuccess$A(luvio, resourceParams, response, {
|
|
19189
19189
|
config,
|
|
19190
|
-
resolve: () => buildNetworkSnapshot$
|
|
19190
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config, snapshotRefreshOptions)
|
|
19191
19191
|
});
|
|
19192
19192
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19193
19193
|
}
|
|
19194
19194
|
function onFetchResponseError$v(luvio, config, resourceParams, response) {
|
|
19195
19195
|
const snapshot = ingestError$s(luvio, resourceParams, response, {
|
|
19196
19196
|
config,
|
|
19197
|
-
resolve: () => buildNetworkSnapshot$
|
|
19197
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config, snapshotRefreshOptions)
|
|
19198
19198
|
});
|
|
19199
19199
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19200
19200
|
}
|
|
19201
|
-
function buildNetworkSnapshot$
|
|
19201
|
+
function buildNetworkSnapshot$R(luvio, config, options) {
|
|
19202
19202
|
const resourceParams = createResourceParams$I(config);
|
|
19203
19203
|
const request = createResourceRequest$O(resourceParams);
|
|
19204
19204
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19213,7 +19213,7 @@ function buildNetworkSnapshot$N(luvio, config, options) {
|
|
|
19213
19213
|
});
|
|
19214
19214
|
}
|
|
19215
19215
|
function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext) {
|
|
19216
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19216
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$R, undefined, false);
|
|
19217
19217
|
}
|
|
19218
19218
|
function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
19219
19219
|
const { luvio, config } = context;
|
|
@@ -19224,7 +19224,7 @@ function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
|
19224
19224
|
};
|
|
19225
19225
|
const cacheSnapshot = storeLookup(selector, {
|
|
19226
19226
|
config,
|
|
19227
|
-
resolve: () => buildNetworkSnapshot$
|
|
19227
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config, snapshotRefreshOptions)
|
|
19228
19228
|
});
|
|
19229
19229
|
return cacheSnapshot;
|
|
19230
19230
|
}
|
|
@@ -19300,7 +19300,7 @@ function onFetchResponseSuccess$u(luvio, config, resourceParams, response) {
|
|
|
19300
19300
|
variables: {},
|
|
19301
19301
|
}, {
|
|
19302
19302
|
config,
|
|
19303
|
-
resolve: () => buildNetworkSnapshot$
|
|
19303
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions),
|
|
19304
19304
|
});
|
|
19305
19305
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19306
19306
|
}
|
|
@@ -19347,7 +19347,7 @@ function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
|
19347
19347
|
};
|
|
19348
19348
|
return storeLookup(selector, {
|
|
19349
19349
|
config,
|
|
19350
|
-
resolve: () => buildNetworkSnapshot$
|
|
19350
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions),
|
|
19351
19351
|
});
|
|
19352
19352
|
}
|
|
19353
19353
|
|
|
@@ -19382,11 +19382,11 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
19382
19382
|
function onFetchResponseError$u(luvio, config, resourceParams, response) {
|
|
19383
19383
|
const snapshot = ingestError$r(luvio, resourceParams, response, {
|
|
19384
19384
|
config,
|
|
19385
|
-
resolve: () => buildNetworkSnapshot$
|
|
19385
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
|
|
19386
19386
|
});
|
|
19387
19387
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19388
19388
|
}
|
|
19389
|
-
function buildNetworkSnapshot$
|
|
19389
|
+
function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
19390
19390
|
const resourceParams = createResourceParams$H(config);
|
|
19391
19391
|
const request = createResourceRequest$N(resourceParams);
|
|
19392
19392
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19401,7 +19401,7 @@ function buildNetworkSnapshot$M(luvio, config, options) {
|
|
|
19401
19401
|
});
|
|
19402
19402
|
}
|
|
19403
19403
|
function buildNetworkSnapshotCachePolicy$y(context, coercedAdapterRequestContext) {
|
|
19404
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19404
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$Q, undefined, false);
|
|
19405
19405
|
}
|
|
19406
19406
|
const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedConfig, requestContext) {
|
|
19407
19407
|
const config = validateAdapterConfig$N(untrustedConfig);
|
|
@@ -19445,11 +19445,11 @@ function buildCachedSnapshot$5(luvio, config) {
|
|
|
19445
19445
|
};
|
|
19446
19446
|
return luvio.storeLookup(selector, {
|
|
19447
19447
|
config,
|
|
19448
|
-
resolve: () => buildNetworkSnapshot$
|
|
19448
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config),
|
|
19449
19449
|
});
|
|
19450
19450
|
}
|
|
19451
19451
|
|
|
19452
|
-
function buildNetworkSnapshot$
|
|
19452
|
+
function buildNetworkSnapshot$P(luvio, config, context) {
|
|
19453
19453
|
const { resourceParams, request, key } = prepareRequest$4(luvio, config);
|
|
19454
19454
|
return luvio
|
|
19455
19455
|
.dispatchResourceRequest(request, context)
|
|
@@ -19480,7 +19480,7 @@ function onFetchResponseSuccess$t(luvio, config, key, response) {
|
|
|
19480
19480
|
function onFetchResponseError$t(luvio, config, key, error) {
|
|
19481
19481
|
const errorSnapshot = luvio.errorSnapshot(error, {
|
|
19482
19482
|
config,
|
|
19483
|
-
resolve: () => buildNetworkSnapshot$
|
|
19483
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config),
|
|
19484
19484
|
});
|
|
19485
19485
|
luvio.storeIngestError(key, errorSnapshot);
|
|
19486
19486
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
@@ -19563,7 +19563,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
19563
19563
|
};
|
|
19564
19564
|
return storeLookup(selector, {
|
|
19565
19565
|
config,
|
|
19566
|
-
resolve: () => buildNetworkSnapshot$
|
|
19566
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config),
|
|
19567
19567
|
});
|
|
19568
19568
|
}
|
|
19569
19569
|
|
|
@@ -19595,7 +19595,7 @@ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
|
19595
19595
|
return config;
|
|
19596
19596
|
}
|
|
19597
19597
|
function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext) {
|
|
19598
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19598
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$P, undefined, false);
|
|
19599
19599
|
}
|
|
19600
19600
|
const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUserState(untrustedConfig, requestContext) {
|
|
19601
19601
|
const config = validateAdapterConfig$L(untrustedConfig, getLayoutUserState_ConfigPropertyNames);
|
|
@@ -19969,18 +19969,18 @@ function adapterFragment$q(luvio, config) {
|
|
|
19969
19969
|
function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
|
|
19970
19970
|
const snapshot = ingestSuccess$y(luvio, resourceParams, response, {
|
|
19971
19971
|
config,
|
|
19972
|
-
resolve: () => buildNetworkSnapshot$
|
|
19972
|
+
resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
|
|
19973
19973
|
});
|
|
19974
19974
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19975
19975
|
}
|
|
19976
19976
|
function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
19977
19977
|
const snapshot = ingestError$p(luvio, resourceParams, response, {
|
|
19978
19978
|
config,
|
|
19979
|
-
resolve: () => buildNetworkSnapshot$
|
|
19979
|
+
resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
|
|
19980
19980
|
});
|
|
19981
19981
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19982
19982
|
}
|
|
19983
|
-
function buildNetworkSnapshot$
|
|
19983
|
+
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
19984
19984
|
const resourceParams = createResourceParams$G(config);
|
|
19985
19985
|
const request = createResourceRequest$K(resourceParams);
|
|
19986
19986
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19995,7 +19995,7 @@ function buildNetworkSnapshot$K(luvio, config, options) {
|
|
|
19995
19995
|
});
|
|
19996
19996
|
}
|
|
19997
19997
|
function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
|
|
19998
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19998
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$O, undefined, false);
|
|
19999
19999
|
}
|
|
20000
20000
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
20001
20001
|
const { luvio, config } = context;
|
|
@@ -20006,7 +20006,7 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
|
20006
20006
|
};
|
|
20007
20007
|
const cacheSnapshot = storeLookup(selector, {
|
|
20008
20008
|
config,
|
|
20009
|
-
resolve: () => buildNetworkSnapshot$
|
|
20009
|
+
resolve: () => buildNetworkSnapshot$O(luvio, config, snapshotRefreshOptions)
|
|
20010
20010
|
});
|
|
20011
20011
|
return cacheSnapshot;
|
|
20012
20012
|
}
|
|
@@ -20117,14 +20117,14 @@ function adapterFragment$p(luvio, config) {
|
|
|
20117
20117
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
20118
20118
|
const snapshot = ingestSuccess$x(luvio, resourceParams, response, {
|
|
20119
20119
|
config,
|
|
20120
|
-
resolve: () => buildNetworkSnapshot$
|
|
20120
|
+
resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
|
|
20121
20121
|
});
|
|
20122
20122
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20123
20123
|
}
|
|
20124
20124
|
function onFetchResponseError$r(luvio, config, resourceParams, response) {
|
|
20125
20125
|
const snapshot = ingestError$o(luvio, resourceParams, response, {
|
|
20126
20126
|
config,
|
|
20127
|
-
resolve: () => buildNetworkSnapshot$
|
|
20127
|
+
resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
|
|
20128
20128
|
});
|
|
20129
20129
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20130
20130
|
}
|
|
@@ -20203,7 +20203,7 @@ function getPaginationMetadata$2(luvio, resourceParams) {
|
|
|
20203
20203
|
}
|
|
20204
20204
|
return node.data.__metadata;
|
|
20205
20205
|
}
|
|
20206
|
-
function buildNetworkSnapshot$
|
|
20206
|
+
function buildNetworkSnapshot$N(luvio, config, options, cacheSnapshot) {
|
|
20207
20207
|
const resourceParams = createResourceParams$F(config);
|
|
20208
20208
|
const request = prepareRequest$3(luvio, config, resourceParams, cacheSnapshot);
|
|
20209
20209
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20218,7 +20218,7 @@ function buildNetworkSnapshot$J(luvio, config, options, cacheSnapshot) {
|
|
|
20218
20218
|
});
|
|
20219
20219
|
}
|
|
20220
20220
|
function buildNetworkSnapshotCachePolicy$v(context, coercedAdapterRequestContext) {
|
|
20221
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
20221
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$N, undefined, true);
|
|
20222
20222
|
}
|
|
20223
20223
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
20224
20224
|
const { luvio, config } = context;
|
|
@@ -20229,7 +20229,7 @@ function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
|
20229
20229
|
};
|
|
20230
20230
|
const cacheSnapshot = storeLookup(selector, {
|
|
20231
20231
|
config,
|
|
20232
|
-
resolve: () => buildNetworkSnapshot$
|
|
20232
|
+
resolve: () => buildNetworkSnapshot$N(luvio, config, snapshotRefreshOptions)
|
|
20233
20233
|
});
|
|
20234
20234
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
20235
20235
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -20435,7 +20435,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
20435
20435
|
}
|
|
20436
20436
|
return config;
|
|
20437
20437
|
}
|
|
20438
|
-
function buildNetworkSnapshot$
|
|
20438
|
+
function buildNetworkSnapshot$M(luvio, config, options) {
|
|
20439
20439
|
const resourceParams = createResourceParams$E(config);
|
|
20440
20440
|
const request = createResourceRequest$I(resourceParams);
|
|
20441
20441
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20460,7 +20460,7 @@ const createListInfoAdapterFactory = (luvio) => {
|
|
|
20460
20460
|
if (config === null) {
|
|
20461
20461
|
throw new Error('Invalid config for "createListInfo"');
|
|
20462
20462
|
}
|
|
20463
|
-
return buildNetworkSnapshot$
|
|
20463
|
+
return buildNetworkSnapshot$M(luvio, config);
|
|
20464
20464
|
};
|
|
20465
20465
|
};
|
|
20466
20466
|
|
|
@@ -20522,7 +20522,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
20522
20522
|
}
|
|
20523
20523
|
return config;
|
|
20524
20524
|
}
|
|
20525
|
-
function buildNetworkSnapshot$
|
|
20525
|
+
function buildNetworkSnapshot$L(luvio, config, options) {
|
|
20526
20526
|
const resourceParams = createResourceParams$D(config);
|
|
20527
20527
|
const request = createResourceRequest$H(resourceParams);
|
|
20528
20528
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20547,7 +20547,7 @@ const deleteListInfoAdapterFactory = (luvio) => {
|
|
|
20547
20547
|
if (config === null) {
|
|
20548
20548
|
throw new Error(`Invalid config for "${adapterName$C}"`);
|
|
20549
20549
|
}
|
|
20550
|
-
return buildNetworkSnapshot$
|
|
20550
|
+
return buildNetworkSnapshot$L(luvio, config);
|
|
20551
20551
|
};
|
|
20552
20552
|
};
|
|
20553
20553
|
|
|
@@ -20587,18 +20587,18 @@ function adapterFragment$o(luvio, config) {
|
|
|
20587
20587
|
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
20588
20588
|
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
20589
20589
|
config,
|
|
20590
|
-
resolve: () => buildNetworkSnapshot$
|
|
20590
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
20591
20591
|
});
|
|
20592
20592
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20593
20593
|
}
|
|
20594
20594
|
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
20595
20595
|
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
20596
20596
|
config,
|
|
20597
|
-
resolve: () => buildNetworkSnapshot$
|
|
20597
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
20598
20598
|
});
|
|
20599
20599
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20600
20600
|
}
|
|
20601
|
-
function buildNetworkSnapshot$
|
|
20601
|
+
function buildNetworkSnapshot$K(luvio, config, options) {
|
|
20602
20602
|
const resourceParams = createResourceParams$C(config);
|
|
20603
20603
|
const request = createResourceRequest$L(resourceParams);
|
|
20604
20604
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20613,7 +20613,7 @@ function buildNetworkSnapshot$G(luvio, config, options) {
|
|
|
20613
20613
|
});
|
|
20614
20614
|
}
|
|
20615
20615
|
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
20616
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
20616
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$K, undefined, false);
|
|
20617
20617
|
}
|
|
20618
20618
|
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
20619
20619
|
const { luvio, config } = context;
|
|
@@ -20624,7 +20624,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
20624
20624
|
};
|
|
20625
20625
|
const cacheSnapshot = storeLookup(selector, {
|
|
20626
20626
|
config,
|
|
20627
|
-
resolve: () => buildNetworkSnapshot$
|
|
20627
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
20628
20628
|
});
|
|
20629
20629
|
return cacheSnapshot;
|
|
20630
20630
|
}
|
|
@@ -20725,7 +20725,7 @@ function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
|
20725
20725
|
}
|
|
20726
20726
|
return config;
|
|
20727
20727
|
}
|
|
20728
|
-
function buildNetworkSnapshot$
|
|
20728
|
+
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
20729
20729
|
const resourceParams = createResourceParams$B(config);
|
|
20730
20730
|
const request = createResourceRequest$G(resourceParams);
|
|
20731
20731
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20750,7 +20750,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
20750
20750
|
if (config === null) {
|
|
20751
20751
|
throw new Error('Invalid config for "updateListInfoByName"');
|
|
20752
20752
|
}
|
|
20753
|
-
return buildNetworkSnapshot$
|
|
20753
|
+
return buildNetworkSnapshot$J(luvio, config);
|
|
20754
20754
|
};
|
|
20755
20755
|
};
|
|
20756
20756
|
|
|
@@ -21657,18 +21657,18 @@ function adapterFragment$n(luvio, config) {
|
|
|
21657
21657
|
function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
21658
21658
|
const snapshot = ingestSuccess$u(luvio, resourceParams, response, {
|
|
21659
21659
|
config,
|
|
21660
|
-
resolve: () => buildNetworkSnapshot$
|
|
21660
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
21661
21661
|
});
|
|
21662
21662
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21663
21663
|
}
|
|
21664
21664
|
function onFetchResponseError$p(luvio, config, resourceParams, response) {
|
|
21665
21665
|
const snapshot = ingestError$n(luvio, resourceParams, response, {
|
|
21666
21666
|
config,
|
|
21667
|
-
resolve: () => buildNetworkSnapshot$
|
|
21667
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
21668
21668
|
});
|
|
21669
21669
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21670
21670
|
}
|
|
21671
|
-
function buildNetworkSnapshot$
|
|
21671
|
+
function buildNetworkSnapshot$I(luvio, config, options) {
|
|
21672
21672
|
const resourceParams = createResourceParams$A(config);
|
|
21673
21673
|
const request = createResourceRequest$F(resourceParams);
|
|
21674
21674
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -21683,7 +21683,7 @@ function buildNetworkSnapshot$E(luvio, config, options) {
|
|
|
21683
21683
|
});
|
|
21684
21684
|
}
|
|
21685
21685
|
function buildNetworkSnapshotCachePolicy$t(context, coercedAdapterRequestContext) {
|
|
21686
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
21686
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$I, undefined, false);
|
|
21687
21687
|
}
|
|
21688
21688
|
function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
21689
21689
|
const { luvio, config } = context;
|
|
@@ -21694,7 +21694,7 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
21694
21694
|
};
|
|
21695
21695
|
const cacheSnapshot = storeLookup(selector, {
|
|
21696
21696
|
config,
|
|
21697
|
-
resolve: () => buildNetworkSnapshot$
|
|
21697
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
21698
21698
|
});
|
|
21699
21699
|
return cacheSnapshot;
|
|
21700
21700
|
}
|
|
@@ -21967,18 +21967,18 @@ function adapterFragment$m(luvio, config) {
|
|
|
21967
21967
|
function onFetchResponseSuccess$o(luvio, config, resourceParams, response) {
|
|
21968
21968
|
const snapshot = ingestSuccess$t(luvio, resourceParams, response, {
|
|
21969
21969
|
config,
|
|
21970
|
-
resolve: () => buildNetworkSnapshot$
|
|
21970
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
21971
21971
|
});
|
|
21972
21972
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21973
21973
|
}
|
|
21974
21974
|
function onFetchResponseError$o(luvio, config, resourceParams, response) {
|
|
21975
21975
|
const snapshot = ingestError$m(luvio, resourceParams, response, {
|
|
21976
21976
|
config,
|
|
21977
|
-
resolve: () => buildNetworkSnapshot$
|
|
21977
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
21978
21978
|
});
|
|
21979
21979
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21980
21980
|
}
|
|
21981
|
-
function buildNetworkSnapshot$
|
|
21981
|
+
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
21982
21982
|
const resourceParams = createResourceParams$z(config);
|
|
21983
21983
|
const request = createResourceRequest$E(resourceParams);
|
|
21984
21984
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -21993,7 +21993,7 @@ function buildNetworkSnapshot$D(luvio, config, options) {
|
|
|
21993
21993
|
});
|
|
21994
21994
|
}
|
|
21995
21995
|
function buildNetworkSnapshotCachePolicy$s(context, coercedAdapterRequestContext) {
|
|
21996
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
21996
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
|
|
21997
21997
|
}
|
|
21998
21998
|
function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
21999
21999
|
const { luvio, config } = context;
|
|
@@ -22004,7 +22004,7 @@ function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
|
22004
22004
|
};
|
|
22005
22005
|
const cacheSnapshot = storeLookup(selector, {
|
|
22006
22006
|
config,
|
|
22007
|
-
resolve: () => buildNetworkSnapshot$
|
|
22007
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
22008
22008
|
});
|
|
22009
22009
|
return cacheSnapshot;
|
|
22010
22010
|
}
|
|
@@ -22149,7 +22149,7 @@ function validateAdapterConfig$B(untrustedConfig, configPropertyNames) {
|
|
|
22149
22149
|
}
|
|
22150
22150
|
return config;
|
|
22151
22151
|
}
|
|
22152
|
-
function buildNetworkSnapshot$
|
|
22152
|
+
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
22153
22153
|
const resourceParams = createResourceParams$y(config);
|
|
22154
22154
|
const request = createResourceRequest$D(resourceParams);
|
|
22155
22155
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22174,7 +22174,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
22174
22174
|
if (config === null) {
|
|
22175
22175
|
throw new Error('Invalid config for "updateListPreferences"');
|
|
22176
22176
|
}
|
|
22177
|
-
return buildNetworkSnapshot$
|
|
22177
|
+
return buildNetworkSnapshot$G(luvio, config);
|
|
22178
22178
|
};
|
|
22179
22179
|
};
|
|
22180
22180
|
|
|
@@ -22423,18 +22423,18 @@ function adapterFragment$l(luvio, config) {
|
|
|
22423
22423
|
function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
|
|
22424
22424
|
const snapshot = ingestSuccess$r(luvio, resourceParams, response, {
|
|
22425
22425
|
config,
|
|
22426
|
-
resolve: () => buildNetworkSnapshot$
|
|
22426
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
22427
22427
|
});
|
|
22428
22428
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22429
22429
|
}
|
|
22430
22430
|
function onFetchResponseError$n(luvio, config, resourceParams, response) {
|
|
22431
22431
|
const snapshot = ingestError$l(luvio, resourceParams, response, {
|
|
22432
22432
|
config,
|
|
22433
|
-
resolve: () => buildNetworkSnapshot$
|
|
22433
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
22434
22434
|
});
|
|
22435
22435
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22436
22436
|
}
|
|
22437
|
-
function buildNetworkSnapshot$
|
|
22437
|
+
function buildNetworkSnapshot$F(luvio, config, options) {
|
|
22438
22438
|
const resourceParams = createResourceParams$x(config);
|
|
22439
22439
|
const request = createResourceRequest$C(resourceParams);
|
|
22440
22440
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22449,7 +22449,7 @@ function buildNetworkSnapshot$B(luvio, config, options) {
|
|
|
22449
22449
|
});
|
|
22450
22450
|
}
|
|
22451
22451
|
function buildNetworkSnapshotCachePolicy$r(context, coercedAdapterRequestContext) {
|
|
22452
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22452
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
|
|
22453
22453
|
}
|
|
22454
22454
|
function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
22455
22455
|
const { luvio, config } = context;
|
|
@@ -22460,7 +22460,7 @@ function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
|
22460
22460
|
};
|
|
22461
22461
|
const cacheSnapshot = storeLookup(selector, {
|
|
22462
22462
|
config,
|
|
22463
|
-
resolve: () => buildNetworkSnapshot$
|
|
22463
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
22464
22464
|
});
|
|
22465
22465
|
return cacheSnapshot;
|
|
22466
22466
|
}
|
|
@@ -22552,18 +22552,18 @@ function adapterFragment$k(luvio, config) {
|
|
|
22552
22552
|
function onFetchResponseSuccess$m(luvio, config, resourceParams, response) {
|
|
22553
22553
|
const snapshot = ingestSuccess$q(luvio, resourceParams, response, {
|
|
22554
22554
|
config,
|
|
22555
|
-
resolve: () => buildNetworkSnapshot$
|
|
22555
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
22556
22556
|
});
|
|
22557
22557
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22558
22558
|
}
|
|
22559
22559
|
function onFetchResponseError$m(luvio, config, resourceParams, response) {
|
|
22560
22560
|
const snapshot = ingestError$k(luvio, resourceParams, response, {
|
|
22561
22561
|
config,
|
|
22562
|
-
resolve: () => buildNetworkSnapshot$
|
|
22562
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
22563
22563
|
});
|
|
22564
22564
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22565
22565
|
}
|
|
22566
|
-
function buildNetworkSnapshot$
|
|
22566
|
+
function buildNetworkSnapshot$E(luvio, config, options) {
|
|
22567
22567
|
const resourceParams = createResourceParams$w(config);
|
|
22568
22568
|
const request = createResourceRequest$B();
|
|
22569
22569
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22578,7 +22578,7 @@ function buildNetworkSnapshot$A(luvio, config, options) {
|
|
|
22578
22578
|
});
|
|
22579
22579
|
}
|
|
22580
22580
|
function buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext) {
|
|
22581
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22581
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
|
|
22582
22582
|
}
|
|
22583
22583
|
function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
22584
22584
|
const { luvio, config } = context;
|
|
@@ -22589,7 +22589,7 @@ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
|
22589
22589
|
};
|
|
22590
22590
|
const cacheSnapshot = storeLookup(selector, {
|
|
22591
22591
|
config,
|
|
22592
|
-
resolve: () => buildNetworkSnapshot$
|
|
22592
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
22593
22593
|
});
|
|
22594
22594
|
return cacheSnapshot;
|
|
22595
22595
|
}
|
|
@@ -22901,18 +22901,18 @@ function adapterFragment$j(luvio, config) {
|
|
|
22901
22901
|
function onFetchResponseSuccess$l(luvio, config, resourceParams, response) {
|
|
22902
22902
|
const snapshot = ingestSuccess$p(luvio, resourceParams, response, {
|
|
22903
22903
|
config,
|
|
22904
|
-
resolve: () => buildNetworkSnapshot$
|
|
22904
|
+
resolve: () => buildNetworkSnapshot$D(luvio, config, snapshotRefreshOptions)
|
|
22905
22905
|
});
|
|
22906
22906
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22907
22907
|
}
|
|
22908
22908
|
function onFetchResponseError$l(luvio, config, resourceParams, response) {
|
|
22909
22909
|
const snapshot = ingestError$j(luvio, resourceParams, response, {
|
|
22910
22910
|
config,
|
|
22911
|
-
resolve: () => buildNetworkSnapshot$
|
|
22911
|
+
resolve: () => buildNetworkSnapshot$D(luvio, config, snapshotRefreshOptions)
|
|
22912
22912
|
});
|
|
22913
22913
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22914
22914
|
}
|
|
22915
|
-
function buildNetworkSnapshot$
|
|
22915
|
+
function buildNetworkSnapshot$D(luvio, config, options) {
|
|
22916
22916
|
const resourceParams = createResourceParams$v(config);
|
|
22917
22917
|
const request = createResourceRequest$A(resourceParams);
|
|
22918
22918
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22927,7 +22927,7 @@ function buildNetworkSnapshot$z(luvio, config, options) {
|
|
|
22927
22927
|
});
|
|
22928
22928
|
}
|
|
22929
22929
|
function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext) {
|
|
22930
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22930
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$D, undefined, false);
|
|
22931
22931
|
}
|
|
22932
22932
|
function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
22933
22933
|
const { luvio, config } = context;
|
|
@@ -22938,7 +22938,7 @@ function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
|
22938
22938
|
};
|
|
22939
22939
|
const cacheSnapshot = storeLookup(selector, {
|
|
22940
22940
|
config,
|
|
22941
|
-
resolve: () => buildNetworkSnapshot$
|
|
22941
|
+
resolve: () => buildNetworkSnapshot$D(luvio, config, snapshotRefreshOptions)
|
|
22942
22942
|
});
|
|
22943
22943
|
return cacheSnapshot;
|
|
22944
22944
|
}
|
|
@@ -23542,18 +23542,18 @@ function adapterFragment$i(luvio, config) {
|
|
|
23542
23542
|
function onFetchResponseSuccess$k(luvio, config, resourceParams, response) {
|
|
23543
23543
|
const snapshot = ingestSuccess$o(luvio, resourceParams, response, {
|
|
23544
23544
|
config,
|
|
23545
|
-
resolve: () => buildNetworkSnapshot$
|
|
23545
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
23546
23546
|
});
|
|
23547
23547
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23548
23548
|
}
|
|
23549
23549
|
function onFetchResponseError$k(luvio, config, resourceParams, response) {
|
|
23550
23550
|
const snapshot = ingestError$i(luvio, resourceParams, response, {
|
|
23551
23551
|
config,
|
|
23552
|
-
resolve: () => buildNetworkSnapshot$
|
|
23552
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
23553
23553
|
});
|
|
23554
23554
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23555
23555
|
}
|
|
23556
|
-
function buildNetworkSnapshot$
|
|
23556
|
+
function buildNetworkSnapshot$C(luvio, config, options) {
|
|
23557
23557
|
const resourceParams = createResourceParams$u(config);
|
|
23558
23558
|
const request = createResourceRequest$z(resourceParams);
|
|
23559
23559
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -23568,7 +23568,7 @@ function buildNetworkSnapshot$y(luvio, config, options) {
|
|
|
23568
23568
|
});
|
|
23569
23569
|
}
|
|
23570
23570
|
function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
|
|
23571
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
23571
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
|
|
23572
23572
|
}
|
|
23573
23573
|
function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
23574
23574
|
const { luvio, config } = context;
|
|
@@ -23579,7 +23579,7 @@ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
|
23579
23579
|
};
|
|
23580
23580
|
const cacheSnapshot = storeLookup(selector, {
|
|
23581
23581
|
config,
|
|
23582
|
-
resolve: () => buildNetworkSnapshot$
|
|
23582
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
23583
23583
|
});
|
|
23584
23584
|
return cacheSnapshot;
|
|
23585
23585
|
}
|
|
@@ -23614,7 +23614,7 @@ const path = select$K().selections;
|
|
|
23614
23614
|
function buildSnapshotRefresh$2(luvio, config) {
|
|
23615
23615
|
return {
|
|
23616
23616
|
config,
|
|
23617
|
-
resolve: () => buildNetworkSnapshot$
|
|
23617
|
+
resolve: () => buildNetworkSnapshot$B(luvio, config),
|
|
23618
23618
|
};
|
|
23619
23619
|
}
|
|
23620
23620
|
function buildRequestAndKey(luvio, config) {
|
|
@@ -23642,7 +23642,7 @@ function onResponseError(luvio, config, key, err) {
|
|
|
23642
23642
|
luvio.storeIngestError(key, errorSnapshot);
|
|
23643
23643
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
23644
23644
|
}
|
|
23645
|
-
function buildNetworkSnapshot$
|
|
23645
|
+
function buildNetworkSnapshot$B(luvio, config, options) {
|
|
23646
23646
|
const { resourceParams, request, key } = buildRequestAndKey(luvio, config);
|
|
23647
23647
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
23648
23648
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -23694,7 +23694,7 @@ function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext
|
|
|
23694
23694
|
priority: networkPriority,
|
|
23695
23695
|
};
|
|
23696
23696
|
}
|
|
23697
|
-
return buildNetworkSnapshot$
|
|
23697
|
+
return buildNetworkSnapshot$B(luvio, config, dispatchOptions);
|
|
23698
23698
|
}
|
|
23699
23699
|
function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
23700
23700
|
const { config, luvio } = context;
|
|
@@ -23869,18 +23869,18 @@ function adapterFragment$h(luvio, config) {
|
|
|
23869
23869
|
function onFetchResponseSuccess$j(luvio, config, resourceParams, response) {
|
|
23870
23870
|
const snapshot = ingestSuccess$n(luvio, resourceParams, response, {
|
|
23871
23871
|
config,
|
|
23872
|
-
resolve: () => buildNetworkSnapshot$
|
|
23872
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
|
|
23873
23873
|
});
|
|
23874
23874
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23875
23875
|
}
|
|
23876
23876
|
function onFetchResponseError$j(luvio, config, resourceParams, response) {
|
|
23877
23877
|
const snapshot = ingestError$h(luvio, resourceParams, response, {
|
|
23878
23878
|
config,
|
|
23879
|
-
resolve: () => buildNetworkSnapshot$
|
|
23879
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
|
|
23880
23880
|
});
|
|
23881
23881
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23882
23882
|
}
|
|
23883
|
-
function buildNetworkSnapshot$
|
|
23883
|
+
function buildNetworkSnapshot$A(luvio, config, options) {
|
|
23884
23884
|
const resourceParams = createResourceParams$t(config);
|
|
23885
23885
|
const request = createResourceRequest$x(resourceParams);
|
|
23886
23886
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -23895,7 +23895,7 @@ function buildNetworkSnapshot$w(luvio, config, options) {
|
|
|
23895
23895
|
});
|
|
23896
23896
|
}
|
|
23897
23897
|
function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext) {
|
|
23898
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
23898
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$A, undefined, false);
|
|
23899
23899
|
}
|
|
23900
23900
|
function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
|
|
23901
23901
|
const { luvio, config } = context;
|
|
@@ -23906,7 +23906,7 @@ function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
|
|
|
23906
23906
|
};
|
|
23907
23907
|
const cacheSnapshot = storeLookup(selector, {
|
|
23908
23908
|
config,
|
|
23909
|
-
resolve: () => buildNetworkSnapshot$
|
|
23909
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
|
|
23910
23910
|
});
|
|
23911
23911
|
return cacheSnapshot;
|
|
23912
23912
|
}
|
|
@@ -24236,18 +24236,18 @@ function adapterFragment$g(luvio, config) {
|
|
|
24236
24236
|
function onFetchResponseSuccess$i(luvio, config, resourceParams, response) {
|
|
24237
24237
|
const snapshot = ingestSuccess$m(luvio, resourceParams, response, {
|
|
24238
24238
|
config,
|
|
24239
|
-
resolve: () => buildNetworkSnapshot$
|
|
24239
|
+
resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
|
|
24240
24240
|
});
|
|
24241
24241
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24242
24242
|
}
|
|
24243
24243
|
function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
24244
24244
|
const snapshot = ingestError$g(luvio, resourceParams, response, {
|
|
24245
24245
|
config,
|
|
24246
|
-
resolve: () => buildNetworkSnapshot$
|
|
24246
|
+
resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
|
|
24247
24247
|
});
|
|
24248
24248
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24249
24249
|
}
|
|
24250
|
-
function buildNetworkSnapshot$
|
|
24250
|
+
function buildNetworkSnapshot$z(luvio, config, options) {
|
|
24251
24251
|
const resourceParams = createResourceParams$s(config);
|
|
24252
24252
|
const request = createResourceRequest$w(resourceParams);
|
|
24253
24253
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -24262,7 +24262,7 @@ function buildNetworkSnapshot$v(luvio, config, options) {
|
|
|
24262
24262
|
});
|
|
24263
24263
|
}
|
|
24264
24264
|
function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
|
|
24265
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
24265
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$z, 'get', false);
|
|
24266
24266
|
}
|
|
24267
24267
|
function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
24268
24268
|
const { luvio, config } = context;
|
|
@@ -24273,7 +24273,7 @@ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
|
24273
24273
|
};
|
|
24274
24274
|
const cacheSnapshot = storeLookup(selector, {
|
|
24275
24275
|
config,
|
|
24276
|
-
resolve: () => buildNetworkSnapshot$
|
|
24276
|
+
resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
|
|
24277
24277
|
});
|
|
24278
24278
|
return cacheSnapshot;
|
|
24279
24279
|
}
|
|
@@ -25415,7 +25415,7 @@ function buildCachedSnapshot$3(luvio, config) {
|
|
|
25415
25415
|
const { recordIds } = config;
|
|
25416
25416
|
return luvio.storeLookup(recordAvatarsSelector(recordIds), {
|
|
25417
25417
|
config,
|
|
25418
|
-
resolve: () => buildNetworkSnapshot$
|
|
25418
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions),
|
|
25419
25419
|
});
|
|
25420
25420
|
}
|
|
25421
25421
|
|
|
@@ -25470,7 +25470,7 @@ function ingestFakeResponse(luvio, recordIds) {
|
|
|
25470
25470
|
function isRecordAvatarBulkMapRepresentation(response) {
|
|
25471
25471
|
return response.body.hasErrors === undefined;
|
|
25472
25472
|
}
|
|
25473
|
-
function buildNetworkSnapshot$
|
|
25473
|
+
function buildNetworkSnapshot$y(luvio, config, options) {
|
|
25474
25474
|
const { uncachedRecordIds, recordIds } = config;
|
|
25475
25475
|
const { recordIdsInFlight, recordIdsNotInFlight } = getRecordIdsFlightStatus(uncachedRecordIds || recordIds, // If uncached records were specified, only get those, otherwise, get all of them
|
|
25476
25476
|
IN_FLIGHT_REQUESTS);
|
|
@@ -25544,7 +25544,7 @@ function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
|
25544
25544
|
const { recordIds } = config;
|
|
25545
25545
|
const cachedSnapshot = storeLookup(recordAvatarsSelector(recordIds), {
|
|
25546
25546
|
config,
|
|
25547
|
-
resolve: () => buildNetworkSnapshot$
|
|
25547
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions),
|
|
25548
25548
|
});
|
|
25549
25549
|
// if the L1 lookup had some data but not all, then put the cache keys that were
|
|
25550
25550
|
// missing onto the context, so buildNetworkSnapshotCachePolicy only requests
|
|
@@ -25573,7 +25573,7 @@ function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext
|
|
|
25573
25573
|
priority: networkPriority,
|
|
25574
25574
|
};
|
|
25575
25575
|
}
|
|
25576
|
-
return buildNetworkSnapshot$
|
|
25576
|
+
return buildNetworkSnapshot$y(luvio, config, dispatchOptions);
|
|
25577
25577
|
}
|
|
25578
25578
|
|
|
25579
25579
|
const adapterName$p = 'getRecordAvatars';
|
|
@@ -25605,14 +25605,14 @@ function validateAdapterConfig$s(untrustedConfig, configPropertyNames) {
|
|
|
25605
25605
|
function onFetchResponseSuccess$h(luvio, config, resourceParams, response) {
|
|
25606
25606
|
const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
|
|
25607
25607
|
config,
|
|
25608
|
-
resolve: () => buildNetworkSnapshot$
|
|
25608
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
25609
25609
|
});
|
|
25610
25610
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
25611
25611
|
}
|
|
25612
25612
|
function onFetchResponseError$h(luvio, config, resourceParams, response) {
|
|
25613
25613
|
const snapshot = ingestError$f(luvio, resourceParams, response, {
|
|
25614
25614
|
config,
|
|
25615
|
-
resolve: () => buildNetworkSnapshot$
|
|
25615
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
25616
25616
|
});
|
|
25617
25617
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
25618
25618
|
}
|
|
@@ -25782,11 +25782,11 @@ function keyBuilder$M(luvio, config) {
|
|
|
25782
25782
|
function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
25783
25783
|
const snapshot = ingestError$L(luvio, resourceParams, response, {
|
|
25784
25784
|
config,
|
|
25785
|
-
resolve: () => buildNetworkSnapshot$
|
|
25785
|
+
resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
|
|
25786
25786
|
});
|
|
25787
25787
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
25788
25788
|
}
|
|
25789
|
-
function buildNetworkSnapshot$
|
|
25789
|
+
function buildNetworkSnapshot$x(luvio, config, options) {
|
|
25790
25790
|
const resourceParams = createResourceParams$11(config);
|
|
25791
25791
|
const request = createResourceRequest$1b(resourceParams);
|
|
25792
25792
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -25801,7 +25801,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
|
|
|
25801
25801
|
});
|
|
25802
25802
|
}
|
|
25803
25803
|
function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
|
|
25804
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
25804
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
|
|
25805
25805
|
}
|
|
25806
25806
|
function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
25807
25807
|
const { luvio, config } = context;
|
|
@@ -25812,7 +25812,7 @@ function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
|
25812
25812
|
};
|
|
25813
25813
|
const cacheSnapshot = storeLookup(selector, {
|
|
25814
25814
|
config,
|
|
25815
|
-
resolve: () => buildNetworkSnapshot$
|
|
25815
|
+
resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
|
|
25816
25816
|
});
|
|
25817
25817
|
return cacheSnapshot;
|
|
25818
25818
|
}
|
|
@@ -26554,18 +26554,18 @@ function adapterFragment$f(luvio, config) {
|
|
|
26554
26554
|
function onFetchResponseSuccess$g(luvio, config, resourceParams, response) {
|
|
26555
26555
|
const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
|
|
26556
26556
|
config,
|
|
26557
|
-
resolve: () => buildNetworkSnapshot$
|
|
26557
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
26558
26558
|
});
|
|
26559
26559
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26560
26560
|
}
|
|
26561
26561
|
function onFetchResponseError$f(luvio, config, resourceParams, response) {
|
|
26562
26562
|
const snapshot = ingestError$d(luvio, resourceParams, response, {
|
|
26563
26563
|
config,
|
|
26564
|
-
resolve: () => buildNetworkSnapshot$
|
|
26564
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
26565
26565
|
});
|
|
26566
26566
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26567
26567
|
}
|
|
26568
|
-
function buildNetworkSnapshot$
|
|
26568
|
+
function buildNetworkSnapshot$w(luvio, config, options) {
|
|
26569
26569
|
const resourceParams = createResourceParams$q(config);
|
|
26570
26570
|
const request = createResourceRequest$t(resourceParams);
|
|
26571
26571
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -26580,7 +26580,7 @@ function buildNetworkSnapshot$s(luvio, config, options) {
|
|
|
26580
26580
|
});
|
|
26581
26581
|
}
|
|
26582
26582
|
function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
|
|
26583
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
26583
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
|
|
26584
26584
|
}
|
|
26585
26585
|
function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
26586
26586
|
const { luvio, config } = context;
|
|
@@ -26591,7 +26591,7 @@ function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
|
26591
26591
|
};
|
|
26592
26592
|
const cacheSnapshot = storeLookup(selector, {
|
|
26593
26593
|
config,
|
|
26594
|
-
resolve: () => buildNetworkSnapshot$
|
|
26594
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
26595
26595
|
});
|
|
26596
26596
|
return cacheSnapshot;
|
|
26597
26597
|
}
|
|
@@ -26643,18 +26643,18 @@ function adapterFragment$e(luvio, config) {
|
|
|
26643
26643
|
function onFetchResponseSuccess$f(luvio, config, resourceParams, response) {
|
|
26644
26644
|
const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
|
|
26645
26645
|
config,
|
|
26646
|
-
resolve: () => buildNetworkSnapshot$
|
|
26646
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
26647
26647
|
});
|
|
26648
26648
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26649
26649
|
}
|
|
26650
26650
|
function onFetchResponseError$e(luvio, config, resourceParams, response) {
|
|
26651
26651
|
const snapshot = ingestError$e(luvio, resourceParams, response, {
|
|
26652
26652
|
config,
|
|
26653
|
-
resolve: () => buildNetworkSnapshot$
|
|
26653
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
26654
26654
|
});
|
|
26655
26655
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26656
26656
|
}
|
|
26657
|
-
function buildNetworkSnapshot$
|
|
26657
|
+
function buildNetworkSnapshot$v(luvio, config, options) {
|
|
26658
26658
|
const resourceParams = createResourceParams$p(config);
|
|
26659
26659
|
const request = createResourceRequest$u(resourceParams);
|
|
26660
26660
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -26669,7 +26669,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
|
|
|
26669
26669
|
});
|
|
26670
26670
|
}
|
|
26671
26671
|
function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
|
|
26672
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
26672
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
|
|
26673
26673
|
}
|
|
26674
26674
|
function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
26675
26675
|
const { luvio, config } = context;
|
|
@@ -26680,7 +26680,7 @@ function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
|
26680
26680
|
};
|
|
26681
26681
|
const cacheSnapshot = storeLookup(selector, {
|
|
26682
26682
|
config,
|
|
26683
|
-
resolve: () => buildNetworkSnapshot$
|
|
26683
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
26684
26684
|
});
|
|
26685
26685
|
return cacheSnapshot;
|
|
26686
26686
|
}
|
|
@@ -27518,18 +27518,18 @@ function adapterFragment$d(luvio, config) {
|
|
|
27518
27518
|
function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
|
|
27519
27519
|
const snapshot = ingestSuccess$h(luvio, resourceParams, response, {
|
|
27520
27520
|
config,
|
|
27521
|
-
resolve: () => buildNetworkSnapshot$
|
|
27521
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
27522
27522
|
});
|
|
27523
27523
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27524
27524
|
}
|
|
27525
27525
|
function onFetchResponseError$d(luvio, config, resourceParams, response) {
|
|
27526
27526
|
const snapshot = ingestError$b(luvio, resourceParams, response, {
|
|
27527
27527
|
config,
|
|
27528
|
-
resolve: () => buildNetworkSnapshot$
|
|
27528
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
27529
27529
|
});
|
|
27530
27530
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27531
27531
|
}
|
|
27532
|
-
function buildNetworkSnapshot$
|
|
27532
|
+
function buildNetworkSnapshot$u(luvio, config, options) {
|
|
27533
27533
|
const resourceParams = createResourceParams$o(config);
|
|
27534
27534
|
const request = createResourceRequest$r(resourceParams);
|
|
27535
27535
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -27544,7 +27544,7 @@ function buildNetworkSnapshot$q(luvio, config, options) {
|
|
|
27544
27544
|
});
|
|
27545
27545
|
}
|
|
27546
27546
|
function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
|
|
27547
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
27547
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
|
|
27548
27548
|
}
|
|
27549
27549
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
27550
27550
|
const { luvio, config } = context;
|
|
@@ -27555,7 +27555,7 @@ function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
|
27555
27555
|
};
|
|
27556
27556
|
const cacheSnapshot = storeLookup(selector, {
|
|
27557
27557
|
config,
|
|
27558
|
-
resolve: () => buildNetworkSnapshot$
|
|
27558
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
27559
27559
|
});
|
|
27560
27560
|
return cacheSnapshot;
|
|
27561
27561
|
}
|
|
@@ -27911,18 +27911,18 @@ function adapterFragment$c(luvio, config) {
|
|
|
27911
27911
|
function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
|
|
27912
27912
|
const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
|
|
27913
27913
|
config,
|
|
27914
|
-
resolve: () => buildNetworkSnapshot$
|
|
27914
|
+
resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
|
|
27915
27915
|
});
|
|
27916
27916
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27917
27917
|
}
|
|
27918
27918
|
function onFetchResponseError$c(luvio, config, resourceParams, response) {
|
|
27919
27919
|
const snapshot = ingestError$a(luvio, resourceParams, response, {
|
|
27920
27920
|
config,
|
|
27921
|
-
resolve: () => buildNetworkSnapshot$
|
|
27921
|
+
resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
|
|
27922
27922
|
});
|
|
27923
27923
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27924
27924
|
}
|
|
27925
|
-
function buildNetworkSnapshot$
|
|
27925
|
+
function buildNetworkSnapshot$t(luvio, config, options) {
|
|
27926
27926
|
const resourceParams = createResourceParams$n(config);
|
|
27927
27927
|
const request = createResourceRequest$q(resourceParams);
|
|
27928
27928
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -27937,7 +27937,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
27937
27937
|
});
|
|
27938
27938
|
}
|
|
27939
27939
|
function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
|
|
27940
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
27940
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
|
|
27941
27941
|
}
|
|
27942
27942
|
function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
27943
27943
|
const { luvio, config } = context;
|
|
@@ -27948,7 +27948,7 @@ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
|
27948
27948
|
};
|
|
27949
27949
|
const cacheSnapshot = storeLookup(selector, {
|
|
27950
27950
|
config,
|
|
27951
|
-
resolve: () => buildNetworkSnapshot$
|
|
27951
|
+
resolve: () => buildNetworkSnapshot$t(luvio, config, snapshotRefreshOptions)
|
|
27952
27952
|
});
|
|
27953
27953
|
return cacheSnapshot;
|
|
27954
27954
|
}
|
|
@@ -28003,18 +28003,18 @@ function adapterFragment$b(luvio, config) {
|
|
|
28003
28003
|
function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
|
|
28004
28004
|
const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
|
|
28005
28005
|
config,
|
|
28006
|
-
resolve: () => buildNetworkSnapshot$
|
|
28006
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
28007
28007
|
});
|
|
28008
28008
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28009
28009
|
}
|
|
28010
28010
|
function onFetchResponseError$b(luvio, config, resourceParams, response) {
|
|
28011
28011
|
const snapshot = ingestError$c(luvio, resourceParams, response, {
|
|
28012
28012
|
config,
|
|
28013
|
-
resolve: () => buildNetworkSnapshot$
|
|
28013
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
28014
28014
|
});
|
|
28015
28015
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28016
28016
|
}
|
|
28017
|
-
function buildNetworkSnapshot$
|
|
28017
|
+
function buildNetworkSnapshot$s(luvio, config, options) {
|
|
28018
28018
|
const resourceParams = createResourceParams$m(config);
|
|
28019
28019
|
const request = createResourceRequest$s(resourceParams);
|
|
28020
28020
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28029,7 +28029,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
28029
28029
|
});
|
|
28030
28030
|
}
|
|
28031
28031
|
function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
|
|
28032
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28032
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
|
|
28033
28033
|
}
|
|
28034
28034
|
function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
28035
28035
|
const { luvio, config } = context;
|
|
@@ -28040,7 +28040,7 @@ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
|
28040
28040
|
};
|
|
28041
28041
|
const cacheSnapshot = storeLookup(selector, {
|
|
28042
28042
|
config,
|
|
28043
|
-
resolve: () => buildNetworkSnapshot$
|
|
28043
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
28044
28044
|
});
|
|
28045
28045
|
return cacheSnapshot;
|
|
28046
28046
|
}
|
|
@@ -28178,7 +28178,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
28178
28178
|
}
|
|
28179
28179
|
return config;
|
|
28180
28180
|
}
|
|
28181
|
-
function buildNetworkSnapshot$
|
|
28181
|
+
function buildNetworkSnapshot$r(luvio, config, options) {
|
|
28182
28182
|
const resourceParams = createResourceParams$l(config);
|
|
28183
28183
|
const request = createResourceRequest$p(resourceParams);
|
|
28184
28184
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28203,7 +28203,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
28203
28203
|
if (config === null) {
|
|
28204
28204
|
throw new Error('Invalid config for "updateRelatedListInfo"');
|
|
28205
28205
|
}
|
|
28206
|
-
return buildNetworkSnapshot$
|
|
28206
|
+
return buildNetworkSnapshot$r(luvio, config);
|
|
28207
28207
|
};
|
|
28208
28208
|
};
|
|
28209
28209
|
|
|
@@ -28665,18 +28665,18 @@ function adapterFragment$a(luvio, config) {
|
|
|
28665
28665
|
function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
|
|
28666
28666
|
const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
|
|
28667
28667
|
config,
|
|
28668
|
-
resolve: () => buildNetworkSnapshot$
|
|
28668
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
28669
28669
|
});
|
|
28670
28670
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28671
28671
|
}
|
|
28672
28672
|
function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
28673
28673
|
const snapshot = ingestError$8(luvio, resourceParams, response, {
|
|
28674
28674
|
config,
|
|
28675
|
-
resolve: () => buildNetworkSnapshot$
|
|
28675
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
28676
28676
|
});
|
|
28677
28677
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28678
28678
|
}
|
|
28679
|
-
function buildNetworkSnapshot$
|
|
28679
|
+
function buildNetworkSnapshot$q(luvio, config, options) {
|
|
28680
28680
|
const resourceParams = createResourceParams$k(config);
|
|
28681
28681
|
const request = createResourceRequest$n(resourceParams);
|
|
28682
28682
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28691,7 +28691,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
|
|
|
28691
28691
|
});
|
|
28692
28692
|
}
|
|
28693
28693
|
function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
|
|
28694
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28694
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
|
|
28695
28695
|
}
|
|
28696
28696
|
function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
28697
28697
|
const { luvio, config } = context;
|
|
@@ -28702,7 +28702,7 @@ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
|
28702
28702
|
};
|
|
28703
28703
|
const cacheSnapshot = storeLookup(selector, {
|
|
28704
28704
|
config,
|
|
28705
|
-
resolve: () => buildNetworkSnapshot$
|
|
28705
|
+
resolve: () => buildNetworkSnapshot$q(luvio, config, snapshotRefreshOptions)
|
|
28706
28706
|
});
|
|
28707
28707
|
return cacheSnapshot;
|
|
28708
28708
|
}
|
|
@@ -28751,18 +28751,18 @@ function adapterFragment$9(luvio, config) {
|
|
|
28751
28751
|
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
28752
28752
|
const snapshot = ingestSuccess$e(luvio, resourceParams, response, {
|
|
28753
28753
|
config,
|
|
28754
|
-
resolve: () => buildNetworkSnapshot$
|
|
28754
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
28755
28755
|
});
|
|
28756
28756
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28757
28757
|
}
|
|
28758
28758
|
function onFetchResponseError$9(luvio, config, resourceParams, response) {
|
|
28759
28759
|
const snapshot = ingestError$9(luvio, resourceParams, response, {
|
|
28760
28760
|
config,
|
|
28761
|
-
resolve: () => buildNetworkSnapshot$
|
|
28761
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
28762
28762
|
});
|
|
28763
28763
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28764
28764
|
}
|
|
28765
|
-
function buildNetworkSnapshot$
|
|
28765
|
+
function buildNetworkSnapshot$p(luvio, config, options) {
|
|
28766
28766
|
const resourceParams = createResourceParams$j(config);
|
|
28767
28767
|
const request = createResourceRequest$o(resourceParams);
|
|
28768
28768
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28777,7 +28777,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
|
|
|
28777
28777
|
});
|
|
28778
28778
|
}
|
|
28779
28779
|
function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
|
|
28780
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28780
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, undefined, false);
|
|
28781
28781
|
}
|
|
28782
28782
|
function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
28783
28783
|
const { luvio, config } = context;
|
|
@@ -28788,7 +28788,7 @@ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
|
28788
28788
|
};
|
|
28789
28789
|
const cacheSnapshot = storeLookup(selector, {
|
|
28790
28790
|
config,
|
|
28791
|
-
resolve: () => buildNetworkSnapshot$
|
|
28791
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
28792
28792
|
});
|
|
28793
28793
|
return cacheSnapshot;
|
|
28794
28794
|
}
|
|
@@ -28912,7 +28912,7 @@ function validateAdapterConfig$i(untrustedConfig, configPropertyNames) {
|
|
|
28912
28912
|
}
|
|
28913
28913
|
return config;
|
|
28914
28914
|
}
|
|
28915
|
-
function buildNetworkSnapshot$
|
|
28915
|
+
function buildNetworkSnapshot$o(luvio, config, options) {
|
|
28916
28916
|
const resourceParams = createResourceParams$i(config);
|
|
28917
28917
|
const request = createResourceRequest$m(resourceParams);
|
|
28918
28918
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28937,7 +28937,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
28937
28937
|
if (config === null) {
|
|
28938
28938
|
throw new Error('Invalid config for "updateRelatedListPreferences"');
|
|
28939
28939
|
}
|
|
28940
|
-
return buildNetworkSnapshot$
|
|
28940
|
+
return buildNetworkSnapshot$o(luvio, config);
|
|
28941
28941
|
};
|
|
28942
28942
|
};
|
|
28943
28943
|
|
|
@@ -30237,18 +30237,18 @@ function adapterFragment$8(luvio, config) {
|
|
|
30237
30237
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
30238
30238
|
const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
|
|
30239
30239
|
config,
|
|
30240
|
-
resolve: () => buildNetworkSnapshot$
|
|
30240
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
30241
30241
|
});
|
|
30242
30242
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30243
30243
|
}
|
|
30244
30244
|
function onFetchResponseError$8(luvio, config, resourceParams, response) {
|
|
30245
30245
|
const snapshot = ingestError$6(luvio, resourceParams, response, {
|
|
30246
30246
|
config,
|
|
30247
|
-
resolve: () => buildNetworkSnapshot$
|
|
30247
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
30248
30248
|
});
|
|
30249
30249
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30250
30250
|
}
|
|
30251
|
-
function buildNetworkSnapshot$
|
|
30251
|
+
function buildNetworkSnapshot$n(luvio, config, options) {
|
|
30252
30252
|
const resourceParams = createResourceParams$h(config);
|
|
30253
30253
|
const request = createResourceRequest$k(resourceParams);
|
|
30254
30254
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -30263,7 +30263,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
|
|
|
30263
30263
|
});
|
|
30264
30264
|
}
|
|
30265
30265
|
function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
|
|
30266
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
30266
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, 'get', false);
|
|
30267
30267
|
}
|
|
30268
30268
|
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
30269
30269
|
const { luvio, config } = context;
|
|
@@ -30274,7 +30274,7 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
|
30274
30274
|
};
|
|
30275
30275
|
const cacheSnapshot = storeLookup(selector, {
|
|
30276
30276
|
config,
|
|
30277
|
-
resolve: () => buildNetworkSnapshot$
|
|
30277
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
30278
30278
|
});
|
|
30279
30279
|
return cacheSnapshot;
|
|
30280
30280
|
}
|
|
@@ -30332,14 +30332,14 @@ function adapterFragment$7(luvio, config) {
|
|
|
30332
30332
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
30333
30333
|
const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
|
|
30334
30334
|
config,
|
|
30335
|
-
resolve: () => buildNetworkSnapshot$
|
|
30335
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
30336
30336
|
});
|
|
30337
30337
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30338
30338
|
}
|
|
30339
30339
|
function onFetchResponseError$7(luvio, config, resourceParams, response) {
|
|
30340
30340
|
const snapshot = ingestError$7(luvio, resourceParams, response, {
|
|
30341
30341
|
config,
|
|
30342
|
-
resolve: () => buildNetworkSnapshot$
|
|
30342
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
30343
30343
|
});
|
|
30344
30344
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30345
30345
|
}
|
|
@@ -30410,7 +30410,7 @@ function getPaginationMetadata$1(luvio, resourceParams) {
|
|
|
30410
30410
|
}
|
|
30411
30411
|
return node.data.__metadata;
|
|
30412
30412
|
}
|
|
30413
|
-
function buildNetworkSnapshot$
|
|
30413
|
+
function buildNetworkSnapshot$m(luvio, config, options, cacheSnapshot) {
|
|
30414
30414
|
const resourceParams = createResourceParams$g(config);
|
|
30415
30415
|
const request = prepareRequest$2(luvio, config, resourceParams, cacheSnapshot);
|
|
30416
30416
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -30425,7 +30425,7 @@ function buildNetworkSnapshot$i(luvio, config, options, cacheSnapshot) {
|
|
|
30425
30425
|
});
|
|
30426
30426
|
}
|
|
30427
30427
|
function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
|
|
30428
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
30428
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, 'get', true);
|
|
30429
30429
|
}
|
|
30430
30430
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
30431
30431
|
const { luvio, config } = context;
|
|
@@ -30436,7 +30436,7 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
|
30436
30436
|
};
|
|
30437
30437
|
const cacheSnapshot = storeLookup(selector, {
|
|
30438
30438
|
config,
|
|
30439
|
-
resolve: () => buildNetworkSnapshot$
|
|
30439
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
30440
30440
|
});
|
|
30441
30441
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
30442
30442
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -30768,18 +30768,18 @@ function adapterFragment$6(luvio, config) {
|
|
|
30768
30768
|
function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
|
|
30769
30769
|
const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
|
|
30770
30770
|
config,
|
|
30771
|
-
resolve: () => buildNetworkSnapshot$
|
|
30771
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
30772
30772
|
});
|
|
30773
30773
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30774
30774
|
}
|
|
30775
30775
|
function onFetchResponseError$6(luvio, config, resourceParams, response) {
|
|
30776
30776
|
const snapshot = ingestError$5(luvio, resourceParams, response, {
|
|
30777
30777
|
config,
|
|
30778
|
-
resolve: () => buildNetworkSnapshot$
|
|
30778
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
30779
30779
|
});
|
|
30780
30780
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30781
30781
|
}
|
|
30782
|
-
function buildNetworkSnapshot$
|
|
30782
|
+
function buildNetworkSnapshot$l(luvio, config, options) {
|
|
30783
30783
|
const resourceParams = createResourceParams$f(config);
|
|
30784
30784
|
const request = createResourceRequest$j(resourceParams);
|
|
30785
30785
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -30794,7 +30794,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
30794
30794
|
});
|
|
30795
30795
|
}
|
|
30796
30796
|
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
30797
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
30797
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
|
|
30798
30798
|
}
|
|
30799
30799
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
30800
30800
|
const { luvio, config } = context;
|
|
@@ -30805,7 +30805,7 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
|
30805
30805
|
};
|
|
30806
30806
|
const cacheSnapshot = storeLookup(selector, {
|
|
30807
30807
|
config,
|
|
30808
|
-
resolve: () => buildNetworkSnapshot$
|
|
30808
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
30809
30809
|
});
|
|
30810
30810
|
return cacheSnapshot;
|
|
30811
30811
|
}
|
|
@@ -31024,18 +31024,18 @@ function adapterFragment$5(luvio, config) {
|
|
|
31024
31024
|
function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
|
|
31025
31025
|
const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
|
|
31026
31026
|
config,
|
|
31027
|
-
resolve: () => buildNetworkSnapshot$
|
|
31027
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
31028
31028
|
});
|
|
31029
31029
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31030
31030
|
}
|
|
31031
31031
|
function onFetchResponseError$5(luvio, config, resourceParams, response) {
|
|
31032
31032
|
const snapshot = ingestError$4(luvio, resourceParams, response, {
|
|
31033
31033
|
config,
|
|
31034
|
-
resolve: () => buildNetworkSnapshot$
|
|
31034
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
31035
31035
|
});
|
|
31036
31036
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31037
31037
|
}
|
|
31038
|
-
function buildNetworkSnapshot$
|
|
31038
|
+
function buildNetworkSnapshot$k(luvio, config, options) {
|
|
31039
31039
|
const resourceParams = createResourceParams$e(config);
|
|
31040
31040
|
const request = createResourceRequest$i(resourceParams);
|
|
31041
31041
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -31050,7 +31050,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
|
|
|
31050
31050
|
});
|
|
31051
31051
|
}
|
|
31052
31052
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
31053
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
31053
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, undefined, false);
|
|
31054
31054
|
}
|
|
31055
31055
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
31056
31056
|
const { luvio, config } = context;
|
|
@@ -31061,7 +31061,7 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
|
31061
31061
|
};
|
|
31062
31062
|
const cacheSnapshot = storeLookup(selector, {
|
|
31063
31063
|
config,
|
|
31064
|
-
resolve: () => buildNetworkSnapshot$
|
|
31064
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
31065
31065
|
});
|
|
31066
31066
|
return cacheSnapshot;
|
|
31067
31067
|
}
|
|
@@ -31441,18 +31441,18 @@ function adapterFragment$4(luvio, config) {
|
|
|
31441
31441
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
31442
31442
|
const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
|
|
31443
31443
|
config,
|
|
31444
|
-
resolve: () => buildNetworkSnapshot$
|
|
31444
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
31445
31445
|
});
|
|
31446
31446
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31447
31447
|
}
|
|
31448
31448
|
function onFetchResponseError$4(luvio, config, resourceParams, response) {
|
|
31449
31449
|
const snapshot = ingestError$3(luvio, resourceParams, response, {
|
|
31450
31450
|
config,
|
|
31451
|
-
resolve: () => buildNetworkSnapshot$
|
|
31451
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
31452
31452
|
});
|
|
31453
31453
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31454
31454
|
}
|
|
31455
|
-
function buildNetworkSnapshot$
|
|
31455
|
+
function buildNetworkSnapshot$j(luvio, config, options) {
|
|
31456
31456
|
const resourceParams = createResourceParams$d(config);
|
|
31457
31457
|
const request = createResourceRequest$h(resourceParams);
|
|
31458
31458
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -31467,7 +31467,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
|
|
|
31467
31467
|
});
|
|
31468
31468
|
}
|
|
31469
31469
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
31470
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
31470
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, undefined, false);
|
|
31471
31471
|
}
|
|
31472
31472
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
31473
31473
|
const { luvio, config } = context;
|
|
@@ -31478,7 +31478,7 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
|
31478
31478
|
};
|
|
31479
31479
|
const cacheSnapshot = storeLookup(selector, {
|
|
31480
31480
|
config,
|
|
31481
|
-
resolve: () => buildNetworkSnapshot$
|
|
31481
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
31482
31482
|
});
|
|
31483
31483
|
return cacheSnapshot;
|
|
31484
31484
|
}
|
|
@@ -32471,18 +32471,18 @@ function adapterFragment$3(luvio, config) {
|
|
|
32471
32471
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
32472
32472
|
const snapshot = ingestSuccess$6(luvio, resourceParams, response, {
|
|
32473
32473
|
config,
|
|
32474
|
-
resolve: () => buildNetworkSnapshot$
|
|
32474
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
|
|
32475
32475
|
});
|
|
32476
32476
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32477
32477
|
}
|
|
32478
32478
|
function onFetchResponseError$3(luvio, config, resourceParams, response) {
|
|
32479
32479
|
const snapshot = ingestError$2(luvio, resourceParams, response, {
|
|
32480
32480
|
config,
|
|
32481
|
-
resolve: () => buildNetworkSnapshot$
|
|
32481
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
|
|
32482
32482
|
});
|
|
32483
32483
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32484
32484
|
}
|
|
32485
|
-
function buildNetworkSnapshot$
|
|
32485
|
+
function buildNetworkSnapshot$i(luvio, config, options) {
|
|
32486
32486
|
const resourceParams = createResourceParams$c(config);
|
|
32487
32487
|
const request = createResourceRequest$g(resourceParams);
|
|
32488
32488
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -32497,7 +32497,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
|
|
|
32497
32497
|
});
|
|
32498
32498
|
}
|
|
32499
32499
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
32500
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
32500
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$i, 'get', false);
|
|
32501
32501
|
}
|
|
32502
32502
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
32503
32503
|
const { luvio, config } = context;
|
|
@@ -32508,7 +32508,7 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
|
32508
32508
|
};
|
|
32509
32509
|
const cacheSnapshot = storeLookup(selector, {
|
|
32510
32510
|
config,
|
|
32511
|
-
resolve: () => buildNetworkSnapshot$
|
|
32511
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions)
|
|
32512
32512
|
});
|
|
32513
32513
|
return cacheSnapshot;
|
|
32514
32514
|
}
|
|
@@ -32754,18 +32754,18 @@ function adapterFragment$2(luvio, config) {
|
|
|
32754
32754
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
32755
32755
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
32756
32756
|
config,
|
|
32757
|
-
resolve: () => buildNetworkSnapshot$
|
|
32757
|
+
resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
|
|
32758
32758
|
});
|
|
32759
32759
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32760
32760
|
}
|
|
32761
32761
|
function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
32762
32762
|
const snapshot = ingestError$1(luvio, resourceParams, response, {
|
|
32763
32763
|
config,
|
|
32764
|
-
resolve: () => buildNetworkSnapshot$
|
|
32764
|
+
resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
|
|
32765
32765
|
});
|
|
32766
32766
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32767
32767
|
}
|
|
32768
|
-
function buildNetworkSnapshot$
|
|
32768
|
+
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
32769
32769
|
const resourceParams = createResourceParams$b(config);
|
|
32770
32770
|
const request = createResourceRequest$f(resourceParams);
|
|
32771
32771
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -32780,7 +32780,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
32780
32780
|
});
|
|
32781
32781
|
}
|
|
32782
32782
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
32783
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
32783
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, 'get', false);
|
|
32784
32784
|
}
|
|
32785
32785
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
32786
32786
|
const { luvio, config } = context;
|
|
@@ -32791,7 +32791,7 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
|
32791
32791
|
};
|
|
32792
32792
|
const cacheSnapshot = storeLookup(selector, {
|
|
32793
32793
|
config,
|
|
32794
|
-
resolve: () => buildNetworkSnapshot$
|
|
32794
|
+
resolve: () => buildNetworkSnapshot$h(luvio, config, snapshotRefreshOptions)
|
|
32795
32795
|
});
|
|
32796
32796
|
return cacheSnapshot;
|
|
32797
32797
|
}
|
|
@@ -32947,6 +32947,25 @@ function createResourceRequest$e(config) {
|
|
|
32947
32947
|
};
|
|
32948
32948
|
}
|
|
32949
32949
|
|
|
32950
|
+
/**
|
|
32951
|
+
* Builds the dispatch options for a DML (mutating) adapter from the caller's
|
|
32952
|
+
* narrowed request context, forwarding the `requestCorrelator` so the
|
|
32953
|
+
* originating observability context reaches the network adapter.
|
|
32954
|
+
*
|
|
32955
|
+
* Returns `undefined` when no request context was supplied, preserving the
|
|
32956
|
+
* pre-existing behavior where mutating adapters dispatched with no options.
|
|
32957
|
+
*/
|
|
32958
|
+
function createDispatchResourceRequestContext$2(requestContext) {
|
|
32959
|
+
if (requestContext === undefined) {
|
|
32960
|
+
return undefined;
|
|
32961
|
+
}
|
|
32962
|
+
return {
|
|
32963
|
+
resourceRequestContext: {
|
|
32964
|
+
requestCorrelator: requestContext.requestCorrelator,
|
|
32965
|
+
},
|
|
32966
|
+
};
|
|
32967
|
+
}
|
|
32968
|
+
|
|
32950
32969
|
const adapterName$7 = 'executeBatchRecordOperations';
|
|
32951
32970
|
const executeBatchRecordOperations_ConfigPropertyMetadata = [
|
|
32952
32971
|
generateParamConfigMetadata('allOrNone', true, 2, 1, false),
|
|
@@ -33009,7 +33028,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
|
33009
33028
|
}
|
|
33010
33029
|
return config;
|
|
33011
33030
|
}
|
|
33012
|
-
function buildNetworkSnapshot$
|
|
33031
|
+
function buildNetworkSnapshot$g(luvio, config, options) {
|
|
33013
33032
|
const resourceParams = batchUpdateRecordsCreateResourceParams(config);
|
|
33014
33033
|
const request = createResourceRequest$e(resourceParams);
|
|
33015
33034
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -33027,14 +33046,14 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
33027
33046
|
});
|
|
33028
33047
|
}
|
|
33029
33048
|
const factory$e = (luvio) => {
|
|
33030
|
-
return function executeBatchRecordOperations(untrustedConfig) {
|
|
33049
|
+
return function executeBatchRecordOperations(untrustedConfig, requestContext) {
|
|
33031
33050
|
const config = validateAdapterConfig$a(untrustedConfig, executeBatchRecordOperations_ConfigPropertyNames);
|
|
33032
33051
|
// Invalid or incomplete config
|
|
33033
33052
|
if (config === null) {
|
|
33034
33053
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
33035
33054
|
throw new Error('Invalid config for "executeBatchRecordOperations"');
|
|
33036
33055
|
}
|
|
33037
|
-
return buildNetworkSnapshot$
|
|
33056
|
+
return buildNetworkSnapshot$g(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
33038
33057
|
};
|
|
33039
33058
|
};
|
|
33040
33059
|
|
|
@@ -33083,7 +33102,7 @@ const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
|
33083
33102
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
33084
33103
|
];
|
|
33085
33104
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$13(performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
33086
|
-
function buildNetworkSnapshot$
|
|
33105
|
+
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
33087
33106
|
const resourceParams = createResourceParams$a(config);
|
|
33088
33107
|
const request = createResourceRequest$d(resourceParams);
|
|
33089
33108
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -33147,7 +33166,7 @@ const performQuickAction_ConfigPropertyMetadata = [
|
|
|
33147
33166
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
33148
33167
|
];
|
|
33149
33168
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$13(performQuickAction_ConfigPropertyMetadata);
|
|
33150
|
-
function buildNetworkSnapshot$
|
|
33169
|
+
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
33151
33170
|
const resourceParams = createResourceParams$9(config);
|
|
33152
33171
|
const request = createResourceRequest$c(resourceParams);
|
|
33153
33172
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -33166,31 +33185,37 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
33166
33185
|
});
|
|
33167
33186
|
}
|
|
33168
33187
|
|
|
33188
|
+
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
33189
|
+
return buildNetworkSnapshot$f(luvio, config, options);
|
|
33190
|
+
}
|
|
33169
33191
|
const factory$d = (luvio) => {
|
|
33170
|
-
return function (untrustedConfig) {
|
|
33192
|
+
return function (untrustedConfig, requestContext) {
|
|
33171
33193
|
const config = untrustedConfig;
|
|
33172
33194
|
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformUpdateRecordQuickActionAdapter();
|
|
33173
33195
|
if (draftAdapter !== undefined) {
|
|
33174
33196
|
return draftAdapter(config, (config) => {
|
|
33175
33197
|
const resourceParams = createResourceParams$9(config);
|
|
33176
33198
|
return createResourceRequest$d(resourceParams);
|
|
33177
|
-
});
|
|
33199
|
+
}, requestContext);
|
|
33178
33200
|
}
|
|
33179
|
-
return buildNetworkSnapshot$
|
|
33201
|
+
return buildNetworkSnapshot$d(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
33180
33202
|
};
|
|
33181
33203
|
};
|
|
33182
33204
|
|
|
33205
|
+
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
33206
|
+
return buildNetworkSnapshot$e(luvio, config, options);
|
|
33207
|
+
}
|
|
33183
33208
|
const factory$c = (luvio) => {
|
|
33184
|
-
return function (untrustedConfig) {
|
|
33209
|
+
return function (untrustedConfig, requestContext) {
|
|
33185
33210
|
const config = untrustedConfig;
|
|
33186
33211
|
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformQuickActionAdapter();
|
|
33187
33212
|
if (draftAdapter !== undefined) {
|
|
33188
33213
|
return draftAdapter(config, (config) => {
|
|
33189
33214
|
const resourceParams = createResourceParams$9(config);
|
|
33190
33215
|
return createResourceRequest$c(resourceParams);
|
|
33191
|
-
});
|
|
33216
|
+
}, requestContext);
|
|
33192
33217
|
}
|
|
33193
|
-
return buildNetworkSnapshot$
|
|
33218
|
+
return buildNetworkSnapshot$c(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
33194
33219
|
};
|
|
33195
33220
|
};
|
|
33196
33221
|
|
|
@@ -33239,8 +33264,10 @@ function addAdditionalFieldsForNorming(layoutUserState, apiName, recordTypeId, l
|
|
|
33239
33264
|
layoutUserState.layoutType = layoutType;
|
|
33240
33265
|
layoutUserState.mode = mode;
|
|
33241
33266
|
}
|
|
33242
|
-
function updateLayoutUserState$1(luvio, config, key, updateRequest) {
|
|
33243
|
-
return luvio
|
|
33267
|
+
function updateLayoutUserState$1(luvio, config, key, updateRequest, options) {
|
|
33268
|
+
return luvio
|
|
33269
|
+
.dispatchResourceRequest(updateRequest, options)
|
|
33270
|
+
.then((response) => {
|
|
33244
33271
|
const { body } = response;
|
|
33245
33272
|
return luvio.handleSuccessResponse(() => ingestAndBroadcast(luvio, key, config, body), () => {
|
|
33246
33273
|
const cache = new StoreKeyMap();
|
|
@@ -33317,7 +33344,7 @@ function coerceConfigWithDefaults$2(untrusted, layoutUserStateInput) {
|
|
|
33317
33344
|
};
|
|
33318
33345
|
}
|
|
33319
33346
|
const factory$b = (luvio) => {
|
|
33320
|
-
return (untrustedObjectApiName, untrustedRecordTypeId, untrustedLayoutType, untrustedMode, untrustedLayoutUserStateInput) => {
|
|
33347
|
+
return (untrustedObjectApiName, untrustedRecordTypeId, untrustedLayoutType, untrustedMode, untrustedLayoutUserStateInput, requestContext) => {
|
|
33321
33348
|
const untrusted = {
|
|
33322
33349
|
objectApiName: untrustedObjectApiName,
|
|
33323
33350
|
recordTypeId: untrustedRecordTypeId,
|
|
@@ -33357,11 +33384,11 @@ const factory$b = (luvio) => {
|
|
|
33357
33384
|
ingestAndBroadcast(luvio, key, config, updatedLayoutUserState);
|
|
33358
33385
|
}
|
|
33359
33386
|
}
|
|
33360
|
-
return updateLayoutUserState$1(luvio, config, key, updateRequest);
|
|
33387
|
+
return updateLayoutUserState$1(luvio, config, key, updateRequest, createDispatchResourceRequestContext$2(requestContext));
|
|
33361
33388
|
};
|
|
33362
33389
|
};
|
|
33363
33390
|
|
|
33364
|
-
function buildNetworkSnapshot$
|
|
33391
|
+
function buildNetworkSnapshot$b(luvio, config, options, cacheSnapshot) {
|
|
33365
33392
|
const resourceParams = createResourceParams$8(config);
|
|
33366
33393
|
const request = prepareRequest$1(luvio, config, resourceParams, cacheSnapshot);
|
|
33367
33394
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -33433,14 +33460,14 @@ function adapterFragment$1(luvio, config) {
|
|
|
33433
33460
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
33434
33461
|
const snapshot = ingestSuccess$R(luvio, resourceParams, response, {
|
|
33435
33462
|
config,
|
|
33436
|
-
resolve: () => buildNetworkSnapshot$
|
|
33463
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
33437
33464
|
});
|
|
33438
33465
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
33439
33466
|
}
|
|
33440
33467
|
function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
33441
33468
|
const snapshot = ingestError$K(luvio, resourceParams, response, {
|
|
33442
33469
|
config,
|
|
33443
|
-
resolve: () => buildNetworkSnapshot$
|
|
33470
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
33444
33471
|
});
|
|
33445
33472
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
33446
33473
|
}
|
|
@@ -33520,7 +33547,7 @@ function getPaginationMetadata(luvio, resourceParams) {
|
|
|
33520
33547
|
return node.data.__metadata;
|
|
33521
33548
|
}
|
|
33522
33549
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
33523
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
33550
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, 'get', true);
|
|
33524
33551
|
}
|
|
33525
33552
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
33526
33553
|
const { luvio, config } = context;
|
|
@@ -33531,7 +33558,7 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
|
33531
33558
|
};
|
|
33532
33559
|
const cacheSnapshot = storeLookup(selector, {
|
|
33533
33560
|
config,
|
|
33534
|
-
resolve: () => buildNetworkSnapshot$
|
|
33561
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
33535
33562
|
});
|
|
33536
33563
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
33537
33564
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -33832,7 +33859,7 @@ function removeEtags(recordRep) {
|
|
|
33832
33859
|
}
|
|
33833
33860
|
});
|
|
33834
33861
|
}
|
|
33835
|
-
function buildNetworkSnapshot$
|
|
33862
|
+
function buildNetworkSnapshot$a(luvio, config, options) {
|
|
33836
33863
|
const { objectApiName, fieldApiName } = config;
|
|
33837
33864
|
const resourceParams = {
|
|
33838
33865
|
/*
|
|
@@ -33910,7 +33937,7 @@ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext
|
|
|
33910
33937
|
priority: networkPriority,
|
|
33911
33938
|
};
|
|
33912
33939
|
}
|
|
33913
|
-
return buildNetworkSnapshot$
|
|
33940
|
+
return buildNetworkSnapshot$a(context.luvio, context.config, dispatchOptions);
|
|
33914
33941
|
}
|
|
33915
33942
|
const factory$9 = (luvio) => {
|
|
33916
33943
|
return (untrustedConfig, requestContext) => {
|
|
@@ -33920,7 +33947,7 @@ const factory$9 = (luvio) => {
|
|
|
33920
33947
|
}
|
|
33921
33948
|
const refresh = {
|
|
33922
33949
|
config,
|
|
33923
|
-
resolve: () => buildNetworkSnapshot$
|
|
33950
|
+
resolve: () => buildNetworkSnapshot$a(luvio, config),
|
|
33924
33951
|
};
|
|
33925
33952
|
const promiseOrSnapshot = luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshot$2, buildNetworkSnapshotCachePolicy$3);
|
|
33926
33953
|
if (isPromise(promiseOrSnapshot)) {
|
|
@@ -33977,8 +34004,44 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
|
33977
34004
|
return config;
|
|
33978
34005
|
}
|
|
33979
34006
|
|
|
34007
|
+
function buildNetworkSnapshot$9(luvio, resourceParams, options) {
|
|
34008
|
+
const request = createResourceRequest$9(resourceParams);
|
|
34009
|
+
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
34010
|
+
const { body } = response;
|
|
34011
|
+
const key = keyBuilderFromType$f(luvio, body);
|
|
34012
|
+
return luvio.handleSuccessResponse(() => {
|
|
34013
|
+
let selectors;
|
|
34014
|
+
if (body.type === 'Theme') {
|
|
34015
|
+
selectors = select$C;
|
|
34016
|
+
luvio.storeIngest(key, ingest$h, body);
|
|
34017
|
+
}
|
|
34018
|
+
else if (body.type === 'Photo') {
|
|
34019
|
+
selectors = select$D;
|
|
34020
|
+
luvio.storeIngest(key, ingest$i, body);
|
|
34021
|
+
}
|
|
34022
|
+
else {
|
|
34023
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
34024
|
+
throw new Error('Unsupported avatar type');
|
|
34025
|
+
}
|
|
34026
|
+
// TODO [W-6804405]: support unions on fragments (only supported on links today)
|
|
34027
|
+
const snapshot = luvio.storeLookup({
|
|
34028
|
+
recordId: key,
|
|
34029
|
+
node: selectors(),
|
|
34030
|
+
variables: {},
|
|
34031
|
+
});
|
|
34032
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
34033
|
+
}, () => {
|
|
34034
|
+
const cache = new StoreKeyMap();
|
|
34035
|
+
getTypeCacheKeys$n(cache, luvio, body);
|
|
34036
|
+
return cache;
|
|
34037
|
+
});
|
|
34038
|
+
}, (err) => {
|
|
34039
|
+
deepFreeze(err);
|
|
34040
|
+
throw err;
|
|
34041
|
+
});
|
|
34042
|
+
}
|
|
33980
34043
|
const factory$8 = (luvio) => {
|
|
33981
|
-
return (untrustedConfig) => {
|
|
34044
|
+
return (untrustedConfig, requestContext) => {
|
|
33982
34045
|
const config = validateAdapterConfig$7(untrustedConfig, updateRecordAvatar_ConfigPropertyNames);
|
|
33983
34046
|
if (config === null) {
|
|
33984
34047
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
@@ -33996,40 +34059,7 @@ const factory$8 = (luvio) => {
|
|
|
33996
34059
|
actionType: config.actionType,
|
|
33997
34060
|
},
|
|
33998
34061
|
};
|
|
33999
|
-
|
|
34000
|
-
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
34001
|
-
const { body } = response;
|
|
34002
|
-
const key = keyBuilderFromType$f(luvio, body);
|
|
34003
|
-
return luvio.handleSuccessResponse(() => {
|
|
34004
|
-
let selectors;
|
|
34005
|
-
if (body.type === 'Theme') {
|
|
34006
|
-
selectors = select$C;
|
|
34007
|
-
luvio.storeIngest(key, ingest$h, body);
|
|
34008
|
-
}
|
|
34009
|
-
else if (body.type === 'Photo') {
|
|
34010
|
-
selectors = select$D;
|
|
34011
|
-
luvio.storeIngest(key, ingest$i, body);
|
|
34012
|
-
}
|
|
34013
|
-
else {
|
|
34014
|
-
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
34015
|
-
throw new Error('Unsupported avatar type');
|
|
34016
|
-
}
|
|
34017
|
-
// TODO [W-6804405]: support unions on fragments (only supported on links today)
|
|
34018
|
-
const snapshot = luvio.storeLookup({
|
|
34019
|
-
recordId: key,
|
|
34020
|
-
node: selectors(),
|
|
34021
|
-
variables: {},
|
|
34022
|
-
});
|
|
34023
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
34024
|
-
}, () => {
|
|
34025
|
-
const cache = new StoreKeyMap();
|
|
34026
|
-
getTypeCacheKeys$n(cache, luvio, body);
|
|
34027
|
-
return cache;
|
|
34028
|
-
});
|
|
34029
|
-
}, (err) => {
|
|
34030
|
-
deepFreeze(err);
|
|
34031
|
-
throw err;
|
|
34032
|
-
});
|
|
34062
|
+
return buildNetworkSnapshot$9(luvio, resourceParams, createDispatchResourceRequestContext$2(requestContext));
|
|
34033
34063
|
};
|
|
34034
34064
|
};
|
|
34035
34065
|
|
|
@@ -34619,10 +34649,10 @@ function buildSelector(resp) {
|
|
|
34619
34649
|
function buildSnapshotRefresh$1(luvio, context, config) {
|
|
34620
34650
|
return {
|
|
34621
34651
|
config,
|
|
34622
|
-
resolve: () => buildNetworkSnapshot$
|
|
34652
|
+
resolve: () => buildNetworkSnapshot$8(luvio, context, config),
|
|
34623
34653
|
};
|
|
34624
34654
|
}
|
|
34625
|
-
function buildNetworkSnapshot$
|
|
34655
|
+
function buildNetworkSnapshot$8(luvio, context, config, options) {
|
|
34626
34656
|
const params = createResourceParams$7(config);
|
|
34627
34657
|
const request = createResourceRequest$8(params);
|
|
34628
34658
|
const key = keyBuilder$7(luvio, params);
|
|
@@ -34706,7 +34736,7 @@ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext
|
|
|
34706
34736
|
priority: networkPriority,
|
|
34707
34737
|
};
|
|
34708
34738
|
}
|
|
34709
|
-
return buildNetworkSnapshot$
|
|
34739
|
+
return buildNetworkSnapshot$8(luvio, adapterContext, config, dispatchOptions);
|
|
34710
34740
|
}
|
|
34711
34741
|
const factory$7 = (luvio) => {
|
|
34712
34742
|
return luvio.withContext(function UiApi__getRecordCreateDefaults(untrusted, adapterContext, requestContext) {
|
|
@@ -35250,7 +35280,7 @@ function getRecordTypeId$1(adapterConfig, context) {
|
|
|
35250
35280
|
}
|
|
35251
35281
|
return contextValue;
|
|
35252
35282
|
}
|
|
35253
|
-
const buildNetworkSnapshot$
|
|
35283
|
+
const buildNetworkSnapshot$7 = (luvio, context, config, options) => {
|
|
35254
35284
|
const resourceParams = createResourceParams$6(config);
|
|
35255
35285
|
const recordTypeId = getRecordTypeId$1(config, context);
|
|
35256
35286
|
const { recordId } = config;
|
|
@@ -35313,7 +35343,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
35313
35343
|
});
|
|
35314
35344
|
const errorSnapshot = luvio.errorSnapshot(response, {
|
|
35315
35345
|
config,
|
|
35316
|
-
resolve: () => buildNetworkSnapshot$
|
|
35346
|
+
resolve: () => buildNetworkSnapshot$7(luvio, context, config, snapshotRefreshOptions),
|
|
35317
35347
|
});
|
|
35318
35348
|
luvio.storeIngestError(key, errorSnapshot, RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS);
|
|
35319
35349
|
return Promise.resolve(errorSnapshot);
|
|
@@ -35333,7 +35363,7 @@ const buildCachedSnapshot$1 = (luvio, context, config) => {
|
|
|
35333
35363
|
};
|
|
35334
35364
|
return luvio.storeLookup(selector, {
|
|
35335
35365
|
config,
|
|
35336
|
-
resolve: () => buildNetworkSnapshot$
|
|
35366
|
+
resolve: () => buildNetworkSnapshot$7(luvio, context, config, snapshotRefreshOptions),
|
|
35337
35367
|
});
|
|
35338
35368
|
};
|
|
35339
35369
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
@@ -35351,7 +35381,7 @@ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext
|
|
|
35351
35381
|
priority: networkPriority,
|
|
35352
35382
|
};
|
|
35353
35383
|
}
|
|
35354
|
-
return buildNetworkSnapshot$
|
|
35384
|
+
return buildNetworkSnapshot$7(luvio, adapterContext, config, dispatchOptions);
|
|
35355
35385
|
}
|
|
35356
35386
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
35357
35387
|
const { adapterContext, config, luvio, recordTypeId } = context;
|
|
@@ -35371,7 +35401,7 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
|
35371
35401
|
};
|
|
35372
35402
|
return storeLookup(selector, {
|
|
35373
35403
|
config,
|
|
35374
|
-
resolve: () => buildNetworkSnapshot$
|
|
35404
|
+
resolve: () => buildNetworkSnapshot$7(luvio, adapterContext, updatedConfig, snapshotRefreshOptions),
|
|
35375
35405
|
});
|
|
35376
35406
|
}
|
|
35377
35407
|
const factory$6 = (luvio) => luvio.withContext(function getRecordTemplateClone_ContextWrapper(untrustedConfig, adapterContext, requestContext) {
|
|
@@ -35866,7 +35896,7 @@ const contextId = `${keyPrefix}__${adapterName$2}`;
|
|
|
35866
35896
|
function buildSnapshotRefresh(luvio, context, config) {
|
|
35867
35897
|
return {
|
|
35868
35898
|
config,
|
|
35869
|
-
resolve: () => buildNetworkSnapshot$
|
|
35899
|
+
resolve: () => buildNetworkSnapshot$6(luvio, context, config, snapshotRefreshOptions),
|
|
35870
35900
|
};
|
|
35871
35901
|
}
|
|
35872
35902
|
function buildRecordTypeIdContextKey(objectApiName) {
|
|
@@ -35947,7 +35977,7 @@ function onFetchResponseError(luvio, context, config, resourceParams, error) {
|
|
|
35947
35977
|
const snapshot = ingestError(luvio, resourceParams, error, buildSnapshotRefresh(luvio, context, config));
|
|
35948
35978
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
35949
35979
|
}
|
|
35950
|
-
function buildNetworkSnapshot$
|
|
35980
|
+
function buildNetworkSnapshot$6(luvio, context, config, options) {
|
|
35951
35981
|
const resourceParams = createResourceParams$5(config);
|
|
35952
35982
|
const request = prepareRequest(luvio, context, config);
|
|
35953
35983
|
return luvio
|
|
@@ -35990,7 +36020,7 @@ const buildNetworkSnapshotCachePolicy = (context, coercedAdapterRequestContext)
|
|
|
35990
36020
|
priority: networkPriority,
|
|
35991
36021
|
};
|
|
35992
36022
|
}
|
|
35993
|
-
return buildNetworkSnapshot$
|
|
36023
|
+
return buildNetworkSnapshot$6(luvio, adapterContext, config, dispatchOptions);
|
|
35994
36024
|
};
|
|
35995
36025
|
const buildCachedSnapshotCachePolicy = (context, storeLookup) => {
|
|
35996
36026
|
const { adapterContext, config, luvio, recordTypeId } = context;
|
|
@@ -36079,7 +36109,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
36079
36109
|
});
|
|
36080
36110
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
36081
36111
|
}
|
|
36082
|
-
function buildNetworkSnapshot$
|
|
36112
|
+
function buildNetworkSnapshot$5(luvio, config, options) {
|
|
36083
36113
|
const resourceParams = createResourceParams$4(config);
|
|
36084
36114
|
const request = createResourceRequest$5(resourceParams);
|
|
36085
36115
|
const fieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
@@ -36089,7 +36119,7 @@ function buildNetworkSnapshot$4(luvio, config) {
|
|
|
36089
36119
|
serverRequestCount: 1,
|
|
36090
36120
|
};
|
|
36091
36121
|
const recordIngest = createRecordIngest(fieldTrie, optionalFieldTrie, conflictMap);
|
|
36092
|
-
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
36122
|
+
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
36093
36123
|
return luvio.handleSuccessResponse(() => onResponseSuccess(luvio, response, recordIngest, conflictMap), () => {
|
|
36094
36124
|
const cache = new StoreKeyMap();
|
|
36095
36125
|
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
@@ -36105,13 +36135,13 @@ function createResourceRequest$4(config) {
|
|
|
36105
36135
|
return createResourceRequest$5(resourceParams);
|
|
36106
36136
|
}
|
|
36107
36137
|
const factory$4 = (luvio) => {
|
|
36108
|
-
return function (untrustedConfig) {
|
|
36138
|
+
return function (untrustedConfig, requestContext) {
|
|
36109
36139
|
const config = untrustedConfig;
|
|
36110
36140
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateRecordAdapter();
|
|
36111
36141
|
if (draftAdapter !== undefined) {
|
|
36112
|
-
return draftAdapter(config, createResourceRequest$4);
|
|
36142
|
+
return draftAdapter(config, createResourceRequest$4, requestContext);
|
|
36113
36143
|
}
|
|
36114
|
-
return buildNetworkSnapshot$
|
|
36144
|
+
return buildNetworkSnapshot$5(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
36115
36145
|
};
|
|
36116
36146
|
};
|
|
36117
36147
|
|
|
@@ -36171,7 +36201,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
36171
36201
|
}
|
|
36172
36202
|
return config;
|
|
36173
36203
|
}
|
|
36174
|
-
function buildNetworkSnapshot$
|
|
36204
|
+
function buildNetworkSnapshot$4(luvio, config, options) {
|
|
36175
36205
|
const resourceParams = createResourceParams$3(config);
|
|
36176
36206
|
const request = createResourceRequest$3(resourceParams);
|
|
36177
36207
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -36189,29 +36219,26 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
36189
36219
|
throw response;
|
|
36190
36220
|
});
|
|
36191
36221
|
}
|
|
36192
|
-
const deleteRecordAdapterFactory = (luvio) => {
|
|
36193
|
-
return function UiApideleteRecord(untrustedConfig) {
|
|
36194
|
-
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
36195
|
-
// Invalid or incomplete config
|
|
36196
|
-
if (config === null) {
|
|
36197
|
-
throw new Error(`Invalid config for "${adapterName$1}"`);
|
|
36198
|
-
}
|
|
36199
|
-
return buildNetworkSnapshot$3(luvio, config);
|
|
36200
|
-
};
|
|
36201
|
-
};
|
|
36202
36222
|
|
|
36223
|
+
function buildNetworkSnapshot$3(luvio, config, options) {
|
|
36224
|
+
return buildNetworkSnapshot$4(luvio, config, options);
|
|
36225
|
+
}
|
|
36203
36226
|
const factory$3 = (luvio) => {
|
|
36204
|
-
|
|
36205
|
-
return (recordId) => {
|
|
36227
|
+
return (recordId, requestContext) => {
|
|
36206
36228
|
const config = { recordId };
|
|
36207
36229
|
const draftAdapter = configurationForRestAdapters.getDraftAwareDeleteRecordAdapter();
|
|
36208
36230
|
if (draftAdapter !== undefined) {
|
|
36209
36231
|
return draftAdapter(config, (config) => {
|
|
36210
36232
|
const params = createResourceParams$3(config);
|
|
36211
36233
|
return createResourceRequest$3(params);
|
|
36212
|
-
});
|
|
36234
|
+
}, requestContext);
|
|
36235
|
+
}
|
|
36236
|
+
const validatedConfig = validateAdapterConfig$3(config, deleteRecord_ConfigPropertyNames);
|
|
36237
|
+
if (validatedConfig === null) {
|
|
36238
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
36239
|
+
throw new Error('Invalid config for "deleteRecord"');
|
|
36213
36240
|
}
|
|
36214
|
-
return
|
|
36241
|
+
return buildNetworkSnapshot$3(luvio, validatedConfig, createDispatchResourceRequestContext$2(requestContext));
|
|
36215
36242
|
};
|
|
36216
36243
|
};
|
|
36217
36244
|
|
|
@@ -37544,4 +37571,4 @@ withDefaultLuvio((luvio) => {
|
|
|
37544
37571
|
});
|
|
37545
37572
|
|
|
37546
37573
|
export { API_NAMESPACE, VERSION$1i as FieldValueRepresentationVersion, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1g as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, coerceLayoutModeArray, getLayoutTypeArray as coerceLayoutTypeArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActionsAdapterFactory, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfoAdapterFactory, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$E as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
37547
|
-
// version: 1.
|
|
37574
|
+
// version: 1.445.0-6d38a08808
|