@salesforce/lds-adapters-uiapi 1.286.0 → 1.287.0-dev10

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.
@@ -55,6 +55,8 @@ export declare const configurationForRestAdapters: {
55
55
  getDraftAwareDeleteRecordAdapter: () => DraftAwareDeleteRecordAdapter | undefined;
56
56
  setDraftAwareCreateContentDocumentAndVersionAdapter: (adapter: DraftAwareCreateContentDocumentAndVersionAdapter) => void;
57
57
  getDraftAwareCreateContentDocumentAndVersionAdapter: () => DraftAwareCreateContentDocumentAndVersionAdapter | undefined;
58
+ setRelatedListsPredictionsEnabled: (f: boolean) => void;
59
+ areRelatedListsPredictionsEnabled: () => boolean;
58
60
  setDraftAwareCreateContentVersionAdapter: (adapter: DraftAwareCreateContentVersionAdapter) => void;
59
61
  getDraftAwareCreateContentVersionAdapter: () => DraftAwareCreateContentVersionAdapter | undefined;
60
62
  };
@@ -0,0 +1,5 @@
1
+ import type { FieldNode } from '@luvio/graphql-parser';
2
+ export declare function getFieldType(field: FieldNode): {
3
+ isArray: boolean;
4
+ typename: string;
5
+ } | undefined;
@@ -103,6 +103,8 @@ export declare const configuration: {
103
103
  getDraftAwareDeleteRecordAdapter: () => import("./wire/deleteRecord/configurationTypes").DraftAwareDeleteRecordAdapter | undefined;
104
104
  setDraftAwareCreateContentDocumentAndVersionAdapter: (adapter: import("./wire/createContentDocumentAndVersion/configurationTypes").DraftAwareCreateContentDocumentAndVersionAdapter) => void;
105
105
  getDraftAwareCreateContentDocumentAndVersionAdapter: () => import("./wire/createContentDocumentAndVersion/configurationTypes").DraftAwareCreateContentDocumentAndVersionAdapter | undefined;
106
+ setRelatedListsPredictionsEnabled: (f: boolean) => void;
107
+ areRelatedListsPredictionsEnabled: () => boolean;
106
108
  setDraftAwareCreateContentVersionAdapter: (adapter: import("./wire/createContentVersion/configurationTypes").DraftAwareCreateContentVersionAdapter) => void;
107
109
  getDraftAwareCreateContentVersionAdapter: () => import("./wire/createContentVersion/configurationTypes").DraftAwareCreateContentVersionAdapter | undefined;
108
110
  };
@@ -111,6 +113,8 @@ export type { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwo
111
113
  export { DataCallback, DataCallbackTuple, ImperativeAdapter } from '@salesforce/lds-bindings';
112
114
  export { default as getRecordId18 } from './primitives/RecordId18/coerce';
113
115
  export { default as coerceFieldIdArray } from './primitives/FieldIdArray/coerce';
116
+ export { default as coerceObjectId } from './primitives/ObjectId/coerce';
117
+ export { default as coerceObjectIdArray } from './primitives/ObjectIdArray/coerce';
114
118
  export type Registration = {
115
119
  id: '@salesforce/lds-adapters-uiapi';
116
120
  configuration: Configuration;
@@ -4,4 +4,5 @@ interface Prefetcher {
4
4
  }
5
5
  export declare function registerPrefetcher(luvio: Luvio, prefetcher: Prefetcher): void;
6
6
  export declare function createLDSAdapterWithPrediction<C, D>(adapter: Adapter<C, D>, luvio: Luvio, name: string): Adapter<C, D>;
7
+ export declare function createRelatedListAdapterWithPrediction<C, D>(adapter: Adapter<C, D>, luvio: Luvio, name: string): Adapter<C, D>;
7
8
  export {};
@@ -0,0 +1,2 @@
1
+ import type { keyBuilderFromType as generatedKeyBuilderFromType } from '../../../generated/types/ListInfoRepresentation';
2
+ export declare const keyBuilderFromType: typeof generatedKeyBuilderFromType;
@@ -0,0 +1,2 @@
1
+ import type { keyBuilderFromType as generatedKeyBuilderFromType } from '../../../generated/types/ListRecordCollectionRepresentation';
2
+ export declare const keyBuilderFromType: typeof generatedKeyBuilderFromType;
@@ -25,5 +25,5 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
25
25
  export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
26
26
  export { instrument, Instrument, Registration } from './main';
27
27
  export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from './main';
28
- export { getRecordId18, coerceFieldIdArray, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, getRelatedListInfoBatchAdapterFactory, } from './main';
28
+ export { getRecordId18, coerceFieldIdArray, coerceObjectId, coerceObjectIdArray, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, getRelatedListInfoBatchAdapterFactory, } from './main';
29
29
  export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
@@ -74,6 +74,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
74
74
  * One store enabled Get Object Infos adapter
75
75
  */
76
76
  let oneStoreGetObjectInfosAdapter = undefined;
77
+ /**
78
+ * Determines when to include PDL strategies for Related Lists
79
+ */
80
+ let relatedListsPredictionsEnabled = false;
77
81
  /**
78
82
  * Defines the configuration API and is exposed internally as well as externally.
79
83
  * Configuration for one store enabled REST adapters only.
@@ -149,6 +153,12 @@ const configurationForRestAdapters = {
149
153
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
150
154
  return draftAwareCreateContentDocumentAndVersionAdapter;
151
155
  },
156
+ setRelatedListsPredictionsEnabled: function (f) {
157
+ relatedListsPredictionsEnabled = f;
158
+ },
159
+ areRelatedListsPredictionsEnabled: function () {
160
+ return relatedListsPredictionsEnabled === true;
161
+ },
152
162
  // createContentVersion
153
163
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
154
164
  draftAwareCreateContentVersionAdapter = adapter;
@@ -273,6 +283,16 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
273
283
  return result;
274
284
  };
275
285
  }
286
+ function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
287
+ if (configurationForRestAdapters.areRelatedListsPredictionsEnabled() /* gate is open */) {
288
+ return createLDSAdapterWithPrediction(adapter, luvio, name);
289
+ }
290
+ else {
291
+ return (config, requestContext) => {
292
+ return adapter(config, requestContext);
293
+ };
294
+ }
295
+ }
276
296
 
