@salesforce/lds-worker-api 1.287.1 → 1.288.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.
|
@@ -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.
|
|
1077
|
+
// version: 1.288.0-24c1b3768
|
|
@@ -4062,7 +4062,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
return resourceParams;
|
|
4064
4064
|
}
|
|
4065
|
-
// engine version: 0.154.
|
|
4065
|
+
// engine version: 0.154.18-b8141c42
|
|
4066
4066
|
|
|
4067
4067
|
/**
|
|
4068
4068
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4190,7 +4190,7 @@ function withDefaultLuvio(callback) {
|
|
|
4190
4190
|
}
|
|
4191
4191
|
callbacks.push(callback);
|
|
4192
4192
|
}
|
|
4193
|
-
// version: 1.
|
|
4193
|
+
// version: 1.288.0-24c1b3768
|
|
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.
|
|
15701
|
+
// version: 1.288.0-24c1b3768
|
|
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.
|
|
16626
|
+
// version: 1.288.0-24c1b3768
|
|
16627
16627
|
|
|
16628
16628
|
/**
|
|
16629
16629
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16722,7 +16722,7 @@ var TypeCheckShapes;
|
|
|
16722
16722
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16723
16723
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16724
16724
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16725
|
-
// engine version: 0.154.
|
|
16725
|
+
// engine version: 0.154.18-b8141c42
|
|
16726
16726
|
|
|
16727
16727
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16728
16728
|
|
|
@@ -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(
|
|
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(
|
|
43862
|
-
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(
|
|
43863
|
-
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(
|
|
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.
|
|
44187
|
+
// version: 1.288.0-a5619da7d
|
|
44168
44188
|
|
|
44169
44189
|
var ldsIdempotencyWriteDisabled = {
|
|
44170
44190
|
isOpen: function (e) {
|
|
@@ -45473,7 +45493,7 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
|
|
|
45473
45493
|
// because we do not want some other code attempting to use the
|
|
45474
45494
|
// in-memory values before the durable store onChanged handler
|
|
45475
45495
|
// calls back and revives the values to in-memory
|
|
45476
|
-
environment.
|
|
45496
|
+
environment.storeDealloc(key);
|
|
45477
45497
|
};
|
|
45478
45498
|
const publishStoreMetadata = function (recordId, storeMetadata) {
|
|
45479
45499
|
validateNotDisposed();
|
|
@@ -60099,9 +60119,11 @@ function enableObjectInfoCaching(env, ensureObjectInfoCached) {
|
|
|
60099
60119
|
let apiName = null;
|
|
60100
60120
|
let objectInfo;
|
|
60101
60121
|
if (dataIsRecord(key)) {
|
|
60122
|
+
incomingRecords.delete(key);
|
|
60102
60123
|
apiName = data.apiName;
|
|
60103
60124
|
}
|
|
60104
60125
|
else if (dataIsObjectInfo(key)) {
|
|
60126
|
+
incomingObjectInfos.delete(key);
|
|
60105
60127
|
apiName = data.apiName;
|
|
60106
60128
|
objectInfo = data;
|
|
60107
60129
|
}
|
|
@@ -62403,7 +62425,7 @@ register$1({
|
|
|
62403
62425
|
id: '@salesforce/lds-network-adapter',
|
|
62404
62426
|
instrument: instrument$2,
|
|
62405
62427
|
});
|
|
62406
|
-
// version: 1.
|
|
62428
|
+
// version: 1.288.0-24c1b3768
|
|
62407
62429
|
|
|
62408
62430
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62409
62431
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -81344,6 +81366,10 @@ let oneStoreGetObjectInfoAdapter$1 = undefined;
|
|
|
81344
81366
|
* One store enabled Get Object Infos adapter
|
|
81345
81367
|
*/
|
|
81346
81368
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
81369
|
+
/**
|
|
81370
|
+
* Determines when to include PDL strategies for Related Lists
|
|
81371
|
+
*/
|
|
81372
|
+
let relatedListsPredictionsEnabled$1 = false;
|
|
81347
81373
|
/**
|
|
81348
81374
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
81349
81375
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -81419,6 +81445,12 @@ const configurationForRestAdapters$1 = {
|
|
|
81419
81445
|
getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
|
|
81420
81446
|
return draftAwareCreateContentDocumentAndVersionAdapter$1;
|
|
81421
81447
|
},
|
|
81448
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
81449
|
+
relatedListsPredictionsEnabled$1 = f;
|
|
81450
|
+
},
|
|
81451
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
81452
|
+
return relatedListsPredictionsEnabled$1 === true;
|
|
81453
|
+
},
|
|
81422
81454
|
// createContentVersion
|
|
81423
81455
|
setDraftAwareCreateContentVersionAdapter: function (adapter) {
|
|
81424
81456
|
draftAwareCreateContentVersionAdapter$1 = adapter;
|
|
@@ -82452,7 +82484,7 @@ register$1({
|
|
|
82452
82484
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82453
82485
|
instrument: instrument$1,
|
|
82454
82486
|
});
|
|
82455
|
-
// version: 1.
|
|
82487
|
+
// version: 1.288.0-a5619da7d
|
|
82456
82488
|
|
|
82457
82489
|
// On core the unstable adapters are re-exported with different names,
|
|
82458
82490
|
// we want to match them here.
|
|
@@ -84708,7 +84740,7 @@ withDefaultLuvio((luvio) => {
|
|
|
84708
84740
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84709
84741
|
graphQLImperative = ldsAdapter;
|
|
84710
84742
|
});
|
|
84711
|
-
// version: 1.
|
|
84743
|
+
// version: 1.288.0-a5619da7d
|
|
84712
84744
|
|
|
84713
84745
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84714
84746
|
__proto__: null,
|
|
@@ -85446,7 +85478,7 @@ const callbacks$1 = [];
|
|
|
85446
85478
|
function register(r) {
|
|
85447
85479
|
callbacks$1.forEach((callback) => callback(r));
|
|
85448
85480
|
}
|
|
85449
|
-
// version: 1.
|
|
85481
|
+
// version: 1.288.0-24c1b3768
|
|
85450
85482
|
|
|
85451
85483
|
/**
|
|
85452
85484
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -89438,6 +89470,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
89438
89470
|
* One store enabled Get Object Infos adapter
|
|
89439
89471
|
*/
|
|
89440
89472
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
89473
|
+
/**
|
|
89474
|
+
* Determines when to include PDL strategies for Related Lists
|
|
89475
|
+
*/
|
|
89476
|
+
let relatedListsPredictionsEnabled = false;
|
|
89441
89477
|
/**
|
|
89442
89478
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
89443
89479
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -89513,6 +89549,12 @@ const configurationForRestAdapters = {
|
|
|
89513
89549
|
getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
|
|
89514
89550
|
return draftAwareCreateContentDocumentAndVersionAdapter;
|
|
89515
89551
|
},
|
|
89552
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
89553
|
+
relatedListsPredictionsEnabled = f;
|
|
89554
|
+
},
|
|
89555
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
89556
|
+
return relatedListsPredictionsEnabled === true;
|
|
89557
|
+
},
|
|
89516
89558
|
// createContentVersion
|
|
89517
89559
|
setDraftAwareCreateContentVersionAdapter: function (adapter) {
|
|
89518
89560
|
draftAwareCreateContentVersionAdapter = adapter;
|
|
@@ -90398,4 +90440,4 @@ const { luvio } = getRuntime();
|
|
|
90398
90440
|
setDefaultLuvio({ luvio });
|
|
90399
90441
|
|
|
90400
90442
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
90401
|
-
// version: 1.
|
|
90443
|
+
// version: 1.288.0-24c1b3768
|
|
@@ -4068,7 +4068,7 @@
|
|
|
4068
4068
|
}
|
|
4069
4069
|
return resourceParams;
|
|
4070
4070
|
}
|
|
4071
|
-
// engine version: 0.154.
|
|
4071
|
+
// engine version: 0.154.18-b8141c42
|
|
4072
4072
|
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
}
|
|
4197
4197
|
callbacks.push(callback);
|
|
4198
4198
|
}
|
|
4199
|
-
// version: 1.
|
|
4199
|
+
// version: 1.288.0-24c1b3768
|
|
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.
|
|
15707
|
+
// version: 1.288.0-24c1b3768
|
|
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.
|
|
16632
|
+
// version: 1.288.0-24c1b3768
|
|
16633
16633
|
|
|
16634
16634
|
/**
|
|
16635
16635
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16728,7 +16728,7 @@
|
|
|
16728
16728
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16729
16729
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16730
16730
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16731
|
-
// engine version: 0.154.
|
|
16731
|
+
// engine version: 0.154.18-b8141c42
|
|
16732
16732
|
|
|
16733
16733
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16734
16734
|
|
|
@@ -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(
|
|
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(
|
|
43868
|
-
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(
|
|
43869
|
-
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(
|
|
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.
|
|
44193
|
+
// version: 1.288.0-a5619da7d
|
|
44174
44194
|
|
|
44175
44195
|
var ldsIdempotencyWriteDisabled = {
|
|
44176
44196
|
isOpen: function (e) {
|
|
@@ -45479,7 +45499,7 @@
|
|
|
45479
45499
|
// because we do not want some other code attempting to use the
|
|
45480
45500
|
// in-memory values before the durable store onChanged handler
|
|
45481
45501
|
// calls back and revives the values to in-memory
|
|
45482
|
-
environment.
|
|
45502
|
+
environment.storeDealloc(key);
|
|
45483
45503
|
};
|
|
45484
45504
|
const publishStoreMetadata = function (recordId, storeMetadata) {
|
|
45485
45505
|
validateNotDisposed();
|
|
@@ -60105,9 +60125,11 @@
|
|
|
60105
60125
|
let apiName = null;
|
|
60106
60126
|
let objectInfo;
|
|
60107
60127
|
if (dataIsRecord(key)) {
|
|
60128
|
+
incomingRecords.delete(key);
|
|
60108
60129
|
apiName = data.apiName;
|
|
60109
60130
|
}
|
|
60110
60131
|
else if (dataIsObjectInfo(key)) {
|
|
60132
|
+
incomingObjectInfos.delete(key);
|
|
60111
60133
|
apiName = data.apiName;
|
|
60112
60134
|
objectInfo = data;
|
|
60113
60135
|
}
|
|
@@ -62409,7 +62431,7 @@
|
|
|
62409
62431
|
id: '@salesforce/lds-network-adapter',
|
|
62410
62432
|
instrument: instrument$2,
|
|
62411
62433
|
});
|
|
62412
|
-
// version: 1.
|
|
62434
|
+
// version: 1.288.0-24c1b3768
|
|
62413
62435
|
|
|
62414
62436
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62415
62437
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -81350,6 +81372,10 @@
|
|
|
81350
81372
|
* One store enabled Get Object Infos adapter
|
|
81351
81373
|
*/
|
|
81352
81374
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
81375
|
+
/**
|
|
81376
|
+
* Determines when to include PDL strategies for Related Lists
|
|
81377
|
+
*/
|
|
81378
|
+
let relatedListsPredictionsEnabled$1 = false;
|
|
81353
81379
|
/**
|
|
81354
81380
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
81355
81381
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -81425,6 +81451,12 @@
|
|
|
81425
81451
|
getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
|
|
81426
81452
|
return draftAwareCreateContentDocumentAndVersionAdapter$1;
|
|
81427
81453
|
},
|
|
81454
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
81455
|
+
relatedListsPredictionsEnabled$1 = f;
|
|
81456
|
+
},
|
|
81457
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
81458
|
+
return relatedListsPredictionsEnabled$1 === true;
|
|
81459
|
+
},
|
|
81428
81460
|
// createContentVersion
|
|
81429
81461
|
setDraftAwareCreateContentVersionAdapter: function (adapter) {
|
|
81430
81462
|
draftAwareCreateContentVersionAdapter$1 = adapter;
|
|
@@ -82458,7 +82490,7 @@
|
|
|
82458
82490
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82459
82491
|
instrument: instrument$1,
|
|
82460
82492
|
});
|
|
82461
|
-
// version: 1.
|
|
82493
|
+
// version: 1.288.0-a5619da7d
|
|
82462
82494
|
|
|
82463
82495
|
// On core the unstable adapters are re-exported with different names,
|
|
82464
82496
|
// we want to match them here.
|
|
@@ -84714,7 +84746,7 @@
|
|
|
84714
84746
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84715
84747
|
graphQLImperative = ldsAdapter;
|
|
84716
84748
|
});
|
|
84717
|
-
// version: 1.
|
|
84749
|
+
// version: 1.288.0-a5619da7d
|
|
84718
84750
|
|
|
84719
84751
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84720
84752
|
__proto__: null,
|
|
@@ -85452,7 +85484,7 @@
|
|
|
85452
85484
|
function register(r) {
|
|
85453
85485
|
callbacks$1.forEach((callback) => callback(r));
|
|
85454
85486
|
}
|
|
85455
|
-
// version: 1.
|
|
85487
|
+
// version: 1.288.0-24c1b3768
|
|
85456
85488
|
|
|
85457
85489
|
/**
|
|
85458
85490
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -89444,6 +89476,10 @@
|
|
|
89444
89476
|
* One store enabled Get Object Infos adapter
|
|
89445
89477
|
*/
|
|
89446
89478
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
89479
|
+
/**
|
|
89480
|
+
* Determines when to include PDL strategies for Related Lists
|
|
89481
|
+
*/
|
|
89482
|
+
let relatedListsPredictionsEnabled = false;
|
|
89447
89483
|
/**
|
|
89448
89484
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
89449
89485
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -89519,6 +89555,12 @@
|
|
|
89519
89555
|
getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
|
|
89520
89556
|
return draftAwareCreateContentDocumentAndVersionAdapter;
|
|
89521
89557
|
},
|
|
89558
|
+
setRelatedListsPredictionsEnabled: function (f) {
|
|
89559
|
+
relatedListsPredictionsEnabled = f;
|
|
89560
|
+
},
|
|
89561
|
+
areRelatedListsPredictionsEnabled: function () {
|
|
89562
|
+
return relatedListsPredictionsEnabled === true;
|
|
89563
|
+
},
|
|
89522
89564
|
// createContentVersion
|
|
89523
89565
|
setDraftAwareCreateContentVersionAdapter: function (adapter) {
|
|
89524
89566
|
draftAwareCreateContentVersionAdapter = adapter;
|
|
@@ -90423,4 +90465,4 @@
|
|
|
90423
90465
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
90424
90466
|
|
|
90425
90467
|
}));
|
|
90426
|
-
// version: 1.
|
|
90468
|
+
// version: 1.288.0-24c1b3768
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.288.0",
|
|
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.
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
41
|
-
"@salesforce/lds-drafts": "^1.
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
44
|
-
"@salesforce/lds-priming": "^1.
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.288.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.288.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.288.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.288.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.288.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.288.0",
|
|
44
|
+
"@salesforce/lds-priming": "^1.288.0",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.288.0",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.288.0",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|