@salesforce/lds-worker-api 1.266.0-dev4 → 1.266.0-dev6
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.
|
@@ -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.266.0-
|
|
1037
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
@@ -4012,7 +4012,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
4012
4012
|
}
|
|
4013
4013
|
return resourceParams;
|
|
4014
4014
|
}
|
|
4015
|
-
// engine version: 0.154.
|
|
4015
|
+
// engine version: 0.154.7-dev3-3c8f645e
|
|
4016
4016
|
|
|
4017
4017
|
/**
|
|
4018
4018
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4140,7 +4140,7 @@ function withDefaultLuvio(callback) {
|
|
|
4140
4140
|
}
|
|
4141
4141
|
callbacks.push(callback);
|
|
4142
4142
|
}
|
|
4143
|
-
// version: 1.266.0-
|
|
4143
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
4144
4144
|
|
|
4145
4145
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4146
4146
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15648,7 +15648,7 @@ function gql(literals, ...subs) {
|
|
|
15648
15648
|
}
|
|
15649
15649
|
return superResult;
|
|
15650
15650
|
}
|
|
15651
|
-
// version: 1.266.0-
|
|
15651
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
15652
15652
|
|
|
15653
15653
|
function unwrap(data) {
|
|
15654
15654
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16573,7 +16573,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16573
16573
|
const { apiFamily, name } = metadata;
|
|
16574
16574
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16575
16575
|
}
|
|
16576
|
-
// version: 1.266.0-
|
|
16576
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
16577
16577
|
|
|
16578
16578
|
/**
|
|
16579
16579
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16672,7 +16672,7 @@ var TypeCheckShapes;
|
|
|
16672
16672
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16673
16673
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16674
16674
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16675
|
-
// engine version: 0.154.
|
|
16675
|
+
// engine version: 0.154.7-dev3-3c8f645e
|
|
16676
16676
|
|
|
16677
16677
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16678
16678
|
|
|
@@ -21017,17 +21017,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
21017
21017
|
function buildNetworkSnapshot$13(luvio, config, serverRequestCount = 0, options) {
|
|
21018
21018
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
21019
21019
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
21020
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
21021
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
21022
|
+
// record request. The fulfill logic sends the same network response, so
|
|
21023
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
21024
|
+
//
|
|
21025
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
21026
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
21027
|
+
// the response.
|
|
21028
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
21029
|
+
response.body = response.body.results[0]
|
|
21030
|
+
.result;
|
|
21031
|
+
}
|
|
21020
21032
|
return luvio.handleSuccessResponse(() => {
|
|
21021
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
21022
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
21023
|
-
// record request. The fulfill logic sends the same network response, so
|
|
21024
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
21025
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
21026
|
-
let recordResponse = response;
|
|
21027
|
-
recordResponse.body = response.body.results[0]
|
|
21028
|
-
.result;
|
|
21029
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
21030
|
-
}
|
|
21031
21033
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
21032
21034
|
}, () => {
|
|
21033
21035
|
const cache = new StoreKeyMap();
|
|
@@ -28042,7 +28044,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
28042
28044
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
28043
28045
|
};
|
|
28044
28046
|
|
|
28045
|
-
function validate$
|
|
28047
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
28046
28048
|
const v_error = (() => {
|
|
28047
28049
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
28048
28050
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28453,7 +28455,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
28453
28455
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
28454
28456
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
28455
28457
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
28456
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
28458
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
28457
28459
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
28458
28460
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
28459
28461
|
}
|
|
@@ -30692,7 +30694,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
30692
30694
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
30693
30695
|
};
|
|
30694
30696
|
|
|
30695
|
-
function validate$
|
|
30697
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
30696
30698
|
const v_error = (() => {
|
|
30697
30699
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30698
30700
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30723,7 +30725,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
30723
30725
|
return v_error === undefined ? null : v_error;
|
|
30724
30726
|
}
|
|
30725
30727
|
|
|
30726
|
-
function validate$
|
|
30728
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
30727
30729
|
const v_error = (() => {
|
|
30728
30730
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30729
30731
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30847,7 +30849,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
30847
30849
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30848
30850
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30849
30851
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30850
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
30852
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
30851
30853
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30852
30854
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30853
30855
|
}
|
|
@@ -30855,7 +30857,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
30855
30857
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30856
30858
|
}
|
|
30857
30859
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30858
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
30860
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
30859
30861
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30860
30862
|
config.scope = untrustedConfig_scope;
|
|
30861
30863
|
}
|
|
@@ -31123,7 +31125,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
31123
31125
|
const untrustedConfig_filteredByInfo_array = [];
|
|
31124
31126
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
31125
31127
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
31126
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
31128
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
31127
31129
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
31128
31130
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
31129
31131
|
}
|
|
@@ -31131,7 +31133,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
31131
31133
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
31132
31134
|
}
|
|
31133
31135
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
31134
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
31136
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
31135
31137
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
31136
31138
|
config.scope = untrustedConfig_scope;
|
|
31137
31139
|
}
|
|
@@ -31882,7 +31884,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
31882
31884
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
|
|
31883
31885
|
};
|
|
31884
31886
|
|
|
31885
|
-
function validate$
|
|
31887
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
31886
31888
|
const v_error = (() => {
|
|
31887
31889
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
31888
31890
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31985,7 +31987,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
31985
31987
|
const untrustedConfig_orderedBy_array = [];
|
|
31986
31988
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
31987
31989
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
31988
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
31990
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
31989
31991
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
31990
31992
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
31991
31993
|
}
|
|
@@ -36047,7 +36049,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
36047
36049
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
36048
36050
|
};
|
|
36049
36051
|
|
|
36050
|
-
function validate$
|
|
36052
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
36051
36053
|
const v_error = (() => {
|
|
36052
36054
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
36053
36055
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36124,7 +36126,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
36124
36126
|
const untrustedConfig_orderedByInfo_array = [];
|
|
36125
36127
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
36126
36128
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
36127
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
36129
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
36128
36130
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
36129
36131
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
36130
36132
|
}
|
|
@@ -36132,7 +36134,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
36132
36134
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
36133
36135
|
}
|
|
36134
36136
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
36135
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
36137
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
36136
36138
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
36137
36139
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
36138
36140
|
}
|
|
@@ -36787,7 +36789,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
36787
36789
|
const untrustedConfig_orderedBy_array = [];
|
|
36788
36790
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
36789
36791
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
36790
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
36792
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
36791
36793
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
36792
36794
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
36793
36795
|
}
|
|
@@ -36835,7 +36837,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
36835
36837
|
};
|
|
36836
36838
|
};
|
|
36837
36839
|
|
|
36838
|
-
function validate$
|
|
36840
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
36839
36841
|
const v_error = (() => {
|
|
36840
36842
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
36841
36843
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37788,7 +37790,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
37788
37790
|
const untrustedConfig_relatedListParameters_array = [];
|
|
37789
37791
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
37790
37792
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
37791
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
37793
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
37792
37794
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
37793
37795
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
37794
37796
|
}
|
|
@@ -38582,7 +38584,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
38582
38584
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
38583
38585
|
};
|
|
38584
38586
|
|
|
38585
|
-
function validate$
|
|
38587
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
38586
38588
|
const v_error = (() => {
|
|
38587
38589
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38588
38590
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38613,7 +38615,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
38613
38615
|
return v_error === undefined ? null : v_error;
|
|
38614
38616
|
}
|
|
38615
38617
|
|
|
38616
|
-
function validate$
|
|
38618
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
38617
38619
|
const v_error = (() => {
|
|
38618
38620
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38619
38621
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38682,7 +38684,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
38682
38684
|
return v_error === undefined ? null : v_error;
|
|
38683
38685
|
}
|
|
38684
38686
|
|
|
38685
|
-
function validate$
|
|
38687
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
38686
38688
|
const v_error = (() => {
|
|
38687
38689
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38688
38690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38695,7 +38697,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
38695
38697
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
38696
38698
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
38697
38699
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
38698
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
38700
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
38699
38701
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
38700
38702
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
38701
38703
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38710,7 +38712,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
38710
38712
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
38711
38713
|
const obj_filters_item = obj_filters[i];
|
|
38712
38714
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
38713
|
-
const referencepath_filters_itemValidationError = validate$
|
|
38715
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
38714
38716
|
if (referencepath_filters_itemValidationError !== null) {
|
|
38715
38717
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
38716
38718
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38841,7 +38843,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
38841
38843
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
38842
38844
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
38843
38845
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
38844
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
38846
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
38845
38847
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
38846
38848
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
38847
38849
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -39044,7 +39046,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
39044
39046
|
const untrustedConfig_filters_array = [];
|
|
39045
39047
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
39046
39048
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
39047
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
39049
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
39048
39050
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
39049
39051
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
39050
39052
|
}
|
|
@@ -43141,7 +43143,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43141
43143
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43142
43144
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43143
43145
|
});
|
|
43144
|
-
// version: 1.266.0-
|
|
43146
|
+
// version: 1.266.0-dev6-769774ed6
|
|
43145
43147
|
|
|
43146
43148
|
var ldsIdempotencyWriteDisabled = {
|
|
43147
43149
|
isOpen: function (e) {
|
|
@@ -44650,6 +44652,10 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
|
|
|
44650
44652
|
}
|
|
44651
44653
|
return {};
|
|
44652
44654
|
};
|
|
44655
|
+
const getIngestStagingStore = function () {
|
|
44656
|
+
validateNotDisposed();
|
|
44657
|
+
return stagingStore === null || stagingStore === void 0 ? void 0 : stagingStore.fallbackStringKeyInMemoryStore;
|
|
44658
|
+
};
|
|
44653
44659
|
const handleSuccessResponse = async function (ingestAndBroadcastFunc, getResponseCacheKeysFunc) {
|
|
44654
44660
|
validateNotDisposed();
|
|
44655
44661
|
const cacheKeyMap = getResponseCacheKeysFunc();
|
|
@@ -44842,6 +44848,7 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
|
|
|
44842
44848
|
applyCachePolicy: { value: applyCachePolicy },
|
|
44843
44849
|
getIngestStagingStoreRecords: { value: getIngestStagingStoreRecords },
|
|
44844
44850
|
getIngestStagingStoreMetadata: { value: getIngestStagingStoreMetadata },
|
|
44851
|
+
getIngestStagingStore: { value: getIngestStagingStore },
|
|
44845
44852
|
handleSuccessResponse: { value: handleSuccessResponse },
|
|
44846
44853
|
handleErrorResponse: { value: handleErrorResponse },
|
|
44847
44854
|
getNotifyChangeStoreEntries: { value: getNotifyChangeStoreEntries },
|
|
@@ -61019,7 +61026,7 @@ register$1({
|
|
|
61019
61026
|
id: '@salesforce/lds-network-adapter',
|
|
61020
61027
|
instrument: instrument$2,
|
|
61021
61028
|
});
|
|
61022
|
-
// version: 1.266.0-
|
|
61029
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
61023
61030
|
|
|
61024
61031
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61025
61032
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79348,7 +79355,7 @@ register$1({
|
|
|
79348
79355
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79349
79356
|
instrument: instrument$1,
|
|
79350
79357
|
});
|
|
79351
|
-
// version: 1.266.0-
|
|
79358
|
+
// version: 1.266.0-dev6-769774ed6
|
|
79352
79359
|
|
|
79353
79360
|
// On core the unstable adapters are re-exported with different names,
|
|
79354
79361
|
// we want to match them here.
|
|
@@ -81599,7 +81606,7 @@ withDefaultLuvio((luvio) => {
|
|
|
81599
81606
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81600
81607
|
graphQLImperative = ldsAdapter;
|
|
81601
81608
|
});
|
|
81602
|
-
// version: 1.266.0-
|
|
81609
|
+
// version: 1.266.0-dev6-769774ed6
|
|
81603
81610
|
|
|
81604
81611
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81605
81612
|
__proto__: null,
|
|
@@ -82297,7 +82304,7 @@ const callbacks$1 = [];
|
|
|
82297
82304
|
function register(r) {
|
|
82298
82305
|
callbacks$1.forEach((callback) => callback(r));
|
|
82299
82306
|
}
|
|
82300
|
-
// version: 1.266.0-
|
|
82307
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
82301
82308
|
|
|
82302
82309
|
/**
|
|
82303
82310
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87202,4 +87209,4 @@ const { luvio } = getRuntime();
|
|
|
87202
87209
|
setDefaultLuvio({ luvio });
|
|
87203
87210
|
|
|
87204
87211
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
87205
|
-
// version: 1.266.0-
|
|
87212
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
@@ -4018,7 +4018,7 @@
|
|
|
4018
4018
|
}
|
|
4019
4019
|
return resourceParams;
|
|
4020
4020
|
}
|
|
4021
|
-
// engine version: 0.154.
|
|
4021
|
+
// engine version: 0.154.7-dev3-3c8f645e
|
|
4022
4022
|
|
|
4023
4023
|
/**
|
|
4024
4024
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4146,7 +4146,7 @@
|
|
|
4146
4146
|
}
|
|
4147
4147
|
callbacks.push(callback);
|
|
4148
4148
|
}
|
|
4149
|
-
// version: 1.266.0-
|
|
4149
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
4150
4150
|
|
|
4151
4151
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4152
4152
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15654,7 +15654,7 @@
|
|
|
15654
15654
|
}
|
|
15655
15655
|
return superResult;
|
|
15656
15656
|
}
|
|
15657
|
-
// version: 1.266.0-
|
|
15657
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
15658
15658
|
|
|
15659
15659
|
function unwrap(data) {
|
|
15660
15660
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16579,7 +16579,7 @@
|
|
|
16579
16579
|
const { apiFamily, name } = metadata;
|
|
16580
16580
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16581
16581
|
}
|
|
16582
|
-
// version: 1.266.0-
|
|
16582
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
16583
16583
|
|
|
16584
16584
|
/**
|
|
16585
16585
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16678,7 +16678,7 @@
|
|
|
16678
16678
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16679
16679
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16680
16680
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16681
|
-
// engine version: 0.154.
|
|
16681
|
+
// engine version: 0.154.7-dev3-3c8f645e
|
|
16682
16682
|
|
|
16683
16683
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16684
16684
|
|
|
@@ -21023,17 +21023,19 @@
|
|
|
21023
21023
|
function buildNetworkSnapshot$13(luvio, config, serverRequestCount = 0, options) {
|
|
21024
21024
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
21025
21025
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
21026
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
21027
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
21028
|
+
// record request. The fulfill logic sends the same network response, so
|
|
21029
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
21030
|
+
//
|
|
21031
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
21032
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
21033
|
+
// the response.
|
|
21034
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
21035
|
+
response.body = response.body.results[0]
|
|
21036
|
+
.result;
|
|
21037
|
+
}
|
|
21026
21038
|
return luvio.handleSuccessResponse(() => {
|
|
21027
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
21028
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
21029
|
-
// record request. The fulfill logic sends the same network response, so
|
|
21030
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
21031
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
21032
|
-
let recordResponse = response;
|
|
21033
|
-
recordResponse.body = response.body.results[0]
|
|
21034
|
-
.result;
|
|
21035
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
21036
|
-
}
|
|
21037
21039
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
21038
21040
|
}, () => {
|
|
21039
21041
|
const cache = new StoreKeyMap();
|
|
@@ -28048,7 +28050,7 @@
|
|
|
28048
28050
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
28049
28051
|
};
|
|
28050
28052
|
|
|
28051
|
-
function validate$
|
|
28053
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
28052
28054
|
const v_error = (() => {
|
|
28053
28055
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
28054
28056
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28459,7 +28461,7 @@
|
|
|
28459
28461
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
28460
28462
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
28461
28463
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
28462
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
28464
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
28463
28465
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
28464
28466
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
28465
28467
|
}
|
|
@@ -30698,7 +30700,7 @@
|
|
|
30698
30700
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
30699
30701
|
};
|
|
30700
30702
|
|
|
30701
|
-
function validate$
|
|
30703
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
30702
30704
|
const v_error = (() => {
|
|
30703
30705
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30704
30706
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30729,7 +30731,7 @@
|
|
|
30729
30731
|
return v_error === undefined ? null : v_error;
|
|
30730
30732
|
}
|
|
30731
30733
|
|
|
30732
|
-
function validate$
|
|
30734
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
30733
30735
|
const v_error = (() => {
|
|
30734
30736
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30735
30737
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30853,7 +30855,7 @@
|
|
|
30853
30855
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30854
30856
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30855
30857
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30856
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
30858
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
30857
30859
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30858
30860
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30859
30861
|
}
|
|
@@ -30861,7 +30863,7 @@
|
|
|
30861
30863
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30862
30864
|
}
|
|
30863
30865
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30864
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
30866
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
30865
30867
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30866
30868
|
config.scope = untrustedConfig_scope;
|
|
30867
30869
|
}
|
|
@@ -31129,7 +31131,7 @@
|
|
|
31129
31131
|
const untrustedConfig_filteredByInfo_array = [];
|
|
31130
31132
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
31131
31133
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
31132
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
31134
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
31133
31135
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
31134
31136
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
31135
31137
|
}
|
|
@@ -31137,7 +31139,7 @@
|
|
|
31137
31139
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
31138
31140
|
}
|
|
31139
31141
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
31140
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
31142
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
31141
31143
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
31142
31144
|
config.scope = untrustedConfig_scope;
|
|
31143
31145
|
}
|
|
@@ -31888,7 +31890,7 @@
|
|
|
31888
31890
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
|
|
31889
31891
|
};
|
|
31890
31892
|
|
|
31891
|
-
function validate$
|
|
31893
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
31892
31894
|
const v_error = (() => {
|
|
31893
31895
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
31894
31896
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31991,7 +31993,7 @@
|
|
|
31991
31993
|
const untrustedConfig_orderedBy_array = [];
|
|
31992
31994
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
31993
31995
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
31994
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
31996
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
31995
31997
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
31996
31998
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
31997
31999
|
}
|
|
@@ -36053,7 +36055,7 @@
|
|
|
36053
36055
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
36054
36056
|
};
|
|
36055
36057
|
|
|
36056
|
-
function validate$
|
|
36058
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
36057
36059
|
const v_error = (() => {
|
|
36058
36060
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
36059
36061
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36130,7 +36132,7 @@
|
|
|
36130
36132
|
const untrustedConfig_orderedByInfo_array = [];
|
|
36131
36133
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
36132
36134
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
36133
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
36135
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
36134
36136
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
36135
36137
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
36136
36138
|
}
|
|
@@ -36138,7 +36140,7 @@
|
|
|
36138
36140
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
36139
36141
|
}
|
|
36140
36142
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
36141
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
36143
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
36142
36144
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
36143
36145
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
36144
36146
|
}
|
|
@@ -36793,7 +36795,7 @@
|
|
|
36793
36795
|
const untrustedConfig_orderedBy_array = [];
|
|
36794
36796
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
36795
36797
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
36796
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
36798
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
36797
36799
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
36798
36800
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
36799
36801
|
}
|
|
@@ -36841,7 +36843,7 @@
|
|
|
36841
36843
|
};
|
|
36842
36844
|
};
|
|
36843
36845
|
|
|
36844
|
-
function validate$
|
|
36846
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
36845
36847
|
const v_error = (() => {
|
|
36846
36848
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
36847
36849
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37794,7 +37796,7 @@
|
|
|
37794
37796
|
const untrustedConfig_relatedListParameters_array = [];
|
|
37795
37797
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
37796
37798
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
37797
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
37799
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
37798
37800
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
37799
37801
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
37800
37802
|
}
|
|
@@ -38588,7 +38590,7 @@
|
|
|
38588
38590
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
38589
38591
|
};
|
|
38590
38592
|
|
|
38591
|
-
function validate$
|
|
38593
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
38592
38594
|
const v_error = (() => {
|
|
38593
38595
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38594
38596
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38619,7 +38621,7 @@
|
|
|
38619
38621
|
return v_error === undefined ? null : v_error;
|
|
38620
38622
|
}
|
|
38621
38623
|
|
|
38622
|
-
function validate$
|
|
38624
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
38623
38625
|
const v_error = (() => {
|
|
38624
38626
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38625
38627
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38688,7 +38690,7 @@
|
|
|
38688
38690
|
return v_error === undefined ? null : v_error;
|
|
38689
38691
|
}
|
|
38690
38692
|
|
|
38691
|
-
function validate$
|
|
38693
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
38692
38694
|
const v_error = (() => {
|
|
38693
38695
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38694
38696
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38701,7 +38703,7 @@
|
|
|
38701
38703
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
38702
38704
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
38703
38705
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
38704
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
38706
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
38705
38707
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
38706
38708
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
38707
38709
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38716,7 +38718,7 @@
|
|
|
38716
38718
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
38717
38719
|
const obj_filters_item = obj_filters[i];
|
|
38718
38720
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
38719
|
-
const referencepath_filters_itemValidationError = validate$
|
|
38721
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
38720
38722
|
if (referencepath_filters_itemValidationError !== null) {
|
|
38721
38723
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
38722
38724
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38847,7 +38849,7 @@
|
|
|
38847
38849
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
38848
38850
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
38849
38851
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
38850
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
38852
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
38851
38853
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
38852
38854
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
38853
38855
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -39050,7 +39052,7 @@
|
|
|
39050
39052
|
const untrustedConfig_filters_array = [];
|
|
39051
39053
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
39052
39054
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
39053
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
39055
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
39054
39056
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
39055
39057
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
39056
39058
|
}
|
|
@@ -43147,7 +43149,7 @@
|
|
|
43147
43149
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
43148
43150
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
43149
43151
|
});
|
|
43150
|
-
// version: 1.266.0-
|
|
43152
|
+
// version: 1.266.0-dev6-769774ed6
|
|
43151
43153
|
|
|
43152
43154
|
var ldsIdempotencyWriteDisabled = {
|
|
43153
43155
|
isOpen: function (e) {
|
|
@@ -44656,6 +44658,10 @@
|
|
|
44656
44658
|
}
|
|
44657
44659
|
return {};
|
|
44658
44660
|
};
|
|
44661
|
+
const getIngestStagingStore = function () {
|
|
44662
|
+
validateNotDisposed();
|
|
44663
|
+
return stagingStore === null || stagingStore === void 0 ? void 0 : stagingStore.fallbackStringKeyInMemoryStore;
|
|
44664
|
+
};
|
|
44659
44665
|
const handleSuccessResponse = async function (ingestAndBroadcastFunc, getResponseCacheKeysFunc) {
|
|
44660
44666
|
validateNotDisposed();
|
|
44661
44667
|
const cacheKeyMap = getResponseCacheKeysFunc();
|
|
@@ -44848,6 +44854,7 @@
|
|
|
44848
44854
|
applyCachePolicy: { value: applyCachePolicy },
|
|
44849
44855
|
getIngestStagingStoreRecords: { value: getIngestStagingStoreRecords },
|
|
44850
44856
|
getIngestStagingStoreMetadata: { value: getIngestStagingStoreMetadata },
|
|
44857
|
+
getIngestStagingStore: { value: getIngestStagingStore },
|
|
44851
44858
|
handleSuccessResponse: { value: handleSuccessResponse },
|
|
44852
44859
|
handleErrorResponse: { value: handleErrorResponse },
|
|
44853
44860
|
getNotifyChangeStoreEntries: { value: getNotifyChangeStoreEntries },
|
|
@@ -61025,7 +61032,7 @@
|
|
|
61025
61032
|
id: '@salesforce/lds-network-adapter',
|
|
61026
61033
|
instrument: instrument$2,
|
|
61027
61034
|
});
|
|
61028
|
-
// version: 1.266.0-
|
|
61035
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
61029
61036
|
|
|
61030
61037
|
const { create: create$3, keys: keys$3 } = Object;
|
|
61031
61038
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -79354,7 +79361,7 @@
|
|
|
79354
79361
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
79355
79362
|
instrument: instrument$1,
|
|
79356
79363
|
});
|
|
79357
|
-
// version: 1.266.0-
|
|
79364
|
+
// version: 1.266.0-dev6-769774ed6
|
|
79358
79365
|
|
|
79359
79366
|
// On core the unstable adapters are re-exported with different names,
|
|
79360
79367
|
// we want to match them here.
|
|
@@ -81605,7 +81612,7 @@
|
|
|
81605
81612
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
81606
81613
|
graphQLImperative = ldsAdapter;
|
|
81607
81614
|
});
|
|
81608
|
-
// version: 1.266.0-
|
|
81615
|
+
// version: 1.266.0-dev6-769774ed6
|
|
81609
81616
|
|
|
81610
81617
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
81611
81618
|
__proto__: null,
|
|
@@ -82303,7 +82310,7 @@
|
|
|
82303
82310
|
function register(r) {
|
|
82304
82311
|
callbacks$1.forEach((callback) => callback(r));
|
|
82305
82312
|
}
|
|
82306
|
-
// version: 1.266.0-
|
|
82313
|
+
// version: 1.266.0-dev6-db5291eb2
|
|
82307
82314
|
|
|
82308
82315
|
/**
|
|
82309
82316
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -87226,4 +87233,4 @@
|
|
|
87226
87233
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
87227
87234
|
|
|
87228
87235
|
}));
|
|
87229
|
-
// version: 1.266.0-
|
|
87236
|
+
// version: 1.266.0-dev6-db5291eb2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.266.0-
|
|
3
|
+
"version": "1.266.0-dev6",
|
|
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.266.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.266.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.266.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.266.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.266.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.266.0-
|
|
44
|
-
"@salesforce/lds-priming": "^1.266.0-
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.266.0-
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.266.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.266.0-dev6",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.266.0-dev6",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.266.0-dev6",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.266.0-dev6",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.266.0-dev6",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.266.0-dev6",
|
|
44
|
+
"@salesforce/lds-priming": "^1.266.0-dev6",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.266.0-dev6",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.266.0-dev6",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|