@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.
|
@@ -3805,7 +3805,7 @@
|
|
|
3805
3805
|
}
|
|
3806
3806
|
callbacks.push(callback);
|
|
3807
3807
|
}
|
|
3808
|
-
// version: 1.150.
|
|
3808
|
+
// version: 1.150.8-02357881a
|
|
3809
3809
|
|
|
3810
3810
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3811
3811
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15229,7 +15229,7 @@
|
|
|
15229
15229
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15230
15230
|
return luvioDocumentNode;
|
|
15231
15231
|
}
|
|
15232
|
-
// version: 1.150.
|
|
15232
|
+
// version: 1.150.8-02357881a
|
|
15233
15233
|
|
|
15234
15234
|
function unwrap(data) {
|
|
15235
15235
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16142,7 +16142,7 @@
|
|
|
16142
16142
|
const { apiFamily, name } = metadata;
|
|
16143
16143
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16144
16144
|
}
|
|
16145
|
-
// version: 1.150.
|
|
16145
|
+
// version: 1.150.8-02357881a
|
|
16146
16146
|
|
|
16147
16147
|
/**
|
|
16148
16148
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16849,7 +16849,7 @@
|
|
|
16849
16849
|
const TTL$x = 900000;
|
|
16850
16850
|
const VERSION$18$1 = "8b55d621d80c84ec2e331abc4e12fc56";
|
|
16851
16851
|
const RepresentationType$Q = 'ListInfoRepresentation';
|
|
16852
|
-
function keyBuilder$
|
|
16852
|
+
function keyBuilder$1S(luvio, config) {
|
|
16853
16853
|
return keyPrefix$1 + '::' + RepresentationType$Q + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
16854
16854
|
}
|
|
16855
16855
|
function keyBuilderFromType$z(luvio, object) {
|
|
@@ -16858,7 +16858,7 @@
|
|
|
16858
16858
|
objectApiName: object.listReference.objectApiName,
|
|
16859
16859
|
type: object.listReference.type
|
|
16860
16860
|
};
|
|
16861
|
-
return keyBuilder$
|
|
16861
|
+
return keyBuilder$1S(luvio, keyParams);
|
|
16862
16862
|
}
|
|
16863
16863
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
16864
16864
|
return input;
|
|
@@ -17352,14 +17352,14 @@
|
|
|
17352
17352
|
const TTL$v = 30000;
|
|
17353
17353
|
const VERSION$14$1 = "98c5b18512e48ca8d28727549507e4ba";
|
|
17354
17354
|
const RepresentationType$N = 'RecordRepresentation';
|
|
17355
|
-
function keyBuilder$
|
|
17355
|
+
function keyBuilder$1R(luvio, config) {
|
|
17356
17356
|
return keyPrefix$1 + '::' + RepresentationType$N + ':' + config.recordId;
|
|
17357
17357
|
}
|
|
17358
17358
|
function keyBuilderFromType$x(luvio, object) {
|
|
17359
17359
|
const keyParams = {
|
|
17360
17360
|
recordId: object.id
|
|
17361
17361
|
};
|
|
17362
|
-
return keyBuilder$
|
|
17362
|
+
return keyBuilder$1R(luvio, keyParams);
|
|
17363
17363
|
}
|
|
17364
17364
|
function dynamicNormalize$5(ingestParams) {
|
|
17365
17365
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -17616,7 +17616,7 @@
|
|
|
17616
17616
|
}
|
|
17617
17617
|
const notifyUpdateAvailableFactory = (luvio) => {
|
|
17618
17618
|
return function notifyRecordUpdateAvailable(configs) {
|
|
17619
|
-
const keys = configs.map(c => keyBuilder$
|
|
17619
|
+
const keys = configs.map(c => keyBuilder$1R(luvio, c));
|
|
17620
17620
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
17621
17621
|
};
|
|
17622
17622
|
};
|
|
@@ -19716,7 +19716,7 @@
|
|
|
19716
19716
|
name: existing.apiName,
|
|
19717
19717
|
children: {},
|
|
19718
19718
|
};
|
|
19719
|
-
const recordKey = keyBuilder$
|
|
19719
|
+
const recordKey = keyBuilder$1R(luvio, {
|
|
19720
19720
|
recordId: incoming.id,
|
|
19721
19721
|
});
|
|
19722
19722
|
const trackedFieldsConfig = {
|
|
@@ -20075,8 +20075,8 @@
|
|
|
20075
20075
|
};
|
|
20076
20076
|
};
|
|
20077
20077
|
|
|
20078
|
-
function keyBuilder$
|
|
20079
|
-
return keyBuilder$
|
|
20078
|
+
function keyBuilder$1Q(luvio, params) {
|
|
20079
|
+
return keyBuilder$1R(luvio, {
|
|
20080
20080
|
recordId: params.urlParams.recordId
|
|
20081
20081
|
});
|
|
20082
20082
|
}
|
|
@@ -20310,7 +20310,7 @@
|
|
|
20310
20310
|
// used by getUiApiRecordsBatchByRecordIds#selectChildResourceParams
|
|
20311
20311
|
function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
20312
20312
|
return {
|
|
20313
|
-
recordId: keyBuilder$
|
|
20313
|
+
recordId: keyBuilder$1R(luvio, { recordId }),
|
|
20314
20314
|
node: {
|
|
20315
20315
|
kind: 'Fragment',
|
|
20316
20316
|
private: ['eTag', 'weakEtag'],
|
|
@@ -20329,7 +20329,7 @@
|
|
|
20329
20329
|
function prepareRequest$6(luvio, config) {
|
|
20330
20330
|
const { recordId, fields } = config;
|
|
20331
20331
|
// Should this go into the coersion logic?
|
|
20332
|
-
const key = keyBuilder$
|
|
20332
|
+
const key = keyBuilder$1Q(luvio, createResourceParams$T(config));
|
|
20333
20333
|
const allTrackedFields = getTrackedFields(key, luvio.getNode(key), {
|
|
20334
20334
|
maxDepth: configurationForRestAdapters$1.getTrackedFieldDepthOnCacheMiss(),
|
|
20335
20335
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters$1.getTrackedFieldLeafNodeIdAndNameOnly(),
|
|
@@ -20439,7 +20439,7 @@
|
|
|
20439
20439
|
const now = Date.now();
|
|
20440
20440
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
20441
20441
|
const childResourceParams = childResourceParamsArray[index];
|
|
20442
|
-
const childKey = keyBuilder$
|
|
20442
|
+
const childKey = keyBuilder$1Q(luvio, childResourceParams);
|
|
20443
20443
|
const result = childEnvelopes[index];
|
|
20444
20444
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
20445
20445
|
if (childStatusCode === 200) {
|
|
@@ -20526,7 +20526,7 @@
|
|
|
20526
20526
|
read: (reader) => {
|
|
20527
20527
|
// Top-level 404 lookup
|
|
20528
20528
|
const compositeSnapshot = luvio.storeLookup({
|
|
20529
|
-
recordId: keyBuilder$
|
|
20529
|
+
recordId: keyBuilder$1P(luvio, resourceParams),
|
|
20530
20530
|
node: {
|
|
20531
20531
|
kind: 'Fragment',
|
|
20532
20532
|
private: [],
|
|
@@ -20550,7 +20550,7 @@
|
|
|
20550
20550
|
reader.enterPath(i);
|
|
20551
20551
|
reader.enterPath(envelopeBodyPath);
|
|
20552
20552
|
const childResource = childResources[i];
|
|
20553
|
-
const childKey = keyBuilder$
|
|
20553
|
+
const childKey = keyBuilder$1Q(luvio, childResource);
|
|
20554
20554
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
20555
20555
|
const childSnapshot = reader.read(buildRecordSelector(luvio, childResource.urlParams.recordId, childResource.queryParams.fields || [], childResource.queryParams.optionalFields || []));
|
|
20556
20556
|
reader.exitPath();
|
|
@@ -20650,7 +20650,7 @@
|
|
|
20650
20650
|
}
|
|
20651
20651
|
return childConfigs;
|
|
20652
20652
|
}
|
|
20653
|
-
function keyBuilder$
|
|
20653
|
+
function keyBuilder$1P(luvio, params) {
|
|
20654
20654
|
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 + ')';
|
|
20655
20655
|
}
|
|
20656
20656
|
function getResponseCacheKeys$R(luvio, resourceParams, response) {
|
|
@@ -20667,7 +20667,7 @@
|
|
|
20667
20667
|
keys.merge(childKeys);
|
|
20668
20668
|
}
|
|
20669
20669
|
else if (childStatusCode === 404) {
|
|
20670
|
-
const childKey = keyBuilder$
|
|
20670
|
+
const childKey = keyBuilder$1Q(luvio, childResourceParams);
|
|
20671
20671
|
keys.set(childKey, {
|
|
20672
20672
|
namespace: keyPrefix$1,
|
|
20673
20673
|
representationName: RepresentationType$N,
|
|
@@ -20678,7 +20678,7 @@
|
|
|
20678
20678
|
return keys;
|
|
20679
20679
|
}
|
|
20680
20680
|
function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
20681
|
-
const key = keyBuilder$
|
|
20681
|
+
const key = keyBuilder$1P(luvio, params);
|
|
20682
20682
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
20683
20683
|
luvio.storeIngestError(key, errorSnapshot);
|
|
20684
20684
|
return errorSnapshot;
|
|
@@ -20759,7 +20759,7 @@
|
|
|
20759
20759
|
const childEnvelopes = response.body.results;
|
|
20760
20760
|
const childResourceParamsArray = createChildResourceParams$7(config);
|
|
20761
20761
|
const snapshotStateFulfilled = 'Fulfilled';
|
|
20762
|
-
const key = keyBuilder$
|
|
20762
|
+
const key = keyBuilder$1P(luvio, resourceParams);
|
|
20763
20763
|
const { childSnapshotData, seenRecords } = ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount);
|
|
20764
20764
|
const snapshot = {
|
|
20765
20765
|
recordId: key,
|
|
@@ -20944,7 +20944,7 @@
|
|
|
20944
20944
|
const TTL$u = 30000;
|
|
20945
20945
|
const VERSION$12$1 = "614ef19823027c07fa6deb9a149619d2";
|
|
20946
20946
|
const RepresentationType$M = 'ListRecordCollectionRepresentation';
|
|
20947
|
-
function keyBuilder$
|
|
20947
|
+
function keyBuilder$1O(luvio, config) {
|
|
20948
20948
|
return keyPrefix$1 + '::' + RepresentationType$M + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
20949
20949
|
}
|
|
20950
20950
|
function keyBuilderFromType$w(luvio, object) {
|
|
@@ -20954,10 +20954,10 @@
|
|
|
20954
20954
|
objectApiName: object.listReference.objectApiName,
|
|
20955
20955
|
listViewApiName: object.listReference.listViewApiName
|
|
20956
20956
|
};
|
|
20957
|
-
return keyBuilder$
|
|
20957
|
+
return keyBuilder$1O(luvio, keyParams);
|
|
20958
20958
|
}
|
|
20959
20959
|
function paginationKeyBuilder(luvio, config) {
|
|
20960
|
-
return keyBuilder$
|
|
20960
|
+
return keyBuilder$1O(luvio, config) + '__pagination';
|
|
20961
20961
|
}
|
|
20962
20962
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
20963
20963
|
const input_records = input.records;
|
|
@@ -21353,7 +21353,7 @@
|
|
|
21353
21353
|
|
|
21354
21354
|
const VERSION$11$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
21355
21355
|
const RepresentationType$L = 'ListUiRepresentation';
|
|
21356
|
-
function keyBuilder$
|
|
21356
|
+
function keyBuilder$1N(luvio, config) {
|
|
21357
21357
|
return keyPrefix$1 + '::' + RepresentationType$L + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
21358
21358
|
}
|
|
21359
21359
|
function keyBuilderFromType$v(luvio, object) {
|
|
@@ -21363,7 +21363,7 @@
|
|
|
21363
21363
|
type: object.info.listReference.type,
|
|
21364
21364
|
sortBy: object.records.sortBy
|
|
21365
21365
|
};
|
|
21366
|
-
return keyBuilder$
|
|
21366
|
+
return keyBuilder$1N(luvio, keyParams);
|
|
21367
21367
|
}
|
|
21368
21368
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
21369
21369
|
const input_info = input.info;
|
|
@@ -21839,7 +21839,7 @@
|
|
|
21839
21839
|
* @param luvio Luvio
|
|
21840
21840
|
*/
|
|
21841
21841
|
function getListInfo(luvio, listRef, storeLookup) {
|
|
21842
|
-
const key = keyBuilder$
|
|
21842
|
+
const key = keyBuilder$1S(luvio, { ...listRef });
|
|
21843
21843
|
return storeLookup({
|
|
21844
21844
|
recordId: key,
|
|
21845
21845
|
node: {
|
|
@@ -21966,7 +21966,7 @@
|
|
|
21966
21966
|
addDefaultFields(qualifiedField, defaultFields_);
|
|
21967
21967
|
}
|
|
21968
21968
|
}
|
|
21969
|
-
const key = keyBuilder$
|
|
21969
|
+
const key = keyBuilder$1O(luvio, {
|
|
21970
21970
|
listViewId: listInfo.eTag,
|
|
21971
21971
|
sortBy: sortBy || null,
|
|
21972
21972
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -22011,7 +22011,7 @@
|
|
|
22011
22011
|
function setContext$1(adapterContext) {
|
|
22012
22012
|
context$1 = adapterContext;
|
|
22013
22013
|
}
|
|
22014
|
-
function keyBuilder$
|
|
22014
|
+
function keyBuilder$1M(luvio, params) {
|
|
22015
22015
|
const query = {
|
|
22016
22016
|
objectApiName: params.urlParams.objectApiName,
|
|
22017
22017
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -22022,7 +22022,7 @@
|
|
|
22022
22022
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
22023
22023
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
22024
22024
|
const defaults = getServerDefaults(config, context$1);
|
|
22025
|
-
return keyBuilder$
|
|
22025
|
+
return keyBuilder$1O(luvio, {
|
|
22026
22026
|
objectApiName: listReference.objectApiName,
|
|
22027
22027
|
listViewApiName: listReference.listViewApiName,
|
|
22028
22028
|
listViewId: listReference.id,
|
|
@@ -22031,7 +22031,7 @@
|
|
|
22031
22031
|
}
|
|
22032
22032
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
22033
22033
|
// Assuming that listViewId is empty and continue on
|
|
22034
|
-
return keyBuilder$
|
|
22034
|
+
return keyBuilder$1O(luvio, {
|
|
22035
22035
|
objectApiName: params.urlParams.objectApiName,
|
|
22036
22036
|
listViewApiName: params.urlParams.listViewApiName,
|
|
22037
22037
|
listViewId: '',
|
|
@@ -22056,7 +22056,7 @@
|
|
|
22056
22056
|
}
|
|
22057
22057
|
function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
22058
22058
|
const { body } = response;
|
|
22059
|
-
const key = keyBuilder$
|
|
22059
|
+
const key = keyBuilder$1M(luvio, resourceParams);
|
|
22060
22060
|
luvio.storeIngest(key, ingest$F$1, body);
|
|
22061
22061
|
const optionalFields = resourceParams.queryParams.optionalFields;
|
|
22062
22062
|
if (optionalFields && optionalFields.length > 0) {
|
|
@@ -22093,7 +22093,7 @@
|
|
|
22093
22093
|
return getTypeCacheKeys$M$1(luvio, response);
|
|
22094
22094
|
}
|
|
22095
22095
|
function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
22096
|
-
const key = keyBuilder$
|
|
22096
|
+
const key = keyBuilder$1M(luvio, params);
|
|
22097
22097
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22098
22098
|
const storeMetadataParams = {
|
|
22099
22099
|
ttl: TTL$u,
|
|
@@ -22173,14 +22173,14 @@
|
|
|
22173
22173
|
|
|
22174
22174
|
const VERSION$10$1 = "c6347b2701bb8ffb0b6ca6c027011c57";
|
|
22175
22175
|
const RepresentationType$K = 'ListViewSummaryRepresentation';
|
|
22176
|
-
function keyBuilder$
|
|
22176
|
+
function keyBuilder$1L(luvio, config) {
|
|
22177
22177
|
return keyPrefix$1 + '::' + RepresentationType$K + ':' + config.id;
|
|
22178
22178
|
}
|
|
22179
22179
|
function keyBuilderFromType$u(luvio, object) {
|
|
22180
22180
|
const keyParams = {
|
|
22181
22181
|
id: object.id
|
|
22182
22182
|
};
|
|
22183
|
-
return keyBuilder$
|
|
22183
|
+
return keyBuilder$1L(luvio, keyParams);
|
|
22184
22184
|
}
|
|
22185
22185
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
22186
22186
|
return input;
|
|
@@ -22271,7 +22271,7 @@
|
|
|
22271
22271
|
|
|
22272
22272
|
const VERSION$$$1 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
22273
22273
|
const RepresentationType$J = 'ListViewSummaryCollectionRepresentation';
|
|
22274
|
-
function keyBuilder$
|
|
22274
|
+
function keyBuilder$1K(luvio, config) {
|
|
22275
22275
|
return keyPrefix$1 + '::' + RepresentationType$J + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
22276
22276
|
}
|
|
22277
22277
|
function keyBuilderFromType$t(luvio, object) {
|
|
@@ -22280,7 +22280,7 @@
|
|
|
22280
22280
|
queryString: object.queryString,
|
|
22281
22281
|
recentListsOnly: object.recentListsOnly
|
|
22282
22282
|
};
|
|
22283
|
-
return keyBuilder$
|
|
22283
|
+
return keyBuilder$1K(luvio, keyParams);
|
|
22284
22284
|
}
|
|
22285
22285
|
function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
22286
22286
|
const input_lists = input.lists;
|
|
@@ -22562,8 +22562,8 @@
|
|
|
22562
22562
|
const paginationParams = createPaginationParams$2(params);
|
|
22563
22563
|
return select$1u(paginationParams);
|
|
22564
22564
|
}
|
|
22565
|
-
function keyBuilder$
|
|
22566
|
-
return keyBuilder$
|
|
22565
|
+
function keyBuilder$1J(luvio, params) {
|
|
22566
|
+
return keyBuilder$1K(luvio, {
|
|
22567
22567
|
objectApiName: params.urlParams.objectApiName,
|
|
22568
22568
|
queryString: params.queryParams.q || null,
|
|
22569
22569
|
recentListsOnly: params.queryParams.recentListsOnly || false
|
|
@@ -22574,7 +22574,7 @@
|
|
|
22574
22574
|
}
|
|
22575
22575
|
function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
22576
22576
|
const { body } = response;
|
|
22577
|
-
const key = keyBuilder$
|
|
22577
|
+
const key = keyBuilder$1J(luvio, resourceParams);
|
|
22578
22578
|
luvio.storeIngest(key, ingest$C$1, body);
|
|
22579
22579
|
const snapshot = luvio.storeLookup({
|
|
22580
22580
|
recordId: key,
|
|
@@ -22585,7 +22585,7 @@
|
|
|
22585
22585
|
return snapshot;
|
|
22586
22586
|
}
|
|
22587
22587
|
function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
22588
|
-
const key = keyBuilder$
|
|
22588
|
+
const key = keyBuilder$1J(luvio, params);
|
|
22589
22589
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22590
22590
|
luvio.storeIngestError(key, errorSnapshot);
|
|
22591
22591
|
return errorSnapshot;
|
|
@@ -22646,9 +22646,9 @@
|
|
|
22646
22646
|
}
|
|
22647
22647
|
return coercedConfig;
|
|
22648
22648
|
}
|
|
22649
|
-
function keyBuilder$
|
|
22649
|
+
function keyBuilder$1I(luvio, config) {
|
|
22650
22650
|
const resourceParams = createResourceParams$P(config);
|
|
22651
|
-
return keyBuilder$
|
|
22651
|
+
return keyBuilder$1J(luvio, resourceParams);
|
|
22652
22652
|
}
|
|
22653
22653
|
function typeCheckConfig$W(untrustedConfig) {
|
|
22654
22654
|
const config = {};
|
|
@@ -22750,7 +22750,7 @@
|
|
|
22750
22750
|
return items.length;
|
|
22751
22751
|
}
|
|
22752
22752
|
function getPaginationMetadata$2(luvio, resourceParams) {
|
|
22753
|
-
const key = keyBuilder$
|
|
22753
|
+
const key = keyBuilder$1J(luvio, resourceParams);
|
|
22754
22754
|
const selector = {
|
|
22755
22755
|
recordId: key,
|
|
22756
22756
|
node: {
|
|
@@ -22808,7 +22808,7 @@
|
|
|
22808
22808
|
function buildCachedSnapshotCachePolicy$I(context, storeLookup) {
|
|
22809
22809
|
const { luvio, config } = context;
|
|
22810
22810
|
const selector = {
|
|
22811
|
-
recordId: keyBuilder$
|
|
22811
|
+
recordId: keyBuilder$1I(luvio, config),
|
|
22812
22812
|
node: adapterFragment$B(luvio, config),
|
|
22813
22813
|
variables: {},
|
|
22814
22814
|
};
|
|
@@ -22838,8 +22838,8 @@
|
|
|
22838
22838
|
pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
|
|
22839
22839
|
};
|
|
22840
22840
|
}
|
|
22841
|
-
function keyBuilder$
|
|
22842
|
-
return keyBuilder$
|
|
22841
|
+
function keyBuilder$1H(luvio, params) {
|
|
22842
|
+
return keyBuilder$1N(luvio, {
|
|
22843
22843
|
listViewApiName: null,
|
|
22844
22844
|
objectApiName: params.urlParams.objectApiName,
|
|
22845
22845
|
type: "mru",
|
|
@@ -23054,7 +23054,7 @@
|
|
|
23054
23054
|
function onResourceSuccess_getMruListUi(luvio, config, response) {
|
|
23055
23055
|
const { body } = response;
|
|
23056
23056
|
const listInfo = body.info;
|
|
23057
|
-
const listUiKey = keyBuilder$
|
|
23057
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23058
23058
|
...listInfo.listReference,
|
|
23059
23059
|
sortBy: body.records.sortBy,
|
|
23060
23060
|
});
|
|
@@ -23078,7 +23078,7 @@
|
|
|
23078
23078
|
const listFields_ = fields || listFields(luvio, config, listInfo);
|
|
23079
23079
|
const resourceParams = createResourceParams$O(config);
|
|
23080
23080
|
const selector = {
|
|
23081
|
-
recordId: keyBuilder$
|
|
23081
|
+
recordId: keyBuilder$1H(luvio, resourceParams),
|
|
23082
23082
|
node: buildListUiFragment$1(config, listFields_),
|
|
23083
23083
|
variables: {},
|
|
23084
23084
|
};
|
|
@@ -23169,7 +23169,7 @@
|
|
|
23169
23169
|
const { body } = response;
|
|
23170
23170
|
const { listInfoETag } = body;
|
|
23171
23171
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
23172
|
-
luvio.storeIngest(keyBuilder$
|
|
23172
|
+
luvio.storeIngest(keyBuilder$1O(luvio, {
|
|
23173
23173
|
listViewId: listInfoETag,
|
|
23174
23174
|
sortBy: body.sortBy,
|
|
23175
23175
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -23180,7 +23180,7 @@
|
|
|
23180
23180
|
}
|
|
23181
23181
|
function onResourceError_getMruListRecords(luvio, config, listInfo, err) {
|
|
23182
23182
|
const errorSnapshot = luvio.errorSnapshot(err, buildSnapshotRefresh_getMruListUi(luvio, config));
|
|
23183
|
-
luvio.storeIngestError(keyBuilder$
|
|
23183
|
+
luvio.storeIngestError(keyBuilder$1N(luvio, {
|
|
23184
23184
|
...listInfo.listReference,
|
|
23185
23185
|
sortBy: config.sortBy === undefined ? null : config.sortBy,
|
|
23186
23186
|
}), errorSnapshot);
|
|
@@ -23348,7 +23348,7 @@
|
|
|
23348
23348
|
return dynamicSelect$6(listRecordCollectionSelectParams, paginationParams);
|
|
23349
23349
|
}
|
|
23350
23350
|
function buildCachedSnapshot$7(luvio, storeLookup, context, config, listInfo, fields) {
|
|
23351
|
-
const listUiKey = keyBuilder$
|
|
23351
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23352
23352
|
...listInfo.listReference,
|
|
23353
23353
|
sortBy: getSortBy(config, context),
|
|
23354
23354
|
});
|
|
@@ -23400,7 +23400,7 @@
|
|
|
23400
23400
|
}
|
|
23401
23401
|
function onResourceSuccess_getListUi(luvio, context, config, response) {
|
|
23402
23402
|
const { body } = response, listInfo = body.info, { listReference } = listInfo;
|
|
23403
|
-
const listUiKey = keyBuilder$
|
|
23403
|
+
const listUiKey = keyBuilder$1N(luvio, {
|
|
23404
23404
|
...listReference,
|
|
23405
23405
|
sortBy: body.records.sortBy,
|
|
23406
23406
|
});
|
|
@@ -23524,7 +23524,7 @@
|
|
|
23524
23524
|
const { body } = response;
|
|
23525
23525
|
const { listInfoETag } = body;
|
|
23526
23526
|
const fields = listFields(luvio, config, listInfo).processRecords(body.records);
|
|
23527
|
-
luvio.storeIngest(keyBuilder$
|
|
23527
|
+
luvio.storeIngest(keyBuilder$1O(luvio, {
|
|
23528
23528
|
listViewId: listInfoETag,
|
|
23529
23529
|
sortBy: body.sortBy,
|
|
23530
23530
|
objectApiName: listInfo.listReference.objectApiName,
|
|
@@ -23535,7 +23535,7 @@
|
|
|
23535
23535
|
}
|
|
23536
23536
|
function onResourceError_getListRecords(luvio, context, config, listInfo, err) {
|
|
23537
23537
|
const errorSnapshot = luvio.errorSnapshot(err);
|
|
23538
|
-
luvio.storeIngestError(keyBuilder$
|
|
23538
|
+
luvio.storeIngestError(keyBuilder$1N(luvio, {
|
|
23539
23539
|
...listInfo.listReference,
|
|
23540
23540
|
sortBy: getSortBy(config, context),
|
|
23541
23541
|
}), errorSnapshot);
|
|
@@ -23706,14 +23706,14 @@
|
|
|
23706
23706
|
const TTL$t = 900000;
|
|
23707
23707
|
const VERSION$_$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
23708
23708
|
const RepresentationType$I = 'ObjectInfoRepresentation';
|
|
23709
|
-
function keyBuilder$
|
|
23709
|
+
function keyBuilder$1G(luvio, config) {
|
|
23710
23710
|
return keyPrefix$1 + '::' + RepresentationType$I + ':' + config.apiName;
|
|
23711
23711
|
}
|
|
23712
23712
|
function keyBuilderFromType$s(luvio, object) {
|
|
23713
23713
|
const keyParams = {
|
|
23714
23714
|
apiName: object.apiName
|
|
23715
23715
|
};
|
|
23716
|
-
return keyBuilder$
|
|
23716
|
+
return keyBuilder$1G(luvio, keyParams);
|
|
23717
23717
|
}
|
|
23718
23718
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
23719
23719
|
return input;
|
|
@@ -23868,8 +23868,8 @@
|
|
|
23868
23868
|
function select$1r(luvio, params) {
|
|
23869
23869
|
return select$1s();
|
|
23870
23870
|
}
|
|
23871
|
-
function keyBuilder$
|
|
23872
|
-
return keyBuilder$
|
|
23871
|
+
function keyBuilder$1F(luvio, params) {
|
|
23872
|
+
return keyBuilder$1G(luvio, {
|
|
23873
23873
|
apiName: params.urlParams.objectApiName
|
|
23874
23874
|
});
|
|
23875
23875
|
}
|
|
@@ -23878,7 +23878,7 @@
|
|
|
23878
23878
|
}
|
|
23879
23879
|
function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
23880
23880
|
const { body } = response;
|
|
23881
|
-
const key = keyBuilder$
|
|
23881
|
+
const key = keyBuilder$1F(luvio, resourceParams);
|
|
23882
23882
|
luvio.storeIngest(key, ingest$B$1, body);
|
|
23883
23883
|
const snapshot = luvio.storeLookup({
|
|
23884
23884
|
recordId: key,
|
|
@@ -23889,7 +23889,7 @@
|
|
|
23889
23889
|
return snapshot;
|
|
23890
23890
|
}
|
|
23891
23891
|
function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
23892
|
-
const key = keyBuilder$
|
|
23892
|
+
const key = keyBuilder$1F(luvio, params);
|
|
23893
23893
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23894
23894
|
const storeMetadataParams = {
|
|
23895
23895
|
ttl: TTL$t,
|
|
@@ -23938,9 +23938,9 @@
|
|
|
23938
23938
|
}
|
|
23939
23939
|
return coercedConfig;
|
|
23940
23940
|
}
|
|
23941
|
-
function keyBuilder$
|
|
23941
|
+
function keyBuilder$1E(luvio, config) {
|
|
23942
23942
|
const resourceParams = createResourceParams$N(config);
|
|
23943
|
-
return keyBuilder$
|
|
23943
|
+
return keyBuilder$1F(luvio, resourceParams);
|
|
23944
23944
|
}
|
|
23945
23945
|
function typeCheckConfig$U(untrustedConfig) {
|
|
23946
23946
|
const config = {};
|
|
@@ -24009,7 +24009,7 @@
|
|
|
24009
24009
|
function buildCachedSnapshotCachePolicy$H(context, storeLookup) {
|
|
24010
24010
|
const { luvio, config } = context;
|
|
24011
24011
|
const selector = {
|
|
24012
|
-
recordId: keyBuilder$
|
|
24012
|
+
recordId: keyBuilder$1E(luvio, config),
|
|
24013
24013
|
node: adapterFragment$A(luvio, config),
|
|
24014
24014
|
variables: {},
|
|
24015
24015
|
};
|
|
@@ -24042,7 +24042,7 @@
|
|
|
24042
24042
|
const TTL$s = 900000;
|
|
24043
24043
|
const VERSION$Z$1 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
24044
24044
|
const RepresentationType$H = 'RecordLayoutRepresentation';
|
|
24045
|
-
function keyBuilder$
|
|
24045
|
+
function keyBuilder$1D(luvio, config) {
|
|
24046
24046
|
return keyPrefix$1 + '::' + RepresentationType$H + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
24047
24047
|
}
|
|
24048
24048
|
function keyBuilderFromType$r(luvio, object) {
|
|
@@ -24052,7 +24052,7 @@
|
|
|
24052
24052
|
layoutType: object.layoutType,
|
|
24053
24053
|
mode: object.mode
|
|
24054
24054
|
};
|
|
24055
|
-
return keyBuilder$
|
|
24055
|
+
return keyBuilder$1D(luvio, keyParams);
|
|
24056
24056
|
}
|
|
24057
24057
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
24058
24058
|
return input;
|
|
@@ -24143,7 +24143,7 @@
|
|
|
24143
24143
|
const TTL$r = 900000;
|
|
24144
24144
|
const VERSION$Y$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
24145
24145
|
const RepresentationType$G = 'RecordLayoutUserStateRepresentation';
|
|
24146
|
-
function keyBuilder$
|
|
24146
|
+
function keyBuilder$1C(luvio, config) {
|
|
24147
24147
|
return keyPrefix$1 + '::' + RepresentationType$G + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
24148
24148
|
}
|
|
24149
24149
|
function keyBuilderFromType$q(luvio, object) {
|
|
@@ -24153,7 +24153,7 @@
|
|
|
24153
24153
|
layoutType: object.layoutType,
|
|
24154
24154
|
mode: object.mode
|
|
24155
24155
|
};
|
|
24156
|
-
return keyBuilder$
|
|
24156
|
+
return keyBuilder$1C(luvio, keyParams);
|
|
24157
24157
|
}
|
|
24158
24158
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
24159
24159
|
return input;
|
|
@@ -24820,7 +24820,7 @@
|
|
|
24820
24820
|
}
|
|
24821
24821
|
return recordDefs;
|
|
24822
24822
|
}
|
|
24823
|
-
function keyBuilder$
|
|
24823
|
+
function keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields) {
|
|
24824
24824
|
const joinedRecordIds = recordIds.sort().join(',');
|
|
24825
24825
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
24826
24826
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
@@ -24854,7 +24854,7 @@
|
|
|
24854
24854
|
}
|
|
24855
24855
|
function prepareRequest$4(luvio, config) {
|
|
24856
24856
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
24857
|
-
const key = keyBuilder$
|
|
24857
|
+
const key = keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields);
|
|
24858
24858
|
const selectorKey = buildCachedSelectorKey(key);
|
|
24859
24859
|
const resourceRequest = createResourceRequest$R({
|
|
24860
24860
|
urlParams: {
|
|
@@ -24949,7 +24949,7 @@
|
|
|
24949
24949
|
const validRecordIds = [];
|
|
24950
24950
|
for (let i = 0, len = recordIds.length; i < len; i += 1) {
|
|
24951
24951
|
const recordId = recordIds[i];
|
|
24952
|
-
const recordKey = keyBuilder$
|
|
24952
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
24953
24953
|
const node = luvio.getNode(recordKey);
|
|
24954
24954
|
if (isGraphNode(node)) {
|
|
24955
24955
|
recordNodes.push(node);
|
|
@@ -25016,7 +25016,7 @@
|
|
|
25016
25016
|
function buildCachedSelectorSnapshot(context, storeLookup) {
|
|
25017
25017
|
const { config } = context;
|
|
25018
25018
|
const { recordIds, layoutTypes, modes, optionalFields } = config;
|
|
25019
|
-
const key = keyBuilder$
|
|
25019
|
+
const key = keyBuilder$1B(recordIds, layoutTypes, modes, optionalFields);
|
|
25020
25020
|
const cachedSelectorKey = buildCachedSelectorKey(key);
|
|
25021
25021
|
return storeLookup({
|
|
25022
25022
|
recordId: cachedSelectorKey,
|
|
@@ -25115,7 +25115,7 @@
|
|
|
25115
25115
|
return buildNetworkSnapshot$S(luvio, recordUiConfig).then((snapshot) => {
|
|
25116
25116
|
const refresh = buildSnapshotRefresh$3(luvio, config);
|
|
25117
25117
|
if (isErrorSnapshot(snapshot)) {
|
|
25118
|
-
var recordKey = keyBuilder$
|
|
25118
|
+
var recordKey = keyBuilder$1R(luvio, { recordId });
|
|
25119
25119
|
luvio.storeIngestError(recordKey, snapshot);
|
|
25120
25120
|
return luvio.storeBroadcast().then(() => luvio.errorSnapshot(snapshot.error, refresh));
|
|
25121
25121
|
}
|
|
@@ -25255,7 +25255,7 @@
|
|
|
25255
25255
|
const { config, luvio } = context;
|
|
25256
25256
|
// get cached copy of the record
|
|
25257
25257
|
const { recordId } = config;
|
|
25258
|
-
const storeKey = keyBuilder$
|
|
25258
|
+
const storeKey = keyBuilder$1R(luvio, { recordId });
|
|
25259
25259
|
const recordSnapshot = storeLookup({
|
|
25260
25260
|
recordId: storeKey,
|
|
25261
25261
|
node: {
|
|
@@ -25282,7 +25282,7 @@
|
|
|
25282
25282
|
};
|
|
25283
25283
|
const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) => (context, storeLookup) => {
|
|
25284
25284
|
const { luvio } = context;
|
|
25285
|
-
const key = keyBuilder$
|
|
25285
|
+
const key = keyBuilder$1D(luvio, {
|
|
25286
25286
|
objectApiName: apiName,
|
|
25287
25287
|
recordTypeId,
|
|
25288
25288
|
layoutType,
|
|
@@ -25490,7 +25490,7 @@
|
|
|
25490
25490
|
}
|
|
25491
25491
|
const notifyChangeFactory = (luvio) => {
|
|
25492
25492
|
return function getUiApiRecordsByRecordIdNotifyChange(configs) {
|
|
25493
|
-
const keys = configs.map((c) => keyBuilder$
|
|
25493
|
+
const keys = configs.map((c) => keyBuilder$1R(luvio, coerceKeyParams(c)));
|
|
25494
25494
|
luvio.getNotifyChangeStoreEntries(keys).then((entries) => {
|
|
25495
25495
|
const responsePromises = [];
|
|
25496
25496
|
for (let i = 0, len = entries.length; i < len; i++) {
|
|
@@ -25551,14 +25551,14 @@
|
|
|
25551
25551
|
|
|
25552
25552
|
const VERSION$W$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
25553
25553
|
const RepresentationType$E = 'QuickActionExecutionRepresentation';
|
|
25554
|
-
function keyBuilder$
|
|
25554
|
+
function keyBuilder$1A(luvio, config) {
|
|
25555
25555
|
return keyPrefix$1 + '::' + RepresentationType$E + ':' + config.id;
|
|
25556
25556
|
}
|
|
25557
25557
|
function keyBuilderFromType$p(luvio, object) {
|
|
25558
25558
|
const keyParams = {
|
|
25559
25559
|
id: object.id
|
|
25560
25560
|
};
|
|
25561
|
-
return keyBuilder$
|
|
25561
|
+
return keyBuilder$1A(luvio, keyParams);
|
|
25562
25562
|
}
|
|
25563
25563
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
25564
25564
|
return input;
|
|
@@ -25674,7 +25674,7 @@
|
|
|
25674
25674
|
|
|
25675
25675
|
const VERSION$V$1 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
25676
25676
|
const RepresentationType$D = 'PlatformActionRepresentation';
|
|
25677
|
-
function keyBuilder$
|
|
25677
|
+
function keyBuilder$1z(luvio, config) {
|
|
25678
25678
|
return keyPrefix$1 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
25679
25679
|
}
|
|
25680
25680
|
function keyBuilderFromType$o(luvio, object) {
|
|
@@ -25683,7 +25683,7 @@
|
|
|
25683
25683
|
relatedSourceObject: object.relatedSourceObject,
|
|
25684
25684
|
relatedListRecordId: object.relatedListRecordId
|
|
25685
25685
|
};
|
|
25686
|
-
return keyBuilder$
|
|
25686
|
+
return keyBuilder$1z(luvio, keyParams);
|
|
25687
25687
|
}
|
|
25688
25688
|
function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
25689
25689
|
return input;
|
|
@@ -25907,14 +25907,14 @@
|
|
|
25907
25907
|
|
|
25908
25908
|
const VERSION$U$1 = "378d506f563a4bd724b322d440df33d1";
|
|
25909
25909
|
const RepresentationType$C = 'EntityActionRepresentation';
|
|
25910
|
-
function keyBuilder$
|
|
25910
|
+
function keyBuilder$1y(luvio, config) {
|
|
25911
25911
|
return keyPrefix$1 + '::' + RepresentationType$C + ':' + config.url;
|
|
25912
25912
|
}
|
|
25913
25913
|
function keyBuilderFromType$n(luvio, object) {
|
|
25914
25914
|
const keyParams = {
|
|
25915
25915
|
url: object.url
|
|
25916
25916
|
};
|
|
25917
|
-
return keyBuilder$
|
|
25917
|
+
return keyBuilder$1y(luvio, keyParams);
|
|
25918
25918
|
}
|
|
25919
25919
|
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
25920
25920
|
const input_actions = input.actions;
|
|
@@ -26134,15 +26134,15 @@
|
|
|
26134
26134
|
function select$1k(luvio, params) {
|
|
26135
26135
|
return select$1l();
|
|
26136
26136
|
}
|
|
26137
|
-
function keyBuilder$
|
|
26137
|
+
function keyBuilder$1x(luvio, params) {
|
|
26138
26138
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
26139
26139
|
}
|
|
26140
26140
|
function getResponseCacheKeys$N(luvio, resourceParams, response) {
|
|
26141
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26141
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1x(luvio, resourceParams));
|
|
26142
26142
|
}
|
|
26143
26143
|
function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
26144
26144
|
const { body } = response;
|
|
26145
|
-
const key = keyBuilder$
|
|
26145
|
+
const key = keyBuilder$1x(luvio, resourceParams);
|
|
26146
26146
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26147
26147
|
const snapshot = luvio.storeLookup({
|
|
26148
26148
|
recordId: key,
|
|
@@ -26153,7 +26153,7 @@
|
|
|
26153
26153
|
return snapshot;
|
|
26154
26154
|
}
|
|
26155
26155
|
function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
26156
|
-
const key = keyBuilder$
|
|
26156
|
+
const key = keyBuilder$1x(luvio, params);
|
|
26157
26157
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26158
26158
|
const storeMetadataParams = {
|
|
26159
26159
|
ttl: TTL$p,
|
|
@@ -26240,9 +26240,9 @@
|
|
|
26240
26240
|
}
|
|
26241
26241
|
return coercedConfig;
|
|
26242
26242
|
}
|
|
26243
|
-
function keyBuilder$
|
|
26243
|
+
function keyBuilder$1w(luvio, config) {
|
|
26244
26244
|
const resourceParams = createResourceParams$M(config);
|
|
26245
|
-
return keyBuilder$
|
|
26245
|
+
return keyBuilder$1x(luvio, resourceParams);
|
|
26246
26246
|
}
|
|
26247
26247
|
function typeCheckConfig$S(untrustedConfig) {
|
|
26248
26248
|
const config = {};
|
|
@@ -26348,7 +26348,7 @@
|
|
|
26348
26348
|
function buildCachedSnapshotCachePolicy$G(context, storeLookup) {
|
|
26349
26349
|
const { luvio, config } = context;
|
|
26350
26350
|
const selector = {
|
|
26351
|
-
recordId: keyBuilder$
|
|
26351
|
+
recordId: keyBuilder$1w(luvio, config),
|
|
26352
26352
|
node: adapterFragment$z(luvio, config),
|
|
26353
26353
|
variables: {},
|
|
26354
26354
|
};
|
|
@@ -26371,14 +26371,14 @@
|
|
|
26371
26371
|
const TTL$o = 900000;
|
|
26372
26372
|
const VERSION$S$1 = "3c5af9dc4086169091e3c5df2414c495";
|
|
26373
26373
|
const RepresentationType$A = 'QuickActionLayoutRepresentation';
|
|
26374
|
-
function keyBuilder$
|
|
26374
|
+
function keyBuilder$1v(luvio, config) {
|
|
26375
26375
|
return keyPrefix$1 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
26376
26376
|
}
|
|
26377
26377
|
function keyBuilderFromType$m(luvio, object) {
|
|
26378
26378
|
const keyParams = {
|
|
26379
26379
|
actionApiName: object.actionApiName
|
|
26380
26380
|
};
|
|
26381
|
-
return keyBuilder$
|
|
26381
|
+
return keyBuilder$1v(luvio, keyParams);
|
|
26382
26382
|
}
|
|
26383
26383
|
function normalize$t(input, existing, path, luvio, store, timestamp) {
|
|
26384
26384
|
return input;
|
|
@@ -26448,8 +26448,8 @@
|
|
|
26448
26448
|
function select$1i(luvio, params) {
|
|
26449
26449
|
return select$1j();
|
|
26450
26450
|
}
|
|
26451
|
-
function keyBuilder$
|
|
26452
|
-
return keyBuilder$
|
|
26451
|
+
function keyBuilder$1u(luvio, params) {
|
|
26452
|
+
return keyBuilder$1v(luvio, {
|
|
26453
26453
|
actionApiName: params.urlParams.actionApiName
|
|
26454
26454
|
});
|
|
26455
26455
|
}
|
|
@@ -26458,7 +26458,7 @@
|
|
|
26458
26458
|
}
|
|
26459
26459
|
function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
26460
26460
|
const { body } = response;
|
|
26461
|
-
const key = keyBuilder$
|
|
26461
|
+
const key = keyBuilder$1u(luvio, resourceParams);
|
|
26462
26462
|
luvio.storeIngest(key, ingest$t$1, body);
|
|
26463
26463
|
const snapshot = luvio.storeLookup({
|
|
26464
26464
|
recordId: key,
|
|
@@ -26469,7 +26469,7 @@
|
|
|
26469
26469
|
return snapshot;
|
|
26470
26470
|
}
|
|
26471
26471
|
function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
26472
|
-
const key = keyBuilder$
|
|
26472
|
+
const key = keyBuilder$1u(luvio, params);
|
|
26473
26473
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26474
26474
|
const storeMetadataParams = {
|
|
26475
26475
|
ttl: TTL$o,
|
|
@@ -26510,9 +26510,9 @@
|
|
|
26510
26510
|
};
|
|
26511
26511
|
return resourceParams;
|
|
26512
26512
|
}
|
|
26513
|
-
function keyBuilder$
|
|
26513
|
+
function keyBuilder$1t(luvio, config) {
|
|
26514
26514
|
const resourceParams = createResourceParams$L(config);
|
|
26515
|
-
return keyBuilder$
|
|
26515
|
+
return keyBuilder$1u(luvio, resourceParams);
|
|
26516
26516
|
}
|
|
26517
26517
|
function typeCheckConfig$R(untrustedConfig) {
|
|
26518
26518
|
const config = {};
|
|
@@ -26580,7 +26580,7 @@
|
|
|
26580
26580
|
function buildCachedSnapshotCachePolicy$F(context, storeLookup) {
|
|
26581
26581
|
const { luvio, config } = context;
|
|
26582
26582
|
const selector = {
|
|
26583
|
-
recordId: keyBuilder$
|
|
26583
|
+
recordId: keyBuilder$1t(luvio, config),
|
|
26584
26584
|
node: adapterFragment$y(luvio, config),
|
|
26585
26585
|
variables: {},
|
|
26586
26586
|
};
|
|
@@ -26603,15 +26603,15 @@
|
|
|
26603
26603
|
function select$1h(luvio, params) {
|
|
26604
26604
|
return select$1l();
|
|
26605
26605
|
}
|
|
26606
|
-
function keyBuilder$
|
|
26606
|
+
function keyBuilder$1s(luvio, params) {
|
|
26607
26607
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
26608
26608
|
}
|
|
26609
26609
|
function getResponseCacheKeys$L(luvio, resourceParams, response) {
|
|
26610
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26610
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1s(luvio, resourceParams));
|
|
26611
26611
|
}
|
|
26612
26612
|
function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
26613
26613
|
const { body } = response;
|
|
26614
|
-
const key = keyBuilder$
|
|
26614
|
+
const key = keyBuilder$1s(luvio, resourceParams);
|
|
26615
26615
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26616
26616
|
const snapshot = luvio.storeLookup({
|
|
26617
26617
|
recordId: key,
|
|
@@ -26622,7 +26622,7 @@
|
|
|
26622
26622
|
return snapshot;
|
|
26623
26623
|
}
|
|
26624
26624
|
function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
26625
|
-
const key = keyBuilder$
|
|
26625
|
+
const key = keyBuilder$1s(luvio, params);
|
|
26626
26626
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26627
26627
|
const storeMetadataParams = {
|
|
26628
26628
|
ttl: TTL$p,
|
|
@@ -26718,9 +26718,9 @@
|
|
|
26718
26718
|
}
|
|
26719
26719
|
return coercedConfig;
|
|
26720
26720
|
}
|
|
26721
|
-
function keyBuilder$
|
|
26721
|
+
function keyBuilder$1r(luvio, config) {
|
|
26722
26722
|
const resourceParams = createResourceParams$K(config);
|
|
26723
|
-
return keyBuilder$
|
|
26723
|
+
return keyBuilder$1s(luvio, resourceParams);
|
|
26724
26724
|
}
|
|
26725
26725
|
function typeCheckConfig$Q(untrustedConfig) {
|
|
26726
26726
|
const config = {};
|
|
@@ -26822,7 +26822,7 @@
|
|
|
26822
26822
|
function buildCachedSnapshotCachePolicy$E(context, storeLookup) {
|
|
26823
26823
|
const { luvio, config } = context;
|
|
26824
26824
|
const selector = {
|
|
26825
|
-
recordId: keyBuilder$
|
|
26825
|
+
recordId: keyBuilder$1r(luvio, config),
|
|
26826
26826
|
node: adapterFragment$x(luvio, config),
|
|
26827
26827
|
variables: {},
|
|
26828
26828
|
};
|
|
@@ -26845,15 +26845,15 @@
|
|
|
26845
26845
|
function select$1g(luvio, params) {
|
|
26846
26846
|
return select$1l();
|
|
26847
26847
|
}
|
|
26848
|
-
function keyBuilder$
|
|
26848
|
+
function keyBuilder$1q(luvio, params) {
|
|
26849
26849
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26850
26850
|
}
|
|
26851
26851
|
function getResponseCacheKeys$K(luvio, resourceParams, response) {
|
|
26852
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
26852
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1q(luvio, resourceParams));
|
|
26853
26853
|
}
|
|
26854
26854
|
function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
26855
26855
|
const { body } = response;
|
|
26856
|
-
const key = keyBuilder$
|
|
26856
|
+
const key = keyBuilder$1q(luvio, resourceParams);
|
|
26857
26857
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
26858
26858
|
const snapshot = luvio.storeLookup({
|
|
26859
26859
|
recordId: key,
|
|
@@ -26864,7 +26864,7 @@
|
|
|
26864
26864
|
return snapshot;
|
|
26865
26865
|
}
|
|
26866
26866
|
function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
26867
|
-
const key = keyBuilder$
|
|
26867
|
+
const key = keyBuilder$1q(luvio, params);
|
|
26868
26868
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26869
26869
|
const storeMetadataParams = {
|
|
26870
26870
|
ttl: TTL$p,
|
|
@@ -26928,9 +26928,9 @@
|
|
|
26928
26928
|
}
|
|
26929
26929
|
return coercedConfig;
|
|
26930
26930
|
}
|
|
26931
|
-
function keyBuilder$
|
|
26931
|
+
function keyBuilder$1p(luvio, config) {
|
|
26932
26932
|
const resourceParams = createResourceParams$J(config);
|
|
26933
|
-
return keyBuilder$
|
|
26933
|
+
return keyBuilder$1q(luvio, resourceParams);
|
|
26934
26934
|
}
|
|
26935
26935
|
function typeCheckConfig$P(untrustedConfig) {
|
|
26936
26936
|
const config = {};
|
|
@@ -27025,7 +27025,7 @@
|
|
|
27025
27025
|
function buildCachedSnapshotCachePolicy$D(context, storeLookup) {
|
|
27026
27026
|
const { luvio, config } = context;
|
|
27027
27027
|
const selector = {
|
|
27028
|
-
recordId: keyBuilder$
|
|
27028
|
+
recordId: keyBuilder$1p(luvio, config),
|
|
27029
27029
|
node: adapterFragment$w(luvio, config),
|
|
27030
27030
|
variables: {},
|
|
27031
27031
|
};
|
|
@@ -27103,15 +27103,15 @@
|
|
|
27103
27103
|
function select$1e(luvio, params) {
|
|
27104
27104
|
return select$1f();
|
|
27105
27105
|
}
|
|
27106
|
-
function keyBuilder$
|
|
27106
|
+
function keyBuilder$1o(luvio, params) {
|
|
27107
27107
|
return keyPrefix$1 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
27108
27108
|
}
|
|
27109
27109
|
function getResponseCacheKeys$J(luvio, resourceParams, response) {
|
|
27110
|
-
return getTypeCacheKeys$A$1(luvio, response, () => keyBuilder$
|
|
27110
|
+
return getTypeCacheKeys$A$1(luvio, response, () => keyBuilder$1o(luvio, resourceParams));
|
|
27111
27111
|
}
|
|
27112
27112
|
function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
27113
27113
|
const { body } = response;
|
|
27114
|
-
const key = keyBuilder$
|
|
27114
|
+
const key = keyBuilder$1o(luvio, resourceParams);
|
|
27115
27115
|
luvio.storeIngest(key, ingest$s$1, body);
|
|
27116
27116
|
const snapshot = luvio.storeLookup({
|
|
27117
27117
|
recordId: key,
|
|
@@ -27122,7 +27122,7 @@
|
|
|
27122
27122
|
return snapshot;
|
|
27123
27123
|
}
|
|
27124
27124
|
function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
27125
|
-
const key = keyBuilder$
|
|
27125
|
+
const key = keyBuilder$1o(luvio, params);
|
|
27126
27126
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27127
27127
|
luvio.storeIngestError(key, errorSnapshot);
|
|
27128
27128
|
return errorSnapshot;
|
|
@@ -27172,9 +27172,9 @@
|
|
|
27172
27172
|
}
|
|
27173
27173
|
return coercedConfig;
|
|
27174
27174
|
}
|
|
27175
|
-
function keyBuilder$
|
|
27175
|
+
function keyBuilder$1n(luvio, config) {
|
|
27176
27176
|
const resourceParams = createResourceParams$I(config);
|
|
27177
|
-
return keyBuilder$
|
|
27177
|
+
return keyBuilder$1o(luvio, resourceParams);
|
|
27178
27178
|
}
|
|
27179
27179
|
function typeCheckConfig$O(untrustedConfig) {
|
|
27180
27180
|
const config = {};
|
|
@@ -27247,7 +27247,7 @@
|
|
|
27247
27247
|
function buildCachedSnapshotCachePolicy$C(context, storeLookup) {
|
|
27248
27248
|
const { luvio, config } = context;
|
|
27249
27249
|
const selector = {
|
|
27250
|
-
recordId: keyBuilder$
|
|
27250
|
+
recordId: keyBuilder$1n(luvio, config),
|
|
27251
27251
|
node: adapterFragment$v(luvio, config),
|
|
27252
27252
|
variables: {},
|
|
27253
27253
|
};
|
|
@@ -27270,14 +27270,14 @@
|
|
|
27270
27270
|
const TTL$n = 900000;
|
|
27271
27271
|
const VERSION$Q$1 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
27272
27272
|
const RepresentationType$y = 'QuickActionDefaultsRepresentation';
|
|
27273
|
-
function keyBuilder$
|
|
27273
|
+
function keyBuilder$1m(luvio, config) {
|
|
27274
27274
|
return keyPrefix$1 + '::' + RepresentationType$y + ':' + config.actionApiName;
|
|
27275
27275
|
}
|
|
27276
27276
|
function keyBuilderFromType$l(luvio, object) {
|
|
27277
27277
|
const keyParams = {
|
|
27278
27278
|
actionApiName: object.actionApiName
|
|
27279
27279
|
};
|
|
27280
|
-
return keyBuilder$
|
|
27280
|
+
return keyBuilder$1m(luvio, keyParams);
|
|
27281
27281
|
}
|
|
27282
27282
|
function dynamicNormalize$4(ingestParams) {
|
|
27283
27283
|
return function normalize_dynamic(input, existing, path, luvio, store, timestamp) {
|
|
@@ -27457,8 +27457,8 @@
|
|
|
27457
27457
|
return selectFields$7(trie);
|
|
27458
27458
|
}
|
|
27459
27459
|
|
|
27460
|
-
function keyBuilder$
|
|
27461
|
-
return keyBuilder$
|
|
27460
|
+
function keyBuilder$1l(luvio, params) {
|
|
27461
|
+
return keyBuilder$1m(luvio, {
|
|
27462
27462
|
actionApiName: params.urlParams.actionApiName
|
|
27463
27463
|
});
|
|
27464
27464
|
}
|
|
@@ -27466,7 +27466,7 @@
|
|
|
27466
27466
|
return getTypeCacheKeys$z$1(luvio, response);
|
|
27467
27467
|
}
|
|
27468
27468
|
function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
27469
|
-
const key = keyBuilder$
|
|
27469
|
+
const key = keyBuilder$1l(luvio, params);
|
|
27470
27470
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27471
27471
|
const storeMetadataParams = {
|
|
27472
27472
|
ttl: TTL$n,
|
|
@@ -27498,7 +27498,7 @@
|
|
|
27498
27498
|
function buildNetworkSnapshot$L(luvio, config, options) {
|
|
27499
27499
|
const resourceParams = createResourceParams$H(config);
|
|
27500
27500
|
const request = createResourceRequest$L(resourceParams);
|
|
27501
|
-
const key = keyBuilder$
|
|
27501
|
+
const key = keyBuilder$1k(luvio, config);
|
|
27502
27502
|
const trackedFieldsConfig = {
|
|
27503
27503
|
maxDepth: configurationForRestAdapters$1.getTrackedFieldDepthOnCacheMiss(),
|
|
27504
27504
|
onlyFetchLeafNodeIdAndName: configurationForRestAdapters$1.getTrackedFieldLeafNodeIdAndNameOnly()
|
|
@@ -27559,9 +27559,9 @@
|
|
|
27559
27559
|
}
|
|
27560
27560
|
return coercedConfig;
|
|
27561
27561
|
}
|
|
27562
|
-
function keyBuilder$
|
|
27562
|
+
function keyBuilder$1k(luvio, config) {
|
|
27563
27563
|
const resourceParams = createResourceParams$H(config);
|
|
27564
|
-
return keyBuilder$
|
|
27564
|
+
return keyBuilder$1l(luvio, resourceParams);
|
|
27565
27565
|
}
|
|
27566
27566
|
function typeCheckConfig$N(untrustedConfig) {
|
|
27567
27567
|
const config = {};
|
|
@@ -27599,7 +27599,7 @@
|
|
|
27599
27599
|
}
|
|
27600
27600
|
function buildCachedSnapshot$6(luvio, config) {
|
|
27601
27601
|
const selector = {
|
|
27602
|
-
recordId: keyBuilder$
|
|
27602
|
+
recordId: keyBuilder$1k(luvio, config),
|
|
27603
27603
|
node: adapterFragment$u(luvio, config),
|
|
27604
27604
|
variables: {},
|
|
27605
27605
|
};
|
|
@@ -27635,7 +27635,7 @@
|
|
|
27635
27635
|
function buildCachedSnapshotCachePolicy$B(context, storeLookup) {
|
|
27636
27636
|
const { luvio, config } = context;
|
|
27637
27637
|
const selector = {
|
|
27638
|
-
recordId: keyBuilder$
|
|
27638
|
+
recordId: keyBuilder$1k(luvio, config),
|
|
27639
27639
|
node: adapterFragment$u(luvio, config),
|
|
27640
27640
|
variables: {},
|
|
27641
27641
|
};
|
|
@@ -27658,15 +27658,15 @@
|
|
|
27658
27658
|
function select$1d(luvio, params) {
|
|
27659
27659
|
return select$1l();
|
|
27660
27660
|
}
|
|
27661
|
-
function keyBuilder$
|
|
27661
|
+
function keyBuilder$1j(luvio, params) {
|
|
27662
27662
|
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 + ')';
|
|
27663
27663
|
}
|
|
27664
27664
|
function getResponseCacheKeys$H(luvio, resourceParams, response) {
|
|
27665
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
27665
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1j(luvio, resourceParams));
|
|
27666
27666
|
}
|
|
27667
27667
|
function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
27668
27668
|
const { body } = response;
|
|
27669
|
-
const key = keyBuilder$
|
|
27669
|
+
const key = keyBuilder$1j(luvio, resourceParams);
|
|
27670
27670
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
27671
27671
|
const snapshot = luvio.storeLookup({
|
|
27672
27672
|
recordId: key,
|
|
@@ -27677,7 +27677,7 @@
|
|
|
27677
27677
|
return snapshot;
|
|
27678
27678
|
}
|
|
27679
27679
|
function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
27680
|
-
const key = keyBuilder$
|
|
27680
|
+
const key = keyBuilder$1j(luvio, params);
|
|
27681
27681
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27682
27682
|
const storeMetadataParams = {
|
|
27683
27683
|
ttl: TTL$p,
|
|
@@ -27749,9 +27749,9 @@
|
|
|
27749
27749
|
}
|
|
27750
27750
|
return coercedConfig;
|
|
27751
27751
|
}
|
|
27752
|
-
function keyBuilder$
|
|
27752
|
+
function keyBuilder$1i(luvio, config) {
|
|
27753
27753
|
const resourceParams = createResourceParams$G(config);
|
|
27754
|
-
return keyBuilder$
|
|
27754
|
+
return keyBuilder$1j(luvio, resourceParams);
|
|
27755
27755
|
}
|
|
27756
27756
|
function typeCheckConfig$M(untrustedConfig) {
|
|
27757
27757
|
const config = {};
|
|
@@ -27872,7 +27872,7 @@
|
|
|
27872
27872
|
function buildCachedSnapshotCachePolicy$A(context, storeLookup) {
|
|
27873
27873
|
const { luvio, config } = context;
|
|
27874
27874
|
const selector = {
|
|
27875
|
-
recordId: keyBuilder$
|
|
27875
|
+
recordId: keyBuilder$1i(luvio, config),
|
|
27876
27876
|
node: adapterFragment$t(luvio, config),
|
|
27877
27877
|
variables: {},
|
|
27878
27878
|
};
|
|
@@ -27895,15 +27895,15 @@
|
|
|
27895
27895
|
function select$1c(luvio, params) {
|
|
27896
27896
|
return select$1l();
|
|
27897
27897
|
}
|
|
27898
|
-
function keyBuilder$
|
|
27898
|
+
function keyBuilder$1h(luvio, params) {
|
|
27899
27899
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
27900
27900
|
}
|
|
27901
27901
|
function getResponseCacheKeys$G(luvio, resourceParams, response) {
|
|
27902
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
27902
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1h(luvio, resourceParams));
|
|
27903
27903
|
}
|
|
27904
27904
|
function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
27905
27905
|
const { body } = response;
|
|
27906
|
-
const key = keyBuilder$
|
|
27906
|
+
const key = keyBuilder$1h(luvio, resourceParams);
|
|
27907
27907
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
27908
27908
|
const snapshot = luvio.storeLookup({
|
|
27909
27909
|
recordId: key,
|
|
@@ -27914,7 +27914,7 @@
|
|
|
27914
27914
|
return snapshot;
|
|
27915
27915
|
}
|
|
27916
27916
|
function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
27917
|
-
const key = keyBuilder$
|
|
27917
|
+
const key = keyBuilder$1h(luvio, params);
|
|
27918
27918
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27919
27919
|
const storeMetadataParams = {
|
|
27920
27920
|
ttl: TTL$p,
|
|
@@ -27978,9 +27978,9 @@
|
|
|
27978
27978
|
}
|
|
27979
27979
|
return coercedConfig;
|
|
27980
27980
|
}
|
|
27981
|
-
function keyBuilder$
|
|
27981
|
+
function keyBuilder$1g(luvio, config) {
|
|
27982
27982
|
const resourceParams = createResourceParams$F(config);
|
|
27983
|
-
return keyBuilder$
|
|
27983
|
+
return keyBuilder$1h(luvio, resourceParams);
|
|
27984
27984
|
}
|
|
27985
27985
|
function typeCheckConfig$L(untrustedConfig) {
|
|
27986
27986
|
const config = {};
|
|
@@ -28082,7 +28082,7 @@
|
|
|
28082
28082
|
function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
28083
28083
|
const { luvio, config } = context;
|
|
28084
28084
|
const selector = {
|
|
28085
|
-
recordId: keyBuilder$
|
|
28085
|
+
recordId: keyBuilder$1g(luvio, config),
|
|
28086
28086
|
node: adapterFragment$s(luvio, config),
|
|
28087
28087
|
variables: {},
|
|
28088
28088
|
};
|
|
@@ -28175,15 +28175,15 @@
|
|
|
28175
28175
|
function select$1b$1(luvio, params) {
|
|
28176
28176
|
return select$1l();
|
|
28177
28177
|
}
|
|
28178
|
-
function keyBuilder$
|
|
28178
|
+
function keyBuilder$1f(luvio, params) {
|
|
28179
28179
|
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) + ')';
|
|
28180
28180
|
}
|
|
28181
28181
|
function getResponseCacheKeys$F(luvio, resourceParams, response) {
|
|
28182
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
28182
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1f(luvio, resourceParams));
|
|
28183
28183
|
}
|
|
28184
28184
|
function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
28185
28185
|
const { body } = response;
|
|
28186
|
-
const key = keyBuilder$
|
|
28186
|
+
const key = keyBuilder$1f(luvio, resourceParams);
|
|
28187
28187
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
28188
28188
|
const snapshot = luvio.storeLookup({
|
|
28189
28189
|
recordId: key,
|
|
@@ -28194,7 +28194,7 @@
|
|
|
28194
28194
|
return snapshot;
|
|
28195
28195
|
}
|
|
28196
28196
|
function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
28197
|
-
const key = keyBuilder$
|
|
28197
|
+
const key = keyBuilder$1f(luvio, params);
|
|
28198
28198
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28199
28199
|
const storeMetadataParams = {
|
|
28200
28200
|
ttl: TTL$p,
|
|
@@ -28269,7 +28269,7 @@
|
|
|
28269
28269
|
for (let i = 0, len = childResources.length; i < len; i += 1) {
|
|
28270
28270
|
reader.enterPath(i);
|
|
28271
28271
|
const childResource = childResources[i];
|
|
28272
|
-
const childKey = keyBuilder$
|
|
28272
|
+
const childKey = keyBuilder$1f(luvio, childResource);
|
|
28273
28273
|
const childFragment = select$1b$1();
|
|
28274
28274
|
const childSnapshot = reader.read({
|
|
28275
28275
|
recordId: childKey,
|
|
@@ -28316,7 +28316,7 @@
|
|
|
28316
28316
|
},
|
|
28317
28317
|
};
|
|
28318
28318
|
}
|
|
28319
|
-
function keyBuilder$
|
|
28319
|
+
function keyBuilder$1e(luvio, params) {
|
|
28320
28320
|
return (keyPrefix$1 +
|
|
28321
28321
|
'::' +
|
|
28322
28322
|
'ActionRelatedListsCollectionBatchRepresentation(' +
|
|
@@ -28328,7 +28328,7 @@
|
|
|
28328
28328
|
const childEnvelopes = response.body.results;
|
|
28329
28329
|
const childResourceParamsArray = createChildResourceParams$6(resourceParams);
|
|
28330
28330
|
let snapshotState = 'Fulfilled';
|
|
28331
|
-
const key = keyBuilder$
|
|
28331
|
+
const key = keyBuilder$1e(luvio, resourceParams);
|
|
28332
28332
|
const childSnapshotDataResponses = [];
|
|
28333
28333
|
let seenRecords = new StoreKeySet();
|
|
28334
28334
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
@@ -28368,7 +28368,7 @@
|
|
|
28368
28368
|
errorType: 'fetchResponse',
|
|
28369
28369
|
};
|
|
28370
28370
|
ingestError$s(luvio, childResourceParams, childResponse);
|
|
28371
|
-
seenRecords.add(keyBuilder$
|
|
28371
|
+
seenRecords.add(keyBuilder$1f(luvio, childResourceParams));
|
|
28372
28372
|
const childValue = {
|
|
28373
28373
|
statusCode: childStatusCode,
|
|
28374
28374
|
result: childBody,
|
|
@@ -28394,7 +28394,7 @@
|
|
|
28394
28394
|
};
|
|
28395
28395
|
}
|
|
28396
28396
|
function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
28397
|
-
const key = keyBuilder$
|
|
28397
|
+
const key = keyBuilder$1e(luvio, params);
|
|
28398
28398
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28399
28399
|
luvio.storeIngestError(key, errorSnapshot);
|
|
28400
28400
|
return errorSnapshot;
|
|
@@ -28413,7 +28413,7 @@
|
|
|
28413
28413
|
keys.merge(childKeys);
|
|
28414
28414
|
}
|
|
28415
28415
|
else if (childStatusCode === 404) {
|
|
28416
|
-
const childKey = keyBuilder$
|
|
28416
|
+
const childKey = keyBuilder$1f(luvio, childResourceParams);
|
|
28417
28417
|
keys.set(childKey, {
|
|
28418
28418
|
namespace: keyPrefix$1,
|
|
28419
28419
|
representationName: childKey.split('::')[1].split(':')[0],
|
|
@@ -28468,9 +28468,9 @@
|
|
|
28468
28468
|
}
|
|
28469
28469
|
return coercedConfig;
|
|
28470
28470
|
}
|
|
28471
|
-
function keyBuilder$
|
|
28471
|
+
function keyBuilder$1d(luvio, config) {
|
|
28472
28472
|
const resourceParams = createResourceParams$E(config);
|
|
28473
|
-
return keyBuilder$
|
|
28473
|
+
return keyBuilder$1e(luvio, resourceParams);
|
|
28474
28474
|
}
|
|
28475
28475
|
function typeCheckConfig$K(untrustedConfig) {
|
|
28476
28476
|
const config = {};
|
|
@@ -28555,7 +28555,7 @@
|
|
|
28555
28555
|
function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
28556
28556
|
const { luvio, config } = context;
|
|
28557
28557
|
const selector = {
|
|
28558
|
-
recordId: keyBuilder$
|
|
28558
|
+
recordId: keyBuilder$1d(luvio, config),
|
|
28559
28559
|
node: adapterFragment$r(luvio, config),
|
|
28560
28560
|
variables: {},
|
|
28561
28561
|
};
|
|
@@ -28639,9 +28639,9 @@
|
|
|
28639
28639
|
}
|
|
28640
28640
|
return coercedConfig;
|
|
28641
28641
|
}
|
|
28642
|
-
function keyBuilder$
|
|
28642
|
+
function keyBuilder$1c(luvio, config) {
|
|
28643
28643
|
const resourceParams = createResourceParams$D(config);
|
|
28644
|
-
return keyBuilder$
|
|
28644
|
+
return keyBuilder$1f(luvio, resourceParams);
|
|
28645
28645
|
}
|
|
28646
28646
|
function typeCheckConfig$J(untrustedConfig) {
|
|
28647
28647
|
const config = {};
|
|
@@ -28762,7 +28762,7 @@
|
|
|
28762
28762
|
function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
28763
28763
|
const { luvio, config } = context;
|
|
28764
28764
|
const selector = {
|
|
28765
|
-
recordId: keyBuilder$
|
|
28765
|
+
recordId: keyBuilder$1c(luvio, config),
|
|
28766
28766
|
node: adapterFragment$q(luvio, config),
|
|
28767
28767
|
variables: {},
|
|
28768
28768
|
};
|
|
@@ -28785,15 +28785,15 @@
|
|
|
28785
28785
|
function select$19$1(luvio, params) {
|
|
28786
28786
|
return select$1l();
|
|
28787
28787
|
}
|
|
28788
|
-
function keyBuilder$
|
|
28788
|
+
function keyBuilder$1b(luvio, params) {
|
|
28789
28789
|
return keyPrefix$1 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
28790
28790
|
}
|
|
28791
28791
|
function getResponseCacheKeys$D(luvio, resourceParams, response) {
|
|
28792
|
-
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$
|
|
28792
|
+
return getTypeCacheKeys$C$1(luvio, response, () => keyBuilder$1b(luvio, resourceParams));
|
|
28793
28793
|
}
|
|
28794
28794
|
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
28795
28795
|
const { body } = response;
|
|
28796
|
-
const key = keyBuilder$
|
|
28796
|
+
const key = keyBuilder$1b(luvio, resourceParams);
|
|
28797
28797
|
luvio.storeIngest(key, ingest$u$1, body);
|
|
28798
28798
|
const snapshot = luvio.storeLookup({
|
|
28799
28799
|
recordId: key,
|
|
@@ -28804,7 +28804,7 @@
|
|
|
28804
28804
|
return snapshot;
|
|
28805
28805
|
}
|
|
28806
28806
|
function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
28807
|
-
const key = keyBuilder$
|
|
28807
|
+
const key = keyBuilder$1b(luvio, params);
|
|
28808
28808
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28809
28809
|
const storeMetadataParams = {
|
|
28810
28810
|
ttl: TTL$p,
|
|
@@ -28872,9 +28872,9 @@
|
|
|
28872
28872
|
}
|
|
28873
28873
|
return coercedConfig;
|
|
28874
28874
|
}
|
|
28875
|
-
function keyBuilder$
|
|
28875
|
+
function keyBuilder$1a(luvio, config) {
|
|
28876
28876
|
const resourceParams = createResourceParams$C(config);
|
|
28877
|
-
return keyBuilder$
|
|
28877
|
+
return keyBuilder$1b(luvio, resourceParams);
|
|
28878
28878
|
}
|
|
28879
28879
|
function typeCheckConfig$I(untrustedConfig) {
|
|
28880
28880
|
const config = {};
|
|
@@ -28987,7 +28987,7 @@
|
|
|
28987
28987
|
function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
28988
28988
|
const { luvio, config } = context;
|
|
28989
28989
|
const selector = {
|
|
28990
|
-
recordId: keyBuilder$
|
|
28990
|
+
recordId: keyBuilder$1a(luvio, config),
|
|
28991
28991
|
node: adapterFragment$p(luvio, config),
|
|
28992
28992
|
variables: {},
|
|
28993
28993
|
};
|
|
@@ -29065,14 +29065,14 @@
|
|
|
29065
29065
|
const TTL$m = 120000;
|
|
29066
29066
|
const VERSION$O$1 = "09884ca5bf90ea4662092a4e48817081";
|
|
29067
29067
|
const RepresentationType$w = 'NavItemRepresentation';
|
|
29068
|
-
function keyBuilder$
|
|
29068
|
+
function keyBuilder$19(luvio, config) {
|
|
29069
29069
|
return keyPrefix$1 + '::' + RepresentationType$w + ':' + config.developerName;
|
|
29070
29070
|
}
|
|
29071
29071
|
function keyBuilderFromType$k(luvio, object) {
|
|
29072
29072
|
const keyParams = {
|
|
29073
29073
|
developerName: object.developerName
|
|
29074
29074
|
};
|
|
29075
|
-
return keyBuilder$
|
|
29075
|
+
return keyBuilder$19(luvio, keyParams);
|
|
29076
29076
|
}
|
|
29077
29077
|
function normalize$q(input, existing, path, luvio, store, timestamp) {
|
|
29078
29078
|
const input_pageReference = input.pageReference;
|
|
@@ -29288,14 +29288,14 @@
|
|
|
29288
29288
|
const TTL$l = 300000;
|
|
29289
29289
|
const VERSION$N$1 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
29290
29290
|
const RepresentationType$v = 'AppRepresentation';
|
|
29291
|
-
function keyBuilder$
|
|
29291
|
+
function keyBuilder$18(luvio, config) {
|
|
29292
29292
|
return keyPrefix$1 + '::' + RepresentationType$v + ':' + (config.appId === null ? '' : config.appId);
|
|
29293
29293
|
}
|
|
29294
29294
|
function keyBuilderFromType$j(luvio, object) {
|
|
29295
29295
|
const keyParams = {
|
|
29296
29296
|
appId: object.appId
|
|
29297
29297
|
};
|
|
29298
|
-
return keyBuilder$
|
|
29298
|
+
return keyBuilder$18(luvio, keyParams);
|
|
29299
29299
|
}
|
|
29300
29300
|
function normalize$p(input, existing, path, luvio, store, timestamp) {
|
|
29301
29301
|
const input_navItems = input.navItems;
|
|
@@ -29668,15 +29668,15 @@
|
|
|
29668
29668
|
function select$14$1(luvio, params) {
|
|
29669
29669
|
return select$15$1();
|
|
29670
29670
|
}
|
|
29671
|
-
function keyBuilder$
|
|
29671
|
+
function keyBuilder$17$1(luvio, params) {
|
|
29672
29672
|
return keyPrefix$1 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
29673
29673
|
}
|
|
29674
29674
|
function getResponseCacheKeys$C(luvio, resourceParams, response) {
|
|
29675
|
-
return getTypeCacheKeys$v$1(luvio, response, () => keyBuilder$
|
|
29675
|
+
return getTypeCacheKeys$v$1(luvio, response, () => keyBuilder$17$1(luvio, resourceParams));
|
|
29676
29676
|
}
|
|
29677
29677
|
function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
|
|
29678
29678
|
const { body } = response;
|
|
29679
|
-
const key = keyBuilder$
|
|
29679
|
+
const key = keyBuilder$17$1(luvio, resourceParams);
|
|
29680
29680
|
luvio.storeIngest(key, ingest$o$1, body);
|
|
29681
29681
|
const snapshot = luvio.storeLookup({
|
|
29682
29682
|
recordId: key,
|
|
@@ -29687,7 +29687,7 @@
|
|
|
29687
29687
|
return snapshot;
|
|
29688
29688
|
}
|
|
29689
29689
|
function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
29690
|
-
const key = keyBuilder$
|
|
29690
|
+
const key = keyBuilder$17$1(luvio, params);
|
|
29691
29691
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29692
29692
|
const storeMetadataParams = {
|
|
29693
29693
|
ttl: TTL$k,
|
|
@@ -29740,9 +29740,9 @@
|
|
|
29740
29740
|
}
|
|
29741
29741
|
return coercedConfig;
|
|
29742
29742
|
}
|
|
29743
|
-
function keyBuilder$
|
|
29743
|
+
function keyBuilder$16$1(luvio, config) {
|
|
29744
29744
|
const resourceParams = createResourceParams$B(config);
|
|
29745
|
-
return keyBuilder$
|
|
29745
|
+
return keyBuilder$17$1(luvio, resourceParams);
|
|
29746
29746
|
}
|
|
29747
29747
|
function typeCheckConfig$H(untrustedConfig) {
|
|
29748
29748
|
const config = {};
|
|
@@ -29815,7 +29815,7 @@
|
|
|
29815
29815
|
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
29816
29816
|
const { luvio, config } = context;
|
|
29817
29817
|
const selector = {
|
|
29818
|
-
recordId: keyBuilder$
|
|
29818
|
+
recordId: keyBuilder$16$1(luvio, config),
|
|
29819
29819
|
node: adapterFragment$o(luvio, config),
|
|
29820
29820
|
variables: {},
|
|
29821
29821
|
};
|
|
@@ -29838,8 +29838,8 @@
|
|
|
29838
29838
|
function select$13$1(luvio, params) {
|
|
29839
29839
|
return select$16$1();
|
|
29840
29840
|
}
|
|
29841
|
-
function keyBuilder$
|
|
29842
|
-
return keyBuilder$
|
|
29841
|
+
function keyBuilder$15$1(luvio, params) {
|
|
29842
|
+
return keyBuilder$18(luvio, {
|
|
29843
29843
|
appId: params.urlParams.appId
|
|
29844
29844
|
});
|
|
29845
29845
|
}
|
|
@@ -29848,7 +29848,7 @@
|
|
|
29848
29848
|
}
|
|
29849
29849
|
function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
29850
29850
|
const { body } = response;
|
|
29851
|
-
const key = keyBuilder$
|
|
29851
|
+
const key = keyBuilder$15$1(luvio, resourceParams);
|
|
29852
29852
|
luvio.storeIngest(key, ingest$p$1, body);
|
|
29853
29853
|
const snapshot = luvio.storeLookup({
|
|
29854
29854
|
recordId: key,
|
|
@@ -29859,7 +29859,7 @@
|
|
|
29859
29859
|
return snapshot;
|
|
29860
29860
|
}
|
|
29861
29861
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
29862
|
-
const key = keyBuilder$
|
|
29862
|
+
const key = keyBuilder$15$1(luvio, params);
|
|
29863
29863
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29864
29864
|
const storeMetadataParams = {
|
|
29865
29865
|
ttl: TTL$l,
|
|
@@ -29919,9 +29919,9 @@
|
|
|
29919
29919
|
}
|
|
29920
29920
|
return coercedConfig;
|
|
29921
29921
|
}
|
|
29922
|
-
function keyBuilder$
|
|
29922
|
+
function keyBuilder$14$1(luvio, config) {
|
|
29923
29923
|
const resourceParams = createResourceParams$A(config);
|
|
29924
|
-
return keyBuilder$
|
|
29924
|
+
return keyBuilder$15$1(luvio, resourceParams);
|
|
29925
29925
|
}
|
|
29926
29926
|
function typeCheckConfig$G(untrustedConfig) {
|
|
29927
29927
|
const config = {};
|
|
@@ -29998,7 +29998,7 @@
|
|
|
29998
29998
|
function buildCachedSnapshotCachePolicy$u(context, storeLookup) {
|
|
29999
29999
|
const { luvio, config } = context;
|
|
30000
30000
|
const selector = {
|
|
30001
|
-
recordId: keyBuilder$
|
|
30001
|
+
recordId: keyBuilder$14$1(luvio, config),
|
|
30002
30002
|
node: adapterFragment$n(luvio, config),
|
|
30003
30003
|
variables: {},
|
|
30004
30004
|
};
|
|
@@ -30244,15 +30244,15 @@
|
|
|
30244
30244
|
function select$Z$1(luvio, params) {
|
|
30245
30245
|
return select$_$1();
|
|
30246
30246
|
}
|
|
30247
|
-
function keyBuilder$
|
|
30247
|
+
function keyBuilder$13$1(luvio, params) {
|
|
30248
30248
|
return keyPrefix$1 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
30249
30249
|
}
|
|
30250
30250
|
function getResponseCacheKeys$A(luvio, resourceParams, response) {
|
|
30251
|
-
return getTypeCacheKeys$u$1(luvio, response, () => keyBuilder$
|
|
30251
|
+
return getTypeCacheKeys$u$1(luvio, response, () => keyBuilder$13$1(luvio, resourceParams));
|
|
30252
30252
|
}
|
|
30253
30253
|
function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
|
|
30254
30254
|
const { body } = response;
|
|
30255
|
-
const key = keyBuilder$
|
|
30255
|
+
const key = keyBuilder$13$1(luvio, resourceParams);
|
|
30256
30256
|
luvio.storeIngest(key, ingest$n$1, body);
|
|
30257
30257
|
const snapshot = luvio.storeLookup({
|
|
30258
30258
|
recordId: key,
|
|
@@ -30263,7 +30263,7 @@
|
|
|
30263
30263
|
return snapshot;
|
|
30264
30264
|
}
|
|
30265
30265
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
30266
|
-
const key = keyBuilder$
|
|
30266
|
+
const key = keyBuilder$13$1(luvio, params);
|
|
30267
30267
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30268
30268
|
const storeMetadataParams = {
|
|
30269
30269
|
ttl: TTL$j,
|
|
@@ -30307,9 +30307,9 @@
|
|
|
30307
30307
|
};
|
|
30308
30308
|
return resourceParams;
|
|
30309
30309
|
}
|
|
30310
|
-
function keyBuilder$
|
|
30310
|
+
function keyBuilder$12$1(luvio, config) {
|
|
30311
30311
|
const resourceParams = createResourceParams$z(config);
|
|
30312
|
-
return keyBuilder$
|
|
30312
|
+
return keyBuilder$13$1(luvio, resourceParams);
|
|
30313
30313
|
}
|
|
30314
30314
|
function typeCheckConfig$F(untrustedConfig) {
|
|
30315
30315
|
const config = {};
|
|
@@ -30381,7 +30381,7 @@
|
|
|
30381
30381
|
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
30382
30382
|
const { luvio, config } = context;
|
|
30383
30383
|
const selector = {
|
|
30384
|
-
recordId: keyBuilder$
|
|
30384
|
+
recordId: keyBuilder$12$1(luvio, config),
|
|
30385
30385
|
node: adapterFragment$m(luvio, config),
|
|
30386
30386
|
variables: {},
|
|
30387
30387
|
};
|
|
@@ -30401,14 +30401,14 @@
|
|
|
30401
30401
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
30402
30402
|
};
|
|
30403
30403
|
|
|
30404
|
-
function keyBuilder$
|
|
30404
|
+
function keyBuilder$11$1(luvio, params) {
|
|
30405
30405
|
return keyPrefix$1 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
30406
30406
|
}
|
|
30407
30407
|
function getResponseCacheKeys$z(luvio, resourceParams, response) {
|
|
30408
30408
|
return getTypeCacheKeys$H$1(luvio, response);
|
|
30409
30409
|
}
|
|
30410
30410
|
function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
30411
|
-
const key = keyBuilder$
|
|
30411
|
+
const key = keyBuilder$11$1(luvio, params);
|
|
30412
30412
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30413
30413
|
const storeMetadataParams = {
|
|
30414
30414
|
ttl: TTL$s,
|
|
@@ -30455,7 +30455,7 @@
|
|
|
30455
30455
|
|
|
30456
30456
|
function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
30457
30457
|
const { body } = response;
|
|
30458
|
-
const key = keyBuilder$
|
|
30458
|
+
const key = keyBuilder$1D(luvio, config);
|
|
30459
30459
|
luvio.storeIngest(key, ingest$A$1, body);
|
|
30460
30460
|
const snapshot = luvio.storeLookup({
|
|
30461
30461
|
recordId: key,
|
|
@@ -30504,7 +30504,7 @@
|
|
|
30504
30504
|
function buildCachedSnapshotCachePolicy$s(context, storeLookup) {
|
|
30505
30505
|
const { luvio, config } = context;
|
|
30506
30506
|
const selector = {
|
|
30507
|
-
recordId: keyBuilder$
|
|
30507
|
+
recordId: keyBuilder$1D(luvio, config),
|
|
30508
30508
|
node: select$1q(),
|
|
30509
30509
|
variables: {},
|
|
30510
30510
|
};
|
|
@@ -30648,7 +30648,7 @@
|
|
|
30648
30648
|
|
|
30649
30649
|
function buildCachedSnapshot$5(luvio, config) {
|
|
30650
30650
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
30651
|
-
const key = keyBuilder$
|
|
30651
|
+
const key = keyBuilder$1C(luvio, {
|
|
30652
30652
|
apiName: objectApiName,
|
|
30653
30653
|
recordTypeId,
|
|
30654
30654
|
layoutType,
|
|
@@ -30701,7 +30701,7 @@
|
|
|
30701
30701
|
}
|
|
30702
30702
|
function prepareRequest$3(luvio, config) {
|
|
30703
30703
|
const { recordTypeId, layoutType, mode, objectApiName } = config;
|
|
30704
|
-
const key = keyBuilder$
|
|
30704
|
+
const key = keyBuilder$1C(luvio, {
|
|
30705
30705
|
apiName: objectApiName,
|
|
30706
30706
|
recordTypeId,
|
|
30707
30707
|
layoutType,
|
|
@@ -30766,7 +30766,7 @@
|
|
|
30766
30766
|
const { config, luvio } = context;
|
|
30767
30767
|
const { objectApiName, recordTypeId, layoutType, mode } = config;
|
|
30768
30768
|
const selector = {
|
|
30769
|
-
recordId: keyBuilder$
|
|
30769
|
+
recordId: keyBuilder$1C(luvio, {
|
|
30770
30770
|
apiName: objectApiName,
|
|
30771
30771
|
recordTypeId,
|
|
30772
30772
|
layoutType,
|
|
@@ -30868,11 +30868,19 @@
|
|
|
30868
30868
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$s);
|
|
30869
30869
|
};
|
|
30870
30870
|
|
|
30871
|
+
function keyBuilder$10$1(luvio, params) {
|
|
30872
|
+
return keyBuilder$1S(luvio, {
|
|
30873
|
+
objectApiName: params.urlParams.objectApiName,
|
|
30874
|
+
listViewApiName: params.urlParams.listViewApiName,
|
|
30875
|
+
type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
|
|
30876
|
+
});
|
|
30877
|
+
}
|
|
30878
|
+
|
|
30871
30879
|
function select$Y$1(luvio, params) {
|
|
30872
30880
|
return select$1C();
|
|
30873
30881
|
}
|
|
30874
30882
|
function keyBuilder$$$1(luvio, params) {
|
|
30875
|
-
return keyBuilder$
|
|
30883
|
+
return keyBuilder$1S(luvio, {
|
|
30876
30884
|
objectApiName: params.urlParams.objectApiName,
|
|
30877
30885
|
listViewApiName: params.urlParams.listViewApiName,
|
|
30878
30886
|
type: "listView"
|
|
@@ -30883,7 +30891,7 @@
|
|
|
30883
30891
|
}
|
|
30884
30892
|
function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
30885
30893
|
const { body } = response;
|
|
30886
|
-
const key = keyBuilder
|
|
30894
|
+
const key = keyBuilder$10$1(luvio, resourceParams);
|
|
30887
30895
|
luvio.storeIngest(key, ingest$J$1, body);
|
|
30888
30896
|
const snapshot = luvio.storeLookup({
|
|
30889
30897
|
recordId: key,
|
|
@@ -30894,7 +30902,7 @@
|
|
|
30894
30902
|
return snapshot;
|
|
30895
30903
|
}
|
|
30896
30904
|
function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
30897
|
-
const key = keyBuilder
|
|
30905
|
+
const key = keyBuilder$10$1(luvio, params);
|
|
30898
30906
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30899
30907
|
const storeMetadataParams = {
|
|
30900
30908
|
ttl: TTL$x,
|
|
@@ -31343,7 +31351,7 @@
|
|
|
31343
31351
|
}
|
|
31344
31352
|
function keyBuilder$Y$1(luvio, config) {
|
|
31345
31353
|
const resourceParams = createResourceParams$w(config);
|
|
31346
|
-
return keyBuilder
|
|
31354
|
+
return keyBuilder$10$1(luvio, resourceParams);
|
|
31347
31355
|
}
|
|
31348
31356
|
function typeCheckConfig$B(untrustedConfig) {
|
|
31349
31357
|
const config = {};
|
|
@@ -31777,7 +31785,7 @@
|
|
|
31777
31785
|
reader.enterPath(i);
|
|
31778
31786
|
reader.enterPath(envelopeBodyPath);
|
|
31779
31787
|
const childResource = childResources[i];
|
|
31780
|
-
const childKey = keyBuilder$
|
|
31788
|
+
const childKey = keyBuilder$1F(luvio, childResource);
|
|
31781
31789
|
const childFragment = select$1r();
|
|
31782
31790
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
31783
31791
|
const childSnapshot = reader.read({
|
|
@@ -31879,7 +31887,7 @@
|
|
|
31879
31887
|
keys.merge(childKeys);
|
|
31880
31888
|
}
|
|
31881
31889
|
else if (childStatusCode === 404) {
|
|
31882
|
-
const childKey = keyBuilder$
|
|
31890
|
+
const childKey = keyBuilder$1F(luvio, childResourceParams);
|
|
31883
31891
|
keys.set(childKey, {
|
|
31884
31892
|
namespace: keyPrefix$1,
|
|
31885
31893
|
representationName: RepresentationType$I,
|
|
@@ -31896,7 +31904,7 @@
|
|
|
31896
31904
|
const now = Date.now();
|
|
31897
31905
|
for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
|
|
31898
31906
|
const childResourceParams = childResourceParamsArray[index];
|
|
31899
|
-
const childKey = keyBuilder$
|
|
31907
|
+
const childKey = keyBuilder$1F(luvio, childResourceParams);
|
|
31900
31908
|
const result = childEnvelopes[index];
|
|
31901
31909
|
const { statusCode: childStatusCode, result: childBody } = result;
|
|
31902
31910
|
if (childStatusCode === 200) {
|
|
@@ -34202,7 +34210,7 @@
|
|
|
34202
34210
|
const adapterName$j = 'getRecords';
|
|
34203
34211
|
function keyBuilder$M$1(luvio, config) {
|
|
34204
34212
|
const resourceParams = createResourceParams$S(config);
|
|
34205
|
-
return keyBuilder$
|
|
34213
|
+
return keyBuilder$1P(luvio, resourceParams);
|
|
34206
34214
|
}
|
|
34207
34215
|
function onFetchResponseError$g(luvio, config, resourceParams, response) {
|
|
34208
34216
|
const snapshot = ingestError$E(luvio, resourceParams, response, {
|
|
@@ -40161,7 +40169,7 @@
|
|
|
40161
40169
|
recordTypeId,
|
|
40162
40170
|
},
|
|
40163
40171
|
});
|
|
40164
|
-
const key = keyBuilder$
|
|
40172
|
+
const key = keyBuilder$1C(luvio, {
|
|
40165
40173
|
apiName: objectApiName,
|
|
40166
40174
|
recordTypeId,
|
|
40167
40175
|
layoutType,
|
|
@@ -40218,7 +40226,7 @@
|
|
|
40218
40226
|
}
|
|
40219
40227
|
function keyBuilder$9$1(luvio, config) {
|
|
40220
40228
|
const resourceParams = createResourceParams$8(config);
|
|
40221
|
-
return keyBuilder$
|
|
40229
|
+
return keyBuilder$1M(luvio, resourceParams);
|
|
40222
40230
|
}
|
|
40223
40231
|
function typeCheckConfig$b(untrustedConfig) {
|
|
40224
40232
|
const config = {};
|
|
@@ -40348,7 +40356,7 @@
|
|
|
40348
40356
|
return items.length;
|
|
40349
40357
|
}
|
|
40350
40358
|
function getPaginationMetadata(luvio, resourceParams) {
|
|
40351
|
-
const key = keyBuilder$
|
|
40359
|
+
const key = keyBuilder$1M(luvio, resourceParams);
|
|
40352
40360
|
const selector = {
|
|
40353
40361
|
recordId: key,
|
|
40354
40362
|
node: {
|
|
@@ -42689,7 +42697,7 @@
|
|
|
42689
42697
|
function onResponseSuccess$1(luvio, response, recordIngest, conflictMap) {
|
|
42690
42698
|
const { body } = response;
|
|
42691
42699
|
const selections = buildSelectionFromRecord(body);
|
|
42692
|
-
const key = keyBuilder$
|
|
42700
|
+
const key = keyBuilder$1R(luvio, {
|
|
42693
42701
|
recordId: body.id,
|
|
42694
42702
|
});
|
|
42695
42703
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -42735,7 +42743,7 @@
|
|
|
42735
42743
|
};
|
|
42736
42744
|
|
|
42737
42745
|
function keyBuilder$1$1(luvio, params) {
|
|
42738
|
-
return keyBuilder$
|
|
42746
|
+
return keyBuilder$1R(luvio, {
|
|
42739
42747
|
recordId: params.urlParams.recordId
|
|
42740
42748
|
});
|
|
42741
42749
|
}
|
|
@@ -43022,7 +43030,7 @@
|
|
|
43022
43030
|
function onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap) {
|
|
43023
43031
|
const { body } = response;
|
|
43024
43032
|
const sel = buildSelectionFromRecord(body);
|
|
43025
|
-
const key = keyBuilder$
|
|
43033
|
+
const key = keyBuilder$1R(luvio, {
|
|
43026
43034
|
recordId,
|
|
43027
43035
|
});
|
|
43028
43036
|
luvio.storeIngest(key, recordIngest, body);
|
|
@@ -43080,14 +43088,14 @@
|
|
|
43080
43088
|
|
|
43081
43089
|
const VERSION$1h = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
43082
43090
|
const RepresentationType$R = 'ContentDocumentCompositeRepresentation';
|
|
43083
|
-
function keyBuilder$
|
|
43091
|
+
function keyBuilder$1T(luvio, config) {
|
|
43084
43092
|
return keyPrefix$1 + '::' + RepresentationType$R + ':' + config.contentDocumentId;
|
|
43085
43093
|
}
|
|
43086
43094
|
function keyBuilderFromType$A(luvio, object) {
|
|
43087
43095
|
const keyParams = {
|
|
43088
43096
|
contentDocumentId: object.contentDocument.id
|
|
43089
43097
|
};
|
|
43090
|
-
return keyBuilder$
|
|
43098
|
+
return keyBuilder$1T(luvio, keyParams);
|
|
43091
43099
|
}
|
|
43092
43100
|
function normalize(input, existing, path, luvio, store, timestamp) {
|
|
43093
43101
|
const input_contentDocument = input.contentDocument;
|
|
@@ -44005,7 +44013,7 @@
|
|
|
44005
44013
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44006
44014
|
});
|
|
44007
44015
|
});
|
|
44008
|
-
// version: 1.150.
|
|
44016
|
+
// version: 1.150.8-fa67d0e5e
|
|
44009
44017
|
|
|
44010
44018
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44011
44019
|
|
|
@@ -54547,7 +54555,7 @@
|
|
|
54547
54555
|
* @param recordId record id
|
|
54548
54556
|
*/
|
|
54549
54557
|
function getRecordKeyForId(luvio, recordId) {
|
|
54550
|
-
return keyBuilder$
|
|
54558
|
+
return keyBuilder$1R(luvio, { recordId });
|
|
54551
54559
|
}
|
|
54552
54560
|
function filterOutReferenceFieldsAndLinks(record) {
|
|
54553
54561
|
const filteredFields = {};
|
|
@@ -54630,7 +54638,7 @@
|
|
|
54630
54638
|
if (recordId === undefined) {
|
|
54631
54639
|
return request;
|
|
54632
54640
|
}
|
|
54633
|
-
const recordKey = keyBuilder$
|
|
54641
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
54634
54642
|
if (canonicalRecordStoreKey === recordKey) {
|
|
54635
54643
|
// no mapping exists -- return the request un-modified
|
|
54636
54644
|
return request;
|
|
@@ -54741,7 +54749,7 @@
|
|
|
54741
54749
|
for (let i = 0, len = allIds.length; i < len; i++) {
|
|
54742
54750
|
const recordId = allIds[i];
|
|
54743
54751
|
if (isDraftId(recordId)) {
|
|
54744
|
-
const recordKey = keyBuilder$
|
|
54752
|
+
const recordKey = keyBuilder$1R(luvio, { recordId });
|
|
54745
54753
|
const canonicalKey = env.storeGetCanonicalKey(recordKey);
|
|
54746
54754
|
if (recordKey !== canonicalKey) {
|
|
54747
54755
|
// record is no longer a draft, include the canonical id in the request
|
|
@@ -55682,7 +55690,7 @@
|
|
|
55682
55690
|
if (originalKey.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX)) {
|
|
55683
55691
|
return RECORD_VIEW_ENTITY_ID_PREFIX + recordId;
|
|
55684
55692
|
}
|
|
55685
|
-
return keyBuilder$
|
|
55693
|
+
return keyBuilder$1R(luvio, { recordId });
|
|
55686
55694
|
}
|
|
55687
55695
|
function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecords, getStoreMetadata) {
|
|
55688
55696
|
const getEntries = function (entries, segment) {
|
|
@@ -56040,7 +56048,7 @@
|
|
|
56040
56048
|
return this.generateId(objectInfo.keyPrefix);
|
|
56041
56049
|
}
|
|
56042
56050
|
getKeyForId(id) {
|
|
56043
|
-
return keyBuilder$
|
|
56051
|
+
return keyBuilder$1R(this.getLuvio(), { recordId: id });
|
|
56044
56052
|
}
|
|
56045
56053
|
async synthesizeDraftRecord(recordId) {
|
|
56046
56054
|
const metadata = await this.getRecordDraftMetadata(recordId, undefined);
|
|
@@ -56150,7 +56158,7 @@
|
|
|
56150
56158
|
}
|
|
56151
56159
|
synchronousIngest(response) {
|
|
56152
56160
|
const luvio = this.getLuvio();
|
|
56153
|
-
const key = keyBuilder$
|
|
56161
|
+
const key = keyBuilder$1A(luvio, {
|
|
56154
56162
|
id: response.id,
|
|
56155
56163
|
});
|
|
56156
56164
|
luvio.storeIngest(key, ingest$x$1, response);
|
|
@@ -56613,7 +56621,7 @@
|
|
|
56613
56621
|
return responseBody.contentDocument.id;
|
|
56614
56622
|
}
|
|
56615
56623
|
buildTagForTargetId(id) {
|
|
56616
|
-
return keyBuilder$
|
|
56624
|
+
return keyBuilder$1T(this.getLuvio(), {
|
|
56617
56625
|
contentDocumentId: id,
|
|
56618
56626
|
});
|
|
56619
56627
|
}
|
|
@@ -59424,7 +59432,7 @@
|
|
|
59424
59432
|
const params = [];
|
|
59425
59433
|
records.forEach(({ record, metadata }) => {
|
|
59426
59434
|
idsToPrime.add(record.id);
|
|
59427
|
-
const key = keyBuilder$
|
|
59435
|
+
const key = keyBuilder$1R(this.getLuvio(), { recordId: record.id });
|
|
59428
59436
|
params.push(key);
|
|
59429
59437
|
params.push(JSON.stringify(record));
|
|
59430
59438
|
params.push(JSON.stringify(metadata));
|
|
@@ -59627,7 +59635,7 @@
|
|
|
59627
59635
|
id: '@salesforce/lds-network-adapter',
|
|
59628
59636
|
instrument: instrument$1,
|
|
59629
59637
|
});
|
|
59630
|
-
// version: 1.150.
|
|
59638
|
+
// version: 1.150.8-02357881a
|
|
59631
59639
|
|
|
59632
59640
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59633
59641
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80472,7 +80480,7 @@
|
|
|
80472
80480
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80473
80481
|
instrument,
|
|
80474
80482
|
});
|
|
80475
|
-
// version: 1.150.
|
|
80483
|
+
// version: 1.150.8-fa67d0e5e
|
|
80476
80484
|
|
|
80477
80485
|
// On core the unstable adapters are re-exported with different names,
|
|
80478
80486
|
|
|
@@ -80945,7 +80953,7 @@
|
|
|
80945
80953
|
}
|
|
80946
80954
|
case 'CustomFieldSelection': {
|
|
80947
80955
|
if (sel.type === 'Connection') {
|
|
80948
|
-
const recordKey = keyBuilder$
|
|
80956
|
+
const recordKey = keyBuilder$1R(luvio, {
|
|
80949
80957
|
recordId: state.source.id,
|
|
80950
80958
|
});
|
|
80951
80959
|
assignConnectionSelection(luvio, builder, sink, sel, recordKey, propertyName, variables);
|
|
@@ -82719,7 +82727,7 @@
|
|
|
82719
82727
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
82720
82728
|
graphQLImperative = ldsAdapter;
|
|
82721
82729
|
});
|
|
82722
|
-
// version: 1.150.
|
|
82730
|
+
// version: 1.150.8-fa67d0e5e
|
|
82723
82731
|
|
|
82724
82732
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
82725
82733
|
__proto__: null,
|
|
@@ -83425,4 +83433,4 @@
|
|
|
83425
83433
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
83426
83434
|
|
|
83427
83435
|
}));
|
|
83428
|
-
// version: 1.150.
|
|
83436
|
+
// version: 1.150.8-02357881a
|