@salesforce/lds-worker-api 1.138.0 → 1.139.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.
@@ -758,4 +758,4 @@ if (process.env.NODE_ENV !== 'production') {
758
758
  }
759
759
 
760
760
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
761
- // version: 1.138.0-040b690de
761
+ // version: 1.139.0-d2258db6a
@@ -3797,7 +3797,7 @@ function withDefaultLuvio(callback) {
3797
3797
  }
3798
3798
  callbacks.push(callback);
3799
3799
  }
3800
- // version: 1.138.0-040b690de
3800
+ // version: 1.139.0-d2258db6a
3801
3801
 
3802
3802
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3803
3803
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15221,7 +15221,7 @@ function parseAndVisit(source) {
15221
15221
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15222
15222
  return luvioDocumentNode;
15223
15223
  }
15224
- // version: 1.138.0-040b690de
15224
+ // version: 1.139.0-d2258db6a
15225
15225
 
15226
15226
  function unwrap(data) {
15227
15227
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16134,7 +16134,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16134
16134
  const { apiFamily, name } = metadata;
16135
16135
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16136
16136
  }
16137
- // version: 1.138.0-040b690de
16137
+ // version: 1.139.0-d2258db6a
16138
16138
 
16139
16139
  /**
16140
16140
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -22513,6 +22513,7 @@ function createResourceRequest$V(config) {
22513
22513
  };
22514
22514
  }
22515
22515
 
22516
+ const adapterName$J = 'getListViewSummaryCollection';
22516
22517
  const getListViewSummaryCollection_ConfigPropertyNames = {
22517
22518
  displayName: 'getListViewSummaryCollection',
22518
22519
  parameters: {
@@ -42663,7 +42664,7 @@ function createResourceRequest$3(config) {
42663
42664
  };
42664
42665
  }
42665
42666
 
42666
- const adapterName$J = 'deleteRecord';
42667
+ const adapterName$K = 'deleteRecord';
42667
42668
  const deleteRecord_ConfigPropertyNames = {
42668
42669
  displayName: 'deleteRecord',
42669
42670
  parameters: {
@@ -42725,7 +42726,7 @@ const deleteRecordAdapterFactory = (luvio) => {
42725
42726
  const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
42726
42727
  // Invalid or incomplete config
42727
42728
  if (config === null) {
42728
- throw new Error(`Invalid config for "${adapterName$J}"`);
42729
+ throw new Error(`Invalid config for "${adapterName$K}"`);
42729
42730
  }
42730
42731
  return buildNetworkSnapshot$3(luvio, config);
42731
42732
  };
@@ -43458,6 +43459,7 @@ let getListInfoByName;
43458
43459
  let getListInfosByName;
43459
43460
  let getListRecordsByName;
43460
43461
  let getListUi;
43462
+ let getListViewSummaryCollection;
43461
43463
  let getLookupActions;
43462
43464
  let getLookupMetadata;
43463
43465
  let getLookupRecords;
@@ -43511,6 +43513,7 @@ let unstable_getListInfoByName_imperative;
43511
43513
  let getListInfosByName_imperative;
43512
43514
  let unstable_getListRecordsByName_imperative;
43513
43515
  let unstable_getListUi_imperative;
43516
+ let getListViewSummaryCollection_imperative;
43514
43517
  let unstable_getLookupActions_imperative;
43515
43518
  let getLookupMetadata_imperative;
43516
43519
  let unstable_getLookupRecords_imperative;
@@ -43560,6 +43563,7 @@ const getListInfoByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$q,
43560
43563
  const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
43561
43564
  const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
43562
43565
  const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
43566
+ const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
43563
43567
  const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
43564
43568
  const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
43565
43569
  const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
@@ -43610,6 +43614,7 @@ function bindExportsTo$1(luvio) {
43610
43614
  const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
43611
43615
  const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
43612
43616
  const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
43617
+ const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
43613
43618
  const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
43614
43619
  const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
43615
43620
  const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
@@ -43668,6 +43673,7 @@ function bindExportsTo$1(luvio) {
43668
43673
  getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
43669
43674
  getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
43670
43675
  getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
43676
+ getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
43671
43677
  getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
43672
43678
  getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
43673
43679
  getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
@@ -43721,6 +43727,7 @@ function bindExportsTo$1(luvio) {
43721
43727
  getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
43722
43728
  unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
43723
43729
  unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
43730
+ getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
43724
43731
  unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
43725
43732
  getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
43726
43733
  unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
@@ -43777,6 +43784,7 @@ withDefaultLuvio((luvio) => {
43777
43784
  getListInfosByName,
43778
43785
  getListRecordsByName,
43779
43786
  getListUi,
43787
+ getListViewSummaryCollection,
43780
43788
  getLookupActions,
43781
43789
  getLookupMetadata,
43782
43790
  getLookupRecords,
@@ -43829,6 +43837,7 @@ withDefaultLuvio((luvio) => {
43829
43837
  getListInfosByName_imperative,
43830
43838
  unstable_getListRecordsByName_imperative,
43831
43839
  unstable_getListUi_imperative,
43840
+ getListViewSummaryCollection_imperative,
43832
43841
  unstable_getLookupActions_imperative,
43833
43842
  getLookupMetadata_imperative,
43834
43843
  unstable_getLookupRecords_imperative,
@@ -43901,7 +43910,7 @@ withDefaultLuvio((luvio) => {
43901
43910
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43902
43911
  });
43903
43912
  });
43904
- // version: 1.138.0-3945c7dfd
43913
+ // version: 1.139.0-781f9ae4f
43905
43914
 
43906
43915
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43907
43916
 
@@ -59654,7 +59663,7 @@ register({
59654
59663
  id: '@salesforce/lds-network-adapter',
59655
59664
  instrument: instrument$1,
59656
59665
  });
59657
- // version: 1.138.0-040b690de
59666
+ // version: 1.139.0-d2258db6a
59658
59667
 
59659
59668
  const { create: create$2, keys: keys$2 } = Object;
59660
59669
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -80485,7 +80494,7 @@ register({
80485
80494
  configuration: { ...configurationForGraphQLAdapters },
80486
80495
  instrument,
80487
80496
  });
80488
- // version: 1.138.0-3945c7dfd
80497
+ // version: 1.139.0-781f9ae4f
80489
80498
 
80490
80499
  // On core the unstable adapters are re-exported with different names,
80491
80500
 
@@ -82717,7 +82726,7 @@ withDefaultLuvio((luvio) => {
82717
82726
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
82718
82727
  graphQLImperative = ldsAdapter;
82719
82728
  });
82720
- // version: 1.138.0-3945c7dfd
82729
+ // version: 1.139.0-781f9ae4f
82721
82730
 
82722
82731
  var gqlApi = /*#__PURE__*/Object.freeze({
82723
82732
  __proto__: null,
@@ -83406,4 +83415,4 @@ const { luvio } = getRuntime();
83406
83415
  setDefaultLuvio({ luvio });
83407
83416
 
83408
83417
  export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
83409
- // version: 1.138.0-040b690de
83418
+ // version: 1.139.0-d2258db6a
@@ -3803,7 +3803,7 @@
3803
3803
  }
3804
3804
  callbacks.push(callback);
3805
3805
  }
