@salesforce/lwc-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.
- package/dist/main.js +215 -207
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -8744,7 +8744,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8744
8744
|
return v_error === undefined ? null : v_error;
|
|
8745
8745
|
}
|
|
8746
8746
|
const RepresentationType$V = 'ListInfoRepresentation';
|
|
8747
|
-
function keyBuilder$
|
|
8747
|
+
function keyBuilder$32(luvio, config) {
|
|
8748
8748
|
return keyPrefix + '::' + RepresentationType$V + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
8749
8749
|
}
|
|
8750
8750
|
function keyBuilderFromType$z(luvio, object) {
|
|
@@ -8753,7 +8753,7 @@ function keyBuilderFromType$z(luvio, object) {
|
|
|
8753
8753
|
objectApiName: object.listReference.objectApiName,
|
|
8754
8754
|
type: object.listReference.type
|
|
8755
8755
|
};
|
|
8756
|
-
return keyBuilder$
|
|
8756
|
+
return keyBuilder$32(luvio, keyParams);
|
|
8757
8757
|
}
|
|
8758
8758
|
function normalize$N(input, existing, path, luvio, store, timestamp) {
|
|
8759
8759
|
return input;
|
|
@@ -9737,14 +9737,14 @@ function validate$1v(obj, path = 'RecordRepresentation') {
|
|
|
9737
9737
|
return v_error === undefined ? null : v_error;
|
|
9738
9738
|
}
|
|
9739
9739
|
const RepresentationType$S = 'RecordRepresentation';
|
|
9740
|
-
function keyBuilder$
|
|
9740
|
+
function keyBuilder$31(luvio, config) {
|
|
9741
9741
|
return keyPrefix + '::' + RepresentationType$S + ':' + config.recordId;
|
|
9742
9742
|
}
|
|
9743
9743
|
function keyBuilderFromType$x(luvio, object) {
|
|
9744
9744
|
const keyParams = {
|
|
9745
9745
|
recordId: object.id
|
|
9746
9746
|
};
|
|
9747
|
-
return keyBuilder$
|
|
9747
|
+
return keyBuilder$31(luvio, keyParams);
|
|
9748
9748
|
}
|
|
9749
9749
|
function dynamicNormalize$5(ingestParams) {
|
|
9750
9750
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -10009,7 +10009,7 @@ const notifyUpdateAvailableFactory = (luvio) => {
|
|
|
10009
10009
|
}
|
|
10010
10010
|
});
|
|
10011
10011
|
}
|
|
10012
|
-
const keys = configs.map(c => keyBuilder$
|
|
10012
|
+
const keys = configs.map(c => keyBuilder$31(luvio, c));
|
|
10013
10013
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
10014
10014
|
};
|
|
10015
10015
|
};
|
|
@@ -12297,7 +12297,7 @@ function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
|
|
|
12297
12297
|
name: existing.apiName,
|
|
12298
12298
|
children: {},
|
|
12299
12299
|
};
|
|
12300
|
-
const recordKey = keyBuilder$
|
|
12300
|
+
const recordKey = keyBuilder$31(luvio, {
|
|
12301
12301
|
recordId: incoming.id,
|
|
12302
12302
|
});
|
|
12303
12303
|
const trackedFieldsConfig = {
|
|
@@ -12673,8 +12673,8 @@ const createResourceRequest$14 = function getUiApiRecordsByRecordIdCreateResourc
|
|
|
12673
12673
|
};
|
|
12674
12674
|
};
|
|
12675
12675
|
|
|
12676
|
-
function keyBuilder$
|
|
12677
|
-
return keyBuilder$
|
|
12676
|
+
function keyBuilder$30(luvio, params) {
|
|
12677
|
+
return keyBuilder$31(luvio, {
|
|
12678
12678
|
recordId: params.urlParams.recordId
|
|
12679
12679
|
});
|
|
12680
12680
|
}
|
|
@@ -12917,7 +12917,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
12917
12917
|
// used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
|
|
12918
12918
|
function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
12919
12919
|
return {
|
|
12920
|
-
recordId: keyBuilder$
|
|
12920
|
+
recordId: keyBuilder$31(luvio, { recordId }),
|
|
12921
12921
|
node: {
|
|
12922
12922
|
kind: 'Fragment',
|
|
12923
12923
|
private: ['eTag', 'weakEtag'],
|
|
@@ -12936,7 +12936,7 @@ function buildSnapshotRefresh$5(luvio, config) {
|
|
|
12936
12936
|
function prepareRequest$6(luvio, config) {
|
|
12937
12937
|
const { recordId, fields } = config;
|
|
12938
12938
|
// Should this go into the coersion logic?
|
|
12939
|
-
const key = keyBuilder$
|
|
12939
|
+
const key = keyBuilder$30(luvio, createResourceParams$W(config));
|
|
12940
12940
|
const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
|
|
12941
12941
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
12942
12942
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly(),
|
|
@@ -13046,7 +13046,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
|
|
|
13046
13046
|
const now = Date.now();
|
|
13047
13047
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
13048
13048
|
const childResourceParams = childResourceParamsArray[index];
|
|
13049
|
-
const childKey = keyBuilder$
|
|
13049
|
+
const childKey = keyBuilder$30(luvio, childResourceParams);
|
|
13050
13050
|
const result = childEnvelopes[index];
|
|
13051
13051
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
13052
13052
|
if (childStatusCode === 200) {
|
|
@@ -13133,7 +13133,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
13133
13133
|
read: (reader) => {
|
|
13134
13134
|
// Top-level 404 lookup
|
|
13135
13135
|
const compositeSnapshot = luvio.storeLookup({
|
|
13136
|
-
recordId: keyBuilder$
|
|
13136
|
+
recordId: keyBuilder$2$(luvio, resourceParams),
|
|
13137
13137
|
node: {
|
|
13138
13138
|
kind: 'Fragment',
|
|
13139
13139
|
private: [],
|
|
@@ -13157,7 +13157,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
13157
13157
|
reader.enterPath(i);
|
|
13158
13158
|
reader.enterPath(envelopeBodyPath);
|
|
13159
13159
|
const childResource = childResources[i];
|
|
13160
|
-
const childKey = keyBuilder$
|
|
13160
|
+
const childKey = keyBuilder$30(luvio, childResource);
|
|
13161
13161
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
13162
13162
|
const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
|
|
13163
13163
|
reader.exitPath();
|
|
@@ -13257,7 +13257,7 @@ function createChildResourceParams$9(resourceParams) {
|
|
|
13257
13257
|
}
|
|
13258
13258
|
return childConfigs;
|
|
13259
13259
|
}
|
|
13260
|
-
function keyBuilder$
|
|
13260
|
+
function keyBuilder$2$(luvio, params) {
|
|
13261
13261
|
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 + ')';
|
|
13262
13262
|
}
|
|
13263
13263
|
function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
@@ -13279,7 +13279,7 @@ function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
|
13279
13279
|
keys.merge(childKeys);
|
|
13280
13280
|
}
|
|
13281
13281
|
else if (childStatusCode === 404) {
|
|
13282
|
-
const childKey = keyBuilder$
|
|
13282
|
+
const childKey = keyBuilder$30(luvio, childResourceParams);
|
|
13283
13283
|
keys.set(childKey, {
|
|
13284
13284
|
namespace: keyPrefix,
|
|
13285
13285
|
representationName: RepresentationType$S,
|
|
@@ -13290,7 +13290,7 @@ function getResponseCacheKeys$W(luvio, resourceParams, response) {
|
|
|
13290
13290
|
return keys;
|
|
13291
13291
|
}
|
|
13292
13292
|
function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
13293
|
-
const key = keyBuilder$
|
|
13293
|
+
const key = keyBuilder$2$(luvio, params);
|
|
13294
13294
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
13295
13295
|
luvio.storeIngestError(key, errorSnapshot);
|
|
13296
13296
|
return errorSnapshot;
|
|
@@ -13379,7 +13379,7 @@ function onFetchResponseSuccess$L(luvio, config, resourceParams, response, serve
|
|
|
13379
13379
|
}
|
|
13380
13380
|
}
|
|
13381
13381
|
const snapshotStateFulfilled = 'Fulfilled';
|
|
13382
|
-
const key = keyBuilder$
|
|
13382
|
+
const key = keyBuilder$2$(luvio, resourceParams);
|
|
13383
13383
|
const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
|
|
13384
13384
|
const snapshot = {
|
|
13385
13385
|
recordId: key,
|
|
@@ -13913,7 +13913,7 @@ function validate$1u(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13913
13913
|
return v_error === undefined ? null : v_error;
|
|
13914
13914
|
}
|
|
13915
13915
|
const RepresentationType$R = 'ListRecordCollectionRepresentation';
|
|
13916
|
-
function keyBuilder$
|
|
13916
|
+
function keyBuilder$2_(luvio, config) {
|
|
13917
13917
|
return keyPrefix + '::' + RepresentationType$R + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
13918
13918
|
}
|
|
13919
13919
|
function keyBuilderFromType$w(luvio, object) {
|
|
@@ -13923,10 +13923,10 @@ function keyBuilderFromType$w(luvio, object) {
|
|
|
13923
13923
|
objectApiName: object.listReference.objectApiName,
|
|
13924
13924
|
listViewApiName: object.listReference.listViewApiName
|
|
13925
13925
|
};
|
|
13926
|
-
return keyBuilder$
|
|
13926
|
+
return keyBuilder$2_(luvio, keyParams);
|
|
13927
13927
|
}
|
|
13928
13928
|
function paginationKeyBuilder(luvio, config) {
|
|
13929
|
-
return keyBuilder$
|
|
13929
|
+
return keyBuilder$2_(luvio, config) + '__pagination';
|
|
13930
13930
|
}
|
|
13931
13931
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
13932
13932
|
const input_records = input.records;
|
|
@@ -14357,7 +14357,7 @@ function validate$1t(obj, path = 'ListUiRepresentation') {
|
|
|
14357
14357
|
return v_error === undefined ? null : v_error;
|
|
14358
14358
|
}
|
|
14359
14359
|
const RepresentationType$Q = 'ListUiRepresentation';
|
|
14360
|
-
function keyBuilder$
|
|
14360
|
+
function keyBuilder$2Z(luvio, config) {
|
|
14361
14361
|
return keyPrefix + '::' + RepresentationType$Q + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
14362
14362
|
}
|
|
14363
14363
|
function keyBuilderFromType$v(luvio, object) {
|
|
@@ -14367,7 +14367,7 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
14367
14367
|
type: object.info.listReference.type,
|
|
14368
14368
|
sortBy: object.records.sortBy
|
|
14369
14369
|
};
|
|
14370
|
-
return keyBuilder$
|
|
14370
|
+
return keyBuilder$2Z(luvio, keyParams);
|
|
14371
14371
|
}
|
|
14372
14372
|
function normalize$I(input, existing, path, luvio, store, timestamp) {
|
|
14373
14373
|
const input_info = input.info;
|
|
@@ -14855,7 +14855,7 @@ const LIST_INFO_SELECTIONS_ETAG = [
|
|
|
14855
14855
|
* @param luvio Luvio
|
|
14856
14856
|
*/
|
|
14857
14857
|
function getListInfo(luvio, listRef, storeLookup) {
|
|
14858
|
-
const key = keyBuilder$
|
|
14858
|
+
const key = keyBuilder$32(luvio, { ...listRef });
|
|
14859
14859
|
return storeLookup({
|
|
14860
14860
|
recordId: key,
|
|
14861
14861
|
node: {
|
|
@@ -14982,7 +14982,7 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
|
|
|
14982
14982
|
addDefaultFields(qualifiedField, defaultFields_);
|
|
14983
14983
|
}
|
|
14984
14984
|
}
|
|
14985
|
-
const key = keyBuilder$
|
|
14985
|
+
const key = keyBuilder$2_(luvio, {
|
|
14986
14986
|
listViewId: listInfo.eTag,
|
|
14987
14987
|
sortBy: sortBy || null,
|
|
14988
14988
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -15027,7 +15027,7 @@ let context$1;
|
|
|
15027
15027
|
function setContext$1(adapterContext) {
|
|
15028
15028
|
context$1 = adapterContext;
|
|
15029
15029
|
}
|
|
15030
|
-
function keyBuilder$
|
|
15030
|
+
function keyBuilder$2U(luvio, params) {
|
|
15031
15031
|
const query = {
|
|
15032
15032
|
objectApiName: params.urlParams.objectApiName,
|
|
15033
15033
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -15038,7 +15038,7 @@ function keyBuilder$2T(luvio, params) {
|
|
|
15038
15038
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
15039
15039
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
15040
15040
|
const defaults = getServerDefaults(config, context$1);
|
|
15041
|
-
return keyBuilder$
|
|
15041
|
+
return keyBuilder$2_(luvio, {
|
|
15042
15042
|
objectApiName: listReference.objectApiName,
|
|
15043
15043
|
listViewApiName: listReference.listViewApiName,
|
|
15044
15044
|
listViewId: listReference.id,
|
|
@@ -15047,7 +15047,7 @@ function keyBuilder$2T(luvio, params) {
|
|
|
15047
15047
|
}
|
|
15048
15048
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
15049
15049
|
// Assuming that listViewId is empty and continue on
|
|
15050
|
-
return keyBuilder$
|
|
15050
|
+
return keyBuilder$2_(luvio, {
|
|
15051
15051
|
objectApiName: params.urlParams.objectApiName,
|
|
15052
15052
|
listViewApiName: params.urlParams.listViewApiName,
|
|
15053
15053
|
listViewId: '',
|
|
@@ -15072,7 +15072,7 @@ function select$2D(luvio, params) {
|
|
|
15072
15072
|
}
|
|
15073
15073
|
function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
|
|
15074
15074
|
const { body } = response;
|
|
15075
|
-
const key = keyBuilder$
|
|
15075
|
+
const key = keyBuilder$2U(luvio, resourceParams);
|
|
15076
15076
|
luvio.storeIngest(key, ingest$1N, body);
|
|
15077
15077
|
const optionalFields = resourceParams.queryParams.optionalFields;
|
|
15078
15078
|
if (optionalFields && optionalFields.length > 0) {
|
|
@@ -15109,7 +15109,7 @@ function getResponseCacheKeys$T(luvio, resourceParams, response) {
|
|
|
15109
15109
|
return getTypeCacheKeys$1Q(luvio, response);
|
|
15110
15110
|
}
|
|
15111
15111
|
function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
15112
|
-
const key = keyBuilder$
|
|
15112
|
+
const key = keyBuilder$2U(luvio, params);
|
|
15113
15113
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15114
15114
|
const storeMetadataParams = {
|
|
15115
15115
|
ttl: TTL$z,
|
|
@@ -15217,14 +15217,14 @@ function validate$1s(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
15217
15217
|
return v_error === undefined ? null : v_error;
|
|
15218
15218
|
}
|
|
15219
15219
|
const RepresentationType$P = 'ListViewSummaryRepresentation';
|
|
15220
|
-
function keyBuilder$
|
|
15220
|
+
function keyBuilder$2T(luvio, config) {
|
|
15221
15221
|
return keyPrefix + '::' + RepresentationType$P + ':' + config.id;
|
|
15222
15222
|
}
|
|
15223
15223
|
function keyBuilderFromType$u(luvio, object) {
|
|
15224
15224
|
const keyParams = {
|
|
15225
15225
|
id: object.id
|
|
15226
15226
|
};
|
|
15227
|
-
return keyBuilder$
|
|
15227
|
+
return keyBuilder$2T(luvio, keyParams);
|
|
15228
15228
|
}
|
|
15229
15229
|
function normalize$H(input, existing, path, luvio, store, timestamp) {
|
|
15230
15230
|
return input;
|
|
@@ -15506,7 +15506,7 @@ function validate$1r(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
15506
15506
|
return v_error === undefined ? null : v_error;
|
|
15507
15507
|
}
|
|
15508
15508
|
const RepresentationType$O = 'ListViewSummaryCollectionRepresentation';
|
|
15509
|
-
function keyBuilder$
|
|
15509
|
+
function keyBuilder$2S(luvio, config) {
|
|
15510
15510
|
return keyPrefix + '::' + RepresentationType$O + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
15511
15511
|
}
|
|
15512
15512
|
function keyBuilderFromType$t(luvio, object) {
|
|
@@ -15515,7 +15515,7 @@ function keyBuilderFromType$t(luvio, object) {
|
|
|
15515
15515
|
queryString: object.queryString,
|
|
15516
15516
|
recentListsOnly: object.recentListsOnly
|
|
15517
15517
|
};
|
|
15518
|
-
return keyBuilder$
|
|
15518
|
+
return keyBuilder$2S(luvio, keyParams);
|
|
15519
15519
|
}
|
|
15520
15520
|
function normalize$G(input, existing, path, luvio, store, timestamp) {
|
|
15521
15521
|
const input_lists = input.lists;
|
|
@@ -15809,8 +15809,8 @@ function select$2A(luvio, params) {
|
|
|
15809
15809
|
const paginationParams = createPaginationParams$2(params);
|
|
15810
15810
|
return select$2B(paginationParams);
|
|
15811
15811
|
}
|
|
15812
|
-
function keyBuilder$
|
|
15813
|
-
return keyBuilder$
|
|
15812
|
+
function keyBuilder$2R(luvio, params) {
|
|
15813
|
+
return keyBuilder$2S(luvio, {
|
|
15814
15814
|
objectApiName: params.urlParams.objectApiName,
|
|
15815
15815
|
queryString: params.queryParams.q || null,
|
|
15816
15816
|
recentListsOnly: params.queryParams.recentListsOnly || false
|
|
@@ -15821,7 +15821,7 @@ function getResponseCacheKeys$S(luvio, resourceParams, response) {
|
|
|
15821
15821
|
}
|
|
15822
15822
|
function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
15823
15823
|
const { body } = response;
|
|
15824
|
-
const key = keyBuilder$
|
|
15824
|
+
const key = keyBuilder$2R(luvio, resourceParams);
|
|
15825
15825
|
luvio.storeIngest(key, ingest$1K, body);
|
|
15826
15826
|
const snapshot = luvio.storeLookup({
|
|
15827
15827
|
recordId: key,
|
|
@@ -15837,7 +15837,7 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15837
15837
|
return snapshot;
|
|
15838
15838
|
}
|
|
15839
15839
|
function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
15840
|
-
const key = keyBuilder$
|
|
15840
|
+
const key = keyBuilder$2R(luvio, params);
|
|
15841
15841
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15842
15842
|
luvio.storeIngestError(key, errorSnapshot);
|
|
15843
15843
|
return errorSnapshot;
|
|
@@ -15898,9 +15898,9 @@ function coerceConfig$y(config) {
|
|
|
15898
15898
|
}
|
|
15899
15899
|
return coercedConfig;
|
|
15900
15900
|
}
|
|
15901
|
-
function keyBuilder$
|
|
15901
|
+
function keyBuilder$2Q(luvio, config) {
|
|
15902
15902
|
const resourceParams = createResourceParams$S(config);
|
|
15903
|
-
return keyBuilder$
|
|
15903
|
+
return keyBuilder$2R(luvio, resourceParams);
|
|
15904
15904
|
}
|
|
15905
15905
|
function typeCheckConfig$Z(untrustedConfig) {
|
|
15906
15906
|
const config = {};
|
|
@@ -16005,7 +16005,7 @@ function getCachedItemsNumber$2(cacheSnapshot) {
|
|
|
16005
16005
|
return items.length;
|
|
16006
16006
|
}
|
|
16007
16007
|
function getPaginationMetadata$2(luvio, resourceParams) {
|
|
16008
|
-
const key = keyBuilder$
|
|
16008
|
+
const key = keyBuilder$2R(luvio, resourceParams);
|
|
16009
16009
|
const selector = {
|
|
16010
16010
|
recordId: key,
|
|
16011
16011
|
node: {
|
|
@@ -16063,7 +16063,7 @@ function buildNetworkSnapshotCachePolicy$M(context, coercedAdapterRequestContext
|
|
|
16063
16063
|
function buildCachedSnapshotCachePolicy$L(context, storeLookup) {
|
|
16064
16064
|
const { luvio, config } = context;
|
|
16065
16065
|
const selector = {
|
|
16066
|
-
recordId: keyBuilder$
|
|
16066
|
+
recordId: keyBuilder$2Q(luvio, config),
|
|
16067
16067
|
node: adapterFragment$E(luvio, config),
|
|
16068
16068
|
variables: {},
|
|
16069
16069
|
};
|
|
@@ -16093,8 +16093,8 @@ function createPaginationParams$1(params) {
|
|
|
16093
16093
|
pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
|
|
16094
16094
|
};
|
|
16095
16095
|
}
|
|
16096
|
-
function keyBuilder$
|
|
16097
|
-
return keyBuilder$
|
|
16096
|
+
function keyBuilder$2P(luvio, params) {
|
|
16097
|
+
return keyBuilder$2Z(luvio, {
|
|
16098
16098
|
listViewApiName: null,
|
|
16099
16099
|
objectApiName: params.urlParams.objectApiName,
|
|
16100
16100
|
type: "mru",
|
|
@@ -16312,7 +16312,7 @@ function buildSnapshotRefresh_getMruListUi(luvio, config) {
|
|
|
16312
16312
|
function onResourceSuccess_getMruListUi(luvio, config, response) {
|
|
16313
16313
|
const { body } = response;
|
|
16314
16314
|
const listInfo = body.info;
|
|
16315
|
-
const listUiKey = keyBuilder$
|
|
16315
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
16316
16316
|
...listInfo.listReference,
|
|
16317
16317
|
sortBy: body.records.sortBy,
|
|
16318
16318
|
});
|
|
@@ -16336,7 +16336,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
|
|
|
16336
16336
|
const listFields_ = fields || listFields(luvio, config, listInfo);
|
|
16337
16337
|
const resourceParams = createResourceParams$R(config);
|
|
16338
16338
|
const selector = {
|
|
16339
|
-
recordId: keyBuilder$
|
|
16339
|
+
recordId: keyBuilder$2P(luvio, resourceParams),
|
|
16340
16340
|
node: buildListUiFragment$1(config, listFields_),
|
|
16341
16341
|
variables: {},
|
|
16342
16342
|
};
|
|
@@ -16427,7 +16427,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
16427
16427
|
const { body } = response;
|
|
16428
16428
|
const { listInfoETag } = body;
|
|
16429
16429
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
16430
|
-
luvio.storeIngest(keyBuilder$
|
|
16430
|
+
luvio.storeIngest(keyBuilder$2_(luvio, {
|
|
16431
16431
|
listViewId: listInfoETag,
|
|
16432
16432
|
sortBy: body.sortBy,
|
|
16433
16433
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -16438,7 +16438,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
16438
16438
|
}
|
|
16439
16439
|
function onResourceError_getMruListRecords(luvio, config, listInfo, err) {
|
|
16440
16440
|
const errorSnapshot = luvio.errorSnapshot(err, buildSnapshotRefresh_getMruListUi(luvio, config));
|
|
16441
|
-
luvio.storeIngestError(keyBuilder$
|
|
16441
|
+
luvio.storeIngestError(keyBuilder$2Z(luvio, {
|
|
16442
16442
|
...listInfo.listReference,
|
|
16443
16443
|
sortBy: config.sortBy === undefined ? null : config.sortBy,
|
|
16444
16444
|
}), errorSnapshot);
|
|
@@ -16606,7 +16606,7 @@ function buildListUiFragment(config, context, fields) {
|
|
|
16606
16606
|
return dynamicSelect$6(listRecordCollectionSelectParams, paginationParams);
|
|
16607
16607
|
}
|
|
16608
16608
|
function buildCachedSnapshot$7(luvio, storeLookup, context, config, listInfo, fields) {
|
|
16609
|
-
const listUiKey = keyBuilder$
|
|
16609
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
16610
16610
|
...listInfo.listReference,
|
|
16611
16611
|
sortBy: getSortBy(config, context),
|
|
16612
16612
|
});
|
|
@@ -16658,7 +16658,7 @@ function prepareRequest_getListUi(config) {
|
|
|
16658
16658
|
}
|
|
16659
16659
|
function onResourceSuccess_getListUi(luvio, context, config, response) {
|
|
16660
16660
|
const { body } = response, listInfo = body.info, { listReference } = listInfo;
|
|
16661
|
-
const listUiKey = keyBuilder$
|
|
16661
|
+
const listUiKey = keyBuilder$2Z(luvio, {
|
|
16662
16662
|
...listReference,
|
|
16663
16663
|
sortBy: body.records.sortBy,
|
|
16664
16664
|
});
|
|
@@ -16782,7 +16782,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
16782
16782
|
const { body } = response;
|
|
16783
16783
|
const { listInfoETag } = body;
|
|
16784
16784
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
16785
|
-
luvio.storeIngest(keyBuilder$
|
|
16785
|
+
luvio.storeIngest(keyBuilder$2_(luvio, {
|
|
16786
16786
|
listViewId: listInfoETag,
|
|
16787
16787
|
sortBy: body.sortBy,
|
|
16788
16788
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -16793,7 +16793,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
16793
16793
|
}
|
|
16794
16794
|
function onResourceError_getListRecords(luvio, context, config, listInfo, err) {
|
|
16795
16795
|
const errorSnapshot = luvio.errorSnapshot(err);
|
|
16796
|
-
luvio.storeIngestError(keyBuilder$
|
|
16796
|
+
luvio.storeIngestError(keyBuilder$2Z(luvio, {
|
|
16797
16797
|
...listInfo.listReference,
|
|
16798
16798
|
sortBy: getSortBy(config, context),
|
|
16799
16799
|
}), errorSnapshot);
|
|
@@ -17742,14 +17742,14 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17742
17742
|
return v_error === undefined ? null : v_error;
|
|
17743
17743
|
}
|
|
17744
17744
|
const RepresentationType$N = 'ObjectInfoRepresentation';
|
|
17745
|
-
function keyBuilder$
|
|
17745
|
+
function keyBuilder$2O(luvio, config) {
|
|
17746
17746
|
return keyPrefix + '::' + RepresentationType$N + ':' + config.apiName;
|
|
17747
17747
|
}
|
|
17748
17748
|
function keyBuilderFromType$s(luvio, object) {
|
|
17749
17749
|
const keyParams = {
|
|
17750
17750
|
apiName: object.apiName
|
|
17751
17751
|
};
|
|
17752
|
-
return keyBuilder$
|
|
17752
|
+
return keyBuilder$2O(luvio, keyParams);
|
|
17753
17753
|
}
|
|
17754
17754
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
17755
17755
|
return input;
|
|
@@ -17910,8 +17910,8 @@ function getTypeCacheKeys$1M(luvio, input, fullPathFactory) {
|
|
|
17910
17910
|
function select$2y(luvio, params) {
|
|
17911
17911
|
return select$2z();
|
|
17912
17912
|
}
|
|
17913
|
-
function keyBuilder$
|
|
17914
|
-
return keyBuilder$
|
|
17913
|
+
function keyBuilder$2N(luvio, params) {
|
|
17914
|
+
return keyBuilder$2O(luvio, {
|
|
17915
17915
|
apiName: params.urlParams.objectApiName
|
|
17916
17916
|
});
|
|
17917
17917
|
}
|
|
@@ -17920,7 +17920,7 @@ function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
|
17920
17920
|
}
|
|
17921
17921
|
function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
17922
17922
|
const { body } = response;
|
|
17923
|
-
const key = keyBuilder$
|
|
17923
|
+
const key = keyBuilder$2N(luvio, resourceParams);
|
|
17924
17924
|
luvio.storeIngest(key, ingest$1J, body);
|
|
17925
17925
|
const snapshot = luvio.storeLookup({
|
|
17926
17926
|
recordId: key,
|
|
@@ -17936,7 +17936,7 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
17936
17936
|
return snapshot;
|
|
17937
17937
|
}
|
|
17938
17938
|
function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
17939
|
-
const key = keyBuilder$
|
|
17939
|
+
const key = keyBuilder$2N(luvio, params);
|
|
17940
17940
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
17941
17941
|
const storeMetadataParams = {
|
|
17942
17942
|
ttl: TTL$y,
|
|
@@ -17984,9 +17984,9 @@ function coerceConfig$w(config) {
|
|
|
17984
17984
|
}
|
|
17985
17985
|
return coercedConfig;
|
|
17986
17986
|
}
|
|
17987
|
-
function keyBuilder$
|
|
17987
|
+
function keyBuilder$2M(luvio, config) {
|
|
17988
17988
|
const resourceParams = createResourceParams$Q(config);
|
|
17989
|
-
return keyBuilder$
|
|
17989
|
+
return keyBuilder$2N(luvio, resourceParams);
|
|
17990
17990
|
}
|
|
17991
17991
|
function typeCheckConfig$X(untrustedConfig) {
|
|
17992
17992
|
const config = {};
|
|
@@ -18058,7 +18058,7 @@ function buildNetworkSnapshotCachePolicy$L(context, coercedAdapterRequestContext
|
|
|
18058
18058
|
function buildCachedSnapshotCachePolicy$K(context, storeLookup) {
|
|
18059
18059
|
const { luvio, config } = context;
|
|
18060
18060
|
const selector = {
|
|
18061
|
-
recordId: keyBuilder$
|
|
18061
|
+
recordId: keyBuilder$2M(luvio, config),
|
|
18062
18062
|
node: adapterFragment$D(luvio, config),
|
|
18063
18063
|
variables: {},
|
|
18064
18064
|
};
|
|
@@ -18495,7 +18495,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
18495
18495
|
return v_error === undefined ? null : v_error;
|
|
18496
18496
|
}
|
|
18497
18497
|
const RepresentationType$M = 'RecordLayoutRepresentation';
|
|
18498
|
-
function keyBuilder$
|
|
18498
|
+
function keyBuilder$2L(luvio, config) {
|
|
18499
18499
|
return keyPrefix + '::' + RepresentationType$M + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
18500
18500
|
}
|
|
18501
18501
|
function keyBuilderFromType$r(luvio, object) {
|
|
@@ -18505,7 +18505,7 @@ function keyBuilderFromType$r(luvio, object) {
|
|
|
18505
18505
|
layoutType: object.layoutType,
|
|
18506
18506
|
mode: object.mode
|
|
18507
18507
|
};
|
|
18508
|
-
return keyBuilder$
|
|
18508
|
+
return keyBuilder$2L(luvio, keyParams);
|
|
18509
18509
|
}
|
|
18510
18510
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
18511
18511
|
return input;
|
|
@@ -18671,7 +18671,7 @@ function validate$1d(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
18671
18671
|
return v_error === undefined ? null : v_error;
|
|
18672
18672
|
}
|
|
18673
18673
|
const RepresentationType$L = 'RecordLayoutUserStateRepresentation';
|
|
18674
|
-
function keyBuilder$
|
|
18674
|
+
function keyBuilder$2K(luvio, config) {
|
|
18675
18675
|
return keyPrefix + '::' + RepresentationType$L + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
18676
18676
|
}
|
|
18677
18677
|
function keyBuilderFromType$q(luvio, object) {
|
|
@@ -18681,7 +18681,7 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
18681
18681
|
layoutType: object.layoutType,
|
|
18682
18682
|
mode: object.mode
|
|
18683
18683
|
};
|
|
18684
|
-
return keyBuilder$
|
|
18684
|
+
return keyBuilder$2K(luvio, keyParams);
|
|
18685
18685
|
}
|
|
18686
18686
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
18687
18687
|
return input;
|
|
@@ -19459,7 +19459,7 @@ function collectRecordDefs(resp, recordIds) {
|
|
|
19459
19459
|
}
|
|
19460
19460
|
return recordDefs;
|
|
19461
19461
|
}
|
|
19462
|
-
function keyBuilder$
|
|
19462
|
+
function keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields) {
|
|
19463
19463
|
const joinedRecordIds = recordIds.sort().join(',');
|
|
19464
19464
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
19465
19465
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
@@ -19493,7 +19493,7 @@ function markRecordUiOptionalFields(optionalFields, recordLookupFields, recordNo
|
|
|
19493
19493
|
}
|
|
19494
19494
|
function prepareRequest$4(luvio, config) {
|
|
19495
19495
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
19496
|
-
const key = keyBuilder$
|
|
19496
|
+
const key = keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields);
|
|
19497
19497
|
const selectorKey = buildCachedSelectorKey(key);
|
|
19498
19498
|
const resourceRequest = createResourceRequest$V({
|
|
19499
19499
|
urlParams: {
|
|
@@ -19588,7 +19588,7 @@ function onFetchResponseSuccess$G(luvio, config, selectorKey, key, responseBody)
|
|
|
19588
19588
|
const validRecordIds = [];
|
|
19589
19589
|
for (let i = 0, len = recordIds.length; i < len; i += 1) {
|
|
19590
19590
|
const recordId = recordIds[i];
|
|
19591
|
-
const recordKey = keyBuilder$
|
|
19591
|
+
const recordKey = keyBuilder$31(luvio, { recordId });
|
|
19592
19592
|
const node = luvio.getNode(recordKey);
|
|
19593
19593
|
if (isGraphNode(node)) {
|
|
19594
19594
|
recordNodes.push(node);
|
|
@@ -19655,7 +19655,7 @@ function publishDependencies(luvio, recordIds, depKeys) {
|
|
|
19655
19655
|
function buildCachedSelectorSnapshot(context, storeLookup) {
|
|
19656
19656
|
const { config } = context;
|
|
19657
19657
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
19658
|
-
const key = keyBuilder$
|
|
19658
|
+
const key = keyBuilder$2J(recordIds, layoutTypes, modes, optionalFields);
|
|
19659
19659
|
const cachedSelectorKey = buildCachedSelectorKey(key);
|
|
19660
19660
|
return storeLookup({
|
|
19661
19661
|
recordId: cachedSelectorKey,
|
|
@@ -19754,7 +19754,7 @@ function refresh$1(luvio, config) {
|
|
|
19754
19754
|
return buildNetworkSnapshot$V(luvio, recordUiConfig).then((snapshot) => {
|
|
19755
19755
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
19756
19756
|
if (isErrorSnapshot(snapshot)) {
|
|
19757
|
-
var recordKey = keyBuilder$
|
|
19757
|
+
var recordKey = keyBuilder$31(luvio, { recordId });
|
|
19758
19758
|
luvio.storeIngestError(recordKey, snapshot);
|
|
19759
19759
|
return luvio.storeBroadcast().then(() => luvio.errorSnapshot(snapshot.error, refresh));
|
|
19760
19760
|
}
|
|
@@ -19902,7 +19902,7 @@ function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
|
19902
19902
|
const { config, luvio } = context;
|
|
19903
19903
|
// get cached copy of the record
|
|
19904
19904
|
const { recordId } = config;
|
|
19905
|
-
const storeKey = keyBuilder$
|
|
19905
|
+
const storeKey = keyBuilder$31(luvio, { recordId });
|
|
19906
19906
|
const recordSnapshot = storeLookup({
|
|
19907
19907
|
recordId: storeKey,
|
|
19908
19908
|
node: {
|
|
@@ -19929,7 +19929,7 @@ const buildObjectInfoCacheSnapshot = (recordLayoutSnapshot) => (context, storeLo
|
|
|
19929
19929
|
};
|
|
19930
19930
|
const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) => (context, storeLookup) => {
|
|
19931
19931
|
const { luvio } = context;
|
|
19932
|
-
const key = keyBuilder$
|
|
19932
|
+
const key = keyBuilder$2L(luvio, {
|
|
19933
19933
|
objectApiName: apiName,
|
|
19934
19934
|
recordTypeId,
|
|
19935
19935
|
layoutType,
|
|
@@ -20137,7 +20137,7 @@ function coerceKeyParams(config) {
|
|
|
20137
20137
|
}
|
|
20138
20138
|
const notifyChangeFactory = (luvio) => {
|
|
20139
20139
|
return function getUiApiRecordsByRecordIdNotifyChange(configs) {
|
|
20140
|
-
const keys = configs.map((c) => keyBuilder$
|
|
20140
|
+
const keys = configs.map((c) => keyBuilder$31(luvio, coerceKeyParams(c)));
|
|
20141
20141
|
luvio.getNotifyChangeStoreEntries(keys).then((entries) => {
|
|
20142
20142
|
const responsePromises = [];
|
|
20143
20143
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
@@ -20283,14 +20283,14 @@ function validate$1b(obj, path = 'QuickActionExecutionRepresentation') {
|
|
|
20283
20283
|
return v_error === undefined ? null : v_error;
|
|
20284
20284
|
}
|
|
20285
20285
|
const RepresentationType$J = 'QuickActionExecutionRepresentation';
|
|
20286
|
-
function keyBuilder$
|
|
20286
|
+
function keyBuilder$2I(luvio, config) {
|
|
20287
20287
|
return keyPrefix + '::' + RepresentationType$J + ':' + config.id;
|
|
20288
20288
|
}
|
|
20289
20289
|
function keyBuilderFromType$p(luvio, object) {
|
|
20290
20290
|
const keyParams = {
|
|
20291
20291
|
id: object.id
|
|
20292
20292
|
};
|
|
20293
|
-
return keyBuilder$
|
|
20293
|
+
return keyBuilder$2I(luvio, keyParams);
|
|
20294
20294
|
}
|
|
20295
20295
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
20296
20296
|
return input;
|
|
@@ -20746,7 +20746,7 @@ function validate$1a(obj, path = 'PlatformActionRepresentation') {
|
|
|
20746
20746
|
return v_error === undefined ? null : v_error;
|
|
20747
20747
|
}
|
|
20748
20748
|
const RepresentationType$I = 'PlatformActionRepresentation';
|
|
20749
|
-
function keyBuilder$
|
|
20749
|
+
function keyBuilder$2H(luvio, config) {
|
|
20750
20750
|
return keyPrefix + '::' + RepresentationType$I + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
20751
20751
|
}
|
|
20752
20752
|
function keyBuilderFromType$o(luvio, object) {
|
|
@@ -20755,7 +20755,7 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
20755
20755
|
relatedSourceObject: object.relatedSourceObject,
|
|
20756
20756
|
relatedListRecordId: object.relatedListRecordId
|
|
20757
20757
|
};
|
|
20758
|
-
return keyBuilder$
|
|
20758
|
+
return keyBuilder$2H(luvio, keyParams);
|
|
20759
20759
|
}
|
|
20760
20760
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
20761
20761
|
return input;
|
|
@@ -21022,14 +21022,14 @@ function validate$19(obj, path = 'EntityActionRepresentation') {
|
|
|
21022
21022
|
return v_error === undefined ? null : v_error;
|
|
21023
21023
|
}
|
|
21024
21024
|
const RepresentationType$H = 'EntityActionRepresentation';
|
|
21025
|
-
function keyBuilder$
|
|
21025
|
+
function keyBuilder$2G(luvio, config) {
|
|
21026
21026
|
return keyPrefix + '::' + RepresentationType$H + ':' + config.url;
|
|
21027
21027
|
}
|
|
21028
21028
|
function keyBuilderFromType$n(luvio, object) {
|
|
21029
21029
|
const keyParams = {
|
|
21030
21030
|
url: object.url
|
|
21031
21031
|
};
|
|
21032
|
-
return keyBuilder$
|
|
21032
|
+
return keyBuilder$2G(luvio, keyParams);
|
|
21033
21033
|
}
|
|
21034
21034
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
21035
21035
|
const input_actions = input.actions;
|
|
@@ -21293,15 +21293,15 @@ function getTypeCacheKeys$1G(luvio, input, fullPathFactory) {
|
|
|
21293
21293
|
function select$2r(luvio, params) {
|
|
21294
21294
|
return select$2s();
|
|
21295
21295
|
}
|
|
21296
|
-
function keyBuilder$
|
|
21296
|
+
function keyBuilder$2F(luvio, params) {
|
|
21297
21297
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
21298
21298
|
}
|
|
21299
21299
|
function getResponseCacheKeys$Q(luvio, resourceParams, response) {
|
|
21300
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
21300
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2F(luvio, resourceParams));
|
|
21301
21301
|
}
|
|
21302
21302
|
function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
21303
21303
|
const { body } = response;
|
|
21304
|
-
const key = keyBuilder$
|
|
21304
|
+
const key = keyBuilder$2F(luvio, resourceParams);
|
|
21305
21305
|
luvio.storeIngest(key, ingest$1C, body);
|
|
21306
21306
|
const snapshot = luvio.storeLookup({
|
|
21307
21307
|
recordId: key,
|
|
@@ -21317,7 +21317,7 @@ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21317
21317
|
return snapshot;
|
|
21318
21318
|
}
|
|
21319
21319
|
function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
21320
|
-
const key = keyBuilder$
|
|
21320
|
+
const key = keyBuilder$2F(luvio, params);
|
|
21321
21321
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
21322
21322
|
const storeMetadataParams = {
|
|
21323
21323
|
ttl: TTL$u,
|
|
@@ -21403,9 +21403,9 @@ function coerceConfig$u(config) {
|
|
|
21403
21403
|
}
|
|
21404
21404
|
return coercedConfig;
|
|
21405
21405
|
}
|
|
21406
|
-
function keyBuilder$
|
|
21406
|
+
function keyBuilder$2E(luvio, config) {
|
|
21407
21407
|
const resourceParams = createResourceParams$P(config);
|
|
21408
|
-
return keyBuilder$
|
|
21408
|
+
return keyBuilder$2F(luvio, resourceParams);
|
|
21409
21409
|
}
|
|
21410
21410
|
function typeCheckConfig$V(untrustedConfig) {
|
|
21411
21411
|
const config = {};
|
|
@@ -21514,7 +21514,7 @@ function buildNetworkSnapshotCachePolicy$K(context, coercedAdapterRequestContext
|
|
|
21514
21514
|
function buildCachedSnapshotCachePolicy$J(context, storeLookup) {
|
|
21515
21515
|
const { luvio, config } = context;
|
|
21516
21516
|
const selector = {
|
|
21517
|
-
recordId: keyBuilder$
|
|
21517
|
+
recordId: keyBuilder$2E(luvio, config),
|
|
21518
21518
|
node: adapterFragment$C(luvio, config),
|
|
21519
21519
|
variables: {},
|
|
21520
21520
|
};
|
|
@@ -21563,14 +21563,14 @@ function validate$17(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
21563
21563
|
return v_error === undefined ? null : v_error;
|
|
21564
21564
|
}
|
|
21565
21565
|
const RepresentationType$F = 'QuickActionLayoutRepresentation';
|
|
21566
|
-
function keyBuilder$
|
|
21566
|
+
function keyBuilder$2D(luvio, config) {
|
|
21567
21567
|
return keyPrefix + '::' + RepresentationType$F + ':' + config.actionApiName;
|
|
21568
21568
|
}
|
|
21569
21569
|
function keyBuilderFromType$m(luvio, object) {
|
|
21570
21570
|
const keyParams = {
|
|
21571
21571
|
actionApiName: object.actionApiName
|
|
21572
21572
|
};
|
|
21573
|
-
return keyBuilder$
|
|
21573
|
+
return keyBuilder$2D(luvio, keyParams);
|
|
21574
21574
|
}
|
|
21575
21575
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
21576
21576
|
return input;
|
|
@@ -21646,8 +21646,8 @@ function getTypeCacheKeys$1F(luvio, input, fullPathFactory) {
|
|
|
21646
21646
|
function select$2p(luvio, params) {
|
|
21647
21647
|
return select$2q();
|
|
21648
21648
|
}
|
|
21649
|
-
function keyBuilder$
|
|
21650
|
-
return keyBuilder$
|
|
21649
|
+
function keyBuilder$2C(luvio, params) {
|
|
21650
|
+
return keyBuilder$2D(luvio, {
|
|
21651
21651
|
actionApiName: params.urlParams.actionApiName
|
|
21652
21652
|
});
|
|
21653
21653
|
}
|
|
@@ -21656,7 +21656,7 @@ function getResponseCacheKeys$P(luvio, resourceParams, response) {
|
|
|
21656
21656
|
}
|
|
21657
21657
|
function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
21658
21658
|
const { body } = response;
|
|
21659
|
-
const key = keyBuilder$
|
|
21659
|
+
const key = keyBuilder$2C(luvio, resourceParams);
|
|
21660
21660
|
luvio.storeIngest(key, ingest$1B, body);
|
|
21661
21661
|
const snapshot = luvio.storeLookup({
|
|
21662
21662
|
recordId: key,
|
|
@@ -21672,7 +21672,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21672
21672
|
return snapshot;
|
|
21673
21673
|
}
|
|
21674
21674
|
function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
21675
|
-
const key = keyBuilder$
|
|
21675
|
+
const key = keyBuilder$2C(luvio, params);
|
|
21676
21676
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
21677
21677
|
const storeMetadataParams = {
|
|
21678
21678
|
ttl: TTL$t,
|
|
@@ -21712,9 +21712,9 @@ function createResourceParams$O(config) {
|
|
|
21712
21712
|
};
|
|
21713
21713
|
return resourceParams;
|
|
21714
21714
|
}
|
|
21715
|
-
function keyBuilder$
|
|
21715
|
+
function keyBuilder$2B(luvio, config) {
|
|
21716
21716
|
const resourceParams = createResourceParams$O(config);
|
|
21717
|
-
return keyBuilder$
|
|
21717
|
+
return keyBuilder$2C(luvio, resourceParams);
|
|
21718
21718
|
}
|
|
21719
21719
|
function typeCheckConfig$U(untrustedConfig) {
|
|
21720
21720
|
const config = {};
|
|
@@ -21785,7 +21785,7 @@ function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext
|
|
|
21785
21785
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
21786
21786
|
const { luvio, config } = context;
|
|
21787
21787
|
const selector = {
|
|
21788
|
-
recordId: keyBuilder$
|
|
21788
|
+
recordId: keyBuilder$2B(luvio, config),
|
|
21789
21789
|
node: adapterFragment$B(luvio, config),
|
|
21790
21790
|
variables: {},
|
|
21791
21791
|
};
|
|
@@ -21808,15 +21808,15 @@ const getQuickActionLayoutAdapterFactory = (luvio) => function UiApi__getQuickAc
|
|
|
21808
21808
|
function select$2o(luvio, params) {
|
|
21809
21809
|
return select$2s();
|
|
21810
21810
|
}
|
|
21811
|
-
function keyBuilder$
|
|
21811
|
+
function keyBuilder$2A(luvio, params) {
|
|
21812
21812
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
21813
21813
|
}
|
|
21814
21814
|
function getResponseCacheKeys$O(luvio, resourceParams, response) {
|
|
21815
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
21815
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2A(luvio, resourceParams));
|
|
21816
21816
|
}
|
|
21817
21817
|
function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
21818
21818
|
const { body } = response;
|
|
21819
|
-
const key = keyBuilder$
|
|
21819
|
+
const key = keyBuilder$2A(luvio, resourceParams);
|
|
21820
21820
|
luvio.storeIngest(key, ingest$1C, body);
|
|
21821
21821
|
const snapshot = luvio.storeLookup({
|
|
21822
21822
|
recordId: key,
|
|
@@ -21832,7 +21832,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21832
21832
|
return snapshot;
|
|
21833
21833
|
}
|
|
21834
21834
|
function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
21835
|
-
const key = keyBuilder$
|
|
21835
|
+
const key = keyBuilder$2A(luvio, params);
|
|
21836
21836
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
21837
21837
|
const storeMetadataParams = {
|
|
21838
21838
|
ttl: TTL$u,
|
|
@@ -21927,9 +21927,9 @@ function coerceConfig$t(config) {
|
|
|
21927
21927
|
}
|
|
21928
21928
|
return coercedConfig;
|
|
21929
21929
|
}
|
|
21930
|
-
function keyBuilder$
|
|
21930
|
+
function keyBuilder$2z(luvio, config) {
|
|
21931
21931
|
const resourceParams = createResourceParams$N(config);
|
|
21932
|
-
return keyBuilder$
|
|
21932
|
+
return keyBuilder$2A(luvio, resourceParams);
|
|
21933
21933
|
}
|
|
21934
21934
|
function typeCheckConfig$T(untrustedConfig) {
|
|
21935
21935
|
const config = {};
|
|
@@ -22034,7 +22034,7 @@ function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext
|
|
|
22034
22034
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
22035
22035
|
const { luvio, config } = context;
|
|
22036
22036
|
const selector = {
|
|
22037
|
-
recordId: keyBuilder$
|
|
22037
|
+
recordId: keyBuilder$2z(luvio, config),
|
|
22038
22038
|
node: adapterFragment$A(luvio, config),
|
|
22039
22039
|
variables: {},
|
|
22040
22040
|
};
|
|
@@ -22057,15 +22057,15 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
22057
22057
|
function select$2n(luvio, params) {
|
|
22058
22058
|
return select$2s();
|
|
22059
22059
|
}
|
|
22060
|
-
function keyBuilder$
|
|
22060
|
+
function keyBuilder$2y(luvio, params) {
|
|
22061
22061
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
22062
22062
|
}
|
|
22063
22063
|
function getResponseCacheKeys$N(luvio, resourceParams, response) {
|
|
22064
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
22064
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2y(luvio, resourceParams));
|
|
22065
22065
|
}
|
|
22066
22066
|
function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
22067
22067
|
const { body } = response;
|
|
22068
|
-
const key = keyBuilder$
|
|
22068
|
+
const key = keyBuilder$2y(luvio, resourceParams);
|
|
22069
22069
|
luvio.storeIngest(key, ingest$1C, body);
|
|
22070
22070
|
const snapshot = luvio.storeLookup({
|
|
22071
22071
|
recordId: key,
|
|
@@ -22081,7 +22081,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22081
22081
|
return snapshot;
|
|
22082
22082
|
}
|
|
22083
22083
|
function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
22084
|
-
const key = keyBuilder$
|
|
22084
|
+
const key = keyBuilder$2y(luvio, params);
|
|
22085
22085
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22086
22086
|
const storeMetadataParams = {
|
|
22087
22087
|
ttl: TTL$u,
|
|
@@ -22144,9 +22144,9 @@ function coerceConfig$s(config) {
|
|
|
22144
22144
|
}
|
|
22145
22145
|
return coercedConfig;
|
|
22146
22146
|
}
|
|
22147
|
-
function keyBuilder$
|
|
22147
|
+
function keyBuilder$2x(luvio, config) {
|
|
22148
22148
|
const resourceParams = createResourceParams$M(config);
|
|
22149
|
-
return keyBuilder$
|
|
22149
|
+
return keyBuilder$2y(luvio, resourceParams);
|
|
22150
22150
|
}
|
|
22151
22151
|
function typeCheckConfig$S(untrustedConfig) {
|
|
22152
22152
|
const config = {};
|
|
@@ -22244,7 +22244,7 @@ function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext
|
|
|
22244
22244
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
22245
22245
|
const { luvio, config } = context;
|
|
22246
22246
|
const selector = {
|
|
22247
|
-
recordId: keyBuilder$
|
|
22247
|
+
recordId: keyBuilder$2x(luvio, config),
|
|
22248
22248
|
node: adapterFragment$z(luvio, config),
|
|
22249
22249
|
variables: {},
|
|
22250
22250
|
};
|
|
@@ -22341,15 +22341,15 @@ function getTypeCacheKeys$1E(luvio, input, fullPathFactory) {
|
|
|
22341
22341
|
function select$2l(luvio, params) {
|
|
22342
22342
|
return select$2m();
|
|
22343
22343
|
}
|
|
22344
|
-
function keyBuilder$
|
|
22344
|
+
function keyBuilder$2w(luvio, params) {
|
|
22345
22345
|
return keyPrefix + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
22346
22346
|
}
|
|
22347
22347
|
function getResponseCacheKeys$M(luvio, resourceParams, response) {
|
|
22348
|
-
return getTypeCacheKeys$1E(luvio, response, () => keyBuilder$
|
|
22348
|
+
return getTypeCacheKeys$1E(luvio, response, () => keyBuilder$2w(luvio, resourceParams));
|
|
22349
22349
|
}
|
|
22350
22350
|
function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
22351
22351
|
const { body } = response;
|
|
22352
|
-
const key = keyBuilder$
|
|
22352
|
+
const key = keyBuilder$2w(luvio, resourceParams);
|
|
22353
22353
|
luvio.storeIngest(key, ingest$1A, body);
|
|
22354
22354
|
const snapshot = luvio.storeLookup({
|
|
22355
22355
|
recordId: key,
|
|
@@ -22365,7 +22365,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22365
22365
|
return snapshot;
|
|
22366
22366
|
}
|
|
22367
22367
|
function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
22368
|
-
const key = keyBuilder$
|
|
22368
|
+
const key = keyBuilder$2w(luvio, params);
|
|
22369
22369
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22370
22370
|
luvio.storeIngestError(key, errorSnapshot);
|
|
22371
22371
|
return errorSnapshot;
|
|
@@ -22414,9 +22414,9 @@ function coerceConfig$r(config) {
|
|
|
22414
22414
|
}
|
|
22415
22415
|
return coercedConfig;
|
|
22416
22416
|
}
|
|
22417
|
-
function keyBuilder$
|
|
22417
|
+
function keyBuilder$2v(luvio, config) {
|
|
22418
22418
|
const resourceParams = createResourceParams$L(config);
|
|
22419
|
-
return keyBuilder$
|
|
22419
|
+
return keyBuilder$2w(luvio, resourceParams);
|
|
22420
22420
|
}
|
|
22421
22421
|
function typeCheckConfig$R(untrustedConfig) {
|
|
22422
22422
|
const config = {};
|
|
@@ -22492,7 +22492,7 @@ function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext
|
|
|
22492
22492
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
22493
22493
|
const { luvio, config } = context;
|
|
22494
22494
|
const selector = {
|
|
22495
|
-
recordId: keyBuilder$
|
|
22495
|
+
recordId: keyBuilder$2v(luvio, config),
|
|
22496
22496
|
node: adapterFragment$y(luvio, config),
|
|
22497
22497
|
variables: {},
|
|
22498
22498
|
};
|
|
@@ -22552,14 +22552,14 @@ function validate$15(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
|
22552
22552
|
return v_error === undefined ? null : v_error;
|
|
22553
22553
|
}
|
|
22554
22554
|
const RepresentationType$D = 'QuickActionDefaultsRepresentation';
|
|
22555
|
-
function keyBuilder$
|
|
22555
|
+
function keyBuilder$2u(luvio, config) {
|
|
22556
22556
|
return keyPrefix + '::' + RepresentationType$D + ':' + config.actionApiName;
|
|
22557
22557
|
}
|
|
22558
22558
|
function keyBuilderFromType$l(luvio, object) {
|
|
22559
22559
|
const keyParams = {
|
|
22560
22560
|
actionApiName: object.actionApiName
|
|
22561
22561
|
};
|
|
22562
|
-
return keyBuilder$
|
|
22562
|
+
return keyBuilder$2u(luvio, keyParams);
|
|
22563
22563
|
}
|
|
22564
22564
|
function dynamicNormalize$4(ingestParams) {
|
|
22565
22565
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -22745,8 +22745,8 @@ function selectFields$6(luvio, params) {
|
|
|
22745
22745
|
return selectFields$7(trie);
|
|
22746
22746
|
}
|
|
22747
22747
|
|
|
22748
|
-
function keyBuilder$
|
|
22749
|
-
return keyBuilder$
|
|
22748
|
+
function keyBuilder$2t(luvio, params) {
|
|
22749
|
+
return keyBuilder$2u(luvio, {
|
|
22750
22750
|
actionApiName: params.urlParams.actionApiName
|
|
22751
22751
|
});
|
|
22752
22752
|
}
|
|
@@ -22754,7 +22754,7 @@ function getResponseCacheKeys$L(luvio, resourceParams, response) {
|
|
|
22754
22754
|
return getTypeCacheKeys$1D(luvio, response);
|
|
22755
22755
|
}
|
|
22756
22756
|
function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
22757
|
-
const key = keyBuilder$
|
|
22757
|
+
const key = keyBuilder$2t(luvio, params);
|
|
22758
22758
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22759
22759
|
const storeMetadataParams = {
|
|
22760
22760
|
ttl: TTL$s,
|
|
@@ -22786,7 +22786,7 @@ function adapterFragment$x(luvio, config) {
|
|
|
22786
22786
|
function buildNetworkSnapshot$O(luvio, config, options) {
|
|
22787
22787
|
const resourceParams = createResourceParams$K(config);
|
|
22788
22788
|
const request = createResourceRequest$P(resourceParams);
|
|
22789
|
-
const key = keyBuilder$
|
|
22789
|
+
const key = keyBuilder$2s(luvio, config);
|
|
22790
22790
|
const trackedFieldsConfig = {
|
|
22791
22791
|
maxDepth: configurationForRestAdapters.getTrackedFieldDepthOnCacheMiss(),
|
|
22792
22792
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters.getTrackedFieldLeafNodeIdAndNameOnly()
|
|
@@ -22851,9 +22851,9 @@ function coerceConfig$q(config) {
|
|
|
22851
22851
|
}
|
|
22852
22852
|
return coercedConfig;
|
|
22853
22853
|
}
|
|
22854
|
-
function keyBuilder$
|
|
22854
|
+
function keyBuilder$2s(luvio, config) {
|
|
22855
22855
|
const resourceParams = createResourceParams$K(config);
|
|
22856
|
-
return keyBuilder$
|
|
22856
|
+
return keyBuilder$2t(luvio, resourceParams);
|
|
22857
22857
|
}
|
|
22858
22858
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
22859
22859
|
const config = {};
|
|
@@ -22894,7 +22894,7 @@ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
|
22894
22894
|
}
|
|
22895
22895
|
function buildCachedSnapshot$6(luvio, config) {
|
|
22896
22896
|
const selector = {
|
|
22897
|
-
recordId: keyBuilder$
|
|
22897
|
+
recordId: keyBuilder$2s(luvio, config),
|
|
22898
22898
|
node: adapterFragment$x(luvio, config),
|
|
22899
22899
|
variables: {},
|
|
22900
22900
|
};
|
|
@@ -22930,7 +22930,7 @@ function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext
|
|
|
22930
22930
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
22931
22931
|
const { luvio, config } = context;
|
|
22932
22932
|
const selector = {
|
|
22933
|
-
recordId: keyBuilder$
|
|
22933
|
+
recordId: keyBuilder$2s(luvio, config),
|
|
22934
22934
|
node: adapterFragment$x(luvio, config),
|
|
22935
22935
|
variables: {},
|
|
22936
22936
|
};
|
|
@@ -22953,15 +22953,15 @@ const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuick
|
|
|
22953
22953
|
function select$2k(luvio, params) {
|
|
22954
22954
|
return select$2s();
|
|
22955
22955
|
}
|
|
22956
|
-
function keyBuilder$
|
|
22956
|
+
function keyBuilder$2r(luvio, params) {
|
|
22957
22957
|
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 + ')';
|
|
22958
22958
|
}
|
|
22959
22959
|
function getResponseCacheKeys$K(luvio, resourceParams, response) {
|
|
22960
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
22960
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2r(luvio, resourceParams));
|
|
22961
22961
|
}
|
|
22962
22962
|
function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
22963
22963
|
const { body } = response;
|
|
22964
|
-
const key = keyBuilder$
|
|
22964
|
+
const key = keyBuilder$2r(luvio, resourceParams);
|
|
22965
22965
|
luvio.storeIngest(key, ingest$1C, body);
|
|
22966
22966
|
const snapshot = luvio.storeLookup({
|
|
22967
22967
|
recordId: key,
|
|
@@ -22977,7 +22977,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22977
22977
|
return snapshot;
|
|
22978
22978
|
}
|
|
22979
22979
|
function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
22980
|
-
const key = keyBuilder$
|
|
22980
|
+
const key = keyBuilder$2r(luvio, params);
|
|
22981
22981
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22982
22982
|
const storeMetadataParams = {
|
|
22983
22983
|
ttl: TTL$u,
|
|
@@ -23052,9 +23052,9 @@ function coerceConfig$p(config) {
|
|
|
23052
23052
|
}
|
|
23053
23053
|
return coercedConfig;
|
|
23054
23054
|
}
|
|
23055
|
-
function keyBuilder$
|
|
23055
|
+
function keyBuilder$2q(luvio, config) {
|
|
23056
23056
|
const resourceParams = createResourceParams$J(config);
|
|
23057
|
-
return keyBuilder$
|
|
23057
|
+
return keyBuilder$2r(luvio, resourceParams);
|
|
23058
23058
|
}
|
|
23059
23059
|
function typeCheckConfig$P(untrustedConfig) {
|
|
23060
23060
|
const config = {};
|
|
@@ -23178,7 +23178,7 @@ function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext
|
|
|
23178
23178
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
23179
23179
|
const { luvio, config } = context;
|
|
23180
23180
|
const selector = {
|
|
23181
|
-
recordId: keyBuilder$
|
|
23181
|
+
recordId: keyBuilder$2q(luvio, config),
|
|
23182
23182
|
node: adapterFragment$w(luvio, config),
|
|
23183
23183
|
variables: {},
|
|
23184
23184
|
};
|
|
@@ -23201,15 +23201,15 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
23201
23201
|
function select$2j(luvio, params) {
|
|
23202
23202
|
return select$2s();
|
|
23203
23203
|
}
|
|
23204
|
-
function keyBuilder$
|
|
23204
|
+
function keyBuilder$2p(luvio, params) {
|
|
23205
23205
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
23206
23206
|
}
|
|
23207
23207
|
function getResponseCacheKeys$J(luvio, resourceParams, response) {
|
|
23208
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
23208
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2p(luvio, resourceParams));
|
|
23209
23209
|
}
|
|
23210
23210
|
function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
23211
23211
|
const { body } = response;
|
|
23212
|
-
const key = keyBuilder$
|
|
23212
|
+
const key = keyBuilder$2p(luvio, resourceParams);
|
|
23213
23213
|
luvio.storeIngest(key, ingest$1C, body);
|
|
23214
23214
|
const snapshot = luvio.storeLookup({
|
|
23215
23215
|
recordId: key,
|
|
@@ -23225,7 +23225,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23225
23225
|
return snapshot;
|
|
23226
23226
|
}
|
|
23227
23227
|
function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
23228
|
-
const key = keyBuilder$
|
|
23228
|
+
const key = keyBuilder$2p(luvio, params);
|
|
23229
23229
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23230
23230
|
const storeMetadataParams = {
|
|
23231
23231
|
ttl: TTL$u,
|
|
@@ -23288,9 +23288,9 @@ function coerceConfig$o(config) {
|
|
|
23288
23288
|
}
|
|
23289
23289
|
return coercedConfig;
|
|
23290
23290
|
}
|
|
23291
|
-
function keyBuilder$
|
|
23291
|
+
function keyBuilder$2o(luvio, config) {
|
|
23292
23292
|
const resourceParams = createResourceParams$I(config);
|
|
23293
|
-
return keyBuilder$
|
|
23293
|
+
return keyBuilder$2p(luvio, resourceParams);
|
|
23294
23294
|
}
|
|
23295
23295
|
function typeCheckConfig$O(untrustedConfig) {
|
|
23296
23296
|
const config = {};
|
|
@@ -23395,7 +23395,7 @@ function buildNetworkSnapshotCachePolicy$D(context, coercedAdapterRequestContext
|
|
|
23395
23395
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
23396
23396
|
const { luvio, config } = context;
|
|
23397
23397
|
const selector = {
|
|
23398
|
-
recordId: keyBuilder$
|
|
23398
|
+
recordId: keyBuilder$2o(luvio, config),
|
|
23399
23399
|
node: adapterFragment$v(luvio, config),
|
|
23400
23400
|
variables: {},
|
|
23401
23401
|
};
|
|
@@ -23488,15 +23488,15 @@ function validate$14(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
23488
23488
|
function select$2i(luvio, params) {
|
|
23489
23489
|
return select$2s();
|
|
23490
23490
|
}
|
|
23491
|
-
function keyBuilder$
|
|
23491
|
+
function keyBuilder$2n(luvio, params) {
|
|
23492
23492
|
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) + ')';
|
|
23493
23493
|
}
|
|
23494
23494
|
function getResponseCacheKeys$I(luvio, resourceParams, response) {
|
|
23495
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
23495
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2n(luvio, resourceParams));
|
|
23496
23496
|
}
|
|
23497
23497
|
function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
23498
23498
|
const { body } = response;
|
|
23499
|
-
const key = keyBuilder$
|
|
23499
|
+
const key = keyBuilder$2n(luvio, resourceParams);
|
|
23500
23500
|
luvio.storeIngest(key, ingest$1C, body);
|
|
23501
23501
|
const snapshot = luvio.storeLookup({
|
|
23502
23502
|
recordId: key,
|
|
@@ -23512,7 +23512,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23512
23512
|
return snapshot;
|
|
23513
23513
|
}
|
|
23514
23514
|
function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
23515
|
-
const key = keyBuilder$
|
|
23515
|
+
const key = keyBuilder$2n(luvio, params);
|
|
23516
23516
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23517
23517
|
const storeMetadataParams = {
|
|
23518
23518
|
ttl: TTL$u,
|
|
@@ -23587,7 +23587,7 @@ function select$2h(luvio, resourceParams) {
|
|
|
23587
23587
|
for (let i = 0, len = childResources.length; i < len; i += 1) {
|
|
23588
23588
|
reader.enterPath(i);
|
|
23589
23589
|
const childResource = childResources[i];
|
|
23590
|
-
const childKey = keyBuilder$
|
|
23590
|
+
const childKey = keyBuilder$2n(luvio, childResource);
|
|
23591
23591
|
const childFragment = select$2i();
|
|
23592
23592
|
const childSnapshot = reader.read({
|
|
23593
23593
|
recordId: childKey,
|
|
@@ -23634,7 +23634,7 @@ function select$2h(luvio, resourceParams) {
|
|
|
23634
23634
|
},
|
|
23635
23635
|
};
|
|
23636
23636
|
}
|
|
23637
|
-
function keyBuilder$
|
|
23637
|
+
function keyBuilder$2m(luvio, params) {
|
|
23638
23638
|
return (keyPrefix +
|
|
23639
23639
|
'::' +
|
|
23640
23640
|
'ActionRelatedListsCollectionBatchRepresentation(' +
|
|
@@ -23654,7 +23654,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
23654
23654
|
}
|
|
23655
23655
|
}
|
|
23656
23656
|
let snapshotState = 'Fulfilled';
|
|
23657
|
-
const key = keyBuilder$
|
|
23657
|
+
const key = keyBuilder$2m(luvio, resourceParams);
|
|
23658
23658
|
const childSnapshotDataResponses = [];
|
|
23659
23659
|
let seenRecords = new StoreKeySet();
|
|
23660
23660
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
@@ -23694,7 +23694,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
23694
23694
|
errorType: 'fetchResponse',
|
|
23695
23695
|
};
|
|
23696
23696
|
ingestError$v(luvio, childResourceParams, childResponse);
|
|
23697
|
-
seenRecords.add(keyBuilder$
|
|
23697
|
+
seenRecords.add(keyBuilder$2n(luvio, childResourceParams));
|
|
23698
23698
|
const childValue = {
|
|
23699
23699
|
statusCode: childStatusCode,
|
|
23700
23700
|
result: childBody,
|
|
@@ -23720,7 +23720,7 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
23720
23720
|
};
|
|
23721
23721
|
}
|
|
23722
23722
|
function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
23723
|
-
const key = keyBuilder$
|
|
23723
|
+
const key = keyBuilder$2m(luvio, params);
|
|
23724
23724
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23725
23725
|
luvio.storeIngestError(key, errorSnapshot);
|
|
23726
23726
|
return errorSnapshot;
|
|
@@ -23747,7 +23747,7 @@ function getResponseCacheKeys$H(luvio, resourceParams, response) {
|
|
|
23747
23747
|
keys.merge(childKeys);
|
|
23748
23748
|
}
|
|
23749
23749
|
else if (childStatusCode === 404) {
|
|
23750
|
-
const childKey = keyBuilder$
|
|
23750
|
+
const childKey = keyBuilder$2n(luvio, childResourceParams);
|
|
23751
23751
|
keys.set(childKey, {
|
|
23752
23752
|
namespace: keyPrefix,
|
|
23753
23753
|
representationName: childKey.split('::')[1].split(':')[0],
|
|
@@ -23801,9 +23801,9 @@ function coerceConfig$n(config) {
|
|
|
23801
23801
|
}
|
|
23802
23802
|
return coercedConfig;
|
|
23803
23803
|
}
|
|
23804
|
-
function keyBuilder$
|
|
23804
|
+
function keyBuilder$2l(luvio, config) {
|
|
23805
23805
|
const resourceParams = createResourceParams$H(config);
|
|
23806
|
-
return keyBuilder$
|
|
23806
|
+
return keyBuilder$2m(luvio, resourceParams);
|
|
23807
23807
|
}
|
|
23808
23808
|
function typeCheckConfig$N(untrustedConfig) {
|
|
23809
23809
|
const config = {};
|
|
@@ -23891,7 +23891,7 @@ function buildNetworkSnapshotCachePolicy$C(context, coercedAdapterRequestContext
|
|
|
23891
23891
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
23892
23892
|
const { luvio, config } = context;
|
|
23893
23893
|
const selector = {
|
|
23894
|
-
recordId: keyBuilder$
|
|
23894
|
+
recordId: keyBuilder$2l(luvio, config),
|
|
23895
23895
|
node: adapterFragment$u(luvio, config),
|
|
23896
23896
|
variables: {},
|
|
23897
23897
|
};
|
|
@@ -23974,9 +23974,9 @@ function coerceConfig$m(config) {
|
|
|
23974
23974
|
}
|
|
23975
23975
|
return coercedConfig;
|
|
23976
23976
|
}
|
|
23977
|
-
function keyBuilder$
|
|
23977
|
+
function keyBuilder$2k(luvio, config) {
|
|
23978
23978
|
const resourceParams = createResourceParams$G(config);
|
|
23979
|
-
return keyBuilder$
|
|
23979
|
+
return keyBuilder$2n(luvio, resourceParams);
|
|
23980
23980
|
}
|
|
23981
23981
|
function typeCheckConfig$M(untrustedConfig) {
|
|
23982
23982
|
const config = {};
|
|
@@ -24100,7 +24100,7 @@ function buildNetworkSnapshotCachePolicy$B(context, coercedAdapterRequestContext
|
|
|
24100
24100
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
24101
24101
|
const { luvio, config } = context;
|
|
24102
24102
|
const selector = {
|
|
24103
|
-
recordId: keyBuilder$
|
|
24103
|
+
recordId: keyBuilder$2k(luvio, config),
|
|
24104
24104
|
node: adapterFragment$t(luvio, config),
|
|
24105
24105
|
variables: {},
|
|
24106
24106
|
};
|
|
@@ -24123,15 +24123,15 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
24123
24123
|
function select$2g(luvio, params) {
|
|
24124
24124
|
return select$2s();
|
|
24125
24125
|
}
|
|
24126
|
-
function keyBuilder$
|
|
24126
|
+
function keyBuilder$2j(luvio, params) {
|
|
24127
24127
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
24128
24128
|
}
|
|
24129
24129
|
function getResponseCacheKeys$G(luvio, resourceParams, response) {
|
|
24130
|
-
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$
|
|
24130
|
+
return getTypeCacheKeys$1G(luvio, response, () => keyBuilder$2j(luvio, resourceParams));
|
|
24131
24131
|
}
|
|
24132
24132
|
function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
24133
24133
|
const { body } = response;
|
|
24134
|
-
const key = keyBuilder$
|
|
24134
|
+
const key = keyBuilder$2j(luvio, resourceParams);
|
|
24135
24135
|
luvio.storeIngest(key, ingest$1C, body);
|
|
24136
24136
|
const snapshot = luvio.storeLookup({
|
|
24137
24137
|
recordId: key,
|
|
@@ -24147,7 +24147,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
24147
24147
|
return snapshot;
|
|
24148
24148
|
}
|
|
24149
24149
|
function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
24150
|
-
const key = keyBuilder$
|
|
24150
|
+
const key = keyBuilder$2j(luvio, params);
|
|
24151
24151
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
24152
24152
|
const storeMetadataParams = {
|
|
24153
24153
|
ttl: TTL$u,
|
|
@@ -24214,9 +24214,9 @@ function coerceConfig$l(config) {
|
|
|
24214
24214
|
}
|
|
24215
24215
|
return coercedConfig;
|
|
24216
24216
|
}
|
|
24217
|
-
function keyBuilder$
|
|
24217
|
+
function keyBuilder$2i(luvio, config) {
|
|
24218
24218
|
const resourceParams = createResourceParams$F(config);
|
|
24219
|
-
return keyBuilder$
|
|
24219
|
+
return keyBuilder$2j(luvio, resourceParams);
|
|
24220
24220
|
}
|
|
24221
24221
|
function typeCheckConfig$L(untrustedConfig) {
|
|
24222
24222
|
const config = {};
|
|
@@ -24332,7 +24332,7 @@ function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext
|
|
|
24332
24332
|
function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
24333
24333
|
const { luvio, config } = context;
|
|
24334
24334
|
const selector = {
|
|
24335
|
-
recordId: keyBuilder$
|
|
24335
|
+
recordId: keyBuilder$2i(luvio, config),
|
|
24336
24336
|
node: adapterFragment$s(luvio, config),
|
|
24337
24337
|
variables: {},
|
|
24338
24338
|
};
|
|
@@ -24666,14 +24666,14 @@ function validate$12(obj, path = 'NavItemRepresentation') {
|
|
|
24666
24666
|
return v_error === undefined ? null : v_error;
|
|
24667
24667
|
}
|
|
24668
24668
|
const RepresentationType$B = 'NavItemRepresentation';
|
|
24669
|
-
function keyBuilder$
|
|
24669
|
+
function keyBuilder$2h(luvio, config) {
|
|
24670
24670
|
return keyPrefix + '::' + RepresentationType$B + ':' + config.developerName;
|
|
24671
24671
|
}
|
|
24672
24672
|
function keyBuilderFromType$k(luvio, object) {
|
|
24673
24673
|
const keyParams = {
|
|
24674
24674
|
developerName: object.developerName
|
|
24675
24675
|
};
|
|
24676
|
-
return keyBuilder$
|
|
24676
|
+
return keyBuilder$2h(luvio, keyParams);
|
|
24677
24677
|
}
|
|
24678
24678
|
function normalize$u(input, existing, path, luvio, store, timestamp) {
|
|
24679
24679
|
const input_pageReference = input.pageReference;
|
|
@@ -25098,14 +25098,14 @@ function validate$11(obj, path = 'AppRepresentation') {
|
|
|
25098
25098
|
return v_error === undefined ? null : v_error;
|
|
25099
25099
|
}
|
|
25100
25100
|
const RepresentationType$A = 'AppRepresentation';
|
|
25101
|
-
function keyBuilder$
|
|
25101
|
+
function keyBuilder$2g(luvio, config) {
|
|
25102
25102
|
return keyPrefix + '::' + RepresentationType$A + ':' + (config.appId === null ? '' : config.appId);
|
|
25103
25103
|
}
|
|
25104
25104
|
function keyBuilderFromType$j(luvio, object) {
|
|
25105
25105
|
const keyParams = {
|
|
25106
25106
|
appId: object.appId
|
|
25107
25107
|
};
|
|
25108
|
-
return keyBuilder$
|
|
25108
|
+
return keyBuilder$2g(luvio, keyParams);
|
|
25109
25109
|
}
|
|
25110
25110
|
function normalize$t(input, existing, path, luvio, store, timestamp) {
|
|
25111
25111
|
const input_navItems = input.navItems;
|
|
@@ -25515,15 +25515,15 @@ function getTypeCacheKeys$1z(luvio, input, fullPathFactory) {
|
|
|
25515
25515
|
function select$2b(luvio, params) {
|
|
25516
25516
|
return select$2c();
|
|
25517
25517
|
}
|
|
25518
|
-
function keyBuilder$
|
|
25518
|
+
function keyBuilder$2f(luvio, params) {
|
|
25519
25519
|
return keyPrefix + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
25520
25520
|
}
|
|
25521
25521
|
function getResponseCacheKeys$F(luvio, resourceParams, response) {
|
|
25522
|
-
return getTypeCacheKeys$1z(luvio, response, () => keyBuilder$
|
|
25522
|
+
return getTypeCacheKeys$1z(luvio, response, () => keyBuilder$2f(luvio, resourceParams));
|
|
25523
25523
|
}
|
|
25524
25524
|
function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
25525
25525
|
const { body } = response;
|
|
25526
|
-
const key = keyBuilder$
|
|
25526
|
+
const key = keyBuilder$2f(luvio, resourceParams);
|
|
25527
25527
|
luvio.storeIngest(key, ingest$1w, body);
|
|
25528
25528
|
const snapshot = luvio.storeLookup({
|
|
25529
25529
|
recordId: key,
|
|
@@ -25539,7 +25539,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
25539
25539
|
return snapshot;
|
|
25540
25540
|
}
|
|
25541
25541
|
function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
25542
|
-
const key = keyBuilder$
|
|
25542
|
+
const key = keyBuilder$2f(luvio, params);
|
|
25543
25543
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25544
25544
|
const storeMetadataParams = {
|
|
25545
25545
|
ttl: TTL$p,
|
|
@@ -25591,9 +25591,9 @@ function coerceConfig$k(config) {
|
|
|
25591
25591
|
}
|
|
25592
25592
|
return coercedConfig;
|
|
25593
25593
|
}
|
|
25594
|
-
function keyBuilder$
|
|
25594
|
+
function keyBuilder$2e(luvio, config) {
|
|
25595
25595
|
const resourceParams = createResourceParams$E(config);
|
|
25596
|
-
return keyBuilder$
|
|
25596
|
+
return keyBuilder$2f(luvio, resourceParams);
|
|
25597
25597
|
}
|
|
25598
25598
|
function typeCheckConfig$K(untrustedConfig) {
|
|
25599
25599
|
const config = {};
|
|
@@ -25669,7 +25669,7 @@ function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext
|
|
|
25669
25669
|
function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
25670
25670
|
const { luvio, config } = context;
|
|
25671
25671
|
const selector = {
|
|
25672
|
-
recordId: keyBuilder$
|
|
25672
|
+
recordId: keyBuilder$2e(luvio, config),
|
|
25673
25673
|
node: adapterFragment$r(luvio, config),
|
|
25674
25674
|
variables: {},
|
|
25675
25675
|
};
|
|
@@ -25692,8 +25692,8 @@ const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrusted
|
|
|
25692
25692
|
function select$29(luvio, params) {
|
|
25693
25693
|
return select$2d();
|
|
25694
25694
|
}
|
|
25695
|
-
function keyBuilder$
|
|
25696
|
-
return keyBuilder$
|
|
25695
|
+
function keyBuilder$2b(luvio, params) {
|
|
25696
|
+
return keyBuilder$2g(luvio, {
|
|
25697
25697
|
appId: params.urlParams.appId
|
|
25698
25698
|
});
|
|
25699
25699
|
}
|
|
@@ -25702,7 +25702,7 @@ function getResponseCacheKeys$D(luvio, resourceParams, response) {
|
|
|
25702
25702
|
}
|
|
25703
25703
|
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
25704
25704
|
const { body } = response;
|
|
25705
|
-
const key = keyBuilder$
|
|
25705
|
+
const key = keyBuilder$2b(luvio, resourceParams);
|
|
25706
25706
|
luvio.storeIngest(key, ingest$1x, body);
|
|
25707
25707
|
const snapshot = luvio.storeLookup({
|
|
25708
25708
|
recordId: key,
|
|
@@ -25718,7 +25718,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
25718
25718
|
return snapshot;
|
|
25719
25719
|
}
|
|
25720
25720
|
function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
25721
|
-
const key = keyBuilder$
|
|
25721
|
+
const key = keyBuilder$2b(luvio, params);
|
|
25722
25722
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25723
25723
|
const storeMetadataParams = {
|
|
25724
25724
|
ttl: TTL$q,
|
|
@@ -25777,9 +25777,9 @@ function coerceConfig$j(config) {
|
|
|
25777
25777
|
}
|
|
25778
25778
|
return coercedConfig;
|
|
25779
25779
|
}
|
|
25780
|
-
function keyBuilder$
|
|
25780
|
+
function keyBuilder$2a(luvio, config) {
|
|
25781
25781
|
const resourceParams = createResourceParams$C(config);
|
|
25782
|
-
return keyBuilder$
|
|
25782
|
+
return keyBuilder$2b(luvio, resourceParams);
|
|
25783
25783
|
}
|
|
25784
25784
|
function typeCheckConfig$I(untrustedConfig) {
|
|
25785
25785
|
const config = {};
|
|
@@ -25859,7 +25859,7 @@ function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext
|
|
|
25859
25859
|
function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
25860
25860
|
const { luvio, config } = context;
|
|
25861
25861
|
const selector = {
|
|
25862
|
-
recordId: keyBuilder$
|
|
25862
|
+
recordId: keyBuilder$2a(luvio, config),
|
|
25863
25863
|
node: adapterFragment$p(luvio, config),
|
|
25864
25864
|
variables: {},
|
|
25865
25865
|
};
|
|
@@ -26364,15 +26364,15 @@ function getTypeCacheKeys$1y(luvio, input, fullPathFactory) {
|
|
|
26364
26364
|
function select$23(luvio, params) {
|
|
26365
26365
|
return select$24();
|
|
26366
26366
|
}
|
|
26367
|
-
function keyBuilder$
|
|
26367
|
+
function keyBuilder$29(luvio, params) {
|
|
26368
26368
|
return keyPrefix + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26369
26369
|
}
|
|
26370
26370
|
function getResponseCacheKeys$C(luvio, resourceParams, response) {
|
|
26371
|
-
return getTypeCacheKeys$1y(luvio, response, () => keyBuilder$
|
|
26371
|
+
return getTypeCacheKeys$1y(luvio, response, () => keyBuilder$29(luvio, resourceParams));
|
|
26372
26372
|
}
|
|
26373
26373
|
function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
26374
26374
|
const { body } = response;
|
|
26375
|
-
const key = keyBuilder$
|
|
26375
|
+
const key = keyBuilder$29(luvio, resourceParams);
|
|
26376
26376
|
luvio.storeIngest(key, ingest$1v, body);
|
|
26377
26377
|
const snapshot = luvio.storeLookup({
|
|
26378
26378
|
recordId: key,
|
|
@@ -26388,7 +26388,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
26388
26388
|
return snapshot;
|
|
26389
26389
|
}
|
|
26390
26390
|
function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
26391
|
-
const key = keyBuilder$
|
|
26391
|
+
const key = keyBuilder$29(luvio, params);
|
|
26392
26392
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26393
26393
|
const storeMetadataParams = {
|
|
26394
26394
|
ttl: TTL$o,
|
|
@@ -26431,9 +26431,9 @@ function createResourceParams$B(config) {
|
|
|
26431
26431
|
};
|
|
26432
26432
|
return resourceParams;
|
|
26433
26433
|
}
|
|
26434
|
-
function keyBuilder$
|
|
26434
|
+
function keyBuilder$28(luvio, config) {
|
|
26435
26435
|
const resourceParams = createResourceParams$B(config);
|
|
26436
|
-
return keyBuilder$
|
|
26436
|
+
return keyBuilder$29(luvio, resourceParams);
|
|
26437
26437
|
}
|
|
26438
26438
|
function typeCheckConfig$H(untrustedConfig) {
|
|
26439
26439
|
const config = {};
|
|
@@ -26508,7 +26508,7 @@ function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext
|
|
|
26508
26508
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
26509
26509
|
const { luvio, config } = context;
|
|
26510
26510
|
const selector = {
|
|
26511
|
-
recordId: keyBuilder$
|
|
26511
|
+
recordId: keyBuilder$28(luvio, config),
|
|
26512
26512
|
node: adapterFragment$o(luvio, config),
|
|
26513
26513
|
variables: {},
|
|
26514
26514
|
};
|
|
@@ -26528,14 +26528,14 @@ const getDuplicateConfigurationAdapterFactory = (luvio) => function UiApi__getDu
|
|
|
26528
26528
|
buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
|
|
26529
26529
|
};
|
|
26530
26530
|
|
|
26531
|
-
function keyBuilder$
|
|
26531
|
+
function keyBuilder$27(luvio, params) {
|
|
26532
26532
|
return keyPrefix + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26533
26533
|
}
|
|
26534
26534
|
function getResponseCacheKeys$B(luvio, resourceParams, response) {
|
|
26535
26535
|
return getTypeCacheKeys$1L(luvio, response);
|
|
26536
26536
|
}
|
|
26537
26537
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
26538
|
-
const key = keyBuilder$
|
|
26538
|
+
const key = keyBuilder$27(luvio, params);
|
|
26539
26539
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26540
26540
|
const storeMetadataParams = {
|
|
26541
26541
|
ttl: TTL$x,
|
|
@@ -26582,7 +26582,7 @@ function coerceLayoutMode(value) {
|
|
|
26582
26582
|
|
|
26583
26583
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
26584
26584
|
const { body } = response;
|
|
26585
|
-
const key = keyBuilder$
|
|
26585
|
+
const key = keyBuilder$2L(luvio, config);
|
|
26586
26586
|
luvio.storeIngest(key, ingest$1I, body);
|
|
26587
26587
|
const snapshot = luvio.storeLookup({
|
|
26588
26588
|
recordId: key,
|
|
@@ -26631,7 +26631,7 @@ function validateAdapterConfig$H(untrustedConfig, _configPropertyNames) {
|
|
|
26631
26631
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
26632
26632
|
const { luvio, config } = context;
|
|
26633
26633
|
const selector = {
|
|
26634
|
-
recordId: keyBuilder$
|
|
26634
|
+
recordId: keyBuilder$2L(luvio, config),
|
|
26635
26635
|
node: select$2x(),
|
|
26636
26636
|
variables: {},
|
|
26637
26637
|
};
|
|
@@ -26777,7 +26777,7 @@ function createResourceRequest$E(config) {
|
|
|
26777
26777
|
|
|
26778
26778
|
function buildCachedSnapshot$5(luvio, config) {
|
|
26779
26779
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
26780
|
-
const key = keyBuilder$
|
|
26780
|
+
const key = keyBuilder$2K(luvio, {
|
|
26781
26781
|
apiName: objectApiName,
|
|
26782
26782
|
recordTypeId,
|
|
26783
26783
|
layoutType,
|
|
@@ -26830,7 +26830,7 @@ function onFetchResponseError$q(luvio, config, key, error) {
|
|
|
26830
26830
|
}
|
|
26831
26831
|
function prepareRequest$3(luvio, config) {
|
|
26832
26832
|
const { recordTypeId, layoutType, mode, objectApiName } = config;
|
|
26833
|
-
const key = keyBuilder$
|
|
26833
|
+
const key = keyBuilder$2K(luvio, {
|
|
26834
26834
|
apiName: objectApiName,
|
|
26835
26835
|
recordTypeId,
|
|
26836
26836
|
layoutType,
|
|
@@ -26895,7 +26895,7 @@ function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
|
26895
26895
|
const { config, luvio } = context;
|
|
26896
26896
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
26897
26897
|
const selector = {
|
|
26898
|
-
recordId: keyBuilder$
|
|
26898
|
+
recordId: keyBuilder$2K(luvio, {
|
|
26899
26899
|
apiName: objectApiName,
|
|
26900
26900
|
recordTypeId,
|
|
26901
26901
|
layoutType,
|
|
@@ -26999,11 +26999,19 @@ const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUse
|
|
|
26999
26999
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
27000
27000
|
};
|
|
27001
27001
|
|
|
27002
|
+
function keyBuilder$26(luvio, params) {
|
|
27003
|
+
return keyBuilder$32(luvio, {
|
|
27004
|
+
objectApiName: params.urlParams.objectApiName,
|
|
27005
|
+
listViewApiName: params.urlParams.listViewApiName,
|
|
27006
|
+
type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
|
|
27007
|
+
});
|
|
27008
|
+
}
|
|
27009
|
+
|
|
27002
27010
|
function select$22(luvio, params) {
|
|
27003
27011
|
return select$2M();
|
|
27004
27012
|
}
|
|
27005
27013
|
function keyBuilder$25(luvio, params) {
|
|
27006
|
-
return keyBuilder$
|
|
27014
|
+
return keyBuilder$32(luvio, {
|
|
27007
27015
|
objectApiName: params.urlParams.objectApiName,
|
|
27008
27016
|
listViewApiName: params.urlParams.listViewApiName,
|
|
27009
27017
|
type: "listView"
|
|
@@ -27014,7 +27022,7 @@ function getResponseCacheKeys$z(luvio, resourceParams, response) {
|
|
|
27014
27022
|
}
|
|
27015
27023
|
function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
27016
27024
|
const { body } = response;
|
|
27017
|
-
const key = keyBuilder$
|
|
27025
|
+
const key = keyBuilder$26(luvio, resourceParams);
|
|
27018
27026
|
luvio.storeIngest(key, ingest$1R, body);
|
|
27019
27027
|
const snapshot = luvio.storeLookup({
|
|
27020
27028
|
recordId: key,
|
|
@@ -27030,7 +27038,7 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
27030
27038
|
return snapshot;
|
|
27031
27039
|
}
|
|
27032
27040
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
27033
|
-
const key = keyBuilder$
|
|
27041
|
+
const key = keyBuilder$26(luvio, params);
|
|
27034
27042
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27035
27043
|
const storeMetadataParams = {
|
|
27036
27044
|
ttl: TTL$C,
|
|
@@ -27496,7 +27504,7 @@ function createResourceParams$y(config) {
|
|
|
27496
27504
|
}
|
|
27497
27505
|
function keyBuilder$22(luvio, config) {
|
|
27498
27506
|
const resourceParams = createResourceParams$y(config);
|
|
27499
|
-
return keyBuilder$
|
|
27507
|
+
return keyBuilder$26(luvio, resourceParams);
|
|
27500
27508
|
}
|
|
27501
27509
|
function typeCheckConfig$D(untrustedConfig) {
|
|
27502
27510
|
const config = {};
|
|
@@ -28002,7 +28010,7 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
|
|
|
28002
28010
|
reader.enterPath(i);
|
|
28003
28011
|
reader.enterPath(envelopeBodyPath);
|
|
28004
28012
|
const childResource = childResources[i];
|
|
28005
|
-
const childKey = keyBuilder$
|
|
28013
|
+
const childKey = keyBuilder$2N(luvio, childResource);
|
|
28006
28014
|
const childFragment = select$2y();
|
|
28007
28015
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
28008
28016
|
const childSnapshot = reader.read({
|
|
@@ -28109,7 +28117,7 @@ function getResponseCacheKeys$w(luvio, resourceParams, response) {
|
|
|
28109
28117
|
keys.merge(childKeys);
|
|
28110
28118
|
}
|
|
28111
28119
|
else if (childStatusCode === 404) {
|
|
28112
|
-
const childKey = keyBuilder$
|
|
28120
|
+
const childKey = keyBuilder$2N(luvio, childResourceParams);
|
|
28113
28121
|
keys.set(childKey, {
|
|
28114
28122
|
namespace: keyPrefix,
|
|
28115
28123
|
representationName: RepresentationType$N,
|
|
@@ -28126,7 +28134,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
|
|
|
28126
28134
|
const now = Date.now();
|
|
28127
28135
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
28128
28136
|
const childResourceParams = childResourceParamsArray[index];
|
|
28129
|
-
const childKey = keyBuilder$
|
|
28137
|
+
const childKey = keyBuilder$2N(luvio, childResourceParams);
|
|
28130
28138
|
const result = childEnvelopes[index];
|
|
28131
28139
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
28132
28140
|
if (childStatusCode === 200) {
|
|
@@ -31262,7 +31270,7 @@ const getRecords_ConfigPropertyNames = {
|
|
|
31262
31270
|
|
|
31263
31271
|
function keyBuilder$1S(luvio, config) {
|
|
31264
31272
|
const resourceParams = createResourceParams$V(config);
|
|
31265
|
-
return keyBuilder$
|
|
31273
|
+
return keyBuilder$2$(luvio, resourceParams);
|
|
31266
31274
|
}
|
|
31267
31275
|
function onFetchResponseError$i(luvio, config, resourceParams, response) {
|
|
31268
31276
|
const snapshot = ingestError$J(luvio, resourceParams, response, {
|
|
@@ -58513,7 +58521,7 @@ function createResourceParams$8(config) {
|
|
|
58513
58521
|
}
|
|
58514
58522
|
function keyBuilder$9(luvio, config) {
|
|
58515
58523
|
const resourceParams = createResourceParams$8(config);
|
|
58516
|
-
return keyBuilder$
|
|
58524
|
+
return keyBuilder$2U(luvio, resourceParams);
|
|
58517
58525
|
}
|
|
58518
58526
|
function typeCheckConfig$b(untrustedConfig) {
|
|
58519
58527
|
const config = {};
|
|
@@ -58646,7 +58654,7 @@ function getCachedItemsNumber(cacheSnapshot) {
|
|
|
58646
58654
|
return items.length;
|
|
58647
58655
|
}
|
|
58648
58656
|
function getPaginationMetadata(luvio, resourceParams) {
|
|
58649
|
-
const key = keyBuilder$
|
|
58657
|
+
const key = keyBuilder$2U(luvio, resourceParams);
|
|
58650
58658
|
const selector = {
|
|
58651
58659
|
recordId: key,
|
|
58652
58660
|
node: {
|
|
@@ -61455,7 +61463,7 @@ function createResourceParams$4(config) {
|
|
|
61455
61463
|
function onResponseSuccess$1(luvio, response, recordIngest, conflictMap) {
|
|
61456
61464
|
const { body } = response;
|
|
61457
61465
|
const selections = buildSelectionFromRecord(body);
|
|
61458
|
-
const key = keyBuilder$
|
|
61466
|
+
const key = keyBuilder$31(luvio, {
|
|
61459
61467
|
recordId: body.id,
|
|
61460
61468
|
});
|
|
61461
61469
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -61501,7 +61509,7 @@ const factory$4 = (luvio) => {
|
|
|
61501
61509
|
};
|
|
61502
61510
|
|
|
61503
61511
|
function keyBuilder$1(luvio, params) {
|
|
61504
|
-
return keyBuilder$
|
|
61512
|
+
return keyBuilder$31(luvio, {
|
|
61505
61513
|
recordId: params.urlParams.recordId
|
|
61506
61514
|
});
|
|
61507
61515
|
}
|
|
@@ -61794,7 +61802,7 @@ function getHeaders(clientOptions) {
|
|
|
61794
61802
|
function onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap) {
|
|
61795
61803
|
const { body } = response;
|
|
61796
61804
|
const sel = buildSelectionFromRecord(body);
|
|
61797
|
-
const key = keyBuilder$
|
|
61805
|
+
const key = keyBuilder$31(luvio, {
|
|
61798
61806
|
recordId,
|
|
61799
61807
|
});
|
|
61800
61808
|
luvio.storeIngest(key, recordIngest, body);
|