@salesforce/lwc-adapters-uiapi 1.140.1 → 1.141.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +14 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -58526,7 +58526,7 @@ function getTypeCacheKeys$7(luvio, input, fullPathFactory) {
|
|
|
58526
58526
|
}
|
|
58527
58527
|
|
|
58528
58528
|
function keyBuilder$8(luvio, params) {
|
|
58529
|
-
return keyPrefix + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
58529
|
+
return keyPrefix + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
58530
58530
|
}
|
|
58531
58531
|
function getResponseCacheKeys$7(luvio, resourceParams, response) {
|
|
58532
58532
|
return getTypeCacheKeys$7(luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
@@ -58579,6 +58579,10 @@ function coerceConfig$5(config) {
|
|
|
58579
58579
|
if (sourceRecordId !== undefined) {
|
|
58580
58580
|
coercedConfig.sourceRecordId = sourceRecordId;
|
|
58581
58581
|
}
|
|
58582
|
+
const targetApiName = getObjectApiName$1(config.targetApiName);
|
|
58583
|
+
if (targetApiName !== undefined) {
|
|
58584
|
+
coercedConfig.targetApiName = targetApiName;
|
|
58585
|
+
}
|
|
58582
58586
|
return coercedConfig;
|
|
58583
58587
|
}
|
|
58584
58588
|
function typeCheckConfig$a(untrustedConfig) {
|
|
@@ -58622,6 +58626,10 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
58622
58626
|
if (typeof untrustedConfig_sourceRecordId === 'string') {
|
|
58623
58627
|
config.sourceRecordId = untrustedConfig_sourceRecordId;
|
|
58624
58628
|
}
|
|
58629
|
+
const untrustedConfig_targetApiName = untrustedConfig.targetApiName;
|
|
58630
|
+
if (typeof untrustedConfig_targetApiName === 'string') {
|
|
58631
|
+
config.targetApiName = untrustedConfig_targetApiName;
|
|
58632
|
+
}
|
|
58625
58633
|
return config;
|
|
58626
58634
|
}
|
|
58627
58635
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -58676,6 +58684,10 @@ function coerceRequestParams(untrusted) {
|
|
|
58676
58684
|
if (sourceRecordId !== undefined) {
|
|
58677
58685
|
coercedConfig.sourceRecordId = sourceRecordId;
|
|
58678
58686
|
}
|
|
58687
|
+
const targetApiName = requestParams.targetApiName;
|
|
58688
|
+
if (targetApiName !== undefined) {
|
|
58689
|
+
coercedConfig.targetApiName = targetApiName;
|
|
58690
|
+
}
|
|
58679
58691
|
return coercedConfig;
|
|
58680
58692
|
}
|
|
58681
58693
|
function coerceConfigWithDefaults$1(untrusted) {
|
|
@@ -58721,6 +58733,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
58721
58733
|
searchType: config.searchType,
|
|
58722
58734
|
dependentFieldBindings: config.dependentFieldBindings,
|
|
58723
58735
|
sourceRecordId: config.sourceRecordId,
|
|
58736
|
+
targetApiName: config.targetApiName,
|
|
58724
58737
|
},
|
|
58725
58738
|
};
|
|
58726
58739
|
const request = createResourceRequest$9(resourceParams);
|