@salesforce/lwc-adapters-uiapi 1.283.0 → 1.285.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +179 -125
  2. package/package.json +3 -3
package/dist/main.js CHANGED
@@ -7351,6 +7351,32 @@ let trackedFieldDepthOnNotifyChange = 5;
7351
7351
  * @defaultValue 'false', replicates the current behavior and fetches all fields in the store for the leaf relationship record
7352
7352
  */
7353
7353
  let trackedFieldLeafNodeIdAndNameOnly = false;
7354
+ /**
7355
+ * One store enabled Get Object Info adapter
7356
+ */
7357
+ let oneStoreGetObjectInfoAdapter = undefined;
7358
+ /**
7359
+ * One store enabled Get Object Infos adapter
7360
+ */
7361
+ let oneStoreGetObjectInfosAdapter = undefined;
7362
+ /**
7363
+ * Defines the configuration API and is exposed internally as well as externally.
7364
+ * Configuration for one store enabled REST adapters only.
7365
+ */
7366
+ const configurationForOneStoreEnabledAdapters = {
7367
+ setGetObjectInfoAdapter: function (adapter) {
7368
+ oneStoreGetObjectInfoAdapter = adapter;
7369
+ },
7370
+ getGetObjectInfoAdapter: function () {
7371
+ return oneStoreGetObjectInfoAdapter;
7372
+ },
7373
+ setGetObjectInfosAdapter: function (adapter) {
7374
+ oneStoreGetObjectInfosAdapter = adapter;
7375
+ },
7376
+ getGetObjectInfosAdapter: function () {
7377
+ return oneStoreGetObjectInfosAdapter;
7378
+ },
7379
+ };
7354
7380
  /**
7355
7381
  * Defines the configuration API and is exposed internally as well as externally.
7356
7382
  * Configuration for REST adapters only.
@@ -7415,6 +7441,7 @@ const configurationForRestAdapters = {
7415
7441
  getDraftAwareCreateContentVersionAdapter: function () {
7416
7442
  return draftAwareCreateContentVersionAdapter;
7417
7443
  },
7444
+ ...configurationForOneStoreEnabledAdapters,
7418
7445
  };
7419
7446
  /**
7420
7447
  * Defines the configuration API and is exposed internally as well as externally.
@@ -7785,15 +7812,17 @@ function splitQualifiedFieldApiName(fieldApiName) {
7785
7812
  /**
7786
7813
  * Returns the field API name, qualified with an object name if possible.
7787
7814
  * @param value The value from which to get the qualified field API name.
7815
+ * @param onlyQualifiedFieldNames - Whether or not this function should skip fieldApiName that do not include the delimiter '.'
7788
7816
  * @return The qualified field API name.
7789
7817
  */
