@salesforce/lds-adapters-uiapi 1.444.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 +7 -7
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +386 -359
|
@@ -3993,7 +3993,7 @@ function mergeAndRefreshLowerVersionRecord(luvio, incoming, existing, incomingTr
|
|
|
3993
3993
|
};
|
|
3994
3994
|
}
|
|
3995
3995
|
else {
|
|
3996
|
-
buildNetworkSnapshot$
|
|
3996
|
+
buildNetworkSnapshot$1f(luvio, {
|
|
3997
3997
|
recordId: incoming.id,
|
|
3998
3998
|
optionalFields: convertTrieToFields(incomingTrackedFieldsTrieRoot),
|
|
3999
3999
|
});
|
|
@@ -4477,7 +4477,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
|
4477
4477
|
function buildSnapshotRefresh$5(luvio, config) {
|
|
4478
4478
|
return {
|
|
4479
4479
|
config,
|
|
4480
|
-
resolve: () => buildNetworkSnapshot$
|
|
4480
|
+
resolve: () => buildNetworkSnapshot$1f(luvio, config),
|
|
4481
4481
|
};
|
|
4482
4482
|
}
|
|
4483
4483
|
function prepareRequest$7(luvio, config) {
|
|
@@ -4522,7 +4522,7 @@ function onResourceError(luvio, config, key, err) {
|
|
|
4522
4522
|
const errorSnapshot = ingestError$R(luvio, config, key, err);
|
|
4523
4523
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
4524
4524
|
}
|
|
4525
|
-
function buildNetworkSnapshot$
|
|
4525
|
+
function buildNetworkSnapshot$1f(luvio, config, serverRequestCount = 0, options) {
|
|
4526
4526
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$7(luvio, config);
|
|
4527
4527
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
4528
4528
|
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
@@ -4579,7 +4579,7 @@ function buildNetworkSnapshotCachePolicy$W(context, coercedAdapterRequestContext
|
|
|
4579
4579
|
priority: networkPriority,
|
|
4580
4580
|
};
|
|
4581
4581
|
}
|
|
4582
|
-
return buildNetworkSnapshot$
|
|
4582
|
+
return buildNetworkSnapshot$1f(luvio, config, 0, dispatchOptions);
|
|
4583
4583
|
}
|
|
4584
4584
|
function getRecordByFields(luvio, config, requestContext) {
|
|
4585
4585
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshotCachePolicy$V, buildNetworkSnapshotCachePolicy$W);
|
|
@@ -4942,7 +4942,7 @@ function onFetchResponseSuccess$S(luvio, config, resourceParams, response, serve
|
|
|
4942
4942
|
},
|
|
4943
4943
|
refresh: {
|
|
4944
4944
|
config,
|
|
4945
|
-
resolve: () => buildNetworkSnapshot$
|
|
4945
|
+
resolve: () => buildNetworkSnapshot$1e(luvio, config, serverRequestCount, snapshotRefreshOptions),
|
|
4946
4946
|
},
|
|
4947
4947
|
variables: {},
|
|
4948
4948
|
};
|
|
@@ -4952,11 +4952,11 @@ function onFetchResponseSuccess$S(luvio, config, resourceParams, response, serve
|
|
|
4952
4952
|
function onFetchResponseError$T(luvio, config, resourceParams, response) {
|
|
4953
4953
|
const snapshot = ingestError$Q(luvio, resourceParams, response, {
|
|
4954
4954
|
config,
|
|
4955
|
-
resolve: () => buildNetworkSnapshot$
|
|
4955
|
+
resolve: () => buildNetworkSnapshot$1e(luvio, config, 0, snapshotRefreshOptions),
|
|
4956
4956
|
});
|
|
4957
4957
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
4958
4958
|
}
|
|
4959
|
-
function buildNetworkSnapshot$
|
|
4959
|
+
function buildNetworkSnapshot$1e(luvio, config, serverRequestCount = 0, options) {
|
|
4960
4960
|
const resourceParams = createResourceParams$14(config);
|
|
4961
4961
|
const request = createResourceRequest$1f(resourceParams);
|
|
4962
4962
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -4983,7 +4983,7 @@ function resolveConflict(luvio, map) {
|
|
|
4983
4983
|
recordId,
|
|
4984
4984
|
optionalFields: convertTrieToFields(map.conflicts[recordId].trackedFields),
|
|
4985
4985
|
};
|
|
4986
|
-
buildNetworkSnapshot$
|
|
4986
|
+
buildNetworkSnapshot$1f(luvio, config, map.serverRequestCount);
|
|
4987
4987
|
}
|
|
4988
4988
|
else {
|
|
4989
4989
|
const records = reduce.call(ids, (acc, id) => {
|
|
@@ -4995,7 +4995,7 @@ function resolveConflict(luvio, map) {
|
|
|
4995
4995
|
return acc;
|
|
4996
4996
|
}, []);
|
|
4997
4997
|
const config = { records };
|
|
4998
|
-
buildNetworkSnapshot$
|
|
4998
|
+
buildNetworkSnapshot$1e(luvio, config, map.serverRequestCount);
|
|
4999
4999
|
}
|
|
5000
5000
|
}
|
|
5001
5001
|
|
|
@@ -6237,18 +6237,18 @@ function adapterFragment$N(luvio, config) {
|
|
|
6237
6237
|
function onFetchResponseSuccess$R(luvio, config, resourceParams, response) {
|
|
6238
6238
|
const snapshot = ingestSuccess$W(luvio, resourceParams, response, {
|
|
6239
6239
|
config,
|
|
6240
|
-
resolve: () => buildNetworkSnapshot$
|
|
6240
|
+
resolve: () => buildNetworkSnapshot$1d(luvio, config, snapshotRefreshOptions)
|
|
6241
6241
|
});
|
|
6242
6242
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6243
6243
|
}
|
|
6244
6244
|
function onFetchResponseError$S(luvio, config, resourceParams, response) {
|
|
6245
6245
|
const snapshot = ingestError$P(luvio, resourceParams, response, {
|
|
6246
6246
|
config,
|
|
6247
|
-
resolve: () => buildNetworkSnapshot$
|
|
6247
|
+
resolve: () => buildNetworkSnapshot$1d(luvio, config, snapshotRefreshOptions)
|
|
6248
6248
|
});
|
|
6249
6249
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6250
6250
|
}
|
|
6251
|
-
function buildNetworkSnapshot$
|
|
6251
|
+
function buildNetworkSnapshot$1d(luvio, config, options, cacheSnapshot) {
|
|
6252
6252
|
const resourceParams = createResourceParams$13(config);
|
|
6253
6253
|
const request = createResourceRequest$1e(resourceParams);
|
|
6254
6254
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -6263,7 +6263,7 @@ function buildNetworkSnapshot$19(luvio, config, options, cacheSnapshot) {
|
|
|
6263
6263
|
});
|
|
6264
6264
|
}
|
|
6265
6265
|
function buildNetworkSnapshotCachePolicy$V(context, coercedAdapterRequestContext) {
|
|
6266
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
6266
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$1d, undefined, true);
|
|
6267
6267
|
}
|
|
6268
6268
|
function buildCachedSnapshotCachePolicy$U(context, storeLookup) {
|
|
6269
6269
|
const { luvio, config } = context;
|
|
@@ -6274,7 +6274,7 @@ function buildCachedSnapshotCachePolicy$U(context, storeLookup) {
|
|
|
6274
6274
|
};
|
|
6275
6275
|
const cacheSnapshot = storeLookup(selector, {
|
|
6276
6276
|
config,
|
|
6277
|
-
resolve: () => buildNetworkSnapshot$
|
|
6277
|
+
resolve: () => buildNetworkSnapshot$1d(luvio, config, snapshotRefreshOptions)
|
|
6278
6278
|
});
|
|
6279
6279
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
6280
6280
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -6386,18 +6386,18 @@ function adapterFragment$M(luvio, config) {
|
|
|
6386
6386
|
function onFetchResponseSuccess$Q(luvio, config, resourceParams, response) {
|
|
6387
6387
|
const snapshot = ingestSuccess$V(luvio, resourceParams, response, {
|
|
6388
6388
|
config,
|
|
6389
|
-
resolve: () => buildNetworkSnapshot$
|
|
6389
|
+
resolve: () => buildNetworkSnapshot$1c(luvio, config, snapshotRefreshOptions)
|
|
6390
6390
|
});
|
|
6391
6391
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6392
6392
|
}
|
|
6393
6393
|
function onFetchResponseError$R(luvio, config, resourceParams, response) {
|
|
6394
6394
|
const snapshot = ingestError$O(luvio, resourceParams, response, {
|
|
6395
6395
|
config,
|
|
6396
|
-
resolve: () => buildNetworkSnapshot$
|
|
6396
|
+
resolve: () => buildNetworkSnapshot$1c(luvio, config, snapshotRefreshOptions)
|
|
6397
6397
|
});
|
|
6398
6398
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
6399
6399
|
}
|
|
6400
|
-
function buildNetworkSnapshot$
|
|
6400
|
+
function buildNetworkSnapshot$1c(luvio, config, options, cacheSnapshot) {
|
|
6401
6401
|
const resourceParams = createResourceParams$12(config);
|
|
6402
6402
|
const request = createResourceRequest$1d(resourceParams);
|
|
6403
6403
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -6412,7 +6412,7 @@ function buildNetworkSnapshot$18(luvio, config, options, cacheSnapshot) {
|
|
|
6412
6412
|
});
|
|
6413
6413
|
}
|
|
6414
6414
|
function buildNetworkSnapshotCachePolicy$U(context, coercedAdapterRequestContext) {
|
|
6415
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
6415
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$1c, undefined, true);
|
|
6416
6416
|
}
|
|
6417
6417
|
function buildCachedSnapshotCachePolicy$T(context, storeLookup) {
|
|
6418
6418
|
const { luvio, config } = context;
|
|
@@ -6423,7 +6423,7 @@ function buildCachedSnapshotCachePolicy$T(context, storeLookup) {
|
|
|
6423
6423
|
};
|
|
6424
6424
|
const cacheSnapshot = storeLookup(selector, {
|
|
6425
6425
|
config,
|
|
6426
|
-
resolve: () => buildNetworkSnapshot$
|
|
6426
|
+
resolve: () => buildNetworkSnapshot$1c(luvio, config, snapshotRefreshOptions)
|
|
6427
6427
|
});
|
|
6428
6428
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
6429
6429
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -8214,14 +8214,14 @@ function adapterFragment$L(luvio, config) {
|
|
|
8214
8214
|
function onFetchResponseSuccess$P(luvio, config, resourceParams, response) {
|
|
8215
8215
|
const snapshot = ingestSuccess$T(luvio, resourceParams, response, {
|
|
8216
8216
|
config,
|
|
8217
|
-
resolve: () => buildNetworkSnapshot$
|
|
8217
|
+
resolve: () => buildNetworkSnapshot$1b(luvio, config, snapshotRefreshOptions)
|
|
8218
8218
|
});
|
|
8219
8219
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
8220
8220
|
}
|
|
8221
8221
|
function onFetchResponseError$Q(luvio, config, resourceParams, response) {
|
|
8222
8222
|
const snapshot = ingestError$M(luvio, resourceParams, response, {
|
|
8223
8223
|
config,
|
|
8224
|
-
resolve: () => buildNetworkSnapshot$
|
|
8224
|
+
resolve: () => buildNetworkSnapshot$1b(luvio, config, snapshotRefreshOptions)
|
|
8225
8225
|
});
|
|
8226
8226
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
8227
8227
|
}
|
|
@@ -8300,7 +8300,7 @@ function getPaginationMetadata$3(luvio, resourceParams) {
|
|
|
8300
8300
|
}
|
|
8301
8301
|
return node.data.__metadata;
|
|
8302
8302
|
}
|
|
8303
|
-
function buildNetworkSnapshot$
|
|
8303
|
+
function buildNetworkSnapshot$1b(luvio, config, options, cacheSnapshot) {
|
|
8304
8304
|
const resourceParams = createResourceParams$11(config);
|
|
8305
8305
|
const request = prepareRequest$6(luvio, config, resourceParams, cacheSnapshot);
|
|
8306
8306
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -8315,7 +8315,7 @@ function buildNetworkSnapshot$17(luvio, config, options, cacheSnapshot) {
|
|
|
8315
8315
|
});
|
|
8316
8316
|
}
|
|
8317
8317
|
function buildNetworkSnapshotCachePolicy$T(context, coercedAdapterRequestContext) {
|
|
8318
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
8318
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$1b, undefined, true);
|
|
8319
8319
|
}
|
|
8320
8320
|
function buildCachedSnapshotCachePolicy$S(context, storeLookup) {
|
|
8321
8321
|
const { luvio, config } = context;
|
|
@@ -8326,7 +8326,7 @@ function buildCachedSnapshotCachePolicy$S(context, storeLookup) {
|
|
|
8326
8326
|
};
|
|
8327
8327
|
const cacheSnapshot = storeLookup(selector, {
|
|
8328
8328
|
config,
|
|
8329
|
-
resolve: () => buildNetworkSnapshot$
|
|
8329
|
+
resolve: () => buildNetworkSnapshot$1b(luvio, config, snapshotRefreshOptions)
|
|
8330
8330
|
});
|
|
8331
8331
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
8332
8332
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -10258,18 +10258,18 @@ function adapterFragment$K(luvio, config) {
|
|
|
10258
10258
|
function onFetchResponseSuccess$O(luvio, config, resourceParams, response) {
|
|
10259
10259
|
const snapshot = ingestSuccess$S(luvio, resourceParams, response, {
|
|
10260
10260
|
config,
|
|
10261
|
-
resolve: () => buildNetworkSnapshot$
|
|
10261
|
+
resolve: () => buildNetworkSnapshot$1a(luvio, config, snapshotRefreshOptions)
|
|
10262
10262
|
});
|
|
10263
10263
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
10264
10264
|
}
|
|
10265
10265
|
function onFetchResponseError$P(luvio, config, resourceParams, response) {
|
|
10266
10266
|
const snapshot = ingestError$L(luvio, resourceParams, response, {
|
|
10267
10267
|
config,
|
|
10268
|
-
resolve: () => buildNetworkSnapshot$
|
|
10268
|
+
resolve: () => buildNetworkSnapshot$1a(luvio, config, snapshotRefreshOptions)
|
|
10269
10269
|
});
|
|
10270
10270
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
10271
10271
|
}
|
|
10272
|
-
function buildNetworkSnapshot$
|
|
10272
|
+
function buildNetworkSnapshot$1a(luvio, config, options) {
|
|
10273
10273
|
const resourceParams = createResourceParams$$(config);
|
|
10274
10274
|
const request = createResourceRequest$17(resourceParams);
|
|
10275
10275
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -10284,7 +10284,7 @@ function buildNetworkSnapshot$16(luvio, config, options) {
|
|
|
10284
10284
|
});
|
|
10285
10285
|
}
|
|
10286
10286
|
function buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext) {
|
|
10287
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
10287
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$1a, undefined, false);
|
|
10288
10288
|
}
|
|
10289
10289
|
function buildCachedSnapshotCachePolicy$R(context, storeLookup) {
|
|
10290
10290
|
const { luvio, config } = context;
|
|
@@ -10295,7 +10295,7 @@ function buildCachedSnapshotCachePolicy$R(context, storeLookup) {
|
|
|
10295
10295
|
};
|
|
10296
10296
|
const cacheSnapshot = storeLookup(selector, {
|
|
10297
10297
|
config,
|
|
10298
|
-
resolve: () => buildNetworkSnapshot$
|
|
10298
|
+
resolve: () => buildNetworkSnapshot$1a(luvio, config, snapshotRefreshOptions)
|
|
10299
10299
|
});
|
|
10300
10300
|
return cacheSnapshot;
|
|
10301
10301
|
}
|
|
@@ -11581,7 +11581,7 @@ function keyBuilder$3y(recordIds, layoutTypes, modes, optionalFields) {
|
|
|
11581
11581
|
function buildSnapshotRefresh$4(luvio, config) {
|
|
11582
11582
|
return {
|
|
11583
11583
|
config,
|
|
11584
|
-
resolve: () => buildNetworkSnapshot$
|
|
11584
|
+
resolve: () => buildNetworkSnapshot$19(luvio, config),
|
|
11585
11585
|
};
|
|
11586
11586
|
}
|
|
11587
11587
|
function markRecordUiNulledOutLookupFields(recordLookupFields, recordNodes) {
|
|
@@ -11735,7 +11735,7 @@ function onFetchResponseError$O(luvio, config, selectorKey, key, err) {
|
|
|
11735
11735
|
return errorSnapshot;
|
|
11736
11736
|
});
|
|
11737
11737
|
}
|
|
11738
|
-
function buildNetworkSnapshot$
|
|
11738
|
+
function buildNetworkSnapshot$19(luvio, config, dispatchContext) {
|
|
11739
11739
|
const { key, resourceRequest, selectorKey } = prepareRequest$5(luvio, config);
|
|
11740
11740
|
return luvio
|
|
11741
11741
|
.dispatchResourceRequest(resourceRequest, dispatchContext)
|
|
@@ -11803,7 +11803,7 @@ function buildNetworkRecordUiRepresentationSnapshot(context, coercedAdapterReque
|
|
|
11803
11803
|
priority: networkPriority,
|
|
11804
11804
|
};
|
|
11805
11805
|
}
|
|
11806
|
-
return buildNetworkSnapshot$
|
|
11806
|
+
return buildNetworkSnapshot$19(context.luvio, context.config, dispatchOptions);
|
|
11807
11807
|
}
|
|
11808
11808
|
function coerceConfigWithDefaults$3(untrustedConfig) {
|
|
11809
11809
|
const config = validateAdapterConfig$16(untrustedConfig, GET_RECORDUI_ADAPTER_CONFIG);
|
|
@@ -11870,7 +11870,7 @@ function refresh(luvio, config) {
|
|
|
11870
11870
|
modes,
|
|
11871
11871
|
optionalFields,
|
|
11872
11872
|
};
|
|
11873
|
-
return buildNetworkSnapshot$
|
|
11873
|
+
return buildNetworkSnapshot$19(luvio, recordUiConfig).then((snapshot) => {
|
|
11874
11874
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
11875
11875
|
if (isErrorSnapshot(snapshot)) {
|
|
11876
11876
|
var recordKey = keyBuilder$3U(luvio, { recordId });
|
|
@@ -12026,7 +12026,7 @@ function getRecord(luvio, refresh, recordId, fields, configOptionalFields) {
|
|
|
12026
12026
|
}
|
|
12027
12027
|
return recordSnapshotOrPromise;
|
|
12028
12028
|
}
|
|
12029
|
-
function buildNetworkSnapshot$
|
|
12029
|
+
function buildNetworkSnapshot$18(context, coercedAdapterRequestContext) {
|
|
12030
12030
|
const { config, luvio, adapterContext } = context;
|
|
12031
12031
|
const { recordId } = config;
|
|
12032
12032
|
const optionalFields = config.optionalFields === undefined ? [] : dedupe(config.optionalFields).sort();
|
|
@@ -12052,7 +12052,7 @@ function buildNetworkSnapshot$14(context, coercedAdapterRequestContext) {
|
|
|
12052
12052
|
fields: context.fields,
|
|
12053
12053
|
optionalFields,
|
|
12054
12054
|
};
|
|
12055
|
-
return buildNetworkSnapshot$
|
|
12055
|
+
return buildNetworkSnapshot$1f(luvio, recordConfig, 0, coercedAdapterRequestContext).then((snapshot) => {
|
|
12056
12056
|
snapshot.refresh = refresh;
|
|
12057
12057
|
return snapshot;
|
|
12058
12058
|
});
|
|
@@ -12065,7 +12065,7 @@ function buildNetworkSnapshot$14(context, coercedAdapterRequestContext) {
|
|
|
12065
12065
|
modes,
|
|
12066
12066
|
optionalFields,
|
|
12067
12067
|
};
|
|
12068
|
-
return buildNetworkSnapshot$
|
|
12068
|
+
return buildNetworkSnapshot$19(luvio, recordUiConfig, dispatchOptions).then((snapshot) => processRecordUiRepresentation(luvio, refresh, recordId, modes, snapshot, adapterContext, optionalFields));
|
|
12069
12069
|
}
|
|
12070
12070
|
function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
12071
12071
|
const { config, luvio } = context;
|
|
@@ -12149,7 +12149,7 @@ function makeCacheOnlySnapshot(luvio, config, adapterContext, cachedSnapshot) {
|
|
|
12149
12149
|
function makeNetworkOnlySnapshot(luvio, config, adapterContext, requestContext) {
|
|
12150
12150
|
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, () => {
|
|
12151
12151
|
return undefined;
|
|
12152
|
-
}, buildNetworkSnapshot$
|
|
12152
|
+
}, buildNetworkSnapshot$18);
|
|
12153
12153
|
}
|
|
12154
12154
|
function getRecordLayoutType(luvio, config, adapterContext, requestContext) {
|
|
12155
12155
|
// lookup record layout
|
|
@@ -12186,10 +12186,10 @@ function getRecordLayoutType(luvio, config, adapterContext, requestContext) {
|
|
|
12186
12186
|
if (!fields) {
|
|
12187
12187
|
return makeNetworkOnlySnapshot(luvio, config, adapterContext, requestContext);
|
|
12188
12188
|
}
|
|
12189
|
-
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordSnapshot(luvio, config, recordLayoutSnapshot, objectInfoSnapshot, fields), buildNetworkSnapshot$
|
|
12189
|
+
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordSnapshot(luvio, config, recordLayoutSnapshot, objectInfoSnapshot, fields), buildNetworkSnapshot$18);
|
|
12190
12190
|
}
|
|
12191
12191
|
return makeRecordLayoutMap(luvio, config, objectInfoSnapshot.data.apiName, recordTypeId, layoutTypes, modes, adapterContext).then((recordLayoutMap) => {
|
|
12192
|
-
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordLayoutSnapshot(recordLayoutMap, luvio, config, recordLayoutSnapshot, objectInfoSnapshot), buildNetworkSnapshot$
|
|
12192
|
+
return luvio.applyCachePolicy(requestContext || {}, { config, luvio, adapterContext }, buildRecordLayoutSnapshot(recordLayoutMap, luvio, config, recordLayoutSnapshot, objectInfoSnapshot), buildNetworkSnapshot$18);
|
|
12193
12193
|
});
|
|
12194
12194
|
});
|
|
12195
12195
|
});
|
|
@@ -14068,18 +14068,18 @@ function adapterFragment$J(luvio, config) {
|
|
|
14068
14068
|
function onFetchResponseSuccess$M(luvio, config, resourceParams, response) {
|
|
14069
14069
|
const snapshot = ingestSuccess$R(luvio, resourceParams, response, {
|
|
14070
14070
|
config,
|
|
14071
|
-
resolve: () => buildNetworkSnapshot$
|
|
14071
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
14072
14072
|
});
|
|
14073
14073
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14074
14074
|
}
|
|
14075
14075
|
function onFetchResponseError$N(luvio, config, resourceParams, response) {
|
|
14076
14076
|
const snapshot = ingestError$K(luvio, resourceParams, response, {
|
|
14077
14077
|
config,
|
|
14078
|
-
resolve: () => buildNetworkSnapshot$
|
|
14078
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
14079
14079
|
});
|
|
14080
14080
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14081
14081
|
}
|
|
14082
|
-
function buildNetworkSnapshot$
|
|
14082
|
+
function buildNetworkSnapshot$17(luvio, config, options) {
|
|
14083
14083
|
const resourceParams = createResourceParams$_(config);
|
|
14084
14084
|
const request = createResourceRequest$15(resourceParams);
|
|
14085
14085
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14094,7 +14094,7 @@ function buildNetworkSnapshot$13(luvio, config, options) {
|
|
|
14094
14094
|
});
|
|
14095
14095
|
}
|
|
14096
14096
|
function buildNetworkSnapshotCachePolicy$R(context, coercedAdapterRequestContext) {
|
|
14097
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14097
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$17, undefined, false);
|
|
14098
14098
|
}
|
|
14099
14099
|
function buildCachedSnapshotCachePolicy$Q(context, storeLookup) {
|
|
14100
14100
|
const { luvio, config } = context;
|
|
@@ -14105,7 +14105,7 @@ function buildCachedSnapshotCachePolicy$Q(context, storeLookup) {
|
|
|
14105
14105
|
};
|
|
14106
14106
|
const cacheSnapshot = storeLookup(selector, {
|
|
14107
14107
|
config,
|
|
14108
|
-
resolve: () => buildNetworkSnapshot$
|
|
14108
|
+
resolve: () => buildNetworkSnapshot$17(luvio, config, snapshotRefreshOptions)
|
|
14109
14109
|
});
|
|
14110
14110
|
return cacheSnapshot;
|
|
14111
14111
|
}
|
|
@@ -14299,18 +14299,18 @@ function adapterFragment$I(luvio, config) {
|
|
|
14299
14299
|
function onFetchResponseSuccess$L(luvio, config, resourceParams, response) {
|
|
14300
14300
|
const snapshot = ingestSuccess$Q(luvio, resourceParams, response, {
|
|
14301
14301
|
config,
|
|
14302
|
-
resolve: () => buildNetworkSnapshot$
|
|
14302
|
+
resolve: () => buildNetworkSnapshot$16(luvio, config, snapshotRefreshOptions)
|
|
14303
14303
|
});
|
|
14304
14304
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14305
14305
|
}
|
|
14306
14306
|
function onFetchResponseError$M(luvio, config, resourceParams, response) {
|
|
14307
14307
|
const snapshot = ingestError$J(luvio, resourceParams, response, {
|
|
14308
14308
|
config,
|
|
14309
|
-
resolve: () => buildNetworkSnapshot$
|
|
14309
|
+
resolve: () => buildNetworkSnapshot$16(luvio, config, snapshotRefreshOptions)
|
|
14310
14310
|
});
|
|
14311
14311
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14312
14312
|
}
|
|
14313
|
-
function buildNetworkSnapshot$
|
|
14313
|
+
function buildNetworkSnapshot$16(luvio, config, options) {
|
|
14314
14314
|
const resourceParams = createResourceParams$Z(config);
|
|
14315
14315
|
const request = createResourceRequest$14(resourceParams);
|
|
14316
14316
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14325,7 +14325,7 @@ function buildNetworkSnapshot$12(luvio, config, options) {
|
|
|
14325
14325
|
});
|
|
14326
14326
|
}
|
|
14327
14327
|
function buildNetworkSnapshotCachePolicy$Q(context, coercedAdapterRequestContext) {
|
|
14328
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14328
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$16, undefined, false);
|
|
14329
14329
|
}
|
|
14330
14330
|
function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
14331
14331
|
const { luvio, config } = context;
|
|
@@ -14336,7 +14336,7 @@ function buildCachedSnapshotCachePolicy$P(context, storeLookup) {
|
|
|
14336
14336
|
};
|
|
14337
14337
|
const cacheSnapshot = storeLookup(selector, {
|
|
14338
14338
|
config,
|
|
14339
|
-
resolve: () => buildNetworkSnapshot$
|
|
14339
|
+
resolve: () => buildNetworkSnapshot$16(luvio, config, snapshotRefreshOptions)
|
|
14340
14340
|
});
|
|
14341
14341
|
return cacheSnapshot;
|
|
14342
14342
|
}
|
|
@@ -14473,18 +14473,18 @@ function adapterFragment$H(luvio, config) {
|
|
|
14473
14473
|
function onFetchResponseSuccess$K(luvio, config, resourceParams, response) {
|
|
14474
14474
|
const snapshot = ingestSuccess$P(luvio, resourceParams, response, {
|
|
14475
14475
|
config,
|
|
14476
|
-
resolve: () => buildNetworkSnapshot$
|
|
14476
|
+
resolve: () => buildNetworkSnapshot$15(luvio, config, snapshotRefreshOptions)
|
|
14477
14477
|
});
|
|
14478
14478
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14479
14479
|
}
|
|
14480
14480
|
function onFetchResponseError$L(luvio, config, resourceParams, response) {
|
|
14481
14481
|
const snapshot = ingestError$I(luvio, resourceParams, response, {
|
|
14482
14482
|
config,
|
|
14483
|
-
resolve: () => buildNetworkSnapshot$
|
|
14483
|
+
resolve: () => buildNetworkSnapshot$15(luvio, config, snapshotRefreshOptions)
|
|
14484
14484
|
});
|
|
14485
14485
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14486
14486
|
}
|
|
14487
|
-
function buildNetworkSnapshot$
|
|
14487
|
+
function buildNetworkSnapshot$15(luvio, config, options) {
|
|
14488
14488
|
const resourceParams = createResourceParams$Y(config);
|
|
14489
14489
|
const request = createResourceRequest$13(resourceParams);
|
|
14490
14490
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14499,7 +14499,7 @@ function buildNetworkSnapshot$11(luvio, config, options) {
|
|
|
14499
14499
|
});
|
|
14500
14500
|
}
|
|
14501
14501
|
function buildNetworkSnapshotCachePolicy$P(context, coercedAdapterRequestContext) {
|
|
14502
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14502
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$15, undefined, false);
|
|
14503
14503
|
}
|
|
14504
14504
|
function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
14505
14505
|
const { luvio, config } = context;
|
|
@@ -14510,7 +14510,7 @@ function buildCachedSnapshotCachePolicy$O(context, storeLookup) {
|
|
|
14510
14510
|
};
|
|
14511
14511
|
const cacheSnapshot = storeLookup(selector, {
|
|
14512
14512
|
config,
|
|
14513
|
-
resolve: () => buildNetworkSnapshot$
|
|
14513
|
+
resolve: () => buildNetworkSnapshot$15(luvio, config, snapshotRefreshOptions)
|
|
14514
14514
|
});
|
|
14515
14515
|
return cacheSnapshot;
|
|
14516
14516
|
}
|
|
@@ -14615,18 +14615,18 @@ function adapterFragment$G(luvio, config) {
|
|
|
14615
14615
|
function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
|
|
14616
14616
|
const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
|
|
14617
14617
|
config,
|
|
14618
|
-
resolve: () => buildNetworkSnapshot$
|
|
14618
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
14619
14619
|
});
|
|
14620
14620
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14621
14621
|
}
|
|
14622
14622
|
function onFetchResponseError$K(luvio, config, resourceParams, response) {
|
|
14623
14623
|
const snapshot = ingestError$H(luvio, resourceParams, response, {
|
|
14624
14624
|
config,
|
|
14625
|
-
resolve: () => buildNetworkSnapshot$
|
|
14625
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
14626
14626
|
});
|
|
14627
14627
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14628
14628
|
}
|
|
14629
|
-
function buildNetworkSnapshot$
|
|
14629
|
+
function buildNetworkSnapshot$14(luvio, config, options) {
|
|
14630
14630
|
const resourceParams = createResourceParams$X(config);
|
|
14631
14631
|
const request = createResourceRequest$12(resourceParams);
|
|
14632
14632
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14641,7 +14641,7 @@ function buildNetworkSnapshot$10(luvio, config, options) {
|
|
|
14641
14641
|
});
|
|
14642
14642
|
}
|
|
14643
14643
|
function buildNetworkSnapshotCachePolicy$O(context, coercedAdapterRequestContext) {
|
|
14644
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
14644
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$14, undefined, false);
|
|
14645
14645
|
}
|
|
14646
14646
|
function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
14647
14647
|
const { luvio, config } = context;
|
|
@@ -14652,7 +14652,7 @@ function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
|
14652
14652
|
};
|
|
14653
14653
|
const cacheSnapshot = storeLookup(selector, {
|
|
14654
14654
|
config,
|
|
14655
|
-
resolve: () => buildNetworkSnapshot$
|
|
14655
|
+
resolve: () => buildNetworkSnapshot$14(luvio, config, snapshotRefreshOptions)
|
|
14656
14656
|
});
|
|
14657
14657
|
return cacheSnapshot;
|
|
14658
14658
|
}
|
|
@@ -14804,18 +14804,18 @@ function adapterFragment$F(luvio, config) {
|
|
|
14804
14804
|
function onFetchResponseSuccess$I(luvio, config, resourceParams, response) {
|
|
14805
14805
|
const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
|
|
14806
14806
|
config,
|
|
14807
|
-
resolve: () => buildNetworkSnapshot
|
|
14807
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
14808
14808
|
});
|
|
14809
14809
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14810
14810
|
}
|
|
14811
14811
|
function onFetchResponseError$J(luvio, config, resourceParams, response) {
|
|
14812
14812
|
const snapshot = ingestError$G(luvio, resourceParams, response, {
|
|
14813
14813
|
config,
|
|
14814
|
-
resolve: () => buildNetworkSnapshot
|
|
14814
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
14815
14815
|
});
|
|
14816
14816
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
14817
14817
|
}
|
|
14818
|
-
function buildNetworkSnapshot
|
|
14818
|
+
function buildNetworkSnapshot$13(luvio, config, options) {
|
|
14819
14819
|
const resourceParams = createResourceParams$W(config);
|
|
14820
14820
|
const request = createResourceRequest$11(resourceParams);
|
|
14821
14821
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -14830,7 +14830,7 @@ function buildNetworkSnapshot$$(luvio, config, options) {
|
|
|
14830
14830
|
});
|
|
14831
14831
|
}
|
|
14832
14832
|
function buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext) {
|
|
14833
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot
|
|
14833
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$13, undefined, false);
|
|
14834
14834
|
}
|
|
14835
14835
|
function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
14836
14836
|
const { luvio, config } = context;
|
|
@@ -14841,7 +14841,7 @@ function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
|
14841
14841
|
};
|
|
14842
14842
|
const cacheSnapshot = storeLookup(selector, {
|
|
14843
14843
|
config,
|
|
14844
|
-
resolve: () => buildNetworkSnapshot
|
|
14844
|
+
resolve: () => buildNetworkSnapshot$13(luvio, config, snapshotRefreshOptions)
|
|
14845
14845
|
});
|
|
14846
14846
|
return cacheSnapshot;
|
|
14847
14847
|
}
|
|
@@ -15068,18 +15068,18 @@ function adapterFragment$E(luvio, config) {
|
|
|
15068
15068
|
function onFetchResponseSuccess$H(luvio, config, resourceParams, response) {
|
|
15069
15069
|
const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
|
|
15070
15070
|
config,
|
|
15071
|
-
resolve: () => buildNetworkSnapshot$
|
|
15071
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
15072
15072
|
});
|
|
15073
15073
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
15074
15074
|
}
|
|
15075
15075
|
function onFetchResponseError$I(luvio, config, resourceParams, response) {
|
|
15076
15076
|
const snapshot = ingestError$F(luvio, resourceParams, response, {
|
|
15077
15077
|
config,
|
|
15078
|
-
resolve: () => buildNetworkSnapshot$
|
|
15078
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
15079
15079
|
});
|
|
15080
15080
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
15081
15081
|
}
|
|
15082
|
-
function buildNetworkSnapshot$
|
|
15082
|
+
function buildNetworkSnapshot$12(luvio, config, options) {
|
|
15083
15083
|
const resourceParams = createResourceParams$V(config);
|
|
15084
15084
|
const request = createResourceRequest$10(resourceParams);
|
|
15085
15085
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -15094,7 +15094,7 @@ function buildNetworkSnapshot$_(luvio, config, options) {
|
|
|
15094
15094
|
});
|
|
15095
15095
|
}
|
|
15096
15096
|
function buildNetworkSnapshotCachePolicy$M(context, coercedAdapterRequestContext) {
|
|
15097
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
15097
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$12, undefined, false);
|
|
15098
15098
|
}
|
|
15099
15099
|
function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
15100
15100
|
const { luvio, config } = context;
|
|
@@ -15105,7 +15105,7 @@ function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
|
15105
15105
|
};
|
|
15106
15106
|
const cacheSnapshot = storeLookup(selector, {
|
|
15107
15107
|
config,
|
|
15108
|
-
resolve: () => buildNetworkSnapshot$
|
|
15108
|
+
resolve: () => buildNetworkSnapshot$12(luvio, config, snapshotRefreshOptions)
|
|
15109
15109
|
});
|
|
15110
15110
|
return cacheSnapshot;
|
|
15111
15111
|
}
|
|
@@ -16278,18 +16278,18 @@ function adapterFragment$D(luvio, config) {
|
|
|
16278
16278
|
function onFetchResponseSuccess$G(luvio, config, resourceParams, response) {
|
|
16279
16279
|
const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
|
|
16280
16280
|
config,
|
|
16281
|
-
resolve: () => buildNetworkSnapshot$
|
|
16281
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
16282
16282
|
});
|
|
16283
16283
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16284
16284
|
}
|
|
16285
16285
|
function onFetchResponseError$H(luvio, config, resourceParams, response) {
|
|
16286
16286
|
const snapshot = ingestError$E(luvio, resourceParams, response, {
|
|
16287
16287
|
config,
|
|
16288
|
-
resolve: () => buildNetworkSnapshot$
|
|
16288
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
16289
16289
|
});
|
|
16290
16290
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16291
16291
|
}
|
|
16292
|
-
function buildNetworkSnapshot$
|
|
16292
|
+
function buildNetworkSnapshot$11(luvio, config, options) {
|
|
16293
16293
|
const resourceParams = createResourceParams$U(config);
|
|
16294
16294
|
const request = createResourceRequest$$(resourceParams);
|
|
16295
16295
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16304,7 +16304,7 @@ function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
|
16304
16304
|
});
|
|
16305
16305
|
}
|
|
16306
16306
|
function buildNetworkSnapshotCachePolicy$L(context, coercedAdapterRequestContext) {
|
|
16307
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16307
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$11, undefined, false);
|
|
16308
16308
|
}
|
|
16309
16309
|
function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
16310
16310
|
const { luvio, config } = context;
|
|
@@ -16315,7 +16315,7 @@ function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
|
16315
16315
|
};
|
|
16316
16316
|
const cacheSnapshot = storeLookup(selector, {
|
|
16317
16317
|
config,
|
|
16318
|
-
resolve: () => buildNetworkSnapshot$
|
|
16318
|
+
resolve: () => buildNetworkSnapshot$11(luvio, config, snapshotRefreshOptions)
|
|
16319
16319
|
});
|
|
16320
16320
|
return cacheSnapshot;
|
|
16321
16321
|
}
|
|
@@ -16456,7 +16456,7 @@ function adapterFragment$C(luvio, config) {
|
|
|
16456
16456
|
const resourceParams = createResourceParams$T(config);
|
|
16457
16457
|
return selectFields$6(luvio, resourceParams);
|
|
16458
16458
|
}
|
|
16459
|
-
function buildNetworkSnapshot$
|
|
16459
|
+
function buildNetworkSnapshot$10(luvio, config, options) {
|
|
16460
16460
|
const resourceParams = createResourceParams$T(config);
|
|
16461
16461
|
const request = createResourceRequest$_(resourceParams);
|
|
16462
16462
|
const key = keyBuilder$3b(luvio, config);
|
|
@@ -16532,18 +16532,18 @@ function buildCachedSnapshot$6(luvio, config) {
|
|
|
16532
16532
|
};
|
|
16533
16533
|
return luvio.storeLookup(selector, {
|
|
16534
16534
|
config,
|
|
16535
|
-
resolve: () => buildNetworkSnapshot$
|
|
16535
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
16536
16536
|
});
|
|
16537
16537
|
}
|
|
16538
16538
|
function onFetchResponseError$G(luvio, config, resourceParams, response) {
|
|
16539
16539
|
const snapshot = ingestError$D(luvio, resourceParams, response, {
|
|
16540
16540
|
config,
|
|
16541
|
-
resolve: () => buildNetworkSnapshot$
|
|
16541
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
16542
16542
|
});
|
|
16543
16543
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16544
16544
|
}
|
|
16545
16545
|
function buildNetworkSnapshotCachePolicy$K(context, coercedAdapterRequestContext) {
|
|
16546
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16546
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$10, undefined, false);
|
|
16547
16547
|
}
|
|
16548
16548
|
function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
16549
16549
|
const { luvio, config } = context;
|
|
@@ -16554,7 +16554,7 @@ function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
|
16554
16554
|
};
|
|
16555
16555
|
const cacheSnapshot = storeLookup(selector, {
|
|
16556
16556
|
config,
|
|
16557
|
-
resolve: () => buildNetworkSnapshot$
|
|
16557
|
+
resolve: () => buildNetworkSnapshot$10(luvio, config, snapshotRefreshOptions)
|
|
16558
16558
|
});
|
|
16559
16559
|
return cacheSnapshot;
|
|
16560
16560
|
}
|
|
@@ -16669,18 +16669,18 @@ function adapterFragment$B(luvio, config) {
|
|
|
16669
16669
|
function onFetchResponseSuccess$F(luvio, config, resourceParams, response) {
|
|
16670
16670
|
const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
|
|
16671
16671
|
config,
|
|
16672
|
-
resolve: () => buildNetworkSnapshot
|
|
16672
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
16673
16673
|
});
|
|
16674
16674
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16675
16675
|
}
|
|
16676
16676
|
function onFetchResponseError$F(luvio, config, resourceParams, response) {
|
|
16677
16677
|
const snapshot = ingestError$C(luvio, resourceParams, response, {
|
|
16678
16678
|
config,
|
|
16679
|
-
resolve: () => buildNetworkSnapshot
|
|
16679
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
16680
16680
|
});
|
|
16681
16681
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16682
16682
|
}
|
|
16683
|
-
function buildNetworkSnapshot
|
|
16683
|
+
function buildNetworkSnapshot$$(luvio, config, options) {
|
|
16684
16684
|
const resourceParams = createResourceParams$S(config);
|
|
16685
16685
|
const request = createResourceRequest$Z(resourceParams);
|
|
16686
16686
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16695,7 +16695,7 @@ function buildNetworkSnapshot$X(luvio, config, options) {
|
|
|
16695
16695
|
});
|
|
16696
16696
|
}
|
|
16697
16697
|
function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext) {
|
|
16698
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot
|
|
16698
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$$, undefined, false);
|
|
16699
16699
|
}
|
|
16700
16700
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
16701
16701
|
const { luvio, config } = context;
|
|
@@ -16706,7 +16706,7 @@ function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
|
16706
16706
|
};
|
|
16707
16707
|
const cacheSnapshot = storeLookup(selector, {
|
|
16708
16708
|
config,
|
|
16709
|
-
resolve: () => buildNetworkSnapshot
|
|
16709
|
+
resolve: () => buildNetworkSnapshot$$(luvio, config, snapshotRefreshOptions)
|
|
16710
16710
|
});
|
|
16711
16711
|
return cacheSnapshot;
|
|
16712
16712
|
}
|
|
@@ -16811,18 +16811,18 @@ function adapterFragment$A(luvio, config) {
|
|
|
16811
16811
|
function onFetchResponseSuccess$E(luvio, config, resourceParams, response) {
|
|
16812
16812
|
const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
|
|
16813
16813
|
config,
|
|
16814
|
-
resolve: () => buildNetworkSnapshot$
|
|
16814
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
16815
16815
|
});
|
|
16816
16816
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16817
16817
|
}
|
|
16818
16818
|
function onFetchResponseError$E(luvio, config, resourceParams, response) {
|
|
16819
16819
|
const snapshot = ingestError$B(luvio, resourceParams, response, {
|
|
16820
16820
|
config,
|
|
16821
|
-
resolve: () => buildNetworkSnapshot$
|
|
16821
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
16822
16822
|
});
|
|
16823
16823
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
16824
16824
|
}
|
|
16825
|
-
function buildNetworkSnapshot$
|
|
16825
|
+
function buildNetworkSnapshot$_(luvio, config, options) {
|
|
16826
16826
|
const resourceParams = createResourceParams$R(config);
|
|
16827
16827
|
const request = createResourceRequest$Y(resourceParams);
|
|
16828
16828
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -16837,7 +16837,7 @@ function buildNetworkSnapshot$W(luvio, config, options) {
|
|
|
16837
16837
|
});
|
|
16838
16838
|
}
|
|
16839
16839
|
function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext) {
|
|
16840
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
16840
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$_, undefined, false);
|
|
16841
16841
|
}
|
|
16842
16842
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
16843
16843
|
const { luvio, config } = context;
|
|
@@ -16848,7 +16848,7 @@ function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
|
16848
16848
|
};
|
|
16849
16849
|
const cacheSnapshot = storeLookup(selector, {
|
|
16850
16850
|
config,
|
|
16851
|
-
resolve: () => buildNetworkSnapshot$
|
|
16851
|
+
resolve: () => buildNetworkSnapshot$_(luvio, config, snapshotRefreshOptions)
|
|
16852
16852
|
});
|
|
16853
16853
|
return cacheSnapshot;
|
|
16854
16854
|
}
|
|
@@ -17318,18 +17318,18 @@ function adapterFragment$z(luvio, config) {
|
|
|
17318
17318
|
function onFetchResponseSuccess$D(luvio, config, resourceParams, response) {
|
|
17319
17319
|
const snapshot = ingestSuccess$H(luvio, resourceParams, response, {
|
|
17320
17320
|
config,
|
|
17321
|
-
resolve: () => buildNetworkSnapshot$
|
|
17321
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
17322
17322
|
});
|
|
17323
17323
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17324
17324
|
}
|
|
17325
17325
|
function onFetchResponseError$D(luvio, config, resourceParams, response) {
|
|
17326
17326
|
const snapshot = ingestError$z(luvio, resourceParams, response, {
|
|
17327
17327
|
config,
|
|
17328
|
-
resolve: () => buildNetworkSnapshot$
|
|
17328
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
17329
17329
|
});
|
|
17330
17330
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17331
17331
|
}
|
|
17332
|
-
function buildNetworkSnapshot$
|
|
17332
|
+
function buildNetworkSnapshot$Z(luvio, config, options) {
|
|
17333
17333
|
const resourceParams = createResourceParams$Q(config);
|
|
17334
17334
|
const request = createResourceRequest$W(resourceParams);
|
|
17335
17335
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -17344,7 +17344,7 @@ function buildNetworkSnapshot$V(luvio, config, options) {
|
|
|
17344
17344
|
});
|
|
17345
17345
|
}
|
|
17346
17346
|
function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext) {
|
|
17347
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
17347
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$Z, 'get', false);
|
|
17348
17348
|
}
|
|
17349
17349
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
17350
17350
|
const { luvio, config } = context;
|
|
@@ -17355,7 +17355,7 @@ function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
|
17355
17355
|
};
|
|
17356
17356
|
const cacheSnapshot = storeLookup(selector, {
|
|
17357
17357
|
config,
|
|
17358
|
-
resolve: () => buildNetworkSnapshot$
|
|
17358
|
+
resolve: () => buildNetworkSnapshot$Z(luvio, config, snapshotRefreshOptions)
|
|
17359
17359
|
});
|
|
17360
17360
|
return cacheSnapshot;
|
|
17361
17361
|
}
|
|
@@ -17411,18 +17411,18 @@ function adapterFragment$y(luvio, config) {
|
|
|
17411
17411
|
function onFetchResponseSuccess$C(luvio, config, resourceParams, response) {
|
|
17412
17412
|
const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
|
|
17413
17413
|
config,
|
|
17414
|
-
resolve: () => buildNetworkSnapshot$
|
|
17414
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
17415
17415
|
});
|
|
17416
17416
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17417
17417
|
}
|
|
17418
17418
|
function onFetchResponseError$C(luvio, config, resourceParams, response) {
|
|
17419
17419
|
const snapshot = ingestError$A(luvio, resourceParams, response, {
|
|
17420
17420
|
config,
|
|
17421
|
-
resolve: () => buildNetworkSnapshot$
|
|
17421
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
17422
17422
|
});
|
|
17423
17423
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17424
17424
|
}
|
|
17425
|
-
function buildNetworkSnapshot$
|
|
17425
|
+
function buildNetworkSnapshot$Y(luvio, config, options) {
|
|
17426
17426
|
const resourceParams = createResourceParams$P(config);
|
|
17427
17427
|
const request = createResourceRequest$X(resourceParams);
|
|
17428
17428
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -17437,7 +17437,7 @@ function buildNetworkSnapshot$U(luvio, config, options) {
|
|
|
17437
17437
|
});
|
|
17438
17438
|
}
|
|
17439
17439
|
function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext) {
|
|
17440
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
17440
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$Y, 'get', false);
|
|
17441
17441
|
}
|
|
17442
17442
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
17443
17443
|
const { luvio, config } = context;
|
|
@@ -17448,7 +17448,7 @@ function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
|
17448
17448
|
};
|
|
17449
17449
|
const cacheSnapshot = storeLookup(selector, {
|
|
17450
17450
|
config,
|
|
17451
|
-
resolve: () => buildNetworkSnapshot$
|
|
17451
|
+
resolve: () => buildNetworkSnapshot$Y(luvio, config, snapshotRefreshOptions)
|
|
17452
17452
|
});
|
|
17453
17453
|
return cacheSnapshot;
|
|
17454
17454
|
}
|
|
@@ -17554,18 +17554,18 @@ function adapterFragment$x(luvio, config) {
|
|
|
17554
17554
|
function onFetchResponseSuccess$B(luvio, config, resourceParams, response) {
|
|
17555
17555
|
const snapshot = ingestSuccess$G(luvio, resourceParams, response, {
|
|
17556
17556
|
config,
|
|
17557
|
-
resolve: () => buildNetworkSnapshot$
|
|
17557
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
17558
17558
|
});
|
|
17559
17559
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17560
17560
|
}
|
|
17561
17561
|
function onFetchResponseError$B(luvio, config, resourceParams, response) {
|
|
17562
17562
|
const snapshot = ingestError$y(luvio, resourceParams, response, {
|
|
17563
17563
|
config,
|
|
17564
|
-
resolve: () => buildNetworkSnapshot$
|
|
17564
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
17565
17565
|
});
|
|
17566
17566
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
17567
17567
|
}
|
|
17568
|
-
function buildNetworkSnapshot$
|
|
17568
|
+
function buildNetworkSnapshot$X(luvio, config, options) {
|
|
17569
17569
|
const resourceParams = createResourceParams$O(config);
|
|
17570
17570
|
const request = createResourceRequest$V(resourceParams);
|
|
17571
17571
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -17580,7 +17580,7 @@ function buildNetworkSnapshot$T(luvio, config, options) {
|
|
|
17580
17580
|
});
|
|
17581
17581
|
}
|
|
17582
17582
|
function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext) {
|
|
17583
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
17583
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$X, undefined, false);
|
|
17584
17584
|
}
|
|
17585
17585
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
17586
17586
|
const { luvio, config } = context;
|
|
@@ -17591,7 +17591,7 @@ function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
|
17591
17591
|
};
|
|
17592
17592
|
const cacheSnapshot = storeLookup(selector, {
|
|
17593
17593
|
config,
|
|
17594
|
-
resolve: () => buildNetworkSnapshot$
|
|
17594
|
+
resolve: () => buildNetworkSnapshot$X(luvio, config, snapshotRefreshOptions)
|
|
17595
17595
|
});
|
|
17596
17596
|
return cacheSnapshot;
|
|
17597
17597
|
}
|
|
@@ -18808,18 +18808,18 @@ function adapterFragment$w(luvio, config) {
|
|
|
18808
18808
|
function onFetchResponseSuccess$A(luvio, config, resourceParams, response) {
|
|
18809
18809
|
const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
|
|
18810
18810
|
config,
|
|
18811
|
-
resolve: () => buildNetworkSnapshot$
|
|
18811
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
18812
18812
|
});
|
|
18813
18813
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18814
18814
|
}
|
|
18815
18815
|
function onFetchResponseError$A(luvio, config, resourceParams, response) {
|
|
18816
18816
|
const snapshot = ingestError$x(luvio, resourceParams, response, {
|
|
18817
18817
|
config,
|
|
18818
|
-
resolve: () => buildNetworkSnapshot$
|
|
18818
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
18819
18819
|
});
|
|
18820
18820
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18821
18821
|
}
|
|
18822
|
-
function buildNetworkSnapshot$
|
|
18822
|
+
function buildNetworkSnapshot$W(luvio, config, options) {
|
|
18823
18823
|
const resourceParams = createResourceParams$N(config);
|
|
18824
18824
|
const request = createResourceRequest$U(resourceParams);
|
|
18825
18825
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -18834,7 +18834,7 @@ function buildNetworkSnapshot$S(luvio, config, options) {
|
|
|
18834
18834
|
});
|
|
18835
18835
|
}
|
|
18836
18836
|
function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext) {
|
|
18837
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
18837
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$W, undefined, false);
|
|
18838
18838
|
}
|
|
18839
18839
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
18840
18840
|
const { luvio, config } = context;
|
|
@@ -18845,7 +18845,7 @@ function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
|
18845
18845
|
};
|
|
18846
18846
|
const cacheSnapshot = storeLookup(selector, {
|
|
18847
18847
|
config,
|
|
18848
|
-
resolve: () => buildNetworkSnapshot$
|
|
18848
|
+
resolve: () => buildNetworkSnapshot$W(luvio, config, snapshotRefreshOptions)
|
|
18849
18849
|
});
|
|
18850
18850
|
return cacheSnapshot;
|
|
18851
18851
|
}
|
|
@@ -18947,18 +18947,18 @@ function adapterFragment$v(luvio, config) {
|
|
|
18947
18947
|
function onFetchResponseSuccess$z(luvio, config, resourceParams, response) {
|
|
18948
18948
|
const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
|
|
18949
18949
|
config,
|
|
18950
|
-
resolve: () => buildNetworkSnapshot$
|
|
18950
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
18951
18951
|
});
|
|
18952
18952
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18953
18953
|
}
|
|
18954
18954
|
function onFetchResponseError$z(luvio, config, resourceParams, response) {
|
|
18955
18955
|
const snapshot = ingestError$w(luvio, resourceParams, response, {
|
|
18956
18956
|
config,
|
|
18957
|
-
resolve: () => buildNetworkSnapshot$
|
|
18957
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
18958
18958
|
});
|
|
18959
18959
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
18960
18960
|
}
|
|
18961
|
-
function buildNetworkSnapshot$
|
|
18961
|
+
function buildNetworkSnapshot$V(luvio, config, options) {
|
|
18962
18962
|
const resourceParams = createResourceParams$M(config);
|
|
18963
18963
|
const request = createResourceRequest$T(resourceParams);
|
|
18964
18964
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -18973,7 +18973,7 @@ function buildNetworkSnapshot$R(luvio, config, options) {
|
|
|
18973
18973
|
});
|
|
18974
18974
|
}
|
|
18975
18975
|
function buildNetworkSnapshotCachePolicy$D(context, coercedAdapterRequestContext) {
|
|
18976
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
18976
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$V, undefined, false);
|
|
18977
18977
|
}
|
|
18978
18978
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
18979
18979
|
const { luvio, config } = context;
|
|
@@ -18984,7 +18984,7 @@ function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
|
18984
18984
|
};
|
|
18985
18985
|
const cacheSnapshot = storeLookup(selector, {
|
|
18986
18986
|
config,
|
|
18987
|
-
resolve: () => buildNetworkSnapshot$
|
|
18987
|
+
resolve: () => buildNetworkSnapshot$V(luvio, config, snapshotRefreshOptions)
|
|
18988
18988
|
});
|
|
18989
18989
|
return cacheSnapshot;
|
|
18990
18990
|
}
|
|
@@ -19090,18 +19090,18 @@ function adapterFragment$u(luvio, config) {
|
|
|
19090
19090
|
function onFetchResponseSuccess$y(luvio, config, resourceParams, response) {
|
|
19091
19091
|
const snapshot = ingestSuccess$D(luvio, resourceParams, response, {
|
|
19092
19092
|
config,
|
|
19093
|
-
resolve: () => buildNetworkSnapshot$
|
|
19093
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
19094
19094
|
});
|
|
19095
19095
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19096
19096
|
}
|
|
19097
19097
|
function onFetchResponseError$y(luvio, config, resourceParams, response) {
|
|
19098
19098
|
const snapshot = ingestError$v(luvio, resourceParams, response, {
|
|
19099
19099
|
config,
|
|
19100
|
-
resolve: () => buildNetworkSnapshot$
|
|
19100
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
19101
19101
|
});
|
|
19102
19102
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19103
19103
|
}
|
|
19104
|
-
function buildNetworkSnapshot$
|
|
19104
|
+
function buildNetworkSnapshot$U(luvio, config, options) {
|
|
19105
19105
|
const resourceParams = createResourceParams$L(config);
|
|
19106
19106
|
const request = createResourceRequest$S(resourceParams);
|
|
19107
19107
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19116,7 +19116,7 @@ function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
|
19116
19116
|
});
|
|
19117
19117
|
}
|
|
19118
19118
|
function buildNetworkSnapshotCachePolicy$C(context, coercedAdapterRequestContext) {
|
|
19119
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19119
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$U, undefined, false);
|
|
19120
19120
|
}
|
|
19121
19121
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
19122
19122
|
const { luvio, config } = context;
|
|
@@ -19127,7 +19127,7 @@ function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
|
19127
19127
|
};
|
|
19128
19128
|
const cacheSnapshot = storeLookup(selector, {
|
|
19129
19129
|
config,
|
|
19130
|
-
resolve: () => buildNetworkSnapshot$
|
|
19130
|
+
resolve: () => buildNetworkSnapshot$U(luvio, config, snapshotRefreshOptions)
|
|
19131
19131
|
});
|
|
19132
19132
|
return cacheSnapshot;
|
|
19133
19133
|
}
|
|
@@ -19691,18 +19691,18 @@ function adapterFragment$t(luvio, config) {
|
|
|
19691
19691
|
function onFetchResponseSuccess$x(luvio, config, resourceParams, response) {
|
|
19692
19692
|
const snapshot = ingestSuccess$C(luvio, resourceParams, response, {
|
|
19693
19693
|
config,
|
|
19694
|
-
resolve: () => buildNetworkSnapshot$
|
|
19694
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
19695
19695
|
});
|
|
19696
19696
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19697
19697
|
}
|
|
19698
19698
|
function onFetchResponseError$x(luvio, config, resourceParams, response) {
|
|
19699
19699
|
const snapshot = ingestError$u(luvio, resourceParams, response, {
|
|
19700
19700
|
config,
|
|
19701
|
-
resolve: () => buildNetworkSnapshot$
|
|
19701
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
19702
19702
|
});
|
|
19703
19703
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19704
19704
|
}
|
|
19705
|
-
function buildNetworkSnapshot$
|
|
19705
|
+
function buildNetworkSnapshot$T(luvio, config, options) {
|
|
19706
19706
|
const resourceParams = createResourceParams$K(config);
|
|
19707
19707
|
const request = createResourceRequest$R(resourceParams);
|
|
19708
19708
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19717,7 +19717,7 @@ function buildNetworkSnapshot$P(luvio, config, options) {
|
|
|
19717
19717
|
});
|
|
19718
19718
|
}
|
|
19719
19719
|
function buildNetworkSnapshotCachePolicy$B(context, coercedAdapterRequestContext) {
|
|
19720
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19720
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$T, undefined, false);
|
|
19721
19721
|
}
|
|
19722
19722
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
19723
19723
|
const { luvio, config } = context;
|
|
@@ -19728,7 +19728,7 @@ function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
|
19728
19728
|
};
|
|
19729
19729
|
const cacheSnapshot = storeLookup(selector, {
|
|
19730
19730
|
config,
|
|
19731
|
-
resolve: () => buildNetworkSnapshot$
|
|
19731
|
+
resolve: () => buildNetworkSnapshot$T(luvio, config, snapshotRefreshOptions)
|
|
19732
19732
|
});
|
|
19733
19733
|
return cacheSnapshot;
|
|
19734
19734
|
}
|
|
@@ -19804,7 +19804,7 @@ function onFetchResponseSuccess$w(luvio, config, resourceParams, response) {
|
|
|
19804
19804
|
variables: {},
|
|
19805
19805
|
}, {
|
|
19806
19806
|
config,
|
|
19807
|
-
resolve: () => buildNetworkSnapshot$
|
|
19807
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions),
|
|
19808
19808
|
});
|
|
19809
19809
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19810
19810
|
}
|
|
@@ -19851,7 +19851,7 @@ function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
|
19851
19851
|
};
|
|
19852
19852
|
return storeLookup(selector, {
|
|
19853
19853
|
config,
|
|
19854
|
-
resolve: () => buildNetworkSnapshot$
|
|
19854
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions),
|
|
19855
19855
|
});
|
|
19856
19856
|
}
|
|
19857
19857
|
|
|
@@ -19885,11 +19885,11 @@ function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
|
19885
19885
|
function onFetchResponseError$w(luvio, config, resourceParams, response) {
|
|
19886
19886
|
const snapshot = ingestError$t(luvio, resourceParams, response, {
|
|
19887
19887
|
config,
|
|
19888
|
-
resolve: () => buildNetworkSnapshot$
|
|
19888
|
+
resolve: () => buildNetworkSnapshot$S(luvio, config, snapshotRefreshOptions)
|
|
19889
19889
|
});
|
|
19890
19890
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
19891
19891
|
}
|
|
19892
|
-
function buildNetworkSnapshot$
|
|
19892
|
+
function buildNetworkSnapshot$S(luvio, config, options) {
|
|
19893
19893
|
const resourceParams = createResourceParams$J(config);
|
|
19894
19894
|
const request = createResourceRequest$Q(resourceParams);
|
|
19895
19895
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -19904,7 +19904,7 @@ function buildNetworkSnapshot$O(luvio, config, options) {
|
|
|
19904
19904
|
});
|
|
19905
19905
|
}
|
|
19906
19906
|
function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext) {
|
|
19907
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
19907
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$S, undefined, false);
|
|
19908
19908
|
}
|
|
19909
19909
|
const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedConfig, requestContext) {
|
|
19910
19910
|
const config = validateAdapterConfig$Q(untrustedConfig);
|
|
@@ -19948,11 +19948,11 @@ function buildCachedSnapshot$5(luvio, config) {
|
|
|
19948
19948
|
};
|
|
19949
19949
|
return luvio.storeLookup(selector, {
|
|
19950
19950
|
config,
|
|
19951
|
-
resolve: () => buildNetworkSnapshot$
|
|
19951
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config),
|
|
19952
19952
|
});
|
|
19953
19953
|
}
|
|
19954
19954
|
|
|
19955
|
-
function buildNetworkSnapshot$
|
|
19955
|
+
function buildNetworkSnapshot$R(luvio, config, context) {
|
|
19956
19956
|
const { resourceParams, request, key } = prepareRequest$4(luvio, config);
|
|
19957
19957
|
return luvio
|
|
19958
19958
|
.dispatchResourceRequest(request, context)
|
|
@@ -19983,7 +19983,7 @@ function onFetchResponseSuccess$v(luvio, config, key, response) {
|
|
|
19983
19983
|
function onFetchResponseError$v(luvio, config, key, error) {
|
|
19984
19984
|
const errorSnapshot = luvio.errorSnapshot(error, {
|
|
19985
19985
|
config,
|
|
19986
|
-
resolve: () => buildNetworkSnapshot$
|
|
19986
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config),
|
|
19987
19987
|
});
|
|
19988
19988
|
luvio.storeIngestError(key, errorSnapshot);
|
|
19989
19989
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
@@ -20066,7 +20066,7 @@ function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
|
20066
20066
|
};
|
|
20067
20067
|
return storeLookup(selector, {
|
|
20068
20068
|
config,
|
|
20069
|
-
resolve: () => buildNetworkSnapshot$
|
|
20069
|
+
resolve: () => buildNetworkSnapshot$R(luvio, config),
|
|
20070
20070
|
});
|
|
20071
20071
|
}
|
|
20072
20072
|
|
|
@@ -20097,7 +20097,7 @@ function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
|
20097
20097
|
return config;
|
|
20098
20098
|
}
|
|
20099
20099
|
function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext) {
|
|
20100
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
20100
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$R, undefined, false);
|
|
20101
20101
|
}
|
|
20102
20102
|
const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUserState(untrustedConfig, requestContext) {
|
|
20103
20103
|
const config = validateAdapterConfig$O(untrustedConfig, getLayoutUserState_ConfigPropertyNames);
|
|
@@ -20471,18 +20471,18 @@ function adapterFragment$s(luvio, config) {
|
|
|
20471
20471
|
function onFetchResponseSuccess$u(luvio, config, resourceParams, response) {
|
|
20472
20472
|
const snapshot = ingestSuccess$A(luvio, resourceParams, response, {
|
|
20473
20473
|
config,
|
|
20474
|
-
resolve: () => buildNetworkSnapshot$
|
|
20474
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
|
|
20475
20475
|
});
|
|
20476
20476
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20477
20477
|
}
|
|
20478
20478
|
function onFetchResponseError$u(luvio, config, resourceParams, response) {
|
|
20479
20479
|
const snapshot = ingestError$r(luvio, resourceParams, response, {
|
|
20480
20480
|
config,
|
|
20481
|
-
resolve: () => buildNetworkSnapshot$
|
|
20481
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
|
|
20482
20482
|
});
|
|
20483
20483
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20484
20484
|
}
|
|
20485
|
-
function buildNetworkSnapshot$
|
|
20485
|
+
function buildNetworkSnapshot$Q(luvio, config, options) {
|
|
20486
20486
|
const resourceParams = createResourceParams$I(config);
|
|
20487
20487
|
const request = createResourceRequest$N(resourceParams);
|
|
20488
20488
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20497,7 +20497,7 @@ function buildNetworkSnapshot$M(luvio, config, options) {
|
|
|
20497
20497
|
});
|
|
20498
20498
|
}
|
|
20499
20499
|
function buildNetworkSnapshotCachePolicy$y(context, coercedAdapterRequestContext) {
|
|
20500
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
20500
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$Q, undefined, false);
|
|
20501
20501
|
}
|
|
20502
20502
|
function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
20503
20503
|
const { luvio, config } = context;
|
|
@@ -20508,7 +20508,7 @@ function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
|
20508
20508
|
};
|
|
20509
20509
|
const cacheSnapshot = storeLookup(selector, {
|
|
20510
20510
|
config,
|
|
20511
|
-
resolve: () => buildNetworkSnapshot$
|
|
20511
|
+
resolve: () => buildNetworkSnapshot$Q(luvio, config, snapshotRefreshOptions)
|
|
20512
20512
|
});
|
|
20513
20513
|
return cacheSnapshot;
|
|
20514
20514
|
}
|
|
@@ -20619,14 +20619,14 @@ function adapterFragment$r(luvio, config) {
|
|
|
20619
20619
|
function onFetchResponseSuccess$t(luvio, config, resourceParams, response) {
|
|
20620
20620
|
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
20621
20621
|
config,
|
|
20622
|
-
resolve: () => buildNetworkSnapshot$
|
|
20622
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
|
|
20623
20623
|
});
|
|
20624
20624
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20625
20625
|
}
|
|
20626
20626
|
function onFetchResponseError$t(luvio, config, resourceParams, response) {
|
|
20627
20627
|
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
20628
20628
|
config,
|
|
20629
|
-
resolve: () => buildNetworkSnapshot$
|
|
20629
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
|
|
20630
20630
|
});
|
|
20631
20631
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
20632
20632
|
}
|
|
@@ -20705,7 +20705,7 @@ function getPaginationMetadata$2(luvio, resourceParams) {
|
|
|
20705
20705
|
}
|
|
20706
20706
|
return node.data.__metadata;
|
|
20707
20707
|
}
|
|
20708
|
-
function buildNetworkSnapshot$
|
|
20708
|
+
function buildNetworkSnapshot$P(luvio, config, options, cacheSnapshot) {
|
|
20709
20709
|
const resourceParams = createResourceParams$H(config);
|
|
20710
20710
|
const request = prepareRequest$3(luvio, config, resourceParams, cacheSnapshot);
|
|
20711
20711
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20720,7 +20720,7 @@ function buildNetworkSnapshot$L(luvio, config, options, cacheSnapshot) {
|
|
|
20720
20720
|
});
|
|
20721
20721
|
}
|
|
20722
20722
|
function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext) {
|
|
20723
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
20723
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$P, undefined, true);
|
|
20724
20724
|
}
|
|
20725
20725
|
function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
20726
20726
|
const { luvio, config } = context;
|
|
@@ -20731,7 +20731,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
20731
20731
|
};
|
|
20732
20732
|
const cacheSnapshot = storeLookup(selector, {
|
|
20733
20733
|
config,
|
|
20734
|
-
resolve: () => buildNetworkSnapshot$
|
|
20734
|
+
resolve: () => buildNetworkSnapshot$P(luvio, config, snapshotRefreshOptions)
|
|
20735
20735
|
});
|
|
20736
20736
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
20737
20737
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -20937,7 +20937,7 @@ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
|
20937
20937
|
}
|
|
20938
20938
|
return config;
|
|
20939
20939
|
}
|
|
20940
|
-
function buildNetworkSnapshot$
|
|
20940
|
+
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
20941
20941
|
const resourceParams = createResourceParams$G(config);
|
|
20942
20942
|
const request = createResourceRequest$L(resourceParams);
|
|
20943
20943
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -20962,7 +20962,7 @@ const createListInfoAdapterFactory = (luvio) => {
|
|
|
20962
20962
|
if (config === null) {
|
|
20963
20963
|
throw new Error('Invalid config for "createListInfo"');
|
|
20964
20964
|
}
|
|
20965
|
-
return buildNetworkSnapshot$
|
|
20965
|
+
return buildNetworkSnapshot$O(luvio, config);
|
|
20966
20966
|
};
|
|
20967
20967
|
};
|
|
20968
20968
|
|
|
@@ -21024,7 +21024,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
21024
21024
|
}
|
|
21025
21025
|
return config;
|
|
21026
21026
|
}
|
|
21027
|
-
function buildNetworkSnapshot$
|
|
21027
|
+
function buildNetworkSnapshot$N(luvio, config, options) {
|
|
21028
21028
|
const resourceParams = createResourceParams$F(config);
|
|
21029
21029
|
const request = createResourceRequest$K(resourceParams);
|
|
21030
21030
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -21049,7 +21049,7 @@ const deleteListInfoAdapterFactory = (luvio) => {
|
|
|
21049
21049
|
if (config === null) {
|
|
21050
21050
|
throw new Error(`Invalid config for "${adapterName$B}"`);
|
|
21051
21051
|
}
|
|
21052
|
-
return buildNetworkSnapshot$
|
|
21052
|
+
return buildNetworkSnapshot$N(luvio, config);
|
|
21053
21053
|
};
|
|
21054
21054
|
};
|
|
21055
21055
|
|
|
@@ -21089,18 +21089,18 @@ function adapterFragment$q(luvio, config) {
|
|
|
21089
21089
|
function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
|
|
21090
21090
|
const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
|
|
21091
21091
|
config,
|
|
21092
|
-
resolve: () => buildNetworkSnapshot$
|
|
21092
|
+
resolve: () => buildNetworkSnapshot$M(luvio, config, snapshotRefreshOptions)
|
|
21093
21093
|
});
|
|
21094
21094
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21095
21095
|
}
|
|
21096
21096
|
function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
21097
21097
|
const snapshot = ingestError$s(luvio, resourceParams, response, {
|
|
21098
21098
|
config,
|
|
21099
|
-
resolve: () => buildNetworkSnapshot$
|
|
21099
|
+
resolve: () => buildNetworkSnapshot$M(luvio, config, snapshotRefreshOptions)
|
|
21100
21100
|
});
|
|
21101
21101
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
21102
21102
|
}
|
|
21103
|
-
function buildNetworkSnapshot$
|
|
21103
|
+
function buildNetworkSnapshot$M(luvio, config, options) {
|
|
21104
21104
|
const resourceParams = createResourceParams$E(config);
|
|
21105
21105
|
const request = createResourceRequest$O(resourceParams);
|
|
21106
21106
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -21115,7 +21115,7 @@ function buildNetworkSnapshot$I(luvio, config, options) {
|
|
|
21115
21115
|
});
|
|
21116
21116
|
}
|
|
21117
21117
|
function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
|
|
21118
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
21118
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$M, undefined, false);
|
|
21119
21119
|
}
|
|
21120
21120
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
21121
21121
|
const { luvio, config } = context;
|
|
@@ -21126,7 +21126,7 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
|
21126
21126
|
};
|
|
21127
21127
|
const cacheSnapshot = storeLookup(selector, {
|
|
21128
21128
|
config,
|
|
21129
|
-
resolve: () => buildNetworkSnapshot$
|
|
21129
|
+
resolve: () => buildNetworkSnapshot$M(luvio, config, snapshotRefreshOptions)
|
|
21130
21130
|
});
|
|
21131
21131
|
return cacheSnapshot;
|
|
21132
21132
|
}
|
|
@@ -21227,7 +21227,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
21227
21227
|
}
|
|
21228
21228
|
return config;
|
|
21229
21229
|
}
|
|
21230
|
-
function buildNetworkSnapshot$
|
|
21230
|
+
function buildNetworkSnapshot$L(luvio, config, options) {
|
|
21231
21231
|
const resourceParams = createResourceParams$D(config);
|
|
21232
21232
|
const request = createResourceRequest$J(resourceParams);
|
|
21233
21233
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -21252,7 +21252,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
21252
21252
|
if (config === null) {
|
|
21253
21253
|
throw new Error('Invalid config for "updateListInfoByName"');
|
|
21254
21254
|
}
|
|
21255
|
-
return buildNetworkSnapshot$
|
|
21255
|
+
return buildNetworkSnapshot$L(luvio, config);
|
|
21256
21256
|
};
|
|
21257
21257
|
};
|
|
21258
21258
|
|
|
@@ -22159,18 +22159,18 @@ function adapterFragment$p(luvio, config) {
|
|
|
22159
22159
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
22160
22160
|
const snapshot = ingestSuccess$w(luvio, resourceParams, response, {
|
|
22161
22161
|
config,
|
|
22162
|
-
resolve: () => buildNetworkSnapshot$
|
|
22162
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
22163
22163
|
});
|
|
22164
22164
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22165
22165
|
}
|
|
22166
22166
|
function onFetchResponseError$r(luvio, config, resourceParams, response) {
|
|
22167
22167
|
const snapshot = ingestError$p(luvio, resourceParams, response, {
|
|
22168
22168
|
config,
|
|
22169
|
-
resolve: () => buildNetworkSnapshot$
|
|
22169
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
22170
22170
|
});
|
|
22171
22171
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22172
22172
|
}
|
|
22173
|
-
function buildNetworkSnapshot$
|
|
22173
|
+
function buildNetworkSnapshot$K(luvio, config, options) {
|
|
22174
22174
|
const resourceParams = createResourceParams$C(config);
|
|
22175
22175
|
const request = createResourceRequest$I(resourceParams);
|
|
22176
22176
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22185,7 +22185,7 @@ function buildNetworkSnapshot$G(luvio, config, options) {
|
|
|
22185
22185
|
});
|
|
22186
22186
|
}
|
|
22187
22187
|
function buildNetworkSnapshotCachePolicy$v(context, coercedAdapterRequestContext) {
|
|
22188
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22188
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$K, undefined, false);
|
|
22189
22189
|
}
|
|
22190
22190
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
22191
22191
|
const { luvio, config } = context;
|
|
@@ -22196,7 +22196,7 @@ function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
|
22196
22196
|
};
|
|
22197
22197
|
const cacheSnapshot = storeLookup(selector, {
|
|
22198
22198
|
config,
|
|
22199
|
-
resolve: () => buildNetworkSnapshot$
|
|
22199
|
+
resolve: () => buildNetworkSnapshot$K(luvio, config, snapshotRefreshOptions)
|
|
22200
22200
|
});
|
|
22201
22201
|
return cacheSnapshot;
|
|
22202
22202
|
}
|
|
@@ -22469,18 +22469,18 @@ function adapterFragment$o(luvio, config) {
|
|
|
22469
22469
|
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
22470
22470
|
const snapshot = ingestSuccess$v(luvio, resourceParams, response, {
|
|
22471
22471
|
config,
|
|
22472
|
-
resolve: () => buildNetworkSnapshot$
|
|
22472
|
+
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
22473
22473
|
});
|
|
22474
22474
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22475
22475
|
}
|
|
22476
22476
|
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
22477
22477
|
const snapshot = ingestError$o(luvio, resourceParams, response, {
|
|
22478
22478
|
config,
|
|
22479
|
-
resolve: () => buildNetworkSnapshot$
|
|
22479
|
+
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
22480
22480
|
});
|
|
22481
22481
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22482
22482
|
}
|
|
22483
|
-
function buildNetworkSnapshot$
|
|
22483
|
+
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
22484
22484
|
const resourceParams = createResourceParams$B(config);
|
|
22485
22485
|
const request = createResourceRequest$H(resourceParams);
|
|
22486
22486
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22495,7 +22495,7 @@ function buildNetworkSnapshot$F(luvio, config, options) {
|
|
|
22495
22495
|
});
|
|
22496
22496
|
}
|
|
22497
22497
|
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
22498
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22498
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$J, undefined, false);
|
|
22499
22499
|
}
|
|
22500
22500
|
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
22501
22501
|
const { luvio, config } = context;
|
|
@@ -22506,7 +22506,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
22506
22506
|
};
|
|
22507
22507
|
const cacheSnapshot = storeLookup(selector, {
|
|
22508
22508
|
config,
|
|
22509
|
-
resolve: () => buildNetworkSnapshot$
|
|
22509
|
+
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
22510
22510
|
});
|
|
22511
22511
|
return cacheSnapshot;
|
|
22512
22512
|
}
|
|
@@ -22651,7 +22651,7 @@ function validateAdapterConfig$E(untrustedConfig, configPropertyNames) {
|
|
|
22651
22651
|
}
|
|
22652
22652
|
return config;
|
|
22653
22653
|
}
|
|
22654
|
-
function buildNetworkSnapshot$
|
|
22654
|
+
function buildNetworkSnapshot$I(luvio, config, options) {
|
|
22655
22655
|
const resourceParams = createResourceParams$A(config);
|
|
22656
22656
|
const request = createResourceRequest$G(resourceParams);
|
|
22657
22657
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22676,7 +22676,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
22676
22676
|
if (config === null) {
|
|
22677
22677
|
throw new Error('Invalid config for "updateListPreferences"');
|
|
22678
22678
|
}
|
|
22679
|
-
return buildNetworkSnapshot$
|
|
22679
|
+
return buildNetworkSnapshot$I(luvio, config);
|
|
22680
22680
|
};
|
|
22681
22681
|
};
|
|
22682
22682
|
|
|
@@ -22925,18 +22925,18 @@ function adapterFragment$n(luvio, config) {
|
|
|
22925
22925
|
function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
22926
22926
|
const snapshot = ingestSuccess$t(luvio, resourceParams, response, {
|
|
22927
22927
|
config,
|
|
22928
|
-
resolve: () => buildNetworkSnapshot$
|
|
22928
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
22929
22929
|
});
|
|
22930
22930
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22931
22931
|
}
|
|
22932
22932
|
function onFetchResponseError$p(luvio, config, resourceParams, response) {
|
|
22933
22933
|
const snapshot = ingestError$n(luvio, resourceParams, response, {
|
|
22934
22934
|
config,
|
|
22935
|
-
resolve: () => buildNetworkSnapshot$
|
|
22935
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
22936
22936
|
});
|
|
22937
22937
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
22938
22938
|
}
|
|
22939
|
-
function buildNetworkSnapshot$
|
|
22939
|
+
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
22940
22940
|
const resourceParams = createResourceParams$z(config);
|
|
22941
22941
|
const request = createResourceRequest$F(resourceParams);
|
|
22942
22942
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -22951,7 +22951,7 @@ function buildNetworkSnapshot$D(luvio, config, options) {
|
|
|
22951
22951
|
});
|
|
22952
22952
|
}
|
|
22953
22953
|
function buildNetworkSnapshotCachePolicy$t(context, coercedAdapterRequestContext) {
|
|
22954
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
22954
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
|
|
22955
22955
|
}
|
|
22956
22956
|
function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
22957
22957
|
const { luvio, config } = context;
|
|
@@ -22962,7 +22962,7 @@ function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
|
22962
22962
|
};
|
|
22963
22963
|
const cacheSnapshot = storeLookup(selector, {
|
|
22964
22964
|
config,
|
|
22965
|
-
resolve: () => buildNetworkSnapshot$
|
|
22965
|
+
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions)
|
|
22966
22966
|
});
|
|
22967
22967
|
return cacheSnapshot;
|
|
22968
22968
|
}
|
|
@@ -23054,18 +23054,18 @@ function adapterFragment$m(luvio, config) {
|
|
|
23054
23054
|
function onFetchResponseSuccess$o(luvio, config, resourceParams, response) {
|
|
23055
23055
|
const snapshot = ingestSuccess$s(luvio, resourceParams, response, {
|
|
23056
23056
|
config,
|
|
23057
|
-
resolve: () => buildNetworkSnapshot$
|
|
23057
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
23058
23058
|
});
|
|
23059
23059
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23060
23060
|
}
|
|
23061
23061
|
function onFetchResponseError$o(luvio, config, resourceParams, response) {
|
|
23062
23062
|
const snapshot = ingestError$m(luvio, resourceParams, response, {
|
|
23063
23063
|
config,
|
|
23064
|
-
resolve: () => buildNetworkSnapshot$
|
|
23064
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
23065
23065
|
});
|
|
23066
23066
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23067
23067
|
}
|
|
23068
|
-
function buildNetworkSnapshot$
|
|
23068
|
+
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
23069
23069
|
const resourceParams = createResourceParams$y(config);
|
|
23070
23070
|
const request = createResourceRequest$E();
|
|
23071
23071
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -23080,7 +23080,7 @@ function buildNetworkSnapshot$C(luvio, config, options) {
|
|
|
23080
23080
|
});
|
|
23081
23081
|
}
|
|
23082
23082
|
function buildNetworkSnapshotCachePolicy$s(context, coercedAdapterRequestContext) {
|
|
23083
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
23083
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$G, undefined, false);
|
|
23084
23084
|
}
|
|
23085
23085
|
function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
23086
23086
|
const { luvio, config } = context;
|
|
@@ -23091,7 +23091,7 @@ function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
|
23091
23091
|
};
|
|
23092
23092
|
const cacheSnapshot = storeLookup(selector, {
|
|
23093
23093
|
config,
|
|
23094
|
-
resolve: () => buildNetworkSnapshot$
|
|
23094
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions)
|
|
23095
23095
|
});
|
|
23096
23096
|
return cacheSnapshot;
|
|
23097
23097
|
}
|
|
@@ -23403,18 +23403,18 @@ function adapterFragment$l(luvio, config) {
|
|
|
23403
23403
|
function onFetchResponseSuccess$n(luvio, config, resourceParams, response) {
|
|
23404
23404
|
const snapshot = ingestSuccess$r(luvio, resourceParams, response, {
|
|
23405
23405
|
config,
|
|
23406
|
-
resolve: () => buildNetworkSnapshot$
|
|
23406
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
23407
23407
|
});
|
|
23408
23408
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23409
23409
|
}
|
|
23410
23410
|
function onFetchResponseError$n(luvio, config, resourceParams, response) {
|
|
23411
23411
|
const snapshot = ingestError$l(luvio, resourceParams, response, {
|
|
23412
23412
|
config,
|
|
23413
|
-
resolve: () => buildNetworkSnapshot$
|
|
23413
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
23414
23414
|
});
|
|
23415
23415
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
23416
23416
|
}
|
|
23417
|
-
function buildNetworkSnapshot$
|
|
23417
|
+
function buildNetworkSnapshot$F(luvio, config, options) {
|
|
23418
23418
|
const resourceParams = createResourceParams$x(config);
|
|
23419
23419
|
const request = createResourceRequest$D(resourceParams);
|
|
23420
23420
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -23429,7 +23429,7 @@ function buildNetworkSnapshot$B(luvio, config, options) {
|
|
|
23429
23429
|
});
|
|
23430
23430
|
}
|
|
23431
23431
|
function buildNetworkSnapshotCachePolicy$r(context, coercedAdapterRequestContext) {
|
|
23432
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
23432
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$F, undefined, false);
|
|
23433
23433
|
}
|
|
23434
23434
|
function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
23435
23435
|
const { luvio, config } = context;
|
|
@@ -23440,7 +23440,7 @@ function buildCachedSnapshotCachePolicy$q(context, storeLookup) {
|
|
|
23440
23440
|
};
|
|
23441
23441
|
const cacheSnapshot = storeLookup(selector, {
|
|
23442
23442
|
config,
|
|
23443
|
-
resolve: () => buildNetworkSnapshot$
|
|
23443
|
+
resolve: () => buildNetworkSnapshot$F(luvio, config, snapshotRefreshOptions)
|
|
23444
23444
|
});
|
|
23445
23445
|
return cacheSnapshot;
|
|
23446
23446
|
}
|
|
@@ -24044,18 +24044,18 @@ function adapterFragment$k(luvio, config) {
|
|
|
24044
24044
|
function onFetchResponseSuccess$m(luvio, config, resourceParams, response) {
|
|
24045
24045
|
const snapshot = ingestSuccess$q(luvio, resourceParams, response, {
|
|
24046
24046
|
config,
|
|
24047
|
-
resolve: () => buildNetworkSnapshot$
|
|
24047
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
24048
24048
|
});
|
|
24049
24049
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24050
24050
|
}
|
|
24051
24051
|
function onFetchResponseError$m(luvio, config, resourceParams, response) {
|
|
24052
24052
|
const snapshot = ingestError$k(luvio, resourceParams, response, {
|
|
24053
24053
|
config,
|
|
24054
|
-
resolve: () => buildNetworkSnapshot$
|
|
24054
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
24055
24055
|
});
|
|
24056
24056
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24057
24057
|
}
|
|
24058
|
-
function buildNetworkSnapshot$
|
|
24058
|
+
function buildNetworkSnapshot$E(luvio, config, options) {
|
|
24059
24059
|
const resourceParams = createResourceParams$w(config);
|
|
24060
24060
|
const request = createResourceRequest$C(resourceParams);
|
|
24061
24061
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -24070,7 +24070,7 @@ function buildNetworkSnapshot$A(luvio, config, options) {
|
|
|
24070
24070
|
});
|
|
24071
24071
|
}
|
|
24072
24072
|
function buildNetworkSnapshotCachePolicy$q(context, coercedAdapterRequestContext) {
|
|
24073
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
24073
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$E, undefined, false);
|
|
24074
24074
|
}
|
|
24075
24075
|
function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
24076
24076
|
const { luvio, config } = context;
|
|
@@ -24081,7 +24081,7 @@ function buildCachedSnapshotCachePolicy$p(context, storeLookup) {
|
|
|
24081
24081
|
};
|
|
24082
24082
|
const cacheSnapshot = storeLookup(selector, {
|
|
24083
24083
|
config,
|
|
24084
|
-
resolve: () => buildNetworkSnapshot$
|
|
24084
|
+
resolve: () => buildNetworkSnapshot$E(luvio, config, snapshotRefreshOptions)
|
|
24085
24085
|
});
|
|
24086
24086
|
return cacheSnapshot;
|
|
24087
24087
|
}
|
|
@@ -24116,7 +24116,7 @@ const path = select$2t().selections;
|
|
|
24116
24116
|
function buildSnapshotRefresh$2(luvio, config) {
|
|
24117
24117
|
return {
|
|
24118
24118
|
config,
|
|
24119
|
-
resolve: () => buildNetworkSnapshot$
|
|
24119
|
+
resolve: () => buildNetworkSnapshot$D(luvio, config),
|
|
24120
24120
|
};
|
|
24121
24121
|
}
|
|
24122
24122
|
function buildRequestAndKey(luvio, config) {
|
|
@@ -24144,7 +24144,7 @@ function onResponseError(luvio, config, key, err) {
|
|
|
24144
24144
|
luvio.storeIngestError(key, errorSnapshot);
|
|
24145
24145
|
return luvio.storeBroadcast().then(() => errorSnapshot);
|
|
24146
24146
|
}
|
|
24147
|
-
function buildNetworkSnapshot$
|
|
24147
|
+
function buildNetworkSnapshot$D(luvio, config, options) {
|
|
24148
24148
|
const { resourceParams, request, key } = buildRequestAndKey(luvio, config);
|
|
24149
24149
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
24150
24150
|
return luvio.handleSuccessResponse(() => {
|
|
@@ -24196,7 +24196,7 @@ function buildNetworkSnapshotCachePolicy$p(context, coercedAdapterRequestContext
|
|
|
24196
24196
|
priority: networkPriority,
|
|
24197
24197
|
};
|
|
24198
24198
|
}
|
|
24199
|
-
return buildNetworkSnapshot$
|
|
24199
|
+
return buildNetworkSnapshot$D(luvio, config, dispatchOptions);
|
|
24200
24200
|
}
|
|
24201
24201
|
function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
24202
24202
|
const { config, luvio } = context;
|
|
@@ -24370,18 +24370,18 @@ function adapterFragment$j(luvio, config) {
|
|
|
24370
24370
|
function onFetchResponseSuccess$l(luvio, config, resourceParams, response) {
|
|
24371
24371
|
const snapshot = ingestSuccess$p(luvio, resourceParams, response, {
|
|
24372
24372
|
config,
|
|
24373
|
-
resolve: () => buildNetworkSnapshot$
|
|
24373
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
24374
24374
|
});
|
|
24375
24375
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24376
24376
|
}
|
|
24377
24377
|
function onFetchResponseError$l(luvio, config, resourceParams, response) {
|
|
24378
24378
|
const snapshot = ingestError$j(luvio, resourceParams, response, {
|
|
24379
24379
|
config,
|
|
24380
|
-
resolve: () => buildNetworkSnapshot$
|
|
24380
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
24381
24381
|
});
|
|
24382
24382
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24383
24383
|
}
|
|
24384
|
-
function buildNetworkSnapshot$
|
|
24384
|
+
function buildNetworkSnapshot$C(luvio, config, options) {
|
|
24385
24385
|
const resourceParams = createResourceParams$v(config);
|
|
24386
24386
|
const request = createResourceRequest$A(resourceParams);
|
|
24387
24387
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -24396,7 +24396,7 @@ function buildNetworkSnapshot$y(luvio, config, options) {
|
|
|
24396
24396
|
});
|
|
24397
24397
|
}
|
|
24398
24398
|
function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext) {
|
|
24399
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
24399
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$C, undefined, false);
|
|
24400
24400
|
}
|
|
24401
24401
|
function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
24402
24402
|
const { luvio, config } = context;
|
|
@@ -24407,7 +24407,7 @@ function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
|
24407
24407
|
};
|
|
24408
24408
|
const cacheSnapshot = storeLookup(selector, {
|
|
24409
24409
|
config,
|
|
24410
|
-
resolve: () => buildNetworkSnapshot$
|
|
24410
|
+
resolve: () => buildNetworkSnapshot$C(luvio, config, snapshotRefreshOptions)
|
|
24411
24411
|
});
|
|
24412
24412
|
return cacheSnapshot;
|
|
24413
24413
|
}
|
|
@@ -24737,18 +24737,18 @@ function adapterFragment$i(luvio, config) {
|
|
|
24737
24737
|
function onFetchResponseSuccess$k(luvio, config, resourceParams, response) {
|
|
24738
24738
|
const snapshot = ingestSuccess$o(luvio, resourceParams, response, {
|
|
24739
24739
|
config,
|
|
24740
|
-
resolve: () => buildNetworkSnapshot$
|
|
24740
|
+
resolve: () => buildNetworkSnapshot$B(luvio, config, snapshotRefreshOptions)
|
|
24741
24741
|
});
|
|
24742
24742
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24743
24743
|
}
|
|
24744
24744
|
function onFetchResponseError$k(luvio, config, resourceParams, response) {
|
|
24745
24745
|
const snapshot = ingestError$i(luvio, resourceParams, response, {
|
|
24746
24746
|
config,
|
|
24747
|
-
resolve: () => buildNetworkSnapshot$
|
|
24747
|
+
resolve: () => buildNetworkSnapshot$B(luvio, config, snapshotRefreshOptions)
|
|
24748
24748
|
});
|
|
24749
24749
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
24750
24750
|
}
|
|
24751
|
-
function buildNetworkSnapshot$
|
|
24751
|
+
function buildNetworkSnapshot$B(luvio, config, options) {
|
|
24752
24752
|
const resourceParams = createResourceParams$u(config);
|
|
24753
24753
|
const request = createResourceRequest$z(resourceParams);
|
|
24754
24754
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -24763,7 +24763,7 @@ function buildNetworkSnapshot$x(luvio, config, options) {
|
|
|
24763
24763
|
});
|
|
24764
24764
|
}
|
|
24765
24765
|
function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext) {
|
|
24766
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
24766
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$B, 'get', false);
|
|
24767
24767
|
}
|
|
24768
24768
|
function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
24769
24769
|
const { luvio, config } = context;
|
|
@@ -24774,7 +24774,7 @@ function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
|
24774
24774
|
};
|
|
24775
24775
|
const cacheSnapshot = storeLookup(selector, {
|
|
24776
24776
|
config,
|
|
24777
|
-
resolve: () => buildNetworkSnapshot$
|
|
24777
|
+
resolve: () => buildNetworkSnapshot$B(luvio, config, snapshotRefreshOptions)
|
|
24778
24778
|
});
|
|
24779
24779
|
return cacheSnapshot;
|
|
24780
24780
|
}
|
|
@@ -25916,7 +25916,7 @@ function buildCachedSnapshot$3(luvio, config) {
|
|
|
25916
25916
|
const { recordIds } = config;
|
|
25917
25917
|
return luvio.storeLookup(recordAvatarsSelector(recordIds), {
|
|
25918
25918
|
config,
|
|
25919
|
-
resolve: () => buildNetworkSnapshot$
|
|
25919
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions),
|
|
25920
25920
|
});
|
|
25921
25921
|
}
|
|
25922
25922
|
|
|
@@ -25971,7 +25971,7 @@ function ingestFakeResponse(luvio, recordIds) {
|
|
|
25971
25971
|
function isRecordAvatarBulkMapRepresentation(response) {
|
|
25972
25972
|
return response.body.hasErrors === undefined;
|
|
25973
25973
|
}
|
|
25974
|
-
function buildNetworkSnapshot$
|
|
25974
|
+
function buildNetworkSnapshot$A(luvio, config, options) {
|
|
25975
25975
|
const { uncachedRecordIds, recordIds } = config;
|
|
25976
25976
|
const { recordIdsInFlight, recordIdsNotInFlight } = getRecordIdsFlightStatus(uncachedRecordIds || recordIds, // If uncached records were specified, only get those, otherwise, get all of them
|
|
25977
25977
|
IN_FLIGHT_REQUESTS);
|
|
@@ -26045,7 +26045,7 @@ function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
|
|
|
26045
26045
|
const { recordIds } = config;
|
|
26046
26046
|
const cachedSnapshot = storeLookup(recordAvatarsSelector(recordIds), {
|
|
26047
26047
|
config,
|
|
26048
|
-
resolve: () => buildNetworkSnapshot$
|
|
26048
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions),
|
|
26049
26049
|
});
|
|
26050
26050
|
// if the L1 lookup had some data but not all, then put the cache keys that were
|
|
26051
26051
|
// missing onto the context, so buildNetworkSnapshotCachePolicy only requests
|
|
@@ -26074,7 +26074,7 @@ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext
|
|
|
26074
26074
|
priority: networkPriority,
|
|
26075
26075
|
};
|
|
26076
26076
|
}
|
|
26077
|
-
return buildNetworkSnapshot$
|
|
26077
|
+
return buildNetworkSnapshot$A(luvio, config, dispatchOptions);
|
|
26078
26078
|
}
|
|
26079
26079
|
|
|
26080
26080
|
const adapterName$p = 'getRecordAvatars';
|
|
@@ -26106,14 +26106,14 @@ function validateAdapterConfig$v(untrustedConfig, configPropertyNames) {
|
|
|
26106
26106
|
function onFetchResponseSuccess$j(luvio, config, resourceParams, response) {
|
|
26107
26107
|
const snapshot = ingestSuccess$n(luvio, resourceParams, response, {
|
|
26108
26108
|
config,
|
|
26109
|
-
resolve: () => buildNetworkSnapshot$
|
|
26109
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
|
|
26110
26110
|
});
|
|
26111
26111
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26112
26112
|
}
|
|
26113
26113
|
function onFetchResponseError$j(luvio, config, resourceParams, response) {
|
|
26114
26114
|
const snapshot = ingestError$h(luvio, resourceParams, response, {
|
|
26115
26115
|
config,
|
|
26116
|
-
resolve: () => buildNetworkSnapshot$
|
|
26116
|
+
resolve: () => buildNetworkSnapshot$A(luvio, config, snapshotRefreshOptions)
|
|
26117
26117
|
});
|
|
26118
26118
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26119
26119
|
}
|
|
@@ -26282,11 +26282,11 @@ function keyBuilder$2p(luvio, config) {
|
|
|
26282
26282
|
function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
26283
26283
|
const snapshot = ingestError$Q(luvio, resourceParams, response, {
|
|
26284
26284
|
config,
|
|
26285
|
-
resolve: () => buildNetworkSnapshot$
|
|
26285
|
+
resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
|
|
26286
26286
|
});
|
|
26287
26287
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26288
26288
|
}
|
|
26289
|
-
function buildNetworkSnapshot$
|
|
26289
|
+
function buildNetworkSnapshot$z(luvio, config, options) {
|
|
26290
26290
|
const resourceParams = createResourceParams$14(config);
|
|
26291
26291
|
const request = createResourceRequest$1f(resourceParams);
|
|
26292
26292
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -26301,7 +26301,7 @@ function buildNetworkSnapshot$v(luvio, config, options) {
|
|
|
26301
26301
|
});
|
|
26302
26302
|
}
|
|
26303
26303
|
function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext) {
|
|
26304
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
26304
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$z, undefined, false);
|
|
26305
26305
|
}
|
|
26306
26306
|
function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
26307
26307
|
const { luvio, config } = context;
|
|
@@ -26312,7 +26312,7 @@ function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
|
26312
26312
|
};
|
|
26313
26313
|
const cacheSnapshot = storeLookup(selector, {
|
|
26314
26314
|
config,
|
|
26315
|
-
resolve: () => buildNetworkSnapshot$
|
|
26315
|
+
resolve: () => buildNetworkSnapshot$z(luvio, config, snapshotRefreshOptions)
|
|
26316
26316
|
});
|
|
26317
26317
|
return cacheSnapshot;
|
|
26318
26318
|
}
|
|
@@ -27054,18 +27054,18 @@ function adapterFragment$h(luvio, config) {
|
|
|
27054
27054
|
function onFetchResponseSuccess$i(luvio, config, resourceParams, response) {
|
|
27055
27055
|
const snapshot = ingestSuccess$l(luvio, resourceParams, response, {
|
|
27056
27056
|
config,
|
|
27057
|
-
resolve: () => buildNetworkSnapshot$
|
|
27057
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
27058
27058
|
});
|
|
27059
27059
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27060
27060
|
}
|
|
27061
27061
|
function onFetchResponseError$h(luvio, config, resourceParams, response) {
|
|
27062
27062
|
const snapshot = ingestError$f(luvio, resourceParams, response, {
|
|
27063
27063
|
config,
|
|
27064
|
-
resolve: () => buildNetworkSnapshot$
|
|
27064
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
27065
27065
|
});
|
|
27066
27066
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27067
27067
|
}
|
|
27068
|
-
function buildNetworkSnapshot$
|
|
27068
|
+
function buildNetworkSnapshot$y(luvio, config, options) {
|
|
27069
27069
|
const resourceParams = createResourceParams$s(config);
|
|
27070
27070
|
const request = createResourceRequest$w(resourceParams);
|
|
27071
27071
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -27080,7 +27080,7 @@ function buildNetworkSnapshot$u(luvio, config, options) {
|
|
|
27080
27080
|
});
|
|
27081
27081
|
}
|
|
27082
27082
|
function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext) {
|
|
27083
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
27083
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$y, undefined, false);
|
|
27084
27084
|
}
|
|
27085
27085
|
function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
27086
27086
|
const { luvio, config } = context;
|
|
@@ -27091,7 +27091,7 @@ function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
|
27091
27091
|
};
|
|
27092
27092
|
const cacheSnapshot = storeLookup(selector, {
|
|
27093
27093
|
config,
|
|
27094
|
-
resolve: () => buildNetworkSnapshot$
|
|
27094
|
+
resolve: () => buildNetworkSnapshot$y(luvio, config, snapshotRefreshOptions)
|
|
27095
27095
|
});
|
|
27096
27096
|
return cacheSnapshot;
|
|
27097
27097
|
}
|
|
@@ -27143,18 +27143,18 @@ function adapterFragment$g(luvio, config) {
|
|
|
27143
27143
|
function onFetchResponseSuccess$h(luvio, config, resourceParams, response) {
|
|
27144
27144
|
const snapshot = ingestSuccess$m(luvio, resourceParams, response, {
|
|
27145
27145
|
config,
|
|
27146
|
-
resolve: () => buildNetworkSnapshot$
|
|
27146
|
+
resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
|
|
27147
27147
|
});
|
|
27148
27148
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27149
27149
|
}
|
|
27150
27150
|
function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
27151
27151
|
const snapshot = ingestError$g(luvio, resourceParams, response, {
|
|
27152
27152
|
config,
|
|
27153
|
-
resolve: () => buildNetworkSnapshot$
|
|
27153
|
+
resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
|
|
27154
27154
|
});
|
|
27155
27155
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27156
27156
|
}
|
|
27157
|
-
function buildNetworkSnapshot$
|
|
27157
|
+
function buildNetworkSnapshot$x(luvio, config, options) {
|
|
27158
27158
|
const resourceParams = createResourceParams$r(config);
|
|
27159
27159
|
const request = createResourceRequest$x(resourceParams);
|
|
27160
27160
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -27169,7 +27169,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
|
|
|
27169
27169
|
});
|
|
27170
27170
|
}
|
|
27171
27171
|
function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext) {
|
|
27172
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
27172
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$x, undefined, false);
|
|
27173
27173
|
}
|
|
27174
27174
|
function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
27175
27175
|
const { luvio, config } = context;
|
|
@@ -27180,7 +27180,7 @@ function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
|
27180
27180
|
};
|
|
27181
27181
|
const cacheSnapshot = storeLookup(selector, {
|
|
27182
27182
|
config,
|
|
27183
|
-
resolve: () => buildNetworkSnapshot$
|
|
27183
|
+
resolve: () => buildNetworkSnapshot$x(luvio, config, snapshotRefreshOptions)
|
|
27184
27184
|
});
|
|
27185
27185
|
return cacheSnapshot;
|
|
27186
27186
|
}
|
|
@@ -28018,18 +28018,18 @@ function adapterFragment$f(luvio, config) {
|
|
|
28018
28018
|
function onFetchResponseSuccess$g(luvio, config, resourceParams, response) {
|
|
28019
28019
|
const snapshot = ingestSuccess$j(luvio, resourceParams, response, {
|
|
28020
28020
|
config,
|
|
28021
|
-
resolve: () => buildNetworkSnapshot$
|
|
28021
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
28022
28022
|
});
|
|
28023
28023
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28024
28024
|
}
|
|
28025
28025
|
function onFetchResponseError$f(luvio, config, resourceParams, response) {
|
|
28026
28026
|
const snapshot = ingestError$d(luvio, resourceParams, response, {
|
|
28027
28027
|
config,
|
|
28028
|
-
resolve: () => buildNetworkSnapshot$
|
|
28028
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
28029
28029
|
});
|
|
28030
28030
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28031
28031
|
}
|
|
28032
|
-
function buildNetworkSnapshot$
|
|
28032
|
+
function buildNetworkSnapshot$w(luvio, config, options) {
|
|
28033
28033
|
const resourceParams = createResourceParams$q(config);
|
|
28034
28034
|
const request = createResourceRequest$u(resourceParams);
|
|
28035
28035
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28044,7 +28044,7 @@ function buildNetworkSnapshot$s(luvio, config, options) {
|
|
|
28044
28044
|
});
|
|
28045
28045
|
}
|
|
28046
28046
|
function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext) {
|
|
28047
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28047
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$w, undefined, false);
|
|
28048
28048
|
}
|
|
28049
28049
|
function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
28050
28050
|
const { luvio, config } = context;
|
|
@@ -28055,7 +28055,7 @@ function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
|
28055
28055
|
};
|
|
28056
28056
|
const cacheSnapshot = storeLookup(selector, {
|
|
28057
28057
|
config,
|
|
28058
|
-
resolve: () => buildNetworkSnapshot$
|
|
28058
|
+
resolve: () => buildNetworkSnapshot$w(luvio, config, snapshotRefreshOptions)
|
|
28059
28059
|
});
|
|
28060
28060
|
return cacheSnapshot;
|
|
28061
28061
|
}
|
|
@@ -28411,18 +28411,18 @@ function adapterFragment$e(luvio, config) {
|
|
|
28411
28411
|
function onFetchResponseSuccess$f(luvio, config, resourceParams, response) {
|
|
28412
28412
|
const snapshot = ingestSuccess$i(luvio, resourceParams, response, {
|
|
28413
28413
|
config,
|
|
28414
|
-
resolve: () => buildNetworkSnapshot$
|
|
28414
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
28415
28415
|
});
|
|
28416
28416
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28417
28417
|
}
|
|
28418
28418
|
function onFetchResponseError$e(luvio, config, resourceParams, response) {
|
|
28419
28419
|
const snapshot = ingestError$c(luvio, resourceParams, response, {
|
|
28420
28420
|
config,
|
|
28421
|
-
resolve: () => buildNetworkSnapshot$
|
|
28421
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
28422
28422
|
});
|
|
28423
28423
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28424
28424
|
}
|
|
28425
|
-
function buildNetworkSnapshot$
|
|
28425
|
+
function buildNetworkSnapshot$v(luvio, config, options) {
|
|
28426
28426
|
const resourceParams = createResourceParams$p(config);
|
|
28427
28427
|
const request = createResourceRequest$t(resourceParams);
|
|
28428
28428
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28437,7 +28437,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
|
|
|
28437
28437
|
});
|
|
28438
28438
|
}
|
|
28439
28439
|
function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
|
|
28440
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28440
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$v, undefined, false);
|
|
28441
28441
|
}
|
|
28442
28442
|
function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
28443
28443
|
const { luvio, config } = context;
|
|
@@ -28448,7 +28448,7 @@ function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
|
28448
28448
|
};
|
|
28449
28449
|
const cacheSnapshot = storeLookup(selector, {
|
|
28450
28450
|
config,
|
|
28451
|
-
resolve: () => buildNetworkSnapshot$
|
|
28451
|
+
resolve: () => buildNetworkSnapshot$v(luvio, config, snapshotRefreshOptions)
|
|
28452
28452
|
});
|
|
28453
28453
|
return cacheSnapshot;
|
|
28454
28454
|
}
|
|
@@ -28503,18 +28503,18 @@ function adapterFragment$d(luvio, config) {
|
|
|
28503
28503
|
function onFetchResponseSuccess$e(luvio, config, resourceParams, response) {
|
|
28504
28504
|
const snapshot = ingestSuccess$k(luvio, resourceParams, response, {
|
|
28505
28505
|
config,
|
|
28506
|
-
resolve: () => buildNetworkSnapshot$
|
|
28506
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
28507
28507
|
});
|
|
28508
28508
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28509
28509
|
}
|
|
28510
28510
|
function onFetchResponseError$d(luvio, config, resourceParams, response) {
|
|
28511
28511
|
const snapshot = ingestError$e(luvio, resourceParams, response, {
|
|
28512
28512
|
config,
|
|
28513
|
-
resolve: () => buildNetworkSnapshot$
|
|
28513
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
28514
28514
|
});
|
|
28515
28515
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
28516
28516
|
}
|
|
28517
|
-
function buildNetworkSnapshot$
|
|
28517
|
+
function buildNetworkSnapshot$u(luvio, config, options) {
|
|
28518
28518
|
const resourceParams = createResourceParams$o(config);
|
|
28519
28519
|
const request = createResourceRequest$v(resourceParams);
|
|
28520
28520
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28529,7 +28529,7 @@ function buildNetworkSnapshot$q(luvio, config, options) {
|
|
|
28529
28529
|
});
|
|
28530
28530
|
}
|
|
28531
28531
|
function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
|
|
28532
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
28532
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$u, undefined, false);
|
|
28533
28533
|
}
|
|
28534
28534
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
28535
28535
|
const { luvio, config } = context;
|
|
@@ -28540,7 +28540,7 @@ function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
|
28540
28540
|
};
|
|
28541
28541
|
const cacheSnapshot = storeLookup(selector, {
|
|
28542
28542
|
config,
|
|
28543
|
-
resolve: () => buildNetworkSnapshot$
|
|
28543
|
+
resolve: () => buildNetworkSnapshot$u(luvio, config, snapshotRefreshOptions)
|
|
28544
28544
|
});
|
|
28545
28545
|
return cacheSnapshot;
|
|
28546
28546
|
}
|
|
@@ -28678,7 +28678,7 @@ function validateAdapterConfig$o(untrustedConfig, configPropertyNames) {
|
|
|
28678
28678
|
}
|
|
28679
28679
|
return config;
|
|
28680
28680
|
}
|
|
28681
|
-
function buildNetworkSnapshot$
|
|
28681
|
+
function buildNetworkSnapshot$t(luvio, config, options) {
|
|
28682
28682
|
const resourceParams = createResourceParams$n(config);
|
|
28683
28683
|
const request = createResourceRequest$s(resourceParams);
|
|
28684
28684
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -28703,7 +28703,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
28703
28703
|
if (config === null) {
|
|
28704
28704
|
throw new Error('Invalid config for "updateRelatedListInfo"');
|
|
28705
28705
|
}
|
|
28706
|
-
return buildNetworkSnapshot$
|
|
28706
|
+
return buildNetworkSnapshot$t(luvio, config);
|
|
28707
28707
|
};
|
|
28708
28708
|
};
|
|
28709
28709
|
|
|
@@ -29165,18 +29165,18 @@ function adapterFragment$c(luvio, config) {
|
|
|
29165
29165
|
function onFetchResponseSuccess$d(luvio, config, resourceParams, response) {
|
|
29166
29166
|
const snapshot = ingestSuccess$f(luvio, resourceParams, response, {
|
|
29167
29167
|
config,
|
|
29168
|
-
resolve: () => buildNetworkSnapshot$
|
|
29168
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
29169
29169
|
});
|
|
29170
29170
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
29171
29171
|
}
|
|
29172
29172
|
function onFetchResponseError$c(luvio, config, resourceParams, response) {
|
|
29173
29173
|
const snapshot = ingestError$a(luvio, resourceParams, response, {
|
|
29174
29174
|
config,
|
|
29175
|
-
resolve: () => buildNetworkSnapshot$
|
|
29175
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
29176
29176
|
});
|
|
29177
29177
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
29178
29178
|
}
|
|
29179
|
-
function buildNetworkSnapshot$
|
|
29179
|
+
function buildNetworkSnapshot$s(luvio, config, options) {
|
|
29180
29180
|
const resourceParams = createResourceParams$m(config);
|
|
29181
29181
|
const request = createResourceRequest$q(resourceParams);
|
|
29182
29182
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -29191,7 +29191,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
29191
29191
|
});
|
|
29192
29192
|
}
|
|
29193
29193
|
function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
|
|
29194
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
29194
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$s, undefined, false);
|
|
29195
29195
|
}
|
|
29196
29196
|
function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
29197
29197
|
const { luvio, config } = context;
|
|
@@ -29202,7 +29202,7 @@ function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
|
29202
29202
|
};
|
|
29203
29203
|
const cacheSnapshot = storeLookup(selector, {
|
|
29204
29204
|
config,
|
|
29205
|
-
resolve: () => buildNetworkSnapshot$
|
|
29205
|
+
resolve: () => buildNetworkSnapshot$s(luvio, config, snapshotRefreshOptions)
|
|
29206
29206
|
});
|
|
29207
29207
|
return cacheSnapshot;
|
|
29208
29208
|
}
|
|
@@ -29251,18 +29251,18 @@ function adapterFragment$b(luvio, config) {
|
|
|
29251
29251
|
function onFetchResponseSuccess$c(luvio, config, resourceParams, response) {
|
|
29252
29252
|
const snapshot = ingestSuccess$g(luvio, resourceParams, response, {
|
|
29253
29253
|
config,
|
|
29254
|
-
resolve: () => buildNetworkSnapshot$
|
|
29254
|
+
resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
|
|
29255
29255
|
});
|
|
29256
29256
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
29257
29257
|
}
|
|
29258
29258
|
function onFetchResponseError$b(luvio, config, resourceParams, response) {
|
|
29259
29259
|
const snapshot = ingestError$b(luvio, resourceParams, response, {
|
|
29260
29260
|
config,
|
|
29261
|
-
resolve: () => buildNetworkSnapshot$
|
|
29261
|
+
resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
|
|
29262
29262
|
});
|
|
29263
29263
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
29264
29264
|
}
|
|
29265
|
-
function buildNetworkSnapshot$
|
|
29265
|
+
function buildNetworkSnapshot$r(luvio, config, options) {
|
|
29266
29266
|
const resourceParams = createResourceParams$l(config);
|
|
29267
29267
|
const request = createResourceRequest$r(resourceParams);
|
|
29268
29268
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -29277,7 +29277,7 @@ function buildNetworkSnapshot$n(luvio, config, options) {
|
|
|
29277
29277
|
});
|
|
29278
29278
|
}
|
|
29279
29279
|
function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
|
|
29280
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
29280
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
|
|
29281
29281
|
}
|
|
29282
29282
|
function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
29283
29283
|
const { luvio, config } = context;
|
|
@@ -29288,7 +29288,7 @@ function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
|
29288
29288
|
};
|
|
29289
29289
|
const cacheSnapshot = storeLookup(selector, {
|
|
29290
29290
|
config,
|
|
29291
|
-
resolve: () => buildNetworkSnapshot$
|
|
29291
|
+
resolve: () => buildNetworkSnapshot$r(luvio, config, snapshotRefreshOptions)
|
|
29292
29292
|
});
|
|
29293
29293
|
return cacheSnapshot;
|
|
29294
29294
|
}
|
|
@@ -29412,7 +29412,7 @@ function validateAdapterConfig$l(untrustedConfig, configPropertyNames) {
|
|
|
29412
29412
|
}
|
|
29413
29413
|
return config;
|
|
29414
29414
|
}
|
|
29415
|
-
function buildNetworkSnapshot$
|
|
29415
|
+
function buildNetworkSnapshot$q(luvio, config, options) {
|
|
29416
29416
|
const resourceParams = createResourceParams$k(config);
|
|
29417
29417
|
const request = createResourceRequest$p(resourceParams);
|
|
29418
29418
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -29437,7 +29437,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
29437
29437
|
if (config === null) {
|
|
29438
29438
|
throw new Error('Invalid config for "updateRelatedListPreferences"');
|
|
29439
29439
|
}
|
|
29440
|
-
return buildNetworkSnapshot$
|
|
29440
|
+
return buildNetworkSnapshot$q(luvio, config);
|
|
29441
29441
|
};
|
|
29442
29442
|
};
|
|
29443
29443
|
|
|
@@ -30737,18 +30737,18 @@ function adapterFragment$a(luvio, config) {
|
|
|
30737
30737
|
function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
|
|
30738
30738
|
const snapshot = ingestSuccess$c(luvio, resourceParams, response, {
|
|
30739
30739
|
config,
|
|
30740
|
-
resolve: () => buildNetworkSnapshot$
|
|
30740
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
30741
30741
|
});
|
|
30742
30742
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30743
30743
|
}
|
|
30744
30744
|
function onFetchResponseError$a(luvio, config, resourceParams, response) {
|
|
30745
30745
|
const snapshot = ingestError$8(luvio, resourceParams, response, {
|
|
30746
30746
|
config,
|
|
30747
|
-
resolve: () => buildNetworkSnapshot$
|
|
30747
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
30748
30748
|
});
|
|
30749
30749
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30750
30750
|
}
|
|
30751
|
-
function buildNetworkSnapshot$
|
|
30751
|
+
function buildNetworkSnapshot$p(luvio, config, options) {
|
|
30752
30752
|
const resourceParams = createResourceParams$j(config);
|
|
30753
30753
|
const request = createResourceRequest$n(resourceParams);
|
|
30754
30754
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -30763,7 +30763,7 @@ function buildNetworkSnapshot$l(luvio, config, options) {
|
|
|
30763
30763
|
});
|
|
30764
30764
|
}
|
|
30765
30765
|
function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
|
|
30766
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
30766
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, 'get', false);
|
|
30767
30767
|
}
|
|
30768
30768
|
function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
30769
30769
|
const { luvio, config } = context;
|
|
@@ -30774,7 +30774,7 @@ function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
|
30774
30774
|
};
|
|
30775
30775
|
const cacheSnapshot = storeLookup(selector, {
|
|
30776
30776
|
config,
|
|
30777
|
-
resolve: () => buildNetworkSnapshot$
|
|
30777
|
+
resolve: () => buildNetworkSnapshot$p(luvio, config, snapshotRefreshOptions)
|
|
30778
30778
|
});
|
|
30779
30779
|
return cacheSnapshot;
|
|
30780
30780
|
}
|
|
@@ -30832,14 +30832,14 @@ function adapterFragment$9(luvio, config) {
|
|
|
30832
30832
|
function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
|
|
30833
30833
|
const snapshot = ingestSuccess$d(luvio, resourceParams, response, {
|
|
30834
30834
|
config,
|
|
30835
|
-
resolve: () => buildNetworkSnapshot$
|
|
30835
|
+
resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
|
|
30836
30836
|
});
|
|
30837
30837
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30838
30838
|
}
|
|
30839
30839
|
function onFetchResponseError$9(luvio, config, resourceParams, response) {
|
|
30840
30840
|
const snapshot = ingestError$9(luvio, resourceParams, response, {
|
|
30841
30841
|
config,
|
|
30842
|
-
resolve: () => buildNetworkSnapshot$
|
|
30842
|
+
resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
|
|
30843
30843
|
});
|
|
30844
30844
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
30845
30845
|
}
|
|
@@ -30910,7 +30910,7 @@ function getPaginationMetadata$1(luvio, resourceParams) {
|
|
|
30910
30910
|
}
|
|
30911
30911
|
return node.data.__metadata;
|
|
30912
30912
|
}
|
|
30913
|
-
function buildNetworkSnapshot$
|
|
30913
|
+
function buildNetworkSnapshot$o(luvio, config, options, cacheSnapshot) {
|
|
30914
30914
|
const resourceParams = createResourceParams$i(config);
|
|
30915
30915
|
const request = prepareRequest$2(luvio, config, resourceParams, cacheSnapshot);
|
|
30916
30916
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -30925,7 +30925,7 @@ function buildNetworkSnapshot$k(luvio, config, options, cacheSnapshot) {
|
|
|
30925
30925
|
});
|
|
30926
30926
|
}
|
|
30927
30927
|
function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
|
|
30928
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
30928
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, 'get', true);
|
|
30929
30929
|
}
|
|
30930
30930
|
function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
30931
30931
|
const { luvio, config } = context;
|
|
@@ -30936,7 +30936,7 @@ function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
|
30936
30936
|
};
|
|
30937
30937
|
const cacheSnapshot = storeLookup(selector, {
|
|
30938
30938
|
config,
|
|
30939
|
-
resolve: () => buildNetworkSnapshot$
|
|
30939
|
+
resolve: () => buildNetworkSnapshot$o(luvio, config, snapshotRefreshOptions)
|
|
30940
30940
|
});
|
|
30941
30941
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
30942
30942
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -31268,18 +31268,18 @@ function adapterFragment$8(luvio, config) {
|
|
|
31268
31268
|
function onFetchResponseSuccess$9(luvio, config, resourceParams, response) {
|
|
31269
31269
|
const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
|
|
31270
31270
|
config,
|
|
31271
|
-
resolve: () => buildNetworkSnapshot$
|
|
31271
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
31272
31272
|
});
|
|
31273
31273
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31274
31274
|
}
|
|
31275
31275
|
function onFetchResponseError$8(luvio, config, resourceParams, response) {
|
|
31276
31276
|
const snapshot = ingestError$7(luvio, resourceParams, response, {
|
|
31277
31277
|
config,
|
|
31278
|
-
resolve: () => buildNetworkSnapshot$
|
|
31278
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
31279
31279
|
});
|
|
31280
31280
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31281
31281
|
}
|
|
31282
|
-
function buildNetworkSnapshot$
|
|
31282
|
+
function buildNetworkSnapshot$n(luvio, config, options) {
|
|
31283
31283
|
const resourceParams = createResourceParams$h(config);
|
|
31284
31284
|
const request = createResourceRequest$m(resourceParams);
|
|
31285
31285
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -31294,7 +31294,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
|
|
|
31294
31294
|
});
|
|
31295
31295
|
}
|
|
31296
31296
|
function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
|
|
31297
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
31297
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$n, undefined, false);
|
|
31298
31298
|
}
|
|
31299
31299
|
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
31300
31300
|
const { luvio, config } = context;
|
|
@@ -31305,7 +31305,7 @@ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
|
31305
31305
|
};
|
|
31306
31306
|
const cacheSnapshot = storeLookup(selector, {
|
|
31307
31307
|
config,
|
|
31308
|
-
resolve: () => buildNetworkSnapshot$
|
|
31308
|
+
resolve: () => buildNetworkSnapshot$n(luvio, config, snapshotRefreshOptions)
|
|
31309
31309
|
});
|
|
31310
31310
|
return cacheSnapshot;
|
|
31311
31311
|
}
|
|
@@ -31524,18 +31524,18 @@ function adapterFragment$7(luvio, config) {
|
|
|
31524
31524
|
function onFetchResponseSuccess$8(luvio, config, resourceParams, response) {
|
|
31525
31525
|
const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
|
|
31526
31526
|
config,
|
|
31527
|
-
resolve: () => buildNetworkSnapshot$
|
|
31527
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
31528
31528
|
});
|
|
31529
31529
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31530
31530
|
}
|
|
31531
31531
|
function onFetchResponseError$7(luvio, config, resourceParams, response) {
|
|
31532
31532
|
const snapshot = ingestError$6(luvio, resourceParams, response, {
|
|
31533
31533
|
config,
|
|
31534
|
-
resolve: () => buildNetworkSnapshot$
|
|
31534
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
31535
31535
|
});
|
|
31536
31536
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31537
31537
|
}
|
|
31538
|
-
function buildNetworkSnapshot$
|
|
31538
|
+
function buildNetworkSnapshot$m(luvio, config, options) {
|
|
31539
31539
|
const resourceParams = createResourceParams$g(config);
|
|
31540
31540
|
const request = createResourceRequest$l(resourceParams);
|
|
31541
31541
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -31550,7 +31550,7 @@ function buildNetworkSnapshot$i(luvio, config, options) {
|
|
|
31550
31550
|
});
|
|
31551
31551
|
}
|
|
31552
31552
|
function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
|
|
31553
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
31553
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$m, undefined, false);
|
|
31554
31554
|
}
|
|
31555
31555
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
31556
31556
|
const { luvio, config } = context;
|
|
@@ -31561,7 +31561,7 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
|
31561
31561
|
};
|
|
31562
31562
|
const cacheSnapshot = storeLookup(selector, {
|
|
31563
31563
|
config,
|
|
31564
|
-
resolve: () => buildNetworkSnapshot$
|
|
31564
|
+
resolve: () => buildNetworkSnapshot$m(luvio, config, snapshotRefreshOptions)
|
|
31565
31565
|
});
|
|
31566
31566
|
return cacheSnapshot;
|
|
31567
31567
|
}
|
|
@@ -31941,18 +31941,18 @@ function adapterFragment$6(luvio, config) {
|
|
|
31941
31941
|
function onFetchResponseSuccess$7(luvio, config, resourceParams, response) {
|
|
31942
31942
|
const snapshot = ingestSuccess$9(luvio, resourceParams, response, {
|
|
31943
31943
|
config,
|
|
31944
|
-
resolve: () => buildNetworkSnapshot$
|
|
31944
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
31945
31945
|
});
|
|
31946
31946
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31947
31947
|
}
|
|
31948
31948
|
function onFetchResponseError$6(luvio, config, resourceParams, response) {
|
|
31949
31949
|
const snapshot = ingestError$5(luvio, resourceParams, response, {
|
|
31950
31950
|
config,
|
|
31951
|
-
resolve: () => buildNetworkSnapshot$
|
|
31951
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
31952
31952
|
});
|
|
31953
31953
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31954
31954
|
}
|
|
31955
|
-
function buildNetworkSnapshot$
|
|
31955
|
+
function buildNetworkSnapshot$l(luvio, config, options) {
|
|
31956
31956
|
const resourceParams = createResourceParams$f(config);
|
|
31957
31957
|
const request = createResourceRequest$k(resourceParams);
|
|
31958
31958
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -31967,7 +31967,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
31967
31967
|
});
|
|
31968
31968
|
}
|
|
31969
31969
|
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
31970
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
31970
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$l, undefined, false);
|
|
31971
31971
|
}
|
|
31972
31972
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
31973
31973
|
const { luvio, config } = context;
|
|
@@ -31978,7 +31978,7 @@ function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
|
31978
31978
|
};
|
|
31979
31979
|
const cacheSnapshot = storeLookup(selector, {
|
|
31980
31980
|
config,
|
|
31981
|
-
resolve: () => buildNetworkSnapshot$
|
|
31981
|
+
resolve: () => buildNetworkSnapshot$l(luvio, config, snapshotRefreshOptions)
|
|
31982
31982
|
});
|
|
31983
31983
|
return cacheSnapshot;
|
|
31984
31984
|
}
|
|
@@ -32971,18 +32971,18 @@ function adapterFragment$5(luvio, config) {
|
|
|
32971
32971
|
function onFetchResponseSuccess$6(luvio, config, resourceParams, response) {
|
|
32972
32972
|
const snapshot = ingestSuccess$8(luvio, resourceParams, response, {
|
|
32973
32973
|
config,
|
|
32974
|
-
resolve: () => buildNetworkSnapshot$
|
|
32974
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
32975
32975
|
});
|
|
32976
32976
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32977
32977
|
}
|
|
32978
32978
|
function onFetchResponseError$5(luvio, config, resourceParams, response) {
|
|
32979
32979
|
const snapshot = ingestError$4(luvio, resourceParams, response, {
|
|
32980
32980
|
config,
|
|
32981
|
-
resolve: () => buildNetworkSnapshot$
|
|
32981
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
32982
32982
|
});
|
|
32983
32983
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
32984
32984
|
}
|
|
32985
|
-
function buildNetworkSnapshot$
|
|
32985
|
+
function buildNetworkSnapshot$k(luvio, config, options) {
|
|
32986
32986
|
const resourceParams = createResourceParams$e(config);
|
|
32987
32987
|
const request = createResourceRequest$j(resourceParams);
|
|
32988
32988
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -32997,7 +32997,7 @@ function buildNetworkSnapshot$g(luvio, config, options) {
|
|
|
32997
32997
|
});
|
|
32998
32998
|
}
|
|
32999
32999
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
33000
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
33000
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$k, 'get', false);
|
|
33001
33001
|
}
|
|
33002
33002
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
33003
33003
|
const { luvio, config } = context;
|
|
@@ -33008,7 +33008,7 @@ function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
|
33008
33008
|
};
|
|
33009
33009
|
const cacheSnapshot = storeLookup(selector, {
|
|
33010
33010
|
config,
|
|
33011
|
-
resolve: () => buildNetworkSnapshot$
|
|
33011
|
+
resolve: () => buildNetworkSnapshot$k(luvio, config, snapshotRefreshOptions)
|
|
33012
33012
|
});
|
|
33013
33013
|
return cacheSnapshot;
|
|
33014
33014
|
}
|
|
@@ -33254,18 +33254,18 @@ function adapterFragment$4(luvio, config) {
|
|
|
33254
33254
|
function onFetchResponseSuccess$5(luvio, config, resourceParams, response) {
|
|
33255
33255
|
const snapshot = ingestSuccess$7(luvio, resourceParams, response, {
|
|
33256
33256
|
config,
|
|
33257
|
-
resolve: () => buildNetworkSnapshot$
|
|
33257
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
33258
33258
|
});
|
|
33259
33259
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
33260
33260
|
}
|
|
33261
33261
|
function onFetchResponseError$4(luvio, config, resourceParams, response) {
|
|
33262
33262
|
const snapshot = ingestError$3(luvio, resourceParams, response, {
|
|
33263
33263
|
config,
|
|
33264
|
-
resolve: () => buildNetworkSnapshot$
|
|
33264
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
33265
33265
|
});
|
|
33266
33266
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
33267
33267
|
}
|
|
33268
|
-
function buildNetworkSnapshot$
|
|
33268
|
+
function buildNetworkSnapshot$j(luvio, config, options) {
|
|
33269
33269
|
const resourceParams = createResourceParams$d(config);
|
|
33270
33270
|
const request = createResourceRequest$i(resourceParams);
|
|
33271
33271
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -33280,7 +33280,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
|
|
|
33280
33280
|
});
|
|
33281
33281
|
}
|
|
33282
33282
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
33283
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
33283
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$j, 'get', false);
|
|
33284
33284
|
}
|
|
33285
33285
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
33286
33286
|
const { luvio, config } = context;
|
|
@@ -33291,7 +33291,7 @@ function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
|
33291
33291
|
};
|
|
33292
33292
|
const cacheSnapshot = storeLookup(selector, {
|
|
33293
33293
|
config,
|
|
33294
|
-
resolve: () => buildNetworkSnapshot$
|
|
33294
|
+
resolve: () => buildNetworkSnapshot$j(luvio, config, snapshotRefreshOptions)
|
|
33295
33295
|
});
|
|
33296
33296
|
return cacheSnapshot;
|
|
33297
33297
|
}
|
|
@@ -60697,18 +60697,18 @@ function adapterFragment$3(luvio, config) {
|
|
|
60697
60697
|
function onFetchResponseSuccess$4(luvio, config, resourceParams, response) {
|
|
60698
60698
|
const snapshot = ingestSuccess$5(luvio, resourceParams, response, {
|
|
60699
60699
|
config,
|
|
60700
|
-
resolve: () => buildNetworkSnapshot$
|
|
60700
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions),
|
|
60701
60701
|
});
|
|
60702
60702
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
60703
60703
|
}
|
|
60704
60704
|
function onFetchResponseError$3(luvio, config, resourceParams, response) {
|
|
60705
60705
|
const snapshot = ingestError$1(luvio, resourceParams, response, {
|
|
60706
60706
|
config,
|
|
60707
|
-
resolve: () => buildNetworkSnapshot$
|
|
60707
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions),
|
|
60708
60708
|
});
|
|
60709
60709
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
60710
60710
|
}
|
|
60711
|
-
function buildNetworkSnapshot$
|
|
60711
|
+
function buildNetworkSnapshot$i(luvio, config, options) {
|
|
60712
60712
|
const resourceParams = createResourceParams$c(transformConfiguration$1(config));
|
|
60713
60713
|
const request = createResourceRequest$f(resourceParams);
|
|
60714
60714
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -60737,7 +60737,7 @@ function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext
|
|
|
60737
60737
|
priority: networkPriority,
|
|
60738
60738
|
};
|
|
60739
60739
|
}
|
|
60740
|
-
return buildNetworkSnapshot$
|
|
60740
|
+
return buildNetworkSnapshot$i(luvio, config, dispatchOptions);
|
|
60741
60741
|
}
|
|
60742
60742
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
60743
60743
|
const { luvio, config } = context;
|
|
@@ -60748,7 +60748,7 @@ function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
|
60748
60748
|
};
|
|
60749
60749
|
const cacheSnapshot = storeLookup(selector, {
|
|
60750
60750
|
config,
|
|
60751
|
-
resolve: () => buildNetworkSnapshot$
|
|
60751
|
+
resolve: () => buildNetworkSnapshot$i(luvio, config, snapshotRefreshOptions),
|
|
60752
60752
|
});
|
|
60753
60753
|
return cacheSnapshot;
|
|
60754
60754
|
}
|
|
@@ -60870,6 +60870,25 @@ function createResourceRequest$e(config) {
|
|
|
60870
60870
|
};
|
|
60871
60871
|
}
|
|
60872
60872
|
|
|
60873
|
+
/**
|
|
60874
|
+
* Builds the dispatch options for a DML (mutating) adapter from the caller's
|
|
60875
|
+
* narrowed request context, forwarding the `requestCorrelator` so the
|
|
60876
|
+
* originating observability context reaches the network adapter.
|
|
60877
|
+
*
|
|
60878
|
+
* Returns `undefined` when no request context was supplied, preserving the
|
|
60879
|
+
* pre-existing behavior where mutating adapters dispatched with no options.
|
|
60880
|
+
*/
|
|
60881
|
+
function createDispatchResourceRequestContext$2(requestContext) {
|
|
60882
|
+
if (requestContext === undefined) {
|
|
60883
|
+
return undefined;
|
|
60884
|
+
}
|
|
60885
|
+
return {
|
|
60886
|
+
resourceRequestContext: {
|
|
60887
|
+
requestCorrelator: requestContext.requestCorrelator,
|
|
60888
|
+
},
|
|
60889
|
+
};
|
|
60890
|
+
}
|
|
60891
|
+
|
|
60873
60892
|
const adapterName$8 = 'executeBatchRecordOperations';
|
|
60874
60893
|
const executeBatchRecordOperations_ConfigPropertyMetadata = [
|
|
60875
60894
|
generateParamConfigMetadata('allOrNone', true, 2, 1, false),
|
|
@@ -60932,7 +60951,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
|
60932
60951
|
}
|
|
60933
60952
|
return config;
|
|
60934
60953
|
}
|
|
60935
|
-
function buildNetworkSnapshot$
|
|
60954
|
+
function buildNetworkSnapshot$h(luvio, config, options) {
|
|
60936
60955
|
const resourceParams = batchUpdateRecordsCreateResourceParams(config);
|
|
60937
60956
|
const request = createResourceRequest$e(resourceParams);
|
|
60938
60957
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -60950,14 +60969,14 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
60950
60969
|
});
|
|
60951
60970
|
}
|
|
60952
60971
|
const factory$f = (luvio) => {
|
|
60953
|
-
return function executeBatchRecordOperations(untrustedConfig) {
|
|
60972
|
+
return function executeBatchRecordOperations(untrustedConfig, requestContext) {
|
|
60954
60973
|
const config = validateAdapterConfig$c(untrustedConfig, executeBatchRecordOperations_ConfigPropertyNames);
|
|
60955
60974
|
// Invalid or incomplete config
|
|
60956
60975
|
if (config === null) {
|
|
60957
60976
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
60958
60977
|
throw new Error('Invalid config for "executeBatchRecordOperations"');
|
|
60959
60978
|
}
|
|
60960
|
-
return buildNetworkSnapshot$
|
|
60979
|
+
return buildNetworkSnapshot$h(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
60961
60980
|
};
|
|
60962
60981
|
};
|
|
60963
60982
|
|
|
@@ -61030,18 +61049,18 @@ function adapterFragment$2(luvio, config) {
|
|
|
61030
61049
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
61031
61050
|
const snapshot = ingestSuccess$6(luvio, config, resourceParams, response, {
|
|
61032
61051
|
config,
|
|
61033
|
-
resolve: () => buildNetworkSnapshot$
|
|
61052
|
+
resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
|
|
61034
61053
|
});
|
|
61035
61054
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
61036
61055
|
}
|
|
61037
61056
|
function onFetchResponseError$2(luvio, config, resourceParams, response) {
|
|
61038
61057
|
const snapshot = ingestError$2(luvio, config, resourceParams, response, {
|
|
61039
61058
|
config,
|
|
61040
|
-
resolve: () => buildNetworkSnapshot$
|
|
61059
|
+
resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
|
|
61041
61060
|
});
|
|
61042
61061
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
61043
61062
|
}
|
|
61044
|
-
function buildNetworkSnapshot$
|
|
61063
|
+
function buildNetworkSnapshot$g(luvio, config, options) {
|
|
61045
61064
|
const resourceParams = createResourceParams$b(transformConfiguration(config));
|
|
61046
61065
|
const request = createResourceRequest$g(resourceParams);
|
|
61047
61066
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -61065,7 +61084,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
61065
61084
|
});
|
|
61066
61085
|
}
|
|
61067
61086
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
61068
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
61087
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$g, undefined, false);
|
|
61069
61088
|
}
|
|
61070
61089
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
61071
61090
|
const { luvio, config } = context;
|
|
@@ -61076,7 +61095,7 @@ function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
|
61076
61095
|
};
|
|
61077
61096
|
const cacheSnapshot = storeLookup(selector, {
|
|
61078
61097
|
config,
|
|
61079
|
-
resolve: () => buildNetworkSnapshot$
|
|
61098
|
+
resolve: () => buildNetworkSnapshot$g(luvio, config, snapshotRefreshOptions)
|
|
61080
61099
|
});
|
|
61081
61100
|
return cacheSnapshot;
|
|
61082
61101
|
}
|
|
@@ -61153,7 +61172,7 @@ const performUpdateRecordQuickAction_ConfigPropertyMetadata = [
|
|
|
61153
61172
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
61154
61173
|
];
|
|
61155
61174
|
const createResourceParams$a = /*#__PURE__*/ createResourceParams$16(performUpdateRecordQuickAction_ConfigPropertyMetadata);
|
|
61156
|
-
function buildNetworkSnapshot$
|
|
61175
|
+
function buildNetworkSnapshot$f(luvio, config, options) {
|
|
61157
61176
|
const resourceParams = createResourceParams$a(config);
|
|
61158
61177
|
const request = createResourceRequest$d(resourceParams);
|
|
61159
61178
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -61217,7 +61236,7 @@ const performQuickAction_ConfigPropertyMetadata = [
|
|
|
61217
61236
|
generateParamConfigMetadata('fields', true, 2 /* Body */, 4 /* Unsupported */),
|
|
61218
61237
|
];
|
|
61219
61238
|
const createResourceParams$9 = /*#__PURE__*/ createResourceParams$16(performQuickAction_ConfigPropertyMetadata);
|
|
61220
|
-
function buildNetworkSnapshot$
|
|
61239
|
+
function buildNetworkSnapshot$e(luvio, config, options) {
|
|
61221
61240
|
const resourceParams = createResourceParams$9(config);
|
|
61222
61241
|
const request = createResourceRequest$c(resourceParams);
|
|
61223
61242
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -61236,31 +61255,37 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
61236
61255
|
});
|
|
61237
61256
|
}
|
|
61238
61257
|
|
|
61258
|
+
function buildNetworkSnapshot$d(luvio, config, options) {
|
|
61259
|
+
return buildNetworkSnapshot$f(luvio, config, options);
|
|
61260
|
+
}
|
|
61239
61261
|
const factory$d = (luvio) => {
|
|
61240
|
-
return function (untrustedConfig) {
|
|
61262
|
+
return function (untrustedConfig, requestContext) {
|
|
61241
61263
|
const config = untrustedConfig;
|
|
61242
61264
|
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformUpdateRecordQuickActionAdapter();
|
|
61243
61265
|
if (draftAdapter !== undefined) {
|
|
61244
61266
|
return draftAdapter(config, (config) => {
|
|
61245
61267
|
const resourceParams = createResourceParams$9(config);
|
|
61246
61268
|
return createResourceRequest$d(resourceParams);
|
|
61247
|
-
});
|
|
61269
|
+
}, requestContext);
|
|
61248
61270
|
}
|
|
61249
|
-
return buildNetworkSnapshot$
|
|
61271
|
+
return buildNetworkSnapshot$d(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
61250
61272
|
};
|
|
61251
61273
|
};
|
|
61252
61274
|
|
|
61275
|
+
function buildNetworkSnapshot$c(luvio, config, options) {
|
|
61276
|
+
return buildNetworkSnapshot$e(luvio, config, options);
|
|
61277
|
+
}
|
|
61253
61278
|
const factory$c = (luvio) => {
|
|
61254
|
-
return function (untrustedConfig) {
|
|
61279
|
+
return function (untrustedConfig, requestContext) {
|
|
61255
61280
|
const config = untrustedConfig;
|
|
61256
61281
|
const draftAdapter = configurationForRestAdapters.getDraftAwarePerformQuickActionAdapter();
|
|
61257
61282
|
if (draftAdapter !== undefined) {
|
|
61258
61283
|
return draftAdapter(config, (config) => {
|
|
61259
61284
|
const resourceParams = createResourceParams$9(config);
|
|
61260
61285
|
return createResourceRequest$c(resourceParams);
|
|
61261
|
-
});
|
|
61286
|
+
}, requestContext);
|
|
61262
61287
|
}
|
|
61263
|
-
return buildNetworkSnapshot$
|
|
61288
|
+
return buildNetworkSnapshot$c(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
61264
61289
|
};
|
|
61265
61290
|
};
|
|
61266
61291
|
|
|
@@ -61309,8 +61334,10 @@ function addAdditionalFieldsForNorming(layoutUserState, apiName, recordTypeId, l
|
|
|
61309
61334
|
layoutUserState.layoutType = layoutType;
|
|
61310
61335
|
layoutUserState.mode = mode;
|
|
61311
61336
|
}
|
|
61312
|
-
function updateLayoutUserState(luvio, config, key, updateRequest) {
|
|
61313
|
-
return luvio
|
|
61337
|
+
function updateLayoutUserState(luvio, config, key, updateRequest, options) {
|
|
61338
|
+
return luvio
|
|
61339
|
+
.dispatchResourceRequest(updateRequest, options)
|
|
61340
|
+
.then((response) => {
|
|
61314
61341
|
const { body } = response;
|
|
61315
61342
|
return luvio.handleSuccessResponse(() => ingestAndBroadcast(luvio, key, config, body), () => {
|
|
61316
61343
|
const cache = new StoreKeyMap();
|
|
@@ -61387,7 +61414,7 @@ function coerceConfigWithDefaults$2(untrusted, layoutUserStateInput) {
|
|
|
61387
61414
|
};
|
|
61388
61415
|
}
|
|
61389
61416
|
const factory$b = (luvio) => {
|
|
61390
|
-
return (untrustedObjectApiName, untrustedRecordTypeId, untrustedLayoutType, untrustedMode, untrustedLayoutUserStateInput) => {
|
|
61417
|
+
return (untrustedObjectApiName, untrustedRecordTypeId, untrustedLayoutType, untrustedMode, untrustedLayoutUserStateInput, requestContext) => {
|
|
61391
61418
|
const untrusted = {
|
|
61392
61419
|
objectApiName: untrustedObjectApiName,
|
|
61393
61420
|
recordTypeId: untrustedRecordTypeId,
|
|
@@ -61427,11 +61454,11 @@ const factory$b = (luvio) => {
|
|
|
61427
61454
|
ingestAndBroadcast(luvio, key, config, updatedLayoutUserState);
|
|
61428
61455
|
}
|
|
61429
61456
|
}
|
|
61430
|
-
return updateLayoutUserState(luvio, config, key, updateRequest);
|
|
61457
|
+
return updateLayoutUserState(luvio, config, key, updateRequest, createDispatchResourceRequestContext$2(requestContext));
|
|
61431
61458
|
};
|
|
61432
61459
|
};
|
|
61433
61460
|
|
|
61434
|
-
function buildNetworkSnapshot$
|
|
61461
|
+
function buildNetworkSnapshot$b(luvio, config, options, cacheSnapshot) {
|
|
61435
61462
|
const resourceParams = createResourceParams$8(config);
|
|
61436
61463
|
const request = prepareRequest$1(luvio, config, resourceParams, cacheSnapshot);
|
|
61437
61464
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
@@ -61503,14 +61530,14 @@ function adapterFragment$1(luvio, config) {
|
|
|
61503
61530
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
61504
61531
|
const snapshot = ingestSuccess$U(luvio, resourceParams, response, {
|
|
61505
61532
|
config,
|
|
61506
|
-
resolve: () => buildNetworkSnapshot$
|
|
61533
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
61507
61534
|
});
|
|
61508
61535
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
61509
61536
|
}
|
|
61510
61537
|
function onFetchResponseError$1(luvio, config, resourceParams, response) {
|
|
61511
61538
|
const snapshot = ingestError$N(luvio, resourceParams, response, {
|
|
61512
61539
|
config,
|
|
61513
|
-
resolve: () => buildNetworkSnapshot$
|
|
61540
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
61514
61541
|
});
|
|
61515
61542
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
61516
61543
|
}
|
|
@@ -61590,7 +61617,7 @@ function getPaginationMetadata(luvio, resourceParams) {
|
|
|
61590
61617
|
return node.data.__metadata;
|
|
61591
61618
|
}
|
|
61592
61619
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
61593
|
-
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$
|
|
61620
|
+
return buildNetworkSnapshotCachePolicy$X(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, 'get', true);
|
|
61594
61621
|
}
|
|
61595
61622
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
61596
61623
|
const { luvio, config } = context;
|
|
@@ -61601,7 +61628,7 @@ function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
|
61601
61628
|
};
|
|
61602
61629
|
const cacheSnapshot = storeLookup(selector, {
|
|
61603
61630
|
config,
|
|
61604
|
-
resolve: () => buildNetworkSnapshot$
|
|
61631
|
+
resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
|
|
61605
61632
|
});
|
|
61606
61633
|
if (isUnfulfilledSnapshot$1(cacheSnapshot) && cacheSnapshot.data !== undefined) {
|
|
61607
61634
|
context.cacheSnapshot = cacheSnapshot;
|
|
@@ -61903,7 +61930,7 @@ function removeEtags(recordRep) {
|
|
|
61903
61930
|
}
|
|
61904
61931
|
});
|
|
61905
61932
|
}
|
|
61906
|
-
function buildNetworkSnapshot$
|
|
61933
|
+
function buildNetworkSnapshot$a(luvio, config, options) {
|
|
61907
61934
|
const { objectApiName, fieldApiName } = config;
|
|
61908
61935
|
const resourceParams = {
|
|
61909
61936
|
/*
|
|
@@ -61981,7 +62008,7 @@ function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext
|
|
|
61981
62008
|
priority: networkPriority,
|
|
61982
62009
|
};
|
|
61983
62010
|
}
|
|
61984
|
-
return buildNetworkSnapshot$
|
|
62011
|
+
return buildNetworkSnapshot$a(context.luvio, context.config, dispatchOptions);
|
|
61985
62012
|
}
|
|
61986
62013
|
const factory$9 = (luvio) => {
|
|
61987
62014
|
return (untrustedConfig, requestContext) => {
|
|
@@ -61991,7 +62018,7 @@ const factory$9 = (luvio) => {
|
|
|
61991
62018
|
}
|
|
61992
62019
|
const refresh = {
|
|
61993
62020
|
config,
|
|
61994
|
-
resolve: () => buildNetworkSnapshot$
|
|
62021
|
+
resolve: () => buildNetworkSnapshot$a(luvio, config),
|
|
61995
62022
|
};
|
|
61996
62023
|
const promiseOrSnapshot = luvio.applyCachePolicy(requestContext || {}, { config, luvio }, buildCachedSnapshot$2, buildNetworkSnapshotCachePolicy$3);
|
|
61997
62024
|
if (isPromise(promiseOrSnapshot)) {
|
|
@@ -62048,8 +62075,44 @@ function validateAdapterConfig$7(untrustedConfig, configPropertyNames) {
|
|
|
62048
62075
|
return config;
|
|
62049
62076
|
}
|
|
62050
62077
|
|
|
62078
|
+
function buildNetworkSnapshot$9(luvio, resourceParams, options) {
|
|
62079
|
+
const request = createResourceRequest$9(resourceParams);
|
|
62080
|
+
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
62081
|
+
const { body } = response;
|
|
62082
|
+
const key = keyBuilderFromType$f(luvio, body);
|
|
62083
|
+
return luvio.handleSuccessResponse(() => {
|
|
62084
|
+
let selectors;
|
|
62085
|
+
if (body.type === 'Theme') {
|
|
62086
|
+
selectors = select$2l;
|
|
62087
|
+
luvio.storeIngest(key, ingest$22, body);
|
|
62088
|
+
}
|
|
62089
|
+
else if (body.type === 'Photo') {
|
|
62090
|
+
selectors = select$2m;
|
|
62091
|
+
luvio.storeIngest(key, ingest$23, body);
|
|
62092
|
+
}
|
|
62093
|
+
else {
|
|
62094
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
62095
|
+
throw new Error('Unsupported avatar type');
|
|
62096
|
+
}
|
|
62097
|
+
// TODO [W-6804405]: support unions on fragments (only supported on links today)
|
|
62098
|
+
const snapshot = luvio.storeLookup({
|
|
62099
|
+
recordId: key,
|
|
62100
|
+
node: selectors(),
|
|
62101
|
+
variables: {},
|
|
62102
|
+
});
|
|
62103
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
62104
|
+
}, () => {
|
|
62105
|
+
const cache = new StoreKeyMap();
|
|
62106
|
+
getTypeCacheKeys$24(cache, luvio, body);
|
|
62107
|
+
return cache;
|
|
62108
|
+
});
|
|
62109
|
+
}, (err) => {
|
|
62110
|
+
deepFreeze(err);
|
|
62111
|
+
throw err;
|
|
62112
|
+
});
|
|
62113
|
+
}
|
|
62051
62114
|
const factory$8 = (luvio) => {
|
|
62052
|
-
return (untrustedConfig) => {
|
|
62115
|
+
return (untrustedConfig, requestContext) => {
|
|
62053
62116
|
const config = validateAdapterConfig$7(untrustedConfig, updateRecordAvatar_ConfigPropertyNames);
|
|
62054
62117
|
if (config === null) {
|
|
62055
62118
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
@@ -62067,40 +62130,7 @@ const factory$8 = (luvio) => {
|
|
|
62067
62130
|
actionType: config.actionType,
|
|
62068
62131
|
},
|
|
62069
62132
|
};
|
|
62070
|
-
|
|
62071
|
-
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
62072
|
-
const { body } = response;
|
|
62073
|
-
const key = keyBuilderFromType$f(luvio, body);
|
|
62074
|
-
return luvio.handleSuccessResponse(() => {
|
|
62075
|
-
let selectors;
|
|
62076
|
-
if (body.type === 'Theme') {
|
|
62077
|
-
selectors = select$2l;
|
|
62078
|
-
luvio.storeIngest(key, ingest$22, body);
|
|
62079
|
-
}
|
|
62080
|
-
else if (body.type === 'Photo') {
|
|
62081
|
-
selectors = select$2m;
|
|
62082
|
-
luvio.storeIngest(key, ingest$23, body);
|
|
62083
|
-
}
|
|
62084
|
-
else {
|
|
62085
|
-
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
62086
|
-
throw new Error('Unsupported avatar type');
|
|
62087
|
-
}
|
|
62088
|
-
// TODO [W-6804405]: support unions on fragments (only supported on links today)
|
|
62089
|
-
const snapshot = luvio.storeLookup({
|
|
62090
|
-
recordId: key,
|
|
62091
|
-
node: selectors(),
|
|
62092
|
-
variables: {},
|
|
62093
|
-
});
|
|
62094
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
62095
|
-
}, () => {
|
|
62096
|
-
const cache = new StoreKeyMap();
|
|
62097
|
-
getTypeCacheKeys$24(cache, luvio, body);
|
|
62098
|
-
return cache;
|
|
62099
|
-
});
|
|
62100
|
-
}, (err) => {
|
|
62101
|
-
deepFreeze(err);
|
|
62102
|
-
throw err;
|
|
62103
|
-
});
|
|
62133
|
+
return buildNetworkSnapshot$9(luvio, resourceParams, createDispatchResourceRequestContext$2(requestContext));
|
|
62104
62134
|
};
|
|
62105
62135
|
};
|
|
62106
62136
|
|
|
@@ -62690,10 +62720,10 @@ function buildSelector(resp) {
|
|
|
62690
62720
|
function buildSnapshotRefresh$1(luvio, context, config) {
|
|
62691
62721
|
return {
|
|
62692
62722
|
config,
|
|
62693
|
-
resolve: () => buildNetworkSnapshot$
|
|
62723
|
+
resolve: () => buildNetworkSnapshot$8(luvio, context, config),
|
|
62694
62724
|
};
|
|
62695
62725
|
}
|
|
62696
|
-
function buildNetworkSnapshot$
|
|
62726
|
+
function buildNetworkSnapshot$8(luvio, context, config, options) {
|
|
62697
62727
|
const params = createResourceParams$7(config);
|
|
62698
62728
|
const request = createResourceRequest$8(params);
|
|
62699
62729
|
const key = keyBuilder$7(luvio, params);
|
|
@@ -62777,7 +62807,7 @@ function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext
|
|
|
62777
62807
|
priority: networkPriority,
|
|
62778
62808
|
};
|
|
62779
62809
|
}
|
|
62780
|
-
return buildNetworkSnapshot$
|
|
62810
|
+
return buildNetworkSnapshot$8(luvio, adapterContext, config, dispatchOptions);
|
|
62781
62811
|
}
|
|
62782
62812
|
const factory$7 = (luvio) => {
|
|
62783
62813
|
return luvio.withContext(function UiApi__getRecordCreateDefaults(untrusted, adapterContext, requestContext) {
|
|
@@ -63321,7 +63351,7 @@ function getRecordTypeId$1(adapterConfig, context) {
|
|
|
63321
63351
|
}
|
|
63322
63352
|
return contextValue;
|
|
63323
63353
|
}
|
|
63324
|
-
const buildNetworkSnapshot$
|
|
63354
|
+
const buildNetworkSnapshot$7 = (luvio, context, config, options) => {
|
|
63325
63355
|
const resourceParams = createResourceParams$6(config);
|
|
63326
63356
|
const recordTypeId = getRecordTypeId$1(config, context);
|
|
63327
63357
|
const { recordId } = config;
|
|
@@ -63384,7 +63414,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
63384
63414
|
});
|
|
63385
63415
|
const errorSnapshot = luvio.errorSnapshot(response, {
|
|
63386
63416
|
config,
|
|
63387
|
-
resolve: () => buildNetworkSnapshot$
|
|
63417
|
+
resolve: () => buildNetworkSnapshot$7(luvio, context, config, snapshotRefreshOptions),
|
|
63388
63418
|
});
|
|
63389
63419
|
luvio.storeIngestError(key, errorSnapshot, RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS);
|
|
63390
63420
|
return Promise.resolve(errorSnapshot);
|
|
@@ -63404,7 +63434,7 @@ const buildCachedSnapshot$1 = (luvio, context, config) => {
|
|
|
63404
63434
|
};
|
|
63405
63435
|
return luvio.storeLookup(selector, {
|
|
63406
63436
|
config,
|
|
63407
|
-
resolve: () => buildNetworkSnapshot$
|
|
63437
|
+
resolve: () => buildNetworkSnapshot$7(luvio, context, config, snapshotRefreshOptions),
|
|
63408
63438
|
});
|
|
63409
63439
|
};
|
|
63410
63440
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
@@ -63422,7 +63452,7 @@ function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext
|
|
|
63422
63452
|
priority: networkPriority,
|
|
63423
63453
|
};
|
|
63424
63454
|
}
|
|
63425
|
-
return buildNetworkSnapshot$
|
|
63455
|
+
return buildNetworkSnapshot$7(luvio, adapterContext, config, dispatchOptions);
|
|
63426
63456
|
}
|
|
63427
63457
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
63428
63458
|
const { adapterContext, config, luvio, recordTypeId } = context;
|
|
@@ -63442,7 +63472,7 @@ function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
|
63442
63472
|
};
|
|
63443
63473
|
return storeLookup(selector, {
|
|
63444
63474
|
config,
|
|
63445
|
-
resolve: () => buildNetworkSnapshot$
|
|
63475
|
+
resolve: () => buildNetworkSnapshot$7(luvio, adapterContext, updatedConfig, snapshotRefreshOptions),
|
|
63446
63476
|
});
|
|
63447
63477
|
}
|
|
63448
63478
|
const factory$6 = (luvio) => luvio.withContext(function getRecordTemplateClone_ContextWrapper(untrustedConfig, adapterContext, requestContext) {
|
|
@@ -63937,7 +63967,7 @@ const contextId = `${keyPrefix}__${adapterName$2}`;
|
|
|
63937
63967
|
function buildSnapshotRefresh(luvio, context, config) {
|
|
63938
63968
|
return {
|
|
63939
63969
|
config,
|
|
63940
|
-
resolve: () => buildNetworkSnapshot$
|
|
63970
|
+
resolve: () => buildNetworkSnapshot$6(luvio, context, config, snapshotRefreshOptions),
|
|
63941
63971
|
};
|
|
63942
63972
|
}
|
|
63943
63973
|
function buildRecordTypeIdContextKey(objectApiName) {
|
|
@@ -64018,7 +64048,7 @@ function onFetchResponseError(luvio, context, config, resourceParams, error) {
|
|
|
64018
64048
|
const snapshot = ingestError(luvio, resourceParams, error, buildSnapshotRefresh(luvio, context, config));
|
|
64019
64049
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
64020
64050
|
}
|
|
64021
|
-
function buildNetworkSnapshot$
|
|
64051
|
+
function buildNetworkSnapshot$6(luvio, context, config, options) {
|
|
64022
64052
|
const resourceParams = createResourceParams$5(config);
|
|
64023
64053
|
const request = prepareRequest(luvio, context, config);
|
|
64024
64054
|
return luvio
|
|
@@ -64061,7 +64091,7 @@ const buildNetworkSnapshotCachePolicy = (context, coercedAdapterRequestContext)
|
|
|
64061
64091
|
priority: networkPriority,
|
|
64062
64092
|
};
|
|
64063
64093
|
}
|
|
64064
|
-
return buildNetworkSnapshot$
|
|
64094
|
+
return buildNetworkSnapshot$6(luvio, adapterContext, config, dispatchOptions);
|
|
64065
64095
|
};
|
|
64066
64096
|
const buildCachedSnapshotCachePolicy = (context, storeLookup) => {
|
|
64067
64097
|
const { adapterContext, config, luvio, recordTypeId } = context;
|
|
@@ -64150,7 +64180,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
64150
64180
|
});
|
|
64151
64181
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
64152
64182
|
}
|
|
64153
|
-
function buildNetworkSnapshot$
|
|
64183
|
+
function buildNetworkSnapshot$5(luvio, config, options) {
|
|
64154
64184
|
const resourceParams = createResourceParams$4(config);
|
|
64155
64185
|
const request = createResourceRequest$5(resourceParams);
|
|
64156
64186
|
const fieldTrie = BLANK_RECORD_FIELDS_TRIE;
|
|
@@ -64160,7 +64190,7 @@ function buildNetworkSnapshot$4(luvio, config) {
|
|
|
64160
64190
|
serverRequestCount: 1,
|
|
64161
64191
|
};
|
|
64162
64192
|
const recordIngest = createRecordIngest(fieldTrie, optionalFieldTrie, conflictMap);
|
|
64163
|
-
return luvio.dispatchResourceRequest(request).then((response) => {
|
|
64193
|
+
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
64164
64194
|
return luvio.handleSuccessResponse(() => onResponseSuccess(luvio, response, recordIngest, conflictMap), () => {
|
|
64165
64195
|
const cache = new StoreKeyMap();
|
|
64166
64196
|
getResponseCacheKeys$3(cache, luvio, resourceParams, response.body);
|
|
@@ -64176,13 +64206,13 @@ function createResourceRequest$4(config) {
|
|
|
64176
64206
|
return createResourceRequest$5(resourceParams);
|
|
64177
64207
|
}
|
|
64178
64208
|
const factory$4 = (luvio) => {
|
|
64179
|
-
return function (untrustedConfig) {
|
|
64209
|
+
return function (untrustedConfig, requestContext) {
|
|
64180
64210
|
const config = untrustedConfig;
|
|
64181
64211
|
const draftAdapter = configurationForRestAdapters.getDraftAwareCreateRecordAdapter();
|
|
64182
64212
|
if (draftAdapter !== undefined) {
|
|
64183
|
-
return draftAdapter(config, createResourceRequest$4);
|
|
64213
|
+
return draftAdapter(config, createResourceRequest$4, requestContext);
|
|
64184
64214
|
}
|
|
64185
|
-
return buildNetworkSnapshot$
|
|
64215
|
+
return buildNetworkSnapshot$5(luvio, config, createDispatchResourceRequestContext$2(requestContext));
|
|
64186
64216
|
};
|
|
64187
64217
|
};
|
|
64188
64218
|
|
|
@@ -64242,7 +64272,7 @@ function validateAdapterConfig$3(untrustedConfig, configPropertyNames) {
|
|
|
64242
64272
|
}
|
|
64243
64273
|
return config;
|
|
64244
64274
|
}
|
|
64245
|
-
function buildNetworkSnapshot$
|
|
64275
|
+
function buildNetworkSnapshot$4(luvio, config, options) {
|
|
64246
64276
|
const resourceParams = createResourceParams$3(config);
|
|
64247
64277
|
const request = createResourceRequest$3(resourceParams);
|
|
64248
64278
|
return luvio.dispatchResourceRequest(request, options)
|
|
@@ -64260,29 +64290,26 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
64260
64290
|
throw response;
|
|
64261
64291
|
});
|
|
64262
64292
|
}
|
|
64263
|
-
const deleteRecordAdapterFactory = (luvio) => {
|
|
64264
|
-
return function UiApideleteRecord(untrustedConfig) {
|
|
64265
|
-
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
64266
|
-
// Invalid or incomplete config
|
|
64267
|
-
if (config === null) {
|
|
64268
|
-
throw new Error(`Invalid config for "${adapterName$1}"`);
|
|
64269
|
-
}
|
|
64270
|
-
return buildNetworkSnapshot$3(luvio, config);
|
|
64271
|
-
};
|
|
64272
|
-
};
|
|
64273
64293
|
|
|
64294
|
+
function buildNetworkSnapshot$3(luvio, config, options) {
|
|
64295
|
+
return buildNetworkSnapshot$4(luvio, config, options);
|
|
64296
|
+
}
|
|
64274
64297
|
const factory$3 = (luvio) => {
|
|
64275
|
-
|
|
64276
|
-
return (recordId) => {
|
|
64298
|
+
return (recordId, requestContext) => {
|
|
64277
64299
|
const config = { recordId };
|
|
64278
64300
|
const draftAdapter = configurationForRestAdapters.getDraftAwareDeleteRecordAdapter();
|
|
64279
64301
|
if (draftAdapter !== undefined) {
|
|
64280
64302
|
return draftAdapter(config, (config) => {
|
|
64281
64303
|
const params = createResourceParams$3(config);
|
|
64282
64304
|
return createResourceRequest$3(params);
|
|
64283
|
-
});
|
|
64305
|
+
}, requestContext);
|
|
64306
|
+
}
|
|
64307
|
+
const validatedConfig = validateAdapterConfig$3(config, deleteRecord_ConfigPropertyNames);
|
|
64308
|
+
if (validatedConfig === null) {
|
|
64309
|
+
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
64310
|
+
throw new Error('Invalid config for "deleteRecord"');
|
|
64284
64311
|
}
|
|
64285
|
-
return
|
|
64312
|
+
return buildNetworkSnapshot$3(luvio, validatedConfig, createDispatchResourceRequestContext$2(requestContext));
|
|
64286
64313
|
};
|
|
64287
64314
|
};
|
|
64288
64315
|
|