277
297
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
278
298
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -1511,6 +1531,17 @@ function getTypeCacheKeys$27(rootKeySet, luvio, input, fullPathFactory) {
1511
1531
  });
1512
1532
  }
1513
1533
 
1534
+ const keyBuilderFromType$E = function ListInfoRepresentationKeyBuilderFromType(luvio, object) {
1535
+ const keyParams = {
1536
+ listViewApiName: object.listReference.listViewApiName
1537
+ ? object.listReference.listViewApiName.toLowerCase()
1538
+ : object.listReference.listViewApiName,
1539
+ objectApiName: object.listReference.objectApiName.toLowerCase(),
1540
+ type: object.listReference.type,
1541
+ };
1542
+ return keyBuilder$3o(luvio, keyParams);
1543
+ };
1544
+
1514
1545
  const TTL$G = 900000;
1515
1546
  const VERSION$2s = "c658fe1591386d570e214eaed0daadd1";
1516
1547
  function validate$1X(obj, path = 'ListInfoRepresentation') {
@@ -1739,14 +1770,6 @@ const RepresentationType$10 = 'ListInfoRepresentation';
1739
1770
  function keyBuilder$3o(luvio, config) {
1740
1771
  return keyPrefix + '::' + RepresentationType$10 + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
1741
1772
  }
1742
- function keyBuilderFromType$E(luvio, object) {
1743
- const keyParams = {
1744
- listViewApiName: object.listReference.listViewApiName,
1745
- objectApiName: object.listReference.objectApiName,
1746
- type: object.listReference.type
1747
- };
1748
- return keyBuilder$3o(luvio, keyParams);
1749
- }
1750
1773
  function normalize$U(input, existing, path, luvio, store, timestamp) {
1751
1774
  const input_displayColumns = input.displayColumns;
1752
1775
  const input_displayColumns_id = path.fullPath + '__displayColumns';
@@ -6577,6 +6600,19 @@ function revertPaginationOptimization(variables) {
6577
6600
  }
6578
6601
  }
6579
6602
 
6603
+ const keyBuilderFromType$B = function ListRecordCollectionRepresentationKeyBuilderFromType(luvio, object) {
6604
+ const keyParams = {
6605
+ objectApiName: object.listReference.objectApiName.toLowerCase(),
6606
+ searchTerm: object.searchTerm,
6607
+ sortBy: object.sortBy,
6608
+ where: object.where,
6609
+ listViewApiName: object.listReference.listViewApiName
6610
+ ? object.listReference.listViewApiName.toLowerCase()
6611
+ : object.listReference.listViewApiName,
6612
+ };
6613
+ return keyBuilder$3k(luvio, keyParams);
6614
+ };
6615
+
6580
6616
  const TTL$D = 30000;
6581
6617
  const VERSION$2m = "e5c90c4081cd557f8ffec53028ede1e8";
6582
6618
  function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
@@ -6870,16 +6906,6 @@ const RepresentationType$Y = 'ListRecordCollectionRepresentation';
6870
6906
  function keyBuilder$3k(luvio, config) {
6871
6907
  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);
6872
6908
  }
6873
- function keyBuilderFromType$B(luvio, object) {
6874
- const keyParams = {
6875
- objectApiName: object.listReference.objectApiName,
6876
- searchTerm: object.searchTerm,
6877
- sortBy: object.sortBy,
6878
- where: object.where,
6879
- listViewApiName: object.listReference.listViewApiName
6880
- };
6881
- return keyBuilder$3k(luvio, keyParams);
6882
- }
6883
6909
  function paginationKeyBuilder(luvio, config) {
6884
6910
  return keyBuilder$3k(luvio, config) + '__pagination';
6885
6911
  }
@@ -8419,7 +8445,7 @@ function buildListRefByIdContextKey(listViewId) {
8419
8445
  return `listReferenceById::${listViewId}`;
8420
8446
  }
8421
8447
  function buildListRefByApiNameContextKey(objectApiName, listViewApiName) {
8422
- return `listReferenceByApiName::${objectApiName}:${listViewApiName}`;
8448
+ return `listReferenceByApiName::${objectApiName.toLowerCase()}:${listViewApiName.toLowerCase()}`;
8423
8449
  }
8424
8450
  /**
8425
8451
  * Adds a list reference so it can be retrieved with #getListReference later.
@@ -8475,7 +8501,12 @@ const LIST_INFO_SELECTIONS_ETAG = [
8475
8501
  * @param luvio Luvio
8476
8502
  */
