@salesforce/lds-worker-api 1.138.0 → 1.139.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.
|
@@ -758,4 +758,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
761
|
-
// version: 1.
|
|
761
|
+
// version: 1.139.1-1cdb5ebf1
|
|
@@ -3797,7 +3797,7 @@ function withDefaultLuvio(callback) {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
callbacks.push(callback);
|
|
3799
3799
|
}
|
|
3800
|
-
// version: 1.
|
|
3800
|
+
// version: 1.139.1-1cdb5ebf1
|
|
3801
3801
|
|
|
3802
3802
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3803
3803
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15221,7 +15221,7 @@ function parseAndVisit(source) {
|
|
|
15221
15221
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15222
15222
|
return luvioDocumentNode;
|
|
15223
15223
|
}
|
|
15224
|
-
// version: 1.
|
|
15224
|
+
// version: 1.139.1-1cdb5ebf1
|
|
15225
15225
|
|
|
15226
15226
|
function unwrap(data) {
|
|
15227
15227
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16134,7 +16134,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16134
16134
|
const { apiFamily, name } = metadata;
|
|
16135
16135
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16136
16136
|
}
|
|
16137
|
-
// version: 1.
|
|
16137
|
+
// version: 1.139.1-1cdb5ebf1
|
|
16138
16138
|
|
|
16139
16139
|
/**
|
|
16140
16140
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -22513,6 +22513,7 @@ function createResourceRequest$V(config) {
|
|
|
22513
22513
|
};
|
|
22514
22514
|
}
|
|
22515
22515
|
|
|
22516
|
+
const adapterName$J = 'getListViewSummaryCollection';
|
|
22516
22517
|
const getListViewSummaryCollection_ConfigPropertyNames = {
|
|
22517
22518
|
displayName: 'getListViewSummaryCollection',
|
|
22518
22519
|
parameters: {
|
|
@@ -42663,7 +42664,7 @@ function createResourceRequest$3(config) {
|
|
|
42663
42664
|
};
|
|
42664
42665
|
}
|
|
42665
42666
|
|
|
42666
|
-
const adapterName$
|
|
42667
|
+
const adapterName$K = 'deleteRecord';
|
|
42667
42668
|
const deleteRecord_ConfigPropertyNames = {
|
|
42668
42669
|
displayName: 'deleteRecord',
|
|
42669
42670
|
parameters: {
|
|
@@ -42725,7 +42726,7 @@ const deleteRecordAdapterFactory = (luvio) => {
|
|
|
42725
42726
|
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
42726
42727
|
// Invalid or incomplete config
|
|
42727
42728
|
if (config === null) {
|
|
42728
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
42729
|
+
throw new Error(`Invalid config for "${adapterName$K}"`);
|
|
42729
42730
|
}
|
|
42730
42731
|
return buildNetworkSnapshot$3(luvio, config);
|
|
42731
42732
|
};
|
|
@@ -43458,6 +43459,7 @@ let getListInfoByName;
|
|
|
43458
43459
|
let getListInfosByName;
|
|
43459
43460
|
let getListRecordsByName;
|
|
43460
43461
|
let getListUi;
|
|
43462
|
+
let getListViewSummaryCollection;
|
|
43461
43463
|
let getLookupActions;
|
|
43462
43464
|
let getLookupMetadata;
|
|
43463
43465
|
let getLookupRecords;
|
|
@@ -43511,6 +43513,7 @@ let unstable_getListInfoByName_imperative;
|
|
|
43511
43513
|
let getListInfosByName_imperative;
|
|
43512
43514
|
let unstable_getListRecordsByName_imperative;
|
|
43513
43515
|
let unstable_getListUi_imperative;
|
|
43516
|
+
let getListViewSummaryCollection_imperative;
|
|
43514
43517
|
let unstable_getLookupActions_imperative;
|
|
43515
43518
|
let getLookupMetadata_imperative;
|
|
43516
43519
|
let unstable_getLookupRecords_imperative;
|
|
@@ -43560,6 +43563,7 @@ const getListInfoByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$q,
|
|
|
43560
43563
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
|
|
43561
43564
|
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
|
|
43562
43565
|
const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
|
|
43566
|
+
const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
|
|
43563
43567
|
const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
|
|
43564
43568
|
const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
|
|
43565
43569
|
const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
|
|
@@ -43610,6 +43614,7 @@ function bindExportsTo$1(luvio) {
|
|
|
43610
43614
|
const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
|
|
43611
43615
|
const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
|
|
43612
43616
|
const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
|
|
43617
|
+
const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
|
|
43613
43618
|
const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
|
|
43614
43619
|
const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
|
|
43615
43620
|
const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
|
|
@@ -43668,6 +43673,7 @@ function bindExportsTo$1(luvio) {
|
|
|
43668
43673
|
getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43669
43674
|
getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43670
43675
|
getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43676
|
+
getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43671
43677
|
getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43672
43678
|
getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43673
43679
|
getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43721,6 +43727,7 @@ function bindExportsTo$1(luvio) {
|
|
|
43721
43727
|
getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43722
43728
|
unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43723
43729
|
unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43730
|
+
getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43724
43731
|
unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43725
43732
|
getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43726
43733
|
unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43777,6 +43784,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43777
43784
|
getListInfosByName,
|
|
43778
43785
|
getListRecordsByName,
|
|
43779
43786
|
getListUi,
|
|
43787
|
+
getListViewSummaryCollection,
|
|
43780
43788
|
getLookupActions,
|
|
43781
43789
|
getLookupMetadata,
|
|
43782
43790
|
getLookupRecords,
|
|
@@ -43829,6 +43837,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43829
43837
|
getListInfosByName_imperative,
|
|
43830
43838
|
unstable_getListRecordsByName_imperative,
|
|
43831
43839
|
unstable_getListUi_imperative,
|
|
43840
|
+
getListViewSummaryCollection_imperative,
|
|
43832
43841
|
unstable_getLookupActions_imperative,
|
|
43833
43842
|
getLookupMetadata_imperative,
|
|
43834
43843
|
unstable_getLookupRecords_imperative,
|
|
@@ -43901,7 +43910,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43901
43910
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43902
43911
|
});
|
|
43903
43912
|
});
|
|
43904
|
-
// version: 1.
|
|
43913
|
+
// version: 1.139.1-a85a736cf
|
|
43905
43914
|
|
|
43906
43915
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43907
43916
|
|
|
@@ -55830,14 +55839,24 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
|
|
|
55830
55839
|
const filteredEntryIds = [];
|
|
55831
55840
|
// map of records to avoid requesting duplicate record keys when requesting both records and fields
|
|
55832
55841
|
const recordEntries = {};
|
|
55842
|
+
const recordViewEntries = {};
|
|
55833
55843
|
for (let i = 0, len = entriesLength; i < len; i++) {
|
|
55834
55844
|
const id = entries[i];
|
|
55835
55845
|
const recordId = extractRecordIdFromStoreKey(id);
|
|
55836
55846
|
if (recordId !== undefined) {
|
|
55837
|
-
if (
|
|
55838
|
-
|
|
55839
|
-
|
|
55840
|
-
|
|
55847
|
+
if (id.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX)) {
|
|
55848
|
+
if (recordViewEntries[recordId] === undefined) {
|
|
55849
|
+
const key = getDenormalizedKey(id, recordId, luvio);
|
|
55850
|
+
recordViewEntries[recordId] = true;
|
|
55851
|
+
filteredEntryIds.push(key);
|
|
55852
|
+
}
|
|
55853
|
+
}
|
|
55854
|
+
else {
|
|
55855
|
+
if (recordEntries[recordId] === undefined) {
|
|
55856
|
+
const key = getDenormalizedKey(id, recordId, luvio);
|
|
55857
|
+
recordEntries[recordId] = true;
|
|
55858
|
+
filteredEntryIds.push(key);
|
|
55859
|
+
}
|
|
55841
55860
|
}
|
|
55842
55861
|
}
|
|
55843
55862
|
else {
|
|
@@ -55871,6 +55890,7 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
|
|
|
55871
55890
|
const putEntries = create$2$1(null);
|
|
55872
55891
|
const keys$1 = keys$2$1(entries);
|
|
55873
55892
|
const putRecords = {};
|
|
55893
|
+
const putRecordViews = {};
|
|
55874
55894
|
const storeRecords = getStoreRecords !== undefined ? getStoreRecords() : {};
|
|
55875
55895
|
const storeMetadata = getStoreMetadata !== undefined ? getStoreMetadata() : {};
|
|
55876
55896
|
for (let i = 0, len = keys$1.length; i < len; i++) {
|
|
@@ -55879,10 +55899,18 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
|
|
|
55879
55899
|
const recordId = extractRecordIdFromStoreKey(key);
|
|
55880
55900
|
// do not put normalized field values
|
|
55881
55901
|
if (recordId !== undefined) {
|
|
55882
|
-
const
|
|
55883
|
-
if (
|
|
55884
|
-
|
|
55902
|
+
const isRecordView = key.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX);
|
|
55903
|
+
if (isRecordView) {
|
|
55904
|
+
if (putRecordViews[recordId] === true) {
|
|
55905
|
+
continue;
|
|
55906
|
+
}
|
|
55885
55907
|
}
|
|
55908
|
+
else {
|
|
55909
|
+
if (putRecords[recordId] === true) {
|
|
55910
|
+
continue;
|
|
55911
|
+
}
|
|
55912
|
+
}
|
|
55913
|
+
const recordKey = getDenormalizedKey(key, recordId, luvio);
|
|
55886
55914
|
const recordEntries = entries;
|
|
55887
55915
|
const entry = recordEntries[recordKey];
|
|
55888
55916
|
let record = entry && entry.data;
|
|
@@ -55894,7 +55922,12 @@ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecord
|
|
|
55894
55922
|
continue;
|
|
55895
55923
|
}
|
|
55896
55924
|
}
|
|
55897
|
-
|
|
55925
|
+
if (isRecordView) {
|
|
55926
|
+
putRecordViews[recordId] = true;
|
|
55927
|
+
}
|
|
55928
|
+
else {
|
|
55929
|
+
putRecords[recordId] = true;
|
|
55930
|
+
}
|
|
55898
55931
|
if (isStoreRecordError(record)) {
|
|
55899
55932
|
putEntries[recordKey] = value;
|
|
55900
55933
|
continue;
|
|
@@ -59654,7 +59687,7 @@ register({
|
|
|
59654
59687
|
id: '@salesforce/lds-network-adapter',
|
|
59655
59688
|
instrument: instrument$1,
|
|
59656
59689
|
});
|
|
59657
|
-
// version: 1.
|
|
59690
|
+
// version: 1.139.1-1cdb5ebf1
|
|
59658
59691
|
|
|
59659
59692
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59660
59693
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80485,7 +80518,7 @@ register({
|
|
|
80485
80518
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80486
80519
|
instrument,
|
|
80487
80520
|
});
|
|
80488
|
-
// version: 1.
|
|
80521
|
+
// version: 1.139.1-a85a736cf
|
|
80489
80522
|
|
|
80490
80523
|
// On core the unstable adapters are re-exported with different names,
|
|
80491
80524
|
|
|
@@ -82717,7 +82750,7 @@ withDefaultLuvio((luvio) => {
|
|
|
82717
82750
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
82718
82751
|
graphQLImperative = ldsAdapter;
|
|
82719
82752
|
});
|
|
82720
|
-
// version: 1.
|
|
82753
|
+
// version: 1.139.1-a85a736cf
|
|
82721
82754
|
|
|
82722
82755
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
82723
82756
|
__proto__: null,
|
|
@@ -83406,4 +83439,4 @@ const { luvio } = getRuntime();
|
|
|
83406
83439
|
setDefaultLuvio({ luvio });
|
|
83407
83440
|
|
|
83408
83441
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
83409
|
-
// version: 1.
|
|
83442
|
+
// version: 1.139.1-1cdb5ebf1
|
|
@@ -3803,7 +3803,7 @@
|
|
|
3803
3803
|
}
|
|
3804
3804
|
callbacks.push(callback);
|
|
3805
3805
|
}
|
|
3806
|
-
// version: 1.
|
|
3806
|
+
// version: 1.139.1-1cdb5ebf1
|
|
3807
3807
|
|
|
3808
3808
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3809
3809
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15227,7 +15227,7 @@
|
|
|
15227
15227
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15228
15228
|
return luvioDocumentNode;
|
|
15229
15229
|
}
|
|
15230
|
-
// version: 1.
|
|
15230
|
+
// version: 1.139.1-1cdb5ebf1
|
|
15231
15231
|
|
|
15232
15232
|
function unwrap(data) {
|
|
15233
15233
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16140,7 +16140,7 @@
|
|
|
16140
16140
|
const { apiFamily, name } = metadata;
|
|
16141
16141
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16142
16142
|
}
|
|
16143
|
-
// version: 1.
|
|
16143
|
+
// version: 1.139.1-1cdb5ebf1
|
|
16144
16144
|
|
|
16145
16145
|
/**
|
|
16146
16146
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -22519,6 +22519,7 @@
|
|
|
22519
22519
|
};
|
|
22520
22520
|
}
|
|
22521
22521
|
|
|
22522
|
+
const adapterName$J = 'getListViewSummaryCollection';
|
|
22522
22523
|
const getListViewSummaryCollection_ConfigPropertyNames = {
|
|
22523
22524
|
displayName: 'getListViewSummaryCollection',
|
|
22524
22525
|
parameters: {
|
|
@@ -42669,7 +42670,7 @@
|
|
|
42669
42670
|
};
|
|
42670
42671
|
}
|
|
42671
42672
|
|
|
42672
|
-
const adapterName$
|
|
42673
|
+
const adapterName$K = 'deleteRecord';
|
|
42673
42674
|
const deleteRecord_ConfigPropertyNames = {
|
|
42674
42675
|
displayName: 'deleteRecord',
|
|
42675
42676
|
parameters: {
|
|
@@ -42731,7 +42732,7 @@
|
|
|
42731
42732
|
const config = validateAdapterConfig$3(untrustedConfig, deleteRecord_ConfigPropertyNames);
|
|
42732
42733
|
// Invalid or incomplete config
|
|
42733
42734
|
if (config === null) {
|
|
42734
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
42735
|
+
throw new Error(`Invalid config for "${adapterName$K}"`);
|
|
42735
42736
|
}
|
|
42736
42737
|
return buildNetworkSnapshot$3(luvio, config);
|
|
42737
42738
|
};
|
|
@@ -43464,6 +43465,7 @@
|
|
|
43464
43465
|
let getListInfosByName;
|
|
43465
43466
|
let getListRecordsByName;
|
|
43466
43467
|
let getListUi;
|
|
43468
|
+
let getListViewSummaryCollection;
|
|
43467
43469
|
let getLookupActions;
|
|
43468
43470
|
let getLookupMetadata;
|
|
43469
43471
|
let getLookupRecords;
|
|
@@ -43517,6 +43519,7 @@
|
|
|
43517
43519
|
let getListInfosByName_imperative;
|
|
43518
43520
|
let unstable_getListRecordsByName_imperative;
|
|
43519
43521
|
let unstable_getListUi_imperative;
|
|
43522
|
+
let getListViewSummaryCollection_imperative;
|
|
43520
43523
|
let unstable_getLookupActions_imperative;
|
|
43521
43524
|
let getLookupMetadata_imperative;
|
|
43522
43525
|
let unstable_getLookupRecords_imperative;
|
|
@@ -43566,6 +43569,7 @@
|
|
|
43566
43569
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix$1, name: adapterName$r };
|
|
43567
43570
|
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$1, name: 'getListRecordsByName', ttl: 30000 };
|
|
43568
43571
|
const getListUiMetadata = { apiFamily: keyPrefix$1, name: 'getListUi', ttl: 900000 };
|
|
43572
|
+
const getListViewSummaryCollectionMetadata = { apiFamily: keyPrefix$1, name: adapterName$J };
|
|
43569
43573
|
const getLookupActionsMetadata = { apiFamily: keyPrefix$1, name: adapterName$F, ttl: 300000 };
|
|
43570
43574
|
const getLookupMetadataMetadata = { apiFamily: keyPrefix$1, name: adapterName$7, ttl: 30000 };
|
|
43571
43575
|
const getLookupRecordsMetadata = { apiFamily: keyPrefix$1, name: 'getLookupRecords' };
|
|
@@ -43616,6 +43620,7 @@
|
|
|
43616
43620
|
const getListInfosByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListInfosByName', getListInfosByNameAdapterFactory), getListInfosByNameMetadata);
|
|
43617
43621
|
const getListRecordsByName_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListRecordsByName', factory$a), getListRecordsByNameMetadata);
|
|
43618
43622
|
const getListUi_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListUi', factory$g), getListUiMetadata);
|
|
43623
|
+
const getListViewSummaryCollection_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getListViewSummaryCollection', getListViewSummaryCollectionAdapterFactory), getListViewSummaryCollectionMetadata);
|
|
43619
43624
|
const getLookupActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupActions', getLookupActionsAdapterFactory), getLookupActionsMetadata);
|
|
43620
43625
|
const getLookupMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupMetadata', getLookupMetadataAdapterFactory), getLookupMetadataMetadata);
|
|
43621
43626
|
const getLookupRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLookupRecords', factory$9), getLookupRecordsMetadata);
|
|
@@ -43674,6 +43679,7 @@
|
|
|
43674
43679
|
getListInfosByName: createWireAdapterConstructor(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43675
43680
|
getListRecordsByName: createWireAdapterConstructor(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43676
43681
|
getListUi: createWireAdapterConstructor(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43682
|
+
getListViewSummaryCollection: createWireAdapterConstructor(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43677
43683
|
getLookupActions: createWireAdapterConstructor(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43678
43684
|
getLookupMetadata: createWireAdapterConstructor(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43679
43685
|
getLookupRecords: createWireAdapterConstructor(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43727,6 +43733,7 @@
|
|
|
43727
43733
|
getListInfosByName_imperative: createImperativeAdapter(luvio, getListInfosByName_ldsAdapter, getListInfosByNameMetadata),
|
|
43728
43734
|
unstable_getListRecordsByName_imperative: createImperativeAdapter(luvio, getListRecordsByName_ldsAdapter, getListRecordsByNameMetadata),
|
|
43729
43735
|
unstable_getListUi_imperative: createImperativeAdapter(luvio, getListUi_ldsAdapter, getListUiMetadata),
|
|
43736
|
+
getListViewSummaryCollection_imperative: createImperativeAdapter(luvio, getListViewSummaryCollection_ldsAdapter, getListViewSummaryCollectionMetadata),
|
|
43730
43737
|
unstable_getLookupActions_imperative: createImperativeAdapter(luvio, getLookupActions_ldsAdapter, getLookupActionsMetadata),
|
|
43731
43738
|
getLookupMetadata_imperative: createImperativeAdapter(luvio, getLookupMetadata_ldsAdapter, getLookupMetadataMetadata),
|
|
43732
43739
|
unstable_getLookupRecords_imperative: createImperativeAdapter(luvio, getLookupRecords_ldsAdapter, getLookupRecordsMetadata),
|
|
@@ -43783,6 +43790,7 @@
|
|
|
43783
43790
|
getListInfosByName,
|
|
43784
43791
|
getListRecordsByName,
|
|
43785
43792
|
getListUi,
|
|
43793
|
+
getListViewSummaryCollection,
|
|
43786
43794
|
getLookupActions,
|
|
43787
43795
|
getLookupMetadata,
|
|
43788
43796
|
getLookupRecords,
|
|
@@ -43835,6 +43843,7 @@
|
|
|
43835
43843
|
getListInfosByName_imperative,
|
|
43836
43844
|
unstable_getListRecordsByName_imperative,
|
|
43837
43845
|
unstable_getListUi_imperative,
|
|
43846
|
+
getListViewSummaryCollection_imperative,
|
|
43838
43847
|
unstable_getLookupActions_imperative,
|
|
43839
43848
|
getLookupMetadata_imperative,
|
|
43840
43849
|
unstable_getLookupRecords_imperative,
|
|
@@ -43907,7 +43916,7 @@
|
|
|
43907
43916
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43908
43917
|
});
|
|
43909
43918
|
});
|
|
43910
|
-
// version: 1.
|
|
43919
|
+
// version: 1.139.1-a85a736cf
|
|
43911
43920
|
|
|
43912
43921
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43913
43922
|
|
|
@@ -55836,14 +55845,24 @@
|
|
|
55836
55845
|
const filteredEntryIds = [];
|
|
55837
55846
|
// map of records to avoid requesting duplicate record keys when requesting both records and fields
|
|
55838
55847
|
const recordEntries = {};
|
|
55848
|
+
const recordViewEntries = {};
|
|
55839
55849
|
for (let i = 0, len = entriesLength; i < len; i++) {
|
|
55840
55850
|
const id = entries[i];
|
|
55841
55851
|
const recordId = extractRecordIdFromStoreKey(id);
|
|
55842
55852
|
if (recordId !== undefined) {
|
|
55843
|
-
if (
|
|
55844
|
-
|
|
55845
|
-
|
|
55846
|
-
|
|
55853
|
+
if (id.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX)) {
|
|
55854
|
+
if (recordViewEntries[recordId] === undefined) {
|
|
55855
|
+
const key = getDenormalizedKey(id, recordId, luvio);
|
|
55856
|
+
recordViewEntries[recordId] = true;
|
|
55857
|
+
filteredEntryIds.push(key);
|
|
55858
|
+
}
|
|
55859
|
+
}
|
|
55860
|
+
else {
|
|
55861
|
+
if (recordEntries[recordId] === undefined) {
|
|
55862
|
+
const key = getDenormalizedKey(id, recordId, luvio);
|
|
55863
|
+
recordEntries[recordId] = true;
|
|
55864
|
+
filteredEntryIds.push(key);
|
|
55865
|
+
}
|
|
55847
55866
|
}
|
|
55848
55867
|
}
|
|
55849
55868
|
else {
|
|
@@ -55877,6 +55896,7 @@
|
|
|
55877
55896
|
const putEntries = create$2$1(null);
|
|
55878
55897
|
const keys$1 = keys$2$1(entries);
|
|
55879
55898
|
const putRecords = {};
|
|
55899
|
+
const putRecordViews = {};
|
|
55880
55900
|
const storeRecords = getStoreRecords !== undefined ? getStoreRecords() : {};
|
|
55881
55901
|
const storeMetadata = getStoreMetadata !== undefined ? getStoreMetadata() : {};
|
|
55882
55902
|
for (let i = 0, len = keys$1.length; i < len; i++) {
|
|
@@ -55885,10 +55905,18 @@
|
|
|
55885
55905
|
const recordId = extractRecordIdFromStoreKey(key);
|
|
55886
55906
|
// do not put normalized field values
|
|
55887
55907
|
if (recordId !== undefined) {
|
|
55888
|
-
const
|
|
55889
|
-
if (
|
|
55890
|
-
|
|
55908
|
+
const isRecordView = key.startsWith(RECORD_VIEW_ENTITY_ID_PREFIX);
|
|
55909
|
+
if (isRecordView) {
|
|
55910
|
+
if (putRecordViews[recordId] === true) {
|
|
55911
|
+
continue;
|
|
55912
|
+
}
|
|
55891
55913
|
}
|
|
55914
|
+
else {
|
|
55915
|
+
if (putRecords[recordId] === true) {
|
|
55916
|
+
continue;
|
|
55917
|
+
}
|
|
55918
|
+
}
|
|
55919
|
+
const recordKey = getDenormalizedKey(key, recordId, luvio);
|
|
55892
55920
|
const recordEntries = entries;
|
|
55893
55921
|
const entry = recordEntries[recordKey];
|
|
55894
55922
|
let record = entry && entry.data;
|
|
@@ -55900,7 +55928,12 @@
|
|
|
55900
55928
|
continue;
|
|
55901
55929
|
}
|
|
55902
55930
|
}
|
|
55903
|
-
|
|
55931
|
+
if (isRecordView) {
|
|
55932
|
+
putRecordViews[recordId] = true;
|
|
55933
|
+
}
|
|
55934
|
+
else {
|
|
55935
|
+
putRecords[recordId] = true;
|
|
55936
|
+
}
|
|
55904
55937
|
if (isStoreRecordError(record)) {
|
|
55905
55938
|
putEntries[recordKey] = value;
|
|
55906
55939
|
continue;
|
|
@@ -59660,7 +59693,7 @@
|
|
|
59660
59693
|
id: '@salesforce/lds-network-adapter',
|
|
59661
59694
|
instrument: instrument$1,
|
|
59662
59695
|
});
|
|
59663
|
-
// version: 1.
|
|
59696
|
+
// version: 1.139.1-1cdb5ebf1
|
|
59664
59697
|
|
|
59665
59698
|
const { create: create$2, keys: keys$2 } = Object;
|
|
59666
59699
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -80491,7 +80524,7 @@
|
|
|
80491
80524
|
configuration: { ...configurationForGraphQLAdapters },
|
|
80492
80525
|
instrument,
|
|
80493
80526
|
});
|
|
80494
|
-
// version: 1.
|
|
80527
|
+
// version: 1.139.1-a85a736cf
|
|
80495
80528
|
|
|
80496
80529
|
// On core the unstable adapters are re-exported with different names,
|
|
80497
80530
|
|
|
@@ -82723,7 +82756,7 @@
|
|
|
82723
82756
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
82724
82757
|
graphQLImperative = ldsAdapter;
|
|
82725
82758
|
});
|
|
82726
|
-
// version: 1.
|
|
82759
|
+
// version: 1.139.1-a85a736cf
|
|
82727
82760
|
|
|
82728
82761
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
82729
82762
|
__proto__: null,
|
|
@@ -83429,4 +83462,4 @@
|
|
|
83429
83462
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
83430
83463
|
|
|
83431
83464
|
}));
|
|
83432
|
-
// version: 1.
|
|
83465
|
+
// version: 1.139.1-1cdb5ebf1
|