@salesforce/lds-worker-api 1.429.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) {
|
|
@@ -95179,6 +95119,7 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
|
|
|
95179
95119
|
constructor(services) {
|
|
95180
95120
|
super(services);
|
|
95181
95121
|
this.services = services;
|
|
95122
|
+
this.additionalNullResponses = [];
|
|
95182
95123
|
}
|
|
95183
95124
|
fetch() {
|
|
95184
95125
|
try {
|
|
@@ -95187,6 +95128,15 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
|
|
|
95187
95128
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95188
95129
|
}
|
|
95189
95130
|
}
|
|
95131
|
+
isSemanticNullResponse(response) {
|
|
95132
|
+
return this.additionalNullResponses.includes(response.status);
|
|
95133
|
+
}
|
|
95134
|
+
isProtocolNoBodyStatus(status) {
|
|
95135
|
+
return status === 204 || status === 205;
|
|
95136
|
+
}
|
|
95137
|
+
isUndeclaredNoBodyResponse(response) {
|
|
95138
|
+
return this.isProtocolNoBodyStatus(response.status) && !this.isSemanticNullResponse(response);
|
|
95139
|
+
}
|
|
95190
95140
|
async coerceError(errorResponse) {
|
|
95191
95141
|
return toError(errorResponse.statusText);
|
|
95192
95142
|
}
|
|
@@ -95194,10 +95144,24 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
|
|
|
95194
95144
|
return response.then(
|
|
95195
95145
|
(response2) => {
|
|
95196
95146
|
if (response2.ok) {
|
|
95197
|
-
|
|
95198
|
-
|
|
95199
|
-
|
|
95200
|
-
|
|
95147
|
+
let resultPromise;
|
|
95148
|
+
if (this.isSemanticNullResponse(response2)) {
|
|
95149
|
+
resultPromise = Promise.resolve(ok$1(null));
|
|
95150
|
+
} else if (this.isUndeclaredNoBodyResponse(response2)) {
|
|
95151
|
+
resultPromise = Promise.resolve(
|
|
95152
|
+
err$1(
|
|
95153
|
+
toError(
|
|
95154
|
+
`Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
|
|
95155
|
+
)
|
|
95156
|
+
)
|
|
95157
|
+
);
|
|
95158
|
+
} else {
|
|
95159
|
+
resultPromise = response2.json().then(
|
|
95160
|
+
(json) => ok$1(json),
|
|
95161
|
+
(reason) => err$1(toError(reason))
|
|
95162
|
+
);
|
|
95163
|
+
}
|
|
95164
|
+
return resultPromise.finally(() => {
|
|
95201
95165
|
try {
|
|
95202
95166
|
this.afterRequestHooks({ statusCode: response2.status });
|
|
95203
95167
|
} catch {
|
|
@@ -95244,6 +95208,7 @@ class HttpCacheControlCommand extends CacheControlCommand {
|
|
|
95244
95208
|
constructor(services) {
|
|
95245
95209
|
super(services);
|
|
95246
95210
|
this.services = services;
|
|
95211
|
+
this.additionalNullResponses = [];
|
|
95247
95212
|
}
|
|
95248
95213
|
requestFromNetwork() {
|
|
95249
95214
|
return this.fetch();
|
|
@@ -95255,6 +95220,15 @@ class HttpCacheControlCommand extends CacheControlCommand {
|
|
|
95255
95220
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95256
95221
|
}
|
|
95257
95222
|
}
|
|
95223
|
+
isSemanticNullResponse(response) {
|
|
95224
|
+
return this.additionalNullResponses.includes(response.status);
|
|
95225
|
+
}
|
|
95226
|
+
isProtocolNoBodyStatus(status) {
|
|
95227
|
+
return status === 204 || status === 205;
|
|
95228
|
+
}
|
|
95229
|
+
isUndeclaredNoBodyResponse(response) {
|
|
95230
|
+
return this.isProtocolNoBodyStatus(response.status) && !this.isSemanticNullResponse(response);
|
|
95231
|
+
}
|
|
95258
95232
|
async coerceError(errorResponse) {
|
|
95259
95233
|
return toError(errorResponse.statusText);
|
|
95260
95234
|
}
|
|
@@ -95265,12 +95239,26 @@ class HttpCacheControlCommand extends CacheControlCommand {
|
|
|
95265
95239
|
return response.then(
|
|
95266
95240
|
(response2) => {
|
|
95267
95241
|
if (response2.ok) {
|
|
95268
|
-
|
|
95269
|
-
|
|
95270
|
-
|
|
95271
|
-
|
|
95272
|
-
|
|
95273
|
-
|
|
95242
|
+
let resultPromise;
|
|
95243
|
+
if (this.isSemanticNullResponse(response2)) {
|
|
95244
|
+
resultPromise = Promise.resolve(ok$1(null));
|
|
95245
|
+
} else if (this.isUndeclaredNoBodyResponse(response2)) {
|
|
95246
|
+
resultPromise = Promise.resolve(
|
|
95247
|
+
err$1(
|
|
95248
|
+
toError(
|
|
95249
|
+
`Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
|
|
95250
|
+
)
|
|
95251
|
+
)
|
|
95252
|
+
);
|
|
95253
|
+
} else {
|
|
95254
|
+
resultPromise = response2.json().then(
|
|
95255
|
+
(json) => {
|
|
95256
|
+
return this.processFetchReturnValue(json);
|
|
95257
|
+
},
|
|
95258
|
+
(reason) => err$1(toError(reason))
|
|
95259
|
+
);
|
|
95260
|
+
}
|
|
95261
|
+
return resultPromise.finally(() => {
|
|
95274
95262
|
try {
|
|
95275
95263
|
this.afterRequestHooks({ statusCode: response2.status });
|
|
95276
95264
|
} catch {
|
|
@@ -96258,7 +96246,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96258
96246
|
},
|
|
96259
96247
|
};
|
|
96260
96248
|
}
|
|
96261
|
-
// version: 1.
|
|
96249
|
+
// version: 1.431.0-51a9c51ed3
|
|
96262
96250
|
|
|
96263
96251
|
/**
|
|
96264
96252
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96284,7 +96272,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96284
96272
|
},
|
|
96285
96273
|
};
|
|
96286
96274
|
}
|
|
96287
|
-
// version: 1.
|
|
96275
|
+
// version: 1.431.0-51a9c51ed3
|
|
96288
96276
|
|
|
96289
96277
|
/*!
|
|
96290
96278
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98941,7 +98929,7 @@ register$1({
|
|
|
98941
98929
|
id: '@salesforce/lds-network-adapter',
|
|
98942
98930
|
instrument: instrument$2,
|
|
98943
98931
|
});
|
|
98944
|
-
// version: 1.
|
|
98932
|
+
// version: 1.431.0-0cb7677555
|
|
98945
98933
|
|
|
98946
98934
|
const { create: create$2, keys: keys$2 } = Object;
|
|
98947
98935
|
const { stringify, parse } = JSON;
|
|
@@ -106932,7 +106920,7 @@ function registerCallback(cb) {
|
|
|
106932
106920
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106933
106921
|
}
|
|
106934
106922
|
}
|
|
106935
|
-
// version: 1.
|
|
106923
|
+
// version: 1.431.0-51a9c51ed3
|
|
106936
106924
|
|
|
106937
106925
|
function createFragmentMap(documentNode) {
|
|
106938
106926
|
const fragments = {};
|
|
@@ -134991,14 +134979,6 @@ let oneStoreGetObjectInfoAdapter$1 = undefined;
|
|
|
134991
134979
|
* One store enabled Get Object Infos adapter
|
|
134992
134980
|
*/
|
|
134993
134981
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
134994
|
-
/**
|
|
134995
|
-
* Determines when to include PDL strategies for Related Lists
|
|
134996
|
-
*/
|
|
134997
|
-
let relatedListsPredictionsEnabled$1 = false;
|
|
134998
|
-
/**
|
|
134999
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
135000
|
-
*/
|
|
135001
|
-
let relatedListsPlusPredictionsEnabled$1 = false;
|
|
135002
134982
|
let recordRepresentationIngestionOverride$1 = undefined;
|
|
135003
134983
|
/**
|
|
135004
134984
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -135093,18 +135073,6 @@ const configurationForRestAdapters$1 = {
|
|
|
135093
135073
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
135094
135074
|
return trackedFieldLeafNodeIdAndNameOnly$1;
|
|
135095
135075
|
},
|
|
135096
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
135097
|
-
relatedListsPredictionsEnabled$1 = f;
|
|
135098
|
-
},
|
|
135099
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
135100
|
-
return relatedListsPredictionsEnabled$1 === true;
|
|
135101
|
-
},
|
|
135102
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
135103
|
-
relatedListsPlusPredictionsEnabled$1 = f;
|
|
135104
|
-
},
|
|
135105
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
135106
|
-
return relatedListsPlusPredictionsEnabled$1 === true;
|
|
135107
|
-
},
|
|
135108
135076
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
135109
135077
|
recordRepresentationIngestionOverride$1 = ingest;
|
|
135110
135078
|
},
|
|
@@ -136169,7 +136137,7 @@ register$1({
|
|
|
136169
136137
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136170
136138
|
instrument: instrument$1,
|
|
136171
136139
|
});
|
|
136172
|
-
// version: 1.
|
|
136140
|
+
// version: 1.431.0-51a9c51ed3
|
|
136173
136141
|
|
|
136174
136142
|
// On core the unstable adapters are re-exported with different names,
|
|
136175
136143
|
// we want to match them here.
|
|
@@ -136321,7 +136289,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136321
136289
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136322
136290
|
graphQLImperative = ldsAdapter;
|
|
136323
136291
|
});
|
|
136324
|
-
// version: 1.
|
|
136292
|
+
// version: 1.431.0-51a9c51ed3
|
|
136325
136293
|
|
|
136326
136294
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136327
136295
|
__proto__: null,
|
|
@@ -137120,7 +137088,7 @@ const callbacks$1 = [];
|
|
|
137120
137088
|
function register(r) {
|
|
137121
137089
|
callbacks$1.forEach((callback) => callback(r));
|
|
137122
137090
|
}
|
|
137123
|
-
// version: 1.
|
|
137091
|
+
// version: 1.431.0-0cb7677555
|
|
137124
137092
|
|
|
137125
137093
|
/**
|
|
137126
137094
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -137186,14 +137154,6 @@ let oneStoreGetObjectInfoAdapter = undefined;
|
|
|
137186
137154
|
* One store enabled Get Object Infos adapter
|
|
137187
137155
|
*/
|
|
137188
137156
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
137189
|
-
/**
|
|
137190
|
-
* Determines when to include PDL strategies for Related Lists
|
|
137191
|
-
*/
|
|
137192
|
-
let relatedListsPredictionsEnabled = false;
|
|
137193
|
-
/**
|
|
137194
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
137195
|
-
*/
|
|
137196
|
-
let relatedListsPlusPredictionsEnabled = false;
|
|
137197
137157
|
let recordRepresentationIngestionOverride = undefined;
|
|
137198
137158
|
/**
|
|
137199
137159
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -137288,18 +137248,6 @@ const configurationForRestAdapters = {
|
|
|
137288
137248
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
137289
137249
|
return trackedFieldLeafNodeIdAndNameOnly;
|
|
137290
137250
|
},
|
|
137291
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
137292
|
-
relatedListsPredictionsEnabled = f;
|
|
137293
|
-
},
|
|
137294
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
137295
|
-
return relatedListsPredictionsEnabled === true;
|
|
137296
|
-
},
|
|
137297
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
137298
|
-
relatedListsPlusPredictionsEnabled = f;
|
|
137299
|
-
},
|
|
137300
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
137301
|
-
return relatedListsPlusPredictionsEnabled === true;
|
|
137302
|
-
},
|
|
137303
137251
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
137304
137252
|
recordRepresentationIngestionOverride = ingest;
|
|
137305
137253
|
},
|
|
@@ -138436,4 +138384,4 @@ const { luvio } = getRuntime();
|
|
|
138436
138384
|
setDefaultLuvio({ luvio });
|
|
138437
138385
|
|
|
138438
138386
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138439
|
-
// 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) {
|
|
@@ -95185,6 +95125,7 @@
|
|
|
95185
95125
|
constructor(services) {
|
|
95186
95126
|
super(services);
|
|
95187
95127
|
this.services = services;
|
|
95128
|
+
this.additionalNullResponses = [];
|
|
95188
95129
|
}
|
|
95189
95130
|
fetch() {
|
|
95190
95131
|
try {
|
|
@@ -95193,6 +95134,15 @@
|
|
|
95193
95134
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95194
95135
|
}
|
|
95195
95136
|
}
|
|
95137
|
+
isSemanticNullResponse(response) {
|
|
95138
|
+
return this.additionalNullResponses.includes(response.status);
|
|
95139
|
+
}
|
|
95140
|
+
isProtocolNoBodyStatus(status) {
|
|
95141
|
+
return status === 204 || status === 205;
|
|
95142
|
+
}
|
|
95143
|
+
isUndeclaredNoBodyResponse(response) {
|
|
95144
|
+
return this.isProtocolNoBodyStatus(response.status) && !this.isSemanticNullResponse(response);
|
|
95145
|
+
}
|
|
95196
95146
|
async coerceError(errorResponse) {
|
|
95197
95147
|
return toError(errorResponse.statusText);
|
|
95198
95148
|
}
|
|
@@ -95200,10 +95150,24 @@
|
|
|
95200
95150
|
return response.then(
|
|
95201
95151
|
(response2) => {
|
|
95202
95152
|
if (response2.ok) {
|
|
95203
|
-
|
|
95204
|
-
|
|
95205
|
-
|
|
95206
|
-
|
|
95153
|
+
let resultPromise;
|
|
95154
|
+
if (this.isSemanticNullResponse(response2)) {
|
|
95155
|
+
resultPromise = Promise.resolve(ok$1(null));
|
|
95156
|
+
} else if (this.isUndeclaredNoBodyResponse(response2)) {
|
|
95157
|
+
resultPromise = Promise.resolve(
|
|
95158
|
+
err$1(
|
|
95159
|
+
toError(
|
|
95160
|
+
`Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
|
|
95161
|
+
)
|
|
95162
|
+
)
|
|
95163
|
+
);
|
|
95164
|
+
} else {
|
|
95165
|
+
resultPromise = response2.json().then(
|
|
95166
|
+
(json) => ok$1(json),
|
|
95167
|
+
(reason) => err$1(toError(reason))
|
|
95168
|
+
);
|
|
95169
|
+
}
|
|
95170
|
+
return resultPromise.finally(() => {
|
|
95207
95171
|
try {
|
|
95208
95172
|
this.afterRequestHooks({ statusCode: response2.status });
|
|
95209
95173
|
} catch {
|
|
@@ -95250,6 +95214,7 @@
|
|
|
95250
95214
|
constructor(services) {
|
|
95251
95215
|
super(services);
|
|
95252
95216
|
this.services = services;
|
|
95217
|
+
this.additionalNullResponses = [];
|
|
95253
95218
|
}
|
|
95254
95219
|
requestFromNetwork() {
|
|
95255
95220
|
return this.fetch();
|
|
@@ -95261,6 +95226,15 @@
|
|
|
95261
95226
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95262
95227
|
}
|
|
95263
95228
|
}
|
|
95229
|
+
isSemanticNullResponse(response) {
|
|
95230
|
+
return this.additionalNullResponses.includes(response.status);
|
|
95231
|
+
}
|
|
95232
|
+
isProtocolNoBodyStatus(status) {
|
|
95233
|
+
return status === 204 || status === 205;
|
|
95234
|
+
}
|
|
95235
|
+
isUndeclaredNoBodyResponse(response) {
|
|
95236
|
+
return this.isProtocolNoBodyStatus(response.status) && !this.isSemanticNullResponse(response);
|
|
95237
|
+
}
|
|
95264
95238
|
async coerceError(errorResponse) {
|
|
95265
95239
|
return toError(errorResponse.statusText);
|
|
95266
95240
|
}
|
|
@@ -95271,12 +95245,26 @@
|
|
|
95271
95245
|
return response.then(
|
|
95272
95246
|
(response2) => {
|
|
95273
95247
|
if (response2.ok) {
|
|
95274
|
-
|
|
95275
|
-
|
|
95276
|
-
|
|
95277
|
-
|
|
95278
|
-
|
|
95279
|
-
|
|
95248
|
+
let resultPromise;
|
|
95249
|
+
if (this.isSemanticNullResponse(response2)) {
|
|
95250
|
+
resultPromise = Promise.resolve(ok$1(null));
|
|
95251
|
+
} else if (this.isUndeclaredNoBodyResponse(response2)) {
|
|
95252
|
+
resultPromise = Promise.resolve(
|
|
95253
|
+
err$1(
|
|
95254
|
+
toError(
|
|
95255
|
+
`Unexpected ${response2.status} response: no-content status was not declared in the API specification. Declare this response in your OAS without a content property.`
|
|
95256
|
+
)
|
|
95257
|
+
)
|
|
95258
|
+
);
|
|
95259
|
+
} else {
|
|
95260
|
+
resultPromise = response2.json().then(
|
|
95261
|
+
(json) => {
|
|
95262
|
+
return this.processFetchReturnValue(json);
|
|
95263
|
+
},
|
|
95264
|
+
(reason) => err$1(toError(reason))
|
|
95265
|
+
);
|
|
95266
|
+
}
|
|
95267
|
+
return resultPromise.finally(() => {
|
|
95280
95268
|
try {
|
|
95281
95269
|
this.afterRequestHooks({ statusCode: response2.status });
|
|
95282
95270
|
} catch {
|
|
@@ -96264,7 +96252,7 @@
|
|
|
96264
96252
|
},
|
|
96265
96253
|
};
|
|
96266
96254
|
}
|
|
96267
|
-
// version: 1.
|
|
96255
|
+
// version: 1.431.0-51a9c51ed3
|
|
96268
96256
|
|
|
96269
96257
|
/**
|
|
96270
96258
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96290,7 +96278,7 @@
|
|
|
96290
96278
|
},
|
|
96291
96279
|
};
|
|
96292
96280
|
}
|
|
96293
|
-
// version: 1.
|
|
96281
|
+
// version: 1.431.0-51a9c51ed3
|
|
96294
96282
|
|
|
96295
96283
|
/*!
|
|
96296
96284
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98947,7 +98935,7 @@
|
|
|
98947
98935
|
id: '@salesforce/lds-network-adapter',
|
|
98948
98936
|
instrument: instrument$2,
|
|
98949
98937
|
});
|
|
98950
|
-
// version: 1.
|
|
98938
|
+
// version: 1.431.0-0cb7677555
|
|
98951
98939
|
|
|
98952
98940
|
const { create: create$2, keys: keys$2 } = Object;
|
|
98953
98941
|
const { stringify, parse } = JSON;
|
|
@@ -106938,7 +106926,7 @@
|
|
|
106938
106926
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106939
106927
|
}
|
|
106940
106928
|
}
|
|
106941
|
-
// version: 1.
|
|
106929
|
+
// version: 1.431.0-51a9c51ed3
|
|
106942
106930
|
|
|
106943
106931
|
function createFragmentMap(documentNode) {
|
|
106944
106932
|
const fragments = {};
|
|
@@ -134997,14 +134985,6 @@
|
|
|
134997
134985
|
* One store enabled Get Object Infos adapter
|
|
134998
134986
|
*/
|
|
134999
134987
|
let oneStoreGetObjectInfosAdapter$1 = undefined;
|
|
135000
|
-
/**
|
|
135001
|
-
* Determines when to include PDL strategies for Related Lists
|
|
135002
|
-
*/
|
|
135003
|
-
let relatedListsPredictionsEnabled$1 = false;
|
|
135004
|
-
/**
|
|
135005
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
135006
|
-
*/
|
|
135007
|
-
let relatedListsPlusPredictionsEnabled$1 = false;
|
|
135008
134988
|
let recordRepresentationIngestionOverride$1 = undefined;
|
|
135009
134989
|
/**
|
|
135010
134990
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -135099,18 +135079,6 @@
|
|
|
135099
135079
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
135100
135080
|
return trackedFieldLeafNodeIdAndNameOnly$1;
|
|
135101
135081
|
},
|
|
135102
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
135103
|
-
relatedListsPredictionsEnabled$1 = f;
|
|
135104
|
-
},
|
|
135105
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
135106
|
-
return relatedListsPredictionsEnabled$1 === true;
|
|
135107
|
-
},
|
|
135108
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
135109
|
-
relatedListsPlusPredictionsEnabled$1 = f;
|
|
135110
|
-
},
|
|
135111
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
135112
|
-
return relatedListsPlusPredictionsEnabled$1 === true;
|
|
135113
|
-
},
|
|
135114
135082
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
135115
135083
|
recordRepresentationIngestionOverride$1 = ingest;
|
|
135116
135084
|
},
|
|
@@ -136175,7 +136143,7 @@
|
|
|
136175
136143
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136176
136144
|
instrument: instrument$1,
|
|
136177
136145
|
});
|
|
136178
|
-
// version: 1.
|
|
136146
|
+
// version: 1.431.0-51a9c51ed3
|
|
136179
136147
|
|
|
136180
136148
|
// On core the unstable adapters are re-exported with different names,
|
|
136181
136149
|
// we want to match them here.
|
|
@@ -136327,7 +136295,7 @@
|
|
|
136327
136295
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136328
136296
|
graphQLImperative = ldsAdapter;
|
|
136329
136297
|
});
|
|
136330
|
-
// version: 1.
|
|
136298
|
+
// version: 1.431.0-51a9c51ed3
|
|
136331
136299
|
|
|
136332
136300
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136333
136301
|
__proto__: null,
|
|
@@ -137126,7 +137094,7 @@
|
|
|
137126
137094
|
function register(r) {
|
|
137127
137095
|
callbacks$1.forEach((callback) => callback(r));
|
|
137128
137096
|
}
|
|
137129
|
-
// version: 1.
|
|
137097
|
+
// version: 1.431.0-0cb7677555
|
|
137130
137098
|
|
|
137131
137099
|
/**
|
|
137132
137100
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -137192,14 +137160,6 @@
|
|
|
137192
137160
|
* One store enabled Get Object Infos adapter
|
|
137193
137161
|
*/
|
|
137194
137162
|
let oneStoreGetObjectInfosAdapter = undefined;
|
|
137195
|
-
/**
|
|
137196
|
-
* Determines when to include PDL strategies for Related Lists
|
|
137197
|
-
*/
|
|
137198
|
-
let relatedListsPredictionsEnabled = false;
|
|
137199
|
-
/**
|
|
137200
|
-
* Determines whether to include additional PDL strategies for Related Lists
|
|
137201
|
-
*/
|
|
137202
|
-
let relatedListsPlusPredictionsEnabled = false;
|
|
137203
137163
|
let recordRepresentationIngestionOverride = undefined;
|
|
137204
137164
|
/**
|
|
137205
137165
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -137294,18 +137254,6 @@
|
|
|
137294
137254
|
getTrackedFieldLeafNodeIdAndNameOnly: function () {
|
|
137295
137255
|
return trackedFieldLeafNodeIdAndNameOnly;
|
|
137296
137256
|
},
|
|
137297
|
-
setRelatedListsPredictionsEnabled: function (f) {
|
|
137298
|
-
relatedListsPredictionsEnabled = f;
|
|
137299
|
-
},
|
|
137300
|
-
areRelatedListsPredictionsEnabled: function () {
|
|
137301
|
-
return relatedListsPredictionsEnabled === true;
|
|
137302
|
-
},
|
|
137303
|
-
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
137304
|
-
relatedListsPlusPredictionsEnabled = f;
|
|
137305
|
-
},
|
|
137306
|
-
areRelatedListsPlusPredictionsEnabled: function () {
|
|
137307
|
-
return relatedListsPlusPredictionsEnabled === true;
|
|
137308
|
-
},
|
|
137309
137257
|
setRecordRepresentationIngestionOverride: function (ingest) {
|
|
137310
137258
|
recordRepresentationIngestionOverride = ingest;
|
|
137311
137259
|
},
|
|
@@ -138463,4 +138411,4 @@
|
|
|
138463
138411
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138464
138412
|
|
|
138465
138413
|
}));
|
|
138466
|
-
// 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",
|