@salesforce/lwc-adapters-uiapi 1.368.0 → 1.369.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 +34 -4
- package/package.json +4 -4
package/dist/main.js
CHANGED
|
@@ -572,7 +572,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
572
572
|
}
|
|
573
573
|
return resourceParams;
|
|
574
574
|
}
|
|
575
|
-
// engine version: 0.158.
|
|
575
|
+
// engine version: 0.158.7-bafe2646
|
|
576
576
|
|
|
577
577
|
/**
|
|
578
578
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -37435,12 +37435,19 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
37435
37435
|
}
|
|
37436
37436
|
|
|
37437
37437
|
const TTL$g = 30000;
|
|
37438
|
-
const VERSION$1R = "
|
|
37438
|
+
const VERSION$1R = "ecedd058ac9cfc9b51de0f2c00276ce8";
|
|
37439
37439
|
function validate$E(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
37440
37440
|
const v_error = (() => {
|
|
37441
37441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37442
37442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
37443
37443
|
}
|
|
37444
|
+
if (obj.columnLabels !== undefined) {
|
|
37445
|
+
const obj_columnLabels = obj.columnLabels;
|
|
37446
|
+
const path_columnLabels = path + '.columnLabels';
|
|
37447
|
+
if (obj_columnLabels === undefined) {
|
|
37448
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_columnLabels + '" (at "' + path_columnLabels + '")');
|
|
37449
|
+
}
|
|
37450
|
+
}
|
|
37444
37451
|
const obj_count = obj.count;
|
|
37445
37452
|
const path_count = path + '.count';
|
|
37446
37453
|
if (typeof obj_count !== 'number' || (typeof obj_count === 'number' && Math.floor(obj_count) !== obj_count)) {
|
|
@@ -37812,6 +37819,14 @@ const dynamicSelect$4 = function dynamicRelatedListRecordCollectionRepresentatio
|
|
|
37812
37819
|
reader.enterPath('count');
|
|
37813
37820
|
reader.readScalar('count', metadataProperties, sink);
|
|
37814
37821
|
reader.exitPath();
|
|
37822
|
+
reader.enterPath('columnLabels');
|
|
37823
|
+
reader.readObject('columnLabels', {
|
|
37824
|
+
name: 'columnLabels',
|
|
37825
|
+
kind: 'Object',
|
|
37826
|
+
// Any
|
|
37827
|
+
required: false
|
|
37828
|
+
}, source, sink);
|
|
37829
|
+
reader.exitPath();
|
|
37815
37830
|
reader.enterPath('fields');
|
|
37816
37831
|
reader.readScalarPlural('fields', source, sink, true);
|
|
37817
37832
|
reader.exitPath();
|
|
@@ -37854,6 +37869,19 @@ function equals$g(existing, incoming) {
|
|
|
37854
37869
|
if (!(existing_currentPageToken === incoming_currentPageToken)) {
|
|
37855
37870
|
return false;
|
|
37856
37871
|
}
|
|
37872
|
+
const existing_columnLabels = existing.columnLabels;
|
|
37873
|
+
const incoming_columnLabels = incoming.columnLabels;
|
|
37874
|
+
// if at least one of these optionals is defined
|
|
37875
|
+
if (existing_columnLabels !== undefined || incoming_columnLabels !== undefined) {
|
|
37876
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
37877
|
+
// not equal
|
|
37878
|
+
if (existing_columnLabels === undefined || incoming_columnLabels === undefined) {
|
|
37879
|
+
return false;
|
|
37880
|
+
}
|
|
37881
|
+
if (JSONStringify(incoming_columnLabels) !== JSONStringify(existing_columnLabels)) {
|
|
37882
|
+
return false;
|
|
37883
|
+
}
|
|
37884
|
+
}
|
|
37857
37885
|
const existing_currentPageUrl = existing.currentPageUrl;
|
|
37858
37886
|
const incoming_currentPageUrl = incoming.currentPageUrl;
|
|
37859
37887
|
if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
|
|
@@ -38091,10 +38119,11 @@ function createPaginationParams(params) {
|
|
|
38091
38119
|
}
|
|
38092
38120
|
function keyBuilder$1$(luvio, params) {
|
|
38093
38121
|
return keyBuilder$20(luvio, {
|
|
38122
|
+
includeColumnLabels: params.body.includeColumnLabels || null,
|
|
38123
|
+
relatedListId: params.urlParams.relatedListId,
|
|
38094
38124
|
sortBy: params.body.sortBy || [],
|
|
38095
|
-
where: params.body.where || null,
|
|
38096
38125
|
parentRecordId: params.urlParams.parentRecordId,
|
|
38097
|
-
|
|
38126
|
+
where: params.body.where || null
|
|
38098
38127
|
});
|
|
38099
38128
|
}
|
|
38100
38129
|
function getResponseCacheKeys$j(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -38516,6 +38545,7 @@ const getRelatedListRecords_ConfigPropertyMetadata = [
|
|
|
38516
38545
|
generateParamConfigMetadata('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
38517
38546
|
generateParamConfigMetadata('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
38518
38547
|
generateParamConfigMetadata('fields', false, 2 /* Body */, 0 /* String */, true),
|
|
38548
|
+
generateParamConfigMetadata('includeColumnLabels', false, 2 /* Body */, 1 /* Boolean */),
|
|
38519
38549
|
generateParamConfigMetadata('optionalFields', false, 2 /* Body */, 0 /* String */, true),
|
|
38520
38550
|
generateParamConfigMetadata('pageSize', false, 2 /* Body */, 3 /* Integer */),
|
|
38521
38551
|
generateParamConfigMetadata('pageToken', false, 2 /* Body */, 0 /* String */),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.369.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.369.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@luvio/lwc-luvio": "0.158.
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
37
|
+
"@luvio/lwc-luvio": "0.158.7",
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.369.0"
|
|
39
39
|
}
|
|
40
40
|
}
|