8477
8503
  function getListInfo(luvio, listRef, storeLookup) {
8478
- const key = keyBuilder$3o(luvio, { ...listRef });
8504
+ let mutatedListRef = { ...listRef };
8505
+ mutatedListRef.objectApiName = mutatedListRef.objectApiName.toLowerCase();
8506
+ mutatedListRef.listViewApiName = mutatedListRef.listViewApiName
8507
+ ? mutatedListRef.listViewApiName.toLowerCase()
8508
+ : mutatedListRef.listViewApiName;
8509
+ const key = keyBuilder$3o(luvio, { ...mutatedListRef });
8479
8510
  return storeLookup({
8480
8511
  recordId: key,
8481
8512
  node: {
@@ -8489,7 +8520,7 @@ function getListInfo(luvio, listRef, storeLookup) {
8489
8520
  }
8490
8521
  function buildDefaultsKey(listRef) {
8491
8522
  const { objectApiName, listViewApiName } = listRef;
8492
- return `defaults::${objectApiName}:${listViewApiName}`;
8523
+ return `defaults::${objectApiName.toLowerCase()}:${listViewApiName ? listViewApiName.toLowerCase() : listViewApiName}`;
8493
8524
  }
8494
8525
  /**
8495
8526
  * Update the default values based on a server response.
@@ -8650,9 +8681,11 @@ function setContext$1(adapterContext) {
8650
8681
  context$1 = adapterContext;
8651
8682
  }
8652
8683
  function keyBuilder$3c(luvio, params) {
8684
+ // lists data can now be fetched using case insensitive urlParams therefore
8685
+ // also changing contextStore to use lowercase caching
8653
8686
  const query = {
8654
- objectApiName: params.urlParams.objectApiName,
8655
- listViewApiName: params.urlParams.listViewApiName,
8687
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
8688
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
8656
8689
  };
8657
8690
  // Fetch listReference from internal store to better ensure a cache hit regardless of listViewApiName or listViewId
8658
8691
  const listReference = getListReference(query, context$1);
@@ -8662,8 +8695,10 @@ function keyBuilder$3c(luvio, params) {
8662
8695
  const defaults = getServerDefaults(config, context$1);
8663
8696
  // Use default values when sortBy is undefined or an empty Array []
8664
8697
  return keyBuilder$3k(luvio, {
8665
- objectApiName: listReference.objectApiName,
8666
- listViewApiName: listReference.listViewApiName,
8698
+ objectApiName: listReference.objectApiName.toLowerCase(),
8699
+ listViewApiName: listReference.listViewApiName
8700
+ ? listReference.listViewApiName.toLowerCase()
8701
+ : listReference.listViewApiName,
8667
8702
  // # removing listViewId from key only supporing getting records using api name
8668
8703
  // listViewId: listReference.id,
8669
8704
  searchTerm: params.body.searchTerm || null,
@@ -8676,8 +8711,8 @@ function keyBuilder$3c(luvio, params) {
8676
8711
  // If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
8677
8712
  // Assuming that listViewId is empty and continue on
8678
8713
  return keyBuilder$3k(luvio, {
8679
- objectApiName: params.urlParams.objectApiName,
8680
- listViewApiName: params.urlParams.listViewApiName,
8714
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
8715
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
8681
8716
  // # removing listViewId from key only supporing getting records using api name
8682
8717
  // listViewId: '',
8683
8718
  searchTerm: params.body.searchTerm || null,
@@ -9895,8 +9930,10 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
9895
9930
  searchTerm: null,
9896
9931
  where: null,
9897
9932
  sortBy: config.sortBy === undefined ? null : config.sortBy,
9898
- objectApiName: listInfo.listReference.objectApiName,
9899
- listViewApiName: listInfo.listReference.listViewApiName,
9933
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
9934
+ listViewApiName: listInfo.listReference.listViewApiName
9935
+ ? listInfo.listReference.listViewApiName.toLowerCase()
9936
+ : listInfo.listReference.listViewApiName,
9900
9937
  });
9901
9938
  const selector = {
9902
9939
  recordId: paginationKey,
@@ -9943,8 +9980,10 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
9943
9980
  searchTerm: null,
9944
9981
  where: null,
9945
9982
  sortBy: body.sortBy,
9946
- objectApiName: listInfo.listReference.objectApiName,
9947
- listViewApiName: listInfo.listReference.listViewApiName,
9983
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
9984
+ listViewApiName: listInfo.listReference.listViewApiName
9985
+ ? listInfo.listReference.listViewApiName.toLowerCase()
9986
+ : listInfo.listReference.listViewApiName,
9948
9987
  }), ingest$1_, body);
9949
9988
  const snapshot = buildCachedSnapshot$8(luvio, luvio.storeLookup.bind(luvio), config, listInfo, fields);
9950
9989
  return luvio.storeBroadcast().then(() => snapshot);
@@ -9992,7 +10031,7 @@ function buildCachedListInfoSnapshot$1(context, storeLookup, luvio) {
9992
10031
  return getListInfo(luvio, {
9993
10032
  id: null,
9994
10033
  listViewApiName: null,
9995
- objectApiName: config.objectApiName,
10034
+ objectApiName: config.objectApiName.toLowerCase(),
9996
10035
  type: 'mru',
9997
10036
  }, storeLookup);
9998
10037
  }
@@ -10278,8 +10317,10 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
10278
10317
  searchTerm: null,
10279
10318
  where: null,
10280
10319
  sortBy: getSortBy(config, context),
10281
- objectApiName: listInfo.listReference.objectApiName,
10282
- listViewApiName: listInfo.listReference.listViewApiName,
10320
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
10321
+ listViewApiName: listInfo.listReference.listViewApiName
10322
+ ? listInfo.listReference.listViewApiName.toLowerCase()
10323
+ : listInfo.listReference.listViewApiName,
10283
10324
  });
10284
10325
  const selector = {
10285
10326
  recordId: paginationKey,
@@ -10329,8 +10370,10 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
10329
10370
  searchTerm: null,
10330
10371
  where: null,
10331
10372
  sortBy: body.sortBy,
10332
- objectApiName: listInfo.listReference.objectApiName,
10333
- listViewApiName: listInfo.listReference.listViewApiName,
10373
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
10374
+ listViewApiName: listInfo.listReference.listViewApiName
10375
+ ? listInfo.listReference.listViewApiName.toLowerCase()
10376
+ : listInfo.listReference.listViewApiName,
10334
10377
  }), ingest$1_, body);
10335
10378
  const snapshot = buildCachedSnapshot$7(luvio, luvio.storeLookup.bind(luvio), context, config, listInfo, fields);
10336
10379
  releaseKeys();
@@ -13643,8 +13686,14 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
13643
13686
  // We automatically set the type based on the listViewApiName, and we need to do the same
13644
13687
  // here for key matching and validation
13645
13688
  configs.forEach((config) => {
13689
+ config.listViewApiName = config.listViewApiName
13690
+ ? config.listViewApiName.toLowerCase()
13691
+ : config.listViewApiName;
13692
+ config.objectApiName = config.objectApiName
13693
+ ? config.objectApiName.toLowerCase()
13694
+ : config.objectApiName;
13646
13695
  if (!config.type) {
13647
- config.type = config.listViewApiName === '__Recent' ? 'mru' : 'listView';
13696
+ config.type = config.listViewApiName === '__recent' ? 'mru' : 'listView';
13648
13697
  }
13649
13698
  });
13650
13699
  return generated_notifyUpdateAvailable(configs);
@@ -20031,9 +20080,9 @@ const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUse
20031
20080
 
20032
20081
  function keyBuilder$2n(luvio, params) {
20033
20082
  return keyBuilder$3o(luvio, {
20034
- objectApiName: params.urlParams.objectApiName,
20035
- listViewApiName: params.urlParams.listViewApiName,
20036
- type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
20083
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
20084
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
20085
+ type: params.urlParams.listViewApiName.toLowerCase() === '__recent' ? 'mru' : 'listView',
20037
20086
  });
20038
20087
  }
20039
20088
 
@@ -48361,6 +48410,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
48361
48410
  return sharedGetFragmentType(fragment, fragmentMap);
48362
48411
  }
48363
48412
 
48413
+ function getFieldType$b(field) {
48414
+ const fieldName = field.name.value;
48415
+ switch (fieldName) {
48416
+ case '__typename': {
48417
+ return {
48418
+ isArray: false,
48419
+ typename: 'String',
48420
+ };
48421
+ }
48422
+ /*
48423
+ Probably should use metaschema like the RecordQuery graphql-artifact,
48424
+ but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
48425
+ is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
48426
+ query authors don't need to use metaschema when there's no real decision point in this type.
48427
+ */
48428
+ default:
48429
+ return {
48430
+ isArray: false,
48431
+ typename: 'Setup__SetupConnection',
48432
+ };
48433
+ }
48434
+ }
48435
+
48364
48436
  const name$2 = 'Setup__SetupQuery';
48365
48437
  const VERSION$e = 'b89cccb5fa5e458d89dc1137af3e5469';
48366
48438
  function keyBuilder$g(luvio, path, data) {
@@ -48478,24 +48550,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
48478
48550
  }
48479
48551
  // Deal with mapped types' cache keys
48480
48552
  }
48481
- function getFieldType$b(field) {
48482
- switch (field.name.value) {
48483
- case '__typename': {
48484
- return {
48485
- isArray: false,
48486
- typename: 'String'
48487
- };
48488
- }
48489
- case 'recordQuery': {
48490
- return {
48491
- isArray: false,
48492
- typename: 'Setup__SetupConnection'
48493
- };
48494
- }
48495
- default:
48496
- return undefined;
48497
- }
48498
- }
48499
48553
  function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
48500
48554
  // TODO: add validation logic to only allow nullable fields to be null in the future
48501
48555
  if (fieldData === null) {
@@ -55692,4 +55746,4 @@ ensureRegisteredOnce({
55692
55746
  instrument,
55693
55747
  });
55694
55748
 
55695
- export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$S as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$Z as RecordRepresentationRepresentationType, TTL$E as RecordRepresentationTTL, RepresentationType$Z as RecordRepresentationType, VERSION$2o as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, getFieldApiNamesArray as coerceFieldIdArray, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPathLayoutAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$24 as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1D as ingestDuplicateConfiguration, ingest$1x as ingestDuplicatesRepresentation, ingest$22 as ingestListInfo, ingest$1_ as ingestListRecords, ingest$1U as ingestObjectInfo, ingest$1O as ingestQuickActionExecutionRepresentation, ingest$1$ as ingestRecord, ingest$1R as ingestRecordUi, ingest$1p as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1m as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1o as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$36 as keyBuilderObjectInfo, keyBuilder$2$ as keyBuilderQuickActionExecutionRepresentation, keyBuilder$3n as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, registerPrefetcher, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, updateListPreferencesAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
55749
+ export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$S as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$Z as RecordRepresentationRepresentationType, TTL$E as RecordRepresentationTTL, RepresentationType$Z as RecordRepresentationType, VERSION$2o as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, createRelatedListAdapterWithPrediction, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPathLayoutAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$24 as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1D as ingestDuplicateConfiguration, ingest$1x as ingestDuplicatesRepresentation, ingest$22 as ingestListInfo, ingest$1_ as ingestListRecords, ingest$1U as ingestObjectInfo, ingest$1O as ingestQuickActionExecutionRepresentation, ingest$1$ as ingestRecord, ingest$1R as ingestRecordUi, ingest$1p as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1m as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1o as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$36 as keyBuilderObjectInfo, keyBuilder$2$ as keyBuilderQuickActionExecutionRepresentation, keyBuilder$3n as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, registerPrefetcher, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, updateListPreferencesAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.286.0",
3
+ "version": "1.287.0-dev10",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/es/es2018/uiapi-records-service.js",
@@ -68,14 +68,14 @@
68
68
  }
69
69
  },
