@salesforce/lds-worker-api 1.430.0 → 1.431.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.
|
@@ -1371,4 +1371,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
1373
1373
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1374
|
-
// version: 1.
|
|
1374
|
+
// version: 1.431.0-0cb7677555
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.
|
|
4277
|
+
// version: 1.431.0-0cb7677555
|
|
4278
4278
|
|
|
4279
4279
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4280
4280
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5318,7 +5318,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5318
5318
|
const { apiFamily, name } = metadata;
|
|
5319
5319
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5320
5320
|
}
|
|
5321
|
-
// version: 1.
|
|
5321
|
+
// version: 1.431.0-0cb7677555
|
|
5322
5322
|
|
|
5323
5323
|
function isSupportedEntity(_objectApiName) {
|
|
5324
5324
|
return true;
|
|
@@ -5485,14 +5485,6 @@ let oneStoreGetObjectInfoAdapter$3 = undefined;
|
|
|
5485
5485
|
* One store enabled Get Object Infos adapter
|
|
5486
5486
|
*/
|
|
5487
5487
|
let oneStoreGetObjectInfosAdapter$3 = undefined;
|
|
5488
|
-
/**
|
|
5489
|
-
* Determines when to include PDL strategies for Related Lists
|
|
5490
|
-
*/
|
|
5491
|
-
let relatedListsPredictionsEnabled$3 = false;
|
|
5492
|
-
/**
|
|
5493
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
5494
|
-
*/
|
|
5495
|
-
let relatedListsPlusPredictionsEnabled$3 = false;
|
|
5496
5488
|
let recordRepresentationIngestionOverride$3 = undefined;
|
|
5497
5489
|
/**
|
|
5498
5490
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -5587,18 +5579,6 @@ const configurationForEnvironmentFactoryOverrides$3 = {
|
|
|
5587
5579
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
5588
5580
|
return trackedFieldLeafNodeIdAndNameOnly$3;
|
|
5589
5581
|
},
|
|
5590
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
5591
|
-
relatedListsPredictionsEnabled$3 = f;
|
|
5592
|
-
},
|
|
5593
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
5594
|
-
return relatedListsPredictionsEnabled$3 === true;
|
|
5595
|
-
},
|
|
5596
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
5597
|
-
relatedListsPlusPredictionsEnabled$3 = f;
|
|
5598
|
-
},
|
|
5599
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
5600
|
-
return relatedListsPlusPredictionsEnabled$3 === true;
|
|
5601
|
-
},
|
|
5602
5582
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
5603
5583
|
recordRepresentationIngestionOverride$3 = ingest;
|
|
5604
5584
|
},
|
|
@@ -5750,14 +5730,6 @@ let oneStoreGetObjectInfoAdapter$2 = undefined;
|
|
|
5750
5730
|
* One store enabled Get Object Infos adapter
|
|
5751
5731
|
*/
|
|
5752
5732
|
let oneStoreGetObjectInfosAdapter$2 = undefined;
|
|
5753
|
-
/**
|
|
5754
|
-
* Determines when to include PDL strategies for Related Lists
|
|
5755
|
-
*/
|
|
5756
|
-
let relatedListsPredictionsEnabled$2 = false;
|
|
5757
|
-
/**
|
|
5758
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
5759
|
-
*/
|
|
5760
|
-
let relatedListsPlusPredictionsEnabled$2 = false;
|
|
5761
5733
|
let recordRepresentationIngestionOverride$2 = undefined;
|
|
5762
5734
|
/**
|
|
5763
5735
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -5861,18 +5833,6 @@ const configurationForRestAdapters$2 = {
|
|
|
5861
5833
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
5862
5834
|
return trackedFieldLeafNodeIdAndNameOnly$2;
|
|
5863
5835
|
},
|
|
5864
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
5865
|
-
relatedListsPredictionsEnabled$2 = f;
|
|
5866
|
-
},
|
|
5867
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
5868
|
-
return relatedListsPredictionsEnabled$2 === true;
|
|
5869
|
-
},
|
|
5870
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
5871
|
-
relatedListsPlusPredictionsEnabled$2 = f;
|
|
5872
|
-
},
|
|
5873
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
5874
|
-
return relatedListsPlusPredictionsEnabled$2 === true;
|
|
5875
|
-
},
|
|
5876
5836
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
5877
5837
|
recordRepresentationIngestionOverride$2 = ingest;
|
|
5878
5838
|
},
|
|
@@ -6004,26 +5964,6 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
|
|
|
6004
5964
|
return result;
|
|
6005
5965
|
};
|
|
6006
5966
|
}
|
|
6007
|
-
function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
|
|
6008
|
-
if (configurationForRestAdapters$2.areRelatedListsPredictionsEnabled() /* gate is open */) {
|
|
6009
|
-
return createLDSAdapterWithPrediction(adapter, luvio, name);
|
|
6010
|
-
}
|
|
6011
|
-
else {
|
|
6012
|
-
return (config, requestContext) => {
|
|
6013
|
-
return adapter(config, requestContext);
|
|
6014
|
-
};
|
|
6015
|
-
}
|
|
6016
|
-
}
|
|
6017
|
-
function createRelatedListPlusAdapterWithPrediction(adapter, luvio, name) {
|
|
6018
|
-
if (configurationForRestAdapters$2.areRelatedListsPlusPredictionsEnabled() /* gate is open */) {
|
|
6019
|
-
return createLDSAdapterWithPrediction(adapter, luvio, name);
|
|
6020
|
-
}
|
|
6021
|
-
else {
|
|
6022
|
-
return (config, requestContext) => {
|
|
6023
|
-
return adapter(config, requestContext);
|
|
6024
|
-
};
|
|
6025
|
-
}
|
|
6026
|
-
}
|
|
6027
5967
|
|
|
6028
5968
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty$3 } = Object.prototype;
|
|
6029
5969
|
const { keys: ObjectKeys$1$3, create: ObjectCreate$1$3 } = Object;
|
|
@@ -32293,18 +32233,18 @@ function bindExportsTo$1(luvio) {
|
|
|
32293
32233
|
const getRecordTemplateCreate_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecordTemplateCreate', configurationForEnvironmentFactoryOverrides$2.getRecordTemplateCreateAdapterFactory() ?? factory$5$1), getRecordTemplateCreateMetadata);
|
|
32294
32234
|
const getRecordUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecordUi', configurationForEnvironmentFactoryOverrides$2.getRecordUiAdapterFactory() ?? factory$g), getRecordUiMetadata);
|
|
32295
32235
|
const getRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRecords', configurationForEnvironmentFactoryOverrides$2.getRecordsAdapterFactory() ?? getRecordsAdapterFactory$1), luvio, 'getRecords'), getRecordsMetadata);
|
|
32296
|
-
const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(
|
|
32236
|
+
const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), luvio, 'getRelatedListActions'), getRelatedListActionsMetadata);
|
|
32297
32237
|
const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
|
|
32298
|
-
const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(
|
|
32299
|
-
const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(
|
|
32238
|
+
const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), luvio, 'getRelatedListInfo'), getRelatedListInfoMetadata);
|
|
32239
|
+
const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
|
|
32300
32240
|
const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
|
|
32301
32241
|
const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
|
|
32302
32242
|
const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
|
|
32303
|
-
const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(
|
|
32304
|
-
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(
|
|
32305
|
-
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(
|
|
32243
|
+
const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', configurationForEnvironmentFactoryOverrides$2.getRelatedListRecordsAdapterFactory() ?? getRelatedListRecordsAdapterFactory$1), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
|
|
32244
|
+
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', configurationForEnvironmentFactoryOverrides$2.getRelatedListRecordsBatchAdapterFactory() ?? getRelatedListRecordsBatchAdapterFactory$1), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
|
|
32245
|
+
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
|
|
32306
32246
|
const getRelatedListsCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsCount', getRelatedListsCountAdapterFactory), getRelatedListsCountMetadata);
|
|
32307
|
-
const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(
|
|
32247
|
+
const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsInfo', getRelatedListsInfoAdapterFactory), luvio, 'getRelatedListsInfo'), getRelatedListsInfoMetadata);
|
|
32308
32248
|
const getSearchFilterMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterMetadata', getSearchFilterMetadataAdapterFactory), getSearchFilterMetadataMetadata);
|
|
32309
32249
|
const getSearchFilterOptions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterOptions', getSearchFilterOptionsAdapterFactory), getSearchFilterOptionsMetadata);
|
|
32310
32250
|
const getSearchResults_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchResults', configurationForEnvironmentFactoryOverrides$2.getSearchResultsAdapterFactory() ?? getSearchResultsAdapterFactory$1), getSearchResultsMetadata);
|
|
@@ -32610,7 +32550,7 @@ withDefaultLuvio((luvio) => {
|
|
|
32610
32550
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32611
32551
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32612
32552
|
});
|
|
32613
|
-
// version: 1.
|
|
32553
|
+
// version: 1.431.0-51a9c51ed3
|
|
32614
32554
|
|
|
32615
32555
|
var allowUpdatesForNonCachedRecords = {
|
|
32616
32556
|
isOpen: function (e) {
|
|
@@ -96306,7 +96246,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96306
96246
|
},
|
|
96307
96247
|
};
|
|
96308
96248
|
}
|
|
96309
|
-
// version: 1.
|
|
96249
|
+
// version: 1.431.0-51a9c51ed3
|
|
96310
96250
|
|
|
96311
96251
|
/**
|
|
96312
96252
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96332,7 +96272,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96332
96272
|
},
|
|
96333
96273
|
};
|
|
96334
96274
|
}
|
|
96335
|
-
// version: 1.
|
|
96275
|
+
// version: 1.431.0-51a9c51ed3
|
|
96336
96276
|
|
|
96337
96277
|
/*!
|
|
96338
96278
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98989,7 +98929,7 @@ register$1({
|
|
|
98989
98929
|
id: '@salesforce/lds-network-adapter',
|
|
98990
98930
|
instrument: instrument$2,
|
|
98991
98931
|
});
|
|
98992
|
-
// version: 1.
|
|
98932
|
+
// version: 1.431.0-0cb7677555
|
|
98993
98933
|
|
|
98994
98934
|
const { create: create$2, keys: keys$2 } = Object;
|
|
98995
98935
|
const { stringify, parse } = JSON;
|
|
@@ -106980,7 +106920,7 @@ function registerCallback(cb) {
|
|
|
106980
106920
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106981
106921
|
}
|
|
106982
106922
|
}
|
|
106983
|
-
// version: 1.
|
|
106923
|
+
// version: 1.431.0-51a9c51ed3
|
|
106984
106924
|
|
|
106985
106925
|
function createFragmentMap(documentNode) {
|
|
106986
106926
|
const fragments = {};
|
|
@@ -135039,14 +134979,6 @@ let oneStoreGetObjectInfoAdapter$1 = undefined;
|
|
|
135039
134979
|
* One store enabled Get Object Infos adapter
|
|
135040
134980
|
*/
|
|
135041
134981
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
135042
|
-
/**
|
|
135043
|
-
* Determines when to include PDL strategies for Related Lists
|
|
135044
|
-
*/
|
|
135045
|
-
let relatedListsPredictionsEnabled$1 = false;
|
|
135046
|
-
/**
|
|
135047
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
135048
|
-
*/
|
|
135049
|
-
let relatedListsPlusPredictionsEnabled$1 = false;
|
|
135050
134982
|
let recordRepresentationIngestionOverride$1 = undefined;
|
|
135051
134983
|
/**
|
|
135052
134984
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -135141,18 +135073,6 @@ const configurationForRestAdapters$1 = {
|
|
|
135141
135073
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
135142
135074
|
return trackedFieldLeafNodeIdAndNameOnly$1;
|
|
135143
135075
|
},
|
|
135144
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
135145
|
-
relatedListsPredictionsEnabled$1 = f;
|
|
135146
|
-
},
|
|
135147
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
135148
|
-
return relatedListsPredictionsEnabled$1 === true;
|
|
135149
|
-
},
|
|
135150
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
135151
|
-
relatedListsPlusPredictionsEnabled$1 = f;
|
|
135152
|
-
},
|
|
135153
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
135154
|
-
return relatedListsPlusPredictionsEnabled$1 === true;
|
|
135155
|
-
},
|
|
135156
135076
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
135157
135077
|
recordRepresentationIngestionOverride$1 = ingest;
|
|
135158
135078
|
},
|
|
@@ -136217,7 +136137,7 @@ register$1({
|
|
|
136217
136137
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136218
136138
|
instrument: instrument$1,
|
|
136219
136139
|
});
|
|
136220
|
-
// version: 1.
|
|
136140
|
+
// version: 1.431.0-51a9c51ed3
|
|
136221
136141
|
|
|
136222
136142
|
// On core the unstable adapters are re-exported with different names,
|
|
136223
136143
|
// we want to match them here.
|
|
@@ -136369,7 +136289,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136369
136289
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136370
136290
|
graphQLImperative = ldsAdapter;
|
|
136371
136291
|
});
|
|
136372
|
-
// version: 1.
|
|
136292
|
+
// version: 1.431.0-51a9c51ed3
|
|
136373
136293
|
|
|
136374
136294
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136375
136295
|
__proto__: null,
|
|
@@ -137168,7 +137088,7 @@ const callbacks$1 = [];
|
|
|
137168
137088
|
function register(r) {
|
|
137169
137089
|
callbacks$1.forEach((callback) => callback(r));
|
|
137170
137090
|
}
|
|
137171
|
-
// version: 1.
|
|
137091
|
+
// version: 1.431.0-0cb7677555
|
|
137172
137092
|
|
|
137173
137093
|
/**
|
|
137174
137094
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -137234,14 +137154,6 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
137234
137154
|
* One store enabled Get Object Infos adapter
|
|
137235
137155
|
*/
|
|
137236
137156
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
137237
|
-
/**
|
|
137238
|
-
* Determines when to include PDL strategies for Related Lists
|
|
137239
|
-
*/
|
|
137240
|
-
let relatedListsPredictionsEnabled = false;
|
|
137241
|
-
/**
|
|
137242
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
137243
|
-
*/
|
|
137244
|
-
let relatedListsPlusPredictionsEnabled = false;
|
|
137245
137157
|
let recordRepresentationIngestionOverride = undefined;
|
|
137246
137158
|
/**
|
|
137247
137159
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -137336,18 +137248,6 @@ const configurationForRestAdapters = {
|
|
|
137336
137248
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
137337
137249
|
return trackedFieldLeafNodeIdAndNameOnly;
|
|
137338
137250
|
},
|
|
137339
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
137340
|
-
relatedListsPredictionsEnabled = f;
|
|
137341
|
-
},
|
|
137342
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
137343
|
-
return relatedListsPredictionsEnabled === true;
|
|
137344
|
-
},
|
|
137345
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
137346
|
-
relatedListsPlusPredictionsEnabled = f;
|
|
137347
|
-
},
|
|
137348
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
137349
|
-
return relatedListsPlusPredictionsEnabled === true;
|
|
137350
|
-
},
|
|
137351
137251
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
137352
137252
|
recordRepresentationIngestionOverride = ingest;
|
|
137353
137253
|
},
|
|
@@ -138484,4 +138384,4 @@ const { luvio } = getRuntime();
|
|
|
138484
138384
|
setDefaultLuvio({ luvio });
|
|
138485
138385
|
|
|
138486
138386
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138487
|
-
// version: 1.
|
|
138387
|
+
// version: 1.431.0-0cb7677555
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.
|
|
4283
|
+
// version: 1.431.0-0cb7677555
|
|
4284
4284
|
|
|
4285
4285
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4286
4286
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5324,7 +5324,7 @@
|
|
|
5324
5324
|
const { apiFamily, name } = metadata;
|
|
5325
5325
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5326
5326
|
}
|
|
5327
|
-
// version: 1.
|
|
5327
|
+
// version: 1.431.0-0cb7677555
|
|
5328
5328
|
|
|
5329
5329
|
function isSupportedEntity(_objectApiName) {
|
|
5330
5330
|
return true;
|
|
@@ -5491,14 +5491,6 @@
|
|
|
5491
5491
|
* One store enabled Get Object Infos adapter
|
|
5492
5492
|
*/
|
|
5493
5493
|
let oneStoreGetObjectInfosAdapter$3 = undefined;
|
|
5494
|
-
/**
|
|
5495
|
-
* Determines when to include PDL strategies for Related Lists
|
|
5496
|
-
*/
|
|
5497
|
-
let relatedListsPredictionsEnabled$3 = false;
|
|
5498
|
-
/**
|
|
5499
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
5500
|
-
*/
|
|
5501
|
-
let relatedListsPlusPredictionsEnabled$3 = false;
|
|
5502
5494
|
let recordRepresentationIngestionOverride$3 = undefined;
|
|
5503
5495
|
/**
|
|
5504
5496
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -5593,18 +5585,6 @@
|
|
|
5593
5585
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
5594
5586
|
return trackedFieldLeafNodeIdAndNameOnly$3;
|
|
5595
5587
|
},
|
|
5596
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
5597
|
-
relatedListsPredictionsEnabled$3 = f;
|
|
5598
|
-
},
|
|
5599
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
5600
|
-
return relatedListsPredictionsEnabled$3 === true;
|
|
5601
|
-
},
|
|
5602
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
5603
|
-
relatedListsPlusPredictionsEnabled$3 = f;
|
|
5604
|
-
},
|
|
5605
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
5606
|
-
return relatedListsPlusPredictionsEnabled$3 === true;
|
|
5607
|
-
},
|
|
5608
5588
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
5609
5589
|
recordRepresentationIngestionOverride$3 = ingest;
|
|
5610
5590
|
},
|
|
@@ -5756,14 +5736,6 @@
|
|
|
5756
5736
|
* One store enabled Get Object Infos adapter
|
|
5757
5737
|
*/
|
|
5758
5738
|
let oneStoreGetObjectInfosAdapter$2 = undefined;
|
|
5759
|
-
/**
|
|
5760
|
-
* Determines when to include PDL strategies for Related Lists
|
|
5761
|
-
*/
|
|
5762
|
-
let relatedListsPredictionsEnabled$2 = false;
|
|
5763
|
-
/**
|
|
5764
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
5765
|
-
*/
|
|
5766
|
-
let relatedListsPlusPredictionsEnabled$2 = false;
|
|
5767
5739
|
let recordRepresentationIngestionOverride$2 = undefined;
|
|
5768
5740
|
/**
|
|
5769
5741
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -5867,18 +5839,6 @@
|
|
|
5867
5839
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
5868
5840
|
return trackedFieldLeafNodeIdAndNameOnly$2;
|
|
5869
5841
|
},
|
|
5870
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
5871
|
-
relatedListsPredictionsEnabled$2 = f;
|
|
5872
|
-
},
|
|
5873
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
5874
|
-
return relatedListsPredictionsEnabled$2 === true;
|
|
5875
|
-
},
|
|
5876
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
5877
|
-
relatedListsPlusPredictionsEnabled$2 = f;
|
|
5878
|
-
},
|
|
5879
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
5880
|
-
return relatedListsPlusPredictionsEnabled$2 === true;
|
|
5881
|
-
},
|
|
5882
5842
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
5883
5843
|
recordRepresentationIngestionOverride$2 = ingest;
|
|
5884
5844
|
},
|
|
@@ -6010,26 +5970,6 @@
|
|
|
6010
5970
|
return result;
|
|
6011
5971
|
};
|
|
6012
5972
|
}
|
|
6013
|
-
function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
|
|
6014
|
-
if (configurationForRestAdapters$2.areRelatedListsPredictionsEnabled() /* gate is open */) {
|
|
6015
|
-
return createLDSAdapterWithPrediction(adapter, luvio, name);
|
|
6016
|
-
}
|
|
6017
|
-
else {
|
|
6018
|
-
return (config, requestContext) => {
|
|
6019
|
-
return adapter(config, requestContext);
|
|
6020
|
-
};
|
|
6021
|
-
}
|
|
6022
|
-
}
|
|
6023
|
-
function createRelatedListPlusAdapterWithPrediction(adapter, luvio, name) {
|
|
6024
|
-
if (configurationForRestAdapters$2.areRelatedListsPlusPredictionsEnabled() /* gate is open */) {
|
|
6025
|
-
return createLDSAdapterWithPrediction(adapter, luvio, name);
|
|
6026
|
-
}
|
|
6027
|
-
else {
|
|
6028
|
-
return (config, requestContext) => {
|
|
6029
|
-
return adapter(config, requestContext);
|
|
6030
|
-
};
|
|
6031
|
-
}
|
|
6032
|
-
}
|
|
6033
5973
|
|
|
6034
5974
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty$3 } = Object.prototype;
|
|
6035
5975
|
const { keys: ObjectKeys$1$3, create: ObjectCreate$1$3 } = Object;
|
|
@@ -32299,18 +32239,18 @@
|
|
|
32299
32239
|
const getRecordTemplateCreate_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecordTemplateCreate', configurationForEnvironmentFactoryOverrides$2.getRecordTemplateCreateAdapterFactory() ?? factory$5$1), getRecordTemplateCreateMetadata);
|
|
32300
32240
|
const getRecordUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRecordUi', configurationForEnvironmentFactoryOverrides$2.getRecordUiAdapterFactory() ?? factory$g), getRecordUiMetadata);
|
|
32301
32241
|
const getRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRecords', configurationForEnvironmentFactoryOverrides$2.getRecordsAdapterFactory() ?? getRecordsAdapterFactory$1), luvio, 'getRecords'), getRecordsMetadata);
|
|
32302
|
-
const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(
|
|
32242
|
+
const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), luvio, 'getRelatedListActions'), getRelatedListActionsMetadata);
|
|
32303
32243
|
const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
|
|
32304
|
-
const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(
|
|
32305
|
-
const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(
|
|
32244
|
+
const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), luvio, 'getRelatedListInfo'), getRelatedListInfoMetadata);
|
|
32245
|
+
const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
|
|
32306
32246
|
const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
|
|
32307
32247
|
const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
|
|
32308
32248
|
const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
|
|
32309
|
-
const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(
|
|
32310
|
-
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(
|
|
32311
|
-
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(
|
|
32249
|
+
const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', configurationForEnvironmentFactoryOverrides$2.getRelatedListRecordsAdapterFactory() ?? getRelatedListRecordsAdapterFactory$1), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
|
|
32250
|
+
const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', configurationForEnvironmentFactoryOverrides$2.getRelatedListRecordsBatchAdapterFactory() ?? getRelatedListRecordsBatchAdapterFactory$1), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
|
|
32251
|
+
const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
|
|
32312
32252
|
const getRelatedListsCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsCount', getRelatedListsCountAdapterFactory), getRelatedListsCountMetadata);
|
|
32313
|
-
const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(
|
|
32253
|
+
const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsInfo', getRelatedListsInfoAdapterFactory), luvio, 'getRelatedListsInfo'), getRelatedListsInfoMetadata);
|
|
32314
32254
|
const getSearchFilterMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterMetadata', getSearchFilterMetadataAdapterFactory), getSearchFilterMetadataMetadata);
|
|
32315
32255
|
const getSearchFilterOptions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterOptions', getSearchFilterOptionsAdapterFactory), getSearchFilterOptionsMetadata);
|
|
32316
32256
|
const getSearchResults_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchResults', configurationForEnvironmentFactoryOverrides$2.getSearchResultsAdapterFactory() ?? getSearchResultsAdapterFactory$1), getSearchResultsMetadata);
|
|
@@ -32616,7 +32556,7 @@
|
|
|
32616
32556
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32617
32557
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32618
32558
|
});
|
|
32619
|
-
// version: 1.
|
|
32559
|
+
// version: 1.431.0-51a9c51ed3
|
|
32620
32560
|
|
|
32621
32561
|
var allowUpdatesForNonCachedRecords = {
|
|
32622
32562
|
isOpen: function (e) {
|
|
@@ -96312,7 +96252,7 @@
|
|
|
96312
96252
|
},
|
|
96313
96253
|
};
|
|
96314
96254
|
}
|
|
96315
|
-
// version: 1.
|
|
96255
|
+
// version: 1.431.0-51a9c51ed3
|
|
96316
96256
|
|
|
96317
96257
|
/**
|
|
96318
96258
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96338,7 +96278,7 @@
|
|
|
96338
96278
|
},
|
|
96339
96279
|
};
|
|
96340
96280
|
}
|
|
96341
|
-
// version: 1.
|
|
96281
|
+
// version: 1.431.0-51a9c51ed3
|
|
96342
96282
|
|
|
96343
96283
|
/*!
|
|
96344
96284
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98995,7 +98935,7 @@
|
|
|
98995
98935
|
id: '@salesforce/lds-network-adapter',
|
|
98996
98936
|
instrument: instrument$2,
|
|
98997
98937
|
});
|
|
98998
|
-
// version: 1.
|
|
98938
|
+
// version: 1.431.0-0cb7677555
|
|
98999
98939
|
|
|
99000
98940
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99001
98941
|
const { stringify, parse } = JSON;
|
|
@@ -106986,7 +106926,7 @@
|
|
|
106986
106926
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106987
106927
|
}
|
|
106988
106928
|
}
|
|
106989
|
-
// version: 1.
|
|
106929
|
+
// version: 1.431.0-51a9c51ed3
|
|
106990
106930
|
|
|
106991
106931
|
function createFragmentMap(documentNode) {
|
|
106992
106932
|
const fragments = {};
|
|
@@ -135045,14 +134985,6 @@
|
|
|
135045
134985
|
* One store enabled Get Object Infos adapter
|
|
135046
134986
|
*/
|
|
135047
134987
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
135048
|
-
/**
|
|
135049
|
-
* Determines when to include PDL strategies for Related Lists
|
|
135050
|
-
*/
|
|
135051
|
-
let relatedListsPredictionsEnabled$1 = false;
|
|
135052
|
-
/**
|
|
135053
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
135054
|
-
*/
|
|
135055
|
-
let relatedListsPlusPredictionsEnabled$1 = false;
|
|
135056
134988
|
let recordRepresentationIngestionOverride$1 = undefined;
|
|
135057
134989
|
/**
|
|
135058
134990
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -135147,18 +135079,6 @@
|
|
|
135147
135079
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
135148
135080
|
return trackedFieldLeafNodeIdAndNameOnly$1;
|
|
135149
135081
|
},
|
|
135150
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
135151
|
-
relatedListsPredictionsEnabled$1 = f;
|
|
135152
|
-
},
|
|
135153
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
135154
|
-
return relatedListsPredictionsEnabled$1 === true;
|
|
135155
|
-
},
|
|
135156
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
135157
|
-
relatedListsPlusPredictionsEnabled$1 = f;
|
|
135158
|
-
},
|
|
135159
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
135160
|
-
return relatedListsPlusPredictionsEnabled$1 === true;
|
|
135161
|
-
},
|
|
135162
135082
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
135163
135083
|
recordRepresentationIngestionOverride$1 = ingest;
|
|
135164
135084
|
},
|
|
@@ -136223,7 +136143,7 @@
|
|
|
136223
136143
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136224
136144
|
instrument: instrument$1,
|
|
136225
136145
|
});
|
|
136226
|
-
// version: 1.
|
|
136146
|
+
// version: 1.431.0-51a9c51ed3
|
|
136227
136147
|
|
|
136228
136148
|
// On core the unstable adapters are re-exported with different names,
|
|
136229
136149
|
// we want to match them here.
|
|
@@ -136375,7 +136295,7 @@
|
|
|
136375
136295
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136376
136296
|
graphQLImperative = ldsAdapter;
|
|
136377
136297
|
});
|
|
136378
|
-
// version: 1.
|
|
136298
|
+
// version: 1.431.0-51a9c51ed3
|
|
136379
136299
|
|
|
136380
136300
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136381
136301
|
__proto__: null,
|
|
@@ -137174,7 +137094,7 @@
|
|
|
137174
137094
|
function register(r) {
|
|
137175
137095
|
callbacks$1.forEach((callback) => callback(r));
|
|
137176
137096
|
}
|
|
137177
|
-
// version: 1.
|
|
137097
|
+
// version: 1.431.0-0cb7677555
|
|
137178
137098
|
|
|
137179
137099
|
/**
|
|
137180
137100
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -137240,14 +137160,6 @@
|
|
|
137240
137160
|
* One store enabled Get Object Infos adapter
|
|
137241
137161
|
*/
|
|
137242
137162
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
137243
|
-
/**
|
|
137244
|
-
* Determines when to include PDL strategies for Related Lists
|
|
137245
|
-
*/
|
|
137246
|
-
let relatedListsPredictionsEnabled = false;
|
|
137247
|
-
/**
|
|
137248
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
137249
|
-
*/
|
|
137250
|
-
let relatedListsPlusPredictionsEnabled = false;
|
|
137251
137163
|
let recordRepresentationIngestionOverride = undefined;
|
|
137252
137164
|
/**
|
|
137253
137165
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -137342,18 +137254,6 @@
|
|
|
137342
137254
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
137343
137255
|
return trackedFieldLeafNodeIdAndNameOnly;
|
|
137344
137256
|
},
|
|
137345
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
137346
|
-
relatedListsPredictionsEnabled = f;
|
|
137347
|
-
},
|
|
137348
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
137349
|
-
return relatedListsPredictionsEnabled === true;
|
|
137350
|
-
},
|
|
137351
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
137352
|
-
relatedListsPlusPredictionsEnabled = f;
|
|
137353
|
-
},
|
|
137354
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
137355
|
-
return relatedListsPlusPredictionsEnabled === true;
|
|
137356
|
-
},
|
|
137357
137257
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
137358
137258
|
recordRepresentationIngestionOverride = ingest;
|
|
137359
137259
|
},
|
|
@@ -138511,4 +138411,4 @@
|
|
|
138511
138411
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138512
138412
|
|
|
138513
138413
|
}));
|
|
138514
|
-
// version: 1.
|
|
138414
|
+
// version: 1.431.0-0cb7677555
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.431.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
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-runtime-mobile": "^1.
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.431.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.431.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.431.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.431.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.431.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.431.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.431.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.431.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|