@salesforce/lds-worker-api 1.286.0 → 1.287.0-dev2

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.
@@ -1074,4 +1074,4 @@ if (process.env.NODE_ENV !== 'production') {
1074
1074
  }
1075
1075
 
1076
1076
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
1077
- // version: 1.286.0-09e7e5207
1077
+ // version: 1.287.0-dev2-b6398bfb3
@@ -4190,7 +4190,7 @@ function withDefaultLuvio(callback) {
4190
4190
  }
4191
4191
  callbacks.push(callback);
4192
4192
  }
4193
- // version: 1.286.0-09e7e5207
4193
+ // version: 1.287.0-dev2-b6398bfb3
4194
4194
 
4195
4195
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4196
4196
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15698,7 +15698,7 @@ function gql(literals, ...subs) {
15698
15698
  }
15699
15699
  return superResult;
15700
15700
  }
15701
- // version: 1.286.0-09e7e5207
15701
+ // version: 1.287.0-dev2-b6398bfb3
15702
15702
 
15703
15703
  function unwrap(data) {
15704
15704
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16623,7 +16623,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16623
16623
  const { apiFamily, name } = metadata;
16624
16624
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16625
16625
  }
16626
- // version: 1.286.0-09e7e5207
16626
+ // version: 1.287.0-dev2-b6398bfb3
16627
16627
 
16628
16628
  /**
16629
16629
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16844,6 +16844,10 @@ let oneStoreGetObjectInfoAdapter$2 = undefined;
16844
16844
  * One store enabled Get Object Infos adapter
16845
16845
  */
16846
16846
  let oneStoreGetObjectInfosAdapter$2 = undefined;
16847
+ /**
16848
+ * Determines when to include PDL strategies for Related Lists
16849
+ */
16850
+ let relatedListsPredictionsEnabled$2 = false;
16847
16851
  /**
16848
16852
  * Defines the configuration API and is exposed internally as well as externally.
16849
16853
  * Configuration for one store enabled REST adapters only.
@@ -16928,6 +16932,12 @@ const configurationForRestAdapters$2 = {
16928
16932
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
16929
16933
  return draftAwareCreateContentDocumentAndVersionAdapter$2;
16930
16934
  },
16935
+ setRelatedListsPredictionsEnabled: function (f) {
16936
+ relatedListsPredictionsEnabled$2 = f;
16937
+ },
16938
+ areRelatedListsPredictionsEnabled: function () {
16939
+ return relatedListsPredictionsEnabled$2 === true;
16940
+ },
16931
16941
  // createContentVersion
16932
16942
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
16933
16943
  draftAwareCreateContentVersionAdapter$2 = adapter;
@@ -17044,6 +17054,16 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
17044
17054
  return result;
17045
17055
  };
17046
17056
  }
17057
+ function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
17058
+ if (configurationForRestAdapters$2.areRelatedListsPredictionsEnabled() /* gate is open */) {
17059
+ return createLDSAdapterWithPrediction(adapter, luvio, name);
17060
+ }
17061
+ else {
17062
+ return (config, requestContext) => {
17063
+ return adapter(config, requestContext);
17064
+ };
17065
+ }
17066
+ }
17047
17067
 
17048
17068
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty$2 } = Object.prototype;
17049
17069
  const { keys: ObjectKeys$1$2, create: ObjectCreate$1$2 } = Object;
@@ -43854,13 +43874,13 @@ function bindExportsTo$1(luvio) {
43854
43874
  const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), getRelatedListActionsMetadata);
43855
43875
  const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
43856
43876
  const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), getRelatedListInfoMetadata);
43857
- const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
43877
+ const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
43858
43878
  const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
43859
43879
  const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
43860
43880
  const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
43861
- const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
43862
- const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
43863
- const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
43881
+ const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
43882
+ const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
43883
+ const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
43864
43884
  const getRelatedListsCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsCount', getRelatedListsCountAdapterFactory), getRelatedListsCountMetadata);
43865
43885
  const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsInfo', getRelatedListsInfoAdapterFactory), getRelatedListsInfoMetadata);
43866
43886
  const getSearchFilterMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterMetadata', getSearchFilterMetadataAdapterFactory), getSearchFilterMetadataMetadata);
@@ -44164,7 +44184,7 @@ withDefaultLuvio((luvio) => {
44164
44184
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
44165
44185
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
44166
44186
  });
44167
- // version: 1.286.0-27bef7c46
44187
+ // version: 1.287.0-dev2-0906f6561
44168
44188
 