70
70
  "dependencies": {
71
- "@salesforce/lds-bindings": "^1.286.0",
72
- "@salesforce/lds-default-luvio": "^1.286.0"
71
+ "@salesforce/lds-bindings": "^1.287.0-dev10",
72
+ "@salesforce/lds-default-luvio": "^1.287.0-dev10"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@databases/sqlite": "^3.0.0",
76
- "@salesforce/lds-compiler-plugins": "^1.286.0",
77
- "@salesforce/lds-jest": "^1.286.0",
78
- "@salesforce/lds-store-binary": "^1.286.0"
76
+ "@salesforce/lds-compiler-plugins": "^1.287.0-dev10",
77
+ "@salesforce/lds-jest": "^1.287.0-dev10",
78
+ "@salesforce/lds-store-binary": "^1.287.0-dev10"
79
79
  },
80
80
  "luvioBundlesize": [
81
81
  {
@@ -16041,6 +16041,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
16041
16041
  return sharedGetFragmentType(fragment, fragmentMap);
16042
16042
  }
16043
16043
 
16044
+ function getFieldType$b(field) {
16045
+ const fieldName = field.name.value;
16046
+ switch (fieldName) {
16047
+ case '__typename': {
16048
+ return {
16049
+ isArray: false,
16050
+ typename: 'String',
16051
+ };
16052
+ }
16053
+ /*
16054
+ Probably should use metaschema like the RecordQuery graphql-artifact,
16055
+ but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
16056
+ is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
16057
+ query authors don't need to use metaschema when there's no real decision point in this type.
16058
+ */
16059
+ default:
16060
+ return {
16061
+ isArray: false,
16062
+ typename: 'Setup__SetupConnection',
16063
+ };
16064
+ }
16065
+ }
16066
+
16044
16067
  const name$2 = 'Setup__SetupQuery';
16045
16068
  const VERSION$a = 'b89cccb5fa5e458d89dc1137af3e5469';
16046
16069
  function keyBuilder$6(luvio, path, data) {
@@ -16158,24 +16181,6 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
16158
16181
  }
16159
16182
  // Deal with mapped types' cache keys
16160
16183
  }
