@salesforce/lds-worker-api 1.266.0-dev3 → 1.266.0-dev5

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-dev3-a4122166f
1037
+ // version: 1.266.0-dev5-77d43302a
@@ -4140,7 +4140,7 @@ function withDefaultLuvio(callback) {
4140
4140
  }
4141
4141
  callbacks.push(callback);
4142
4142
  }
4143
- // version: 1.266.0-dev3-a4122166f
4143
+ // version: 1.266.0-dev5-77d43302a
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-dev3-a4122166f
15651
+ // version: 1.266.0-dev5-77d43302a
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-dev3-a4122166f
16576
+ // version: 1.266.0-dev5-77d43302a
16577
16577
 
16578
16578
  /**
16579
16579
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -28042,7 +28042,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
28042
28042
  buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
28043
28043
  };
28044
28044
 
28045
- function validate$1e(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28045
+ function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28046
28046
  const v_error = (() => {
28047
28047
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28048
28048
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28453,7 +28453,7 @@ function typeCheckConfig$R(untrustedConfig) {
28453
28453
  const untrustedConfig_relatedListsActionParameters_array = [];
28454
28454
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28455
28455
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28456
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1e(untrustedConfig_relatedListsActionParameters_item);
28456
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
28457
28457
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28458
28458
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28459
28459
  }
@@ -30692,7 +30692,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
30692
30692
  buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
30693
30693
  };
30694
30694
 
30695
- function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
30695
+ function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
30696
30696
  const v_error = (() => {
30697
30697
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30698
30698
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30723,7 +30723,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
30723
30723
  return v_error === undefined ? null : v_error;
30724
30724
  }
30725
30725
 
30726
- function validate$13(obj, path = 'ListScopeInputRepresentation') {
30726
+ function validate$14(obj, path = 'ListScopeInputRepresentation') {
30727
30727
  const v_error = (() => {
30728
30728
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30729
30729
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30847,7 +30847,7 @@ function typeCheckConfig$I(untrustedConfig) {
30847
30847
  const untrustedConfig_filteredByInfo_array = [];
30848
30848
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30849
30849
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30850
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
30850
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
30851
30851
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30852
30852
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30853
30853
  }
@@ -30855,7 +30855,7 @@ function typeCheckConfig$I(untrustedConfig) {
30855
30855
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30856
30856
  }
30857
30857
  const untrustedConfig_scope = untrustedConfig.scope;
30858
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
30858
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
30859
30859
  if (referenceListScopeInputRepresentationValidationError === null) {
30860
30860
  config.scope = untrustedConfig_scope;
30861
30861
  }
@@ -31123,7 +31123,7 @@ function typeCheckConfig$F(untrustedConfig) {
31123
31123
  const untrustedConfig_filteredByInfo_array = [];
31124
31124
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
31125
31125
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
31126
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
31126
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
31127
31127
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
31128
31128
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
31129
31129
  }
@@ -31131,7 +31131,7 @@ function typeCheckConfig$F(untrustedConfig) {
31131
31131
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
31132
31132
  }
31133
31133
  const untrustedConfig_scope = untrustedConfig.scope;
31134
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
31134
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
31135
31135
  if (referenceListScopeInputRepresentationValidationError === null) {
31136
31136
  config.scope = untrustedConfig_scope;
31137
31137
  }
@@ -31882,7 +31882,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
31882
31882
  buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
31883
31883
  };
31884
31884
 
31885
- function validate$Y(obj, path = 'ListOrderedByInfoInputRepresentation') {
31885
+ function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
31886
31886
  const v_error = (() => {
31887
31887
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31888
31888
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31985,7 +31985,7 @@ function typeCheckConfig$C(untrustedConfig) {
31985
31985
  const untrustedConfig_orderedBy_array = [];
31986
31986
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
31987
31987
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
31988
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
31988
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
31989
31989
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
31990
31990
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
31991
31991
  }
@@ -36047,7 +36047,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
36047
36047
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36048
36048
  };
36049
36049
 
36050
- function validate$y(obj, path = 'ListUserPreferenceInputRepresentation') {
36050
+ function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
36051
36051
  const v_error = (() => {
36052
36052
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36053
36053
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36124,7 +36124,7 @@ function typeCheckConfig$o(untrustedConfig) {
36124
36124
  const untrustedConfig_orderedByInfo_array = [];
36125
36125
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36126
36126
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36127
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedByInfo_item);
36127
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
36128
36128
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36129
36129
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36130
36130
  }
@@ -36132,7 +36132,7 @@ function typeCheckConfig$o(untrustedConfig) {
36132
36132
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36133
36133
  }
36134
36134
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36135
- const referenceListUserPreferenceInputRepresentationValidationError = validate$y(untrustedConfig_userPreferences);
36135
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
36136
36136
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36137
36137
  config.userPreferences = untrustedConfig_userPreferences;
36138
36138
  }
@@ -36787,7 +36787,7 @@ function typeCheckConfig$l(untrustedConfig) {
36787
36787
  const untrustedConfig_orderedBy_array = [];
36788
36788
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36789
36789
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36790
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
36790
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
36791
36791
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36792
36792
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36793
36793
  }
@@ -36835,7 +36835,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
36835
36835
  };
36836
36836
  };
36837
36837
 
36838
- function validate$w(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36838
+ function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36839
36839
  const v_error = (() => {
36840
36840
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36841
36841
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37788,7 +37788,7 @@ function typeCheckConfig$k(untrustedConfig) {
37788
37788
  const untrustedConfig_relatedListParameters_array = [];
37789
37789
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37790
37790
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37791
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$w(untrustedConfig_relatedListParameters_item);
37791
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
37792
37792
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37793
37793
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37794
37794
  }
@@ -38582,7 +38582,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
38582
38582
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
38583
38583
  };
38584
38584
 
38585
- function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
38585
+ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
38586
38586
  const v_error = (() => {
38587
38587
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38588
38588
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38613,7 +38613,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
38613
38613
  return v_error === undefined ? null : v_error;
38614
38614
  }
38615
38615
 
38616
- function validate$k(obj, path = 'SearchFilterInputRepresentation') {
38616
+ function validate$l(obj, path = 'SearchFilterInputRepresentation') {
38617
38617
  const v_error = (() => {
38618
38618
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38619
38619
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38682,7 +38682,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
38682
38682
  return v_error === undefined ? null : v_error;
38683
38683
  }
38684
38684
 
38685
- function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
38685
+ function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
38686
38686
  const v_error = (() => {
38687
38687
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38688
38688
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38695,7 +38695,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
38695
38695
  for (let i = 0; i < obj_dataCategories.length; i++) {
38696
38696
  const obj_dataCategories_item = obj_dataCategories[i];
38697
38697
  const path_dataCategories_item = path_dataCategories + '[' + i + ']';
38698
- const referencepath_dataCategories_itemValidationError = validate$l(obj_dataCategories_item, path_dataCategories_item);
38698
+ const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
38699
38699
  if (referencepath_dataCategories_itemValidationError !== null) {
38700
38700
  let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
38701
38701
  message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38710,7 +38710,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
38710
38710
  for (let i = 0; i < obj_filters.length; i++) {
38711
38711
  const obj_filters_item = obj_filters[i];
38712
38712
  const path_filters_item = path_filters + '[' + i + ']';
38713
- const referencepath_filters_itemValidationError = validate$k(obj_filters_item, path_filters_item);
38713
+ const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
38714
38714
  if (referencepath_filters_itemValidationError !== null) {
38715
38715
  let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
38716
38716
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38841,7 +38841,7 @@ function typeCheckConfig$f(untrustedConfig) {
38841
38841
  for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
38842
38842
  const key = untrustedConfig_searchObjectOptions_keys[i];
38843
38843
  const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
38844
- const referenceSearchObjectOptionsRepresentationValidationError = validate$j(untrustedConfig_searchObjectOptions_prop);
38844
+ const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
38845
38845
  if (referenceSearchObjectOptionsRepresentationValidationError === null) {
38846
38846
  if (untrustedConfig_searchObjectOptions_object !== undefined) {
38847
38847
  untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
@@ -39044,7 +39044,7 @@ function typeCheckConfig$e(untrustedConfig) {
39044
39044
  const untrustedConfig_filters_array = [];
39045
39045
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
39046
39046
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
39047
- const referenceSearchFilterInputRepresentationValidationError = validate$k(untrustedConfig_filters_item);
39047
+ const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
39048
39048
  if (referenceSearchFilterInputRepresentationValidationError === null) {
39049
39049
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
39050
39050
  }
@@ -43141,7 +43141,7 @@ withDefaultLuvio((luvio) => {
43141
43141
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
43142
43142
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
43143
43143
  });
43144
- // version: 1.266.0-dev3-b70fa7fde
43144
+ // version: 1.266.0-dev5-5855d4d0a
43145
43145
 
43146
43146
  var ldsIdempotencyWriteDisabled = {
43147
43147
  isOpen: function (e) {
@@ -61019,7 +61019,7 @@ register$1({
61019
61019
  id: '@salesforce/lds-network-adapter',
61020
61020
  instrument: instrument$2,
61021
61021
  });
61022
- // version: 1.266.0-dev3-a4122166f
61022
+ // version: 1.266.0-dev5-77d43302a
61023
61023
 
61024
61024
  const { create: create$3, keys: keys$3 } = Object;
61025
61025
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -79348,7 +79348,7 @@ register$1({
79348
79348
  configuration: { ...configurationForGraphQLAdapters$1 },
79349
79349
  instrument: instrument$1,
79350
79350
  });
79351
- // version: 1.266.0-dev3-b70fa7fde
79351
+ // version: 1.266.0-dev5-5855d4d0a
79352
79352
 
79353
79353
  // On core the unstable adapters are re-exported with different names,
79354
79354
  // we want to match them here.
@@ -81599,7 +81599,7 @@ withDefaultLuvio((luvio) => {
81599
81599
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
81600
81600
  graphQLImperative = ldsAdapter;
81601
81601
  });
81602
- // version: 1.266.0-dev3-b70fa7fde
81602
+ // version: 1.266.0-dev5-5855d4d0a
81603
81603
 
81604
81604
  var gqlApi = /*#__PURE__*/Object.freeze({
81605
81605
  __proto__: null,
@@ -82297,7 +82297,7 @@ const callbacks$1 = [];
82297
82297
  function register(r) {
82298
82298
  callbacks$1.forEach((callback) => callback(r));
82299
82299
  }
82300
- // version: 1.266.0-dev3-a4122166f
82300
+ // version: 1.266.0-dev5-77d43302a
82301
82301
 
82302
82302
  /**
82303
82303
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -87202,4 +87202,4 @@ const { luvio } = getRuntime();
87202
87202
  setDefaultLuvio({ luvio });
87203
87203
 
87204
87204
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
87205
- // version: 1.266.0-dev3-a4122166f
87205
+ // version: 1.266.0-dev5-77d43302a
@@ -4146,7 +4146,7 @@
4146
4146
  }
4147
4147
  callbacks.push(callback);
4148
4148
  }
4149
- // version: 1.266.0-dev3-a4122166f
4149
+ // version: 1.266.0-dev5-77d43302a
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-dev3-a4122166f
15657
+ // version: 1.266.0-dev5-77d43302a
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-dev3-a4122166f
16582
+ // version: 1.266.0-dev5-77d43302a
16583
16583
 
16584
16584
  /**
16585
16585
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -28048,7 +28048,7 @@
28048
28048
  buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
28049
28049
  };
28050
28050
 
28051
- function validate$1e(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28051
+ function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28052
28052
  const v_error = (() => {
28053
28053
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28054
28054
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28459,7 +28459,7 @@
28459
28459
  const untrustedConfig_relatedListsActionParameters_array = [];
28460
28460
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28461
28461
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28462
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1e(untrustedConfig_relatedListsActionParameters_item);
28462
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
28463
28463
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28464
28464
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28465
28465
  }
@@ -30698,7 +30698,7 @@
30698
30698
  buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
30699
30699
  };
30700
30700
 
30701
- function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
30701
+ function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
30702
30702
  const v_error = (() => {
30703
30703
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30704
30704
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30729,7 +30729,7 @@
30729
30729
  return v_error === undefined ? null : v_error;
30730
30730
  }
30731
30731
 
30732
- function validate$13(obj, path = 'ListScopeInputRepresentation') {
30732
+ function validate$14(obj, path = 'ListScopeInputRepresentation') {
30733
30733
  const v_error = (() => {
30734
30734
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30735
30735
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30853,7 +30853,7 @@
30853
30853
  const untrustedConfig_filteredByInfo_array = [];
30854
30854
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30855
30855
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30856
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
30856
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
30857
30857
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30858
30858
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30859
30859
  }
@@ -30861,7 +30861,7 @@
30861
30861
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30862
30862
  }
30863
30863
  const untrustedConfig_scope = untrustedConfig.scope;
30864
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
30864
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
30865
30865
  if (referenceListScopeInputRepresentationValidationError === null) {
30866
30866
  config.scope = untrustedConfig_scope;
30867
30867
  }
@@ -31129,7 +31129,7 @@
31129
31129
  const untrustedConfig_filteredByInfo_array = [];
31130
31130
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
31131
31131
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
31132
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
31132
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
31133
31133
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
31134
31134
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
31135
31135
  }
@@ -31137,7 +31137,7 @@
31137
31137
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
31138
31138
  }
31139
31139
  const untrustedConfig_scope = untrustedConfig.scope;
31140
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
31140
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
31141
31141
  if (referenceListScopeInputRepresentationValidationError === null) {
31142
31142
  config.scope = untrustedConfig_scope;
31143
31143
  }
@@ -31888,7 +31888,7 @@
31888
31888
  buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
31889
31889
  };
31890
31890
 
31891
- function validate$Y(obj, path = 'ListOrderedByInfoInputRepresentation') {
31891
+ function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
31892
31892
  const v_error = (() => {
31893
31893
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31894
31894
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31991,7 +31991,7 @@
31991
31991
  const untrustedConfig_orderedBy_array = [];
31992
31992
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
31993
31993
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
31994
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
31994
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
31995
31995
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
31996
31996
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
31997
31997
  }
@@ -36053,7 +36053,7 @@
36053
36053
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36054
36054
  };
36055
36055
 
36056
- function validate$y(obj, path = 'ListUserPreferenceInputRepresentation') {
36056
+ function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
36057
36057
  const v_error = (() => {
36058
36058
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36059
36059
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36130,7 +36130,7 @@
36130
36130
  const untrustedConfig_orderedByInfo_array = [];
36131
36131
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36132
36132
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36133
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedByInfo_item);
36133
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
36134
36134
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36135
36135
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36136
36136
  }
@@ -36138,7 +36138,7 @@
36138
36138
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36139
36139
  }
36140
36140
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36141
- const referenceListUserPreferenceInputRepresentationValidationError = validate$y(untrustedConfig_userPreferences);
36141
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
36142
36142
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36143
36143
  config.userPreferences = untrustedConfig_userPreferences;
36144
36144
  }
@@ -36793,7 +36793,7 @@
36793
36793
  const untrustedConfig_orderedBy_array = [];
36794
36794
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36795
36795
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36796
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
36796
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
36797
36797
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36798
36798
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36799
36799
  }
@@ -36841,7 +36841,7 @@
36841
36841
  };
36842
36842
  };
36843
36843
 
36844
- function validate$w(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36844
+ function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36845
36845
  const v_error = (() => {
36846
36846
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36847
36847
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37794,7 +37794,7 @@
37794
37794
  const untrustedConfig_relatedListParameters_array = [];
37795
37795
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37796
37796
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37797
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$w(untrustedConfig_relatedListParameters_item);
37797
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
37798
37798
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37799
37799
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37800
37800
  }
@@ -38588,7 +38588,7 @@
38588
38588
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
38589
38589
  };
38590
38590
 
38591
- function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
38591
+ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
38592
38592
  const v_error = (() => {
38593
38593
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38594
38594
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38619,7 +38619,7 @@
38619
38619
  return v_error === undefined ? null : v_error;
38620
38620
  }
38621
38621
 
38622
- function validate$k(obj, path = 'SearchFilterInputRepresentation') {
38622
+ function validate$l(obj, path = 'SearchFilterInputRepresentation') {
38623
38623
  const v_error = (() => {
38624
38624
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38625
38625
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38688,7 +38688,7 @@
38688
38688
  return v_error === undefined ? null : v_error;
38689
38689
  }
38690
38690
 
38691
- function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
38691
+ function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
38692
38692
  const v_error = (() => {
38693
38693
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38694
38694
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38701,7 +38701,7 @@
38701
38701
  for (let i = 0; i < obj_dataCategories.length; i++) {
38702
38702
  const obj_dataCategories_item = obj_dataCategories[i];
38703
38703
  const path_dataCategories_item = path_dataCategories + '[' + i + ']';
38704
- const referencepath_dataCategories_itemValidationError = validate$l(obj_dataCategories_item, path_dataCategories_item);
38704
+ const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
38705
38705
  if (referencepath_dataCategories_itemValidationError !== null) {
38706
38706
  let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
38707
38707
  message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38716,7 +38716,7 @@
38716
38716
  for (let i = 0; i < obj_filters.length; i++) {
38717
38717
  const obj_filters_item = obj_filters[i];
38718
38718
  const path_filters_item = path_filters + '[' + i + ']';
38719
- const referencepath_filters_itemValidationError = validate$k(obj_filters_item, path_filters_item);
38719
+ const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
38720
38720
  if (referencepath_filters_itemValidationError !== null) {
38721
38721
  let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
38722
38722
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38847,7 +38847,7 @@
38847
38847
  for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
38848
38848
  const key = untrustedConfig_searchObjectOptions_keys[i];
38849
38849
  const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
38850
- const referenceSearchObjectOptionsRepresentationValidationError = validate$j(untrustedConfig_searchObjectOptions_prop);
38850
+ const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
38851
38851
  if (referenceSearchObjectOptionsRepresentationValidationError === null) {
38852
38852
  if (untrustedConfig_searchObjectOptions_object !== undefined) {
38853
38853
  untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
@@ -39050,7 +39050,7 @@
39050
39050
  const untrustedConfig_filters_array = [];
39051
39051
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
39052
39052
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
39053
- const referenceSearchFilterInputRepresentationValidationError = validate$k(untrustedConfig_filters_item);
39053
+ const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
39054
39054
  if (referenceSearchFilterInputRepresentationValidationError === null) {
39055
39055
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
39056
39056
  }
@@ -43147,7 +43147,7 @@
43147
43147
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
43148
43148
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
43149
43149
  });
43150
- // version: 1.266.0-dev3-b70fa7fde
43150
+ // version: 1.266.0-dev5-5855d4d0a
43151
43151
 
43152
43152
  var ldsIdempotencyWriteDisabled = {
43153
43153
  isOpen: function (e) {
@@ -61025,7 +61025,7 @@
61025
61025
  id: '@salesforce/lds-network-adapter',
61026
61026
  instrument: instrument$2,
61027
61027
  });
61028
- // version: 1.266.0-dev3-a4122166f
61028
+ // version: 1.266.0-dev5-77d43302a
61029
61029
 
61030
61030
  const { create: create$3, keys: keys$3 } = Object;
61031
61031
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -79354,7 +79354,7 @@
79354
79354
  configuration: { ...configurationForGraphQLAdapters$1 },
79355
79355
  instrument: instrument$1,
79356
79356
  });
79357
- // version: 1.266.0-dev3-b70fa7fde
79357
+ // version: 1.266.0-dev5-5855d4d0a
79358
79358
 
79359
79359
  // On core the unstable adapters are re-exported with different names,
79360
79360
  // we want to match them here.
@@ -81605,7 +81605,7 @@
81605
81605
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
81606
81606
  graphQLImperative = ldsAdapter;
81607
81607
  });
81608
- // version: 1.266.0-dev3-b70fa7fde
81608
+ // version: 1.266.0-dev5-5855d4d0a
81609
81609
 
81610
81610
  var gqlApi = /*#__PURE__*/Object.freeze({
81611
81611
  __proto__: null,
@@ -82303,7 +82303,7 @@
82303
82303
  function register(r) {
82304
82304
  callbacks$1.forEach((callback) => callback(r));
82305
82305
  }
82306
- // version: 1.266.0-dev3-a4122166f
82306
+ // version: 1.266.0-dev5-77d43302a
82307
82307
 
82308
82308
  /**
82309
82309
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -87226,4 +87226,4 @@
87226
87226
  exports.subscribeToAdapter = subscribeToAdapter;
87227
87227
 
87228
87228
  }));
87229
- // version: 1.266.0-dev3-a4122166f
87229
+ // version: 1.266.0-dev5-77d43302a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-worker-api",
3
- "version": "1.266.0-dev3",
3
+ "version": "1.266.0-dev5",
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-dev3",
39
- "@salesforce/lds-adapters-uiapi": "^1.266.0-dev3",
40
- "@salesforce/lds-default-luvio": "^1.266.0-dev3",
41
- "@salesforce/lds-drafts": "^1.266.0-dev3",
42
- "@salesforce/lds-graphql-parser": "^1.266.0-dev3",
43
- "@salesforce/lds-luvio-engine": "^1.266.0-dev3",
44
- "@salesforce/lds-priming": "^1.266.0-dev3",
45
- "@salesforce/lds-runtime-mobile": "^1.266.0-dev3",
46
- "@salesforce/nimbus-plugin-lds": "^1.266.0-dev3",
38
+ "@salesforce/lds-adapters-graphql": "^1.266.0-dev5",
39
+ "@salesforce/lds-adapters-uiapi": "^1.266.0-dev5",
40
+ "@salesforce/lds-default-luvio": "^1.266.0-dev5",
41
+ "@salesforce/lds-drafts": "^1.266.0-dev5",
42
+ "@salesforce/lds-graphql-parser": "^1.266.0-dev5",
43
+ "@salesforce/lds-luvio-engine": "^1.266.0-dev5",
44
+ "@salesforce/lds-priming": "^1.266.0-dev5",
45
+ "@salesforce/lds-runtime-mobile": "^1.266.0-dev5",
46
+ "@salesforce/nimbus-plugin-lds": "^1.266.0-dev5",
47
47
  "ajv": "^8.11.0",
48
48
  "glob": "^7.1.5",
49
49
  "nimbus-types": "^2.0.0-alpha1",