@salesforce/lds-worker-api 1.272.0 → 1.273.1
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.
- package/dist/sfdc/es/ldsWorkerApi.js +1 -1
- package/dist/standalone/es/lds-worker-api.js +40 -19
- package/dist/standalone/umd/lds-worker-api.js +40 -19
- package/package.json +10 -10
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/adapter-forward-assignedtome.adapter-snapshot.result.json +7 -7
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/snapshotdata/assignedtome.adapter-snapshot.result.json +7 -7
|
@@ -1034,4 +1034,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1037
|
-
// version: 1.
|
|
1037
|
+
// version: 1.273.1-37fe48f59
|
|
@@ -4144,7 +4144,7 @@ function withDefaultLuvio(callback) {
|
|
|
4144
4144
|
}
|
|
4145
4145
|
callbacks.push(callback);
|
|
4146
4146
|
}
|
|
4147
|
-
// version: 1.
|
|
4147
|
+
// version: 1.273.1-37fe48f59
|
|
4148
4148
|
|
|
4149
4149
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4150
4150
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15652,7 +15652,7 @@ function gql(literals, ...subs) {
|
|
|
15652
15652
|
}
|
|
15653
15653
|
return superResult;
|
|
15654
15654
|
}
|
|
15655
|
-
// version: 1.
|
|
15655
|
+
// version: 1.273.1-37fe48f59
|
|
15656
15656
|
|
|
15657
15657
|
function unwrap(data) {
|
|
15658
15658
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16577,7 +16577,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16577
16577
|
const { apiFamily, name } = metadata;
|
|
16578
16578
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16579
16579
|
}
|
|
16580
|
-
// version: 1.
|
|
16580
|
+
// version: 1.273.1-37fe48f59
|
|
16581
16581
|
|
|
16582
16582
|
/**
|
|
16583
16583
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -17762,7 +17762,7 @@ function getTypeCacheKeys$W$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17762
17762
|
getTypeCacheKeys$X$1(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
17763
17763
|
}
|
|
17764
17764
|
}
|
|
17765
|
-
const notifyUpdateAvailableFactory$
|
|
17765
|
+
const notifyUpdateAvailableFactory$5 = (luvio) => {
|
|
17766
17766
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
17767
17767
|
const keys = configs.map(c => keyBuilder$21(luvio, c));
|
|
17768
17768
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -18375,7 +18375,7 @@ function getTypeCacheKeys$S$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18375
18375
|
getTypeCacheKeys$V$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
18376
18376
|
}
|
|
18377
18377
|
}
|
|
18378
|
-
const notifyUpdateAvailableFactory$
|
|
18378
|
+
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
18379
18379
|
return function notifyRecordUpdateAvailable(configs) {
|
|
18380
18380
|
const keys = configs.map(c => keyBuilder$20(luvio, c));
|
|
18381
18381
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -22021,6 +22021,12 @@ function getTypeCacheKeys$R$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22021
22021
|
getTypeCacheKeys$U$1(rootKeySet, luvio, input.records[i]);
|
|
22022
22022
|
}
|
|
22023
22023
|
}
|
|
22024
|
+
const notifyUpdateAvailableFactory$3 = (luvio) => {
|
|
22025
|
+
return function notifyListRecordCollectionUpdateAvailable(configs) {
|
|
22026
|
+
const keys = configs.map(c => keyBuilder$1Z(luvio, c));
|
|
22027
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
22028
|
+
};
|
|
22029
|
+
};
|
|
22024
22030
|
|
|
22025
22031
|
const VERSION$15$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
22026
22032
|
const RepresentationType$Q = 'ListUiRepresentation';
|
|
@@ -24811,10 +24817,11 @@ function getNameField(objectInfo, fieldApiName) {
|
|
|
24811
24817
|
// ObjectInfoRep.ReferenceToInfoRep[].nameFields[]:
|
|
24812
24818
|
// 1. If any of the arrays are empty returns `Name`
|
|
24813
24819
|
// 2. If `Name` is found in any array position then returns it
|
|
24814
|
-
//
|
|
24820
|
+
// 3. If the field has more than 1 references(polymorphic), return `Name`
|
|
24821
|
+
// 4. Else returns ObjectInfoRep.ReferenceToInfoRep[0].nameFields[0]
|
|
24815
24822
|
// Rationale for this is unclear and needs clarification.
|
|
24816
24823
|
const referenceToInfos = objectInfo.fields[fieldApiName].referenceToInfos;
|
|
24817
|
-
if (referenceToInfos.length
|
|
24824
|
+
if (referenceToInfos.length !== 1) {
|
|
24818
24825
|
return FIELD_NAME;
|
|
24819
24826
|
}
|
|
24820
24827
|
const firstReferenceNameFields = referenceToInfos[0].nameFields;
|
|
@@ -25348,9 +25355,24 @@ function getFieldsFromLayoutMap(layoutMap, objectInfo) {
|
|
|
25348
25355
|
}
|
|
25349
25356
|
return dedupe$2(fields).sort();
|
|
25350
25357
|
}
|
|
25358
|
+
/**
|
|
25359
|
+
* W-14696113
|
|
25360
|
+
* Merge fields into optionalFields and return the whole list.
|
|
25361
|
+
* @param {string[]} fields
|
|
25362
|
+
* @param {string[]} [optionalFields]
|
|
25363
|
+
*/
|
|
25364
|
+
function convertToImplicitFields(fields, optionalFields) {
|
|
25365
|
+
const implicitFields = optionalFields || [];
|
|
25366
|
+
fields.forEach((field) => {
|
|
25367
|
+
if (!(field in implicitFields))
|
|
25368
|
+
implicitFields.push(field);
|
|
25369
|
+
});
|
|
25370
|
+
return implicitFields;
|
|
25371
|
+
}
|
|
25351
25372
|
function getRecordForLayoutableEntities(luvio, refresh, recordId, layoutMap, objectInfo, configOptionalFields) {
|
|
25352
25373
|
const fields = getFieldsFromLayoutMap(layoutMap, objectInfo);
|
|
25353
|
-
|
|
25374
|
+
const implicitFields = convertToImplicitFields(fields, configOptionalFields);
|
|
25375
|
+
return getRecord$1(luvio, refresh, recordId, [], implicitFields);
|
|
25354
25376
|
}
|
|
25355
25377
|
function getRecordForNonLayoutableEntities(luvio, adapterContext, refresh, recordId, objectInfo, configOptionalFields, configFields) {
|
|
25356
25378
|
const fields = keys$a(configFields ? configFields : {}).map((key) => `${objectInfo.apiName}.${key}`);
|
|
@@ -25765,7 +25787,7 @@ const factory$f = (luvio) => {
|
|
|
25765
25787
|
|
|
25766
25788
|
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
25767
25789
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
25768
|
-
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$
|
|
25790
|
+
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$5(luvio);
|
|
25769
25791
|
// Taken from getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder artifact
|
|
25770
25792
|
// We automatically set the type based on the listViewApiName, and we need to do the same
|
|
25771
25793
|
// here for key matching and validation
|
|
@@ -43146,15 +43168,16 @@ withDefaultLuvio((luvio) => {
|
|
|
43146
43168
|
allowFunction: instrumentation$3.getRecordNotifyChangeAllowed,
|
|
43147
43169
|
dropFunction: instrumentation$3.getRecordNotifyChangeDropped,
|
|
43148
43170
|
});
|
|
43149
|
-
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$
|
|
43171
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$4), {
|
|
43150
43172
|
allowFunction: instrumentation$3.notifyRecordUpdateAvailableAllowed,
|
|
43151
43173
|
dropFunction: instrumentation$3.notifyRecordUpdateAvailableDropped,
|
|
43152
43174
|
});
|
|
43153
43175
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
|
|
43154
43176
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43177
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListRecordCollectionUpdateAvailable', notifyUpdateAvailableFactory$3));
|
|
43155
43178
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43156
43179
|
});
|
|
43157
|
-
// version: 1.
|
|
43180
|
+
// version: 1.273.1-e93c18811
|
|
43158
43181
|
|
|
43159
43182
|
var ldsIdempotencyWriteDisabled = {
|
|
43160
43183
|
isOpen: function (e) {
|
|
@@ -51623,7 +51646,7 @@ function buildQuery(config) {
|
|
|
51623
51646
|
SELECT "${config.alias}".data
|
|
51624
51647
|
FROM lds_data "${config.alias}" ${joins.sql}
|
|
51625
51648
|
WHERE "${config.alias}".key like 'UiApi::RecordRepresentation:%'
|
|
51626
|
-
AND json_extract("${config.alias}".data, '${JSON_EXTRACT_PATH_INGESTION_APINAME}') =
|
|
51649
|
+
AND json_extract("${config.alias}".data, '${JSON_EXTRACT_PATH_INGESTION_APINAME}') = '${config.alias}'
|
|
51627
51650
|
${staleRecordsSql}
|
|
51628
51651
|
${predicates.sql}
|
|
51629
51652
|
${orderBy.sql}
|
|
@@ -51635,8 +51658,6 @@ function buildQuery(config) {
|
|
|
51635
51658
|
const bindings = [
|
|
51636
51659
|
// bindings from predicates on joins
|
|
51637
51660
|
...joins.bindings,
|
|
51638
|
-
// the api name for the main record type
|
|
51639
|
-
config.alias,
|
|
51640
51661
|
...(excludeStaleRecordsGate.isOpen({ fallback: false }) ? [config.ingestionTimestamp] : []),
|
|
51641
51662
|
// where clause and parent scope bindings
|
|
51642
51663
|
...predicates.bindings,
|
|
@@ -61086,7 +61107,7 @@ register$1({
|
|
|
61086
61107
|
id: '@salesforce/lds-network-adapter',
|
|
61087
61108
|
instrument: instrument$2,
|
|
61088
61109
|
});
|
|
61089
|
-
// version: 1.
|
|
61110
|
+
// version: 1.273.1-37fe48f59
|
|
61090
61111
|
|
|
61091
61112
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61092
61113
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79481,7 +79502,7 @@ register$1({
|
|
|
79481
79502
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79482
79503
|
instrument: instrument$1,
|
|
79483
79504
|
});
|
|
79484
|
-
// version: 1.
|
|
79505
|
+
// version: 1.273.1-e93c18811
|
|
79485
79506
|
|
|
79486
79507
|
// On core the unstable adapters are re-exported with different names,
|
|
79487
79508
|
// we want to match them here.
|
|
@@ -81735,7 +81756,7 @@ withDefaultLuvio((luvio) => {
|
|
|
81735
81756
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81736
81757
|
graphQLImperative = ldsAdapter;
|
|
81737
81758
|
});
|
|
81738
|
-
// version: 1.
|
|
81759
|
+
// version: 1.273.1-e93c18811
|
|
81739
81760
|
|
|
81740
81761
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81741
81762
|
__proto__: null,
|
|
@@ -82433,7 +82454,7 @@ const callbacks$1 = [];
|
|
|
82433
82454
|
function register(r) {
|
|
82434
82455
|
callbacks$1.forEach((callback) => callback(r));
|
|
82435
82456
|
}
|
|
82436
|
-
// version: 1.
|
|
82457
|
+
// version: 1.273.1-37fe48f59
|
|
82437
82458
|
|
|
82438
82459
|
/**
|
|
82439
82460
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87338,4 +87359,4 @@ const { luvio } = getRuntime();
|
|
|
87338
87359
|
setDefaultLuvio({ luvio });
|
|
87339
87360
|
|
|
87340
87361
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
87341
|
-
// version: 1.
|
|
87362
|
+
// version: 1.273.1-37fe48f59
|
|
@@ -4150,7 +4150,7 @@
|
|
|
4150
4150
|
}
|
|
4151
4151
|
callbacks.push(callback);
|
|
4152
4152
|
}
|
|
4153
|
-
// version: 1.
|
|
4153
|
+
// version: 1.273.1-37fe48f59
|
|
4154
4154
|
|
|
4155
4155
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4156
4156
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15658,7 +15658,7 @@
|
|
|
15658
15658
|
}
|
|
15659
15659
|
return superResult;
|
|
15660
15660
|
}
|
|
15661
|
-
// version: 1.
|
|
15661
|
+
// version: 1.273.1-37fe48f59
|
|
15662
15662
|
|
|
15663
15663
|
function unwrap(data) {
|
|
15664
15664
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16583,7 +16583,7 @@
|
|
|
16583
16583
|
const { apiFamily, name } = metadata;
|
|
16584
16584
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16585
16585
|
}
|
|
16586
|
-
// version: 1.
|
|
16586
|
+
// version: 1.273.1-37fe48f59
|
|
16587
16587
|
|
|
16588
16588
|
/**
|
|
16589
16589
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -17768,7 +17768,7 @@
|
|
|
17768
17768
|
getTypeCacheKeys$X$1(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
17769
17769
|
}
|
|
17770
17770
|
}
|
|
17771
|
-
const notifyUpdateAvailableFactory$
|
|
17771
|
+
const notifyUpdateAvailableFactory$5 = (luvio) => {
|
|
17772
17772
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
17773
17773
|
const keys = configs.map(c => keyBuilder$21(luvio, c));
|
|
17774
17774
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -18381,7 +18381,7 @@
|
|
|
18381
18381
|
getTypeCacheKeys$V$1(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
18382
18382
|
}
|
|
18383
18383
|
}
|
|
18384
|
-
const notifyUpdateAvailableFactory$
|
|
18384
|
+
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
18385
18385
|
return function notifyRecordUpdateAvailable(configs) {
|
|
18386
18386
|
const keys = configs.map(c => keyBuilder$20(luvio, c));
|
|
18387
18387
|
return luvio.notifyStoreUpdateAvailable(keys);
|
|
@@ -22027,6 +22027,12 @@
|
|
|
22027
22027
|
getTypeCacheKeys$U$1(rootKeySet, luvio, input.records[i]);
|
|
22028
22028
|
}
|
|
22029
22029
|
}
|
|
22030
|
+
const notifyUpdateAvailableFactory$3 = (luvio) => {
|
|
22031
|
+
return function notifyListRecordCollectionUpdateAvailable(configs) {
|
|
22032
|
+
const keys = configs.map(c => keyBuilder$1Z(luvio, c));
|
|
22033
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
22034
|
+
};
|
|
22035
|
+
};
|
|
22030
22036
|
|
|
22031
22037
|
const VERSION$15$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
22032
22038
|
const RepresentationType$Q = 'ListUiRepresentation';
|
|
@@ -24817,10 +24823,11 @@
|
|
|
24817
24823
|
// ObjectInfoRep.ReferenceToInfoRep[].nameFields[]:
|
|
24818
24824
|
// 1. If any of the arrays are empty returns `Name`
|
|
24819
24825
|
// 2. If `Name` is found in any array position then returns it
|
|
24820
|
-
//
|
|
24826
|
+
// 3. If the field has more than 1 references(polymorphic), return `Name`
|
|
24827
|
+
// 4. Else returns ObjectInfoRep.ReferenceToInfoRep[0].nameFields[0]
|
|
24821
24828
|
// Rationale for this is unclear and needs clarification.
|
|
24822
24829
|
const referenceToInfos = objectInfo.fields[fieldApiName].referenceToInfos;
|
|
24823
|
-
if (referenceToInfos.length
|
|
24830
|
+
if (referenceToInfos.length !== 1) {
|
|
24824
24831
|
return FIELD_NAME;
|
|
24825
24832
|
}
|
|
24826
24833
|
const firstReferenceNameFields = referenceToInfos[0].nameFields;
|
|
@@ -25354,9 +25361,24 @@
|
|
|
25354
25361
|
}
|
|
25355
25362
|
return dedupe$2(fields).sort();
|
|
25356
25363
|
}
|
|
25364
|
+
/**
|
|
25365
|
+
* W-14696113
|
|
25366
|
+
* Merge fields into optionalFields and return the whole list.
|
|
25367
|
+
* @param {string[]} fields
|
|
25368
|
+
* @param {string[]} [optionalFields]
|
|
25369
|
+
*/
|
|
25370
|
+
function convertToImplicitFields(fields, optionalFields) {
|
|
25371
|
+
const implicitFields = optionalFields || [];
|
|
25372
|
+
fields.forEach((field) => {
|
|
25373
|
+
if (!(field in implicitFields))
|
|
25374
|
+
implicitFields.push(field);
|
|
25375
|
+
});
|
|
25376
|
+
return implicitFields;
|
|
25377
|
+
}
|
|
25357
25378
|
function getRecordForLayoutableEntities(luvio, refresh, recordId, layoutMap, objectInfo, configOptionalFields) {
|
|
25358
25379
|
const fields = getFieldsFromLayoutMap(layoutMap, objectInfo);
|
|
25359
|
-
|
|
25380
|
+
const implicitFields = convertToImplicitFields(fields, configOptionalFields);
|
|
25381
|
+
return getRecord$1(luvio, refresh, recordId, [], implicitFields);
|
|
25360
25382
|
}
|
|
25361
25383
|
function getRecordForNonLayoutableEntities(luvio, adapterContext, refresh, recordId, objectInfo, configOptionalFields, configFields) {
|
|
25362
25384
|
const fields = keys$a(configFields ? configFields : {}).map((key) => `${objectInfo.apiName}.${key}`);
|
|
@@ -25771,7 +25793,7 @@
|
|
|
25771
25793
|
|
|
25772
25794
|
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
25773
25795
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
25774
|
-
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$
|
|
25796
|
+
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$5(luvio);
|
|
25775
25797
|
// Taken from getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder artifact
|
|
25776
25798
|
// We automatically set the type based on the listViewApiName, and we need to do the same
|
|
25777
25799
|
// here for key matching and validation
|
|
@@ -43152,15 +43174,16 @@
|
|
|
43152
43174
|
allowFunction: instrumentation$3.getRecordNotifyChangeAllowed,
|
|
43153
43175
|
dropFunction: instrumentation$3.getRecordNotifyChangeDropped,
|
|
43154
43176
|
});
|
|
43155
|
-
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$
|
|
43177
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$4), {
|
|
43156
43178
|
allowFunction: instrumentation$3.notifyRecordUpdateAvailableAllowed,
|
|
43157
43179
|
dropFunction: instrumentation$3.notifyRecordUpdateAvailableDropped,
|
|
43158
43180
|
});
|
|
43159
43181
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
|
|
43160
43182
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43183
|
+
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListRecordCollectionUpdateAvailable', notifyUpdateAvailableFactory$3));
|
|
43161
43184
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43162
43185
|
});
|
|
43163
|
-
// version: 1.
|
|
43186
|
+
// version: 1.273.1-e93c18811
|
|
43164
43187
|
|
|
43165
43188
|
var ldsIdempotencyWriteDisabled = {
|
|
43166
43189
|
isOpen: function (e) {
|
|
@@ -51629,7 +51652,7 @@
|
|
|
51629
51652
|
SELECT "${config.alias}".data
|
|
51630
51653
|
FROM lds_data "${config.alias}" ${joins.sql}
|
|
51631
51654
|
WHERE "${config.alias}".key like 'UiApi::RecordRepresentation:%'
|
|
51632
|
-
AND json_extract("${config.alias}".data, '${JSON_EXTRACT_PATH_INGESTION_APINAME}') =
|
|
51655
|
+
AND json_extract("${config.alias}".data, '${JSON_EXTRACT_PATH_INGESTION_APINAME}') = '${config.alias}'
|
|
51633
51656
|
${staleRecordsSql}
|
|
51634
51657
|
${predicates.sql}
|
|
51635
51658
|
${orderBy.sql}
|
|
@@ -51641,8 +51664,6 @@
|
|
|
51641
51664
|
const bindings = [
|
|
51642
51665
|
// bindings from predicates on joins
|
|
51643
51666
|
...joins.bindings,
|
|
51644
|
-
// the api name for the main record type
|
|
51645
|
-
config.alias,
|
|
51646
51667
|
...(excludeStaleRecordsGate.isOpen({ fallback: false }) ? [config.ingestionTimestamp] : []),
|
|
51647
51668
|
// where clause and parent scope bindings
|
|
51648
51669
|
...predicates.bindings,
|
|
@@ -61092,7 +61113,7 @@
|
|
|
61092
61113
|
id: '@salesforce/lds-network-adapter',
|
|
61093
61114
|
instrument: instrument$2,
|
|
61094
61115
|
});
|
|
61095
|
-
// version: 1.
|
|
61116
|
+
// version: 1.273.1-37fe48f59
|
|
61096
61117
|
|
|
61097
61118
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61098
61119
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79487,7 +79508,7 @@
|
|
|
79487
79508
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79488
79509
|
instrument: instrument$1,
|
|
79489
79510
|
});
|
|
79490
|
-
// version: 1.
|
|
79511
|
+
// version: 1.273.1-e93c18811
|
|
79491
79512
|
|
|
79492
79513
|
// On core the unstable adapters are re-exported with different names,
|
|
79493
79514
|
// we want to match them here.
|
|
@@ -81741,7 +81762,7 @@
|
|
|
81741
81762
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81742
81763
|
graphQLImperative = ldsAdapter;
|
|
81743
81764
|
});
|
|
81744
|
-
// version: 1.
|
|
81765
|
+
// version: 1.273.1-e93c18811
|
|
81745
81766
|
|
|
81746
81767
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81747
81768
|
__proto__: null,
|
|
@@ -82439,7 +82460,7 @@
|
|
|
82439
82460
|
function register(r) {
|
|
82440
82461
|
callbacks$1.forEach((callback) => callback(r));
|
|
82441
82462
|
}
|
|
82442
|
-
// version: 1.
|
|
82463
|
+
// version: 1.273.1-37fe48f59
|
|
82443
82464
|
|
|
82444
82465
|
/**
|
|
82445
82466
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87362,4 +87383,4 @@
|
|
|
87362
87383
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
87363
87384
|
|
|
87364
87385
|
}));
|
|
87365
|
-
// version: 1.
|
|
87386
|
+
// version: 1.273.1-37fe48f59
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.273.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
|
|
38
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
41
|
-
"@salesforce/lds-drafts": "^1.
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
44
|
-
"@salesforce/lds-priming": "^1.
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.273.1",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.273.1",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.273.1",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.273.1",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.273.1",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.273.1",
|
|
44
|
+
"@salesforce/lds-priming": "^1.273.1",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.273.1",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.273.1",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
"edges": [
|
|
13
13
|
{
|
|
14
14
|
"node": {
|
|
15
|
-
"Id": "
|
|
15
|
+
"Id": "03rx0000002rCJ0AAM",
|
|
16
16
|
"_drafts": null
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"node": {
|
|
21
|
-
"Id": "
|
|
21
|
+
"Id": "03rx0000002rCG6AAM",
|
|
22
22
|
"_drafts": null
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"node": {
|
|
27
|
-
"Id": "
|
|
27
|
+
"Id": "03rx0000002rGYxAAM",
|
|
28
28
|
"_drafts": null
|
|
29
29
|
}
|
|
30
30
|
},
|
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"node": {
|
|
39
|
-
"Id": "
|
|
39
|
+
"Id": "03rx0000002rGW3AAM",
|
|
40
40
|
"_drafts": null
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"node": {
|
|
45
|
-
"Id": "
|
|
45
|
+
"Id": "03rx0000002rGT9AAM",
|
|
46
46
|
"_drafts": null
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"node": {
|
|
51
|
-
"Id": "
|
|
51
|
+
"Id": "03rx0000002rCDCAA2",
|
|
52
52
|
"_drafts": null
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"node": {
|
|
57
|
-
"Id": "
|
|
57
|
+
"Id": "03rx0000002rCLuAAM",
|
|
58
58
|
"_drafts": null
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -11,19 +11,19 @@
|
|
|
11
11
|
"edges": [
|
|
12
12
|
{
|
|
13
13
|
"node": {
|
|
14
|
-
"Id": "
|
|
14
|
+
"Id": "03rx0000002rCJ0AAM",
|
|
15
15
|
"_drafts": null
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"node": {
|
|
20
|
-
"Id": "
|
|
20
|
+
"Id": "03rx0000002rCG6AAM",
|
|
21
21
|
"_drafts": null
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"node": {
|
|
26
|
-
"Id": "
|
|
26
|
+
"Id": "03rx0000002rGYxAAM",
|
|
27
27
|
"_drafts": null
|
|
28
28
|
}
|
|
29
29
|
},
|
|
@@ -35,25 +35,25 @@
|
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"node": {
|
|
38
|
-
"Id": "
|
|
38
|
+
"Id": "03rx0000002rGW3AAM",
|
|
39
39
|
"_drafts": null
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"node": {
|
|
44
|
-
"Id": "
|
|
44
|
+
"Id": "03rx0000002rGT9AAM",
|
|
45
45
|
"_drafts": null
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
49
|
"node": {
|
|
50
|
-
"Id": "
|
|
50
|
+
"Id": "03rx0000002rCDCAA2",
|
|
51
51
|
"_drafts": null
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
"node": {
|
|
56
|
-
"Id": "
|
|
56
|
+
"Id": "03rx0000002rCLuAAM",
|
|
57
57
|
"_drafts": null
|
|
58
58
|
}
|
|
59
59
|
}
|