16161
- function getFieldType$b(field) {
16162
- switch (field.name.value) {
16163
- case '__typename': {
16164
- return {
16165
- isArray: false,
16166
- typename: 'String'
16167
- };
16168
- }
16169
- case 'recordQuery': {
16170
- return {
16171
- isArray: false,
16172
- typename: 'Setup__SetupConnection'
16173
- };
16174
- }
16175
- default:
16176
- return undefined;
16177
- }
16178
- }
16179
16184
  function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
16180
16185
  // TODO: add validation logic to only allow nullable fields to be null in the future
16181
16186
  if (fieldData === null) {
@@ -18594,6 +18599,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
18594
18599
  * One store enabled Get Object Infos adapter
18595
18600
  */
18596
18601
  let oneStoreGetObjectInfosAdapter = undefined;
18602
+ /**
18603
+ * Determines when to include PDL strategies for Related Lists
18604
+ */
18605
+ let relatedListsPredictionsEnabled = false;
18597
18606
  /**
18598
18607
  * Defines the configuration API and is exposed internally as well as externally.
18599
18608
  * Configuration for one store enabled REST adapters only.
@@ -18669,6 +18678,12 @@ const configurationForRestAdapters = {
18669
18678
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
18670
18679
  return draftAwareCreateContentDocumentAndVersionAdapter;
18671
18680
  },
18681
+ setRelatedListsPredictionsEnabled: function (f) {
18682
+ relatedListsPredictionsEnabled = f;
18683
+ },
18684
+ areRelatedListsPredictionsEnabled: function () {
18685
+ return relatedListsPredictionsEnabled === true;
18686
+ },
18672
18687
  // createContentVersion
18673
18688
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
18674
18689
  draftAwareCreateContentVersionAdapter = adapter;
@@ -19729,4 +19744,4 @@ register({
19729
19744
  });
19730
19745
 
19731
19746
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
19732
- // version: 1.286.0-27bef7c46
19747
+ // version: 1.287.0-dev10-32adad9f2
package/sfdc/index.js CHANGED
@@ -122,6 +122,10 @@ let oneStoreGetObjectInfoAdapter = undefined;
122
122
  * One store enabled Get Object Infos adapter
123
123
  */
124
124
  let oneStoreGetObjectInfosAdapter = undefined;
125
+ /**
126
+ * Determines when to include PDL strategies for Related Lists
127
+ */
128
+ let relatedListsPredictionsEnabled = false;
125
129
  /**
126
130
  * Defines the configuration API and is exposed internally as well as externally.
127
131
  * Configuration for one store enabled REST adapters only.
@@ -206,6 +210,12 @@ const configurationForRestAdapters = {
206
210
  getDraftAwareCreateContentDocumentAndVersionAdapter: function () {
207
211
  return draftAwareCreateContentDocumentAndVersionAdapter;
208
212
  },
213
+ setRelatedListsPredictionsEnabled: function (f) {
214
+ relatedListsPredictionsEnabled = f;
215
+ },
216
+ areRelatedListsPredictionsEnabled: function () {
217
+ return relatedListsPredictionsEnabled === true;
218
+ },
209
219
  // createContentVersion
210
220
  setDraftAwareCreateContentVersionAdapter: function (adapter) {
211
221
  draftAwareCreateContentVersionAdapter = adapter;
@@ -330,6 +340,16 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
330
340
  return result;
331
341
  };
332
342
  }
343
+ function createRelatedListAdapterWithPrediction(adapter, luvio, name) {
344
+ if (configurationForRestAdapters.areRelatedListsPredictionsEnabled() /* gate is open */) {
345
+ return createLDSAdapterWithPrediction(adapter, luvio, name);
346
+ }
347
+ else {
348
+ return (config, requestContext) => {
349
+ return adapter(config, requestContext);
350
+ };
351
+ }
352
+ }
333
353
 
334
354
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
335
355
  const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
@@ -1568,6 +1588,17 @@ function getTypeCacheKeys$Z(rootKeySet, luvio, input, fullPathFactory) {
1568
1588
  });
