@salesforce/lwc-adapters-uiapi 1.415.0 → 1.416.1

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 +30 -2
  2. 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.7-bafe2646
575
+ // engine version: 0.159.0-6e2a1824
576
576
 
577
577
  /**
578
578
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -31344,7 +31344,7 @@ function equals$C(existing, incoming) {
31344
31344
  }
31345
31345
 
31346
31346
  const TTL$q = 900000;
31347
- const VERSION$2o = "2405a0b25c2c00f82e88b600edc16387";
31347
+ const VERSION$2o = "a88bc29a18dfa64f33730b5bbe6aeb24";
31348
31348
  function validate$17(obj, path = 'ListObjectInfoRepresentation') {
31349
31349
  const v_error = (() => {
31350
31350
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -31390,6 +31390,11 @@ function validate$17(obj, path = 'ListObjectInfoRepresentation') {
31390
31390
  if (typeof obj_objectApiName !== 'string') {
31391
31391
  return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
31392
31392
  }
31393
+ const obj_publicCreateable = obj.publicCreateable;
31394
+ const path_publicCreateable = path + '.publicCreateable';
31395
+ if (typeof obj_publicCreateable !== 'boolean') {
31396
+ return new TypeError('Expected "boolean" but received "' + typeof obj_publicCreateable + '" (at "' + path_publicCreateable + '")');
31397
+ }
31393
31398
  const obj_publicOrSharedCreateable = obj.publicOrSharedCreateable;
31394
31399
  const path_publicOrSharedCreateable = path + '.publicOrSharedCreateable';
31395
31400
  if (typeof obj_publicOrSharedCreateable !== 'boolean') {
@@ -31421,6 +31426,11 @@ function validate$17(obj, path = 'ListObjectInfoRepresentation') {
31421
31426
  message += '\n' + obj_relatedEntityApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
31422
31427
  return new TypeError(message);
31423
31428
  }
31429
+ const obj_sharedCreateable = obj.sharedCreateable;
31430
+ const path_sharedCreateable = path + '.sharedCreateable';
31431
+ if (typeof obj_sharedCreateable !== 'boolean') {
31432
+ return new TypeError('Expected "boolean" but received "' + typeof obj_sharedCreateable + '" (at "' + path_sharedCreateable + '")');
31433
+ }
31424
31434
  })();
31425
31435
  return v_error === undefined ? null : v_error;
31426
31436
  }
@@ -31465,6 +31475,10 @@ const select$2I = function ListObjectInfoRepresentationSelect() {
31465
31475
  name: 'objectApiName',
31466
31476
  kind: 'Scalar'
31467
31477
  },
31478
+ {
31479
+ name: 'publicCreateable',
31480
+ kind: 'Scalar'
31481
+ },
31468
31482
  {
31469
31483
  name: 'publicOrSharedCreateable',
31470
31484
  kind: 'Scalar'
@@ -31472,6 +31486,10 @@ const select$2I = function ListObjectInfoRepresentationSelect() {
31472
31486
  {
31473
31487
  name: 'relatedEntityApiName',
31474
31488
  kind: 'Scalar'
31489
+ },
31490
+ {
31491
+ name: 'sharedCreateable',
31492
+ kind: 'Scalar'
31475
31493
  }
31476
31494
  ]
31477
31495
  };
@@ -31482,11 +31500,21 @@ function equals$B(existing, incoming) {
31482
31500
  if (!(existing_createable === incoming_createable)) {
31483
31501
  return false;
31484
31502
  }
31503
+ const existing_publicCreateable = existing.publicCreateable;
31504
+ const incoming_publicCreateable = incoming.publicCreateable;
31505
+ if (!(existing_publicCreateable === incoming_publicCreateable)) {
31506
+ return false;
31507
+ }
31485
31508
  const existing_publicOrSharedCreateable = existing.publicOrSharedCreateable;
31486
31509
  const incoming_publicOrSharedCreateable = incoming.publicOrSharedCreateable;
31487
31510
  if (!(existing_publicOrSharedCreateable === incoming_publicOrSharedCreateable)) {
31488
31511
  return false;
31489
31512
  }
31513
+ const existing_sharedCreateable = existing.sharedCreateable;
31514
+ const incoming_sharedCreateable = incoming.sharedCreateable;
31515
+ if (!(existing_sharedCreateable === incoming_sharedCreateable)) {
31516
+ return false;
31517
+ }
31490
31518
  const existing_objectApiName = existing.objectApiName;
31491
31519
  const incoming_objectApiName = incoming.objectApiName;
31492
31520
  if (!(existing_objectApiName === incoming_objectApiName)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.415.0",
3
+ "version": "1.416.1",
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.415.0"
34
+ "@salesforce/lds-adapters-uiapi": "^1.416.1"
35
35
  },
36
36
  "dependencies": {
37
- "@luvio/lwc-luvio": "0.158.7",
38
- "@salesforce/lds-default-luvio": "^1.415.0"
37
+ "@luvio/lwc-luvio": "0.159.0",
38
+ "@salesforce/lds-default-luvio": "^1.416.1"
39
39
  }
40
40
  }