@salesforce/lds-adapters-uiapi 1.150.7 → 1.151.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.
|
@@ -1157,7 +1157,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1157
1157
|
return v_error === undefined ? null : v_error;
|
|
1158
1158
|
}
|
|
1159
1159
|
const RepresentationType$V = 'ListInfoRepresentation';
|
|
1160
|
-
function keyBuilder$
|
|
1160
|
+
function keyBuilder$32(luvio, config) {
|
|
1161
1161
|
return keyPrefix + '::' + RepresentationType$V + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
1162
1162
|
}
|
|
1163
1163
|
function keyBuilderFromType$z(luvio, object) {
|
|
@@ -1166,7 +1166,7 @@ function keyBuilderFromType$z(luvio, object) {
|
|
|
1166
1166
|
objectApiName: object.listReference.objectApiName,
|
|
1167
1167
|
type: object.listReference.type
|
|
1168
1168
|
};
|
|
1169
|
-
return keyBuilder$
|
|
1169
|
+
return keyBuilder$32(luvio, keyParams);
|
|
1170
1170
|
}
|
|
1171
1171
|
function normalize$N(input, existing, path, luvio, store, timestamp) {
|
|
1172
1172
|
return input;
|
|
@@ -2150,14 +2150,14 @@ function validate$1v(obj, path = 'RecordRepresentation') {
|
|
|
2150
2150
|
return v_error === undefined ? null : v_error;
|
|
2151
2151
|
}
|
|
2152
2152
|
const RepresentationType$S = 'RecordRepresentation';
|
|
2153
|
-
function keyBuilder$
|
|
2153
|
+
function keyBuilder$31(luvio, config) {
|
|
2154
2154
|
return keyPrefix + '::' + RepresentationType$S + ':' + config.recordId;
|
|
2155
2155
|
}
|
|
2156
2156
|
function keyBuilderFromType$x(luvio, object) {
|
|
2157
2157
|
const keyParams = {
|
|
2158
2158
|
recordId: object.id
|
|
2159
2159
|
};
|
|
2160
|
-
return keyBuilder$
|
|
2160
|
+
return keyBuilder$31(luvio, keyParams);
|
|
2161
2161
|
}
|
|
2162
2162
|
function dynamicNormalize$5(ingestParams) {
|
|
2163
2163
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -2422,7 +2422,7 @@ const notifyUpdateAvailableFactory = (luvio) => {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
});
|
|
2424
2424
|
}
|
|
2425
|
-
const keys = configs.map(c => keyBuilder$
|
|
2425
|
+
const keys = configs.map(c => keyBuilder$31(luvio, c));
|
|
2426
2426
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
2427
2427
|
};
|
|
2428
2428
|
};
|
|
@@ -4710,7 +4710,7 @@ function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
|
|
|
4710
4710
|
name: existing.apiName,
|
|
4711
4711
|
children: {},
|
|
4712
4712
|
};
|
|
4713
|
-
const recordKey = keyBuilder$
|
|
4713
|
+
const recordKey = keyBuilder$31(luvio, {
|
|
4714
4714
|
recordId: incoming.id,
|
|
4715
4715
|
});
|
|
4716
4716
|
const trackedFieldsConfig = {
|
|
@@ -5086,8 +5086,8 @@ const createResourceRequest$14 = function getUiApiRecordsByRecordIdCreateResourc
|
|
|
5086
5086
|
};
|
|
5087
5087
|
};
|
|
5088
5088
|
|
|
5089
|
-
function keyBuilder$
|
|
5090
|
-
return keyBuilder$
|
|
5089
|
+
function keyBuilder$30(luvio, params) {
|
|
5090
|
+
return keyBuilder$31(luvio, {
|
|
5091
5091
|
recordId: params.urlParams.recordId
|
|
5092
5092
|
});
|
|
5093
5093
|
}
|
|
@@ -5330,7 +5330,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
5330
5330
|
// used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
|
|
5331
5331
|
function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
5332
5332
|
return {
|
|
5333
|
-
recordId: keyBuilder$
|
|
5333
|
+
recordId: keyBuilder$31(luvio, { recordId }),
|
|
5334
5334
|
node: {
|
|
5335
5335
|
kind: 'Fragment',
|
|
5336
5336
|
private: ['eTag', 'weakEtag'],
|
|
@@ -5349,7 +5349,7 @@ function buildSnapshotRefresh$5(luvio, config) {
|
|
|
5349
5349
|
function prepareRequest$6(luvio, config) {
|
|
5350
5350
|
const { recordId, fields } = config;
|
|
5351
5351
|
// Should this go into the coersion logic?
|
|
5352
|
-
const key = keyBuilder$
|
|
5352
|
+
const key = keyBuilder$30(luvio, createResourceParams$W(config));
|
|
5353
5353
|
const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
|
|
5354
5354
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
5355
5355
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
|
|
@@ -5459,7 +5459,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
|
|
|
5459
5459
|
const now = Date.now();
|
|
5460
5460
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
5461
5461
|
const childResourceParams = childResourceParamsArray[index];
|
|
5462
|
-
const childKey = keyBuilder$
|
|
5462
|
+
const childKey = keyBuilder$30(luvio, childResourceParams);
|
|
5463
5463
|
const result = childEnvelopes[index];
|
|
5464
5464
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
5465
5465
|
if (childStatusCode === 200) {
|
|
@@ -5546,7 +5546,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
5546
5546
|
read: (reader) => {
|
|
5547
5547
|
// Top-level 404 lookup
|
|
5548
5548
|
const compositeSnapshot = luvio.storeLookup({
|
|
5549
|
-
recordId: keyBuilder$
|
|
5549
|
+
recordId: keyBuilder$2$(luvio, resourceParams),
|
|
5550
5550
|
node: {
|
|
5551
5551
|
kind: 'Fragment',
|
|
5552
5552
|
private: [],
|
|
@@ -5570,7 +5570,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
5570
5570
|
reader.enterPath(i);
|
|
5571
5571
|
reader.enterPath(envelopeBodyPath);
|
|
5572
5572
|
const childResource = childResources[i];
|
|
5573
|
-
const childKey = keyBuilder$
|
|
5573
|
+
const childKey = keyBuilder$30(luvio, childResource);
|
|
5574
5574
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
5575
5575
|
const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
|
|
5576
5576
|
reader.exitPath();
|
|
@@ -5670,7 +5670,7 @@ function createChildResourceParams$9(resourceParams) {
|
|
|
5670
5670
|
}
|
|
5671
5671
|
return childConfigs;
|
|
5672
5672
|
}
|
|
5673
|
-
function keyBuilder$
|
|
5673
|
+
function keyBuilder$2$(luvio, params) {
|
|
5674
5674
|
return keyPrefix + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
5675
5675
|
}
|
|
5676
5676
|
function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
@@ -5692,7 +5692,7 @@ function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
|
5692
5692
|
keys.merge(childKeys);
|
|
5693
5693
|
}
|
|
5694
5694
|
else if (childStatusCode === 404) {
|
|
5695
|
-
const childKey = keyBuilder$
|
|
5695
|
+
const childKey = keyBuilder$30(luvio, childResourceParams);
|
|
5696
5696
|
keys.set(childKey, {
|
|
5697
5697
|
namespace: keyPrefix,
|
|
5698
5698
|
representationName: RepresentationType$S,
|
|
@@ -5703,7 +5703,7 @@ function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
|
5703
5703
|
return keys;
|
|
5704
5704
|
}
|
|
5705
5705
|
function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
5706
|
-
const key = keyBuilder$
|
|
5706
|
+
const key = keyBuilder$2$(luvio, params);
|
|
5707
5707
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
5708
5708
|
luvio.storeIngestError(key, errorSnapshot);
|
|
5709
5709
|
return errorSnapshot;
|
|
@@ -5792,7 +5792,7 @@ function onFetchResponseSuccess$L(luvio, config, resourceParams, response, serve
|
|
|
5792
5792
|
}
|
|
5793
5793
|
}
|
|
5794
5794
|
const snapshotStateFulfilled = 'Fulfilled';
|
|
5795
|
-
const key = keyBuilder$
|
|
5795
|
+
const key = keyBuilder$2$(luvio, resourceParams);
|
|
5796
5796
|
const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
|
|
5797
5797
|
const snapshot = {
|
|
5798
5798
|
recordId: key,
|
|
@@ -6326,7 +6326,7 @@ function validate$1u(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6326
6326
|
return v_error === undefined ? null : v_error;
|
|
6327
6327
|
}
|
|
6328
6328
|
const RepresentationType$R = 'ListRecordCollectionRepresentation';
|
|
6329
|
-
function keyBuilder$
|
|
6329
|
+
function keyBuilder$2_(luvio, config) {
|
|
6330
6330
|
return keyPrefix + '::' + RepresentationType$R + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
6331
6331
|
}
|
|
6332
6332
|
function keyBuilderFromType$w(luvio, object) {
|
|
@@ -6336,10 +6336,10 @@ function keyBuilderFromType$w(luvio, object) {
|
|
|
6336
6336
|
objectApiName: object.listReference.objectApiName,
|
|
6337
6337
|
listViewApiName: object.listReference.listViewApiName
|
|
6338
6338
|
};
|
|
6339
|
-
return keyBuilder$
|
|
6339
|
+
return keyBuilder$2_(luvio, keyParams);
|
|
6340
6340
|
}
|
|
6341
6341
|
function paginationKeyBuilder(luvio, config) {
|
|
6342
|
-
return keyBuilder$
|
|
6342
|
+
return keyBuilder$2_(luvio, config) + '__pagination';
|
|
6343
6343
|
}
|
|
6344
6344
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
6345
6345
|
const input_records = input.records;
|
|
@@ -6770,7 +6770,7 @@ function validate$1t(obj, path = 'ListUiRepresentation') {
|
|
|
6770
6770
|
return v_error === undefined ? null : v_error;
|
|
6771
6771
|
}
|
|
6772
6772
|
const RepresentationType$Q = 'ListUiRepresentation';
|
|
6773
|
-
function keyBuilder$
|
|
6773
|
+
function keyBuilder$2Z(luvio, config) {
|
|
6774
6774
|
return keyPrefix + '::' + RepresentationType$Q + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
6775
6775
|
}
|
|
6776
6776
|
function keyBuilderFromType$v(luvio, object) {
|
|
@@ -6780,7 +6780,7 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
6780
6780
|
type: object.info.listReference.type,
|
|
6781
6781
|
sortBy: object.records.sortBy
|
|
6782
6782
|
};
|
|
6783
|
-
return keyBuilder$
|
|
6783
|
+
return keyBuilder$2Z(luvio, keyParams);
|
|
6784
6784
|
}
|
|
6785
6785
|
function normalize$I(input, existing, path, luvio, store, timestamp) {
|
|
6786
6786
|
const input_info = input.info;
|
|
@@ -6928,8 +6928,8 @@ function select$2F(luvio, params) {
|
|
|
6928
6928
|
const paginationParams = createPaginationParams$5(params);
|
|
6929
6929
|
return select$2G(paginationParams);
|
|
6930
6930
|
}
|
|
6931
|
-
function keyBuilder$
|
|
6932
|
-
return keyBuilder$
|
|
6931
|
+
function keyBuilder$2Y(luvio, params) {
|
|
6932
|
+
return keyBuilder$2Z(luvio, {
|
|
6933
6933
|
listViewApiName: params.urlParams.listViewApiName,
|
|
6934
6934
|
objectApiName: params.urlParams.objectApiName,
|
|
6935
6935
|
type: "listView",
|
|
@@ -6941,7 +6941,7 @@ function getResponseCacheKeys$V(luvio, resourceParams, response) {
|
|
|
6941
6941
|
}
|
|
6942
6942
|
function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
|
|
6943
6943
|
const { body } = response;
|
|
6944
|
-
const key = keyBuilder$
|
|
6944
|
+
const key = keyBuilder$2Y(luvio, resourceParams);
|
|
6945
6945
|
luvio.storeIngest(key, ingest$1M, body);
|
|
6946
6946
|
const snapshot = luvio.storeLookup({
|
|
6947
6947
|
recordId: key,
|
|
@@ -6957,7 +6957,7 @@ function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6957
6957
|
return snapshot;
|
|
6958
6958
|
}
|
|
6959
6959
|
function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
6960
|
-
const key = keyBuilder$
|
|
6960
|
+
const key = keyBuilder$2Y(luvio, params);
|
|
6961
6961
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
6962
6962
|
luvio.storeIngestError(key, errorSnapshot);
|
|
6963
6963
|
return errorSnapshot;
|
|
@@ -7054,9 +7054,9 @@ function coerceConfig$A(config) {
|
|
|
7054
7054
|
}
|
|
7055
7055
|
return coercedConfig;
|
|
7056
7056
|
}
|
|
7057
|
-
function keyBuilder$
|
|
7057
|
+
function keyBuilder$2X(luvio, config) {
|
|
7058
7058
|
const resourceParams = createResourceParams$U(config);
|
|
7059
|
-
return keyBuilder$
|
|
7059
|
+
return keyBuilder$2Y(luvio, resourceParams);
|
|
7060
7060
|
}
|
|
7061
7061
|
function typeCheckConfig$$(untrustedConfig) {
|
|
7062
7062
|
const config = {};
|
|
@@ -7173,7 +7173,7 @@ function buildNetworkSnapshotCachePolicy$O(context, coercedAdapterRequestContext
|
|
|
7173
7173
|
function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
|
|
7174
7174
|
const { luvio, config } = context;
|
|
7175
7175
|
const selector = {
|
|
7176
|
-
recordId: keyBuilder$
|
|
7176
|
+
recordId: keyBuilder$2X(luvio, config),
|
|
7177
7177
|
node: adapterFragment$G(luvio, config),
|
|
7178
7178
|
variables: {},
|
|
7179
7179
|
};
|
|
@@ -7207,7 +7207,7 @@ function select$2E(luvio, params) {
|
|
|
7207
7207
|
const paginationParams = createPaginationParams$4(params);
|
|
7208
7208
|
return select$2G(paginationParams);
|
|
7209
7209
|
}
|
|
7210
|
-
function keyBuilder$
|
|
7210
|
+
function keyBuilder$2W(luvio, params) {
|
|
7211
7211
|
return keyPrefix + '::ListUiRepresentation:(' + 'fields:' + params.queryParams.fields + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'pageToken:' + params.queryParams.pageToken + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'listViewId:' + params.urlParams.listViewId + ')';
|
|
7212
7212
|
}
|
|
7213
7213
|
function getResponseCacheKeys$U(luvio, resourceParams, response) {
|
|
@@ -7215,7 +7215,7 @@ function getResponseCacheKeys$U(luvio, resourceParams, response) {
|
|
|
7215
7215
|
}
|
|
7216
7216
|
function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
|
|
7217
7217
|
const { body } = response;
|
|
7218
|
-
const key = keyBuilder$
|
|
7218
|
+
const key = keyBuilder$2W(luvio, resourceParams);
|
|
7219
7219
|
luvio.storeIngest(key, ingest$1M, body);
|
|
7220
7220
|
const snapshot = luvio.storeLookup({
|
|
7221
7221
|
recordId: key,
|
|
@@ -7231,7 +7231,7 @@ function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
7231
7231
|
return snapshot;
|
|
7232
7232
|
}
|
|
7233
7233
|
function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
7234
|
-
const key = keyBuilder$
|
|
7234
|
+
const key = keyBuilder$2W(luvio, params);
|
|
7235
7235
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
7236
7236
|
luvio.storeIngestError(key, errorSnapshot);
|
|
7237
7237
|
return errorSnapshot;
|
|
@@ -7296,9 +7296,9 @@ function coerceConfig$z(config) {
|
|
|
7296
7296
|
}
|
|
7297
7297
|
return coercedConfig;
|
|
7298
7298
|
}
|
|
7299
|
-
function keyBuilder$
|
|
7299
|
+
function keyBuilder$2V(luvio, config) {
|
|
7300
7300
|
const resourceParams = createResourceParams$T(config);
|
|
7301
|
-
return keyBuilder$
|
|
7301
|
+
return keyBuilder$2W(luvio, resourceParams);
|
|
7302
7302
|
}
|
|
7303
7303
|
function typeCheckConfig$_(untrustedConfig) {
|
|
7304
7304
|
const config = {};
|
|
@@ -7411,7 +7411,7 @@ function buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext
|
|
|
7411
7411
|
function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
|
|
7412
7412
|
const { luvio, config } = context;
|
|
7413
7413
|
const selector = {
|
|
7414
|
-
recordId: keyBuilder$
|
|
7414
|
+
recordId: keyBuilder$2V(luvio, config),
|
|
7415
7415
|
node: adapterFragment$F(luvio, config),
|
|
7416
7416
|
variables: {},
|
|
7417
7417
|
};
|
|
@@ -7508,7 +7508,7 @@ const LIST_INFO_SELECTIONS_ETAG = [
|
|
|
7508
7508
|
* @param luvio Luvio
|
|
7509
7509
|
*/
|
|
7510
7510
|
function getListInfo(luvio, listRef, storeLookup) {
|
|
7511
|
-
const key = keyBuilder$
|
|
7511
|
+
const key = keyBuilder$32(luvio, { ...listRef });
|
|
7512
7512
|
return storeLookup({
|
|
7513
7513
|
recordId: key,
|
|
7514
7514
|
node: {
|
|
@@ -7635,7 +7635,7 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
|
|
|
7635
7635
|
addDefaultFields(qualifiedField, defaultFields_);
|
|
7636
7636
|
}
|
|
7637
7637
|
}
|
|
7638
|
-
const key = keyBuilder$
|
|
7638
|
+
const key = keyBuilder$2_(luvio, {
|
|
7639
7639
|
listViewId: listInfo.eTag,
|
|
7640
7640
|
sortBy: sortBy || null,
|
|
7641
7641
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -7680,7 +7680,7 @@ let context$1;
|
|
|
7680
7680
|
function setContext$1(adapterContext) {
|
|
7681
7681
|
context$1 = adapterContext;
|
|
7682
7682
|
}
|
|
7683
|
-
function keyBuilder$
|
|
7683
|
+
function keyBuilder$2U(luvio, params) {
|
|
7684
7684
|
const query = {
|
|
7685
7685
|
objectApiName: params.urlParams.objectApiName,
|
|
7686
7686
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -7691,7 +7691,7 @@ function keyBuilder$2T(luvio, params) {
|
|
|
7691
7691
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
7692
7692
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
7693
7693
|
const defaults = getServerDefaults(config, context$1);
|
|
7694
|
-
return keyBuilder$
|
|
7694
|
+
return keyBuilder$2_(luvio, {
|
|
7695
7695
|
objectApiName: listReference.objectApiName,
|
|
7696
7696
|
listViewApiName: listReference.listViewApiName,
|
|
7697
7697
|
listViewId: listReference.id,
|
|
@@ -7700,7 +7700,7 @@ function keyBuilder$2T(luvio, params) {
|
|
|
7700
7700
|
}
|
|
7701
7701
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
7702
7702
|
// Assuming that listViewId is empty and continue on
|
|
7703
|
-
return keyBuilder$
|
|
7703
|
+
return keyBuilder$2_(luvio, {
|
|
7704
7704
|
objectApiName: params.urlParams.objectApiName,
|
|
7705
7705
|
listViewApiName: params.urlParams.listViewApiName,
|
|
7706
7706
|
listViewId: '',
|
|
@@ -7725,7 +7725,7 @@ function select$2D(luvio, params) {
|
|
|
7725
7725
|
}
|
|
7726
7726
|
function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
|
|
7727
7727
|
const { body } = response;
|
|
7728
|
-
const key = keyBuilder$
|
|
7728
|
+
const key = keyBuilder$2U(luvio, resourceParams);
|
|
7729
7729
|
luvio.storeIngest(key, ingest$1N, body);
|
|
7730
7730
|
const optionalFields = resourceParams.queryParams.optionalFields;
|
|
7731
7731
|
if (optionalFields && optionalFields.length > 0) {
|
|
@@ -7762,7 +7762,7 @@ function getResponseCacheKeys$T(luvio, resourceParams, response) {
|
|
|
7762
7762
|
return getTypeCacheKeys$1Q(luvio, response);
|
|
7763
7763
|
}
|
|
7764
7764
|
function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
7765
|
-
const key = keyBuilder$
|
|
7765
|
+
const key = keyBuilder$2U(luvio, params);
|
|
7766
7766
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
7767
7767
|
const storeMetadataParams = {
|
|
7768
7768
|
ttl: TTL$z,
|
|
@@ -7870,14 +7870,14 @@ function validate$1s(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
7870
7870
|
return v_error === undefined ? null : v_error;
|
|
7871
7871
|
}
|
|
7872
7872
|
const RepresentationType$P = 'ListViewSummaryRepresentation';
|
|
7873
|
-
function keyBuilder$
|
|
7873
|
+
function keyBuilder$2T(luvio, config) {
|
|
7874
7874
|
return keyPrefix + '::' + RepresentationType$P + ':' + config.id;
|
|
7875
7875
|
}
|
|
7876
7876
|
function keyBuilderFromType$u(luvio, object) {
|
|
7877
7877
|
const keyParams = {
|
|
7878
7878
|
id: object.id
|
|
7879
7879
|
};
|
|
7880
|
-
return keyBuilder$
|
|
7880
|
+
return keyBuilder$2T(luvio, keyParams);
|
|
7881
7881
|
}
|
|
7882
7882
|
function normalize$H(input, existing, path, luvio, store, timestamp) {
|
|
7883
7883
|
return input;
|
|
@@ -8159,7 +8159,7 @@ function validate$1r(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
8159
8159
|
return v_error === undefined ? null : v_error;
|
|
8160
8160
|
}
|
|
8161
8161
|
const RepresentationType$O = 'ListViewSummaryCollectionRepresentation';
|
|
8162
|
-
function keyBuilder$
|
|
8162
|
+
function keyBuilder$2S(luvio, config) {
|
|
8163
8163
|
return keyPrefix + '::' + RepresentationType$O + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
8164
8164
|
}
|
|
8165
8165
|
function keyBuilderFromType$t(luvio, object) {
|
|
@@ -8168,7 +8168,7 @@ function keyBuilderFromType$t(luvio, object) {
|
|
|
8168
8168
|
queryString: object.queryString,
|
|
8169
8169
|
recentListsOnly: object.recentListsOnly
|
|
8170
8170
|
};
|
|
8171
|
-
return keyBuilder$
|
|
8171
|
+
return keyBuilder$2S(luvio, keyParams);
|
|
8172
8172
|
}
|
|
8173
8173
|
function normalize$G(input, existing, path, luvio, store, timestamp) {
|
|
8174
8174
|
const input_lists = input.lists;
|
|
@@ -8462,8 +8462,8 @@ function select$2A(luvio, params) {
|
|
|
8462
8462
|
const paginationParams = createPaginationParams$2(params);
|
|
8463
8463
|
return select$2B(paginationParams);
|
|
8464
8464
|
}
|
|
8465
|
-
function keyBuilder$
|
|
8466
|
-
return keyBuilder$
|
|
8465
|
+
function keyBuilder$2R(luvio, params) {
|
|
8466
|
+
return keyBuilder$2S(luvio, {
|
|
8467
8467
|
objectApiName: params.urlParams.objectApiName,
|
|
8468
8468
|
queryString: params.queryParams.q || null,
|
|
8469
8469
|
recentListsOnly: params.queryParams.recentListsOnly || false
|
|
@@ -8474,7 +8474,7 @@ function getResponseCacheKeys$S(luvio, resourceParams, response) {
|
|
|
8474
8474
|
}
|
|
8475
8475
|
function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
8476
8476
|
const { body } = response;
|
|
8477
|
-
const key = keyBuilder$
|
|
8477
|
+
const key = keyBuilder$2R(luvio, resourceParams);
|
|
8478
8478
|
luvio.storeIngest(key, ingest$1K, body);
|
|
8479
8479
|
const snapshot = luvio.storeLookup({
|
|
8480
8480
|
recordId: key,
|
|
@@ -8490,7 +8490,7 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
8490
8490
|
return snapshot;
|
|
8491
8491
|
}
|
|
8492
8492
|
function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
8493
|
-
const key = keyBuilder$
|
|
8493
|
+
const key = keyBuilder$2R(luvio, params);
|
|
8494
8494
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
8495
8495
|
luvio.storeIngestError(key, errorSnapshot);
|
|
8496
8496
|
return errorSnapshot;
|
|
@@ -8551,9 +8551,9 @@ function coerceConfig$y(config) {
|
|
|
8551
8551
|
}
|
|
8552
8552
|
return coercedConfig;
|
|
8553
8553
|
}
|
|
8554
|
-
function keyBuilder$
|
|
8554
|
+
function keyBuilder$2Q(luvio, config) {
|
|
8555
8555
|
const resourceParams = createResourceParams$S(config);
|
|
8556
|
-
return keyBuilder$
|
|
8556
|
+
return keyBuilder$2R(luvio, resourceParams);
|
|
8557
8557
|
}
|
|
8558
8558
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
8559
8559
|
const config = {};
|
|
@@ -8658,7 +8658,7 @@ function getCachedItemsNumber$2(cacheSnapshot) {
|
|
|
8658
8658
|
return items.length;
|
|
8659
8659
|
}
|
|
8660
8660
|
function getPaginationMetadata$2(luvio, resourceParams) {
|
|
8661
|
-
const key = keyBuilder$
|
|
8661
|
+
const key = keyBuilder$2R(luvio, resourceParams);
|
|
8662
8662
|
const selector = {
|
|
8663
8663
|
recordId: key,
|
|
8664
8664
|
node: {
|
|
@@ -8716,7 +8716,7 @@ function buildNetworkSnapshotCachePolicy$M(context, coercedAdapterRequestContext
|
|
|
8716
8716
|
function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
8717
8717
|
const { luvio, config } = context;
|
|
8718
8718
|
const selector = {
|
|
8719
|
-
recordId: keyBuilder$
|
|
8719
|
+
recordId: keyBuilder$2Q(luvio, config),
|
|
8720
8720
|
node: adapterFragment$E(luvio, config),
|
|
8721
8721
|
variables: {},
|
|
8722
8722
|
};
|
|
@@ -8746,8 +8746,8 @@ function createPaginationParams$1(params) {
|
|
|
8746
8746
|
pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
|
|
8747
8747
|
};
|
|
8748
8748
|
}
|
|
8749
|
-
function keyBuilder$
|
|
8750
|
-
return keyBuilder$
|
|
8749
|
+
function keyBuilder$2P(luvio, params) {
|
|
8750
|
+
return keyBuilder$2Z(luvio, {
|
|
8751
8751
|
listViewApiName: null,
|
|
8752
8752
|
objectApiName: params.urlParams.objectApiName,
|
|
8753
8753
|
type: "mru",
|
|
@@ -8965,7 +8965,7 @@ function buildSnapshotRefresh_getMruListUi(luvio, config) {
|
|
|
8965
8965
|
function onResourceSuccess_getMruListUi(luvio, config, response) {
|
|
8966
8966
|
const { body } = response;
|
|
8967
8967
|
const listInfo = body.info;
|
|
8968
|
-
const listUiKey = keyBuilder$
|
|
8968
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
8969
8969
|
...listInfo.listReference,
|
|
8970
8970
|
sortBy: body.records.sortBy,
|
|
8971
8971
|
});
|
|
@@ -8989,7 +8989,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
|
|
|
8989
8989
|
const listFields_ = fields || listFields(luvio, config, listInfo);
|
|
8990
8990
|
const resourceParams = createResourceParams$R(config);
|
|
8991
8991
|
const selector = {
|
|
8992
|
-
recordId: keyBuilder$
|
|
8992
|
+
recordId: keyBuilder$2P(luvio, resourceParams),
|
|
8993
8993
|
node: buildListUiFragment$1(config, listFields_),
|
|
8994
8994
|
variables: {},
|
|
8995
8995
|
};
|
|
@@ -9080,7 +9080,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
9080
9080
|
const { body } = response;
|
|
9081
9081
|
const { listInfoETag } = body;
|
|
9082
9082
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
9083
|
-
luvio.storeIngest(keyBuilder$
|
|
9083
|
+
luvio.storeIngest(keyBuilder$2_(luvio, {
|
|
9084
9084
|
listViewId: listInfoETag,
|
|
9085
9085
|
sortBy: body.sortBy,
|
|
9086
9086
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -9091,7 +9091,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
9091
9091
|
}
|
|
9092
9092
|
function onResourceError_getMruListRecords(luvio, config, listInfo, err) {
|
|
9093
9093
|
const errorSnapshot = luvio.errorSnapshot(err, buildSnapshotRefresh_getMruListUi(luvio, config));
|
|
9094
|
-
luvio.storeIngestError(keyBuilder$
|
|
9094
|
+
luvio.storeIngestError(keyBuilder$2Z(luvio, {
|
|
9095
9095
|
...listInfo.listReference,
|
|
9096
9096
|
sortBy: config.sortBy === undefined ? null : config.sortBy,
|
|
9097
9097
|
}), errorSnapshot);
|
|
@@ -9259,7 +9259,7 @@ function buildListUiFragment(config, context, fields) {
|
|
|
9259
9259
|
return dynamicSelect$6(listRecordCollectionSelectParams, paginationParams);
|
|
9260
9260
|
}
|
|
9261
9261
|
function buildCachedSnapshot$7(luvio, storeLookup, context, config, listInfo, fields) {
|
|
9262
|
-
const listUiKey = keyBuilder$
|
|
9262
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
9263
9263
|
...listInfo.listReference,
|
|
9264
9264
|
sortBy: getSortBy(config, context),
|
|
9265
9265
|
});
|
|
@@ -9311,7 +9311,7 @@ function prepareRequest_getListUi(config) {
|
|
|
9311
9311
|
}
|
|
9312
9312
|
function onResourceSuccess_getListUi(luvio, context, config, response) {
|
|
9313
9313
|
const { body } = response, listInfo = body.info, { listReference } = listInfo;
|
|
9314
|
-
const listUiKey = keyBuilder$
|
|
9314
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
9315
9315
|
...listReference,
|
|
9316
9316
|
sortBy: body.records.sortBy,
|
|
9317
9317
|
});
|
|
@@ -9435,7 +9435,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
9435
9435
|
const { body } = response;
|
|
9436
9436
|
const { listInfoETag } = body;
|
|
9437
9437
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
9438
|
-
luvio.storeIngest(keyBuilder$
|
|
9438
|
+
luvio.storeIngest(keyBuilder$2_(luvio, {
|
|
9439
9439
|
listViewId: listInfoETag,
|
|
9440
9440
|
sortBy: body.sortBy,
|
|
9441
9441
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -9446,7 +9446,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
9446
9446
|
}
|
|
9447
9447
|
function onResourceError_getListRecords(luvio, context, config, listInfo, err) {
|
|
9448
9448
|
const errorSnapshot = luvio.errorSnapshot(err);
|
|
9449
|
-
luvio.storeIngestError(keyBuilder$
|
|
9449
|
+
luvio.storeIngestError(keyBuilder$2Z(luvio, {
|
|
9450
9450
|
...listInfo.listReference,
|
|
9451
9451
|
sortBy: getSortBy(config, context),
|
|
9452
9452
|
}), errorSnapshot);
|
|
@@ -10395,14 +10395,14 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10395
10395
|
return v_error === undefined ? null : v_error;
|
|
10396
10396
|
}
|
|
10397
10397
|
const RepresentationType$N = 'ObjectInfoRepresentation';
|
|
10398
|
-
function keyBuilder$
|
|
10398
|
+
function keyBuilder$2O(luvio, config) {
|
|
10399
10399
|
return keyPrefix + '::' + RepresentationType$N + ':' + config.apiName;
|
|
10400
10400
|
}
|
|
10401
10401
|
function keyBuilderFromType$s(luvio, object) {
|
|
10402
10402
|
const keyParams = {
|
|
10403
10403
|
apiName: object.apiName
|
|
10404
10404
|
};
|
|
10405
|
-
return keyBuilder$
|
|
10405
|
+
return keyBuilder$2O(luvio, keyParams);
|
|
10406
10406
|
}
|
|
10407
10407
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
10408
10408
|
return input;
|
|
@@ -10563,8 +10563,8 @@ function getTypeCacheKeys$1M(luvio, input, fullPathFactory) {
|
|
|
10563
10563
|
function select$2y(luvio, params) {
|
|
10564
10564
|
return select$2z();
|
|
10565
10565
|
}
|
|
10566
|
-
function keyBuilder$
|
|
10567
|
-
return keyBuilder$
|
|
10566
|
+
function keyBuilder$2N(luvio, params) {
|
|
10567
|
+
return keyBuilder$2O(luvio, {
|
|
10568
10568
|
apiName: params.urlParams.objectApiName
|
|
10569
10569
|
});
|
|
10570
10570
|
}
|
|
@@ -10573,7 +10573,7 @@ function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
|
10573
10573
|
}
|
|
10574
10574
|
function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
10575
10575
|
const { body } = response;
|
|
10576
|
-
const key = keyBuilder$
|
|
10576
|
+
const key = keyBuilder$2N(luvio, resourceParams);
|
|
10577
10577
|
luvio.storeIngest(key, ingest$1J, body);
|
|
10578
10578
|
const snapshot = luvio.storeLookup({
|
|
10579
10579
|
recordId: key,
|
|
@@ -10589,7 +10589,7 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
10589
10589
|
return snapshot;
|
|
10590
10590
|
}
|
|
10591
10591
|
function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
10592
|
-
const key = keyBuilder$
|
|
10592
|
+
const key = keyBuilder$2N(luvio, params);
|
|
10593
10593
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
10594
10594
|
const storeMetadataParams = {
|
|
10595
10595
|
ttl: TTL$y,
|
|
@@ -10637,9 +10637,9 @@ function coerceConfig$w(config) {
|
|
|
10637
10637
|
}
|
|
10638
10638
|
return coercedConfig;
|
|
10639
10639
|
}
|
|
10640
|
-
function keyBuilder$
|
|
10640
|
+
function keyBuilder$2M(luvio, config) {
|
|
10641
10641
|
const resourceParams = createResourceParams$Q(config);
|
|
10642
|
-
return keyBuilder$
|
|
10642
|
+
return keyBuilder$2N(luvio, resourceParams);
|
|
10643
10643
|
}
|
|
10644
10644
|
function typeCheckConfig$X(untrustedConfig) {
|
|
10645
10645
|
const config = {};
|
|
@@ -10711,7 +10711,7 @@ function buildNetworkSnapshotCachePolicy$L(context, coercedAdapterRequestContext
|
|
|
10711
10711
|
function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
10712
10712
|
const { luvio, config } = context;
|
|
10713
10713
|
const selector = {
|
|
10714
|
-
recordId: keyBuilder$
|
|
10714
|
+
recordId: keyBuilder$2M(luvio, config),
|
|
10715
10715
|
node: adapterFragment$D(luvio, config),
|
|
10716
10716
|
variables: {},
|
|
10717
10717
|
};
|
|
@@ -11148,7 +11148,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
11148
11148
|
return v_error === undefined ? null : v_error;
|
|
11149
11149
|
}
|
|
11150
11150
|
const RepresentationType$M = 'RecordLayoutRepresentation';
|
|
11151
|
-
function keyBuilder$
|
|
11151
|
+
function keyBuilder$2L(luvio, config) {
|
|
11152
11152
|
return keyPrefix + '::' + RepresentationType$M + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
11153
11153
|
}
|
|
11154
11154
|
function keyBuilderFromType$r(luvio, object) {
|
|
@@ -11158,7 +11158,7 @@ function keyBuilderFromType$r(luvio, object) {
|
|
|
11158
11158
|
layoutType: object.layoutType,
|
|
11159
11159
|
mode: object.mode
|
|
11160
11160
|
};
|
|
11161
|
-
return keyBuilder$
|
|
11161
|
+
return keyBuilder$2L(luvio, keyParams);
|
|
11162
11162
|
}
|
|
11163
11163
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
11164
11164
|
return input;
|
|
@@ -11324,7 +11324,7 @@ function validate$1d(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
11324
11324
|
return v_error === undefined ? null : v_error;
|
|
11325
11325
|
}
|
|
11326
11326
|
const RepresentationType$L = 'RecordLayoutUserStateRepresentation';
|
|
11327
|
-
function keyBuilder$
|
|
11327
|
+
function keyBuilder$2K(luvio, config) {
|
|
11328
11328
|
return keyPrefix + '::' + RepresentationType$L + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
11329
11329
|
}
|
|
11330
11330
|
function keyBuilderFromType$q(luvio, object) {
|
|
@@ -11334,7 +11334,7 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
11334
11334
|
layoutType: object.layoutType,
|
|
11335
11335
|
mode: object.mode
|
|
11336
11336
|
};
|
|
11337
|
-
return keyBuilder$
|
|
11337
|
+
return keyBuilder$2K(luvio, keyParams);
|
|
11338
11338
|
}
|
|
11339
11339
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
11340
11340
|
return input;
|
|
@@ -12112,7 +12112,7 @@ function collectRecordDefs(resp, recordIds) {
|
|
|
12112
12112
|
}
|
|
12113
12113
|
return recordDefs;
|
|
12114
12114
|
}
|
|
12115
|
-
function keyBuilder$
|
|
12115
|
+
function keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields) {
|
|
12116
12116
|
const joinedRecordIds = recordIds.sort().join(',');
|
|
12117
12117
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
12118
12118
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
@@ -12146,7 +12146,7 @@ function markRecordUiOptionalFields(optionalFields, recordLookupFields, recordNo
|
|
|
12146
12146
|
}
|
|
12147
12147
|
function prepareRequest$4(luvio, config) {
|
|
12148
12148
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
12149
|
-
const key = keyBuilder$
|
|
12149
|
+
const key = keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields);
|
|
12150
12150
|
const selectorKey = buildCachedSelectorKey(key);
|
|
12151
12151
|
const resourceRequest = createResourceRequest$V({
|
|
12152
12152
|
urlParams: {
|
|
@@ -12241,7 +12241,7 @@ function onFetchResponseSuccess$G(luvio, config, selectorKey, key, responseBody)
|
|
|
12241
12241
|
const validRecordIds = [];
|
|
12242
12242
|
for (let i = 0, len = recordIds.length; i < len; i += 1) {
|
|
12243
12243
|
const recordId = recordIds[i];
|
|
12244
|
-
const recordKey = keyBuilder$
|
|
12244
|
+
const recordKey = keyBuilder$31(luvio, { recordId });
|
|
12245
12245
|
const node = luvio.getNode(recordKey);
|
|
12246
12246
|
if (isGraphNode(node)) {
|
|
12247
12247
|
recordNodes.push(node);
|
|
@@ -12308,7 +12308,7 @@ function publishDependencies(luvio, recordIds, depKeys) {
|
|
|
12308
12308
|
function buildCachedSelectorSnapshot(context, storeLookup) {
|
|
12309
12309
|
const { config } = context;
|
|
12310
12310
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
12311
|
-
const key = keyBuilder$
|
|
12311
|
+
const key = keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields);
|
|
12312
12312
|
const cachedSelectorKey = buildCachedSelectorKey(key);
|
|
12313
12313
|
return storeLookup({
|
|
12314
12314
|
recordId: cachedSelectorKey,
|
|
@@ -12407,7 +12407,7 @@ function refresh(luvio, config) {
|
|
|
12407
12407
|
return buildNetworkSnapshot$V(luvio, recordUiConfig).then((snapshot) => {
|
|
12408
12408
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
12409
12409
|
if (isErrorSnapshot(snapshot)) {
|
|
12410
|
-
var recordKey = keyBuilder$
|
|
12410
|
+
var recordKey = keyBuilder$31(luvio, { recordId });
|
|
12411
12411
|
luvio.storeIngestError(recordKey, snapshot);
|
|
12412
12412
|
return luvio.storeBroadcast().then(() => luvio.errorSnapshot(snapshot.error, refresh));
|
|
12413
12413
|
}
|
|
@@ -12555,7 +12555,7 @@ function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
|
12555
12555
|
const { config, luvio } = context;
|
|
12556
12556
|
// get cached copy of the record
|
|
12557
12557
|
const { recordId } = config;
|
|
12558
|
-
const storeKey = keyBuilder$
|
|
12558
|
+
const storeKey = keyBuilder$31(luvio, { recordId });
|
|
12559
12559
|
const recordSnapshot = storeLookup({
|
|
12560
12560
|
recordId: storeKey,
|
|
12561
12561
|
node: {
|
|
@@ -12582,7 +12582,7 @@ const buildObjectInfoCacheSnapshot = (recordLayoutSnapshot) => (context, storeLo
|
|
|
12582
12582
|
};
|
|
12583
12583
|
const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) => (context, storeLookup) => {
|
|
12584
12584
|
const { luvio } = context;
|
|
12585
|
-
const key = keyBuilder$
|
|
12585
|
+
const key = keyBuilder$2L(luvio, {
|
|
12586
12586
|
objectApiName: apiName,
|
|
12587
12587
|
recordTypeId,
|
|
12588
12588
|
layoutType,
|
|
@@ -12790,7 +12790,7 @@ function coerceKeyParams(config) {
|
|
|
12790
12790
|
}
|
|
12791
12791
|
const notifyChangeFactory = (luvio) => {
|
|
12792
12792
|
return function getUiApiRecordsByRecordIdNotifyChange(configs) {
|
|
12793
|
-
const keys = configs.map((c) => keyBuilder$
|
|
12793
|
+
const keys = configs.map((c) => keyBuilder$31(luvio, coerceKeyParams(c)));
|
|
12794
12794
|
luvio.getNotifyChangeStoreEntries(keys).then((entries) => {
|
|
12795
12795
|
const responsePromises = [];
|
|
12796
12796
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
@@ -12936,14 +12936,14 @@ function validate$1b(obj, path = 'QuickActionExecutionRepresentation') {
|
|
|
12936
12936
|
return v_error === undefined ? null : v_error;
|
|
12937
12937
|
}
|
|
12938
12938
|
const RepresentationType$J = 'QuickActionExecutionRepresentation';
|
|
12939
|
-
function keyBuilder$
|
|
12939
|
+
function keyBuilder$2I(luvio, config) {
|
|
12940
12940
|
return keyPrefix + '::' + RepresentationType$J + ':' + config.id;
|
|
12941
12941
|
}
|
|
12942
12942
|
function keyBuilderFromType$p(luvio, object) {
|
|
12943
12943
|
const keyParams = {
|
|
12944
12944
|
id: object.id
|
|
12945
12945
|
};
|
|
12946
|
-
return keyBuilder$
|
|
12946
|
+
return keyBuilder$2I(luvio, keyParams);
|
|
12947
12947
|
}
|
|
12948
12948
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
12949
12949
|
return input;
|
|
@@ -13399,7 +13399,7 @@ function validate$1a(obj, path = 'PlatformActionRepresentation') {
|
|
|
13399
13399
|
return v_error === undefined ? null : v_error;
|
|
13400
13400
|
}
|
|
13401
13401
|
const RepresentationType$I = 'PlatformActionRepresentation';
|
|
13402
|
-
function keyBuilder$
|
|
13402
|
+
function keyBuilder$2H(luvio, config) {
|
|
13403
13403
|
return keyPrefix + '::' + RepresentationType$I + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
13404
13404
|
}
|
|
13405
13405
|
function keyBuilderFromType$o(luvio, object) {
|
|
@@ -13408,7 +13408,7 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
13408
13408
|
relatedSourceObject: object.relatedSourceObject,
|
|
13409
13409
|
relatedListRecordId: object.relatedListRecordId
|
|
13410
13410
|
};
|
|
13411
|
-
return keyBuilder$
|
|
13411
|
+
return keyBuilder$2H(luvio, keyParams);
|
|
13412
13412
|
}
|
|
13413
13413
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
13414
13414
|
return input;
|
|
@@ -13675,14 +13675,14 @@ function validate$19(obj, path = 'EntityActionRepresentation') {
|
|
|
13675
13675
|
return v_error === undefined ? null : v_error;
|
|
13676
13676
|
}
|
|
13677
13677
|
const RepresentationType$H = 'EntityActionRepresentation';
|
|
13678
|
-
function keyBuilder$
|
|
13678
|
+
function keyBuilder$2G(luvio, config) {
|
|
13679
13679
|
return keyPrefix + '::' + RepresentationType$H + ':' + config.url;
|
|
13680
13680
|
}
|
|
13681
13681
|
function keyBuilderFromType$n(luvio, object) {
|
|
13682
13682
|
const keyParams = {
|
|
13683
13683
|
url: object.url
|
|
13684
13684
|
};
|
|
13685
|
-
return keyBuilder$
|
|
13685
|
+
return keyBuilder$2G(luvio, keyParams);
|
|
13686
13686
|
}
|
|
13687
13687
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
13688
13688
|
const input_actions = input.actions;
|
|
@@ -13946,15 +13946,15 @@ function getTypeCacheKeys$1G(luvio, input, fullPathFactory) {
|
|
|
13946
13946
|
function select$2r(luvio, params) {
|
|
13947
13947
|
return select$2s();
|
|
13948
13948
|
}
|
|
13949
|
-
function keyBuilder$
|
|
13949
|
+
function keyBuilder$2F(luvio, params) {
|
|
13950
13950
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
13951
13951
|
}
|
|
13952
13952
|
function getResponseCacheKeys$Q(luvio, resourceParams, response) {
|
|
13953
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
13953
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2F(luvio, resourceParams));
|
|
13954
13954
|
}
|
|
13955
13955
|
function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
13956
13956
|
const { body } = response;
|
|
13957
|
-
const key = keyBuilder$
|
|
13957
|
+
const key = keyBuilder$2F(luvio, resourceParams);
|
|
13958
13958
|
luvio.storeIngest(key, ingest$1C, body);
|
|
13959
13959
|
const snapshot = luvio.storeLookup({
|
|
13960
13960
|
recordId: key,
|
|
@@ -13970,7 +13970,7 @@ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
13970
13970
|
return snapshot;
|
|
13971
13971
|
}
|
|
13972
13972
|
function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
13973
|
-
const key = keyBuilder$
|
|
13973
|
+
const key = keyBuilder$2F(luvio, params);
|
|
13974
13974
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
13975
13975
|
const storeMetadataParams = {
|
|
13976
13976
|
ttl: TTL$u,
|
|
@@ -14056,9 +14056,9 @@ function coerceConfig$u(config) {
|
|
|
14056
14056
|
}
|
|
14057
14057
|
return coercedConfig;
|
|
14058
14058
|
}
|
|
14059
|
-
function keyBuilder$
|
|
14059
|
+
function keyBuilder$2E(luvio, config) {
|
|
14060
14060
|
const resourceParams = createResourceParams$P(config);
|
|
14061
|
-
return keyBuilder$
|
|
14061
|
+
return keyBuilder$2F(luvio, resourceParams);
|
|
14062
14062
|
}
|
|
14063
14063
|
function typeCheckConfig$V(untrustedConfig) {
|
|
14064
14064
|
const config = {};
|
|
@@ -14167,7 +14167,7 @@ function buildNetworkSnapshotCachePolicy$K(context, coercedAdapterRequestContext
|
|
|
14167
14167
|
function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
14168
14168
|
const { luvio, config } = context;
|
|
14169
14169
|
const selector = {
|
|
14170
|
-
recordId: keyBuilder$
|
|
14170
|
+
recordId: keyBuilder$2E(luvio, config),
|
|
14171
14171
|
node: adapterFragment$C(luvio, config),
|
|
14172
14172
|
variables: {},
|
|
14173
14173
|
};
|
|
@@ -14216,14 +14216,14 @@ function validate$17(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14216
14216
|
return v_error === undefined ? null : v_error;
|
|
14217
14217
|
}
|
|
14218
14218
|
const RepresentationType$F = 'QuickActionLayoutRepresentation';
|
|
14219
|
-
function keyBuilder$
|
|
14219
|
+
function keyBuilder$2D(luvio, config) {
|
|
14220
14220
|
return keyPrefix + '::' + RepresentationType$F + ':' + config.actionApiName;
|
|
14221
14221
|
}
|
|
14222
14222
|
function keyBuilderFromType$m(luvio, object) {
|
|
14223
14223
|
const keyParams = {
|
|
14224
14224
|
actionApiName: object.actionApiName
|
|
14225
14225
|
};
|
|
14226
|
-
return keyBuilder$
|
|
14226
|
+
return keyBuilder$2D(luvio, keyParams);
|
|
14227
14227
|
}
|
|
14228
14228
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
14229
14229
|
return input;
|
|
@@ -14299,8 +14299,8 @@ function getTypeCacheKeys$1F(luvio, input, fullPathFactory) {
|
|
|
14299
14299
|
function select$2p(luvio, params) {
|
|
14300
14300
|
return select$2q();
|
|
14301
14301
|
}
|
|
14302
|
-
function keyBuilder$
|
|
14303
|
-
return keyBuilder$
|
|
14302
|
+
function keyBuilder$2C(luvio, params) {
|
|
14303
|
+
return keyBuilder$2D(luvio, {
|
|
14304
14304
|
actionApiName: params.urlParams.actionApiName
|
|
14305
14305
|
});
|
|
14306
14306
|
}
|
|
@@ -14309,7 +14309,7 @@ function getResponseCacheKeys$P(luvio, resourceParams, response) {
|
|
|
14309
14309
|
}
|
|
14310
14310
|
function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
14311
14311
|
const { body } = response;
|
|
14312
|
-
const key = keyBuilder$
|
|
14312
|
+
const key = keyBuilder$2C(luvio, resourceParams);
|
|
14313
14313
|
luvio.storeIngest(key, ingest$1B, body);
|
|
14314
14314
|
const snapshot = luvio.storeLookup({
|
|
14315
14315
|
recordId: key,
|
|
@@ -14325,7 +14325,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
14325
14325
|
return snapshot;
|
|
14326
14326
|
}
|
|
14327
14327
|
function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
14328
|
-
const key = keyBuilder$
|
|
14328
|
+
const key = keyBuilder$2C(luvio, params);
|
|
14329
14329
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
14330
14330
|
const storeMetadataParams = {
|
|
14331
14331
|
ttl: TTL$t,
|
|
@@ -14365,9 +14365,9 @@ function createResourceParams$O(config) {
|
|
|
14365
14365
|
};
|
|
14366
14366
|
return resourceParams;
|
|
14367
14367
|
}
|
|
14368
|
-
function keyBuilder$
|
|
14368
|
+
function keyBuilder$2B(luvio, config) {
|
|
14369
14369
|
const resourceParams = createResourceParams$O(config);
|
|
14370
|
-
return keyBuilder$
|
|
14370
|
+
return keyBuilder$2C(luvio, resourceParams);
|
|
14371
14371
|
}
|
|
14372
14372
|
function typeCheckConfig$U(untrustedConfig) {
|
|
14373
14373
|
const config = {};
|
|
@@ -14438,7 +14438,7 @@ function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext
|
|
|
14438
14438
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
14439
14439
|
const { luvio, config } = context;
|
|
14440
14440
|
const selector = {
|
|
14441
|
-
recordId: keyBuilder$
|
|
14441
|
+
recordId: keyBuilder$2B(luvio, config),
|
|
14442
14442
|
node: adapterFragment$B(luvio, config),
|
|
14443
14443
|
variables: {},
|
|
14444
14444
|
};
|
|
@@ -14461,15 +14461,15 @@ const getQuickActionLayoutAdapterFactory = (luvio) => function UiApi__getQuickAc
|
|
|
14461
14461
|
function select$2o(luvio, params) {
|
|
14462
14462
|
return select$2s();
|
|
14463
14463
|
}
|
|
14464
|
-
function keyBuilder$
|
|
14464
|
+
function keyBuilder$2A(luvio, params) {
|
|
14465
14465
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
14466
14466
|
}
|
|
14467
14467
|
function getResponseCacheKeys$O(luvio, resourceParams, response) {
|
|
14468
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
14468
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2A(luvio, resourceParams));
|
|
14469
14469
|
}
|
|
14470
14470
|
function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
14471
14471
|
const { body } = response;
|
|
14472
|
-
const key = keyBuilder$
|
|
14472
|
+
const key = keyBuilder$2A(luvio, resourceParams);
|
|
14473
14473
|
luvio.storeIngest(key, ingest$1C, body);
|
|
14474
14474
|
const snapshot = luvio.storeLookup({
|
|
14475
14475
|
recordId: key,
|
|
@@ -14485,7 +14485,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
14485
14485
|
return snapshot;
|
|
14486
14486
|
}
|
|
14487
14487
|
function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
14488
|
-
const key = keyBuilder$
|
|
14488
|
+
const key = keyBuilder$2A(luvio, params);
|
|
14489
14489
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
14490
14490
|
const storeMetadataParams = {
|
|
14491
14491
|
ttl: TTL$u,
|
|
@@ -14580,9 +14580,9 @@ function coerceConfig$t(config) {
|
|
|
14580
14580
|
}
|
|
14581
14581
|
return coercedConfig;
|
|
14582
14582
|
}
|
|
14583
|
-
function keyBuilder$
|
|
14583
|
+
function keyBuilder$2z(luvio, config) {
|
|
14584
14584
|
const resourceParams = createResourceParams$N(config);
|
|
14585
|
-
return keyBuilder$
|
|
14585
|
+
return keyBuilder$2A(luvio, resourceParams);
|
|
14586
14586
|
}
|
|
14587
14587
|
function typeCheckConfig$T(untrustedConfig) {
|
|
14588
14588
|
const config = {};
|
|
@@ -14687,7 +14687,7 @@ function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext
|
|
|
14687
14687
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
14688
14688
|
const { luvio, config } = context;
|
|
14689
14689
|
const selector = {
|
|
14690
|
-
recordId: keyBuilder$
|
|
14690
|
+
recordId: keyBuilder$2z(luvio, config),
|
|
14691
14691
|
node: adapterFragment$A(luvio, config),
|
|
14692
14692
|
variables: {},
|
|
14693
14693
|
};
|
|
@@ -14710,15 +14710,15 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
14710
14710
|
function select$2n(luvio, params) {
|
|
14711
14711
|
return select$2s();
|
|
14712
14712
|
}
|
|
14713
|
-
function keyBuilder$
|
|
14713
|
+
function keyBuilder$2y(luvio, params) {
|
|
14714
14714
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
14715
14715
|
}
|
|
14716
14716
|
function getResponseCacheKeys$N(luvio, resourceParams, response) {
|
|
14717
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
14717
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2y(luvio, resourceParams));
|
|
14718
14718
|
}
|
|
14719
14719
|
function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
14720
14720
|
const { body } = response;
|
|
14721
|
-
const key = keyBuilder$
|
|
14721
|
+
const key = keyBuilder$2y(luvio, resourceParams);
|
|
14722
14722
|
luvio.storeIngest(key, ingest$1C, body);
|
|
14723
14723
|
const snapshot = luvio.storeLookup({
|
|
14724
14724
|
recordId: key,
|
|
@@ -14734,7 +14734,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
14734
14734
|
return snapshot;
|
|
14735
14735
|
}
|
|
14736
14736
|
function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
14737
|
-
const key = keyBuilder$
|
|
14737
|
+
const key = keyBuilder$2y(luvio, params);
|
|
14738
14738
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
14739
14739
|
const storeMetadataParams = {
|
|
14740
14740
|
ttl: TTL$u,
|
|
@@ -14797,9 +14797,9 @@ function coerceConfig$s(config) {
|
|
|
14797
14797
|
}
|
|
14798
14798
|
return coercedConfig;
|
|
14799
14799
|
}
|
|
14800
|
-
function keyBuilder$
|
|
14800
|
+
function keyBuilder$2x(luvio, config) {
|
|
14801
14801
|
const resourceParams = createResourceParams$M(config);
|
|
14802
|
-
return keyBuilder$
|
|
14802
|
+
return keyBuilder$2y(luvio, resourceParams);
|
|
14803
14803
|
}
|
|
14804
14804
|
function typeCheckConfig$S(untrustedConfig) {
|
|
14805
14805
|
const config = {};
|
|
@@ -14897,7 +14897,7 @@ function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext
|
|
|
14897
14897
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
14898
14898
|
const { luvio, config } = context;
|
|
14899
14899
|
const selector = {
|
|
14900
|
-
recordId: keyBuilder$
|
|
14900
|
+
recordId: keyBuilder$2x(luvio, config),
|
|
14901
14901
|
node: adapterFragment$z(luvio, config),
|
|
14902
14902
|
variables: {},
|
|
14903
14903
|
};
|
|
@@ -14994,15 +14994,15 @@ function getTypeCacheKeys$1E(luvio, input, fullPathFactory) {
|
|
|
14994
14994
|
function select$2l(luvio, params) {
|
|
14995
14995
|
return select$2m();
|
|
14996
14996
|
}
|
|
14997
|
-
function keyBuilder$
|
|
14997
|
+
function keyBuilder$2w(luvio, params) {
|
|
14998
14998
|
return keyPrefix + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
14999
14999
|
}
|
|
15000
15000
|
function getResponseCacheKeys$M(luvio, resourceParams, response) {
|
|
15001
|
-
return getTypeCacheKeys$1E(luvio, response, () => keyBuilder$
|
|
15001
|
+
return getTypeCacheKeys$1E(luvio, response, () => keyBuilder$2w(luvio, resourceParams));
|
|
15002
15002
|
}
|
|
15003
15003
|
function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
15004
15004
|
const { body } = response;
|
|
15005
|
-
const key = keyBuilder$
|
|
15005
|
+
const key = keyBuilder$2w(luvio, resourceParams);
|
|
15006
15006
|
luvio.storeIngest(key, ingest$1A, body);
|
|
15007
15007
|
const snapshot = luvio.storeLookup({
|
|
15008
15008
|
recordId: key,
|
|
@@ -15018,7 +15018,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15018
15018
|
return snapshot;
|
|
15019
15019
|
}
|
|
15020
15020
|
function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
15021
|
-
const key = keyBuilder$
|
|
15021
|
+
const key = keyBuilder$2w(luvio, params);
|
|
15022
15022
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15023
15023
|
luvio.storeIngestError(key, errorSnapshot);
|
|
15024
15024
|
return errorSnapshot;
|
|
@@ -15067,9 +15067,9 @@ function coerceConfig$r(config) {
|
|
|
15067
15067
|
}
|
|
15068
15068
|
return coercedConfig;
|
|
15069
15069
|
}
|
|
15070
|
-
function keyBuilder$
|
|
15070
|
+
function keyBuilder$2v(luvio, config) {
|
|
15071
15071
|
const resourceParams = createResourceParams$L(config);
|
|
15072
|
-
return keyBuilder$
|
|
15072
|
+
return keyBuilder$2w(luvio, resourceParams);
|
|
15073
15073
|
}
|
|
15074
15074
|
function typeCheckConfig$R(untrustedConfig) {
|
|
15075
15075
|
const config = {};
|
|
@@ -15145,7 +15145,7 @@ function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext
|
|
|
15145
15145
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
15146
15146
|
const { luvio, config } = context;
|
|
15147
15147
|
const selector = {
|
|
15148
|
-
recordId: keyBuilder$
|
|
15148
|
+
recordId: keyBuilder$2v(luvio, config),
|
|
15149
15149
|
node: adapterFragment$y(luvio, config),
|
|
15150
15150
|
variables: {},
|
|
15151
15151
|
};
|
|
@@ -15205,14 +15205,14 @@ function validate$15(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
|
15205
15205
|
return v_error === undefined ? null : v_error;
|
|
15206
15206
|
}
|
|
15207
15207
|
const RepresentationType$D = 'QuickActionDefaultsRepresentation';
|
|
15208
|
-
function keyBuilder$
|
|
15208
|
+
function keyBuilder$2u(luvio, config) {
|
|
15209
15209
|
return keyPrefix + '::' + RepresentationType$D + ':' + config.actionApiName;
|
|
15210
15210
|
}
|
|
15211
15211
|
function keyBuilderFromType$l(luvio, object) {
|
|
15212
15212
|
const keyParams = {
|
|
15213
15213
|
actionApiName: object.actionApiName
|
|
15214
15214
|
};
|
|
15215
|
-
return keyBuilder$
|
|
15215
|
+
return keyBuilder$2u(luvio, keyParams);
|
|
15216
15216
|
}
|
|
15217
15217
|
function dynamicNormalize$4(ingestParams) {
|
|
15218
15218
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -15398,8 +15398,8 @@ function selectFields$6(luvio, params) {
|
|
|
15398
15398
|
return selectFields$7(trie);
|
|
15399
15399
|
}
|
|
15400
15400
|
|
|
15401
|
-
function keyBuilder$
|
|
15402
|
-
return keyBuilder$
|
|
15401
|
+
function keyBuilder$2t(luvio, params) {
|
|
15402
|
+
return keyBuilder$2u(luvio, {
|
|
15403
15403
|
actionApiName: params.urlParams.actionApiName
|
|
15404
15404
|
});
|
|
15405
15405
|
}
|
|
@@ -15407,7 +15407,7 @@ function getResponseCacheKeys$L(luvio, resourceParams, response) {
|
|
|
15407
15407
|
return getTypeCacheKeys$1D(luvio, response);
|
|
15408
15408
|
}
|
|
15409
15409
|
function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
15410
|
-
const key = keyBuilder$
|
|
15410
|
+
const key = keyBuilder$2t(luvio, params);
|
|
15411
15411
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15412
15412
|
const storeMetadataParams = {
|
|
15413
15413
|
ttl: TTL$s,
|
|
@@ -15439,7 +15439,7 @@ function adapterFragment$x(luvio, config) {
|
|
|
15439
15439
|
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
15440
15440
|
const resourceParams = createResourceParams$K(config);
|
|
15441
15441
|
const request = createResourceRequest$P(resourceParams);
|
|
15442
|
-
const key = keyBuilder$
|
|
15442
|
+
const key = keyBuilder$2s(luvio, config);
|
|
15443
15443
|
const trackedFieldsConfig = {
|
|
15444
15444
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
15445
15445
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly()
|
|
@@ -15504,9 +15504,9 @@ function coerceConfig$q(config) {
|
|
|
15504
15504
|
}
|
|
15505
15505
|
return coercedConfig;
|
|
15506
15506
|
}
|
|
15507
|
-
function keyBuilder$
|
|
15507
|
+
function keyBuilder$2s(luvio, config) {
|
|
15508
15508
|
const resourceParams = createResourceParams$K(config);
|
|
15509
|
-
return keyBuilder$
|
|
15509
|
+
return keyBuilder$2t(luvio, resourceParams);
|
|
15510
15510
|
}
|
|
15511
15511
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
15512
15512
|
const config = {};
|
|
@@ -15547,7 +15547,7 @@ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
|
15547
15547
|
}
|
|
15548
15548
|
function buildCachedSnapshot$6(luvio, config) {
|
|
15549
15549
|
const selector = {
|
|
15550
|
-
recordId: keyBuilder$
|
|
15550
|
+
recordId: keyBuilder$2s(luvio, config),
|
|
15551
15551
|
node: adapterFragment$x(luvio, config),
|
|
15552
15552
|
variables: {},
|
|
15553
15553
|
};
|
|
@@ -15583,7 +15583,7 @@ function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext
|
|
|
15583
15583
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
15584
15584
|
const { luvio, config } = context;
|
|
15585
15585
|
const selector = {
|
|
15586
|
-
recordId: keyBuilder$
|
|
15586
|
+
recordId: keyBuilder$2s(luvio, config),
|
|
15587
15587
|
node: adapterFragment$x(luvio, config),
|
|
15588
15588
|
variables: {},
|
|
15589
15589
|
};
|
|
@@ -15606,15 +15606,15 @@ const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuick
|
|
|
15606
15606
|
function select$2k(luvio, params) {
|
|
15607
15607
|
return select$2s();
|
|
15608
15608
|
}
|
|
15609
|
-
function keyBuilder$
|
|
15609
|
+
function keyBuilder$2r(luvio, params) {
|
|
15610
15610
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
15611
15611
|
}
|
|
15612
15612
|
function getResponseCacheKeys$K(luvio, resourceParams, response) {
|
|
15613
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
15613
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2r(luvio, resourceParams));
|
|
15614
15614
|
}
|
|
15615
15615
|
function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
15616
15616
|
const { body } = response;
|
|
15617
|
-
const key = keyBuilder$
|
|
15617
|
+
const key = keyBuilder$2r(luvio, resourceParams);
|
|
15618
15618
|
luvio.storeIngest(key, ingest$1C, body);
|
|
15619
15619
|
const snapshot = luvio.storeLookup({
|
|
15620
15620
|
recordId: key,
|
|
@@ -15630,7 +15630,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15630
15630
|
return snapshot;
|
|
15631
15631
|
}
|
|
15632
15632
|
function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
15633
|
-
const key = keyBuilder$
|
|
15633
|
+
const key = keyBuilder$2r(luvio, params);
|
|
15634
15634
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15635
15635
|
const storeMetadataParams = {
|
|
15636
15636
|
ttl: TTL$u,
|
|
@@ -15705,9 +15705,9 @@ function coerceConfig$p(config) {
|
|
|
15705
15705
|
}
|
|
15706
15706
|
return coercedConfig;
|
|
15707
15707
|
}
|
|
15708
|
-
function keyBuilder$
|
|
15708
|
+
function keyBuilder$2q(luvio, config) {
|
|
15709
15709
|
const resourceParams = createResourceParams$J(config);
|
|
15710
|
-
return keyBuilder$
|
|
15710
|
+
return keyBuilder$2r(luvio, resourceParams);
|
|
15711
15711
|
}
|
|
15712
15712
|
function typeCheckConfig$P(untrustedConfig) {
|
|
15713
15713
|
const config = {};
|
|
@@ -15831,7 +15831,7 @@ function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext
|
|
|
15831
15831
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
15832
15832
|
const { luvio, config } = context;
|
|
15833
15833
|
const selector = {
|
|
15834
|
-
recordId: keyBuilder$
|
|
15834
|
+
recordId: keyBuilder$2q(luvio, config),
|
|
15835
15835
|
node: adapterFragment$w(luvio, config),
|
|
15836
15836
|
variables: {},
|
|
15837
15837
|
};
|
|
@@ -15854,15 +15854,15 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
15854
15854
|
function select$2j(luvio, params) {
|
|
15855
15855
|
return select$2s();
|
|
15856
15856
|
}
|
|
15857
|
-
function keyBuilder$
|
|
15857
|
+
function keyBuilder$2p(luvio, params) {
|
|
15858
15858
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
15859
15859
|
}
|
|
15860
15860
|
function getResponseCacheKeys$J(luvio, resourceParams, response) {
|
|
15861
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
15861
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2p(luvio, resourceParams));
|
|
15862
15862
|
}
|
|
15863
15863
|
function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
15864
15864
|
const { body } = response;
|
|
15865
|
-
const key = keyBuilder$
|
|
15865
|
+
const key = keyBuilder$2p(luvio, resourceParams);
|
|
15866
15866
|
luvio.storeIngest(key, ingest$1C, body);
|
|
15867
15867
|
const snapshot = luvio.storeLookup({
|
|
15868
15868
|
recordId: key,
|
|
@@ -15878,7 +15878,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15878
15878
|
return snapshot;
|
|
15879
15879
|
}
|
|
15880
15880
|
function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
15881
|
-
const key = keyBuilder$
|
|
15881
|
+
const key = keyBuilder$2p(luvio, params);
|
|
15882
15882
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15883
15883
|
const storeMetadataParams = {
|
|
15884
15884
|
ttl: TTL$u,
|
|
@@ -15941,9 +15941,9 @@ function coerceConfig$o(config) {
|
|
|
15941
15941
|
}
|
|
15942
15942
|
return coercedConfig;
|
|
15943
15943
|
}
|
|
15944
|
-
function keyBuilder$
|
|
15944
|
+
function keyBuilder$2o(luvio, config) {
|
|
15945
15945
|
const resourceParams = createResourceParams$I(config);
|
|
15946
|
-
return keyBuilder$
|
|
15946
|
+
return keyBuilder$2p(luvio, resourceParams);
|
|
15947
15947
|
}
|
|
15948
15948
|
function typeCheckConfig$O(untrustedConfig) {
|
|
15949
15949
|
const config = {};
|
|
@@ -16048,7 +16048,7 @@ function buildNetworkSnapshotCachePolicy$D(context, coercedAdapterRequestContext
|
|
|
16048
16048
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
16049
16049
|
const { luvio, config } = context;
|
|
16050
16050
|
const selector = {
|
|
16051
|
-
recordId: keyBuilder$
|
|
16051
|
+
recordId: keyBuilder$2o(luvio, config),
|
|
16052
16052
|
node: adapterFragment$v(luvio, config),
|
|
16053
16053
|
variables: {},
|
|
16054
16054
|
};
|
|
@@ -16141,15 +16141,15 @@ function validate$14(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
16141
16141
|
function select$2i(luvio, params) {
|
|
16142
16142
|
return select$2s();
|
|
16143
16143
|
}
|
|
16144
|
-
function keyBuilder$
|
|
16144
|
+
function keyBuilder$2n(luvio, params) {
|
|
16145
16145
|
return keyPrefix + '::ActionRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListId:' + params.urlParams.relatedListId + ',' + (params.body.actionTypes === undefined ? 'actionTypes' : 'actionTypes:' + params.body.actionTypes) + '::' + (params.body.apiNames === undefined ? 'apiNames' : 'apiNames:' + params.body.apiNames) + '::' + (params.body.formFactor === undefined ? 'formFactor' : 'formFactor:' + params.body.formFactor) + '::' + (params.body.retrievalMode === undefined ? 'retrievalMode' : 'retrievalMode:' + params.body.retrievalMode) + '::' + (params.body.sections === undefined ? 'sections' : 'sections:' + params.body.sections) + ')';
|
|
16146
16146
|
}
|
|
16147
16147
|
function getResponseCacheKeys$I(luvio, resourceParams, response) {
|
|
16148
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
16148
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2n(luvio, resourceParams));
|
|
16149
16149
|
}
|
|
16150
16150
|
function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
16151
16151
|
const { body } = response;
|
|
16152
|
-
const key = keyBuilder$
|
|
16152
|
+
const key = keyBuilder$2n(luvio, resourceParams);
|
|
16153
16153
|
luvio.storeIngest(key, ingest$1C, body);
|
|
16154
16154
|
const snapshot = luvio.storeLookup({
|
|
16155
16155
|
recordId: key,
|
|
@@ -16165,7 +16165,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16165
16165
|
return snapshot;
|
|
16166
16166
|
}
|
|
16167
16167
|
function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
16168
|
-
const key = keyBuilder$
|
|
16168
|
+
const key = keyBuilder$2n(luvio, params);
|
|
16169
16169
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16170
16170
|
const storeMetadataParams = {
|
|
16171
16171
|
ttl: TTL$u,
|
|
@@ -16240,7 +16240,7 @@ function select$2h(luvio, resourceParams) {
|
|
|
16240
16240
|
for (let i = 0, len = childResources.length; i < len; i += 1) {
|
|
16241
16241
|
reader.enterPath(i);
|
|
16242
16242
|
const childResource = childResources[i];
|
|
16243
|
-
const childKey = keyBuilder$
|
|
16243
|
+
const childKey = keyBuilder$2n(luvio, childResource);
|
|
16244
16244
|
const childFragment = select$2i();
|
|
16245
16245
|
const childSnapshot = reader.read({
|
|
16246
16246
|
recordId: childKey,
|
|
@@ -16287,7 +16287,7 @@ function select$2h(luvio, resourceParams) {
|
|
|
16287
16287
|
},
|
|
16288
16288
|
};
|
|
16289
16289
|
}
|
|
16290
|
-
function keyBuilder$
|
|
16290
|
+
function keyBuilder$2m(luvio, params) {
|
|
16291
16291
|
return (keyPrefix +
|
|
16292
16292
|
'::' +
|
|
16293
16293
|
'ActionRelatedListsCollectionBatchRepresentation(' +
|
|
@@ -16307,7 +16307,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
16307
16307
|
}
|
|
16308
16308
|
}
|
|
16309
16309
|
let snapshotState = 'Fulfilled';
|
|
16310
|
-
const key = keyBuilder$
|
|
16310
|
+
const key = keyBuilder$2m(luvio, resourceParams);
|
|
16311
16311
|
const childSnapshotDataResponses = [];
|
|
16312
16312
|
let seenRecords = new StoreKeySet();
|
|
16313
16313
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
@@ -16347,7 +16347,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
16347
16347
|
errorType: 'fetchResponse',
|
|
16348
16348
|
};
|
|
16349
16349
|
ingestError$v(luvio, childResourceParams, childResponse);
|
|
16350
|
-
seenRecords.add(keyBuilder$
|
|
16350
|
+
seenRecords.add(keyBuilder$2n(luvio, childResourceParams));
|
|
16351
16351
|
const childValue = {
|
|
16352
16352
|
statusCode: childStatusCode,
|
|
16353
16353
|
result: childBody,
|
|
@@ -16373,7 +16373,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
16373
16373
|
};
|
|
16374
16374
|
}
|
|
16375
16375
|
function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
16376
|
-
const key = keyBuilder$
|
|
16376
|
+
const key = keyBuilder$2m(luvio, params);
|
|
16377
16377
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16378
16378
|
luvio.storeIngestError(key, errorSnapshot);
|
|
16379
16379
|
return errorSnapshot;
|
|
@@ -16400,7 +16400,7 @@ function getResponseCacheKeys$H(luvio, resourceParams, response) {
|
|
|
16400
16400
|
keys.merge(childKeys);
|
|
16401
16401
|
}
|
|
16402
16402
|
else if (childStatusCode === 404) {
|
|
16403
|
-
const childKey = keyBuilder$
|
|
16403
|
+
const childKey = keyBuilder$2n(luvio, childResourceParams);
|
|
16404
16404
|
keys.set(childKey, {
|
|
16405
16405
|
namespace: keyPrefix,
|
|
16406
16406
|
representationName: childKey.split('::')[1].split(':')[0],
|
|
@@ -16454,9 +16454,9 @@ function coerceConfig$n(config) {
|
|
|
16454
16454
|
}
|
|
16455
16455
|
return coercedConfig;
|
|
16456
16456
|
}
|
|
16457
|
-
function keyBuilder$
|
|
16457
|
+
function keyBuilder$2l(luvio, config) {
|
|
16458
16458
|
const resourceParams = createResourceParams$H(config);
|
|
16459
|
-
return keyBuilder$
|
|
16459
|
+
return keyBuilder$2m(luvio, resourceParams);
|
|
16460
16460
|
}
|
|
16461
16461
|
function typeCheckConfig$N(untrustedConfig) {
|
|
16462
16462
|
const config = {};
|
|
@@ -16544,7 +16544,7 @@ function buildNetworkSnapshotCachePolicy$C(context, coercedAdapterRequestContext
|
|
|
16544
16544
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
16545
16545
|
const { luvio, config } = context;
|
|
16546
16546
|
const selector = {
|
|
16547
|
-
recordId: keyBuilder$
|
|
16547
|
+
recordId: keyBuilder$2l(luvio, config),
|
|
16548
16548
|
node: adapterFragment$u(luvio, config),
|
|
16549
16549
|
variables: {},
|
|
16550
16550
|
};
|
|
@@ -16627,9 +16627,9 @@ function coerceConfig$m(config) {
|
|
|
16627
16627
|
}
|
|
16628
16628
|
return coercedConfig;
|
|
16629
16629
|
}
|
|
16630
|
-
function keyBuilder$
|
|
16630
|
+
function keyBuilder$2k(luvio, config) {
|
|
16631
16631
|
const resourceParams = createResourceParams$G(config);
|
|
16632
|
-
return keyBuilder$
|
|
16632
|
+
return keyBuilder$2n(luvio, resourceParams);
|
|
16633
16633
|
}
|
|
16634
16634
|
function typeCheckConfig$M(untrustedConfig) {
|
|
16635
16635
|
const config = {};
|
|
@@ -16753,7 +16753,7 @@ function buildNetworkSnapshotCachePolicy$B(context, coercedAdapterRequestContext
|
|
|
16753
16753
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
16754
16754
|
const { luvio, config } = context;
|
|
16755
16755
|
const selector = {
|
|
16756
|
-
recordId: keyBuilder$
|
|
16756
|
+
recordId: keyBuilder$2k(luvio, config),
|
|
16757
16757
|
node: adapterFragment$t(luvio, config),
|
|
16758
16758
|
variables: {},
|
|
16759
16759
|
};
|
|
@@ -16776,15 +16776,15 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
16776
16776
|
function select$2g(luvio, params) {
|
|
16777
16777
|
return select$2s();
|
|
16778
16778
|
}
|
|
16779
|
-
function keyBuilder$
|
|
16779
|
+
function keyBuilder$2j(luvio, params) {
|
|
16780
16780
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
16781
16781
|
}
|
|
16782
16782
|
function getResponseCacheKeys$G(luvio, resourceParams, response) {
|
|
16783
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
16783
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2j(luvio, resourceParams));
|
|
16784
16784
|
}
|
|
16785
16785
|
function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
16786
16786
|
const { body } = response;
|
|
16787
|
-
const key = keyBuilder$
|
|
16787
|
+
const key = keyBuilder$2j(luvio, resourceParams);
|
|
16788
16788
|
luvio.storeIngest(key, ingest$1C, body);
|
|
16789
16789
|
const snapshot = luvio.storeLookup({
|
|
16790
16790
|
recordId: key,
|
|
@@ -16800,7 +16800,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16800
16800
|
return snapshot;
|
|
16801
16801
|
}
|
|
16802
16802
|
function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
16803
|
-
const key = keyBuilder$
|
|
16803
|
+
const key = keyBuilder$2j(luvio, params);
|
|
16804
16804
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16805
16805
|
const storeMetadataParams = {
|
|
16806
16806
|
ttl: TTL$u,
|
|
@@ -16867,9 +16867,9 @@ function coerceConfig$l(config) {
|
|
|
16867
16867
|
}
|
|
16868
16868
|
return coercedConfig;
|
|
16869
16869
|
}
|
|
16870
|
-
function keyBuilder$
|
|
16870
|
+
function keyBuilder$2i(luvio, config) {
|
|
16871
16871
|
const resourceParams = createResourceParams$F(config);
|
|
16872
|
-
return keyBuilder$
|
|
16872
|
+
return keyBuilder$2j(luvio, resourceParams);
|
|
16873
16873
|
}
|
|
16874
16874
|
function typeCheckConfig$L(untrustedConfig) {
|
|
16875
16875
|
const config = {};
|
|
@@ -16985,7 +16985,7 @@ function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext
|
|
|
16985
16985
|
function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
16986
16986
|
const { luvio, config } = context;
|
|
16987
16987
|
const selector = {
|
|
16988
|
-
recordId: keyBuilder$
|
|
16988
|
+
recordId: keyBuilder$2i(luvio, config),
|
|
16989
16989
|
node: adapterFragment$s(luvio, config),
|
|
16990
16990
|
variables: {},
|
|
16991
16991
|
};
|
|
@@ -17319,14 +17319,14 @@ function validate$12(obj, path = 'NavItemRepresentation') {
|
|
|
17319
17319
|
return v_error === undefined ? null : v_error;
|
|
17320
17320
|
}
|
|
17321
17321
|
const RepresentationType$B = 'NavItemRepresentation';
|
|
17322
|
-
function keyBuilder$
|
|
17322
|
+
function keyBuilder$2h(luvio, config) {
|
|
17323
17323
|
return keyPrefix + '::' + RepresentationType$B + ':' + config.developerName;
|
|
17324
17324
|
}
|
|
17325
17325
|
function keyBuilderFromType$k(luvio, object) {
|
|
17326
17326
|
const keyParams = {
|
|
17327
17327
|
developerName: object.developerName
|
|
17328
17328
|
};
|
|
17329
|
-
return keyBuilder$
|
|
17329
|
+
return keyBuilder$2h(luvio, keyParams);
|
|
17330
17330
|
}
|
|
17331
17331
|
function normalize$u(input, existing, path, luvio, store, timestamp) {
|
|
17332
17332
|
const input_pageReference = input.pageReference;
|
|
@@ -17751,14 +17751,14 @@ function validate$11(obj, path = 'AppRepresentation') {
|
|
|
17751
17751
|
return v_error === undefined ? null : v_error;
|
|
17752
17752
|
}
|
|
17753
17753
|
const RepresentationType$A = 'AppRepresentation';
|
|
17754
|
-
function keyBuilder$
|
|
17754
|
+
function keyBuilder$2g(luvio, config) {
|
|
17755
17755
|
return keyPrefix + '::' + RepresentationType$A + ':' + (config.appId === null ? '' : config.appId);
|
|
17756
17756
|
}
|
|
17757
17757
|
function keyBuilderFromType$j(luvio, object) {
|
|
17758
17758
|
const keyParams = {
|
|
17759
17759
|
appId: object.appId
|
|
17760
17760
|
};
|
|
17761
|
-
return keyBuilder$
|
|
17761
|
+
return keyBuilder$2g(luvio, keyParams);
|
|
17762
17762
|
}
|
|
17763
17763
|
function normalize$t(input, existing, path, luvio, store, timestamp) {
|
|
17764
17764
|
const input_navItems = input.navItems;
|
|
@@ -18168,15 +18168,15 @@ function getTypeCacheKeys$1z(luvio, input, fullPathFactory) {
|
|
|
18168
18168
|
function select$2b(luvio, params) {
|
|
18169
18169
|
return select$2c();
|
|
18170
18170
|
}
|
|
18171
|
-
function keyBuilder$
|
|
18171
|
+
function keyBuilder$2f(luvio, params) {
|
|
18172
18172
|
return keyPrefix + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
18173
18173
|
}
|
|
18174
18174
|
function getResponseCacheKeys$F(luvio, resourceParams, response) {
|
|
18175
|
-
return getTypeCacheKeys$1z(luvio, response, () => keyBuilder$
|
|
18175
|
+
return getTypeCacheKeys$1z(luvio, response, () => keyBuilder$2f(luvio, resourceParams));
|
|
18176
18176
|
}
|
|
18177
18177
|
function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
18178
18178
|
const { body } = response;
|
|
18179
|
-
const key = keyBuilder$
|
|
18179
|
+
const key = keyBuilder$2f(luvio, resourceParams);
|
|
18180
18180
|
luvio.storeIngest(key, ingest$1w, body);
|
|
18181
18181
|
const snapshot = luvio.storeLookup({
|
|
18182
18182
|
recordId: key,
|
|
@@ -18192,7 +18192,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
18192
18192
|
return snapshot;
|
|
18193
18193
|
}
|
|
18194
18194
|
function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
18195
|
-
const key = keyBuilder$
|
|
18195
|
+
const key = keyBuilder$2f(luvio, params);
|
|
18196
18196
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18197
18197
|
const storeMetadataParams = {
|
|
18198
18198
|
ttl: TTL$p,
|
|
@@ -18244,9 +18244,9 @@ function coerceConfig$k(config) {
|
|
|
18244
18244
|
}
|
|
18245
18245
|
return coercedConfig;
|
|
18246
18246
|
}
|
|
18247
|
-
function keyBuilder$
|
|
18247
|
+
function keyBuilder$2e(luvio, config) {
|
|
18248
18248
|
const resourceParams = createResourceParams$E(config);
|
|
18249
|
-
return keyBuilder$
|
|
18249
|
+
return keyBuilder$2f(luvio, resourceParams);
|
|
18250
18250
|
}
|
|
18251
18251
|
function typeCheckConfig$K(untrustedConfig) {
|
|
18252
18252
|
const config = {};
|
|
@@ -18322,7 +18322,7 @@ function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext
|
|
|
18322
18322
|
function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
18323
18323
|
const { luvio, config } = context;
|
|
18324
18324
|
const selector = {
|
|
18325
|
-
recordId: keyBuilder$
|
|
18325
|
+
recordId: keyBuilder$2e(luvio, config),
|
|
18326
18326
|
node: adapterFragment$r(luvio, config),
|
|
18327
18327
|
variables: {},
|
|
18328
18328
|
};
|
|
@@ -18345,7 +18345,7 @@ const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrusted
|
|
|
18345
18345
|
function select$2a(luvio, params) {
|
|
18346
18346
|
return select$2d();
|
|
18347
18347
|
}
|
|
18348
|
-
function keyBuilder$
|
|
18348
|
+
function keyBuilder$2d(luvio, params) {
|
|
18349
18349
|
return keyPrefix + '::AppRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
18350
18350
|
}
|
|
18351
18351
|
function getResponseCacheKeys$E(luvio, resourceParams, response) {
|
|
@@ -18353,7 +18353,7 @@ function getResponseCacheKeys$E(luvio, resourceParams, response) {
|
|
|
18353
18353
|
}
|
|
18354
18354
|
function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
|
|
18355
18355
|
const { body } = response;
|
|
18356
|
-
const key = keyBuilder$
|
|
18356
|
+
const key = keyBuilder$2d(luvio, resourceParams);
|
|
18357
18357
|
luvio.storeIngest(key, ingest$1x, body);
|
|
18358
18358
|
const snapshot = luvio.storeLookup({
|
|
18359
18359
|
recordId: key,
|
|
@@ -18369,7 +18369,7 @@ function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
18369
18369
|
return snapshot;
|
|
18370
18370
|
}
|
|
18371
18371
|
function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
18372
|
-
const key = keyBuilder$
|
|
18372
|
+
const key = keyBuilder$2d(luvio, params);
|
|
18373
18373
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18374
18374
|
const storeMetadataParams = {
|
|
18375
18375
|
ttl: TTL$q,
|
|
@@ -18409,9 +18409,9 @@ function createResourceParams$D(config) {
|
|
|
18409
18409
|
};
|
|
18410
18410
|
return resourceParams;
|
|
18411
18411
|
}
|
|
18412
|
-
function keyBuilder$
|
|
18412
|
+
function keyBuilder$2c(luvio, config) {
|
|
18413
18413
|
const resourceParams = createResourceParams$D(config);
|
|
18414
|
-
return keyBuilder$
|
|
18414
|
+
return keyBuilder$2d(luvio, resourceParams);
|
|
18415
18415
|
}
|
|
18416
18416
|
function typeCheckConfig$J(untrustedConfig) {
|
|
18417
18417
|
const config = {};
|
|
@@ -18486,7 +18486,7 @@ function buildNetworkSnapshotCachePolicy$y(context, coercedAdapterRequestContext
|
|
|
18486
18486
|
function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
18487
18487
|
const { luvio, config } = context;
|
|
18488
18488
|
const selector = {
|
|
18489
|
-
recordId: keyBuilder$
|
|
18489
|
+
recordId: keyBuilder$2c(luvio, config),
|
|
18490
18490
|
node: adapterFragment$q(luvio, config),
|
|
18491
18491
|
variables: {},
|
|
18492
18492
|
};
|
|
@@ -18509,8 +18509,8 @@ const getSelectedAppAdapterFactory = (luvio) => function UiApi__getSelectedApp(u
|
|
|
18509
18509
|
function select$29(luvio, params) {
|
|
18510
18510
|
return select$2d();
|
|
18511
18511
|
}
|
|
18512
|
-
function keyBuilder$
|
|
18513
|
-
return keyBuilder$
|
|
18512
|
+
function keyBuilder$2b(luvio, params) {
|
|
18513
|
+
return keyBuilder$2g(luvio, {
|
|
18514
18514
|
appId: params.urlParams.appId
|
|
18515
18515
|
});
|
|
18516
18516
|
}
|
|
@@ -18519,7 +18519,7 @@ function getResponseCacheKeys$D(luvio, resourceParams, response) {
|
|
|
18519
18519
|
}
|
|
18520
18520
|
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
18521
18521
|
const { body } = response;
|
|
18522
|
-
const key = keyBuilder$
|
|
18522
|
+
const key = keyBuilder$2b(luvio, resourceParams);
|
|
18523
18523
|
luvio.storeIngest(key, ingest$1x, body);
|
|
18524
18524
|
const snapshot = luvio.storeLookup({
|
|
18525
18525
|
recordId: key,
|
|
@@ -18535,7 +18535,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
18535
18535
|
return snapshot;
|
|
18536
18536
|
}
|
|
18537
18537
|
function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
18538
|
-
const key = keyBuilder$
|
|
18538
|
+
const key = keyBuilder$2b(luvio, params);
|
|
18539
18539
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18540
18540
|
const storeMetadataParams = {
|
|
18541
18541
|
ttl: TTL$q,
|
|
@@ -18594,9 +18594,9 @@ function coerceConfig$j(config) {
|
|
|
18594
18594
|
}
|
|
18595
18595
|
return coercedConfig;
|
|
18596
18596
|
}
|
|
18597
|
-
function keyBuilder$
|
|
18597
|
+
function keyBuilder$2a(luvio, config) {
|
|
18598
18598
|
const resourceParams = createResourceParams$C(config);
|
|
18599
|
-
return keyBuilder$
|
|
18599
|
+
return keyBuilder$2b(luvio, resourceParams);
|
|
18600
18600
|
}
|
|
18601
18601
|
function typeCheckConfig$I(untrustedConfig) {
|
|
18602
18602
|
const config = {};
|
|
@@ -18676,7 +18676,7 @@ function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext
|
|
|
18676
18676
|
function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
18677
18677
|
const { luvio, config } = context;
|
|
18678
18678
|
const selector = {
|
|
18679
|
-
recordId: keyBuilder$
|
|
18679
|
+
recordId: keyBuilder$2a(luvio, config),
|
|
18680
18680
|
node: adapterFragment$p(luvio, config),
|
|
18681
18681
|
variables: {},
|
|
18682
18682
|
};
|
|
@@ -19181,15 +19181,15 @@ function getTypeCacheKeys$1y(luvio, input, fullPathFactory) {
|
|
|
19181
19181
|
function select$23(luvio, params) {
|
|
19182
19182
|
return select$24();
|
|
19183
19183
|
}
|
|
19184
|
-
function keyBuilder$
|
|
19184
|
+
function keyBuilder$29(luvio, params) {
|
|
19185
19185
|
return keyPrefix + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
19186
19186
|
}
|
|
19187
19187
|
function getResponseCacheKeys$C(luvio, resourceParams, response) {
|
|
19188
|
-
return getTypeCacheKeys$1y(luvio, response, () => keyBuilder$
|
|
19188
|
+
return getTypeCacheKeys$1y(luvio, response, () => keyBuilder$29(luvio, resourceParams));
|
|
19189
19189
|
}
|
|
19190
19190
|
function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
19191
19191
|
const { body } = response;
|
|
19192
|
-
const key = keyBuilder$
|
|
19192
|
+
const key = keyBuilder$29(luvio, resourceParams);
|
|
19193
19193
|
luvio.storeIngest(key, ingest$1v, body);
|
|
19194
19194
|
const snapshot = luvio.storeLookup({
|
|
19195
19195
|
recordId: key,
|
|
@@ -19205,7 +19205,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
19205
19205
|
return snapshot;
|
|
19206
19206
|
}
|
|
19207
19207
|
function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
19208
|
-
const key = keyBuilder$
|
|
19208
|
+
const key = keyBuilder$29(luvio, params);
|
|
19209
19209
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
19210
19210
|
const storeMetadataParams = {
|
|
19211
19211
|
ttl: TTL$o,
|
|
@@ -19248,9 +19248,9 @@ function createResourceParams$B(config) {
|
|
|
19248
19248
|
};
|
|
19249
19249
|
return resourceParams;
|
|
19250
19250
|
}
|
|
19251
|
-
function keyBuilder$
|
|
19251
|
+
function keyBuilder$28(luvio, config) {
|
|
19252
19252
|
const resourceParams = createResourceParams$B(config);
|
|
19253
|
-
return keyBuilder$
|
|
19253
|
+
return keyBuilder$29(luvio, resourceParams);
|
|
19254
19254
|
}
|
|
19255
19255
|
function typeCheckConfig$H(untrustedConfig) {
|
|
19256
19256
|
const config = {};
|
|
@@ -19325,7 +19325,7 @@ function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext
|
|
|
19325
19325
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
19326
19326
|
const { luvio, config } = context;
|
|
19327
19327
|
const selector = {
|
|
19328
|
-
recordId: keyBuilder$
|
|
19328
|
+
recordId: keyBuilder$28(luvio, config),
|
|
19329
19329
|
node: adapterFragment$o(luvio, config),
|
|
19330
19330
|
variables: {},
|
|
19331
19331
|
};
|
|
@@ -19345,14 +19345,14 @@ const getDuplicateConfigurationAdapterFactory = (luvio) => function UiApi__getDu
|
|
|
19345
19345
|
buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
|
|
19346
19346
|
};
|
|
19347
19347
|
|
|
19348
|
-
function keyBuilder$
|
|
19348
|
+
function keyBuilder$27(luvio, params) {
|
|
19349
19349
|
return keyPrefix + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
19350
19350
|
}
|
|
19351
19351
|
function getResponseCacheKeys$B(luvio, resourceParams, response) {
|
|
19352
19352
|
return getTypeCacheKeys$1L(luvio, response);
|
|
19353
19353
|
}
|
|
19354
19354
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
19355
|
-
const key = keyBuilder$
|
|
19355
|
+
const key = keyBuilder$27(luvio, params);
|
|
19356
19356
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
19357
19357
|
const storeMetadataParams = {
|
|
19358
19358
|
ttl: TTL$x,
|
|
@@ -19399,7 +19399,7 @@ function coerceLayoutMode(value) {
|
|
|
19399
19399
|
|
|
19400
19400
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
19401
19401
|
const { body } = response;
|
|
19402
|
-
const key = keyBuilder$
|
|
19402
|
+
const key = keyBuilder$2L(luvio, config);
|
|
19403
19403
|
luvio.storeIngest(key, ingest$1I, body);
|
|
19404
19404
|
const snapshot = luvio.storeLookup({
|
|
19405
19405
|
recordId: key,
|
|
@@ -19448,7 +19448,7 @@ function validateAdapterConfig$H(untrustedConfig, _configPropertyNames) {
|
|
|
19448
19448
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
19449
19449
|
const { luvio, config } = context;
|
|
19450
19450
|
const selector = {
|
|
19451
|
-
recordId: keyBuilder$
|
|
19451
|
+
recordId: keyBuilder$2L(luvio, config),
|
|
19452
19452
|
node: select$2x(),
|
|
19453
19453
|
variables: {},
|
|
19454
19454
|
};
|
|
@@ -19594,7 +19594,7 @@ function createResourceRequest$E(config) {
|
|
|
19594
19594
|
|
|
19595
19595
|
function buildCachedSnapshot$5(luvio, config) {
|
|
19596
19596
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
19597
|
-
const key = keyBuilder$
|
|
19597
|
+
const key = keyBuilder$2K(luvio, {
|
|
19598
19598
|
apiName: objectApiName,
|
|
19599
19599
|
recordTypeId,
|
|
19600
19600
|
layoutType,
|
|
@@ -19647,7 +19647,7 @@ function onFetchResponseError$q(luvio, config, key, error) {
|
|
|
19647
19647
|
}
|
|
19648
19648
|
function prepareRequest$3(luvio, config) {
|
|
19649
19649
|
const { recordTypeId, layoutType, mode, objectApiName } = config;
|
|
19650
|
-
const key = keyBuilder$
|
|
19650
|
+
const key = keyBuilder$2K(luvio, {
|
|
19651
19651
|
apiName: objectApiName,
|
|
19652
19652
|
recordTypeId,
|
|
19653
19653
|
layoutType,
|
|
@@ -19712,7 +19712,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
19712
19712
|
const { config, luvio } = context;
|
|
19713
19713
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
19714
19714
|
const selector = {
|
|
19715
|
-
recordId: keyBuilder$
|
|
19715
|
+
recordId: keyBuilder$2K(luvio, {
|
|
19716
19716
|
apiName: objectApiName,
|
|
19717
19717
|
recordTypeId,
|
|
19718
19718
|
layoutType,
|
|
@@ -19816,11 +19816,19 @@ const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUse
|
|
|
19816
19816
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
19817
19817
|
};
|
|
19818
19818
|
|
|
19819
|
+
function keyBuilder$26(luvio, params) {
|
|
19820
|
+
return keyBuilder$32(luvio, {
|
|
19821
|
+
objectApiName: params.urlParams.objectApiName,
|
|
19822
|
+
listViewApiName: params.urlParams.listViewApiName,
|
|
19823
|
+
type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
|
|
19824
|
+
});
|
|
19825
|
+
}
|
|
19826
|
+
|
|
19819
19827
|
function select$22(luvio, params) {
|
|
19820
19828
|
return select$2M();
|
|
19821
19829
|
}
|
|
19822
19830
|
function keyBuilder$25(luvio, params) {
|
|
19823
|
-
return keyBuilder$
|
|
19831
|
+
return keyBuilder$32(luvio, {
|
|
19824
19832
|
objectApiName: params.urlParams.objectApiName,
|
|
19825
19833
|
listViewApiName: params.urlParams.listViewApiName,
|
|
19826
19834
|
type: "listView"
|
|
@@ -19831,7 +19839,7 @@ function getResponseCacheKeys$z(luvio, resourceParams, response) {
|
|
|
19831
19839
|
}
|
|
19832
19840
|
function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
19833
19841
|
const { body } = response;
|
|
19834
|
-
const key = keyBuilder$
|
|
19842
|
+
const key = keyBuilder$26(luvio, resourceParams);
|
|
19835
19843
|
luvio.storeIngest(key, ingest$1R, body);
|
|
19836
19844
|
const snapshot = luvio.storeLookup({
|
|
19837
19845
|
recordId: key,
|
|
@@ -19847,7 +19855,7 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
19847
19855
|
return snapshot;
|
|
19848
19856
|
}
|
|
19849
19857
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
19850
|
-
const key = keyBuilder$
|
|
19858
|
+
const key = keyBuilder$26(luvio, params);
|
|
19851
19859
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
19852
19860
|
const storeMetadataParams = {
|
|
19853
19861
|
ttl: TTL$C,
|
|
@@ -20313,7 +20321,7 @@ function createResourceParams$y(config) {
|
|
|
20313
20321
|
}
|
|
20314
20322
|
function keyBuilder$22(luvio, config) {
|
|
20315
20323
|
const resourceParams = createResourceParams$y(config);
|
|
20316
|
-
return keyBuilder$
|
|
20324
|
+
return keyBuilder$26(luvio, resourceParams);
|
|
20317
20325
|
}
|
|
20318
20326
|
function typeCheckConfig$D(untrustedConfig) {
|
|
20319
20327
|
const config = {};
|
|
@@ -20819,7 +20827,7 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
|
|
|
20819
20827
|
reader.enterPath(i);
|
|
20820
20828
|
reader.enterPath(envelopeBodyPath);
|
|
20821
20829
|
const childResource = childResources[i];
|
|
20822
|
-
const childKey = keyBuilder$
|
|
20830
|
+
const childKey = keyBuilder$2N(luvio, childResource);
|
|
20823
20831
|
const childFragment = select$2y();
|
|
20824
20832
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
20825
20833
|
const childSnapshot = reader.read({
|
|
@@ -20926,7 +20934,7 @@ function getResponseCacheKeys$w(luvio, resourceParams, response) {
|
|
|
20926
20934
|
keys.merge(childKeys);
|
|
20927
20935
|
}
|
|
20928
20936
|
else if (childStatusCode === 404) {
|
|
20929
|
-
const childKey = keyBuilder$
|
|
20937
|
+
const childKey = keyBuilder$2N(luvio, childResourceParams);
|
|
20930
20938
|
keys.set(childKey, {
|
|
20931
20939
|
namespace: keyPrefix,
|
|
20932
20940
|
representationName: RepresentationType$N,
|
|
@@ -20943,7 +20951,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
|
|
|
20943
20951
|
const now = Date.now();
|
|
20944
20952
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
20945
20953
|
const childResourceParams = childResourceParamsArray[index];
|
|
20946
|
-
const childKey = keyBuilder$
|
|
20954
|
+
const childKey = keyBuilder$2N(luvio, childResourceParams);
|
|
20947
20955
|
const result = childEnvelopes[index];
|
|
20948
20956
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
20949
20957
|
if (childStatusCode === 200) {
|
|
@@ -24079,7 +24087,7 @@ const getRecords_ConfigPropertyNames = {
|
|
|
24079
24087
|
|
|
24080
24088
|
function keyBuilder$1S(luvio, config) {
|
|
24081
24089
|
const resourceParams = createResourceParams$V(config);
|
|
24082
|
-
return keyBuilder$
|
|
24090
|
+
return keyBuilder$2$(luvio, resourceParams);
|
|
24083
24091
|
}
|
|
24084
24092
|
function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
24085
24093
|
const snapshot = ingestError$J(luvio, resourceParams, response, {
|
|
@@ -51800,7 +51808,7 @@ const factory$b = (luvio) => {
|
|
|
51800
51808
|
recordTypeId,
|
|
51801
51809
|
},
|
|
51802
51810
|
});
|
|
51803
|
-
const key = keyBuilder$
|
|
51811
|
+
const key = keyBuilder$2K(luvio, {
|
|
51804
51812
|
apiName: objectApiName,
|
|
51805
51813
|
recordTypeId,
|
|
51806
51814
|
layoutType,
|
|
@@ -51857,7 +51865,7 @@ function createResourceParams$8(config) {
|
|
|
51857
51865
|
}
|
|
51858
51866
|
function keyBuilder$9(luvio, config) {
|
|
51859
51867
|
const resourceParams = createResourceParams$8(config);
|
|
51860
|
-
return keyBuilder$
|
|
51868
|
+
return keyBuilder$2U(luvio, resourceParams);
|
|
51861
51869
|
}
|
|
51862
51870
|
function typeCheckConfig$b(untrustedConfig) {
|
|
51863
51871
|
const config = {};
|
|
@@ -51990,7 +51998,7 @@ function getCachedItemsNumber(cacheSnapshot) {
|
|
|
51990
51998
|
return items.length;
|
|
51991
51999
|
}
|
|
51992
52000
|
function getPaginationMetadata(luvio, resourceParams) {
|
|
51993
|
-
const key = keyBuilder$
|
|
52001
|
+
const key = keyBuilder$2U(luvio, resourceParams);
|
|
51994
52002
|
const selector = {
|
|
51995
52003
|
recordId: key,
|
|
51996
52004
|
node: {
|
|
@@ -54799,7 +54807,7 @@ function createResourceParams$4(config) {
|
|
|
54799
54807
|
function onResponseSuccess$1(luvio, response, recordIngest, conflictMap) {
|
|
54800
54808
|
const { body } = response;
|
|
54801
54809
|
const selections = buildSelectionFromRecord(body);
|
|
54802
|
-
const key = keyBuilder$
|
|
54810
|
+
const key = keyBuilder$31(luvio, {
|
|
54803
54811
|
recordId: body.id,
|
|
54804
54812
|
});
|
|
54805
54813
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -54845,7 +54853,7 @@ const factory$4 = (luvio) => {
|
|
|
54845
54853
|
};
|
|
54846
54854
|
|
|
54847
54855
|
function keyBuilder$1(luvio, params) {
|
|
54848
|
-
return keyBuilder$
|
|
54856
|
+
return keyBuilder$31(luvio, {
|
|
54849
54857
|
recordId: params.urlParams.recordId
|
|
54850
54858
|
});
|
|
54851
54859
|
}
|
|
@@ -55138,7 +55146,7 @@ function getHeaders(clientOptions) {
|
|
|
55138
55146
|
function onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap) {
|
|
55139
55147
|
const { body } = response;
|
|
55140
55148
|
const sel = buildSelectionFromRecord(body);
|
|
55141
|
-
const key = keyBuilder$
|
|
55149
|
+
const key = keyBuilder$31(luvio, {
|
|
55142
55150
|
recordId,
|
|
55143
55151
|
});
|
|
55144
55152
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -56081,4 +56089,4 @@ ensureRegisteredOnce({
|
|
|
56081
56089
|
instrument,
|
|
56082
56090
|
});
|
|
56083
56091
|
|
|
56084
|
-
export { notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoRepresentationType, RepresentationType$S as RecordRepresentationRepresentationType, TTL$A as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$2c as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildSelectionFromFields, buildSelectionFromRecord, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, factory$3 as deleteRecordAdapterFactory, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$i as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$j as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$g as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$h as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$1T as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$f as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1v as ingestDuplicateConfiguration, ingest$1r as ingestDuplicatesRepresentation, ingest$1R as ingestListInfo, ingest$1N as ingestListRecords, ingest$1J as ingestObjectInfo, ingest$1F as ingestQuickActionExecutionRepresentation, ingest$1O as ingestRecord, ingest$1G as ingestRecordUi, ingest$1j as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1g as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1i as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$
|
|
56092
|
+
export { notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoRepresentationType, RepresentationType$S as RecordRepresentationRepresentationType, TTL$A as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$2c as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildSelectionFromFields, buildSelectionFromRecord, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, factory$3 as deleteRecordAdapterFactory, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$i as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$j as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$g as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$h as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$1T as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$f as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1v as ingestDuplicateConfiguration, ingest$1r as ingestDuplicatesRepresentation, ingest$1R as ingestListInfo, ingest$1N as ingestListRecords, ingest$1J as ingestObjectInfo, ingest$1F as ingestQuickActionExecutionRepresentation, ingest$1O as ingestRecord, ingest$1G as ingestRecordUi, ingest$1j as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1g as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1i as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$2O as keyBuilderObjectInfo, keyBuilder$2I as keyBuilderQuickActionExecutionRepresentation, keyBuilder$31 as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|