@salesforce/lds-worker-api 1.150.7 → 1.150.8
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.
|
@@ -3799,7 +3799,7 @@ function withDefaultLuvio(callback) {
|
|
|
3799
3799
|
}
|
|
3800
3800
|
callbacks.push(callback);
|
|
3801
3801
|
}
|
|
3802
|
-
// version: 1.150.
|
|
3802
|
+
// version: 1.150.8-02357881a
|
|
3803
3803
|
|
|
3804
3804
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3805
3805
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15223,7 +15223,7 @@ function parseAndVisit(source) {
|
|
|
15223
15223
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15224
15224
|
return luvioDocumentNode;
|
|
15225
15225
|
}
|
|
15226
|
-
// version: 1.150.
|
|
15226
|
+
// version: 1.150.8-02357881a
|
|
15227
15227
|
|
|
15228
15228
|
function unwrap(data) {
|
|
15229
15229
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16136,7 +16136,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16136
16136
|
const { apiFamily, name } = metadata;
|
|
16137
16137
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16138
16138
|
}
|
|
16139
|
-
// version: 1.150.
|
|
16139
|
+
// version: 1.150.8-02357881a
|
|
16140
16140
|
|
|
16141
16141
|
/**
|
|
16142
16142
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16843,7 +16843,7 @@ const select$1D = function ListUserPreferenceRepresentationSelect() {
|
|
|
16843
16843
|
const TTL$x = 900000;
|
|
16844
16844
|
const VERSION$18$1 = "8b55d621d80c84ec2e331abc4e12fc56";
|
|
16845
16845
|
const RepresentationType$Q = 'ListInfoRepresentation';
|
|
16846
|
-
function keyBuilder$
|
|
16846
|
+
function keyBuilder$1S(luvio, config) {
|
|
16847
16847
|
return keyPrefix$1 + '::' + RepresentationType$Q + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
16848
16848
|
}
|
|
16849
16849
|
function keyBuilderFromType$z(luvio, object) {
|
|
@@ -16852,7 +16852,7 @@ function keyBuilderFromType$z(luvio, object) {
|
|
|
16852
16852
|
objectApiName: object.listReference.objectApiName,
|
|
16853
16853
|
type: object.listReference.type
|
|
16854
16854
|
};
|
|
16855
|
-
return keyBuilder$
|
|
16855
|
+
return keyBuilder$1S(luvio, keyParams);
|
|
16856
16856
|
}
|
|
16857
16857
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
16858
16858
|
return input;
|
|
@@ -17346,14 +17346,14 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
17346
17346
|
const TTL$v = 30000;
|
|
17347
17347
|
const VERSION$14$1 = "98c5b18512e48ca8d28727549507e4ba";
|
|
17348
17348
|
const RepresentationType$N = 'RecordRepresentation';
|
|
17349
|
-
function keyBuilder$
|
|
17349
|
+
function keyBuilder$1R(luvio, config) {
|
|
17350
17350
|
return keyPrefix$1 + '::' + RepresentationType$N + ':' + config.recordId;
|
|
17351
17351
|
}
|
|
17352
17352
|
function keyBuilderFromType$x(luvio, object) {
|
|
17353
17353
|
const keyParams = {
|
|
17354
17354
|
recordId: object.id
|
|
17355
17355
|
};
|
|
17356
|
-
return keyBuilder$
|
|
17356
|
+
return keyBuilder$1R(luvio, keyParams);
|
|
17357
17357
|
}
|
|
17358
17358
|
function dynamicNormalize$5(ingestParams) {
|
|
17359
17359
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -17610,7 +17610,7 @@ function getTypeCacheKeys$N$1(luvio, input, fullPathFactory) {
|
|
|
17610
17610
|
}
|
|
17611
17611
|
const notifyUpdateAvailableFactory = (luvio) => {
|
|
17612
17612
|
return function notifyRecordUpdateAvailable(configs) {
|
|
17613
|
-
const keys = configs.map(c => keyBuilder$
|
|
17613
|
+
const keys = configs.map(c => keyBuilder$1R(luvio, c));
|
|
17614
17614
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
17615
17615
|
};
|
|
17616
17616
|
};
|
|
@@ -19710,7 +19710,7 @@ function mergeRecordConflict(luvio, incoming, existing, recordConflictMap) {
|
|
|
19710
19710
|
name: existing.apiName,
|
|
19711
19711
|
children: {},
|
|
19712
19712
|
};
|
|
19713
|
-
const recordKey = keyBuilder$
|
|
19713
|
+
const recordKey = keyBuilder$1R(luvio, {
|
|
19714
19714
|
recordId: incoming.id,
|
|
19715
19715
|
});
|
|
19716
19716
|
const trackedFieldsConfig = {
|
|
@@ -20069,8 +20069,8 @@ const createResourceRequest$10 = function getUiApiRecordsByRecordIdCreateResourc
|
|
|
20069
20069
|
};
|
|
20070
20070
|
};
|
|
20071
20071
|
|
|
20072
|
-
function keyBuilder$
|
|
20073
|
-
return keyBuilder$
|
|
20072
|
+
function keyBuilder$1Q(luvio, params) {
|
|
20073
|
+
return keyBuilder$1R(luvio, {
|
|
20074
20074
|
recordId: params.urlParams.recordId
|
|
20075
20075
|
});
|
|
20076
20076
|
}
|
|
@@ -20304,7 +20304,7 @@ function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
|
20304
20304
|
// used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
|
|
20305
20305
|
function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
20306
20306
|
return {
|
|
20307
|
-
recordId: keyBuilder$
|
|
20307
|
+
recordId: keyBuilder$1R(luvio, { recordId }),
|
|
20308
20308
|
node: {
|
|
20309
20309
|
kind: 'Fragment',
|
|
20310
20310
|
private: ['eTag', 'weakEtag'],
|
|
@@ -20323,7 +20323,7 @@ function buildSnapshotRefresh$5(luvio, config) {
|
|
|
20323
20323
|
function prepareRequest$6(luvio, config) {
|
|
20324
20324
|
const { recordId, fields } = config;
|
|
20325
20325
|
// Should this go into the coersion logic?
|
|
20326
|
-
const key = keyBuilder$
|
|
20326
|
+
const key = keyBuilder$1Q(luvio, createResourceParams$T(config));
|
|
20327
20327
|
const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
|
|
20328
20328
|
maxDepth: configurationForRestAdapters$1.getTrackedFieldDepthOnCacheMiss(),
|
|
20329
20329
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters$1.getTrackedFieldLeafNodeIdAndNameOnly(),
|
|
@@ -20433,7 +20433,7 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
|
|
|
20433
20433
|
const now = Date.now();
|
|
20434
20434
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
20435
20435
|
const childResourceParams = childResourceParamsArray[index];
|
|
20436
|
-
const childKey = keyBuilder$
|
|
20436
|
+
const childKey = keyBuilder$1Q(luvio, childResourceParams);
|
|
20437
20437
|
const result = childEnvelopes[index];
|
|
20438
20438
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
20439
20439
|
if (childStatusCode === 200) {
|
|
@@ -20520,7 +20520,7 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
|
|
|
20520
20520
|
read: (reader) => {
|
|
20521
20521
|
// Top-level 404 lookup
|
|
20522
20522
|
const compositeSnapshot = luvio.storeLookup({
|
|
20523
|
-
recordId: keyBuilder$
|
|
20523
|
+
recordId: keyBuilder$1P(luvio, resourceParams),
|
|
20524
20524
|
node: {
|
|
20525
20525
|
kind: 'Fragment',
|
|
20526
20526
|
private: [],
|
|
@@ -20544,7 +20544,7 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
|
|
|
20544
20544
|
reader.enterPath(i);
|
|
20545
20545
|
reader.enterPath(envelopeBodyPath);
|
|
20546
20546
|
const childResource = childResources[i];
|
|
20547
|
-
const childKey = keyBuilder$
|
|
20547
|
+
const childKey = keyBuilder$1Q(luvio, childResource);
|
|
20548
20548
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
20549
20549
|
const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
|
|
20550
20550
|
reader.exitPath();
|
|
@@ -20644,7 +20644,7 @@ function createChildResourceParams$8(resourceParams) {
|
|
|
20644
20644
|
}
|
|
20645
20645
|
return childConfigs;
|
|
20646
20646
|
}
|
|
20647
|
-
function keyBuilder$
|
|
20647
|
+
function keyBuilder$1P(luvio, params) {
|
|
20648
20648
|
return keyPrefix$1 + '::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 + ')';
|
|
20649
20649
|
}
|
|
20650
20650
|
function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
@@ -20661,7 +20661,7 @@ function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
|
20661
20661
|
keys.merge(childKeys);
|
|
20662
20662
|
}
|
|
20663
20663
|
else if (childStatusCode === 404) {
|
|
20664
|
-
const childKey = keyBuilder$
|
|
20664
|
+
const childKey = keyBuilder$1Q(luvio, childResourceParams);
|
|
20665
20665
|
keys.set(childKey, {
|
|
20666
20666
|
namespace: keyPrefix$1,
|
|
20667
20667
|
representationName: RepresentationType$N,
|
|
@@ -20672,7 +20672,7 @@ function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
|
20672
20672
|
return keys;
|
|
20673
20673
|
}
|
|
20674
20674
|
function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
20675
|
-
const key = keyBuilder$
|
|
20675
|
+
const key = keyBuilder$1P(luvio, params);
|
|
20676
20676
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
20677
20677
|
luvio.storeIngestError(key, errorSnapshot);
|
|
20678
20678
|
return errorSnapshot;
|
|
@@ -20753,7 +20753,7 @@ function onFetchResponseSuccess$G(luvio, config, resourceParams, response, serve
|
|
|
20753
20753
|
const childEnvelopes = response.body.results;
|
|
20754
20754
|
const childResourceParamsArray = createChildResourceParams$7(config);
|
|
20755
20755
|
const snapshotStateFulfilled = 'Fulfilled';
|
|
20756
|
-
const key = keyBuilder$
|
|
20756
|
+
const key = keyBuilder$1P(luvio, resourceParams);
|
|
20757
20757
|
const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
|
|
20758
20758
|
const snapshot = {
|
|
20759
20759
|
recordId: key,
|
|
@@ -20938,7 +20938,7 @@ function tokenForAtMost$1(paginationMetadata, maxOffset) {
|
|
|
20938
20938
|
const TTL$u = 30000;
|
|
20939
20939
|
const VERSION$12$1 = "614ef19823027c07fa6deb9a149619d2";
|
|
20940
20940
|
const RepresentationType$M = 'ListRecordCollectionRepresentation';
|
|
20941
|
-
function keyBuilder$
|
|
20941
|
+
function keyBuilder$1O(luvio, config) {
|
|
20942
20942
|
return keyPrefix$1 + '::' + RepresentationType$M + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
20943
20943
|
}
|
|
20944
20944
|
function keyBuilderFromType$w(luvio, object) {
|
|
@@ -20948,10 +20948,10 @@ function keyBuilderFromType$w(luvio, object) {
|
|
|
20948
20948
|
objectApiName: object.listReference.objectApiName,
|
|
20949
20949
|
listViewApiName: object.listReference.listViewApiName
|
|
20950
20950
|
};
|
|
20951
|
-
return keyBuilder$
|
|
20951
|
+
return keyBuilder$1O(luvio, keyParams);
|
|
20952
20952
|
}
|
|
20953
20953
|
function paginationKeyBuilder(luvio, config) {
|
|
20954
|
-
return keyBuilder$
|
|
20954
|
+
return keyBuilder$1O(luvio, config) + '__pagination';
|
|
20955
20955
|
}
|
|
20956
20956
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
20957
20957
|
const input_records = input.records;
|
|
@@ -21347,7 +21347,7 @@ function getTypeCacheKeys$M$1(luvio, input, fullPathFactory) {
|
|
|
21347
21347
|
|
|
21348
21348
|
const VERSION$11$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
21349
21349
|
const RepresentationType$L = 'ListUiRepresentation';
|
|
21350
|
-
function keyBuilder$
|
|
21350
|
+
function keyBuilder$1N(luvio, config) {
|
|
21351
21351
|
return keyPrefix$1 + '::' + RepresentationType$L + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
21352
21352
|
}
|
|
21353
21353
|
function keyBuilderFromType$v(luvio, object) {
|
|
@@ -21357,7 +21357,7 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
21357
21357
|
type: object.info.listReference.type,
|
|
21358
21358
|
sortBy: object.records.sortBy
|
|
21359
21359
|
};
|
|
21360
|
-
return keyBuilder$
|
|
21360
|
+
return keyBuilder$1N(luvio, keyParams);
|
|
21361
21361
|
}
|
|
21362
21362
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
21363
21363
|
const input_info = input.info;
|
|
@@ -21833,7 +21833,7 @@ const LIST_INFO_SELECTIONS_ETAG = [
|
|
|
21833
21833
|
* @param luvio Luvio
|
|
21834
21834
|
*/
|
|
21835
21835
|
function getListInfo(luvio, listRef, storeLookup) {
|
|
21836
|
-
const key = keyBuilder$
|
|
21836
|
+
const key = keyBuilder$1S(luvio, { ...listRef });
|
|
21837
21837
|
return storeLookup({
|
|
21838
21838
|
recordId: key,
|
|
21839
21839
|
node: {
|
|
@@ -21960,7 +21960,7 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
|
|
|
21960
21960
|
addDefaultFields(qualifiedField, defaultFields_);
|
|
21961
21961
|
}
|
|
21962
21962
|
}
|
|
21963
|
-
const key = keyBuilder$
|
|
21963
|
+
const key = keyBuilder$1O(luvio, {
|
|
21964
21964
|
listViewId: listInfo.eTag,
|
|
21965
21965
|
sortBy: sortBy || null,
|
|
21966
21966
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -22005,7 +22005,7 @@ let context$1;
|
|
|
22005
22005
|
function setContext$1(adapterContext) {
|
|
22006
22006
|
context$1 = adapterContext;
|
|
22007
22007
|
}
|
|
22008
|
-
function keyBuilder$
|
|
22008
|
+
function keyBuilder$1M(luvio, params) {
|
|
22009
22009
|
const query = {
|
|
22010
22010
|
objectApiName: params.urlParams.objectApiName,
|
|
22011
22011
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -22016,7 +22016,7 @@ function keyBuilder$1L(luvio, params) {
|
|
|
22016
22016
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
22017
22017
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
22018
22018
|
const defaults = getServerDefaults(config, context$1);
|
|
22019
|
-
return keyBuilder$
|
|
22019
|
+
return keyBuilder$1O(luvio, {
|
|
22020
22020
|
objectApiName: listReference.objectApiName,
|
|
22021
22021
|
listViewApiName: listReference.listViewApiName,
|
|
22022
22022
|
listViewId: listReference.id,
|
|
@@ -22025,7 +22025,7 @@ function keyBuilder$1L(luvio, params) {
|
|
|
22025
22025
|
}
|
|
22026
22026
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
22027
22027
|
// Assuming that listViewId is empty and continue on
|
|
22028
|
-
return keyBuilder$
|
|
22028
|
+
return keyBuilder$1O(luvio, {
|
|
22029
22029
|
objectApiName: params.urlParams.objectApiName,
|
|
22030
22030
|
listViewApiName: params.urlParams.listViewApiName,
|
|
22031
22031
|
listViewId: '',
|
|
@@ -22050,7 +22050,7 @@ function select$1w(luvio, params) {
|
|
|
22050
22050
|
}
|
|
22051
22051
|
function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
22052
22052
|
const { body } = response;
|
|
22053
|
-
const key = keyBuilder$
|
|
22053
|
+
const key = keyBuilder$1M(luvio, resourceParams);
|
|
22054
22054
|
luvio.storeIngest(key, ingest$F$1, body);
|
|
22055
22055
|
const optionalFields = resourceParams.queryParams.optionalFields;
|
|
22056
22056
|
if (optionalFields && optionalFields.length > 0) {
|
|
@@ -22087,7 +22087,7 @@ function getResponseCacheKeys$Q(luvio, resourceParams, response) {
|
|
|
22087
22087
|
return getTypeCacheKeys$M$1(luvio, response);
|
|
22088
22088
|
}
|
|
22089
22089
|
function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
22090
|
-
const key = keyBuilder$
|
|
22090
|
+
const key = keyBuilder$1M(luvio, params);
|
|
22091
22091
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22092
22092
|
const storeMetadataParams = {
|
|
22093
22093
|
ttl: TTL$u,
|
|
@@ -22167,14 +22167,14 @@ function isErrorSnapshot(snapshot) {
|
|
|
22167
22167
|
|
|
22168
22168
|
const VERSION$10$1 = "c6347b2701bb8ffb0b6ca6c027011c57";
|
|
22169
22169
|
const RepresentationType$K = 'ListViewSummaryRepresentation';
|
|
22170
|
-
function keyBuilder$
|
|
22170
|
+
function keyBuilder$1L(luvio, config) {
|
|
22171
22171
|
return keyPrefix$1 + '::' + RepresentationType$K + ':' + config.id;
|
|
22172
22172
|
}
|
|
22173
22173
|
function keyBuilderFromType$u(luvio, object) {
|
|
22174
22174
|
const keyParams = {
|
|
22175
22175
|
id: object.id
|
|
22176
22176
|
};
|
|
22177
|
-
return keyBuilder$
|
|
22177
|
+
return keyBuilder$1L(luvio, keyParams);
|
|
22178
22178
|
}
|
|
22179
22179
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
22180
22180
|
return input;
|
|
@@ -22265,7 +22265,7 @@ function getTypeCacheKeys$K$1(luvio, input, fullPathFactory) {
|
|
|
22265
22265
|
|
|
22266
22266
|
const VERSION$$$1 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
22267
22267
|
const RepresentationType$J = 'ListViewSummaryCollectionRepresentation';
|
|
22268
|
-
function keyBuilder$
|
|
22268
|
+
function keyBuilder$1K(luvio, config) {
|
|
22269
22269
|
return keyPrefix$1 + '::' + RepresentationType$J + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
22270
22270
|
}
|
|
22271
22271
|
function keyBuilderFromType$t(luvio, object) {
|
|
@@ -22274,7 +22274,7 @@ function keyBuilderFromType$t(luvio, object) {
|
|
|
22274
22274
|
queryString: object.queryString,
|
|
22275
22275
|
recentListsOnly: object.recentListsOnly
|
|
22276
22276
|
};
|
|
22277
|
-
return keyBuilder$
|
|
22277
|
+
return keyBuilder$1K(luvio, keyParams);
|
|
22278
22278
|
}
|
|
22279
22279
|
function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
22280
22280
|
const input_lists = input.lists;
|
|
@@ -22556,8 +22556,8 @@ function select$1t(luvio, params) {
|
|
|
22556
22556
|
const paginationParams = createPaginationParams$2(params);
|
|
22557
22557
|
return select$1u(paginationParams);
|
|
22558
22558
|
}
|
|
22559
|
-
function keyBuilder$
|
|
22560
|
-
return keyBuilder$
|
|
22559
|
+
function keyBuilder$1J(luvio, params) {
|
|
22560
|
+
return keyBuilder$1K(luvio, {
|
|
22561
22561
|
objectApiName: params.urlParams.objectApiName,
|
|
22562
22562
|
queryString: params.queryParams.q || null,
|
|
22563
22563
|
recentListsOnly: params.queryParams.recentListsOnly || false
|
|
@@ -22568,7 +22568,7 @@ function getResponseCacheKeys$P(luvio, resourceParams, response) {
|
|
|
22568
22568
|
}
|
|
22569
22569
|
function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
22570
22570
|
const { body } = response;
|
|
22571
|
-
const key = keyBuilder$
|
|
22571
|
+
const key = keyBuilder$1J(luvio, resourceParams);
|
|
22572
22572
|
luvio.storeIngest(key, ingest$C$1, body);
|
|
22573
22573
|
const snapshot = luvio.storeLookup({
|
|
22574
22574
|
recordId: key,
|
|
@@ -22579,7 +22579,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22579
22579
|
return snapshot;
|
|
22580
22580
|
}
|
|
22581
22581
|
function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
22582
|
-
const key = keyBuilder$
|
|
22582
|
+
const key = keyBuilder$1J(luvio, params);
|
|
22583
22583
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22584
22584
|
luvio.storeIngestError(key, errorSnapshot);
|
|
22585
22585
|
return errorSnapshot;
|
|
@@ -22640,9 +22640,9 @@ function coerceConfig$y(config) {
|
|
|
22640
22640
|
}
|
|
22641
22641
|
return coercedConfig;
|
|
22642
22642
|
}
|
|
22643
|
-
function keyBuilder$
|
|
22643
|
+
function keyBuilder$1I(luvio, config) {
|
|
22644
22644
|
const resourceParams = createResourceParams$P(config);
|
|
22645
|
-
return keyBuilder$
|
|
22645
|
+
return keyBuilder$1J(luvio, resourceParams);
|
|
22646
22646
|
}
|
|
22647
22647
|
function typeCheckConfig$W(untrustedConfig) {
|
|
22648
22648
|
const config = {};
|
|
@@ -22744,7 +22744,7 @@ function getCachedItemsNumber$2(cacheSnapshot) {
|
|
|
22744
22744
|
return items.length;
|
|
22745
22745
|
}
|
|
22746
22746
|
function getPaginationMetadata$2(luvio, resourceParams) {
|
|
22747
|
-
const key = keyBuilder$
|
|
22747
|
+
const key = keyBuilder$1J(luvio, resourceParams);
|
|
22748
22748
|
const selector = {
|
|
22749
22749
|
recordId: key,
|
|
22750
22750
|
node: {
|
|
@@ -22802,7 +22802,7 @@ function buildNetworkSnapshotCachePolicy$J(context, coercedAdapterRequestContext
|
|
|
22802
22802
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
22803
22803
|
const { luvio, config } = context;
|
|
22804
22804
|
const selector = {
|
|
22805
|
-
recordId: keyBuilder$
|
|
22805
|
+
recordId: keyBuilder$1I(luvio, config),
|
|
22806
22806
|
node: adapterFragment$B(luvio, config),
|
|
22807
22807
|
variables: {},
|
|
22808
22808
|
};
|
|
@@ -22832,8 +22832,8 @@ function createPaginationParams$1(params) {
|
|
|
22832
22832
|
pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
|
|
22833
22833
|
};
|
|
22834
22834
|
}
|
|
22835
|
-
function keyBuilder$
|
|
22836
|
-
return keyBuilder$
|
|
22835
|
+
function keyBuilder$1H(luvio, params) {
|
|
22836
|
+
return keyBuilder$1N(luvio, {
|
|
22837
22837
|
listViewApiName: null,
|
|
22838
22838
|
objectApiName: params.urlParams.objectApiName,
|
|
22839
22839
|
type: "mru",
|
|
@@ -23048,7 +23048,7 @@ function buildSnapshotRefresh_getMruListUi(luvio, config) {
|
|
|
23048
23048
|
function onResourceSuccess_getMruListUi(luvio, config, response) {
|
|
23049
23049
|
const { body } = response;
|
|
23050
23050
|
const listInfo = body.info;
|
|
23051
|
-
const listUiKey = keyBuilder$
|
|
23051
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23052
23052
|
...listInfo.listReference,
|
|
23053
23053
|
sortBy: body.records.sortBy,
|
|
23054
23054
|
});
|
|
@@ -23072,7 +23072,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
|
|
|
23072
23072
|
const listFields_ = fields || listFields(luvio, config, listInfo);
|
|
23073
23073
|
const resourceParams = createResourceParams$O(config);
|
|
23074
23074
|
const selector = {
|
|
23075
|
-
recordId: keyBuilder$
|
|
23075
|
+
recordId: keyBuilder$1H(luvio, resourceParams),
|
|
23076
23076
|
node: buildListUiFragment$1(config, listFields_),
|
|
23077
23077
|
variables: {},
|
|
23078
23078
|
};
|
|
@@ -23163,7 +23163,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
23163
23163
|
const { body } = response;
|
|
23164
23164
|
const { listInfoETag } = body;
|
|
23165
23165
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
23166
|
-
luvio.storeIngest(keyBuilder$
|
|
23166
|
+
luvio.storeIngest(keyBuilder$1O(luvio, {
|
|
23167
23167
|
listViewId: listInfoETag,
|
|
23168
23168
|
sortBy: body.sortBy,
|
|
23169
23169
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -23174,7 +23174,7 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
|
|
|
23174
23174
|
}
|
|
23175
23175
|
function onResourceError_getMruListRecords(luvio, config, listInfo, err) {
|
|
23176
23176
|
const errorSnapshot = luvio.errorSnapshot(err, buildSnapshotRefresh_getMruListUi(luvio, config));
|
|
23177
|
-
luvio.storeIngestError(keyBuilder$
|
|
23177
|
+
luvio.storeIngestError(keyBuilder$1N(luvio, {
|
|
23178
23178
|
...listInfo.listReference,
|
|
23179
23179
|
sortBy: config.sortBy === undefined ? null : config.sortBy,
|
|
23180
23180
|
}), errorSnapshot);
|
|
@@ -23342,7 +23342,7 @@ function buildListUiFragment(config, context, fields) {
|
|
|
23342
23342
|
return dynamicSelect$6(listRecordCollectionSelectParams, paginationParams);
|
|
23343
23343
|
}
|
|
23344
23344
|
function buildCachedSnapshot$7(luvio, storeLookup, context, config, listInfo, fields) {
|
|
23345
|
-
const listUiKey = keyBuilder$
|
|
23345
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23346
23346
|
...listInfo.listReference,
|
|
23347
23347
|
sortBy: getSortBy(config, context),
|
|
23348
23348
|
});
|
|
@@ -23394,7 +23394,7 @@ function prepareRequest_getListUi(config) {
|
|
|
23394
23394
|
}
|
|
23395
23395
|
function onResourceSuccess_getListUi(luvio, context, config, response) {
|
|
23396
23396
|
const { body } = response, listInfo = body.info, { listReference } = listInfo;
|
|
23397
|
-
const listUiKey = keyBuilder$
|
|
23397
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23398
23398
|
...listReference,
|
|
23399
23399
|
sortBy: body.records.sortBy,
|
|
23400
23400
|
});
|
|
@@ -23518,7 +23518,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
23518
23518
|
const { body } = response;
|
|
23519
23519
|
const { listInfoETag } = body;
|
|
23520
23520
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
23521
|
-
luvio.storeIngest(keyBuilder$
|
|
23521
|
+
luvio.storeIngest(keyBuilder$1O(luvio, {
|
|
23522
23522
|
listViewId: listInfoETag,
|
|
23523
23523
|
sortBy: body.sortBy,
|
|
23524
23524
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -23529,7 +23529,7 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
|
|
|
23529
23529
|
}
|
|
23530
23530
|
function onResourceError_getListRecords(luvio, context, config, listInfo, err) {
|
|
23531
23531
|
const errorSnapshot = luvio.errorSnapshot(err);
|
|
23532
|
-
luvio.storeIngestError(keyBuilder$
|
|
23532
|
+
luvio.storeIngestError(keyBuilder$1N(luvio, {
|
|
23533
23533
|
...listInfo.listReference,
|
|
23534
23534
|
sortBy: getSortBy(config, context),
|
|
23535
23535
|
}), errorSnapshot);
|
|
@@ -23700,14 +23700,14 @@ const factory$g = (luvio) => {
|
|
|
23700
23700
|
const TTL$t = 900000;
|
|
23701
23701
|
const VERSION$_$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
23702
23702
|
const RepresentationType$I = 'ObjectInfoRepresentation';
|
|
23703
|
-
function keyBuilder$
|
|
23703
|
+
function keyBuilder$1G(luvio, config) {
|
|
23704
23704
|
return keyPrefix$1 + '::' + RepresentationType$I + ':' + config.apiName;
|
|
23705
23705
|
}
|
|
23706
23706
|
function keyBuilderFromType$s(luvio, object) {
|
|
23707
23707
|
const keyParams = {
|
|
23708
23708
|
apiName: object.apiName
|
|
23709
23709
|
};
|
|
23710
|
-
return keyBuilder$
|
|
23710
|
+
return keyBuilder$1G(luvio, keyParams);
|
|
23711
23711
|
}
|
|
23712
23712
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
23713
23713
|
return input;
|
|
@@ -23862,8 +23862,8 @@ function getTypeCacheKeys$I$1(luvio, input, fullPathFactory) {
|
|
|
23862
23862
|
function select$1r(luvio, params) {
|
|
23863
23863
|
return select$1s();
|
|
23864
23864
|
}
|
|
23865
|
-
function keyBuilder$
|
|
23866
|
-
return keyBuilder$
|
|
23865
|
+
function keyBuilder$1F(luvio, params) {
|
|
23866
|
+
return keyBuilder$1G(luvio, {
|
|
23867
23867
|
apiName: params.urlParams.objectApiName
|
|
23868
23868
|
});
|
|
23869
23869
|
}
|
|
@@ -23872,7 +23872,7 @@ function getResponseCacheKeys$O(luvio, resourceParams, response) {
|
|
|
23872
23872
|
}
|
|
23873
23873
|
function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
23874
23874
|
const { body } = response;
|
|
23875
|
-
const key = keyBuilder$
|
|
23875
|
+
const key = keyBuilder$1F(luvio, resourceParams);
|
|
23876
23876
|
luvio.storeIngest(key, ingest$B$1, body);
|
|
23877
23877
|
const snapshot = luvio.storeLookup({
|
|
23878
23878
|
recordId: key,
|
|
@@ -23883,7 +23883,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23883
23883
|
return snapshot;
|
|
23884
23884
|
}
|
|
23885
23885
|
function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
23886
|
-
const key = keyBuilder$
|
|
23886
|
+
const key = keyBuilder$1F(luvio, params);
|
|
23887
23887
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23888
23888
|
const storeMetadataParams = {
|
|
23889
23889
|
ttl: TTL$t,
|
|
@@ -23932,9 +23932,9 @@ function coerceConfig$w(config) {
|
|
|
23932
23932
|
}
|
|
23933
23933
|
return coercedConfig;
|
|
23934
23934
|
}
|
|
23935
|
-
function keyBuilder$
|
|
23935
|
+
function keyBuilder$1E(luvio, config) {
|
|
23936
23936
|
const resourceParams = createResourceParams$N(config);
|
|
23937
|
-
return keyBuilder$
|
|
23937
|
+
return keyBuilder$1F(luvio, resourceParams);
|
|
23938
23938
|
}
|
|
23939
23939
|
function typeCheckConfig$U(untrustedConfig) {
|
|
23940
23940
|
const config = {};
|
|
@@ -24003,7 +24003,7 @@ function buildNetworkSnapshotCachePolicy$I(context, coercedAdapterRequestContext
|
|
|
24003
24003
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
24004
24004
|
const { luvio, config } = context;
|
|
24005
24005
|
const selector = {
|
|
24006
|
-
recordId: keyBuilder$
|
|
24006
|
+
recordId: keyBuilder$1E(luvio, config),
|
|
24007
24007
|
node: adapterFragment$A(luvio, config),
|
|
24008
24008
|
variables: {},
|
|
24009
24009
|
};
|
|
@@ -24036,7 +24036,7 @@ var DiscriminatorValues$4;
|
|
|
24036
24036
|
const TTL$s = 900000;
|
|
24037
24037
|
const VERSION$Z$1 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
24038
24038
|
const RepresentationType$H = 'RecordLayoutRepresentation';
|
|
24039
|
-
function keyBuilder$
|
|
24039
|
+
function keyBuilder$1D(luvio, config) {
|
|
24040
24040
|
return keyPrefix$1 + '::' + RepresentationType$H + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
24041
24041
|
}
|
|
24042
24042
|
function keyBuilderFromType$r(luvio, object) {
|
|
@@ -24046,7 +24046,7 @@ function keyBuilderFromType$r(luvio, object) {
|
|
|
24046
24046
|
layoutType: object.layoutType,
|
|
24047
24047
|
mode: object.mode
|
|
24048
24048
|
};
|
|
24049
|
-
return keyBuilder$
|
|
24049
|
+
return keyBuilder$1D(luvio, keyParams);
|
|
24050
24050
|
}
|
|
24051
24051
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
24052
24052
|
return input;
|
|
@@ -24137,7 +24137,7 @@ function getTypeCacheKeys$H$1(luvio, input, fullPathFactory) {
|
|
|
24137
24137
|
const TTL$r = 900000;
|
|
24138
24138
|
const VERSION$Y$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
24139
24139
|
const RepresentationType$G = 'RecordLayoutUserStateRepresentation';
|
|
24140
|
-
function keyBuilder$
|
|
24140
|
+
function keyBuilder$1C(luvio, config) {
|
|
24141
24141
|
return keyPrefix$1 + '::' + RepresentationType$G + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
24142
24142
|
}
|
|
24143
24143
|
function keyBuilderFromType$q(luvio, object) {
|
|
@@ -24147,7 +24147,7 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
24147
24147
|
layoutType: object.layoutType,
|
|
24148
24148
|
mode: object.mode
|
|
24149
24149
|
};
|
|
24150
|
-
return keyBuilder$
|
|
24150
|
+
return keyBuilder$1C(luvio, keyParams);
|
|
24151
24151
|
}
|
|
24152
24152
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
24153
24153
|
return input;
|
|
@@ -24814,7 +24814,7 @@ function collectRecordDefs(resp, recordIds) {
|
|
|
24814
24814
|
}
|
|
24815
24815
|
return recordDefs;
|
|
24816
24816
|
}
|
|
24817
|
-
function keyBuilder$
|
|
24817
|
+
function keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields) {
|
|
24818
24818
|
const joinedRecordIds = recordIds.sort().join(',');
|
|
24819
24819
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
24820
24820
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
@@ -24848,7 +24848,7 @@ function markRecordUiOptionalFields(optionalFields, recordLookupFields, recordNo
|
|
|
24848
24848
|
}
|
|
24849
24849
|
function prepareRequest$4(luvio, config) {
|
|
24850
24850
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
24851
|
-
const key = keyBuilder$
|
|
24851
|
+
const key = keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields);
|
|
24852
24852
|
const selectorKey = buildCachedSelectorKey(key);
|
|
24853
24853
|
const resourceRequest = createResourceRequest$R({
|
|
24854
24854
|
urlParams: {
|
|
@@ -24943,7 +24943,7 @@ function onFetchResponseSuccess$D(luvio, config, selectorKey, key, responseBody)
|
|
|
24943
24943
|
const validRecordIds = [];
|
|
24944
24944
|
for (let i = 0, len = recordIds.length; i < len; i += 1) {
|
|
24945
24945
|
const recordId = recordIds[i];
|
|
24946
|
-
const recordKey = keyBuilder$
|
|
24946
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
24947
24947
|
const node = luvio.getNode(recordKey);
|
|
24948
24948
|
if (isGraphNode(node)) {
|
|
24949
24949
|
recordNodes.push(node);
|
|
@@ -25010,7 +25010,7 @@ function publishDependencies(luvio, recordIds, depKeys) {
|
|
|
25010
25010
|
function buildCachedSelectorSnapshot(context, storeLookup) {
|
|
25011
25011
|
const { config } = context;
|
|
25012
25012
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
25013
|
-
const key = keyBuilder$
|
|
25013
|
+
const key = keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields);
|
|
25014
25014
|
const cachedSelectorKey = buildCachedSelectorKey(key);
|
|
25015
25015
|
return storeLookup({
|
|
25016
25016
|
recordId: cachedSelectorKey,
|
|
@@ -25109,7 +25109,7 @@ function refresh$1(luvio, config) {
|
|
|
25109
25109
|
return buildNetworkSnapshot$S(luvio, recordUiConfig).then((snapshot) => {
|
|
25110
25110
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
25111
25111
|
if (isErrorSnapshot(snapshot)) {
|
|
25112
|
-
var recordKey = keyBuilder$
|
|
25112
|
+
var recordKey = keyBuilder$1R(luvio, { recordId });
|
|
25113
25113
|
luvio.storeIngestError(recordKey, snapshot);
|
|
25114
25114
|
return luvio.storeBroadcast().then(() => luvio.errorSnapshot(snapshot.error, refresh));
|
|
25115
25115
|
}
|
|
@@ -25249,7 +25249,7 @@ function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
|
25249
25249
|
const { config, luvio } = context;
|
|
25250
25250
|
// get cached copy of the record
|
|
25251
25251
|
const { recordId } = config;
|
|
25252
|
-
const storeKey = keyBuilder$
|
|
25252
|
+
const storeKey = keyBuilder$1R(luvio, { recordId });
|
|
25253
25253
|
const recordSnapshot = storeLookup({
|
|
25254
25254
|
recordId: storeKey,
|
|
25255
25255
|
node: {
|
|
@@ -25276,7 +25276,7 @@ const buildObjectInfoCacheSnapshot = (recordLayoutSnapshot) => (context, storeLo
|
|
|
25276
25276
|
};
|
|
25277
25277
|
const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) => (context, storeLookup) => {
|
|
25278
25278
|
const { luvio } = context;
|
|
25279
|
-
const key = keyBuilder$
|
|
25279
|
+
const key = keyBuilder$1D(luvio, {
|
|
25280
25280
|
objectApiName: apiName,
|
|
25281
25281
|
recordTypeId,
|
|
25282
25282
|
layoutType,
|
|
@@ -25484,7 +25484,7 @@ function coerceKeyParams(config) {
|
|
|
25484
25484
|
}
|
|
25485
25485
|
const notifyChangeFactory = (luvio) => {
|
|
25486
25486
|
return function getUiApiRecordsByRecordIdNotifyChange(configs) {
|
|
25487
|
-
const keys = configs.map((c) => keyBuilder$
|
|
25487
|
+
const keys = configs.map((c) => keyBuilder$1R(luvio, coerceKeyParams(c)));
|
|
25488
25488
|
luvio.getNotifyChangeStoreEntries(keys).then((entries) => {
|
|
25489
25489
|
const responsePromises = [];
|
|
25490
25490
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
@@ -25545,14 +25545,14 @@ const factory$e = (luvio) => function getRecord(untrustedConfig, requestContext)
|
|
|
25545
25545
|
|
|
25546
25546
|
const VERSION$W$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
25547
25547
|
const RepresentationType$E = 'QuickActionExecutionRepresentation';
|
|
25548
|
-
function keyBuilder$
|
|
25548
|
+
function keyBuilder$1A(luvio, config) {
|
|
25549
25549
|
return keyPrefix$1 + '::' + RepresentationType$E + ':' + config.id;
|
|
25550
25550
|
}
|
|
25551
25551
|
function keyBuilderFromType$p(luvio, object) {
|
|
25552
25552
|
const keyParams = {
|
|
25553
25553
|
id: object.id
|
|
25554
25554
|
};
|
|
25555
|
-
return keyBuilder$
|
|
25555
|
+
return keyBuilder$1A(luvio, keyParams);
|
|
25556
25556
|
}
|
|
25557
25557
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
25558
25558
|
return input;
|
|
@@ -25668,7 +25668,7 @@ function getTypeCacheKeys$F$1(luvio, input, fullPathFactory) {
|
|
|
25668
25668
|
|
|
25669
25669
|
const VERSION$V$1 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
25670
25670
|
const RepresentationType$D = 'PlatformActionRepresentation';
|
|
25671
|
-
function keyBuilder$
|
|
25671
|
+
function keyBuilder$1z(luvio, config) {
|
|
25672
25672
|
return keyPrefix$1 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
25673
25673
|
}
|
|
25674
25674
|
function keyBuilderFromType$o(luvio, object) {
|
|
@@ -25677,7 +25677,7 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
25677
25677
|
relatedSourceObject: object.relatedSourceObject,
|
|
25678
25678
|
relatedListRecordId: object.relatedListRecordId
|
|
25679
25679
|
};
|
|
25680
|
-
return keyBuilder$
|
|
25680
|
+
return keyBuilder$1z(luvio, keyParams);
|
|
25681
25681
|
}
|
|
25682
25682
|
function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
25683
25683
|
return input;
|
|
@@ -25901,14 +25901,14 @@ function getTypeCacheKeys$E$1(luvio, input, fullPathFactory) {
|
|
|
25901
25901
|
|
|
25902
25902
|
const VERSION$U$1 = "378d506f563a4bd724b322d440df33d1";
|
|
25903
25903
|
const RepresentationType$C = 'EntityActionRepresentation';
|
|
25904
|
-
function keyBuilder$
|
|
25904
|
+
function keyBuilder$1y(luvio, config) {
|
|
25905
25905
|
return keyPrefix$1 + '::' + RepresentationType$C + ':' + config.url;
|
|
25906
25906
|
}
|
|
25907
25907
|
function keyBuilderFromType$n(luvio, object) {
|
|
25908
25908
|
const keyParams = {
|
|
25909
25909
|
url: object.url
|
|
25910
25910
|
};
|
|
25911
|
-
return keyBuilder$
|
|
25911
|
+
return keyBuilder$1y(luvio, keyParams);
|
|
25912
25912
|
}
|
|
25913
25913
|
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
25914
25914
|
const input_actions = input.actions;
|
|
@@ -26128,15 +26128,15 @@ function getTypeCacheKeys$C$1(luvio, input, fullPathFactory) {
|
|
|
26128
26128
|
function select$1k(luvio, params) {
|
|
26129
26129
|
return select$1l();
|
|
26130
26130
|
}
|
|
26131
|
-
function keyBuilder$
|
|
26131
|
+
function keyBuilder$1x(luvio, params) {
|
|
26132
26132
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
26133
26133
|
}
|
|
26134
26134
|
function getResponseCacheKeys$N(luvio, resourceParams, response) {
|
|
26135
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26135
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1x(luvio, resourceParams));
|
|
26136
26136
|
}
|
|
26137
26137
|
function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
26138
26138
|
const { body } = response;
|
|
26139
|
-
const key = keyBuilder$
|
|
26139
|
+
const key = keyBuilder$1x(luvio, resourceParams);
|
|
26140
26140
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26141
26141
|
const snapshot = luvio.storeLookup({
|
|
26142
26142
|
recordId: key,
|
|
@@ -26147,7 +26147,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
26147
26147
|
return snapshot;
|
|
26148
26148
|
}
|
|
26149
26149
|
function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
26150
|
-
const key = keyBuilder$
|
|
26150
|
+
const key = keyBuilder$1x(luvio, params);
|
|
26151
26151
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26152
26152
|
const storeMetadataParams = {
|
|
26153
26153
|
ttl: TTL$p,
|
|
@@ -26234,9 +26234,9 @@ function coerceConfig$u(config) {
|
|
|
26234
26234
|
}
|
|
26235
26235
|
return coercedConfig;
|
|
26236
26236
|
}
|
|
26237
|
-
function keyBuilder$
|
|
26237
|
+
function keyBuilder$1w(luvio, config) {
|
|
26238
26238
|
const resourceParams = createResourceParams$M(config);
|
|
26239
|
-
return keyBuilder$
|
|
26239
|
+
return keyBuilder$1x(luvio, resourceParams);
|
|
26240
26240
|
}
|
|
26241
26241
|
function typeCheckConfig$S(untrustedConfig) {
|
|
26242
26242
|
const config = {};
|
|
@@ -26342,7 +26342,7 @@ function buildNetworkSnapshotCachePolicy$H(context, coercedAdapterRequestContext
|
|
|
26342
26342
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
26343
26343
|
const { luvio, config } = context;
|
|
26344
26344
|
const selector = {
|
|
26345
|
-
recordId: keyBuilder$
|
|
26345
|
+
recordId: keyBuilder$1w(luvio, config),
|
|
26346
26346
|
node: adapterFragment$z(luvio, config),
|
|
26347
26347
|
variables: {},
|
|
26348
26348
|
};
|
|
@@ -26365,14 +26365,14 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
26365
26365
|
const TTL$o = 900000;
|
|
26366
26366
|
const VERSION$S$1 = "3c5af9dc4086169091e3c5df2414c495";
|
|
26367
26367
|
const RepresentationType$A = 'QuickActionLayoutRepresentation';
|
|
26368
|
-
function keyBuilder$
|
|
26368
|
+
function keyBuilder$1v(luvio, config) {
|
|
26369
26369
|
return keyPrefix$1 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
26370
26370
|
}
|
|
26371
26371
|
function keyBuilderFromType$m(luvio, object) {
|
|
26372
26372
|
const keyParams = {
|
|
26373
26373
|
actionApiName: object.actionApiName
|
|
26374
26374
|
};
|
|
26375
|
-
return keyBuilder$
|
|
26375
|
+
return keyBuilder$1v(luvio, keyParams);
|
|
26376
26376
|
}
|
|
26377
26377
|
function normalize$t(input, existing, path, luvio, store, timestamp) {
|
|
26378
26378
|
return input;
|
|
@@ -26442,8 +26442,8 @@ function getTypeCacheKeys$B$1(luvio, input, fullPathFactory) {
|
|
|
26442
26442
|
function select$1i(luvio, params) {
|
|
26443
26443
|
return select$1j();
|
|
26444
26444
|
}
|
|
26445
|
-
function keyBuilder$
|
|
26446
|
-
return keyBuilder$
|
|
26445
|
+
function keyBuilder$1u(luvio, params) {
|
|
26446
|
+
return keyBuilder$1v(luvio, {
|
|
26447
26447
|
actionApiName: params.urlParams.actionApiName
|
|
26448
26448
|
});
|
|
26449
26449
|
}
|
|
@@ -26452,7 +26452,7 @@ function getResponseCacheKeys$M(luvio, resourceParams, response) {
|
|
|
26452
26452
|
}
|
|
26453
26453
|
function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
26454
26454
|
const { body } = response;
|
|
26455
|
-
const key = keyBuilder$
|
|
26455
|
+
const key = keyBuilder$1u(luvio, resourceParams);
|
|
26456
26456
|
luvio.storeIngest(key, ingest$t$1, body);
|
|
26457
26457
|
const snapshot = luvio.storeLookup({
|
|
26458
26458
|
recordId: key,
|
|
@@ -26463,7 +26463,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
26463
26463
|
return snapshot;
|
|
26464
26464
|
}
|
|
26465
26465
|
function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
26466
|
-
const key = keyBuilder$
|
|
26466
|
+
const key = keyBuilder$1u(luvio, params);
|
|
26467
26467
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26468
26468
|
const storeMetadataParams = {
|
|
26469
26469
|
ttl: TTL$o,
|
|
@@ -26504,9 +26504,9 @@ function createResourceParams$L(config) {
|
|
|
26504
26504
|
};
|
|
26505
26505
|
return resourceParams;
|
|
26506
26506
|
}
|
|
26507
|
-
function keyBuilder$
|
|
26507
|
+
function keyBuilder$1t(luvio, config) {
|
|
26508
26508
|
const resourceParams = createResourceParams$L(config);
|
|
26509
|
-
return keyBuilder$
|
|
26509
|
+
return keyBuilder$1u(luvio, resourceParams);
|
|
26510
26510
|
}
|
|
26511
26511
|
function typeCheckConfig$R(untrustedConfig) {
|
|
26512
26512
|
const config = {};
|
|
@@ -26574,7 +26574,7 @@ function buildNetworkSnapshotCachePolicy$G(context, coercedAdapterRequestContext
|
|
|
26574
26574
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
26575
26575
|
const { luvio, config } = context;
|
|
26576
26576
|
const selector = {
|
|
26577
|
-
recordId: keyBuilder$
|
|
26577
|
+
recordId: keyBuilder$1t(luvio, config),
|
|
26578
26578
|
node: adapterFragment$y(luvio, config),
|
|
26579
26579
|
variables: {},
|
|
26580
26580
|
};
|
|
@@ -26597,15 +26597,15 @@ const getQuickActionLayoutAdapterFactory = (luvio) => function UiApi__getQuickAc
|
|
|
26597
26597
|
function select$1h(luvio, params) {
|
|
26598
26598
|
return select$1l();
|
|
26599
26599
|
}
|
|
26600
|
-
function keyBuilder$
|
|
26600
|
+
function keyBuilder$1s(luvio, params) {
|
|
26601
26601
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
26602
26602
|
}
|
|
26603
26603
|
function getResponseCacheKeys$L(luvio, resourceParams, response) {
|
|
26604
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26604
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1s(luvio, resourceParams));
|
|
26605
26605
|
}
|
|
26606
26606
|
function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
26607
26607
|
const { body } = response;
|
|
26608
|
-
const key = keyBuilder$
|
|
26608
|
+
const key = keyBuilder$1s(luvio, resourceParams);
|
|
26609
26609
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26610
26610
|
const snapshot = luvio.storeLookup({
|
|
26611
26611
|
recordId: key,
|
|
@@ -26616,7 +26616,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
26616
26616
|
return snapshot;
|
|
26617
26617
|
}
|
|
26618
26618
|
function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
26619
|
-
const key = keyBuilder$
|
|
26619
|
+
const key = keyBuilder$1s(luvio, params);
|
|
26620
26620
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26621
26621
|
const storeMetadataParams = {
|
|
26622
26622
|
ttl: TTL$p,
|
|
@@ -26712,9 +26712,9 @@ function coerceConfig$t(config) {
|
|
|
26712
26712
|
}
|
|
26713
26713
|
return coercedConfig;
|
|
26714
26714
|
}
|
|
26715
|
-
function keyBuilder$
|
|
26715
|
+
function keyBuilder$1r(luvio, config) {
|
|
26716
26716
|
const resourceParams = createResourceParams$K(config);
|
|
26717
|
-
return keyBuilder$
|
|
26717
|
+
return keyBuilder$1s(luvio, resourceParams);
|
|
26718
26718
|
}
|
|
26719
26719
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
26720
26720
|
const config = {};
|
|
@@ -26816,7 +26816,7 @@ function buildNetworkSnapshotCachePolicy$F(context, coercedAdapterRequestContext
|
|
|
26816
26816
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
26817
26817
|
const { luvio, config } = context;
|
|
26818
26818
|
const selector = {
|
|
26819
|
-
recordId: keyBuilder$
|
|
26819
|
+
recordId: keyBuilder$1r(luvio, config),
|
|
26820
26820
|
node: adapterFragment$x(luvio, config),
|
|
26821
26821
|
variables: {},
|
|
26822
26822
|
};
|
|
@@ -26839,15 +26839,15 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
26839
26839
|
function select$1g(luvio, params) {
|
|
26840
26840
|
return select$1l();
|
|
26841
26841
|
}
|
|
26842
|
-
function keyBuilder$
|
|
26842
|
+
function keyBuilder$1q(luvio, params) {
|
|
26843
26843
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26844
26844
|
}
|
|
26845
26845
|
function getResponseCacheKeys$K(luvio, resourceParams, response) {
|
|
26846
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26846
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1q(luvio, resourceParams));
|
|
26847
26847
|
}
|
|
26848
26848
|
function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
26849
26849
|
const { body } = response;
|
|
26850
|
-
const key = keyBuilder$
|
|
26850
|
+
const key = keyBuilder$1q(luvio, resourceParams);
|
|
26851
26851
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26852
26852
|
const snapshot = luvio.storeLookup({
|
|
26853
26853
|
recordId: key,
|
|
@@ -26858,7 +26858,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
26858
26858
|
return snapshot;
|
|
26859
26859
|
}
|
|
26860
26860
|
function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
26861
|
-
const key = keyBuilder$
|
|
26861
|
+
const key = keyBuilder$1q(luvio, params);
|
|
26862
26862
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26863
26863
|
const storeMetadataParams = {
|
|
26864
26864
|
ttl: TTL$p,
|
|
@@ -26922,9 +26922,9 @@ function coerceConfig$s(config) {
|
|
|
26922
26922
|
}
|
|
26923
26923
|
return coercedConfig;
|
|
26924
26924
|
}
|
|
26925
|
-
function keyBuilder$
|
|
26925
|
+
function keyBuilder$1p(luvio, config) {
|
|
26926
26926
|
const resourceParams = createResourceParams$J(config);
|
|
26927
|
-
return keyBuilder$
|
|
26927
|
+
return keyBuilder$1q(luvio, resourceParams);
|
|
26928
26928
|
}
|
|
26929
26929
|
function typeCheckConfig$P(untrustedConfig) {
|
|
26930
26930
|
const config = {};
|
|
@@ -27019,7 +27019,7 @@ function buildNetworkSnapshotCachePolicy$E(context, coercedAdapterRequestContext
|
|
|
27019
27019
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
27020
27020
|
const { luvio, config } = context;
|
|
27021
27021
|
const selector = {
|
|
27022
|
-
recordId: keyBuilder$
|
|
27022
|
+
recordId: keyBuilder$1p(luvio, config),
|
|
27023
27023
|
node: adapterFragment$w(luvio, config),
|
|
27024
27024
|
variables: {},
|
|
27025
27025
|
};
|
|
@@ -27097,15 +27097,15 @@ function getTypeCacheKeys$A$1(luvio, input, fullPathFactory) {
|
|
|
27097
27097
|
function select$1e(luvio, params) {
|
|
27098
27098
|
return select$1f();
|
|
27099
27099
|
}
|
|
27100
|
-
function keyBuilder$
|
|
27100
|
+
function keyBuilder$1o(luvio, params) {
|
|
27101
27101
|
return keyPrefix$1 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
27102
27102
|
}
|
|
27103
27103
|
function getResponseCacheKeys$J(luvio, resourceParams, response) {
|
|
27104
|
-
return getTypeCacheKeys$A$1(luvio, response, () => keyBuilder$
|
|
27104
|
+
return getTypeCacheKeys$A$1(luvio, response, () => keyBuilder$1o(luvio, resourceParams));
|
|
27105
27105
|
}
|
|
27106
27106
|
function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
27107
27107
|
const { body } = response;
|
|
27108
|
-
const key = keyBuilder$
|
|
27108
|
+
const key = keyBuilder$1o(luvio, resourceParams);
|
|
27109
27109
|
luvio.storeIngest(key, ingest$s$1, body);
|
|
27110
27110
|
const snapshot = luvio.storeLookup({
|
|
27111
27111
|
recordId: key,
|
|
@@ -27116,7 +27116,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
27116
27116
|
return snapshot;
|
|
27117
27117
|
}
|
|
27118
27118
|
function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
27119
|
-
const key = keyBuilder$
|
|
27119
|
+
const key = keyBuilder$1o(luvio, params);
|
|
27120
27120
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27121
27121
|
luvio.storeIngestError(key, errorSnapshot);
|
|
27122
27122
|
return errorSnapshot;
|
|
@@ -27166,9 +27166,9 @@ function coerceConfig$r(config) {
|
|
|
27166
27166
|
}
|
|
27167
27167
|
return coercedConfig;
|
|
27168
27168
|
}
|
|
27169
|
-
function keyBuilder$
|
|
27169
|
+
function keyBuilder$1n(luvio, config) {
|
|
27170
27170
|
const resourceParams = createResourceParams$I(config);
|
|
27171
|
-
return keyBuilder$
|
|
27171
|
+
return keyBuilder$1o(luvio, resourceParams);
|
|
27172
27172
|
}
|
|
27173
27173
|
function typeCheckConfig$O(untrustedConfig) {
|
|
27174
27174
|
const config = {};
|
|
@@ -27241,7 +27241,7 @@ function buildNetworkSnapshotCachePolicy$D(context, coercedAdapterRequestContext
|
|
|
27241
27241
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
27242
27242
|
const { luvio, config } = context;
|
|
27243
27243
|
const selector = {
|
|
27244
|
-
recordId: keyBuilder$
|
|
27244
|
+
recordId: keyBuilder$1n(luvio, config),
|
|
27245
27245
|
node: adapterFragment$v(luvio, config),
|
|
27246
27246
|
variables: {},
|
|
27247
27247
|
};
|
|
@@ -27264,14 +27264,14 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
27264
27264
|
const TTL$n = 900000;
|
|
27265
27265
|
const VERSION$Q$1 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
27266
27266
|
const RepresentationType$y = 'QuickActionDefaultsRepresentation';
|
|
27267
|
-
function keyBuilder$
|
|
27267
|
+
function keyBuilder$1m(luvio, config) {
|
|
27268
27268
|
return keyPrefix$1 + '::' + RepresentationType$y + ':' + config.actionApiName;
|
|
27269
27269
|
}
|
|
27270
27270
|
function keyBuilderFromType$l(luvio, object) {
|
|
27271
27271
|
const keyParams = {
|
|
27272
27272
|
actionApiName: object.actionApiName
|
|
27273
27273
|
};
|
|
27274
|
-
return keyBuilder$
|
|
27274
|
+
return keyBuilder$1m(luvio, keyParams);
|
|
27275
27275
|
}
|
|
27276
27276
|
function dynamicNormalize$4(ingestParams) {
|
|
27277
27277
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -27451,8 +27451,8 @@ function selectFields$6(luvio, params) {
|
|
|
27451
27451
|
return selectFields$7(trie);
|
|
27452
27452
|
}
|
|
27453
27453
|
|
|
27454
|
-
function keyBuilder$
|
|
27455
|
-
return keyBuilder$
|
|
27454
|
+
function keyBuilder$1l(luvio, params) {
|
|
27455
|
+
return keyBuilder$1m(luvio, {
|
|
27456
27456
|
actionApiName: params.urlParams.actionApiName
|
|
27457
27457
|
});
|
|
27458
27458
|
}
|
|
@@ -27460,7 +27460,7 @@ function getResponseCacheKeys$I(luvio, resourceParams, response) {
|
|
|
27460
27460
|
return getTypeCacheKeys$z$1(luvio, response);
|
|
27461
27461
|
}
|
|
27462
27462
|
function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
27463
|
-
const key = keyBuilder$
|
|
27463
|
+
const key = keyBuilder$1l(luvio, params);
|
|
27464
27464
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27465
27465
|
const storeMetadataParams = {
|
|
27466
27466
|
ttl: TTL$n,
|
|
@@ -27492,7 +27492,7 @@ function adapterFragment$u(luvio, config) {
|
|
|
27492
27492
|
function buildNetworkSnapshot$L(luvio, config, options) {
|
|
27493
27493
|
const resourceParams = createResourceParams$H(config);
|
|
27494
27494
|
const request = createResourceRequest$L(resourceParams);
|
|
27495
|
-
const key = keyBuilder$
|
|
27495
|
+
const key = keyBuilder$1k(luvio, config);
|
|
27496
27496
|
const trackedFieldsConfig = {
|
|
27497
27497
|
maxDepth: configurationForRestAdapters$1.getTrackedFieldDepthOnCacheMiss(),
|
|
27498
27498
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters$1.getTrackedFieldLeafNodeIdAndNameOnly()
|
|
@@ -27553,9 +27553,9 @@ function coerceConfig$q(config) {
|
|
|
27553
27553
|
}
|
|
27554
27554
|
return coercedConfig;
|
|
27555
27555
|
}
|
|
27556
|
-
function keyBuilder$
|
|
27556
|
+
function keyBuilder$1k(luvio, config) {
|
|
27557
27557
|
const resourceParams = createResourceParams$H(config);
|
|
27558
|
-
return keyBuilder$
|
|
27558
|
+
return keyBuilder$1l(luvio, resourceParams);
|
|
27559
27559
|
}
|
|
27560
27560
|
function typeCheckConfig$N(untrustedConfig) {
|
|
27561
27561
|
const config = {};
|
|
@@ -27593,7 +27593,7 @@ function validateAdapterConfig$O(untrustedConfig, configPropertyNames) {
|
|
|
27593
27593
|
}
|
|
27594
27594
|
function buildCachedSnapshot$6(luvio, config) {
|
|
27595
27595
|
const selector = {
|
|
27596
|
-
recordId: keyBuilder$
|
|
27596
|
+
recordId: keyBuilder$1k(luvio, config),
|
|
27597
27597
|
node: adapterFragment$u(luvio, config),
|
|
27598
27598
|
variables: {},
|
|
27599
27599
|
};
|
|
@@ -27629,7 +27629,7 @@ function buildNetworkSnapshotCachePolicy$C(context, coercedAdapterRequestContext
|
|
|
27629
27629
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
27630
27630
|
const { luvio, config } = context;
|
|
27631
27631
|
const selector = {
|
|
27632
|
-
recordId: keyBuilder$
|
|
27632
|
+
recordId: keyBuilder$1k(luvio, config),
|
|
27633
27633
|
node: adapterFragment$u(luvio, config),
|
|
27634
27634
|
variables: {},
|
|
27635
27635
|
};
|
|
@@ -27652,15 +27652,15 @@ const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuick
|
|
|
27652
27652
|
function select$1d(luvio, params) {
|
|
27653
27653
|
return select$1l();
|
|
27654
27654
|
}
|
|
27655
|
-
function keyBuilder$
|
|
27655
|
+
function keyBuilder$1j(luvio, params) {
|
|
27656
27656
|
return keyPrefix$1 + '::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 + ')';
|
|
27657
27657
|
}
|
|
27658
27658
|
function getResponseCacheKeys$H(luvio, resourceParams, response) {
|
|
27659
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
27659
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1j(luvio, resourceParams));
|
|
27660
27660
|
}
|
|
27661
27661
|
function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
27662
27662
|
const { body } = response;
|
|
27663
|
-
const key = keyBuilder$
|
|
27663
|
+
const key = keyBuilder$1j(luvio, resourceParams);
|
|
27664
27664
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
27665
27665
|
const snapshot = luvio.storeLookup({
|
|
27666
27666
|
recordId: key,
|
|
@@ -27671,7 +27671,7 @@ function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
27671
27671
|
return snapshot;
|
|
27672
27672
|
}
|
|
27673
27673
|
function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
27674
|
-
const key = keyBuilder$
|
|
27674
|
+
const key = keyBuilder$1j(luvio, params);
|
|
27675
27675
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27676
27676
|
const storeMetadataParams = {
|
|
27677
27677
|
ttl: TTL$p,
|
|
@@ -27743,9 +27743,9 @@ function coerceConfig$p(config) {
|
|
|
27743
27743
|
}
|
|
27744
27744
|
return coercedConfig;
|
|
27745
27745
|
}
|
|
27746
|
-
function keyBuilder$
|
|
27746
|
+
function keyBuilder$1i(luvio, config) {
|
|
27747
27747
|
const resourceParams = createResourceParams$G(config);
|
|
27748
|
-
return keyBuilder$
|
|
27748
|
+
return keyBuilder$1j(luvio, resourceParams);
|
|
27749
27749
|
}
|
|
27750
27750
|
function typeCheckConfig$M(untrustedConfig) {
|
|
27751
27751
|
const config = {};
|
|
@@ -27866,7 +27866,7 @@ function buildNetworkSnapshotCachePolicy$B(context, coercedAdapterRequestContext
|
|
|
27866
27866
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
27867
27867
|
const { luvio, config } = context;
|
|
27868
27868
|
const selector = {
|
|
27869
|
-
recordId: keyBuilder$
|
|
27869
|
+
recordId: keyBuilder$1i(luvio, config),
|
|
27870
27870
|
node: adapterFragment$t(luvio, config),
|
|
27871
27871
|
variables: {},
|
|
27872
27872
|
};
|
|
@@ -27889,15 +27889,15 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
27889
27889
|
function select$1c(luvio, params) {
|
|
27890
27890
|
return select$1l();
|
|
27891
27891
|
}
|
|
27892
|
-
function keyBuilder$
|
|
27892
|
+
function keyBuilder$1h(luvio, params) {
|
|
27893
27893
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
27894
27894
|
}
|
|
27895
27895
|
function getResponseCacheKeys$G(luvio, resourceParams, response) {
|
|
27896
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
27896
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1h(luvio, resourceParams));
|
|
27897
27897
|
}
|
|
27898
27898
|
function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
27899
27899
|
const { body } = response;
|
|
27900
|
-
const key = keyBuilder$
|
|
27900
|
+
const key = keyBuilder$1h(luvio, resourceParams);
|
|
27901
27901
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
27902
27902
|
const snapshot = luvio.storeLookup({
|
|
27903
27903
|
recordId: key,
|
|
@@ -27908,7 +27908,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
27908
27908
|
return snapshot;
|
|
27909
27909
|
}
|
|
27910
27910
|
function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
27911
|
-
const key = keyBuilder$
|
|
27911
|
+
const key = keyBuilder$1h(luvio, params);
|
|
27912
27912
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27913
27913
|
const storeMetadataParams = {
|
|
27914
27914
|
ttl: TTL$p,
|
|
@@ -27972,9 +27972,9 @@ function coerceConfig$o(config) {
|
|
|
27972
27972
|
}
|
|
27973
27973
|
return coercedConfig;
|
|
27974
27974
|
}
|
|
27975
|
-
function keyBuilder$
|
|
27975
|
+
function keyBuilder$1g(luvio, config) {
|
|
27976
27976
|
const resourceParams = createResourceParams$F(config);
|
|
27977
|
-
return keyBuilder$
|
|
27977
|
+
return keyBuilder$1h(luvio, resourceParams);
|
|
27978
27978
|
}
|
|
27979
27979
|
function typeCheckConfig$L(untrustedConfig) {
|
|
27980
27980
|
const config = {};
|
|
@@ -28076,7 +28076,7 @@ function buildNetworkSnapshotCachePolicy$A(context, coercedAdapterRequestContext
|
|
|
28076
28076
|
function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
28077
28077
|
const { luvio, config } = context;
|
|
28078
28078
|
const selector = {
|
|
28079
|
-
recordId: keyBuilder$
|
|
28079
|
+
recordId: keyBuilder$1g(luvio, config),
|
|
28080
28080
|
node: adapterFragment$s(luvio, config),
|
|
28081
28081
|
variables: {},
|
|
28082
28082
|
};
|
|
@@ -28169,15 +28169,15 @@ function validate$10(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
28169
28169
|
function select$1b$1(luvio, params) {
|
|
28170
28170
|
return select$1l();
|
|
28171
28171
|
}
|
|
28172
|
-
function keyBuilder$
|
|
28172
|
+
function keyBuilder$1f(luvio, params) {
|
|
28173
28173
|
return keyPrefix$1 + '::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) + ')';
|
|
28174
28174
|
}
|
|
28175
28175
|
function getResponseCacheKeys$F(luvio, resourceParams, response) {
|
|
28176
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
28176
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1f(luvio, resourceParams));
|
|
28177
28177
|
}
|
|
28178
28178
|
function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
28179
28179
|
const { body } = response;
|
|
28180
|
-
const key = keyBuilder$
|
|
28180
|
+
const key = keyBuilder$1f(luvio, resourceParams);
|
|
28181
28181
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
28182
28182
|
const snapshot = luvio.storeLookup({
|
|
28183
28183
|
recordId: key,
|
|
@@ -28188,7 +28188,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
28188
28188
|
return snapshot;
|
|
28189
28189
|
}
|
|
28190
28190
|
function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
28191
|
-
const key = keyBuilder$
|
|
28191
|
+
const key = keyBuilder$1f(luvio, params);
|
|
28192
28192
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28193
28193
|
const storeMetadataParams = {
|
|
28194
28194
|
ttl: TTL$p,
|
|
@@ -28263,7 +28263,7 @@ function select$1a$1(luvio, resourceParams) {
|
|
|
28263
28263
|
for (let i = 0, len = childResources.length; i < len; i += 1) {
|
|
28264
28264
|
reader.enterPath(i);
|
|
28265
28265
|
const childResource = childResources[i];
|
|
28266
|
-
const childKey = keyBuilder$
|
|
28266
|
+
const childKey = keyBuilder$1f(luvio, childResource);
|
|
28267
28267
|
const childFragment = select$1b$1();
|
|
28268
28268
|
const childSnapshot = reader.read({
|
|
28269
28269
|
recordId: childKey,
|
|
@@ -28310,7 +28310,7 @@ function select$1a$1(luvio, resourceParams) {
|
|
|
28310
28310
|
},
|
|
28311
28311
|
};
|
|
28312
28312
|
}
|
|
28313
|
-
function keyBuilder$
|
|
28313
|
+
function keyBuilder$1e(luvio, params) {
|
|
28314
28314
|
return (keyPrefix$1 +
|
|
28315
28315
|
'::' +
|
|
28316
28316
|
'ActionRelatedListsCollectionBatchRepresentation(' +
|
|
@@ -28322,7 +28322,7 @@ function ingestSuccess$v(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
28322
28322
|
const childEnvelopes = response.body.results;
|
|
28323
28323
|
const childResourceParamsArray = createChildResourceParams$6(resourceParams);
|
|
28324
28324
|
let snapshotState = 'Fulfilled';
|
|
28325
|
-
const key = keyBuilder$
|
|
28325
|
+
const key = keyBuilder$1e(luvio, resourceParams);
|
|
28326
28326
|
const childSnapshotDataResponses = [];
|
|
28327
28327
|
let seenRecords = new StoreKeySet();
|
|
28328
28328
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
@@ -28362,7 +28362,7 @@ function ingestSuccess$v(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
28362
28362
|
errorType: 'fetchResponse',
|
|
28363
28363
|
};
|
|
28364
28364
|
ingestError$s(luvio, childResourceParams, childResponse);
|
|
28365
|
-
seenRecords.add(keyBuilder$
|
|
28365
|
+
seenRecords.add(keyBuilder$1f(luvio, childResourceParams));
|
|
28366
28366
|
const childValue = {
|
|
28367
28367
|
statusCode: childStatusCode,
|
|
28368
28368
|
result: childBody,
|
|
@@ -28388,7 +28388,7 @@ function ingestSuccess$v(luvio, resourceParams, response, _snapshotRefresh) {
|
|
|
28388
28388
|
};
|
|
28389
28389
|
}
|
|
28390
28390
|
function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
28391
|
-
const key = keyBuilder$
|
|
28391
|
+
const key = keyBuilder$1e(luvio, params);
|
|
28392
28392
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28393
28393
|
luvio.storeIngestError(key, errorSnapshot);
|
|
28394
28394
|
return errorSnapshot;
|
|
@@ -28407,7 +28407,7 @@ function getResponseCacheKeys$E(luvio, resourceParams, response) {
|
|
|
28407
28407
|
keys.merge(childKeys);
|
|
28408
28408
|
}
|
|
28409
28409
|
else if (childStatusCode === 404) {
|
|
28410
|
-
const childKey = keyBuilder$
|
|
28410
|
+
const childKey = keyBuilder$1f(luvio, childResourceParams);
|
|
28411
28411
|
keys.set(childKey, {
|
|
28412
28412
|
namespace: keyPrefix$1,
|
|
28413
28413
|
representationName: childKey.split('::')[1].split(':')[0],
|
|
@@ -28462,9 +28462,9 @@ function coerceConfig$n(config) {
|
|
|
28462
28462
|
}
|
|
28463
28463
|
return coercedConfig;
|
|
28464
28464
|
}
|
|
28465
|
-
function keyBuilder$
|
|
28465
|
+
function keyBuilder$1d(luvio, config) {
|
|
28466
28466
|
const resourceParams = createResourceParams$E(config);
|
|
28467
|
-
return keyBuilder$
|
|
28467
|
+
return keyBuilder$1e(luvio, resourceParams);
|
|
28468
28468
|
}
|
|
28469
28469
|
function typeCheckConfig$K(untrustedConfig) {
|
|
28470
28470
|
const config = {};
|
|
@@ -28549,7 +28549,7 @@ function buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext
|
|
|
28549
28549
|
function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
28550
28550
|
const { luvio, config } = context;
|
|
28551
28551
|
const selector = {
|
|
28552
|
-
recordId: keyBuilder$
|
|
28552
|
+
recordId: keyBuilder$1d(luvio, config),
|
|
28553
28553
|
node: adapterFragment$r(luvio, config),
|
|
28554
28554
|
variables: {},
|
|
28555
28555
|
};
|
|
@@ -28633,9 +28633,9 @@ function coerceConfig$m(config) {
|
|
|
28633
28633
|
}
|
|
28634
28634
|
return coercedConfig;
|
|
28635
28635
|
}
|
|
28636
|
-
function keyBuilder$
|
|
28636
|
+
function keyBuilder$1c(luvio, config) {
|
|
28637
28637
|
const resourceParams = createResourceParams$D(config);
|
|
28638
|
-
return keyBuilder$
|
|
28638
|
+
return keyBuilder$1f(luvio, resourceParams);
|
|
28639
28639
|
}
|
|
28640
28640
|
function typeCheckConfig$J(untrustedConfig) {
|
|
28641
28641
|
const config = {};
|
|
@@ -28756,7 +28756,7 @@ function buildNetworkSnapshotCachePolicy$y(context, coercedAdapterRequestContext
|
|
|
28756
28756
|
function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
28757
28757
|
const { luvio, config } = context;
|
|
28758
28758
|
const selector = {
|
|
28759
|
-
recordId: keyBuilder$
|
|
28759
|
+
recordId: keyBuilder$1c(luvio, config),
|
|
28760
28760
|
node: adapterFragment$q(luvio, config),
|
|
28761
28761
|
variables: {},
|
|
28762
28762
|
};
|
|
@@ -28779,15 +28779,15 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28779
28779
|
function select$19$1(luvio, params) {
|
|
28780
28780
|
return select$1l();
|
|
28781
28781
|
}
|
|
28782
|
-
function keyBuilder$
|
|
28782
|
+
function keyBuilder$1b(luvio, params) {
|
|
28783
28783
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
28784
28784
|
}
|
|
28785
28785
|
function getResponseCacheKeys$D(luvio, resourceParams, response) {
|
|
28786
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
28786
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1b(luvio, resourceParams));
|
|
28787
28787
|
}
|
|
28788
28788
|
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
28789
28789
|
const { body } = response;
|
|
28790
|
-
const key = keyBuilder$
|
|
28790
|
+
const key = keyBuilder$1b(luvio, resourceParams);
|
|
28791
28791
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
28792
28792
|
const snapshot = luvio.storeLookup({
|
|
28793
28793
|
recordId: key,
|
|
@@ -28798,7 +28798,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
28798
28798
|
return snapshot;
|
|
28799
28799
|
}
|
|
28800
28800
|
function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
28801
|
-
const key = keyBuilder$
|
|
28801
|
+
const key = keyBuilder$1b(luvio, params);
|
|
28802
28802
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28803
28803
|
const storeMetadataParams = {
|
|
28804
28804
|
ttl: TTL$p,
|
|
@@ -28866,9 +28866,9 @@ function coerceConfig$l(config) {
|
|
|
28866
28866
|
}
|
|
28867
28867
|
return coercedConfig;
|
|
28868
28868
|
}
|
|
28869
|
-
function keyBuilder$
|
|
28869
|
+
function keyBuilder$1a(luvio, config) {
|
|
28870
28870
|
const resourceParams = createResourceParams$C(config);
|
|
28871
|
-
return keyBuilder$
|
|
28871
|
+
return keyBuilder$1b(luvio, resourceParams);
|
|
28872
28872
|
}
|
|
28873
28873
|
function typeCheckConfig$I(untrustedConfig) {
|
|
28874
28874
|
const config = {};
|
|
@@ -28981,7 +28981,7 @@ function buildNetworkSnapshotCachePolicy$x(context, coercedAdapterRequestContext
|
|
|
28981
28981
|
function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
28982
28982
|
const { luvio, config } = context;
|
|
28983
28983
|
const selector = {
|
|
28984
|
-
recordId: keyBuilder$
|
|
28984
|
+
recordId: keyBuilder$1a(luvio, config),
|
|
28985
28985
|
node: adapterFragment$p(luvio, config),
|
|
28986
28986
|
variables: {},
|
|
28987
28987
|
};
|
|
@@ -29059,14 +29059,14 @@ function getTypeCacheKeys$y$1(luvio, input, fullPathFactory) {
|
|
|
29059
29059
|
const TTL$m = 120000;
|
|
29060
29060
|
const VERSION$O$1 = "09884ca5bf90ea4662092a4e48817081";
|
|
29061
29061
|
const RepresentationType$w = 'NavItemRepresentation';
|
|
29062
|
-
function keyBuilder$
|
|
29062
|
+
function keyBuilder$19(luvio, config) {
|
|
29063
29063
|
return keyPrefix$1 + '::' + RepresentationType$w + ':' + config.developerName;
|
|
29064
29064
|
}
|
|
29065
29065
|
function keyBuilderFromType$k(luvio, object) {
|
|
29066
29066
|
const keyParams = {
|
|
29067
29067
|
developerName: object.developerName
|
|
29068
29068
|
};
|
|
29069
|
-
return keyBuilder$
|
|
29069
|
+
return keyBuilder$19(luvio, keyParams);
|
|
29070
29070
|
}
|
|
29071
29071
|
function normalize$q(input, existing, path, luvio, store, timestamp) {
|
|
29072
29072
|
const input_pageReference = input.pageReference;
|
|
@@ -29282,14 +29282,14 @@ function getTypeCacheKeys$x$1(luvio, input, fullPathFactory) {
|
|
|
29282
29282
|
const TTL$l = 300000;
|
|
29283
29283
|
const VERSION$N$1 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
29284
29284
|
const RepresentationType$v = 'AppRepresentation';
|
|
29285
|
-
function keyBuilder$
|
|
29285
|
+
function keyBuilder$18(luvio, config) {
|
|
29286
29286
|
return keyPrefix$1 + '::' + RepresentationType$v + ':' + (config.appId === null ? '' : config.appId);
|
|
29287
29287
|
}
|
|
29288
29288
|
function keyBuilderFromType$j(luvio, object) {
|
|
29289
29289
|
const keyParams = {
|
|
29290
29290
|
appId: object.appId
|
|
29291
29291
|
};
|
|
29292
|
-
return keyBuilder$
|
|
29292
|
+
return keyBuilder$18(luvio, keyParams);
|
|
29293
29293
|
}
|
|
29294
29294
|
function normalize$p(input, existing, path, luvio, store, timestamp) {
|
|
29295
29295
|
const input_navItems = input.navItems;
|
|
@@ -29662,15 +29662,15 @@ function getTypeCacheKeys$v$1(luvio, input, fullPathFactory) {
|
|
|
29662
29662
|
function select$14$1(luvio, params) {
|
|
29663
29663
|
return select$15$1();
|
|
29664
29664
|
}
|
|
29665
|
-
function keyBuilder$
|
|
29665
|
+
function keyBuilder$17$1(luvio, params) {
|
|
29666
29666
|
return keyPrefix$1 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
29667
29667
|
}
|
|
29668
29668
|
function getResponseCacheKeys$C(luvio, resourceParams, response) {
|
|
29669
|
-
return getTypeCacheKeys$v$1(luvio, response, () => keyBuilder$
|
|
29669
|
+
return getTypeCacheKeys$v$1(luvio, response, () => keyBuilder$17$1(luvio, resourceParams));
|
|
29670
29670
|
}
|
|
29671
29671
|
function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
29672
29672
|
const { body } = response;
|
|
29673
|
-
const key = keyBuilder$
|
|
29673
|
+
const key = keyBuilder$17$1(luvio, resourceParams);
|
|
29674
29674
|
luvio.storeIngest(key, ingest$o$1, body);
|
|
29675
29675
|
const snapshot = luvio.storeLookup({
|
|
29676
29676
|
recordId: key,
|
|
@@ -29681,7 +29681,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
29681
29681
|
return snapshot;
|
|
29682
29682
|
}
|
|
29683
29683
|
function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
29684
|
-
const key = keyBuilder$
|
|
29684
|
+
const key = keyBuilder$17$1(luvio, params);
|
|
29685
29685
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29686
29686
|
const storeMetadataParams = {
|
|
29687
29687
|
ttl: TTL$k,
|
|
@@ -29734,9 +29734,9 @@ function coerceConfig$k(config) {
|
|
|
29734
29734
|
}
|
|
29735
29735
|
return coercedConfig;
|
|
29736
29736
|
}
|
|
29737
|
-
function keyBuilder$
|
|
29737
|
+
function keyBuilder$16$1(luvio, config) {
|
|
29738
29738
|
const resourceParams = createResourceParams$B(config);
|
|
29739
|
-
return keyBuilder$
|
|
29739
|
+
return keyBuilder$17$1(luvio, resourceParams);
|
|
29740
29740
|
}
|
|
29741
29741
|
function typeCheckConfig$H(untrustedConfig) {
|
|
29742
29742
|
const config = {};
|
|
@@ -29809,7 +29809,7 @@ function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext
|
|
|
29809
29809
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
29810
29810
|
const { luvio, config } = context;
|
|
29811
29811
|
const selector = {
|
|
29812
|
-
recordId: keyBuilder$
|
|
29812
|
+
recordId: keyBuilder$16$1(luvio, config),
|
|
29813
29813
|
node: adapterFragment$o(luvio, config),
|
|
29814
29814
|
variables: {},
|
|
29815
29815
|
};
|
|
@@ -29832,8 +29832,8 @@ const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrusted
|
|
|
29832
29832
|
function select$13$1(luvio, params) {
|
|
29833
29833
|
return select$16$1();
|
|
29834
29834
|
}
|
|
29835
|
-
function keyBuilder$
|
|
29836
|
-
return keyBuilder$
|
|
29835
|
+
function keyBuilder$15$1(luvio, params) {
|
|
29836
|
+
return keyBuilder$18(luvio, {
|
|
29837
29837
|
appId: params.urlParams.appId
|
|
29838
29838
|
});
|
|
29839
29839
|
}
|
|
@@ -29842,7 +29842,7 @@ function getResponseCacheKeys$B(luvio, resourceParams, response) {
|
|
|
29842
29842
|
}
|
|
29843
29843
|
function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
29844
29844
|
const { body } = response;
|
|
29845
|
-
const key = keyBuilder$
|
|
29845
|
+
const key = keyBuilder$15$1(luvio, resourceParams);
|
|
29846
29846
|
luvio.storeIngest(key, ingest$p$1, body);
|
|
29847
29847
|
const snapshot = luvio.storeLookup({
|
|
29848
29848
|
recordId: key,
|
|
@@ -29853,7 +29853,7 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
29853
29853
|
return snapshot;
|
|
29854
29854
|
}
|
|
29855
29855
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
29856
|
-
const key = keyBuilder$
|
|
29856
|
+
const key = keyBuilder$15$1(luvio, params);
|
|
29857
29857
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29858
29858
|
const storeMetadataParams = {
|
|
29859
29859
|
ttl: TTL$l,
|
|
@@ -29913,9 +29913,9 @@ function coerceConfig$j(config) {
|
|
|
29913
29913
|
}
|
|
29914
29914
|
return coercedConfig;
|
|
29915
29915
|
}
|
|
29916
|
-
function keyBuilder$
|
|
29916
|
+
function keyBuilder$14$1(luvio, config) {
|
|
29917
29917
|
const resourceParams = createResourceParams$A(config);
|
|
29918
|
-
return keyBuilder$
|
|
29918
|
+
return keyBuilder$15$1(luvio, resourceParams);
|
|
29919
29919
|
}
|
|
29920
29920
|
function typeCheckConfig$G(untrustedConfig) {
|
|
29921
29921
|
const config = {};
|
|
@@ -29992,7 +29992,7 @@ function buildNetworkSnapshotCachePolicy$v(context, coercedAdapterRequestContext
|
|
|
29992
29992
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
29993
29993
|
const { luvio, config } = context;
|
|
29994
29994
|
const selector = {
|
|
29995
|
-
recordId: keyBuilder$
|
|
29995
|
+
recordId: keyBuilder$14$1(luvio, config),
|
|
29996
29996
|
node: adapterFragment$n(luvio, config),
|
|
29997
29997
|
variables: {},
|
|
29998
29998
|
};
|
|
@@ -30238,15 +30238,15 @@ function getTypeCacheKeys$u$1(luvio, input, fullPathFactory) {
|
|
|
30238
30238
|
function select$Z$1(luvio, params) {
|
|
30239
30239
|
return select$_$1();
|
|
30240
30240
|
}
|
|
30241
|
-
function keyBuilder$
|
|
30241
|
+
function keyBuilder$13$1(luvio, params) {
|
|
30242
30242
|
return keyPrefix$1 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
30243
30243
|
}
|
|
30244
30244
|
function getResponseCacheKeys$A(luvio, resourceParams, response) {
|
|
30245
|
-
return getTypeCacheKeys$u$1(luvio, response, () => keyBuilder$
|
|
30245
|
+
return getTypeCacheKeys$u$1(luvio, response, () => keyBuilder$13$1(luvio, resourceParams));
|
|
30246
30246
|
}
|
|
30247
30247
|
function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
|
|
30248
30248
|
const { body } = response;
|
|
30249
|
-
const key = keyBuilder$
|
|
30249
|
+
const key = keyBuilder$13$1(luvio, resourceParams);
|
|
30250
30250
|
luvio.storeIngest(key, ingest$n$1, body);
|
|
30251
30251
|
const snapshot = luvio.storeLookup({
|
|
30252
30252
|
recordId: key,
|
|
@@ -30257,7 +30257,7 @@ function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
30257
30257
|
return snapshot;
|
|
30258
30258
|
}
|
|
30259
30259
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
30260
|
-
const key = keyBuilder$
|
|
30260
|
+
const key = keyBuilder$13$1(luvio, params);
|
|
30261
30261
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30262
30262
|
const storeMetadataParams = {
|
|
30263
30263
|
ttl: TTL$j,
|
|
@@ -30301,9 +30301,9 @@ function createResourceParams$z(config) {
|
|
|
30301
30301
|
};
|
|
30302
30302
|
return resourceParams;
|
|
30303
30303
|
}
|
|
30304
|
-
function keyBuilder$
|
|
30304
|
+
function keyBuilder$12$1(luvio, config) {
|
|
30305
30305
|
const resourceParams = createResourceParams$z(config);
|
|
30306
|
-
return keyBuilder$
|
|
30306
|
+
return keyBuilder$13$1(luvio, resourceParams);
|
|
30307
30307
|
}
|
|
30308
30308
|
function typeCheckConfig$F(untrustedConfig) {
|
|
30309
30309
|
const config = {};
|
|
@@ -30375,7 +30375,7 @@ function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext
|
|
|
30375
30375
|
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
30376
30376
|
const { luvio, config } = context;
|
|
30377
30377
|
const selector = {
|
|
30378
|
-
recordId: keyBuilder$
|
|
30378
|
+
recordId: keyBuilder$12$1(luvio, config),
|
|
30379
30379
|
node: adapterFragment$m(luvio, config),
|
|
30380
30380
|
variables: {},
|
|
30381
30381
|
};
|
|
@@ -30395,14 +30395,14 @@ const getDuplicateConfigurationAdapterFactory = (luvio) => function UiApi__getDu
|
|
|
30395
30395
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
30396
30396
|
};
|
|
30397
30397
|
|
|
30398
|
-
function keyBuilder$
|
|
30398
|
+
function keyBuilder$11$1(luvio, params) {
|
|
30399
30399
|
return keyPrefix$1 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
30400
30400
|
}
|
|
30401
30401
|
function getResponseCacheKeys$z(luvio, resourceParams, response) {
|
|
30402
30402
|
return getTypeCacheKeys$H$1(luvio, response);
|
|
30403
30403
|
}
|
|
30404
30404
|
function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
30405
|
-
const key = keyBuilder$
|
|
30405
|
+
const key = keyBuilder$11$1(luvio, params);
|
|
30406
30406
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30407
30407
|
const storeMetadataParams = {
|
|
30408
30408
|
ttl: TTL$s,
|
|
@@ -30449,7 +30449,7 @@ function coerceLayoutMode(value) {
|
|
|
30449
30449
|
|
|
30450
30450
|
function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
30451
30451
|
const { body } = response;
|
|
30452
|
-
const key = keyBuilder$
|
|
30452
|
+
const key = keyBuilder$1D(luvio, config);
|
|
30453
30453
|
luvio.storeIngest(key, ingest$A$1, body);
|
|
30454
30454
|
const snapshot = luvio.storeLookup({
|
|
30455
30455
|
recordId: key,
|
|
@@ -30498,7 +30498,7 @@ function validateAdapterConfig$F(untrustedConfig, _configPropertyNames) {
|
|
|
30498
30498
|
function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
30499
30499
|
const { luvio, config } = context;
|
|
30500
30500
|
const selector = {
|
|
30501
|
-
recordId: keyBuilder$
|
|
30501
|
+
recordId: keyBuilder$1D(luvio, config),
|
|
30502
30502
|
node: select$1q(),
|
|
30503
30503
|
variables: {},
|
|
30504
30504
|
};
|
|
@@ -30642,7 +30642,7 @@ function createResourceRequest$B(config) {
|
|
|
30642
30642
|
|
|
30643
30643
|
function buildCachedSnapshot$5(luvio, config) {
|
|
30644
30644
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
30645
|
-
const key = keyBuilder$
|
|
30645
|
+
const key = keyBuilder$1C(luvio, {
|
|
30646
30646
|
apiName: objectApiName,
|
|
30647
30647
|
recordTypeId,
|
|
30648
30648
|
layoutType,
|
|
@@ -30695,7 +30695,7 @@ function onFetchResponseError$o(luvio, config, key, error) {
|
|
|
30695
30695
|
}
|
|
30696
30696
|
function prepareRequest$3(luvio, config) {
|
|
30697
30697
|
const { recordTypeId, layoutType, mode, objectApiName } = config;
|
|
30698
|
-
const key = keyBuilder$
|
|
30698
|
+
const key = keyBuilder$1C(luvio, {
|
|
30699
30699
|
apiName: objectApiName,
|
|
30700
30700
|
recordTypeId,
|
|
30701
30701
|
layoutType,
|
|
@@ -30760,7 +30760,7 @@ function buildCachedSnapshotCachePolicy$r(context, storeLookup) {
|
|
|
30760
30760
|
const { config, luvio } = context;
|
|
30761
30761
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
30762
30762
|
const selector = {
|
|
30763
|
-
recordId: keyBuilder$
|
|
30763
|
+
recordId: keyBuilder$1C(luvio, {
|
|
30764
30764
|
apiName: objectApiName,
|
|
30765
30765
|
recordTypeId,
|
|
30766
30766
|
layoutType,
|
|
@@ -30862,11 +30862,19 @@ const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUse
|
|
|
30862
30862
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$s);
|
|
30863
30863
|
};
|
|
30864
30864
|
|
|
30865
|
+
function keyBuilder$10$1(luvio, params) {
|
|
30866
|
+
return keyBuilder$1S(luvio, {
|
|
30867
|
+
objectApiName: params.urlParams.objectApiName,
|
|
30868
|
+
listViewApiName: params.urlParams.listViewApiName,
|
|
30869
|
+
type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
|
|
30870
|
+
});
|
|
30871
|
+
}
|
|
30872
|
+
|
|
30865
30873
|
function select$Y$1(luvio, params) {
|
|
30866
30874
|
return select$1C();
|
|
30867
30875
|
}
|
|
30868
30876
|
function keyBuilder$$$1(luvio, params) {
|
|
30869
|
-
return keyBuilder$
|
|
30877
|
+
return keyBuilder$1S(luvio, {
|
|
30870
30878
|
objectApiName: params.urlParams.objectApiName,
|
|
30871
30879
|
listViewApiName: params.urlParams.listViewApiName,
|
|
30872
30880
|
type: "listView"
|
|
@@ -30877,7 +30885,7 @@ function getResponseCacheKeys$x(luvio, resourceParams, response) {
|
|
|
30877
30885
|
}
|
|
30878
30886
|
function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
30879
30887
|
const { body } = response;
|
|
30880
|
-
const key = keyBuilder
|
|
30888
|
+
const key = keyBuilder$10$1(luvio, resourceParams);
|
|
30881
30889
|
luvio.storeIngest(key, ingest$J$1, body);
|
|
30882
30890
|
const snapshot = luvio.storeLookup({
|
|
30883
30891
|
recordId: key,
|
|
@@ -30888,7 +30896,7 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
30888
30896
|
return snapshot;
|
|
30889
30897
|
}
|
|
30890
30898
|
function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
30891
|
-
const key = keyBuilder
|
|
30899
|
+
const key = keyBuilder$10$1(luvio, params);
|
|
30892
30900
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30893
30901
|
const storeMetadataParams = {
|
|
30894
30902
|
ttl: TTL$x,
|
|
@@ -31337,7 +31345,7 @@ function createResourceParams$w(config) {
|
|
|
31337
31345
|
}
|
|
31338
31346
|
function keyBuilder$Y$1(luvio, config) {
|
|
31339
31347
|
const resourceParams = createResourceParams$w(config);
|
|
31340
|
-
return keyBuilder
|
|
31348
|
+
return keyBuilder$10$1(luvio, resourceParams);
|
|
31341
31349
|
}
|
|
31342
31350
|
function typeCheckConfig$B(untrustedConfig) {
|
|
31343
31351
|
const config = {};
|
|
@@ -31771,7 +31779,7 @@ function selectChildResourceParams$4(luvio, childResources, resourceParams) {
|
|
|
31771
31779
|
reader.enterPath(i);
|
|
31772
31780
|
reader.enterPath(envelopeBodyPath);
|
|
31773
31781
|
const childResource = childResources[i];
|
|
31774
|
-
const childKey = keyBuilder$
|
|
31782
|
+
const childKey = keyBuilder$1F(luvio, childResource);
|
|
31775
31783
|
const childFragment = select$1r();
|
|
31776
31784
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
31777
31785
|
const childSnapshot = reader.read({
|
|
@@ -31873,7 +31881,7 @@ function getResponseCacheKeys$u(luvio, resourceParams, response) {
|
|
|
31873
31881
|
keys.merge(childKeys);
|
|
31874
31882
|
}
|
|
31875
31883
|
else if (childStatusCode === 404) {
|
|
31876
|
-
const childKey = keyBuilder$
|
|
31884
|
+
const childKey = keyBuilder$1F(luvio, childResourceParams);
|
|
31877
31885
|
keys.set(childKey, {
|
|
31878
31886
|
namespace: keyPrefix$1,
|
|
31879
31887
|
representationName: RepresentationType$I,
|
|
@@ -31890,7 +31898,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
|
|
|
31890
31898
|
const now = Date.now();
|
|
31891
31899
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
31892
31900
|
const childResourceParams = childResourceParamsArray[index];
|
|
31893
|
-
const childKey = keyBuilder$
|
|
31901
|
+
const childKey = keyBuilder$1F(luvio, childResourceParams);
|
|
31894
31902
|
const result = childEnvelopes[index];
|
|
31895
31903
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
31896
31904
|
if (childStatusCode === 200) {
|
|
@@ -34196,7 +34204,7 @@ const getRecords_ConfigPropertyNames = {
|
|
|
34196
34204
|
const adapterName$j = 'getRecords';
|
|
34197
34205
|
function keyBuilder$M$1(luvio, config) {
|
|
34198
34206
|
const resourceParams = createResourceParams$S(config);
|
|
34199
|
-
return keyBuilder$
|
|
34207
|
+
return keyBuilder$1P(luvio, resourceParams);
|
|
34200
34208
|
}
|
|
34201
34209
|
function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
34202
34210
|
const snapshot = ingestError$E(luvio, resourceParams, response, {
|
|
@@ -40155,7 +40163,7 @@ const factory$b = (luvio) => {
|
|
|
40155
40163
|
recordTypeId,
|
|
40156
40164
|
},
|
|
40157
40165
|
});
|
|
40158
|
-
const key = keyBuilder$
|
|
40166
|
+
const key = keyBuilder$1C(luvio, {
|
|
40159
40167
|
apiName: objectApiName,
|
|
40160
40168
|
recordTypeId,
|
|
40161
40169
|
layoutType,
|
|
@@ -40212,7 +40220,7 @@ function createResourceParams$8(config) {
|
|
|
40212
40220
|
}
|
|
40213
40221
|
function keyBuilder$9$1(luvio, config) {
|
|
40214
40222
|
const resourceParams = createResourceParams$8(config);
|
|
40215
|
-
return keyBuilder$
|
|
40223
|
+
return keyBuilder$1M(luvio, resourceParams);
|
|
40216
40224
|
}
|
|
40217
40225
|
function typeCheckConfig$b(untrustedConfig) {
|
|
40218
40226
|
const config = {};
|
|
@@ -40342,7 +40350,7 @@ function getCachedItemsNumber(cacheSnapshot) {
|
|
|
40342
40350
|
return items.length;
|
|
40343
40351
|
}
|
|
40344
40352
|
function getPaginationMetadata(luvio, resourceParams) {
|
|
40345
|
-
const key = keyBuilder$
|
|
40353
|
+
const key = keyBuilder$1M(luvio, resourceParams);
|
|
40346
40354
|
const selector = {
|
|
40347
40355
|
recordId: key,
|
|
40348
40356
|
node: {
|
|
@@ -42683,7 +42691,7 @@ function createResourceParams$4(config) {
|
|
|
42683
42691
|
function onResponseSuccess$1(luvio, response, recordIngest, conflictMap) {
|
|
42684
42692
|
const { body } = response;
|
|
42685
42693
|
const selections = buildSelectionFromRecord(body);
|
|
42686
|
-
const key = keyBuilder$
|
|
42694
|
+
const key = keyBuilder$1R(luvio, {
|
|
42687
42695
|
recordId: body.id,
|
|
42688
42696
|
});
|
|
42689
42697
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -42729,7 +42737,7 @@ const factory$4 = (luvio) => {
|
|
|
42729
42737
|
};
|
|
42730
42738
|
|
|
42731
42739
|
function keyBuilder$1$1(luvio, params) {
|
|
42732
|
-
return keyBuilder$
|
|
42740
|
+
return keyBuilder$1R(luvio, {
|
|
42733
42741
|
recordId: params.urlParams.recordId
|
|
42734
42742
|
});
|
|
42735
42743
|
}
|
|
@@ -43016,7 +43024,7 @@ function getHeaders(clientOptions) {
|
|
|
43016
43024
|
function onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap) {
|
|
43017
43025
|
const { body } = response;
|
|
43018
43026
|
const sel = buildSelectionFromRecord(body);
|
|
43019
|
-
const key = keyBuilder$
|
|
43027
|
+
const key = keyBuilder$1R(luvio, {
|
|
43020
43028
|
recordId,
|
|
43021
43029
|
});
|
|
43022
43030
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -43074,14 +43082,14 @@ const factory$2 = (luvio) => {
|
|
|
43074
43082
|
|
|
43075
43083
|
const VERSION$1h = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
43076
43084
|
const RepresentationType$R = 'ContentDocumentCompositeRepresentation';
|
|
43077
|
-
function keyBuilder$
|
|
43085
|
+
function keyBuilder$1T(luvio, config) {
|
|
43078
43086
|
return keyPrefix$1 + '::' + RepresentationType$R + ':' + config.contentDocumentId;
|
|
43079
43087
|
}
|
|
43080
43088
|
function keyBuilderFromType$A(luvio, object) {
|
|
43081
43089
|
const keyParams = {
|
|
43082
43090
|
contentDocumentId: object.contentDocument.id
|
|
43083
43091
|
};
|
|
43084
|
-
return keyBuilder$
|
|
43092
|
+
return keyBuilder$1T(luvio, keyParams);
|
|
43085
43093
|
}
|
|
43086
43094
|
function normalize(input, existing, path, luvio, store, timestamp) {
|
|
43087
43095
|
const input_contentDocument = input.contentDocument;
|
|
@@ -43999,7 +44007,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43999
44007
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44000
44008
|
});
|
|
44001
44009
|
});
|
|
44002
|
-
// version: 1.150.
|
|
44010
|
+
// version: 1.150.8-fa67d0e5e
|
|
44003
44011
|
|
|
44004
44012
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44005
44013
|
|
|
@@ -54541,7 +54549,7 @@ function getRecordKeyFromRecordRequest(luvio, resourceRequest) {
|
|
|
54541
54549
|
* @param recordId record id
|
|
54542
54550
|
*/
|
|
54543
54551
|
function getRecordKeyForId(luvio, recordId) {
|
|
54544
|
-
return keyBuilder$
|
|
54552
|
+
return keyBuilder$1R(luvio, { recordId });
|
|
54545
54553
|
}
|
|
54546
54554
|
function filterOutReferenceFieldsAndLinks(record) {
|
|
54547
54555
|
const filteredFields = {};
|
|
@@ -54624,7 +54632,7 @@ function resolveResourceRequestIds(luvio, request, canonicalRecordStoreKey) {
|
|
|
54624
54632
|
if (recordId === undefined) {
|
|
54625
54633
|
return request;
|
|
54626
54634
|
}
|
|
54627
|
-
const recordKey = keyBuilder$
|
|
54635
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
54628
54636
|
if (canonicalRecordStoreKey === recordKey) {
|
|
54629
54637
|
// no mapping exists -- return the request un-modified
|
|
54630
54638
|
return request;
|
|
@@ -54735,7 +54743,7 @@ function extractDraftAndCanonicalIdsFromRequest(luvio, resourceRequest, env, isD
|
|
|
54735
54743
|
for (let i = 0, len = allIds.length; i < len; i++) {
|
|
54736
54744
|
const recordId = allIds[i];
|
|
54737
54745
|
if (isDraftId(recordId)) {
|
|
54738
|
-
const recordKey = keyBuilder$
|
|
54746
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
54739
54747
|
const canonicalKey = env.storeGetCanonicalKey(recordKey);
|
|
54740
54748
|
if (recordKey !== canonicalKey) {
|
|
54741
54749
|
// record is no longer a draft, include the canonical id in the request
|
|
@@ -55676,7 +55684,7 @@ function getDenormalizedKey(originalKey, recordId, luvio) {
|
|
|
55676
55684
|
if (originalKey.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX)) {
|
|
55677
55685
|
return RECORD_VIEW_ENTITY_ID_PREFIX + recordId;
|
|
55678
55686
|
}
|
|
55679
|
-
return keyBuilder$
|
|
55687
|
+
return keyBuilder$1R(luvio, { recordId });
|
|
55680
55688
|
}
|
|
55681
55689
|
function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecords, getStoreMetadata) {
|
|
55682
55690
|
const getEntries = function (entries, segment) {
|
|
@@ -56034,7 +56042,7 @@ class UiApiDraftRecordService {
|
|
|
56034
56042
|
return this.generateId(objectInfo.keyPrefix);
|
|
56035
56043
|
}
|
|
56036
56044
|
getKeyForId(id) {
|
|
56037
|
-
return keyBuilder$
|
|
56045
|
+
return keyBuilder$1R(this.getLuvio(), { recordId: id });
|
|
56038
56046
|
}
|
|
56039
56047
|
async synthesizeDraftRecord(recordId) {
|
|
56040
56048
|
const metadata = await this.getRecordDraftMetadata(recordId, undefined);
|
|
@@ -56144,7 +56152,7 @@ class QuickActionExecutionRepresentationHandler extends AbstractResourceRequestA
|
|
|
56144
56152
|
}
|
|
56145
56153
|
synchronousIngest(response) {
|
|
56146
56154
|
const luvio = this.getLuvio();
|
|
56147
|
-
const key = keyBuilder$
|
|
56155
|
+
const key = keyBuilder$1A(luvio, {
|
|
56148
56156
|
id: response.id,
|
|
56149
56157
|
});
|
|
56150
56158
|
luvio.storeIngest(key, ingest$x$1, response);
|
|
@@ -56607,7 +56615,7 @@ class ContentDocumentCompositeRepresentationActionHandler extends AbstractResour
|
|
|
56607
56615
|
return responseBody.contentDocument.id;
|
|
56608
56616
|
}
|
|
56609
56617
|
buildTagForTargetId(id) {
|
|
56610
|
-
return keyBuilder$
|
|
56618
|
+
return keyBuilder$1T(this.getLuvio(), {
|
|
56611
56619
|
contentDocumentId: id,
|
|
56612
56620
|
});
|
|
56613
56621
|
}
|
|
@@ -59418,7 +59426,7 @@ class SqlitePrimingStore {
|
|
|
59418
59426
|
const params = [];
|
|
59419
59427
|
records.forEach(({ record, metadata }) => {
|
|
59420
59428
|
idsToPrime.add(record.id);
|
|
59421
|
-
const key = keyBuilder$
|
|
59429
|
+
const key = keyBuilder$1R(this.getLuvio(), { recordId: record.id });
|
|
59422
59430
|
params.push(key);
|
|
59423
59431
|
params.push(JSON.stringify(record));
|
|
59424
59432
|
params.push(JSON.stringify(metadata));
|
|
@@ -59621,7 +59629,7 @@ register({
|
|
|
59621
59629
|
id: '@salesforce/lds-network-adapter',
|
|
59622
59630
|
instrument: instrument$1,
|
|
59623
59631
|
});
|
|
59624
|
-
// version: 1.150.
|
|
59632
|
+
// version: 1.150.8-02357881a
|
|
59625
59633
|
|
|
59626
59634
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59627
59635
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80466,7 +80474,7 @@ register({
|
|
|
80466
80474
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80467
80475
|
instrument,
|
|
80468
80476
|
});
|
|
80469
|
-
// version: 1.150.
|
|
80477
|
+
// version: 1.150.8-fa67d0e5e
|
|
80470
80478
|
|
|
80471
80479
|
// On core the unstable adapters are re-exported with different names,
|
|
80472
80480
|
|
|
@@ -80939,7 +80947,7 @@ function assignSelection(luvio, selection, builder, state, variables) {
|
|
|
80939
80947
|
}
|
|
80940
80948
|
case 'CustomFieldSelection': {
|
|
80941
80949
|
if (sel.type === 'Connection') {
|
|
80942
|
-
const recordKey = keyBuilder$
|
|
80950
|
+
const recordKey = keyBuilder$1R(luvio, {
|
|
80943
80951
|
recordId: state.source.id,
|
|
80944
80952
|
});
|
|
80945
80953
|
assignConnectionSelection(luvio, builder, sink, sel, recordKey, propertyName, variables);
|
|
@@ -82713,7 +82721,7 @@ withDefaultLuvio((luvio) => {
|
|
|
82713
82721
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
82714
82722
|
graphQLImperative = ldsAdapter;
|
|
82715
82723
|
});
|
|
82716
|
-
// version: 1.150.
|
|
82724
|
+
// version: 1.150.8-fa67d0e5e
|
|
82717
82725
|
|
|
82718
82726
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
82719
82727
|
__proto__: null,
|
|
@@ -83402,4 +83410,4 @@ const { luvio } = getRuntime();
|
|
|
83402
83410
|
setDefaultLuvio({ luvio });
|
|
83403
83411
|
|
|
83404
83412
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
83405
|
-
// version: 1.150.
|
|
83413
|
+
// version: 1.150.8-02357881a
|