@salesforce/lwc-adapters-uiapi 1.147.0 → 1.147.2

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 CHANGED
@@ -8374,7 +8374,7 @@ const select$2P = function ListScopeRelatedEntityRepresentationSelect() {
8374
8374
  };
8375
8375
  };
8376
8376
 
8377
- const VERSION$2i = "fce88f94b1244707458c795247592939";
8377
+ const VERSION$2i = "a51de242c746e5500a833e84dfaa2170";
8378
8378
  function validate$1B(obj, path = 'ListScopeRepresentation') {
8379
8379
  const v_error = (() => {
8380
8380
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -8387,10 +8387,31 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
8387
8387
  }
8388
8388
  const obj_entity = obj.entity;
8389
8389
  const path_entity = path + '.entity';
8390
- const referencepath_entityValidationError = validate$1D(obj_entity, path_entity);
8391
- if (referencepath_entityValidationError !== null) {
8392
- let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
8393
- message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8390
+ let obj_entity_union0 = null;
8391
+ const obj_entity_union0_error = (() => {
8392
+ const referencepath_entityValidationError = validate$1D(obj_entity, path_entity);
8393
+ if (referencepath_entityValidationError !== null) {
8394
+ let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
8395
+ message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8396
+ return new TypeError(message);
8397
+ }
8398
+ })();
8399
+ if (obj_entity_union0_error != null) {
8400
+ obj_entity_union0 = obj_entity_union0_error.message;
8401
+ }
8402
+ let obj_entity_union1 = null;
8403
+ const obj_entity_union1_error = (() => {
8404
+ if (obj_entity !== null) {
8405
+ return new TypeError('Expected "null" but received "' + typeof obj_entity + '" (at "' + path_entity + '")');
8406
+ }
8407
+ })();
8408
+ if (obj_entity_union1_error != null) {
8409
+ obj_entity_union1 = obj_entity_union1_error.message;
8410
+ }
8411
+ if (obj_entity_union0 && obj_entity_union1) {
8412
+ let message = 'Object doesn\'t match union (at "' + path_entity + '")';
8413
+ message += '\n' + obj_entity_union0.split('\n').map((line) => '\t' + line).join('\n');
8414
+ message += '\n' + obj_entity_union1.split('\n').map((line) => '\t' + line).join('\n');
8394
8415
  return new TypeError(message);
8395
8416
  }
8396
8417
  const obj_label = obj.label;
@@ -8400,10 +8421,31 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
8400
8421
  }
8401
8422
  const obj_relatedEntity = obj.relatedEntity;
8402
8423
  const path_relatedEntity = path + '.relatedEntity';
8403
- const referencepath_relatedEntityValidationError = validate$1C(obj_relatedEntity, path_relatedEntity);
8404
- if (referencepath_relatedEntityValidationError !== null) {
8405
- let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
8406
- message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8424
+ let obj_relatedEntity_union0 = null;
8425
+ const obj_relatedEntity_union0_error = (() => {
8426
+ const referencepath_relatedEntityValidationError = validate$1C(obj_relatedEntity, path_relatedEntity);
8427
+ if (referencepath_relatedEntityValidationError !== null) {
8428
+ let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
8429
+ message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
8430
+ return new TypeError(message);
8431
+ }
8432
+ })();
8433
+ if (obj_relatedEntity_union0_error != null) {
8434
+ obj_relatedEntity_union0 = obj_relatedEntity_union0_error.message;
8435
+ }
8436
+ let obj_relatedEntity_union1 = null;
8437
+ const obj_relatedEntity_union1_error = (() => {
8438
+ if (obj_relatedEntity !== null) {
8439
+ return new TypeError('Expected "null" but received "' + typeof obj_relatedEntity + '" (at "' + path_relatedEntity + '")');
8440
+ }
8441
+ })();
8442
+ if (obj_relatedEntity_union1_error != null) {
8443
+ obj_relatedEntity_union1 = obj_relatedEntity_union1_error.message;
8444
+ }
8445
+ if (obj_relatedEntity_union0 && obj_relatedEntity_union1) {
8446
+ let message = 'Object doesn\'t match union (at "' + path_relatedEntity + '")';
8447
+ message += '\n' + obj_relatedEntity_union0.split('\n').map((line) => '\t' + line).join('\n');
8448
+ message += '\n' + obj_relatedEntity_union1.split('\n').map((line) => '\t' + line).join('\n');
8407
8449
  return new TypeError(message);
8408
8450
  }
8409
8451
  })();
@@ -8424,6 +8466,7 @@ const select$2O = function ListScopeRepresentationSelect() {
8424
8466
  {
8425
8467
  name: 'entity',
8426
8468
  kind: 'Object',
8469
+ nullable: true,
8427
8470
  selections: ListScopeEntityRepresentation__selections
8428
8471
  },
8429
8472
  {
@@ -8433,6 +8476,7 @@ const select$2O = function ListScopeRepresentationSelect() {
8433
8476
  {
8434
8477
  name: 'relatedEntity',
8435
8478
  kind: 'Object',
8479
+ nullable: true,
8436
8480
  selections: ListScopeRelatedEntityRepresentation__selections
8437
8481
  }
8438
8482
  ]
@@ -62342,7 +62386,6 @@ let getListInfoByName;
62342
62386
  let getListInfosByName;
62343
62387
  let getListRecordsByName;
62344
62388
  let getListUi;
62345
- let getListViewSummaryCollection;
62346
62389
  let getLookupActions;
62347
62390
  let getLookupMetadata;
62348
62391
  let getLookupRecords;
@@ -62407,7 +62450,6 @@ function bindExportsTo(luvio) {
62407
62450
  getListInfosByName: createWireAdapterConstructor(getListInfosByNameAdapterFactory(luvio), "getListInfosByName", luvio),
62408
62451
  getListRecordsByName: createWireAdapterConstructor(factory$a(luvio), "getListRecordsByName", luvio),
62409
62452
  getListUi: createWireAdapterConstructor(factory$i(luvio), "getListUi", luvio),
62410
- getListViewSummaryCollection: createWireAdapterConstructor(getListViewSummaryCollectionAdapterFactory(luvio), "getListViewSummaryCollection", luvio),
62411
62453
  getLookupActions: createWireAdapterConstructor(getLookupActionsAdapterFactory(luvio), "getLookupActions", luvio),
62412
62454
  getLookupMetadata: createWireAdapterConstructor(getLookupMetadataAdapterFactory(luvio), "getLookupMetadata", luvio),
62413
62455
  getLookupRecords: createWireAdapterConstructor(factory$9(luvio), "getLookupRecords", luvio),
@@ -62470,7 +62512,6 @@ withDefaultLuvio((luvio) => {
62470
62512
  getListInfosByName,
62471
62513
  getListRecordsByName,
62472
62514
  getListUi,
62473
- getListViewSummaryCollection,
62474
62515
  getLookupActions,
62475
62516
  getLookupMetadata,
62476
62517
  getLookupRecords,
@@ -62522,4 +62563,4 @@ withDefaultLuvio((luvio) => {
62522
62563
  refresh = bindWireRefresh(luvio);
62523
62564
  });
62524
62565
 
62525
- export { MRU, createContentDocumentAndVersion, createContentVersion, createRecord, createRecordInputFilteredByEditedFields, deleteRecord, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getListViewSummaryCollection, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordInput, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, graphql, graphqlBatch, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateRecord, updateRecordAvatar };
62566
+ export { MRU, createContentDocumentAndVersion, createContentVersion, createRecord, createRecordInputFilteredByEditedFields, deleteRecord, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordInput, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, graphql, graphqlBatch, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateRecord, updateRecordAvatar };
@@ -15,7 +15,6 @@ declare let getListInfoByName: any;
15
15
  declare let getListInfosByName: any;
16
16
  declare let getListRecordsByName: any;
17
17
  declare let getListUi: any;
18
- declare let getListViewSummaryCollection: any;
19
18
  declare let getLookupActions: any;
20
19
  declare let getLookupMetadata: any;
21
20
  declare let getLookupRecords: any;
@@ -57,4 +56,4 @@ declare let performQuickAction: any;
57
56
  declare let performUpdateRecordQuickAction: any;
58
57
  declare let updateRecord: any;
59
58
  declare let updateRecordAvatar: any;
60
- export { createContentDocumentAndVersion, createContentVersion, createRecord, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getListViewSummaryCollection, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, graphql, graphqlBatch, performQuickAction, performUpdateRecordQuickAction, updateRecord, updateRecordAvatar };
59
+ export { createContentDocumentAndVersion, createContentVersion, createRecord, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, graphql, graphqlBatch, performQuickAction, performUpdateRecordQuickAction, updateRecord, updateRecordAvatar };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.147.0",
3
+ "version": "1.147.2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",