@salesforce/lwc-adapters-uiapi 1.445.0 → 1.447.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 +36 -1
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -19877,7 +19877,7 @@ function coerceFormFactor(form) {
|
|
|
19877
19877
|
return undefined;
|
|
19878
19878
|
}
|
|
19879
19879
|
|
|
19880
|
-
const VERSION$2N = "
|
|
19880
|
+
const VERSION$2N = "9859bc4e735e831effdc3df4b3b3e415";
|
|
19881
19881
|
function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
19882
19882
|
const v_error = (() => {
|
|
19883
19883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -20230,6 +20230,32 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
|
|
|
20230
20230
|
message += '\n' + obj_targetParentField_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20231
20231
|
return new TypeError(message);
|
|
20232
20232
|
}
|
|
20233
|
+
const obj_targetRecordTypeId = obj.targetRecordTypeId;
|
|
20234
|
+
const path_targetRecordTypeId = path + '.targetRecordTypeId';
|
|
20235
|
+
let obj_targetRecordTypeId_union0 = null;
|
|
20236
|
+
const obj_targetRecordTypeId_union0_error = (() => {
|
|
20237
|
+
if (typeof obj_targetRecordTypeId !== 'string') {
|
|
20238
|
+
return new TypeError('Expected "string" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
20239
|
+
}
|
|
20240
|
+
})();
|
|
20241
|
+
if (obj_targetRecordTypeId_union0_error != null) {
|
|
20242
|
+
obj_targetRecordTypeId_union0 = obj_targetRecordTypeId_union0_error.message;
|
|
20243
|
+
}
|
|
20244
|
+
let obj_targetRecordTypeId_union1 = null;
|
|
20245
|
+
const obj_targetRecordTypeId_union1_error = (() => {
|
|
20246
|
+
if (obj_targetRecordTypeId !== null) {
|
|
20247
|
+
return new TypeError('Expected "null" but received "' + typeof obj_targetRecordTypeId + '" (at "' + path_targetRecordTypeId + '")');
|
|
20248
|
+
}
|
|
20249
|
+
})();
|
|
20250
|
+
if (obj_targetRecordTypeId_union1_error != null) {
|
|
20251
|
+
obj_targetRecordTypeId_union1 = obj_targetRecordTypeId_union1_error.message;
|
|
20252
|
+
}
|
|
20253
|
+
if (obj_targetRecordTypeId_union0 && obj_targetRecordTypeId_union1) {
|
|
20254
|
+
let message = 'Object doesn\'t match union (at "' + path_targetRecordTypeId + '")';
|
|
20255
|
+
message += '\n' + obj_targetRecordTypeId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
20256
|
+
message += '\n' + obj_targetRecordTypeId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
20257
|
+
return new TypeError(message);
|
|
20258
|
+
}
|
|
20233
20259
|
const obj_targetUrl = obj.targetUrl;
|
|
20234
20260
|
const path_targetUrl = path + '.targetUrl';
|
|
20235
20261
|
let obj_targetUrl_union0 = null;
|
|
@@ -20359,6 +20385,10 @@ const select$3q = function PlatformActionRepresentationSelect() {
|
|
|
20359
20385
|
name: 'targetParentField',
|
|
20360
20386
|
kind: 'Scalar'
|
|
20361
20387
|
},
|
|
20388
|
+
{
|
|
20389
|
+
name: 'targetRecordTypeId',
|
|
20390
|
+
kind: 'Scalar'
|
|
20391
|
+
},
|
|
20362
20392
|
{
|
|
20363
20393
|
name: 'targetUrl',
|
|
20364
20394
|
kind: 'Scalar'
|
|
@@ -20471,6 +20501,11 @@ function equals$W(existing, incoming) {
|
|
|
20471
20501
|
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
20472
20502
|
return false;
|
|
20473
20503
|
}
|
|
20504
|
+
const existing_targetRecordTypeId = existing.targetRecordTypeId;
|
|
20505
|
+
const incoming_targetRecordTypeId = incoming.targetRecordTypeId;
|
|
20506
|
+
if (!(existing_targetRecordTypeId === incoming_targetRecordTypeId)) {
|
|
20507
|
+
return false;
|
|
20508
|
+
}
|
|
20474
20509
|
const existing_targetUrl = existing.targetUrl;
|
|
20475
20510
|
const incoming_targetUrl = incoming.targetUrl;
|
|
20476
20511
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.447.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.447.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.161.0",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.447.0"
|
|
39
39
|
}
|
|
40
40
|
}
|