1569
1589
  }
1570
1590
 
1591
+ const keyBuilderFromType$E = function ListInfoRepresentationKeyBuilderFromType(luvio, object) {
1592
+ const keyParams = {
1593
+ listViewApiName: object.listReference.listViewApiName
1594
+ ? object.listReference.listViewApiName.toLowerCase()
1595
+ : object.listReference.listViewApiName,
1596
+ objectApiName: object.listReference.objectApiName.toLowerCase(),
1597
+ type: object.listReference.type,
1598
+ };
1599
+ return keyBuilder$27(luvio, keyParams);
1600
+ };
1601
+
1571
1602
  const TTL$A = 900000;
1572
1603
  const VERSION$1e = "c658fe1591386d570e214eaed0daadd1";
1573
1604
  function validate$1T(obj, path = 'ListInfoRepresentation') {
@@ -1796,14 +1827,6 @@ const RepresentationType$X = 'ListInfoRepresentation';
1796
1827
  function keyBuilder$27(luvio, config) {
1797
1828
  return keyPrefix + '::' + RepresentationType$X + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
1798
1829
  }
1799
- function keyBuilderFromType$E(luvio, object) {
1800
- const keyParams = {
1801
- listViewApiName: object.listReference.listViewApiName,
1802
- objectApiName: object.listReference.objectApiName,
1803
- type: object.listReference.type
1804
- };
1805
- return keyBuilder$27(luvio, keyParams);
1806
- }
1807
1830
  function normalize$Q(input, existing, path, luvio, store, timestamp) {
1808
1831
  const input_displayColumns = input.displayColumns;
1809
1832
  const input_displayColumns_id = path.fullPath + '__displayColumns';
@@ -6338,6 +6361,19 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
6338
6361
  return [tokenResult, offsetResult];
6339
6362
  }
6340
6363
 
6364
+ const keyBuilderFromType$B = function ListRecordCollectionRepresentationKeyBuilderFromType(luvio, object) {
6365
+ const keyParams = {
6366
+ objectApiName: object.listReference.objectApiName.toLowerCase(),
6367
+ searchTerm: object.searchTerm,
6368
+ sortBy: object.sortBy,
6369
+ where: object.where,
6370
+ listViewApiName: object.listReference.listViewApiName
6371
+ ? object.listReference.listViewApiName.toLowerCase()
6372
+ : object.listReference.listViewApiName,
6373
+ };
6374
+ return keyBuilder$23(luvio, keyParams);
6375
+ };
6376
+
6341
6377
  const TTL$x = 30000;
6342
6378
  const VERSION$18 = "e5c90c4081cd557f8ffec53028ede1e8";
6343
6379
  function validate$1O(obj, path = 'ListRecordCollectionRepresentation') {
@@ -6631,16 +6667,6 @@ const RepresentationType$T = 'ListRecordCollectionRepresentation';
6631
6667
  function keyBuilder$23(luvio, config) {
6632
6668
  return keyPrefix + '::' + RepresentationType$T + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
6633
6669
  }
6634
- function keyBuilderFromType$B(luvio, object) {
6635
- const keyParams = {
6636
- objectApiName: object.listReference.objectApiName,
6637
- searchTerm: object.searchTerm,
6638
- sortBy: object.sortBy,
6639
- where: object.where,
6640
- listViewApiName: object.listReference.listViewApiName
6641
- };
6642
- return keyBuilder$23(luvio, keyParams);
6643
- }
6644
6670
  function paginationKeyBuilder(luvio, config) {
6645
6671
  return keyBuilder$23(luvio, config) + '__pagination';
6646
6672
  }
@@ -7964,8 +7990,8 @@ const LIST_SUMMARY_PREFIX = keyPrefix + '::' + RepresentationType$Q;
7964
7990
  let listRecordCollectionCache = new Map();
7965
7991
  let listSummaryCollectionCache = new Map();
7966
7992
  function getListRecordCollectionKeys(objectApiName, listViewApiName) {
7967
- const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName) || new Map();
7968
- const keys = cacheEntriesByObjectApiName.get(listViewApiName) || [];
7993
+ const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName.toLowerCase()) || new Map();
7994
+ const keys = cacheEntriesByObjectApiName.get(listViewApiName.toLowerCase()) || [];
7969
7995
  return [...keys];
7970
7996
  }
7971
7997
  function getListSummaryCollectionKeys(objectApiName, recentLists = undefined) {
@@ -7997,8 +8023,8 @@ function addListSummaryCollectionKey(objectApiName, recentLists, key) {
7997
8023
  keys.add(key);
7998
8024
  }
7999
8025
  function removeListRecordCollectionKeys(objectApiName, listViewApiName) {
8000
- const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName) || new Map();
8001
- cacheEntriesByObjectApiName.delete(listViewApiName);
8026
+ const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName.toLowerCase()) || new Map();
8027
+ cacheEntriesByObjectApiName.delete(listViewApiName.toLowerCase());
8002
8028
  }
