@salesforce/lds-worker-api 1.198.0 → 1.199.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.
|
@@ -770,4 +770,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
773
|
-
// version: 1.
|
|
773
|
+
// version: 1.199.0-017661a18
|
|
@@ -3799,7 +3799,7 @@ function withDefaultLuvio(callback) {
|
|
|
3799
3799
|
}
|
|
3800
3800
|
callbacks.push(callback);
|
|
3801
3801
|
}
|
|
3802
|
-
// version: 1.
|
|
3802
|
+
// version: 1.199.0-017661a18
|
|
3803
3803
|
|
|
3804
3804
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3805
3805
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15232,7 +15232,7 @@ function parseAndVisit(source) {
|
|
|
15232
15232
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15233
15233
|
return luvioDocumentNode;
|
|
15234
15234
|
}
|
|
15235
|
-
// version: 1.
|
|
15235
|
+
// version: 1.199.0-017661a18
|
|
15236
15236
|
|
|
15237
15237
|
function unwrap(data) {
|
|
15238
15238
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16145,7 +16145,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16145
16145
|
const { apiFamily, name } = metadata;
|
|
16146
16146
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16147
16147
|
}
|
|
16148
|
-
// version: 1.
|
|
16148
|
+
// version: 1.199.0-017661a18
|
|
16149
16149
|
|
|
16150
16150
|
/**
|
|
16151
16151
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -17755,7 +17755,7 @@ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17755
17755
|
getTypeCacheKeys$Q$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
17756
17756
|
}
|
|
17757
17757
|
}
|
|
17758
|
-
const notifyUpdateAvailableFactory = (luvio) => {
|
|
17758
|
+
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
17759
17759
|
return function notifyRecordUpdateAvailable(configs) {
|
|
17760
17760
|
const keys = configs.map(c => keyBuilder$1R(luvio, c));
|
|
17761
17761
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -22688,6 +22688,12 @@ function getTypeCacheKeys$J$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22688
22688
|
getTypeCacheKeys$K$1(rootKeySet, luvio, input.lists[i]);
|
|
22689
22689
|
}
|
|
22690
22690
|
}
|
|
22691
|
+
const notifyUpdateAvailableFactory = (luvio) => {
|
|
22692
|
+
return function notifyListViewSummaryUpdateAvailable(configs) {
|
|
22693
|
+
const keys = configs.map(c => keyBuilder$1K(luvio, c));
|
|
22694
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
22695
|
+
};
|
|
22696
|
+
};
|
|
22691
22697
|
|
|
22692
22698
|
function createPaginationParams$2(params) {
|
|
22693
22699
|
const { queryParams } = params;
|
|
@@ -44496,12 +44502,13 @@ withDefaultLuvio((luvio) => {
|
|
|
44496
44502
|
allowFunction: instrumentation$2.getRecordNotifyChangeAllowed,
|
|
44497
44503
|
dropFunction: instrumentation$2.getRecordNotifyChangeDropped,
|
|
44498
44504
|
});
|
|
44499
|
-
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory), {
|
|
44505
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$1), {
|
|
44500
44506
|
allowFunction: instrumentation$2.notifyRecordUpdateAvailableAllowed,
|
|
44501
44507
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44502
44508
|
});
|
|
44509
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory));
|
|
44503
44510
|
});
|
|
44504
|
-
// version: 1.
|
|
44511
|
+
// version: 1.199.0-66586ec50
|
|
44505
44512
|
|
|
44506
44513
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44507
44514
|
|
|
@@ -60721,7 +60728,7 @@ register({
|
|
|
60721
60728
|
id: '@salesforce/lds-network-adapter',
|
|
60722
60729
|
instrument: instrument$1,
|
|
60723
60730
|
});
|
|
60724
|
-
// version: 1.
|
|
60731
|
+
// version: 1.199.0-017661a18
|
|
60725
60732
|
|
|
60726
60733
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60727
60734
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78064,7 +78071,7 @@ register({
|
|
|
78064
78071
|
configuration: { ...configurationForGraphQLAdapters },
|
|
78065
78072
|
instrument,
|
|
78066
78073
|
});
|
|
78067
|
-
// version: 1.
|
|
78074
|
+
// version: 1.199.0-66586ec50
|
|
78068
78075
|
|
|
78069
78076
|
// On core the unstable adapters are re-exported with different names,
|
|
78070
78077
|
|
|
@@ -80311,7 +80318,7 @@ withDefaultLuvio((luvio) => {
|
|
|
80311
80318
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
80312
80319
|
graphQLImperative = ldsAdapter;
|
|
80313
80320
|
});
|
|
80314
|
-
// version: 1.
|
|
80321
|
+
// version: 1.199.0-66586ec50
|
|
80315
80322
|
|
|
80316
80323
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
80317
80324
|
__proto__: null,
|
|
@@ -81000,4 +81007,4 @@ const { luvio } = getRuntime();
|
|
|
81000
81007
|
setDefaultLuvio({ luvio });
|
|
81001
81008
|
|
|
81002
81009
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
81003
|
-
// version: 1.
|
|
81010
|
+
// version: 1.199.0-017661a18
|
|
@@ -3805,7 +3805,7 @@
|
|
|
3805
3805
|
}
|
|
3806
3806
|
callbacks.push(callback);
|
|
3807
3807
|
}
|
|
3808
|
-
// version: 1.
|
|
3808
|
+
// version: 1.199.0-017661a18
|
|
3809
3809
|
|
|
3810
3810
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3811
3811
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15238,7 +15238,7 @@
|
|
|
15238
15238
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15239
15239
|
return luvioDocumentNode;
|
|
15240
15240
|
}
|
|
15241
|
-
// version: 1.
|
|
15241
|
+
// version: 1.199.0-017661a18
|
|
15242
15242
|
|
|
15243
15243
|
function unwrap(data) {
|
|
15244
15244
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16151,7 +16151,7 @@
|
|
|
16151
16151
|
const { apiFamily, name } = metadata;
|
|
16152
16152
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16153
16153
|
}
|
|
16154
|
-
// version: 1.
|
|
16154
|
+
// version: 1.199.0-017661a18
|
|
16155
16155
|
|
|
16156
16156
|
/**
|
|
16157
16157
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -17761,7 +17761,7 @@
|
|
|
17761
17761
|
getTypeCacheKeys$Q$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
17762
17762
|
}
|
|
17763
17763
|
}
|
|
17764
|
-
const notifyUpdateAvailableFactory = (luvio) => {
|
|
17764
|
+
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
17765
17765
|
return function notifyRecordUpdateAvailable(configs) {
|
|
17766
17766
|
const keys = configs.map(c => keyBuilder$1R(luvio, c));
|
|
17767
17767
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -22694,6 +22694,12 @@
|
|
|
22694
22694
|
getTypeCacheKeys$K$1(rootKeySet, luvio, input.lists[i]);
|
|
22695
22695
|
}
|
|
22696
22696
|
}
|
|
22697
|
+
const notifyUpdateAvailableFactory = (luvio) => {
|
|
22698
|
+
return function notifyListViewSummaryUpdateAvailable(configs) {
|
|
22699
|
+
const keys = configs.map(c => keyBuilder$1K(luvio, c));
|
|
22700
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
22701
|
+
};
|
|
22702
|
+
};
|
|
22697
22703
|
|
|
22698
22704
|
function createPaginationParams$2(params) {
|
|
22699
22705
|
const { queryParams } = params;
|
|
@@ -44502,12 +44508,13 @@
|
|
|
44502
44508
|
allowFunction: instrumentation$2.getRecordNotifyChangeAllowed,
|
|
44503
44509
|
dropFunction: instrumentation$2.getRecordNotifyChangeDropped,
|
|
44504
44510
|
});
|
|
44505
|
-
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory), {
|
|
44511
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$1), {
|
|
44506
44512
|
allowFunction: instrumentation$2.notifyRecordUpdateAvailableAllowed,
|
|
44507
44513
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44508
44514
|
});
|
|
44515
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory));
|
|
44509
44516
|
});
|
|
44510
|
-
// version: 1.
|
|
44517
|
+
// version: 1.199.0-66586ec50
|
|
44511
44518
|
|
|
44512
44519
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44513
44520
|
|
|
@@ -60727,7 +60734,7 @@
|
|
|
60727
60734
|
id: '@salesforce/lds-network-adapter',
|
|
60728
60735
|
instrument: instrument$1,
|
|
60729
60736
|
});
|
|
60730
|
-
// version: 1.
|
|
60737
|
+
// version: 1.199.0-017661a18
|
|
60731
60738
|
|
|
60732
60739
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60733
60740
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78070,7 +78077,7 @@
|
|
|
78070
78077
|
configuration: { ...configurationForGraphQLAdapters },
|
|
78071
78078
|
instrument,
|
|
78072
78079
|
});
|
|
78073
|
-
// version: 1.
|
|
78080
|
+
// version: 1.199.0-66586ec50
|
|
78074
78081
|
|
|
78075
78082
|
// On core the unstable adapters are re-exported with different names,
|
|
78076
78083
|
|
|
@@ -80317,7 +80324,7 @@
|
|
|
80317
80324
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
80318
80325
|
graphQLImperative = ldsAdapter;
|
|
80319
80326
|
});
|
|
80320
|
-
// version: 1.
|
|
80327
|
+
// version: 1.199.0-66586ec50
|
|
80321
80328
|
|
|
80322
80329
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
80323
80330
|
__proto__: null,
|
|
@@ -81023,4 +81030,4 @@
|
|
|
81023
81030
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
81024
81031
|
|
|
81025
81032
|
}));
|
|
81026
|
-
// version: 1.
|
|
81033
|
+
// version: 1.199.0-017661a18
|