44169
44189
  var ldsIdempotencyWriteDisabled = {
44170
44190
  isOpen: function (e) {
@@ -62403,7 +62423,7 @@ register$1({
62403
62423
  id: '@salesforce/lds-network-adapter',
62404
62424
  instrument: instrument$2,
62405
62425
  });
62406
- // version: 1.286.0-09e7e5207
62426
+ // version: 1.287.0-dev2-b6398bfb3
62407
62427
 
62408
62428
  const { create: create$3, keys: keys$3 } = Object;
62409
62429
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -81344,6 +81364,10 @@ let oneStoreGetObjectInfoAdapter$1 = undefined;
81344
81364
  * One store enabled Get Object Infos adapter
81345
81365
  */
81346
81366
  let oneStoreGetObjectInfosAdapter$1 = undefined;
81367
+ /**
81368
+ * Determines when to include PDL strategies for Related Lists
81369
+ */
81370
+ let relatedListsPredictionsEnabled$1 = false;
81347
81371
  /**
81348
81372
  * Defines the configuration API and is exposed internally as well as externally.
81349
81373
  * Configuration for one store enabled REST adapters only.
@@ -81419,6 +81443,12 @@ const configurationForRestAdapters$1 = {
81419
81443
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
81420
81444
  return draftAwareCreateContentDocumentAndVersionAdapter$1;
81421
81445
  },
81446
+ setRelatedListsPredictionsEnabled: function (f) {
81447
+ relatedListsPredictionsEnabled$1 = f;
81448
+ },
81449
+ areRelatedListsPredictionsEnabled: function () {
81450
+ return relatedListsPredictionsEnabled$1 === true;
81451
+ },
81422
81452
  // createContentVersion
81423
81453
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
81424
81454
  draftAwareCreateContentVersionAdapter$1 = adapter;
@@ -82452,7 +82482,7 @@ register$1({
82452
82482
  configuration: { ...configurationForGraphQLAdapters$1 },
82453
82483
  instrument: instrument$1,
82454
82484
  });
82455
- // version: 1.286.0-27bef7c46
82485
+ // version: 1.287.0-dev2-0906f6561
82456
82486
 
82457
82487
  // On core the unstable adapters are re-exported with different names,
82458
82488
  // we want to match them here.
@@ -84708,7 +84738,7 @@ withDefaultLuvio((luvio) => {
84708
84738
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
84709
84739
  graphQLImperative = ldsAdapter;
84710
84740
  });
84711
- // version: 1.286.0-27bef7c46
84741
+ // version: 1.287.0-dev2-0906f6561
84712
84742
 
84713
84743
  var gqlApi = /*#__PURE__*/Object.freeze({
84714
84744
  __proto__: null,
@@ -85446,7 +85476,7 @@ const callbacks$1 = [];
85446
85476
  function register(r) {
85447
85477
  callbacks$1.forEach((callback) => callback(r));
85448
85478
  }
85449
- // version: 1.286.0-09e7e5207
85479
+ // version: 1.287.0-dev2-b6398bfb3
85450
85480
 
85451
85481
  /**
85452
85482
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -89438,6 +89468,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
89438
89468
  * One store enabled Get Object Infos adapter
89439
89469
  */
89440
89470
  let oneStoreGetObjectInfosAdapter = undefined;
89471
+ /**
89472
+ * Determines when to include PDL strategies for Related Lists
89473
+ */
89474
+ let relatedListsPredictionsEnabled = false;
89441
89475
  /**
89442
89476
  * Defines the configuration API and is exposed internally as well as externally.
89443
89477
  * Configuration for one store enabled REST adapters only.
@@ -89513,6 +89547,12 @@ const configurationForRestAdapters = {
89513
89547
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
89514
89548
  return draftAwareCreateContentDocumentAndVersionAdapter;
89515
89549
  },
89550
+ setRelatedListsPredictionsEnabled: function (f) {
89551
+ relatedListsPredictionsEnabled = f;
89552
+ },
89553
+ areRelatedListsPredictionsEnabled: function () {
89554
+ return relatedListsPredictionsEnabled === true;
89555
+ },
89516
89556
  // createContentVersion
89517
89557
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
89518
89558
  draftAwareCreateContentVersionAdapter = adapter;
@@ -90398,4 +90438,4 @@ const { luvio } = getRuntime();
90398
90438
  setDefaultLuvio({ luvio });
90399
90439
 
90400
90440
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
90401
- // version: 1.286.0-09e7e5207
90441
+ // version: 1.287.0-dev2-b6398bfb3
@@ -4196,7 +4196,7 @@
4196
4196
  }
4197
4197
  callbacks.push(callback);
4198
4198
  }
4199
- // version: 1.286.0-09e7e5207
4199
+ // version: 1.287.0-dev2-b6398bfb3
4200
4200
 
4201
4201
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4202
4202
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15704,7 +15704,7 @@
15704
15704
  }
15705
15705
  return superResult;
15706
15706
  }
15707
- // version: 1.286.0-09e7e5207
15707
+ // version: 1.287.0-dev2-b6398bfb3
15708
15708
 
15709
15709
  function unwrap(data) {
15710
15710
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16629,7 +16629,7 @@
16629
16629
  const { apiFamily, name } = metadata;
16630
16630
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16631
16631
  }
16632
- // version: 1.286.0-09e7e5207
16632
+ // version: 1.287.0-dev2-b6398bfb3
16633
16633
 
16634
16634
  /**
16635
16635
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16850,6 +16850,10 @@
16850
16850
  * One store enabled Get Object Infos adapter
16851
16851
  */
16852
16852
  let oneStoreGetObjectInfosAdapter$2 = undefined;
16853
+ /**
16854
+ * Determines when to include PDL strategies for Related Lists
16855
+ */
16856
+ let relatedListsPredictionsEnabled$2 = false;
16853
16857
  /**
16854
16858
  * Defines the configuration API and is exposed internally as well as externally.
16855
16859
  * Configuration for one store enabled REST adapters only.
@@ -16934,6 +16938,12 @@
16934
16938
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
16935
16939
  return draftAwareCreateContentDocumentAndVersionAdapter$2;
16936
16940
  },
16941
+ setRelatedListsPredictionsEnabled: function (f) {
16942
+ relatedListsPredictionsEnabled$2 = f;
16943
+ },
16944
+ areRelatedListsPredictionsEnabled: function () {
16945
+ return relatedListsPredictionsEnabled$2 === true;
16946
+ },
16937
16947
  // createContentVersion
16938
16948
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
16939
16949
  draftAwareCreateContentVersionAdapter$2 = adapter;
@@ -17050,6 +17060,16 @@
17050
17060
  return result;
17051
17061
  };
17052
17062
  }
17063
+ function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
17064
+ if (configurationForRestAdapters$2.areRelatedListsPredictionsEnabled() /* gate is open */) {
17065
+ return createLDSAdapterWithPrediction(adapter, luvio, name);
17066
+ }
17067
+ else {
17068
+ return (config, requestContext) => {
17069
+ return adapter(config, requestContext);
17070
+ };
17071
+ }
17072
+ }
17053
17073
 
17054
17074
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty$2 } = Object.prototype;
17055
17075
  const { keys: ObjectKeys$1$2, create: ObjectCreate$1$2 } = Object;
@@ -43860,13 +43880,13 @@
43860
43880
  const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), getRelatedListActionsMetadata);