8003
8029
  function removeListSummaryCollectionKeys(objectApiName, recentLists = undefined) {
8004
8030
  const cacheEntriesByObjectApiName = listSummaryCollectionCache.get(objectApiName) || new Map();
@@ -8050,7 +8076,7 @@ function buildListRefByIdContextKey(listViewId) {
8050
8076
  return `listReferenceById::${listViewId}`;
8051
8077
  }
8052
8078
  function buildListRefByApiNameContextKey(objectApiName, listViewApiName) {
8053
- return `listReferenceByApiName::${objectApiName}:${listViewApiName}`;
8079
+ return `listReferenceByApiName::${objectApiName.toLowerCase()}:${listViewApiName.toLowerCase()}`;
8054
8080
  }
8055
8081
  /**
8056
8082
  * Adds a list reference so it can be retrieved with #getListReference later.
@@ -8106,7 +8132,12 @@ const LIST_INFO_SELECTIONS_ETAG = [
8106
8132
  * @param luvio Luvio
8107
8133
  */
8108
8134
  function getListInfo(luvio, listRef, storeLookup) {
8109
- const key = keyBuilder$27(luvio, { ...listRef });
8135
+ let mutatedListRef = { ...listRef };
8136
+ mutatedListRef.objectApiName = mutatedListRef.objectApiName.toLowerCase();
8137
+ mutatedListRef.listViewApiName = mutatedListRef.listViewApiName
8138
+ ? mutatedListRef.listViewApiName.toLowerCase()
8139
+ : mutatedListRef.listViewApiName;
8140
+ const key = keyBuilder$27(luvio, { ...mutatedListRef });
8110
8141
  return storeLookup({
8111
8142
  recordId: key,
8112
8143
  node: {
@@ -8120,7 +8151,7 @@ function getListInfo(luvio, listRef, storeLookup) {
8120
8151
  }
8121
8152
  function buildDefaultsKey(listRef) {
8122
8153
  const { objectApiName, listViewApiName } = listRef;
8123
- return `defaults::${objectApiName}:${listViewApiName}`;
8154
+ return `defaults::${objectApiName.toLowerCase()}:${listViewApiName ? listViewApiName.toLowerCase() : listViewApiName}`;
8124
8155
  }
8125
8156
  /**
8126
8157
  * Update the default values based on a server response.
@@ -8295,9 +8326,11 @@ function setContext$1(adapterContext) {
8295
8326
  context$1 = adapterContext;
8296
8327
  }
8297
8328
  function keyBuilder$1$(luvio, params) {
8329
+ // lists data can now be fetched using case insensitive urlParams therefore
8330
+ // also changing contextStore to use lowercase caching
8298
8331
  const query = {
8299
- objectApiName: params.urlParams.objectApiName,
8300
- listViewApiName: params.urlParams.listViewApiName,
8332
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
8333
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
8301
8334
  };
8302
8335
  // Fetch listReference from internal store to better ensure a cache hit regardless of listViewApiName or listViewId
8303
8336
  const listReference = getListReference(query, context$1);
@@ -8307,8 +8340,10 @@ function keyBuilder$1$(luvio, params) {
8307
8340
  const defaults = getServerDefaults(config, context$1);
8308
8341
  // Use default values when sortBy is undefined or an empty Array []
8309
8342
  return keyBuilder$23(luvio, {
8310
- objectApiName: listReference.objectApiName,
8311
- listViewApiName: listReference.listViewApiName,
8343
+ objectApiName: listReference.objectApiName.toLowerCase(),
8344
+ listViewApiName: listReference.listViewApiName
8345
+ ? listReference.listViewApiName.toLowerCase()
8346
+ : listReference.listViewApiName,
8312
8347
  // # removing listViewId from key only supporing getting records using api name
8313
8348
  // listViewId: listReference.id,
8314
8349
  searchTerm: params.body.searchTerm || null,
@@ -8321,8 +8356,8 @@ function keyBuilder$1$(luvio, params) {
8321
8356
  // If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
8322
8357
  // Assuming that listViewId is empty and continue on
8323
8358
  return keyBuilder$23(luvio, {
8324
- objectApiName: params.urlParams.objectApiName,
8325
- listViewApiName: params.urlParams.listViewApiName,
8359
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
8360
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
8326
8361
  // # removing listViewId from key only supporing getting records using api name
8327
8362
  // listViewId: '',
8328
8363
  searchTerm: params.body.searchTerm || null,
@@ -9540,8 +9575,10 @@ function prepareRequest_getMruListRecords(luvio, config, listInfo, snapshot) {
9540
9575
  searchTerm: null,
9541
9576
  where: null,
9542
9577
  sortBy: config.sortBy === undefined ? null : config.sortBy,
9543
- objectApiName: listInfo.listReference.objectApiName,
9544
- listViewApiName: listInfo.listReference.listViewApiName,
9578
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
9579
+ listViewApiName: listInfo.listReference.listViewApiName
9580
+ ? listInfo.listReference.listViewApiName.toLowerCase()
9581
+ : listInfo.listReference.listViewApiName,
9545
9582
  });
9546
9583
  const selector = {
9547
9584
  recordId: paginationKey,
@@ -9588,8 +9625,10 @@ function onResourceSuccess_getMruListRecords(luvio, config, listInfo, response)
9588
9625
  searchTerm: null,
9589
9626
  where: null,
9590
9627
  sortBy: body.sortBy,
9591
- objectApiName: listInfo.listReference.objectApiName,
9592
- listViewApiName: listInfo.listReference.listViewApiName,
9628
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
9629
+ listViewApiName: listInfo.listReference.listViewApiName
9630
+ ? listInfo.listReference.listViewApiName.toLowerCase()
9631
+ : listInfo.listReference.listViewApiName,
9593
9632
  }), ingest$M, body);
9594
9633
  const snapshot = buildCachedSnapshot$8(luvio, luvio.storeLookup.bind(luvio), config, listInfo, fields);
9595
9634
  return luvio.storeBroadcast().then(() => snapshot);
@@ -9637,7 +9676,7 @@ function buildCachedListInfoSnapshot$1(context, storeLookup, luvio) {
9637
9676
  return getListInfo(luvio, {
9638
9677
  id: null,
9639
9678
  listViewApiName: null,
9640
- objectApiName: config.objectApiName,
9679
+ objectApiName: config.objectApiName.toLowerCase(),
9641
9680
  type: 'mru',
9642
9681
  }, storeLookup);
9643
9682
  }
@@ -9923,8 +9962,10 @@ function prepareRequest_getListRecords(luvio, context, config, listInfo, snapsho
9923
9962
  searchTerm: null,
9924
9963
  where: null,
9925
9964
  sortBy: getSortBy(config, context),
9926
- objectApiName: listInfo.listReference.objectApiName,
9927
- listViewApiName: listInfo.listReference.listViewApiName,
9965
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
9966
+ listViewApiName: listInfo.listReference.listViewApiName
9967
+ ? listInfo.listReference.listViewApiName.toLowerCase()
9968
+ : listInfo.listReference.listViewApiName,
9928
9969
  });
9929
9970
  const selector = {
9930
9971
  recordId: paginationKey,
@@ -9974,8 +10015,10 @@ function onResourceSuccess_getListRecords(luvio, context, config, listInfo, resp
9974
10015
  searchTerm: null,
9975
10016
  where: null,
9976
10017
  sortBy: body.sortBy,
9977
- objectApiName: listInfo.listReference.objectApiName,
9978
- listViewApiName: listInfo.listReference.listViewApiName,
10018
+ objectApiName: listInfo.listReference.objectApiName.toLowerCase(),
10019
+ listViewApiName: listInfo.listReference.listViewApiName
10020
+ ? listInfo.listReference.listViewApiName.toLowerCase()
10021
+ : listInfo.listReference.listViewApiName,
9979
10022
  }), ingest$M, body);
9980
10023
  const snapshot = buildCachedSnapshot$7(luvio, luvio.storeLookup.bind(luvio), context, config, listInfo, fields);
9981
10024
  releaseKeys();
@@ -13288,8 +13331,14 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
13288
13331
  // We automatically set the type based on the listViewApiName, and we need to do the same
13289
13332
  // here for key matching and validation
13290
13333
  configs.forEach((config) => {
13334
+ config.listViewApiName = config.listViewApiName
13335
+ ? config.listViewApiName.toLowerCase()
13336
+ : config.listViewApiName;
13337
+ config.objectApiName = config.objectApiName
13338
+ ? config.objectApiName.toLowerCase()
13339
+ : config.objectApiName;
13291
13340
  if (!config.type) {
13292
- config.type = config.listViewApiName === '__Recent' ? 'mru' : 'listView';
13341
+ config.type = config.listViewApiName === '__recent' ? 'mru' : 'listView';
13293
13342
  }
13294
13343
  });
13295
13344
  return generated_notifyUpdateAvailable(configs);
@@ -19539,9 +19588,9 @@ const getLayoutUserStateAdapterFactory = (luvio) => function UiApi__getLayoutUse
19539
19588
 
19540
19589
  function keyBuilder$1c(luvio, params) {
19541
19590
  return keyBuilder$27(luvio, {
19542
- objectApiName: params.urlParams.objectApiName,
19543
- listViewApiName: params.urlParams.listViewApiName,
19544
- type: params.urlParams.listViewApiName === '__Recent' ? 'mru' : 'listView',
19591
+ objectApiName: params.urlParams.objectApiName.toLowerCase(),
19592
+ listViewApiName: params.urlParams.listViewApiName.toLowerCase(),
19593
+ type: params.urlParams.listViewApiName.toLowerCase() === '__recent' ? 'mru' : 'listView',
19545
19594
  });
19546
19595
  }
19547
19596
 
@@ -36632,13 +36681,13 @@ function bindExportsTo(luvio) {
36632
36681
  const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), getRelatedListActionsMetadata);
36633
36682
  const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
36634
36683
  const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), getRelatedListInfoMetadata);
36635
- const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
36684
+ const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
36636
36685
  const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
36637
36686
  const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
36638
36687
  const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
36639
- const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
36640
- const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
36641
- const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
36688
+ const getRelatedListRecords_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecords', getRelatedListRecordsAdapterFactory), luvio, 'getRelatedListRecords'), getRelatedListRecordsMetadata);
36689
+ const getRelatedListRecordsBatch_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListRecordsBatch', getRelatedListRecordsBatchAdapterFactory), luvio, 'getRelatedListRecordsBatch'), getRelatedListRecordsBatchMetadata);
36690
+ const getRelatedListsActions_ldsAdapter = createInstrumentedAdapter(createRelatedListAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListsActions', getRelatedListsActionsAdapterFactory), luvio, 'getRelatedListsActions'), getRelatedListsActionsMetadata);
36642
36691
  const getRelatedListsCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsCount', getRelatedListsCountAdapterFactory), getRelatedListsCountMetadata);
36643
36692
  const getRelatedListsInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListsInfo', getRelatedListsInfoAdapterFactory), getRelatedListsInfoMetadata);
36644
36693
  const getSearchFilterMetadata_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getSearchFilterMetadata', getSearchFilterMetadataAdapterFactory), getSearchFilterMetadataMetadata);
@@ -36979,5 +37028,5 @@ withDefaultLuvio((luvio) => {
36979
37028
  notifyAllListInfoSummaryUpdateAvailable = throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
36980
37029
  });
36981
37030
 
36982
- export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$U as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$U as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$W as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$N as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$1V as keyBuilderObjectInfo, keyBuilder$1O as keyBuilderQuickActionExecutionRepresentation, keyBuilder$26 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
36983
- // version: 1.286.0-27bef7c46
37031
+ export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$U as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$U as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$W as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$N as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$1V as keyBuilderObjectInfo, keyBuilder$1O as keyBuilderQuickActionExecutionRepresentation, keyBuilder$26 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
37032
+ // version: 1.287.0-dev10-32adad9f2
@@ -95,7 +95,7 @@ var TypeCheckShapes;
95
95
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
96
96
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
97
97
  })(TypeCheckShapes || (TypeCheckShapes = {}));
98
- // engine version: 0.154.16-5cc35392
98
+ // engine version: 0.154.17-dev2-5c176528
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101