3806
- // version: 1.138.0-040b690de
3806
+ // version: 1.139.0-d2258db6a
3807
3807
 
3808
3808
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
3809
3809
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15227,7 +15227,7 @@
15227
15227
  updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
15228
15228
  return luvioDocumentNode;
15229
15229
  }
15230
- // version: 1.138.0-040b690de
15230
+ // version: 1.139.0-d2258db6a
15231
15231
 
15232
15232
  function unwrap(data) {
15233
15233
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16140,7 +16140,7 @@
16140
16140
  const { apiFamily, name } = metadata;
16141
16141
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16142
16142
  }
16143
- // version: 1.138.0-040b690de
16143
+ // version: 1.139.0-d2258db6a
16144
16144
 
16145
16145
  /**
16146
16146
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -22519,6 +22519,7 @@
22519
22519
  };
22520
22520
  }
22521
22521
 
22522
+ const adapterName$J = 'getListViewSummaryCollection';
22522
22523
  const getListViewSummaryCollection_ConfigPropertyNames = {
22523
22524
  displayName: 'getListViewSummaryCollection',
22524
22525
  parameters: {
@@ -42669,7 +42670,7 @@
42669
42670
  };
42670
42671
  }
42671
42672
 
42672
- const adapterName$J = 'deleteRecord';
42673
+ const adapterName$K = 'deleteRecord';
42673
42674
  const deleteRecord_ConfigPropertyNames = {
42674
42675
  displayName: 'deleteRecord',
42675
42676
  parameters: {
@@ -42731,7 +42732,7 @@
42731
42732
  const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
42732
42733
  // Invalid or incomplete config
42733
42734
  if (config === null) {
42734
- throw new Error(`Invalid config for "${adapterName$J}"`);
42735
+ throw new Error(`Invalid config for "${adapterName$K}"`);
42735
42736
  }
42736
42737
  return buildNetworkSnapshot$3(luvio, config);
42737
42738
  };
@@ -43464,6 +43465,7 @@
43464
43465
  let getListInfosByName;
43465
43466
  let getListRecordsByName;
43466
43467
  let getListUi;
43468
+ let getListViewSummaryCollection;
43467
43469
  let getLookupActions;
43468
43470
  let getLookupMetadata;
43469
43471
  let getLookupRecords;
@@ -43517,6 +43519,7 @@
43517
43519
  let getListInfosByName_imperative;
43518
43520
  let unstable_getListRecordsByName_imperative;
43519
43521
  let unstable_getListUi_imperative;
43522
+ let getListViewSummaryCollection_imperative;
43520
43523
  let unstable_getLookupActions_imperative;
43521
43524
  let getLookupMetadata_imperative;
43522
43525
  let unstable_getLookupRecords_imperative;
@@ -43566,6 +43569,7 @@
43566
43569
  const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
43567
43570
  const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
43568
43571
  const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
43572
+ const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
43569
43573
  const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
43570
43574
  const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
43571
43575
  const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
@@ -43616,6 +43620,7 @@
43616
43620
  const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
43617
43621
  const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
43618
43622
  const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
43623
+ const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
43619
43624
  const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
43620
43625
  const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
43621
43626
  const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
@@ -43674,6 +43679,7 @@
43674
43679
  getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
43675
43680
  getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
43676
43681
  getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
43682
+ getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
43677
43683
  getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
43678
43684
  getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
43679
43685
  getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
@@ -43727,6 +43733,7 @@
43727
43733
  getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
43728
43734
  unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
43729
43735
  unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
43736
+ getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
43730
43737
  unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
43731
43738
  getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
43732
43739
  unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
@@ -43783,6 +43790,7 @@
43783
43790
  getListInfosByName,
43784
43791
  getListRecordsByName,
43785
43792
  getListUi,
43793
+ getListViewSummaryCollection,
43786
43794
  getLookupActions,
43787
43795
  getLookupMetadata,
43788
43796
  getLookupRecords,
@@ -43835,6 +43843,7 @@
43835
43843
  getListInfosByName_imperative,
43836
43844
  unstable_getListRecordsByName_imperative,
43837
43845
  unstable_getListUi_imperative,
43846
+ getListViewSummaryCollection_imperative,
43838
43847
  unstable_getLookupActions_imperative,
43839
43848
  getLookupMetadata_imperative,
43840
43849
  unstable_getLookupRecords_imperative,
@@ -43907,7 +43916,7 @@
43907
43916
  dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
43908
43917
  });
43909
43918
  });
43910
- // version: 1.138.0-3945c7dfd
43919
+ // version: 1.139.0-781f9ae4f
43911
43920
 
43912
43921
  var caseSensitiveUserId = '005B0000000GR4OIAW';
43913
43922
 
@@ -59660,7 +59669,7 @@
59660
59669
  id: '@salesforce/lds-network-adapter',
59661
59670
  instrument: instrument$1,
59662
59671
  });
59663
- // version: 1.138.0-040b690de
59672
+ // version: 1.139.0-d2258db6a
59664
59673
 
59665
59674
  const { create: create$2, keys: keys$2 } = Object;
59666
59675
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -80491,7 +80500,7 @@
80491
80500
  configuration: { ...configurationForGraphQLAdapters },
80492
80501
  instrument,
80493
80502
  });
80494
- // version: 1.138.0-3945c7dfd
80503
+ // version: 1.139.0-781f9ae4f
80495
80504
 
80496
80505
  // On core the unstable adapters are re-exported with different names,
80497
80506
 
@@ -82723,7 +82732,7 @@
82723
82732
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
82724
82733
  graphQLImperative = ldsAdapter;
82725
82734
  });
82726
- // version: 1.138.0-3945c7dfd
82735
+ // version: 1.139.0-781f9ae4f
82727
82736
 
82728
82737
  var gqlApi = /*#__PURE__*/Object.freeze({
82729
82738
  __proto__: null,
@@ -83429,4 +83438,4 @@
83429
83438
  Object.defineProperty(exports, '__esModule', { value: true });
83430
83439
 
83431
83440
  }));
83432
- // version: 1.138.0-040b690de
83441
+ // version: 1.139.0-d2258db6a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.138.0",
3
+ "version": "1.139.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",