43861
43881
  const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
43862
43882
  const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), getRelatedListInfoMetadata);
43863
- const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
43883
+ const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
43864
43884
  const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
43865
43885
  const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
43866
43886
  const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
43867
- const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
43868
- const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
43869
- const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
43887
+ const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
43888
+ const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
43889
+ const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
43870
43890
  const getRelatedListsCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsCount', getRelatedListsCountAdapterFactory), getRelatedListsCountMetadata);
43871
43891
  const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsInfo', getRelatedListsInfoAdapterFactory), getRelatedListsInfoMetadata);
43872
43892
  const getSearchFilterMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterMetadata', getSearchFilterMetadataAdapterFactory), getSearchFilterMetadataMetadata);
@@ -44170,7 +44190,7 @@
44170
44190
  throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
44171
44191
  throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
44172
44192
  });
44173
- // version: 1.286.0-27bef7c46
44193
+ // version: 1.287.0-dev2-0906f6561
44174
44194
 
44175
44195
  var ldsIdempotencyWriteDisabled = {
44176
44196
  isOpen: function (e) {
@@ -62409,7 +62429,7 @@
62409
62429
  id: '@salesforce/lds-network-adapter',
62410
62430
  instrument: instrument$2,
62411
62431
  });
62412
- // version: 1.286.0-09e7e5207
62432
+ // version: 1.287.0-dev2-b6398bfb3
62413
62433
 
62414
62434
  const { create: create$3, keys: keys$3 } = Object;
62415
62435
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -81350,6 +81370,10 @@
81350
81370
  * One store enabled Get Object Infos adapter
81351
81371
  */
81352
81372
  let oneStoreGetObjectInfosAdapter$1 = undefined;
