@salesforce/lwc-adapters-uiapi 1.451.0-dev1 → 1.451.0-dev11

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.
Files changed (2) hide show
  1. package/dist/main.js +25 -109
  2. package/package.json +4 -4
package/dist/main.js CHANGED
@@ -575,7 +575,7 @@ function createResourceParamsImpl(config, configMetadata) {
575
575
  }
576
576
  return resourceParams;
577
577
  }
578
- // engine version: 0.161.0-fe06f180
578
+ // engine version: 0.161.2-bd1bd38a
579
579
 
580
580
  /**
581
581
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -17438,8 +17438,29 @@ function validate$1N(obj, path = 'RecordLayoutSaveOptionRepresentation') {
17438
17438
  }
17439
17439
  const obj_restHeaderName = obj.restHeaderName;
17440
17440
  const path_restHeaderName = path + '.restHeaderName';
17441
- if (typeof obj_restHeaderName !== 'string') {
17442
- return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17441
+ let obj_restHeaderName_union0 = null;
17442
+ const obj_restHeaderName_union0_error = (() => {
17443
+ if (typeof obj_restHeaderName !== 'string') {
17444
+ return new TypeError('Expected "string" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17445
+ }
17446
+ })();
17447
+ if (obj_restHeaderName_union0_error != null) {
17448
+ obj_restHeaderName_union0 = obj_restHeaderName_union0_error.message;
17449
+ }
17450
+ let obj_restHeaderName_union1 = null;
17451
+ const obj_restHeaderName_union1_error = (() => {
17452
+ if (obj_restHeaderName !== null) {
17453
+ return new TypeError('Expected "null" but received "' + typeof obj_restHeaderName + '" (at "' + path_restHeaderName + '")');
17454
+ }
17455
+ })();
17456
+ if (obj_restHeaderName_union1_error != null) {
17457
+ obj_restHeaderName_union1 = obj_restHeaderName_union1_error.message;
17458
+ }
17459
+ if (obj_restHeaderName_union0 && obj_restHeaderName_union1) {
17460
+ let message = 'Object doesn\'t match union (at "' + path_restHeaderName + '")';
17461
+ message += '\n' + obj_restHeaderName_union0.split('\n').map((line) => '\t' + line).join('\n');
17462
+ message += '\n' + obj_restHeaderName_union1.split('\n').map((line) => '\t' + line).join('\n');
17463
+ return new TypeError(message);
17443
17464
  }
17444
17465
  const obj_soapHeaderName = obj.soapHeaderName;
17445
17466
  const path_soapHeaderName = path + '.soapHeaderName';
@@ -19877,7 +19898,7 @@ function coerceFormFactor(form) {
19877
19898
  return undefined;
19878
19899
  }
19879
19900
 
19880
- const VERSION$2N = "9859bc4e735e831effdc3df4b3b3e415";
19901
+ const VERSION$2N = "3f49d751896cf66e6e29788d8880e2cc";
19881
19902
  function validate$1A(obj, path = 'PlatformActionRepresentation') {
19882
19903
  const v_error = (() => {
19883
19904
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -20017,32 +20038,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
20017
20038
  message += '\n' + obj_lwcComponent_union1.split('\n').map((line) => '\t' + line).join('\n');
20018
20039
  return new TypeError(message);
20019
20040
  }
20020
- const obj_pageDeveloperName = obj.pageDeveloperName;
20021
- const path_pageDeveloperName = path + '.pageDeveloperName';
20022
- let obj_pageDeveloperName_union0 = null;
20023
- const obj_pageDeveloperName_union0_error = (() => {
20024
- if (typeof obj_pageDeveloperName !== 'string') {
20025
- return new TypeError('Expected "string" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
20026
- }
20027
- })();
20028
- if (obj_pageDeveloperName_union0_error != null) {
20029
- obj_pageDeveloperName_union0 = obj_pageDeveloperName_union0_error.message;
20030
- }
20031
- let obj_pageDeveloperName_union1 = null;
20032
- const obj_pageDeveloperName_union1_error = (() => {
20033
- if (obj_pageDeveloperName !== null) {
20034
- return new TypeError('Expected "null" but received "' + typeof obj_pageDeveloperName + '" (at "' + path_pageDeveloperName + '")');
20035
- }
20036
- })();
20037
- if (obj_pageDeveloperName_union1_error != null) {
20038
- obj_pageDeveloperName_union1 = obj_pageDeveloperName_union1_error.message;
20039
- }
20040
- if (obj_pageDeveloperName_union0 && obj_pageDeveloperName_union1) {
20041
- let message = 'Object doesn\'t match union (at "' + path_pageDeveloperName + '")';
20042
- message += '\n' + obj_pageDeveloperName_union0.split('\n').map((line) => '\t' + line).join('\n');
20043
- message += '\n' + obj_pageDeveloperName_union1.split('\n').map((line) => '\t' + line).join('\n');
20044
- return new TypeError(message);
20045
- }
20046
20041
  const obj_primaryColor = obj.primaryColor;
20047
20042
  const path_primaryColor = path + '.primaryColor';
20048
20043
  let obj_primaryColor_union0 = null;
@@ -20204,58 +20199,6 @@ function validate$1A(obj, path = 'PlatformActionRepresentation') {
20204
20199
  message += '\n' + obj_targetObject_union1.split('\n').map((line) => '\t' + line).join('\n');
20205
20200
  return new TypeError(message);
20206
20201
  }
20207
- const obj_targetParentField = obj.targetParentField;
20208
- const path_targetParentField = path + '.targetParentField';
20209
- let obj_targetParentField_union0 = null;
20210
- const obj_targetParentField_union0_error = (() => {
20211
- if (typeof obj_targetParentField !== 'string') {
20212
- return new TypeError('Expected "string" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
20213
- }
20214
- })();
20215
- if (obj_targetParentField_union0_error != null) {
20216
- obj_targetParentField_union0 = obj_targetParentField_union0_error.message;
20217
- }
20218
- let obj_targetParentField_union1 = null;
20219
- const obj_targetParentField_union1_error = (() => {
20220
- if (obj_targetParentField !== null) {
20221
- return new TypeError('Expected "null" but received "' + typeof obj_targetParentField + '" (at "' + path_targetParentField + '")');
20222
- }
20223
- })();
20224
- if (obj_targetParentField_union1_error != null) {
20225
- obj_targetParentField_union1 = obj_targetParentField_union1_error.message;
20226
- }
20227
- if (obj_targetParentField_union0 && obj_targetParentField_union1) {
20228
- let message = 'Object doesn\'t match union (at "' + path_targetParentField + '")';
20229
- message += '\n' + obj_targetParentField_union0.split('\n').map((line) => '\t' + line).join('\n');
20230
- message += '\n' + obj_targetParentField_union1.split('\n').map((line) => '\t' + line).join('\n');
20231
- return new TypeError(message);
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
- }
20259
20202
  const obj_targetUrl = obj.targetUrl;
20260
20203
  const path_targetUrl = path + '.targetUrl';
20261
20204
  let obj_targetUrl_union0 = null;
@@ -20349,10 +20292,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
20349
20292
  name: 'lwcComponent',
20350
20293
  kind: 'Scalar'
20351
20294
  },
20352
- {
20353
- name: 'pageDeveloperName',
20354
- kind: 'Scalar'
20355
- },
20356
20295
  {
20357
20296
  name: 'primaryColor',
20358
20297
  kind: 'Scalar'
@@ -20381,14 +20320,6 @@ const select$3q = function PlatformActionRepresentationSelect() {
20381
20320
  name: 'targetObject',
20382
20321
  kind: 'Scalar'
20383
20322
  },
20384
- {
20385
- name: 'targetParentField',
20386
- kind: 'Scalar'
20387
- },
20388
- {
20389
- name: 'targetRecordTypeId',
20390
- kind: 'Scalar'
20391
- },
20392
20323
  {
20393
20324
  name: 'targetUrl',
20394
20325
  kind: 'Scalar'
@@ -20461,11 +20392,6 @@ function equals$W(existing, incoming) {
20461
20392
  if (!(existing_lwcComponent === incoming_lwcComponent)) {
20462
20393
  return false;
20463
20394
  }
20464
- const existing_pageDeveloperName = existing.pageDeveloperName;
20465
- const incoming_pageDeveloperName = incoming.pageDeveloperName;
20466
- if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
20467
- return false;
20468
- }
20469
20395
  const existing_primaryColor = existing.primaryColor;
20470
20396
  const incoming_primaryColor = incoming.primaryColor;
20471
20397
  if (!(existing_primaryColor === incoming_primaryColor)) {
@@ -20496,16 +20422,6 @@ function equals$W(existing, incoming) {
20496
20422
  if (!(existing_targetObject === incoming_targetObject)) {
20497
20423
  return false;
20498
20424
  }
20499
- const existing_targetParentField = existing.targetParentField;
20500
- const incoming_targetParentField = incoming.targetParentField;
20501
- if (!(existing_targetParentField === incoming_targetParentField)) {
20502
- return false;
20503
- }
20504
- const existing_targetRecordTypeId = existing.targetRecordTypeId;
20505
- const incoming_targetRecordTypeId = incoming.targetRecordTypeId;
20506
- if (!(existing_targetRecordTypeId === incoming_targetRecordTypeId)) {
20507
- return false;
20508
- }
20509
20425
  const existing_targetUrl = existing.targetUrl;
20510
20426
  const incoming_targetUrl = incoming.targetUrl;
20511
20427
  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.451.0-dev1",
3
+ "version": "1.451.0-dev11",
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.451.0-dev1"
34
+ "@salesforce/lds-adapters-uiapi": "^1.451.0-dev11"
35
35
  },
36
36
  "dependencies": {
37
- "@luvio/lwc-luvio": "0.161.0",
38
- "@salesforce/lds-default-luvio": "^1.451.0-dev1"
37
+ "@luvio/lwc-luvio": "0.161.2",
38
+ "@salesforce/lds-default-luvio": "^1.451.0-dev11"
39
39
  }
40
40
  }