7790
- function getFieldApiName(value) {
7818
+ function getFieldApiName(value, onlyQualifiedFieldNames = false) {
7791
7819
  // Note: tightening validation logic changes behavior from userland getting
7792
7820
  // a server-provided error to the adapter noop'ing. In 224 we decided to not
7793
- // change the behavior.
7821
+ // change the behavior. In 250 we decided to add the 'onlyQualifiedFieldName' flag to tighten the logic
7822
+ // optionally to avoid issues with persisted invalid field names.
7794
7823
  if (isString(value)) {
7795
7824
  const trimmed = value.trim();
7796
- if (trimmed.length > 0) {
7825
+ if (trimmed.length > 0 && (onlyQualifiedFieldNames ? trimmed.indexOf('.') > -1 : true)) {
7797
7826
  return trimmed;
7798
7827
  }
7799
7828
  }
@@ -7806,15 +7835,19 @@ function getFieldApiName(value) {
7806
7835
  /**
7807
7836
  * Returns the field API name.
7808
7837
  * @param value The value from which to get the field API name.
7838
+ * @param options Option bag. onlyQualifiedFieldNames is a boolean that allows this function to skip returning invalid FieldApiNames.
7809
7839
  * @returns The field API name.
7810
7840
  */
7811
- function getFieldApiNamesArray(value) {
7841
+ function getFieldApiNamesArray(value, options = { onlyQualifiedFieldNames: false }) {
7812
7842
  const valueArray = isArray(value) ? value : [value];
7813
7843
  const array = [];
7814
7844
  for (let i = 0, len = valueArray.length; i < len; i += 1) {
7815
7845
  const item = valueArray[i];
7816
- const apiName = getFieldApiName(item);
7846
+ const apiName = getFieldApiName(item, options.onlyQualifiedFieldNames);
7817
7847
  if (apiName === undefined) {
7848
+ if (options.onlyQualifiedFieldNames) {
7849
+ continue; // Just skips invalid field names rather than failing to return an array at all
7850
+ }
7818
7851
  return undefined;
7819
7852
  }
7820
7853
  push.call(array, apiName);
@@ -8737,7 +8770,7 @@ function getTypeCacheKeys$27(rootKeySet, luvio, input, fullPathFactory) {
8737
8770
  });
8738
8771
  }
8739
8772
 
8740
- const TTL$F = 900000;
8773
+ const TTL$G = 900000;
8741
8774
  const VERSION$2s = "c658fe1591386d570e214eaed0daadd1";
8742
8775
  function validate$1X(obj, path = 'ListInfoRepresentation') {
8743
8776
  const v_error = (() => {
@@ -9110,7 +9143,7 @@ const ingest$22 = function ListInfoRepresentationIngest(input, path, luvio, stor
9110
9143
  }
9111
9144
  }
9112
9145
  const key = keyBuilderFromType$E(luvio, input);
9113
- const ttlToUse = TTL$F;
9146
+ const ttlToUse = TTL$G;
9114
9147
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$U, "UiApi", VERSION$2s, RepresentationType$10, equals$17);
9115
9148
  return createLink$1(key);
9116
9149
  };
@@ -9462,7 +9495,7 @@ const getTypeCacheKeys$24 = (rootKeySet, luvio, input, _fullPathFactory) => {
9462
9495
  return rootKeySet;
9463
9496
  };
9464
9497
 
9465
- const TTL$E = 120000;
9498
+ const TTL$F = 120000;
9466
9499
  const VERSION$2p = "79cb5ac9f44542f683d00245fdfe500d";
9467
9500
  function validate$1U(obj, path = 'RecordCollectionRepresentation') {
9468
9501
  const v_error = (() => {
@@ -9743,7 +9776,7 @@ const ingest$20 = function RecordCollectionRepresentationIngest(input, path, luv
9743
9776
  }
9744
9777
  }
9745
9778
  const key = path.fullPath;
9746
- const ttlToUse = TTL$E;
9779
+ const ttlToUse = TTL$F;
9747
9780
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$2p, RepresentationType$_, equals$14);
9748
9781
  return createLink$1(key);
9749
9782
  };
@@ -9771,7 +9804,7 @@ const keyBuilderFromType$D = function RecordRepresentationKeyBuilderFromType(luv
9771
9804
  return keyBuilderFromType$C(luvio, object);
9772
9805
  };
9773
9806
 
9774
- const TTL$D = 30000;
9807
+ const TTL$E = 30000;
9775
9808
  const VERSION$2o = "98c5b18512e48ca8d28727549507e4ba";
9776
9809
  function validate$1T(obj, path = 'RecordRepresentation') {
9777
9810
  const v_error = (() => {
@@ -11931,7 +11964,7 @@ const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION
11931
11964
  const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
11932
11965
  representationName: '',
11933
11966
  namespace: keyPrefix,
11934
- ttl: TTL$D,
11967
+ ttl: TTL$E,
11935
11968
  version: RECORD_REPRESENTATION_ERROR_VERSION,
11936
11969
  };
11937
11970
  function isGraphNode(node) {
@@ -12853,7 +12886,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
12853
12886
  luvio.storePublish(key, incomingRecord);
12854
12887
  }
12855
12888
  luvio.publishStoreMetadata(key, {
12856
- ttl: TTL$D,
12889
+ ttl: TTL$E,
12857
12890
  representationName: RepresentationType$Z,
12858
12891
  namespace: keyPrefix,
12859
12892
  version: VERSION$2o,
@@ -13213,7 +13246,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
13213
13246
  // track non-cached responses so rebuilds work properly
13214
13247
  if (childStatusCode !== 404 && childStatusCode !== 200) {
13215
13248
  nonCachedErrors$8[childKey] = {
13216
- expiration: now + TTL$D,
13249
+ expiration: now + TTL$E,
13217
13250
  response: childBody,
13218
13251
  status: childStatusCode,
13219
13252
  };
@@ -13789,8 +13822,8 @@ function revertPaginationOptimization(variables) {
13789
13822
  }
13790
13823
  }
13791
13824
 
13792
- const TTL$C = 30000;
13793
- const VERSION$2m = "e635ab62cb633d32aeeb183e568bb2c7";
13825
+ const TTL$D = 30000;
13826
+ const VERSION$2m = "e5c90c4081cd557f8ffec53028ede1e8";
13794
13827
  function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
13795
13828
  const v_error = (() => {
13796
13829
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -14080,14 +14113,13 @@ function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
14080
14113
  }
14081
14114
  const RepresentationType$Y = 'ListRecordCollectionRepresentation';
14082
14115
  function keyBuilder$3k(luvio, config) {
14083
- return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
14116
+ return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
14084
14117
  }
14085
14118
  function keyBuilderFromType$B(luvio, object) {
14086
14119
  const keyParams = {
14087
14120
  objectApiName: object.listReference.objectApiName,
14088
14121
  searchTerm: object.searchTerm,
14089
14122
  sortBy: object.sortBy,
14090
- listViewId: object.listInfoETag,
14091
14123
  where: object.where,
14092
14124
  listViewApiName: object.listReference.listViewApiName
14093
14125
  };
@@ -14435,7 +14467,7 @@ const ingest$1_ = function ListRecordCollectionRepresentationIngest(input, path,
14435
14467
  }
14436
14468
  const key = keyBuilderFromType$B(luvio, input);
14437
14469
  const existingRecord = store.readEntry(key);
14438
- const ttlToUse = TTL$C;
14470
+ const ttlToUse = TTL$D;
14439
14471
  let incomingRecord = normalize$Q(input, store.readEntry(key), {
14440
14472
  fullPath: key,
14441
14473
  parent: path.parent,
@@ -15629,7 +15661,8 @@ function keyBuilder$3c(luvio, params) {
15629
15661
  return keyBuilder$3k(luvio, {
15630
15662
  objectApiName: listReference.objectApiName,
15631
15663
  listViewApiName: listReference.listViewApiName,
15632
- listViewId: listReference.id,
15664
+ // # removing listViewId from key only supporing getting records using api name
15665
+ // listViewId: listReference.id,
15633
15666
  searchTerm: params.body.searchTerm || null,
15634
15667
  where: params.body.where || null,
15635
15668
  sortBy: params.body.sortBy !== undefined && params.body.sortBy.length <= 0
@@ -15642,7 +15675,8 @@ function keyBuilder$3c(luvio, params) {
15642
15675
  return keyBuilder$3k(luvio, {
15643
15676
  objectApiName: params.urlParams.objectApiName,
15644
15677
  listViewApiName: params.urlParams.listViewApiName,
15645
- listViewId: '',
15678
+ // # removing listViewId from key only supporing getting records using api name
15679
+ // listViewId: '',
15646
15680
  searchTerm: params.body.searchTerm || null,
15647
15681
  where: params.body.where || null,
15648
15682
  sortBy: params.body.sortBy || [],
@@ -15706,7 +15740,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
15706
15740
  const key = keyBuilder$3c(luvio, params);
15707
15741
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
15708
15742
  const storeMetadataParams = {
15709
- ttl: TTL$C,
15743
+ ttl: TTL$D,
15710
15744
  namespace: keyPrefix,
15711
15745
  version: VERSION$2m,
15712
15746
  representationName: RepresentationType$Y
@@ -17958,7 +17992,7 @@ function validate$1I(obj, path = 'ThemeInfoRepresentation') {
17958
17992
  return v_error === undefined ? null : v_error;
17959
17993
  }
17960
17994
 
17961
- const TTL$B = 900000;
17995
+ const TTL$C = 900000;
17962
17996
  const VERSION$2g = "ec9370a0cd56f4769fe9ec5cd942ff30";
17963
17997
  function validate$1H(obj, path = 'ObjectInfoRepresentation') {
17964
17998
  const v_error = (() => {
@@ -18373,7 +18407,7 @@ const ingest$1U = function ObjectInfoRepresentationIngest(input, path, luvio, st
18373
18407
  }
18374
18408
  }
18375
18409
  const key = keyBuilderFromType$v(luvio, input);
18376
- const ttlToUse = TTL$B;
18410
+ const ttlToUse = TTL$C;
18377
18411
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$2g, RepresentationType$S, equals$Y);
18378
18412
  return createLink$1(key);
18379
18413
  };
@@ -18419,7 +18453,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
18419
18453
  const key = keyBuilder$35(luvio, params);
18420
18454
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
18421
18455
  const storeMetadataParams = {
18422
- ttl: TTL$B,
18456
+ ttl: TTL$C,
18423
18457
  namespace: keyPrefix,
18424
18458
  version: VERSION$2g,
18425
18459
  representationName: RepresentationType$S
@@ -18811,7 +18845,7 @@ function validate$1C(obj, path = 'RecordLayoutSectionRepresentation') {
18811
18845
  return v_error === undefined ? null : v_error;
18812
18846
  }
18813
18847
 
18814
- const TTL$A = 900000;
18848
+ const TTL$B = 900000;
18815
18849
  const VERSION$2f = "fb515e25a89ca1ec154dc865e72b913a";
18816
18850
  function validate$1B(obj, path = 'RecordLayoutRepresentation') {
18817
18851
  const v_error = (() => {
@@ -19015,7 +19049,7 @@ const ingest$1T = function RecordLayoutRepresentationIngest(input, path, luvio,
19015
19049
  }
19016
19050
  }
19017
19051
  const key = keyBuilderFromType$u(luvio, input);
19018
- const ttlToUse = TTL$A;
19052
+ const ttlToUse = TTL$B;
19019
19053
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$2f, RepresentationType$R, equals$X);
19020
19054
  return createLink$1(key);
19021
19055
  };
@@ -19070,7 +19104,7 @@ function validate$1A(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
19070
19104
  return v_error === undefined ? null : v_error;
19071
19105
  }
19072
19106
 
19073
- const TTL$z = 900000;
19107
+ const TTL$A = 900000;
19074
19108
  const VERSION$2e = "4ba42e1fa0fb00cf78fce86082da41c9";
19075
19109
  function validate$1z(obj, path = 'RecordLayoutUserStateRepresentation') {
19076
19110
  const v_error = (() => {
@@ -19175,7 +19209,7 @@ const ingest$1S = function RecordLayoutUserStateRepresentationIngest(input, path
19175
19209
  }
19176
19210
  }
19177
19211
  const key = keyBuilderFromType$t(luvio, input);
19178
- const ttlToUse = TTL$z;
19212
+ const ttlToUse = TTL$A;
19179
19213
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$2e, RepresentationType$Q, equals$W);
19180
19214
  return createLink$1(key);
19181
19215
  };
@@ -19189,7 +19223,7 @@ function getTypeCacheKeys$1V(rootKeySet, luvio, input, fullPathFactory) {
19189
19223
  });
19190
19224
  }
19191
19225
 
19192
- const TTL$y = 900000;
19226
+ const TTL$z = 900000;
19193
19227
  const VERSION$2d = "49cdd4bc235a6094c3559cc7735b3b6d";
19194
19228
  function validate$1y(obj, path = 'RecordUiRepresentation') {
19195
19229
  const v_error = (() => {
@@ -19459,7 +19493,7 @@ const ingest$1R = function RecordUiRepresentationIngest(input, path, luvio, stor
19459
19493
  }
19460
19494
  }
19461
19495
  const key = path.fullPath;
19462
- const ttlToUse = TTL$y;
19496
+ const ttlToUse = TTL$z;
19463
19497
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$2d, RepresentationType$P, equals$V);
19464
19498
  return createLink$1(key);
19465
19499
  };
@@ -19714,7 +19748,7 @@ const GET_RECORDUI_ADAPTER_CONFIG = {
19714
19748
  };
19715
19749
  const RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION = 'RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION_1';
19716
19750
  const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
19717
- ttl: TTL$y,
19751
+ ttl: TTL$z,
19718
19752
  representationName: '',
19719
19753
  namespace: keyPrefix,
19720
19754
  version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
@@ -20779,7 +20813,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
20779
20813
  });
20780
20814
  }
20781
20815
 
20782
- const TTL$x = 900000;
20816
+ const TTL$y = 900000;
20783
20817
  const VERSION$29 = "993b0a7bce6056c4f57ed300ec153d9c";
20784
20818
  function validate$1u(obj, path = 'QuickActionDefaultsRepresentation') {
20785
20819
  const v_error = (() => {
@@ -21637,7 +21671,7 @@ function getTypeCacheKeys$1P(rootKeySet, luvio, input, fullPathFactory) {
21637
21671
  }
21638
21672
  }
21639
21673
 
21640
- const TTL$w = 300000;
21674
+ const TTL$x = 300000;
21641
21675
  const VERSION$26 = "e485d96c1402a9ca2f56e56485af0216";
21642
21676
  function validate$1r(obj, path = 'ActionRepresentation') {
21643
21677
  const v_error = (() => {
@@ -21743,7 +21777,7 @@ const ingest$1L = function ActionRepresentationIngest(input, path, luvio, store,
21743
21777
  }
21744
21778
  }
21745
21779
  const key = path.fullPath;
21746
- const ttlToUse = TTL$w;
21780
+ const ttlToUse = TTL$x;
21747
21781
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$26, RepresentationType$I, equals$O);
21748
21782
  return createLink$1(key);
21749
21783
  };
@@ -21794,7 +21828,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
21794
21828
  const key = keyBuilder$2X(luvio, params);
21795
21829
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
21796
21830
  const storeMetadataParams = {
21797
- ttl: TTL$w,
21831
+ ttl: TTL$x,
21798
21832
  namespace: keyPrefix,
21799
21833
  version: VERSION$26,
21800
21834
  representationName: RepresentationType$I
@@ -21907,7 +21941,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
21907
21941
  buildCachedSnapshotCachePolicy$P, buildNetworkSnapshotCachePolicy$Q);
21908
21942
  };
21909
21943
 
21910
- const TTL$v = 900000;
21944
+ const TTL$w = 900000;
21911
21945
  const VERSION$25 = "35f3eec8ce7f6001c6d5d17821b75bb9";
21912
21946
  function validate$1q(obj, path = 'QuickActionLayoutRepresentation') {
21913
21947
  const v_error = (() => {
@@ -21982,7 +22016,7 @@ const ingest$1K = function QuickActionLayoutRepresentationIngest(input, path, lu
21982
22016
  }
21983
22017
  }
21984
22018
  const key = keyBuilderFromType$n(luvio, input);
21985
- const ttlToUse = TTL$v;
22019
+ const ttlToUse = TTL$w;
21986
22020
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$25, RepresentationType$H, equals$N);
21987
22021
  return createLink$1(key);
21988
22022
  };
@@ -22028,7 +22062,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
22028
22062
  const key = keyBuilder$2U(luvio, params);
22029
22063
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22030
22064
  const storeMetadataParams = {
22031
- ttl: TTL$v,
22065
+ ttl: TTL$w,
22032
22066
  namespace: keyPrefix,
22033
22067
  version: VERSION$25,
22034
22068
  representationName: RepresentationType$H
@@ -22198,7 +22232,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
22198
22232
  const key = keyBuilder$2S(luvio, params);
22199
22233
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22200
22234
  const storeMetadataParams = {
22201
- ttl: TTL$w,
22235
+ ttl: TTL$x,
22202
22236
  namespace: keyPrefix,
22203
22237
  version: VERSION$26,
22204
22238
  representationName: RepresentationType$I
@@ -22340,7 +22374,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
22340
22374
  const key = keyBuilder$2Q(luvio, params);
22341
22375
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22342
22376
  const storeMetadataParams = {
22343
- ttl: TTL$w,
22377
+ ttl: TTL$x,
22344
22378
  namespace: keyPrefix,
22345
22379
  version: VERSION$26,
22346
22380
  representationName: RepresentationType$I
@@ -22677,7 +22711,7 @@ function validate$1o(obj, path = 'FormulaOverridesInfoRepresentation') {
22677
22711
  return v_error === undefined ? null : v_error;
22678
22712
  }
22679
22713
 
22680
- const TTL$u = 300000;
22714
+ const TTL$v = 300000;
22681
22715
  const VERSION$23 = "c57b66c259b23683db7b763e132e8633";
22682
22716
  function validate$1n(obj, path = 'FlexipageFormulaActivationRepresentation') {
22683
22717
  const v_error = (() => {
@@ -22750,7 +22784,7 @@ const ingest$1I = function FlexipageFormulaActivationRepresentationIngest(input,
22750
22784
  }
22751
22785
  }
22752
22786
  const key = path.fullPath;
22753
- const ttlToUse = TTL$u;
22787
+ const ttlToUse = TTL$v;
22754
22788
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$23, RepresentationType$F, equals$L);
22755
22789
  return createLink$1(key);
22756
22790
  };
@@ -22794,7 +22828,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
22794
22828
  const key = keyBuilder$2M(luvio, params);
22795
22829
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22796
22830
  const storeMetadataParams = {
22797
- ttl: TTL$u,
22831
+ ttl: TTL$v,
22798
22832
  namespace: keyPrefix,
22799
22833
  version: VERSION$23,
22800
22834
  representationName: RepresentationType$F
@@ -22906,7 +22940,7 @@ const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__ge
22906
22940
  };
22907
22941
 
22908
22942
  const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
22909
- ttl: TTL$x,
22943
+ ttl: TTL$y,
22910
22944
  namespace: keyPrefix,
22911
22945
  representationName: RepresentationType$L,
22912
22946
  version: VERSION$29,
@@ -23006,7 +23040,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
23006
23040
  const key = keyBuilder$2K(luvio, params);
23007
23041
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23008
23042
  const storeMetadataParams = {
23009
- ttl: TTL$x,
23043
+ ttl: TTL$y,
23010
23044
  namespace: keyPrefix,
23011
23045
  version: VERSION$29,
23012
23046
  representationName: RepresentationType$L
@@ -23175,7 +23209,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
23175
23209
  const key = keyBuilder$2I(luvio, params);
23176
23210
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23177
23211
  const storeMetadataParams = {
23178
- ttl: TTL$w,
23212
+ ttl: TTL$x,
23179
23213
  namespace: keyPrefix,
23180
23214
  version: VERSION$26,
23181
23215
  representationName: RepresentationType$I
@@ -23327,7 +23361,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
23327
23361
  const key = keyBuilder$2G(luvio, params);
23328
23362
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23329
23363
  const storeMetadataParams = {
23330
- ttl: TTL$w,
23364
+ ttl: TTL$x,
23331
23365
  namespace: keyPrefix,
23332
23366
  version: VERSION$26,
23333
23367
  representationName: RepresentationType$I
@@ -23539,7 +23573,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
23539
23573
  const key = keyBuilder$2E(luvio, params);
23540
23574
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23541
23575
  const storeMetadataParams = {
23542
- ttl: TTL$w,
23576
+ ttl: TTL$x,
23543
23577
  namespace: keyPrefix,
23544
23578
  version: VERSION$26,
23545
23579
  representationName: RepresentationType$I
@@ -23787,7 +23821,7 @@ function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, chi
23787
23821
  }
23788
23822
  // track non-cached responses so rebuilds work properly
23789
23823
  if (childStatusCode !== 404 && childStatusCode !== 200) {
23790
- nonCachedErrors$7[childKey] = { expiration: now + TTL$w, response: childBody, status: childStatusCode };
23824
+ nonCachedErrors$7[childKey] = { expiration: now + TTL$x, response: childBody, status: childStatusCode };
23791
23825
  }
23792
23826
  else {
23793
23827
  delete nonCachedErrors$7[childKey];
@@ -24069,7 +24103,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
24069
24103
  const key = keyBuilder$2A(luvio, params);
24070
24104
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
24071
24105
  const storeMetadataParams = {
24072
- ttl: TTL$w,
24106
+ ttl: TTL$x,
24073
24107
  namespace: keyPrefix,
24074
24108
  version: VERSION$26,
24075
24109
  representationName: RepresentationType$I
@@ -24264,7 +24298,7 @@ function getTypeCacheKeys$1K(rootKeySet, luvio, input, fullPathFactory) {
24264
24298
  });
24265
24299
  }
24266
24300
 
24267
- const TTL$t = 120000;
24301
+ const TTL$u = 120000;
24268
24302
  const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
24269
24303
  function validate$1k(obj, path = 'NavItemRepresentation') {
24270
24304
  const v_error = (() => {
@@ -24664,7 +24698,7 @@ const ingest$1G = function NavItemRepresentationIngest(input, path, luvio, store
24664
24698
  }
24665
24699
  }
24666
24700
  const key = keyBuilderFromType$m(luvio, input);
24667
- const ttlToUse = TTL$t;
24701
+ const ttlToUse = TTL$u;
24668
24702
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$21, RepresentationType$D, equals$J);
24669
24703
  return createLink$1(key);
24670
24704
  };
@@ -24681,7 +24715,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
24681
24715
  }
24682
24716
  }
24683
24717
 
24684
- const TTL$s = 300000;
24718
+ const TTL$t = 300000;
24685
24719
  const VERSION$20 = "b33c534240965bedfcf073228d48b940";
24686
24720
  function validate$1j(obj, path = 'AppRepresentation') {
24687
24721
  const v_error = (() => {
@@ -25152,7 +25186,7 @@ const ingest$1F = function AppRepresentationIngest(input, path, luvio, store, ti
25152
25186
  }
25153
25187
  }
25154
25188
  const key = keyBuilderFromType$l(luvio, input);
25155
- const ttlToUse = TTL$s;
25189
+ const ttlToUse = TTL$t;
25156
25190
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$20, RepresentationType$C, equals$I);
25157
25191
  return createLink$1(key);
25158
25192
  };
@@ -25174,7 +25208,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
25174
25208
  }
25175
25209
  }
25176
25210
 
25177
- const TTL$r = 300000;
25211
+ const TTL$s = 300000;
25178
25212
  const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
25179
25213
  function validate$1i(obj, path = 'AppsRepresentation') {
25180
25214
  const v_error = (() => {
@@ -25264,7 +25298,7 @@ const ingest$1E = function AppsRepresentationIngest(input, path, luvio, store, t
25264
25298
  }
25265
25299
  }
25266
25300
  const key = path.fullPath;
25267
- const ttlToUse = TTL$r;
25301
+ const ttlToUse = TTL$s;
25268
25302
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$1$, RepresentationType$B, equals$H);
25269
25303
  return createLink$1(key);
25270
25304
  };
@@ -25312,7 +25346,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
25312
25346
  const key = keyBuilder$2w(luvio, params);
25313
25347
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
25314
25348
  const storeMetadataParams = {
25315
- ttl: TTL$r,
25349
+ ttl: TTL$s,
25316
25350
  namespace: keyPrefix,
25317
25351
  version: VERSION$1$,
25318
25352
  representationName: RepresentationType$B
@@ -25454,7 +25488,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
25454
25488
  const key = keyBuilder$2s(luvio, params);
25455
25489
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
25456
25490
  const storeMetadataParams = {
25457
- ttl: TTL$s,
25491
+ ttl: TTL$t,
25458
25492
  namespace: keyPrefix,
25459
25493
  version: VERSION$20,
25460
25494
  representationName: RepresentationType$C
@@ -25903,7 +25937,7 @@ const select$2l = function DuplicateRuleRepresentationSelect() {
25903
25937
  };
25904
25938
  };
25905
25939
 
25906
- const TTL$q = 900000;
25940
+ const TTL$r = 900000;
25907
25941
  const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
25908
25942
  function validate$1d(obj, path = 'DuplicatesConfigurationRepresentation') {
25909
25943
  const v_error = (() => {
@@ -26013,7 +26047,7 @@ const ingest$1D = function DuplicatesConfigurationRepresentationIngest(input, pa
26013
26047
  }
26014
26048
  }
26015
26049
  const key = path.fullPath;
26016
- const ttlToUse = TTL$q;
26050
+ const ttlToUse = TTL$r;
26017
26051
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$1W, RepresentationType$A, equals$G);
26018
26052
  return createLink$1(key);
26019
26053
  };
@@ -26057,7 +26091,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
26057
26091
  const key = keyBuilder$2q(luvio, params);
26058
26092
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26059
26093
  const storeMetadataParams = {
26060
- ttl: TTL$q,
26094
+ ttl: TTL$r,
26061
26095
  namespace: keyPrefix,
26062
26096
  version: VERSION$1W,
26063
26097
  representationName: RepresentationType$A
@@ -26196,7 +26230,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
26196
26230
  const key = keyBuilder$2o(luvio, params);
26197
26231
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26198
26232
  const storeMetadataParams = {
26199
- ttl: TTL$A,
26233
+ ttl: TTL$B,
26200
26234
  namespace: keyPrefix,
26201
26235
  version: VERSION$2f,
26202
26236
  representationName: RepresentationType$R
@@ -26568,7 +26602,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
26568
26602
  const key = keyBuilder$2n(luvio, params);
26569
26603
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
26570
26604
  const storeMetadataParams = {
26571
- ttl: TTL$F,
26605
+ ttl: TTL$G,
26572
26606
  namespace: keyPrefix,
26573
26607
  version: VERSION$2s,
26574
26608
  representationName: RepresentationType$10
@@ -26800,7 +26834,7 @@ function ingestSuccessChildResourceParams$7(luvio, childResourceParamsArray, chi
26800
26834
  }
26801
26835
  // track non-cached responses so rebuilds work properly
26802
26836
  if (childStatusCode !== 404 && childStatusCode !== 200) {
26803
- nonCachedErrors$6[childKey] = { expiration: now + TTL$F, response: childBody, status: childStatusCode };
26837
+ nonCachedErrors$6[childKey] = { expiration: now + TTL$G, response: childBody, status: childStatusCode };
26804
26838
  }
26805
26839
  else {
26806
26840
  delete nonCachedErrors$6[childKey];
@@ -28075,8 +28109,8 @@ function equals$C(existing, incoming) {
28075
28109
  return true;
28076
28110
  }
28077
28111
 
28078
- const TTL$p = 900000;
28079
- const VERSION$1R = "84e1e3ffdfcb59f65d7b8906e33027ac";
28112
+ const TTL$q = 900000;
28113
+ const VERSION$1R = "2405a0b25c2c00f82e88b600edc16387";
28080
28114
  function validate$16(obj, path = 'ListObjectInfoRepresentation') {
28081
28115
  const v_error = (() => {
28082
28116
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -28122,6 +28156,11 @@ function validate$16(obj, path = 'ListObjectInfoRepresentation') {
28122
28156
  if (typeof obj_objectApiName !== 'string') {
28123
28157
  return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
28124
28158
  }
28159
+ const obj_publicOrSharedCreateable = obj.publicOrSharedCreateable;
28160
+ const path_publicOrSharedCreateable = path + '.publicOrSharedCreateable';
28161
+ if (typeof obj_publicOrSharedCreateable !== 'boolean') {
28162
+ return new TypeError('Expected "boolean" but received "' + typeof obj_publicOrSharedCreateable + '" (at "' + path_publicOrSharedCreateable + '")');
28163
+ }
28125
28164
  const obj_relatedEntityApiName = obj.relatedEntityApiName;
28126
28165
  const path_relatedEntityApiName = path + '.relatedEntityApiName';
28127
28166
  let obj_relatedEntityApiName_union0 = null;
@@ -28192,6 +28231,10 @@ const select$29 = function ListObjectInfoRepresentationSelect() {
28192
28231
  name: 'objectApiName',
28193
28232
  kind: 'Scalar'
28194
28233
  },
28234
+ {
28235
+ name: 'publicOrSharedCreateable',
28236
+ kind: 'Scalar'
28237
+ },
28195
28238
  {
28196
28239
  name: 'relatedEntityApiName',
28197
28240
  kind: 'Scalar'
@@ -28205,6 +28248,11 @@ function equals$B(existing, incoming) {
28205
28248
  if (!(existing_createable === incoming_createable)) {
28206
28249
  return false;
28207
28250
  }
28251
+ const existing_publicOrSharedCreateable = existing.publicOrSharedCreateable;
28252
+ const incoming_publicOrSharedCreateable = incoming.publicOrSharedCreateable;
28253
+ if (!(existing_publicOrSharedCreateable === incoming_publicOrSharedCreateable)) {
28254
+ return false;
28255
+ }
28208
28256
  const existing_objectApiName = existing.objectApiName;
28209
28257
  const incoming_objectApiName = incoming.objectApiName;
28210
28258
  if (!(existing_objectApiName === incoming_objectApiName)) {
@@ -28245,7 +28293,7 @@ const ingest$1C = function ListObjectInfoRepresentationIngest(input, path, luvio
28245
28293
  }
28246
28294
  }
28247
28295
  const key = keyBuilderFromType$k(luvio, input);
28248
- const ttlToUse = TTL$p;
28296
+ const ttlToUse = TTL$q;
28249
28297
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "UiApi", VERSION$1R, RepresentationType$z, equals$B);
28250
28298
  return createLink$1(key);
28251
28299
  };
@@ -28291,7 +28339,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
28291
28339
  const key = keyBuilder$2f(luvio, params);
28292
28340
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
28293
28341
  const storeMetadataParams = {
28294
- ttl: TTL$p,
28342
+ ttl: TTL$q,
28295
28343
  namespace: keyPrefix,
28296
28344
  version: VERSION$1R,
28297
28345
  representationName: RepresentationType$z
@@ -28400,7 +28448,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
28400
28448
  buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$v);
28401
28449
  };
28402
28450
 
28403
- const TTL$o = 900000;
28451
+ const TTL$p = 900000;
28404
28452
  const VERSION$1Q = "458d4a6a30201e422e8daec5fcb03845";
28405
28453
  function validate$15(obj, path = 'ListPreferencesRepresentation') {
28406
28454
  const v_error = (() => {
@@ -28553,7 +28601,7 @@ const ingest$1B = function ListPreferencesRepresentationIngest(input, path, luvi
28553
28601
  }
28554
28602
  }
28555
28603
  const key = keyBuilderFromType$j(luvio, input);
28556
- const ttlToUse = TTL$o;
28604
+ const ttlToUse = TTL$p;
28557
28605
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "UiApi", VERSION$1Q, RepresentationType$y, equals$A);
28558
28606
  return createLink$1(key);
28559
28607
  };
@@ -28600,7 +28648,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
28600
28648
  const key = keyBuilder$2c(luvio, params);
28601
28649
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
28602
28650
  const storeMetadataParams = {
28603
- ttl: TTL$o,
28651
+ ttl: TTL$p,
28604
28652
  namespace: keyPrefix,
28605
28653
  version: VERSION$1Q,
28606
28654
  representationName: RepresentationType$y
@@ -28870,7 +28918,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
28870
28918
  };
28871
28919
  };
28872
28920
 
28873
- const TTL$n = 120000;
28921
+ const TTL$o = 120000;
28874
28922
  const VERSION$1P = "756779d0d7e137dd72c743544afbad82";
28875
28923
  function validate$13(obj, path = 'NavItemsRepresentation') {
28876
28924
  const v_error = (() => {
@@ -29006,7 +29054,7 @@ const ingest$1A = function NavItemsRepresentationIngest(input, path, luvio, stor
29006
29054
  }
29007
29055
  }
29008
29056
  const key = path.fullPath;
29009
- const ttlToUse = TTL$n;
29057
+ const ttlToUse = TTL$o;
29010
29058
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "UiApi", VERSION$1P, RepresentationType$x, equals$z);
29011
29059
  return createLink$1(key);
29012
29060
  };
@@ -29054,7 +29102,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
29054
29102
  const key = keyBuilder$2a(luvio, params);
29055
29103
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
29056
29104
  const storeMetadataParams = {
29057
- ttl: TTL$n,
29105
+ ttl: TTL$o,
29058
29106
  namespace: keyPrefix,
29059
29107
  version: VERSION$1P,
29060
29108
  representationName: RepresentationType$x
@@ -29369,7 +29417,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
29369
29417
  }
29370
29418
  // track non-cached responses so rebuilds work properly
29371
29419
  if (childStatusCode !== 404 && childStatusCode !== 200) {
29372
- nonCachedErrors$5[childKey] = { expiration: now + TTL$B, response: childBody, status: childStatusCode };
29420
+ nonCachedErrors$5[childKey] = { expiration: now + TTL$C, response: childBody, status: childStatusCode };
29373
29421
  }
29374
29422
  else {
29375
29423
  delete nonCachedErrors$5[childKey];
@@ -29754,7 +29802,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
29754
29802
  return keyBuilder$24(luvio, { id });
29755
29803
  };
29756
29804
 
29757
- const TTL$m = 900000;
29805
+ const TTL$n = 900000;
29758
29806
  const VERSION$1I = "0a361a49370acb4c6a31721a2057649a";
29759
29807
  function validate$10(obj, path = 'PicklistValuesRepresentation') {
29760
29808
  const v_error = (() => {
@@ -29886,7 +29934,7 @@ const ingest$1z = function PicklistValuesRepresentationIngest(input, path, luvio
29886
29934
  }
29887
29935
  }
29888
29936
  const key = keyBuilderFromType$i(luvio, input);
29889
- const ttlToUse = TTL$m;
29937
+ const ttlToUse = TTL$n;
29890
29938
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "UiApi", VERSION$1I, RepresentationType$w, equals$y);
29891
29939
  return createLink$1(key);
29892
29940
  };
@@ -29900,7 +29948,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
29900
29948
  });
29901
29949
  }
29902
29950
 
29903
- const TTL$l = 300000;
29951
+ const TTL$m = 300000;
29904
29952
  const VERSION$1H = "ec03b0f6da287c949d1ccaa904ddbfd3";
29905
29953
  function validate$$(obj, path = 'PicklistValuesCollectionRepresentation') {
29906
29954
  const v_error = (() => {
@@ -29995,7 +30043,7 @@ const ingest$1y = function PicklistValuesCollectionRepresentationIngest(input, p
29995
30043
  }
29996
30044
  }
29997
30045
  const key = path.fullPath;
29998
- const ttlToUse = TTL$l;
30046
+ const ttlToUse = TTL$m;
29999
30047
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "UiApi", VERSION$1H, RepresentationType$v, equals$x);
30000
30048
  return createLink$1(key);
30001
30049
  };
@@ -30046,7 +30094,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
30046
30094
  const key = keyBuilder$23(luvio, params);
30047
30095
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
30048
30096
  const storeMetadataParams = {
30049
- ttl: TTL$l,
30097
+ ttl: TTL$m,
30050
30098
  namespace: keyPrefix,
30051
30099
  version: VERSION$1H,
30052
30100
  representationName: RepresentationType$v
@@ -30363,7 +30411,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
30363
30411
  const key = keyBuilder$21(luvio, params);
30364
30412
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
30365
30413
  const storeMetadataParams = {
30366
- ttl: TTL$A,
30414
+ ttl: TTL$B,
30367
30415
  namespace: keyPrefix,
30368
30416
  version: VERSION$2f,
30369
30417
  representationName: RepresentationType$R
@@ -30572,7 +30620,7 @@ function validate$Y(obj, path = 'MatchRepresentation') {
30572
30620
  return v_error === undefined ? null : v_error;
30573
30621
  }
30574
30622
 
30575
- const TTL$k = 30000;
30623
+ const TTL$l = 30000;
30576
30624
  const VERSION$1G = "583c38564fa15ce0fb3dd2807be1bdc6";
30577
30625
  function validate$X(obj, path = 'DuplicatesRepresentation') {
30578
30626
  const v_error = (() => {
@@ -30645,7 +30693,7 @@ const ingest$1x = function DuplicatesRepresentationIngest(input, path, luvio, st
30645
30693
  }
30646
30694
  }
30647
30695
  const key = path.fullPath;
30648
- const ttlToUse = TTL$k;
30696
+ const ttlToUse = TTL$l;
30649
30697
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "UiApi", VERSION$1G, RepresentationType$u, equals$w);
30650
30698
  return createLink$1(key);
30651
30699
  };
@@ -30689,7 +30737,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
30689
30737
  const key = keyBuilder$1$(luvio, params);
30690
30738
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
30691
30739
  const storeMetadataParams = {
30692
- ttl: TTL$k,
30740
+ ttl: TTL$l,
30693
30741
  namespace: keyPrefix,
30694
30742
  version: VERSION$1G,
30695
30743
  representationName: RepresentationType$u
@@ -31475,7 +31523,7 @@ const ingest$1u = function RecordAvatarBatchRepresentationIngest(input, path, lu
31475
31523
  }
31476
31524
  }
31477
31525
  const key = path.fullPath;
31478
- const ttlToUse = TTL$j;
31526
+ const ttlToUse = TTL$k;
31479
31527
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "UiApi", VERSION$1B, RepresentationType$q, equals$r);
31480
31528
  return createLink$1(key);
31481
31529
  };
@@ -31613,7 +31661,7 @@ const ingest$1t = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(
31613
31661
  }
31614
31662
  }
31615
31663
  const key = path.fullPath;
31616
- const ttlToUse = TTL$j;
31664
+ const ttlToUse = TTL$k;
31617
31665
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "UiApi", VERSION$1z, RepresentationType$p, equals$p);
31618
31666
  return createLink$1(key);
31619
31667
  };
@@ -31701,7 +31749,7 @@ const ingest$1s = function ErrorRecordAvatarBatchRepresentationIngest(input, pat
31701
31749
  }
31702
31750
  }
31703
31751
  const key = path.fullPath;
31704
- const ttlToUse = TTL$j;
31752
+ const ttlToUse = TTL$k;
31705
31753
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "UiApi", VERSION$1y, RepresentationType$o, equals$o);
31706
31754
  return createLink$1(key);
31707
31755
  };
@@ -31720,7 +31768,7 @@ const DiscriminatorValues$2 = {
31720
31768
  '400': 400,
31721
31769
  '404': 404
31722
31770
  };
31723
- const TTL$j = 300000;
31771
+ const TTL$k = 300000;
31724
31772
  const VERSION$1x = "8956293536e94d5ec63b274b61033d2c";
31725
31773
  function validate$O(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
31726
31774
  const v_error = (() => {
@@ -31798,7 +31846,7 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
31798
31846
  throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
31799
31847
  }
31800
31848
 
31801
- const TTL$i = 300000;
31849
+ const TTL$j = 300000;
31802
31850
  const VERSION$1w = "c44c049fa6ad7cf7e932c0aab9107d86";
31803
31851
  function validate$N(obj, path = 'RecordAvatarBulkMapRepresentation') {
31804
31852
  const v_error = (() => {
@@ -31908,7 +31956,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
31908
31956
  const key = keyBuilder$1Y(luvio, params);
31909
31957
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
31910
31958
  const storeMetadataParams = {
31911
- ttl: TTL$i,
31959
+ ttl: TTL$j,
31912
31960
  namespace: keyPrefix,
31913
31961
  version: VERSION$1w,
31914
31962
  representationName: RepresentationType$n
@@ -33386,7 +33434,7 @@ function validate$K(obj, path = 'RelatedListColumnRepresentation') {
33386
33434
  return v_error === undefined ? null : v_error;
33387
33435
  }
33388
33436
 
33389
- const TTL$h = 900000;
33437
+ const TTL$i = 900000;
33390
33438
  const VERSION$1t = "c977d65d153a2b4e888ddd45fb083248";
33391
33439
  function validate$J(obj, path = 'RelatedListInfoRepresentation') {
33392
33440
  const v_error = (() => {
@@ -33680,7 +33728,7 @@ const ingest$1p = function RelatedListInfoRepresentationIngest(input, path, luvi
33680
33728
  }
33681
33729
  }
33682
33730
  const key = keyBuilderFromType$d(luvio, input);
33683
- const ttlToUse = TTL$h;
33731
+ const ttlToUse = TTL$i;
33684
33732
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "UiApi", VERSION$1t, RepresentationType$l, equals$j);
33685
33733
  return createLink$1(key);
33686
33734
  };
@@ -33731,7 +33779,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
33731
33779
  const key = keyBuilder$1Q(luvio, params);
33732
33780
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
33733
33781
  const storeMetadataParams = {
33734
- ttl: TTL$h,
33782
+ ttl: TTL$i,
33735
33783
  namespace: keyPrefix,
33736
33784
  version: VERSION$1t,
33737
33785
  representationName: RepresentationType$l
@@ -33964,7 +34012,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
33964
34012
  }
33965
34013
  // track non-cached responses so rebuilds work properly
33966
34014
  if (childStatusCode !== 404 && childStatusCode !== 200) {
33967
- nonCachedErrors$3[childKey] = { expiration: now + TTL$h, response: childBody, status: childStatusCode };
34015
+ nonCachedErrors$3[childKey] = { expiration: now + TTL$i, response: childBody, status: childStatusCode };
33968
34016
  }
33969
34017
  else {
33970
34018
  delete nonCachedErrors$3[childKey];
@@ -34597,7 +34645,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
34597
34645
  buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
34598
34646
  };
34599
34647
 
34600
- const TTL$g = 900000;
34648
+ const TTL$h = 900000;
34601
34649
  const VERSION$1r = "094cdf8e3e1f07fca02c4e51e14c528e";
34602
34650
  function validate$F(obj, path = 'RelatedListUserPreferencesRepresentation') {
34603
34651
  const v_error = (() => {
@@ -34690,7 +34738,7 @@ const ingest$1n = function RelatedListUserPreferencesRepresentationIngest(input,
34690
34738
  }
34691
34739
  }
34692
34740
  const key = keyBuilderFromType$b(luvio, input);
34693
- const ttlToUse = TTL$g;
34741
+ const ttlToUse = TTL$h;
34694
34742
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "UiApi", VERSION$1r, RepresentationType$j, equals$h);
34695
34743
  return createLink$1(key);
34696
34744
  };
@@ -34736,7 +34784,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
34736
34784
  const key = keyBuilder$1I(luvio, params);
34737
34785
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
34738
34786
  const storeMetadataParams = {
34739
- ttl: TTL$g,
34787
+ ttl: TTL$h,
34740
34788
  namespace: keyPrefix,
34741
34789
  version: VERSION$1r,
34742
34790
  representationName: RepresentationType$j
@@ -34961,7 +35009,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
34961
35009
  }
34962
35010
  // track non-cached responses so rebuilds work properly
34963
35011
  if (childStatusCode !== 404 && childStatusCode !== 200) {
34964
- nonCachedErrors$2[childKey] = { expiration: now + TTL$g, response: childBody, status: childStatusCode };
35012
+ nonCachedErrors$2[childKey] = { expiration: now + TTL$h, response: childBody, status: childStatusCode };
34965
35013
  }
34966
35014
  else {
34967
35015
  delete nonCachedErrors$2[childKey];
@@ -35433,7 +35481,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
35433
35481
  return existingListEnd === incomingListEnd;
35434
35482
  }
35435
35483
 
35436
- const TTL$f = 30000;
35484
+ const TTL$g = 30000;
35437
35485
  const VERSION$1q = "62467c27c19349b70c9db2a8d9d591d9";
35438
35486
  function validate$D(obj, path = 'RelatedListRecordCollectionRepresentation') {
35439
35487
  const v_error = (() => {
@@ -35944,7 +35992,7 @@ const ingest$1m = function RelatedListRecordCollectionRepresentationIngest(input
35944
35992
  }
35945
35993
  const key = keyBuilderFromType$a(luvio, input);
35946
35994
  const existingRecord = store.readEntry(key);
35947
- const ttlToUse = TTL$f;
35995
+ const ttlToUse = TTL$g;
35948
35996
  let incomingRecord = normalize$c(input, store.readEntry(key), {
35949
35997
  fullPath: key,
35950
35998
  parent: path.parent,
@@ -36103,7 +36151,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
36103
36151
  const key = keyBuilder$1D(luvio, params);
36104
36152
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
36105
36153
  const storeMetadataParams = {
36106
- ttl: TTL$f,
36154
+ ttl: TTL$g,
36107
36155
  namespace: keyPrefix,
36108
36156
  version: VERSION$1q,
36109
36157
  representationName: RepresentationType$i
@@ -36351,7 +36399,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
36351
36399
  }
36352
36400
  // track non-cached responses so rebuilds work properly
36353
36401
  if (childStatusCode !== 404 && childStatusCode !== 200) {
36354
- nonCachedErrors$1[childKey] = { expiration: now + TTL$f, response: childBody, status: childStatusCode };
36402
+ nonCachedErrors$1[childKey] = { expiration: now + TTL$g, response: childBody, status: childStatusCode };
36355
36403
  }
36356
36404
  else {
36357
36405
  delete nonCachedErrors$1[childKey];
@@ -36763,7 +36811,7 @@ function validate$B(obj, path = 'SearchFilterDefinitionRepresentation') {
36763
36811
  return v_error === undefined ? null : v_error;
36764
36812
  }
36765
36813
 
36766
- const TTL$e = 30000;
36814
+ const TTL$f = 30000;
36767
36815
  const VERSION$1p = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
36768
36816
  function validate$A(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
36769
36817
  const v_error = (() => {
@@ -36855,7 +36903,7 @@ const ingest$1l = function SearchFilterMetadataCollectionRepresentationIngest(in
36855
36903
  }
36856
36904
  }
36857
36905
  const key = keyBuilderFromType$9(luvio, input);
36858
- const ttlToUse = TTL$e;
36906
+ const ttlToUse = TTL$f;
36859
36907
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "UiApi", VERSION$1p, RepresentationType$h, equals$f);
36860
36908
  return createLink$1(key);
36861
36909
  };
@@ -36902,7 +36950,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
36902
36950
  const key = keyBuilder$1y(luvio, params);
36903
36951
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
36904
36952
  const storeMetadataParams = {
36905
- ttl: TTL$e,
36953
+ ttl: TTL$f,
36906
36954
  namespace: keyPrefix,
36907
36955
  version: VERSION$1p,
36908
36956
  representationName: RepresentationType$h
@@ -37011,7 +37059,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
37011
37059
  buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$b);
37012
37060
  };
37013
37061
 
37014
- const TTL$d = 30000;
37062
+ const TTL$e = 30000;
37015
37063
  const VERSION$1o = "8d851a8d9abf0a061a8ad81d4cbb83bc";
37016
37064
  function validate$z(obj, path = 'SearchFilterOptionCollectionRepresentation') {
37017
37065
  const v_error = (() => {
@@ -37109,7 +37157,7 @@ const ingest$1k = function SearchFilterOptionCollectionRepresentationIngest(inpu
37109
37157
  }
37110
37158
  }
37111
37159
  const key = keyBuilderFromType$8(luvio, input);
37112
- const ttlToUse = TTL$d;
37160
+ const ttlToUse = TTL$e;
37113
37161
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "UiApi", VERSION$1o, RepresentationType$g, equals$e);
37114
37162
  return createLink$1(key);
37115
37163
  };
@@ -37157,7 +37205,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
37157
37205
  const key = keyBuilder$1v(luvio, params);
37158
37206
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37159
37207
  const storeMetadataParams = {
37160
- ttl: TTL$d,
37208
+ ttl: TTL$e,
37161
37209
  namespace: keyPrefix,
37162
37210
  version: VERSION$1o,
37163
37211
  representationName: RepresentationType$g
@@ -37429,7 +37477,7 @@ function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
37429
37477
  return v_error === undefined ? null : v_error;
37430
37478
  }
37431
37479
 
37432
- const TTL$c = 30000;
37480
+ const TTL$d = 30000;
37433
37481
  const VERSION$1n = "ab99b79a5e8a78e051ec92b39d76a6bd";
37434
37482
  function validate$r(obj, path = 'LookupMetadataRepresentation') {
37435
37483
  const v_error = (() => {
@@ -37528,7 +37576,7 @@ const ingest$1j = function LookupMetadataRepresentationIngest(input, path, luvio
37528
37576
  }
37529
37577
  }
37530
37578
  const key = keyBuilderFromType$7(luvio, input);
37531
- const ttlToUse = TTL$c;
37579
+ const ttlToUse = TTL$d;
37532
37580
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "UiApi", VERSION$1n, RepresentationType$f, equals$d);
37533
37581
  return createLink$1(key);
37534
37582
  };
@@ -37575,7 +37623,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
37575
37623
  const key = keyBuilder$1s(luvio, params);
37576
37624
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
37577
37625
  const storeMetadataParams = {
37578
- ttl: TTL$c,
37626
+ ttl: TTL$d,
37579
37627
  namespace: keyPrefix,
37580
37628
  version: VERSION$1n,
37581
37629
  representationName: RepresentationType$f
@@ -38243,7 +38291,7 @@ function validate$f(obj, path = 'SearchObjectOptionsOutputRepresentation') {
38243
38291
  return v_error === undefined ? null : v_error;
38244
38292
  }
38245
38293
 
38246
- const TTL$b = 200;
38294
+ const TTL$c = 200;
38247
38295
  const VERSION$1m = "c3b86b51e83e00857929bc3dd6742a85";
38248
38296
  function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
38249
38297
  const v_error = (() => {
@@ -38400,7 +38448,7 @@ const ingest$1i = function SearchResultsSummaryRepresentationIngest(input, path,
38400
38448
  }
38401
38449
  }
38402
38450
  const key = keyBuilderFromType$6(luvio, input);
38403
- const ttlToUse = TTL$b;
38451
+ const ttlToUse = TTL$c;
38404
38452
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "UiApi", VERSION$1m, RepresentationType$e, equals$c);
38405
38453
  return createLink$1(key);
38406
38454
  };
@@ -38447,7 +38495,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
38447
38495
  const key = keyBuilder$1p(luvio, params);
38448
38496
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
38449
38497
  const storeMetadataParams = {
38450
- ttl: TTL$b,
38498
+ ttl: TTL$c,
38451
38499
  namespace: keyPrefix,
38452
38500
  version: VERSION$1m,
38453
38501
  representationName: RepresentationType$e
@@ -38577,7 +38625,7 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
38577
38625
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
38578
38626
  };
38579
38627
 
38580
- const TTL$a = 200;
38628
+ const TTL$b = 200;
38581
38629
  const VERSION$1l = "3102453bf10ea449d9665914d5f5febf";
38582
38630
  function validate$d(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
38583
38631
  const v_error = (() => {
@@ -38673,7 +38721,7 @@ const ingest$1h = function KeywordSearchResultsSummaryRepresentationIngest(input
38673
38721
  }
38674
38722
  }
38675
38723
  const key = keyBuilderFromType$5(luvio, input);
38676
- const ttlToUse = TTL$a;
38724
+ const ttlToUse = TTL$b;
38677
38725
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "UiApi", VERSION$1l, RepresentationType$d, equals$b);
38678
38726
  return createLink$1(key);
38679
38727
  };
@@ -38721,7 +38769,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
38721
38769
  const key = keyBuilder$1m(luvio, params);
38722
38770
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
38723
38771
  const storeMetadataParams = {
38724
- ttl: TTL$a,
38772
+ ttl: TTL$b,
38725
38773
  namespace: keyPrefix,
38726
38774
  version: VERSION$1l,
38727
38775
  representationName: RepresentationType$d
@@ -45030,7 +45078,7 @@ function getInContextFragmentType$Q(fragment, fragmentMap) {
45030
45078
  }
45031
45079
 
45032
45080
  const name$E = 'RecordConnection';
45033
- const TTL$9 = 300000;
45081
+ const TTL$a = 300000;
45034
45082
  const VERSION$R = '5109e37c62e492243c1e6ae3967b0655';
45035
45083
  function keyBuilder$S(luvio, path, data) {
45036
45084
  return path.fullPath;
@@ -45113,7 +45161,7 @@ function ingest$N(astNode, state) {
45113
45161
  createLink: createLink,
45114
45162
  mergeData: mergeData$E,
45115
45163
  storeMetadataParams: {
45116
- ttl: TTL$9,
45164
+ ttl: TTL$a,
45117
45165
  namespace: keyPrefix,
45118
45166
  representationName: "RecordConnection",
45119
45167
  version: VERSION$R,
@@ -52019,7 +52067,7 @@ function getInContextFragmentType$m(fragment, fragmentMap) {
52019
52067
  }
52020
52068
 
52021
52069
  const name$a = 'ObjectInfo';
52022
- const TTL$8 = 900000;
52070
+ const TTL$9 = 900000;
52023
52071
  const VERSION$n = 'f8f627dd56d42a39e1a6642edb039182';
52024
52072
  function keyBuilder$o(luvio, path, data) {
52025
52073
  return path.fullPath;
@@ -52045,7 +52093,7 @@ function ingest$j(astNode, state) {
52045
52093
  createLink: createLink,
52046
52094
  mergeData: mergeData$a,
52047
52095
  storeMetadataParams: {
52048
- ttl: TTL$8,
52096
+ ttl: TTL$9,
52049
52097
  namespace: keyPrefix,
52050
52098
  representationName: "ObjectInfo",
52051
52099
  version: VERSION$n,
@@ -52735,7 +52783,7 @@ function getInContextFragmentType$j(fragment, fragmentMap) {
52735
52783
  }
52736
52784
 
52737
52785
  const name$7 = 'RelatedListInfo';
52738
- const TTL$7 = 900000;
52786
+ const TTL$8 = 900000;
52739
52787
  const VERSION$k = 'a32cfdff7ca8dcf4b534b3491fef2019';
52740
52788
  function keyBuilder$l(luvio, path, data) {
52741
52789
  return path.fullPath;
@@ -52761,7 +52809,7 @@ function ingest$g(astNode, state) {
52761
52809
  createLink: createLink,
52762
52810
  mergeData: mergeData$7,
52763
52811
  storeMetadataParams: {
52764
- ttl: TTL$7,
52812
+ ttl: TTL$8,
52765
52813
  namespace: keyPrefix,
52766
52814
  representationName: "RelatedListInfo",
52767
52815
  version: VERSION$k,
@@ -54594,6 +54642,7 @@ function getInContextFragmentType$c(fragment, fragmentMap) {
54594
54642
  }
54595
54643
 
54596
54644
  const name$1 = 'Setup__Setup';
54645
+ const TTL$7 = 1000;
54597
54646
  const VERSION$d = '57c66c8147b44793116747c96b2b0fc9';
54598
54647
  function keyBuilder$f(luvio, path, data) {
54599
54648
  return path.fullPath;
@@ -54619,7 +54668,7 @@ function ingest$9(astNode, state) {
54619
54668
  createLink: createLink,
54620
54669
  mergeData: mergeData$1,
54621
54670
  storeMetadataParams: {
54622
- ttl: TTL$6,
54671
+ ttl: TTL$7,
54623
54672
  namespace: keyPrefix,
54624
54673
  representationName: "Setup__Setup",
54625
54674
  version: VERSION$d,
@@ -58041,6 +58090,7 @@ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
58041
58090
  // Note: The original listReference will remain unchanged in the response.
58042
58091
  mutatedListRef.id = body.listInfoETag;
58043
58092
  addListReferenceWithId(mutatedListRef, context, body.listReference.id);
58093
+ // storing sortBy ensuring a cache hit when requesting records with no sortBy provided
58044
58094
  addServerDefaults(config, body, originalListRef, context);
58045
58095
  }
58046
58096
  return onFetchResponseSuccess$2(luvio, config, resourceParams, response);
@@ -61281,7 +61331,11 @@ function createDispatchResourceRequestContext(requestContext) {
61281
61331
  }
61282
61332
  ensureRegisteredOnce({
61283
61333
  id: '@salesforce/lds-adapters-uiapi',
61284
- configuration: { ...configurationForRestAdapters, ...configurationForGraphQLAdapters },
61334
+ configuration: {
61335
+ ...configurationForRestAdapters,
61336
+ ...configurationForGraphQLAdapters,
61337
+ ...configurationForOneStoreEnabledAdapters,
61338
+ },
61285
61339
  instrument,
61286
61340
  });
61287
61341
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lwc-adapters-uiapi",
3
- "version": "1.283.0",
3
+ "version": "1.285.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "UIAPI adapters with LWC bindings",
6
6
  "module": "dist/main.js",
@@ -31,10 +31,10 @@
31
31
  "clean": "rm -rf dist src/generated"
32
32
  },
33
33
  "devDependencies": {
34
- "@salesforce/lds-adapters-uiapi": "^1.283.0"
34
+ "@salesforce/lds-adapters-uiapi": "^1.285.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "@luvio/lwc-luvio": "0.154.15",
38
- "@salesforce/lds-default-luvio": "^1.283.0"
38
+ "@salesforce/lds-default-luvio": "^1.285.0"
39
39
  }
40
40
  }