81373
+ /**
81374
+ * Determines when to include PDL strategies for Related Lists
81375
+ */
81376
+ let relatedListsPredictionsEnabled$1 = false;
81353
81377
  /**
81354
81378
  * Defines the configuration API and is exposed internally as well as externally.
81355
81379
  * Configuration for one store enabled REST adapters only.
@@ -81425,6 +81449,12 @@
81425
81449
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
81426
81450
  return draftAwareCreateContentDocumentAndVersionAdapter$1;
81427
81451
  },
81452
+ setRelatedListsPredictionsEnabled: function (f) {
81453
+ relatedListsPredictionsEnabled$1 = f;
81454
+ },
81455
+ areRelatedListsPredictionsEnabled: function () {
81456
+ return relatedListsPredictionsEnabled$1 === true;
81457
+ },
81428
81458
  // createContentVersion
81429
81459
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
81430
81460
  draftAwareCreateContentVersionAdapter$1 = adapter;
@@ -82458,7 +82488,7 @@
82458
82488
  configuration: { ...configurationForGraphQLAdapters$1 },
82459
82489
  instrument: instrument$1,
82460
82490
  });
82461
- // version: 1.286.0-27bef7c46
82491
+ // version: 1.287.0-dev2-0906f6561
82462
82492
 
82463
82493
  // On core the unstable adapters are re-exported with different names,
82464
82494
  // we want to match them here.
@@ -84714,7 +84744,7 @@
84714
84744
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
84715
84745
  graphQLImperative = ldsAdapter;
84716
84746
  });
84717
- // version: 1.286.0-27bef7c46
84747
+ // version: 1.287.0-dev2-0906f6561
84718
84748
 
84719
84749
  var gqlApi = /*#__PURE__*/Object.freeze({
84720
84750
  __proto__: null,
@@ -85452,7 +85482,7 @@
85452
85482
  function register(r) {
85453
85483
  callbacks$1.forEach((callback) => callback(r));
85454
85484
  }
85455
- // version: 1.286.0-09e7e5207
85485
+ // version: 1.287.0-dev2-b6398bfb3
85456
85486
 
85457
85487
  /**
85458
85488
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -89444,6 +89474,10 @@
89444
89474
  * One store enabled Get Object Infos adapter
89445
89475
  */
89446
89476
  let oneStoreGetObjectInfosAdapter = undefined;
89477
+ /**
89478
+ * Determines when to include PDL strategies for Related Lists
89479
+ */
89480
+ let relatedListsPredictionsEnabled = false;
89447
89481
  /**
89448
89482
  * Defines the configuration API and is exposed internally as well as externally.
89449
89483
  * Configuration for one store enabled REST adapters only.
@@ -89519,6 +89553,12 @@
89519
89553
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
89520
89554
  return draftAwareCreateContentDocumentAndVersionAdapter;
89521
89555
  },
89556
+ setRelatedListsPredictionsEnabled: function (f) {
89557
+ relatedListsPredictionsEnabled = f;
89558
+ },
89559
+ areRelatedListsPredictionsEnabled: function () {
89560
+ return relatedListsPredictionsEnabled === true;
89561
+ },
89522
89562
  // createContentVersion
89523
89563
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
89524
89564
  draftAwareCreateContentVersionAdapter = adapter;
@@ -90423,4 +90463,4 @@
90423
90463
  exports.subscribeToAdapter = subscribeToAdapter;
90424
90464
 
90425
90465
  }));
90426
- // version: 1.286.0-09e7e5207
90466
+ // version: 1.287.0-dev2-b6398bfb3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.286.0",
3
+ "version": "1.287.0-dev2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "",
6
6
  "main": "dist/standalone/es/lds-worker-api.js",
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
38
- "@salesforce/lds-adapters-graphql": "^1.286.0",
39
- "@salesforce/lds-adapters-uiapi": "^1.286.0",
40
- "@salesforce/lds-default-luvio": "^1.286.0",
41
- "@salesforce/lds-drafts": "^1.286.0",
42
- "@salesforce/lds-graphql-parser": "^1.286.0",
43
- "@salesforce/lds-luvio-engine": "^1.286.0",
44
- "@salesforce/lds-priming": "^1.286.0",
45
- "@salesforce/lds-runtime-mobile": "^1.286.0",
46
- "@salesforce/nimbus-plugin-lds": "^1.286.0",
38
+ "@salesforce/lds-adapters-graphql": "^1.287.0-dev2",
39
+ "@salesforce/lds-adapters-uiapi": "^1.287.0-dev2",
40
+ "@salesforce/lds-default-luvio": "^1.287.0-dev2",
41
+ "@salesforce/lds-drafts": "^1.287.0-dev2",
42
+ "@salesforce/lds-graphql-parser": "^1.287.0-dev2",
43
+ "@salesforce/lds-luvio-engine": "^1.287.0-dev2",
44
+ "@salesforce/lds-priming": "^1.287.0-dev2",
45
+ "@salesforce/lds-runtime-mobile": "^1.287.0-dev2",
46
+ "@salesforce/nimbus-plugin-lds": "^1.287.0-dev2",
47
47
  "ajv": "^8.11.0",
48
48
  "glob": "^7.1.5",
49
49
  "nimbus-types": "^2.0.0-alpha1",