@salesforce/lds-worker-api 1.274.0 → 1.276.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.
@@ -879,6 +879,9 @@ class StringKeyInMemoryStore {
879
879
  const canonicalKey = this.getCanonicalRecordId(key);
880
880
  delete this.records[canonicalKey];
881
881
  }
882
+ keyExistsInStore(key) {
883
+ return this.records[key] !== undefined;
884
+ }
882
885
  publishMetadata(key, storeMetadata) {
883
886
  this.putMetadata(key, storeMetadata, true);
884
887
  const canonicalKey = this.getCanonicalRecordId(key);
@@ -984,7 +987,7 @@ class StringKeyInMemoryStore {
984
987
  // is already in L1 prior to ingestion
985
988
  stagingStore.readEntry = (key) => {
986
989
  const entry = originalReadEntry(key);
987
- if (!entry) {
990
+ if (entry === undefined) {
988
991
  return upstreamStore.readEntry(key);
989
992
  }
990
993
  return entry;
@@ -1589,6 +1592,12 @@ class InMemoryStore {
1589
1592
  const canonicalKey = this.getCanonicalRecordId(key);
1590
1593
  this.recordsMap.delete(canonicalKey);
1591
1594
  }
1595
+ keyExistsInStore(key) {
1596
+ if (typeof key === 'string') {
1597
+ return this.fallbackStringKeyInMemoryStore.keyExistsInStore(key);
1598
+ }
1599
+ return this.recordsMap.get(key) !== undefined;
1600
+ }
1592
1601
  publishMetadata(key, storeMetadata) {
1593
1602
  if (typeof key === 'string') {
1594
1603
  this.fallbackStringKeyInMemoryStore.publishMetadata(key, storeMetadata);
@@ -3374,6 +3383,9 @@ class Environment {
3374
3383
  storeRetain(keys) {
3375
3384
  return this.store.retain(keys);
3376
3385
  }
3386
+ storeKeyExists(key) {
3387
+ return this.store.keyExistsInStore(key);
3388
+ }
3377
3389
  snapshotAvailable(snapshot) {
3378
3390
  return (isFulfilledSnapshot$2(snapshot) || isErrorSnapshot$3(snapshot) || isStaleSnapshot$2(snapshot));
3379
3391
  }
@@ -4016,7 +4028,7 @@ function createResourceParamsImpl(config, configMetadata) {
4016
4028
  }
4017
4029
  return resourceParams;
4018
4030
  }
4019
- // engine version: 0.154.9-68ce3623
4031
+ // engine version: 0.154.12-43ac02c6
4020
4032
 
4021
4033
  /**
4022
4034
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4144,7 +4156,7 @@ function withDefaultLuvio(callback) {
4144
4156
  }
4145
4157
  callbacks.push(callback);
4146
4158
  }
4147
- // version: 1.274.0-67da496e8
4159
+ // version: 1.276.0-dcebc4076
4148
4160
 
4149
4161
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4150
4162
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15652,7 +15664,7 @@ function gql(literals, ...subs) {
15652
15664
  }
15653
15665
  return superResult;
15654
15666
  }
15655
- // version: 1.274.0-67da496e8
15667
+ // version: 1.276.0-dcebc4076
15656
15668
 
15657
15669
  function unwrap(data) {
15658
15670
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16577,7 +16589,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16577
16589
  const { apiFamily, name } = metadata;
16578
16590
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16579
16591
  }
16580
- // version: 1.274.0-67da496e8
16592
+ // version: 1.276.0-dcebc4076
16581
16593
 
16582
16594
  /**
16583
16595
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16676,7 +16688,7 @@ var TypeCheckShapes;
16676
16688
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
16677
16689
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
16678
16690
  })(TypeCheckShapes || (TypeCheckShapes = {}));
16679
- // engine version: 0.154.9-68ce3623
16691
+ // engine version: 0.154.12-43ac02c6
16680
16692
 
16681
16693
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16682
16694
 
@@ -22241,6 +22253,461 @@ function createResourceRequest$15(config) {
22241
22253
  };
22242
22254
  }
22243
22255
 
22256
+ const VERSION$16$1 = "0b29241fd9ed04bb61fde26b3f558ac4";
22257
+ const RepresentationType$R = 'ListInfoSummaryRepresentation';
22258
+ function keyBuilder$1$(luvio, config) {
22259
+ return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.id === null ? '' : config.id);
22260
+ }
22261
+ function keyBuilderFromType$z(luvio, object) {
22262
+ const keyParams = {
22263
+ id: object.id
22264
+ };
22265
+ return keyBuilder$1$(luvio, keyParams);
22266
+ }
22267
+ function normalize$K(input, existing, path, luvio, store, timestamp) {
22268
+ return input;
22269
+ }
22270
+ const select$1L = function ListInfoSummaryRepresentationSelect() {
22271
+ return {
22272
+ kind: 'Fragment',
22273
+ version: VERSION$16$1,
22274
+ private: [],
22275
+ selections: [
22276
+ {
22277
+ name: 'apiName',
22278
+ kind: 'Scalar'
22279
+ },
22280
+ {
22281
+ name: 'id',
22282
+ kind: 'Scalar'
22283
+ },
22284
+ {
22285
+ name: 'label',
22286
+ kind: 'Scalar'
22287
+ },
22288
+ {
22289
+ name: 'url',
22290
+ kind: 'Scalar'
22291
+ }
22292
+ ]
22293
+ };
22294
+ };
22295
+ function equals$Y(existing, incoming) {
22296
+ const existing_apiName = existing.apiName;
22297
+ const incoming_apiName = incoming.apiName;
22298
+ if (!(existing_apiName === incoming_apiName)) {
22299
+ return false;
22300
+ }
22301
+ const existing_label = existing.label;
22302
+ const incoming_label = incoming.label;
22303
+ if (!(existing_label === incoming_label)) {
22304
+ return false;
22305
+ }
22306
+ const existing_url = existing.url;
22307
+ const incoming_url = incoming.url;
22308
+ if (!(existing_url === incoming_url)) {
22309
+ return false;
22310
+ }
22311
+ const existing_id = existing.id;
22312
+ const incoming_id = incoming.id;
22313
+ if (!(existing_id === incoming_id)) {
22314
+ return false;
22315
+ }
22316
+ return true;
22317
+ }
22318
+ const ingest$K$1 = function ListInfoSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
22319
+ const key = keyBuilderFromType$z(luvio, input);
22320
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
22321
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$16$1, RepresentationType$R, equals$Y);
22322
+ return createLink$3(key);
22323
+ };
22324
+ function getTypeCacheKeys$R$1(rootKeySet, luvio, input, fullPathFactory) {
22325
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22326
+ const rootKey = keyBuilderFromType$z(luvio, input);
22327
+ rootKeySet.set(rootKey, {
22328
+ namespace: keyPrefix$2,
22329
+ representationName: RepresentationType$R,
22330
+ mergeable: false
22331
+ });
22332
+ }
22333
+
22334
+ const VERSION$15$1 = "d0cadb0927f908b5b64694e1cff0b2d7";
22335
+ const RepresentationType$Q = 'ListInfoSummaryCollectionRepresentation';
22336
+ function keyBuilder$1_(luvio, config) {
22337
+ return keyPrefix$2 + '::' + RepresentationType$Q + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
22338
+ }
22339
+ function keyBuilderFromType$y(luvio, object) {
22340
+ const keyParams = {
22341
+ objectApiName: object.objectApiName,
22342
+ queryString: object.queryString,
22343
+ recentListsOnly: object.recentListsOnly
22344
+ };
22345
+ return keyBuilder$1_(luvio, keyParams);
22346
+ }
22347
+ function normalize$J(input, existing, path, luvio, store, timestamp) {
22348
+ const input_lists = input.lists;
22349
+ const input_lists_id = path.fullPath + '__lists';
22350
+ for (let i = 0; i < input_lists.length; i++) {
22351
+ const input_lists_item = input_lists[i];
22352
+ let input_lists_item_id = input_lists_id + '__' + i;
22353
+ input_lists[i] = ingest$K$1(input_lists_item, {
22354
+ fullPath: input_lists_item_id,
22355
+ propertyName: i,
22356
+ parent: {
22357
+ data: input,
22358
+ key: path.fullPath,
22359
+ existing: existing,
22360
+ },
22361
+ ttl: path.ttl
22362
+ }, luvio, store, timestamp);
22363
+ }
22364
+ return input;
22365
+ }
22366
+ const select$1K = function ListInfoSummaryCollectionRepresentationSelect(paginationParams) {
22367
+ return {
22368
+ kind: 'Fragment',
22369
+ reader: true,
22370
+ synthetic: false,
22371
+ version: VERSION$15$1,
22372
+ read: (source, reader) => {
22373
+ const sink = {};
22374
+ if (paginationParams === undefined) {
22375
+ return sink;
22376
+ }
22377
+ const metadata = reader.resolveMetadata(source, PAGINATION_VERSION$1);
22378
+ const currentPageMetadata = getPageMetadata$2(metadata, paginationParams);
22379
+ const { startOffset, endOffset, metadataProperties } = currentPageMetadata;
22380
+ if (metadata !== undefined && startOffset !== undefined && endOffset !== undefined) {
22381
+ const itemsProperty = 'lists';
22382
+ reader.enterPath(itemsProperty);
22383
+ const itemsSource = source[itemsProperty];
22384
+ const itemsSink = [];
22385
+ const allSink = [];
22386
+ for (let i = startOffset; i < endOffset; i++) {
22387
+ reader.enterPath(i);
22388
+ reader.readSingleLink(i, {
22389
+ name: 'lists',
22390
+ kind: 'Link',
22391
+ fragment: select$1L()
22392
+ }, itemsSource, allSink, i - startOffset);
22393
+ if (reader.getIsDataMissing() === false) {
22394
+ itemsSink[i - startOffset] = allSink[i - startOffset];
22395
+ }
22396
+ reader.exitPath();
22397
+ }
22398
+ reader.exitPath();
22399
+ reader.assignNonScalar(sink, itemsProperty, itemsSink);
22400
+ }
22401
+ reader.enterPath('currentPageToken');
22402
+ reader.readScalar('currentPageToken', metadataProperties, sink);
22403
+ reader.exitPath();
22404
+ reader.enterPath('nextPageToken');
22405
+ reader.readScalar('nextPageToken', metadataProperties, sink);
22406
+ reader.exitPath();
22407
+ reader.enterPath('previousPageToken');
22408
+ reader.readScalar('previousPageToken', metadataProperties, sink);
22409
+ reader.exitPath();
22410
+ reader.enterPath('pageSize');
22411
+ reader.readScalar('pageSize', metadataProperties, sink);
22412
+ reader.exitPath();
22413
+ reader.enterPath('count');
22414
+ reader.readScalar('count', metadataProperties, sink);
22415
+ reader.exitPath();
22416
+ reader.enterPath('objectApiName');
22417
+ reader.readScalar('objectApiName', source, sink);
22418
+ reader.exitPath();
22419
+ reader.enterPath('queryString');
22420
+ reader.readScalar('queryString', source, sink);
22421
+ reader.exitPath();
22422
+ reader.enterPath('recentListsOnly');
22423
+ reader.readScalar('recentListsOnly', source, sink);
22424
+ reader.exitPath();
22425
+ return sink;
22426
+ },
22427
+ };
22428
+ };
22429
+ function getPageMetadata$2(paginationMetadata, paginationParams) {
22430
+ const metadataProperties = {};
22431
+ const sink = {
22432
+ metadataProperties
22433
+ };
22434
+ if (paginationMetadata === undefined) {
22435
+ return sink;
22436
+ }
22437
+ const { token, pageSize } = paginationParams;
22438
+ const pageTokenAndOffset = getPageTokenAndOffset$1(paginationMetadata, token);
22439
+ if (pageTokenAndOffset === undefined) {
22440
+ return sink;
22441
+ }
22442
+ const [pageToken, startOffset] = pageTokenAndOffset;
22443
+ const endOffset = pageEndOffset$1(paginationMetadata, startOffset, pageSize);
22444
+ sink.startOffset = startOffset;
22445
+ sink.endOffset = endOffset;
22446
+ metadataProperties.currentPageToken = pageToken;
22447
+ const nextToken = getNextPageToken$1(paginationMetadata, endOffset);
22448
+ if (nextToken !== undefined) {
22449
+ metadataProperties.nextPageToken = nextToken;
22450
+ }
22451
+ const previousToken = getPreviousPageToken(paginationMetadata, startOffset, pageSize);
22452
+ if (previousToken !== undefined) {
22453
+ metadataProperties.previousPageToken = previousToken;
22454
+ }
22455
+ metadataProperties.pageSize = pageSize;
22456
+ metadataProperties.count = endOffset - startOffset;
22457
+ return sink;
22458
+ }
22459
+ function equals$X(existing, incoming) {
22460
+ const existing_recentListsOnly = existing.recentListsOnly;
22461
+ const incoming_recentListsOnly = incoming.recentListsOnly;
22462
+ if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
22463
+ return false;
22464
+ }
22465
+ const existing_count = existing.count;
22466
+ const incoming_count = incoming.count;
22467
+ if (!(existing_count === incoming_count)) {
22468
+ return false;
22469
+ }
22470
+ const existing_pageSize = existing.pageSize;
22471
+ const incoming_pageSize = incoming.pageSize;
22472
+ if (!(existing_pageSize === incoming_pageSize)) {
22473
+ return false;
22474
+ }
22475
+ const existing_currentPageToken = existing.currentPageToken;
22476
+ const incoming_currentPageToken = incoming.currentPageToken;
22477
+ if (!(existing_currentPageToken === incoming_currentPageToken)) {
22478
+ return false;
22479
+ }
22480
+ const existing_currentPageUrl = existing.currentPageUrl;
22481
+ const incoming_currentPageUrl = incoming.currentPageUrl;
22482
+ if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
22483
+ return false;
22484
+ }
22485
+ const existing_eTag = existing.eTag;
22486
+ const incoming_eTag = incoming.eTag;
22487
+ if (!(existing_eTag === incoming_eTag)) {
22488
+ return false;
22489
+ }
22490
+ const existing_objectApiName = existing.objectApiName;
22491
+ const incoming_objectApiName = incoming.objectApiName;
22492
+ if (!(existing_objectApiName === incoming_objectApiName)) {
22493
+ return false;
22494
+ }
22495
+ const existing_lists = existing.lists;
22496
+ const incoming_lists = incoming.lists;
22497
+ const equals_lists_items = equalsArray(existing_lists, incoming_lists, (existing_lists_item, incoming_lists_item) => {
22498
+ if (!(existing_lists_item.__ref === incoming_lists_item.__ref)) {
22499
+ return false;
22500
+ }
22501
+ });
22502
+ if (equals_lists_items === false) {
22503
+ return false;
22504
+ }
22505
+ const existing_nextPageToken = existing.nextPageToken;
22506
+ const incoming_nextPageToken = incoming.nextPageToken;
22507
+ if (!(existing_nextPageToken === incoming_nextPageToken)) {
22508
+ return false;
22509
+ }
22510
+ const existing_nextPageUrl = existing.nextPageUrl;
22511
+ const incoming_nextPageUrl = incoming.nextPageUrl;
22512
+ if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
22513
+ return false;
22514
+ }
22515
+ const existing_previousPageToken = existing.previousPageToken;
22516
+ const incoming_previousPageToken = incoming.previousPageToken;
22517
+ if (!(existing_previousPageToken === incoming_previousPageToken)) {
22518
+ return false;
22519
+ }
22520
+ const existing_previousPageUrl = existing.previousPageUrl;
22521
+ const incoming_previousPageUrl = incoming.previousPageUrl;
22522
+ if (!(existing_previousPageUrl === incoming_previousPageUrl)) {
22523
+ return false;
22524
+ }
22525
+ const existing_queryString = existing.queryString;
22526
+ const incoming_queryString = incoming.queryString;
22527
+ if (!(existing_queryString === incoming_queryString)) {
22528
+ return false;
22529
+ }
22530
+ return true;
22531
+ }
22532
+ const ingest$J$1 = function ListInfoSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
22533
+ const key = keyBuilderFromType$y(luvio, input);
22534
+ const existingRecord = store.readEntry(key);
22535
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
22536
+ let incomingRecord = normalize$J(input, store.readEntry(key), {
22537
+ fullPath: key,
22538
+ parent: path.parent,
22539
+ propertyName: path.propertyName,
22540
+ ttl: ttlToUse
22541
+ }, luvio, store, timestamp);
22542
+ const paginationKey = key + '__pagination';
22543
+ const existingPaginationMetadata = store.readEntry(paginationKey);
22544
+ const { count: count, currentPageToken: token, nextPageToken: nextToken, pageSize: pageSize, previousPageToken: previousToken, lists: items } = input;
22545
+ const startOffset = existingPaginationMetadata === undefined ? 0 : offsetFromToken$1(existingPaginationMetadata, token);
22546
+ const incomingPaginationMetadata = {
22547
+ [token]: startOffset,
22548
+ };
22549
+ const nextOffset = startOffset + items.length;
22550
+ if (nextToken === null) {
22551
+ incomingPaginationMetadata.__END__ = nextOffset;
22552
+ }
22553
+ else {
22554
+ incomingPaginationMetadata[nextToken] = nextOffset;
22555
+ if (existingPaginationMetadata !== undefined) {
22556
+ const listEndOffset = existingPaginationMetadata.__END__;
22557
+ if (listEndOffset !== undefined && nextOffset >= listEndOffset) {
22558
+ incomingPaginationMetadata.__END__ = undefined;
22559
+ }
22560
+ }
22561
+ }
22562
+ if (previousToken !== null) {
22563
+ incomingPaginationMetadata[previousToken] = Math.max(startOffset - pageSize, 0);
22564
+ }
22565
+ const mergedPaginationMetadata = mergeMetadata$1(existingPaginationMetadata, incomingPaginationMetadata);
22566
+ if (existingPaginationMetadata === undefined ||
22567
+ equalsObject$1(existingPaginationMetadata, mergedPaginationMetadata, (existingProp, incomingProp) => {
22568
+ return existingProp === incomingProp;
22569
+ }) === false) {
22570
+ luvio.storePublish(paginationKey, mergedPaginationMetadata);
22571
+ luvio.publishStoreMetadata(paginationKey, paginationStoreMetadata$1);
22572
+ }
22573
+ assignMetadataLink$1(incomingRecord, paginationKey);
22574
+ if (existingRecord !== undefined && existingRecord.lists !== undefined) {
22575
+ incomingRecord.lists = [
22576
+ ...existingRecord.lists.slice(0, startOffset),
22577
+ ...incomingRecord.lists,
22578
+ ...existingRecord.lists.slice(nextOffset),
22579
+ ];
22580
+ }
22581
+ if (existingRecord === undefined || equals$X(existingRecord, incomingRecord) === false) {
22582
+ luvio.storePublish(key, incomingRecord);
22583
+ }
22584
+ if (ttlToUse !== undefined) {
22585
+ const storeMetadataParams = {
22586
+ ttl: ttlToUse,
22587
+ namespace: "UiApi",
22588
+ version: VERSION$15$1,
22589
+ representationName: RepresentationType$Q,
22590
+ ingestionTimestamp: timestamp,
22591
+ };
22592
+ luvio.publishStoreMetadata(key, storeMetadataParams);
22593
+ }
22594
+ return createLink$3(key);
22595
+ };
22596
+ function getTypeCacheKeys$Q$1(rootKeySet, luvio, input, fullPathFactory) {
22597
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22598
+ const rootKey = keyBuilderFromType$y(luvio, input);
22599
+ rootKeySet.set(rootKey, {
22600
+ namespace: keyPrefix$2,
22601
+ representationName: RepresentationType$Q,
22602
+ mergeable: true
22603
+ });
22604
+ rootKeySet.set(rootKey + '__pagination', {
22605
+ namespace: keyPrefix$2,
22606
+ representationName: RepresentationType$Q,
22607
+ mergeable: true
22608
+ });
22609
+ const input_lists_length = input.lists.length;
22610
+ for (let i = 0; i < input_lists_length; i++) {
22611
+ getTypeCacheKeys$R$1(rootKeySet, luvio, input.lists[i]);
22612
+ }
22613
+ }
22614
+ const notifyUpdateAvailableFactory$3 = (luvio) => {
22615
+ return function notifyListInfoSummaryUpdateAvailable(configs) {
22616
+ const keys = configs.map(c => keyBuilder$1_(luvio, c));
22617
+ return luvio.notifyStoreUpdateAvailable(keys);
22618
+ };
22619
+ };
22620
+
22621
+ const LIST_RECORDS_PREFIX = keyPrefix$2 + '::' + RepresentationType$T;
22622
+ const LIST_SUMMARY_PREFIX = keyPrefix$2 + '::' + RepresentationType$Q;
22623
+ /**
22624
+ * Watch a Luvio instance for ListRecordCollection and ListInfoSummaryCollection cache entries.
22625
+ */
22626
+ let listRecordCollectionCache = new Map();
22627
+ let listSummaryCollectionCache = new Map();
22628
+ function getListRecordCollectionKeys(objectApiName, listViewApiName) {
22629
+ const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName) || new Map();
22630
+ const keys = cacheEntriesByObjectApiName.get(listViewApiName) || [];
22631
+ return [...keys];
22632
+ }
22633
+ function getListSummaryCollectionKeys(objectApiName, recentLists = undefined) {
22634
+ const cacheEntriesByObjectApiName = listSummaryCollectionCache.get(objectApiName) || new Map();
22635
+ const keys = cacheEntriesByObjectApiName.get(recentLists ? 'true' : 'false') || [];
22636
+ const allKeys = recentLists === undefined ? cacheEntriesByObjectApiName.get('true') || [] : [];
22637
+ return [...keys, ...allKeys];
22638
+ }
22639
+ function addListRecordCollectionKey(objectApiName, listViewApiName, key) {
22640
+ const cacheEntryByObjectName = listRecordCollectionCache.get(objectApiName) || new Map();
22641
+ if (!cacheEntryByObjectName.size) {
22642
+ listRecordCollectionCache.set(objectApiName, cacheEntryByObjectName);
22643
+ }
22644
+ const keys = cacheEntryByObjectName.get(listViewApiName) || new Set();
22645
+ if (!keys.size) {
22646
+ cacheEntryByObjectName.set(listViewApiName, keys);
22647
+ }
22648
+ keys.add(key);
22649
+ }
22650
+ function addListSummaryCollectionKey(objectApiName, recentLists, key) {
22651
+ const cacheEntryByObjectName = listSummaryCollectionCache.get(objectApiName) || new Map();
22652
+ if (!cacheEntryByObjectName.size) {
22653
+ listSummaryCollectionCache.set(objectApiName, cacheEntryByObjectName);
22654
+ }
22655
+ const keys = cacheEntryByObjectName.get(recentLists) || new Set();
22656
+ if (!keys.size) {
22657
+ cacheEntryByObjectName.set(recentLists, keys);
22658
+ }
22659
+ keys.add(key);
22660
+ }
22661
+ function removeListRecordCollectionKeys(objectApiName, listViewApiName) {
22662
+ const cacheEntriesByObjectApiName = listRecordCollectionCache.get(objectApiName) || new Map();
22663
+ cacheEntriesByObjectApiName.delete(listViewApiName);
22664
+ }
22665
+ function removeListSummaryCollectionKeys(objectApiName, recentLists = undefined) {
22666
+ const cacheEntriesByObjectApiName = listSummaryCollectionCache.get(objectApiName) || new Map();
22667
+ cacheEntriesByObjectApiName.delete(recentLists ? 'true' : 'false');
22668
+ if (recentLists === undefined) {
22669
+ cacheEntriesByObjectApiName.delete('true');
22670
+ }
22671
+ }
22672
+ function splitListRecordCollectionKey(key) {
22673
+ const keyElements = key.split(':');
22674
+ return {
22675
+ objectApiName: keyElements[3],
22676
+ listViewApiName: keyElements[7],
22677
+ };
22678
+ }
22679
+ function splitListSummaryCollectionKey(key) {
22680
+ const keyElements = key.split(':');
22681
+ return {
22682
+ objectApiName: keyElements[3],
22683
+ recentLists: keyElements[5],
22684
+ };
22685
+ }
22686
+ function setupListRecordCollectionStoreWatcher(luvio) {
22687
+ luvio.storeWatch(LIST_RECORDS_PREFIX, (entries) => {
22688
+ for (let i = 0, len = entries.length; i < len; i++) {
22689
+ const entry = entries[i];
22690
+ if (entry.id.endsWith('__pagination')) {
22691
+ continue;
22692
+ }
22693
+ const { objectApiName, listViewApiName } = splitListRecordCollectionKey(entry.id);
22694
+ addListRecordCollectionKey(objectApiName, listViewApiName, entry.id);
22695
+ }
22696
+ });
22697
+ }
22698
+ function setupListSummaryCollectionStoreWatcher(luvio) {
22699
+ luvio.storeWatch(LIST_SUMMARY_PREFIX, (entries) => {
22700
+ for (let i = 0, len = entries.length; i < len; i++) {
22701
+ const entry = entries[i];
22702
+ if (entry.id.endsWith('__pagination')) {
22703
+ continue;
22704
+ }
22705
+ const { objectApiName, recentLists } = splitListSummaryCollectionKey(entry.id);
22706
+ addListSummaryCollectionKey(objectApiName, recentLists, entry.id);
22707
+ }
22708
+ });
22709
+ }
22710
+
22244
22711
  function buildListRefByIdContextKey(listViewId) {
22245
22712
  return `listReferenceById::${listViewId}`;
22246
22713
  }
@@ -22469,12 +22936,26 @@ function listFields(luvio, { fields = [], optionalFields = [], sortBy, }, listIn
22469
22936
  },
22470
22937
  };
22471
22938
  }
22939
+ function setupNotifyAllListRecordUpdateAvailable(luvio) {
22940
+ return (notifyInput) => {
22941
+ const keys = getListRecordCollectionKeys(notifyInput.objectApiName, notifyInput.listViewApiName);
22942
+ removeListRecordCollectionKeys(notifyInput.objectApiName, notifyInput.listViewApiName);
22943
+ return luvio.notifyStoreUpdateAvailable(keys);
22944
+ };
22945
+ }
22946
+ function setupNotifyAllListInfoSummaryUpdateAvailable(luvio) {
22947
+ return (notifyInput) => {
22948
+ const keys = getListSummaryCollectionKeys(notifyInput.objectApiName, notifyInput.recentLists);
22949
+ removeListSummaryCollectionKeys(notifyInput.objectApiName, notifyInput.recentLists);
22950
+ return luvio.notifyStoreUpdateAvailable(keys);
22951
+ };
22952
+ }
22472
22953
 
22473
22954
  let context$1;
22474
22955
  function setContext$1(adapterContext) {
22475
22956
  context$1 = adapterContext;
22476
22957
  }
22477
- function keyBuilder$1$(luvio, params) {
22958
+ function keyBuilder$1Z(luvio, params) {
22478
22959
  const query = {
22479
22960
  objectApiName: params.urlParams.objectApiName,
22480
22961
  listViewApiName: params.urlParams.listViewApiName,
@@ -22507,7 +22988,7 @@ function keyBuilder$1$(luvio, params) {
22507
22988
  });
22508
22989
  }
22509
22990
 
22510
- function select$1L(luvio, params) {
22991
+ function select$1J(luvio, params) {
22511
22992
  const { fields = [], optionalFields = [] } = params.queryParams;
22512
22993
  return dynamicSelect$7({
22513
22994
  records: {
@@ -22524,7 +23005,7 @@ function select$1L(luvio, params) {
22524
23005
  }
22525
23006
  function ingestSuccess$P(luvio, resourceParams, response, snapshotRefresh) {
22526
23007
  const { body } = response;
22527
- const key = keyBuilder$1$(luvio, resourceParams);
23008
+ const key = keyBuilder$1Z(luvio, resourceParams);
22528
23009
  luvio.storeIngest(key, ingest$M$1, body);
22529
23010
  const optionalFields = resourceParams.queryParams.optionalFields;
22530
23011
  if (optionalFields && optionalFields.length > 0) {
@@ -22533,7 +23014,7 @@ function ingestSuccess$P(luvio, resourceParams, response, snapshotRefresh) {
22533
23014
  }
22534
23015
  const snapshot = luvio.storeLookup({
22535
23016
  recordId: key,
22536
- node: select$1L(luvio, resourceParams),
23017
+ node: select$1J(luvio, resourceParams),
22537
23018
  variables: {},
22538
23019
  }, snapshotRefresh);
22539
23020
  return snapshot;
@@ -22561,7 +23042,7 @@ function getResponseCacheKeys$_(storeKeyMap, luvio, resourceParams, response) {
22561
23042
  getTypeCacheKeys$T$1(storeKeyMap, luvio, response);
22562
23043
  }
22563
23044
  function ingestError$I(luvio, params, error, snapshotRefresh) {
22564
- const key = keyBuilder$1$(luvio, params);
23045
+ const key = keyBuilder$1Z(luvio, params);
22565
23046
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
22566
23047
  const storeMetadataParams = {
22567
23048
  ttl: TTL$x,
@@ -22639,24 +23120,24 @@ function isErrorSnapshot(snapshot) {
22639
23120
  return snapshot.state === 'Error';
22640
23121
  }
22641
23122
 
22642
- const VERSION$16$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
22643
- const RepresentationType$R = 'ListViewSummaryRepresentation';
22644
- function keyBuilder$1_(luvio, config) {
22645
- return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.id === null ? '' : config.id);
23123
+ const VERSION$14$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
23124
+ const RepresentationType$P = 'ListViewSummaryRepresentation';
23125
+ function keyBuilder$1Y(luvio, config) {
23126
+ return keyPrefix$2 + '::' + RepresentationType$P + ':' + (config.id === null ? '' : config.id);
22646
23127
  }
22647
- function keyBuilderFromType$z(luvio, object) {
23128
+ function keyBuilderFromType$x(luvio, object) {
22648
23129
  const keyParams = {
22649
23130
  id: object.id
22650
23131
  };
22651
- return keyBuilder$1_(luvio, keyParams);
23132
+ return keyBuilder$1Y(luvio, keyParams);
22652
23133
  }
22653
- function normalize$K(input, existing, path, luvio, store, timestamp) {
23134
+ function normalize$I(input, existing, path, luvio, store, timestamp) {
22654
23135
  return input;
22655
23136
  }
22656
- const select$1K = function ListViewSummaryRepresentationSelect() {
23137
+ const select$1I = function ListViewSummaryRepresentationSelect() {
22657
23138
  return {
22658
23139
  kind: 'Fragment',
22659
- version: VERSION$16$1,
23140
+ version: VERSION$14$1,
22660
23141
  private: [],
22661
23142
  selections: [
22662
23143
  {
@@ -22678,7 +23159,7 @@ const select$1K = function ListViewSummaryRepresentationSelect() {
22678
23159
  ]
22679
23160
  };
22680
23161
  };
22681
- function equals$Y(existing, incoming) {
23162
+ function equals$W(existing, incoming) {
22682
23163
  const existing_apiName = existing.apiName;
22683
23164
  const incoming_apiName = incoming.apiName;
22684
23165
  if (!(existing_apiName === incoming_apiName)) {
@@ -22701,42 +23182,42 @@ function equals$Y(existing, incoming) {
22701
23182
  }
22702
23183
  return true;
22703
23184
  }
22704
- const ingest$K$1 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
22705
- const key = keyBuilderFromType$z(luvio, input);
23185
+ const ingest$I$1 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
23186
+ const key = keyBuilderFromType$x(luvio, input);
22706
23187
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
22707
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$16$1, RepresentationType$R, equals$Y);
23188
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$14$1, RepresentationType$P, equals$W);
22708
23189
  return createLink$3(key);
22709
23190
  };
22710
- function getTypeCacheKeys$R$1(rootKeySet, luvio, input, fullPathFactory) {
23191
+ function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
22711
23192
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22712
- const rootKey = keyBuilderFromType$z(luvio, input);
23193
+ const rootKey = keyBuilderFromType$x(luvio, input);
22713
23194
  rootKeySet.set(rootKey, {
22714
23195
  namespace: keyPrefix$2,
22715
- representationName: RepresentationType$R,
23196
+ representationName: RepresentationType$P,
22716
23197
  mergeable: false
22717
23198
  });
22718
23199
  }
22719
23200
 
22720
- const VERSION$15$1 = "f4c79fe066da3558499d5ee88c72abcd";
22721
- const RepresentationType$Q = 'ListViewSummaryCollectionRepresentation';
22722
- function keyBuilder$1Z(luvio, config) {
22723
- return keyPrefix$2 + '::' + RepresentationType$Q + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
23201
+ const VERSION$13$1 = "f4c79fe066da3558499d5ee88c72abcd";
23202
+ const RepresentationType$O = 'ListViewSummaryCollectionRepresentation';
23203
+ function keyBuilder$1X(luvio, config) {
23204
+ return keyPrefix$2 + '::' + RepresentationType$O + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
22724
23205
  }
22725
- function keyBuilderFromType$y(luvio, object) {
23206
+ function keyBuilderFromType$w(luvio, object) {
22726
23207
  const keyParams = {
22727
23208
  objectApiName: object.objectApiName,
22728
23209
  queryString: object.queryString,
22729
23210
  recentListsOnly: object.recentListsOnly
22730
23211
  };
22731
- return keyBuilder$1Z(luvio, keyParams);
23212
+ return keyBuilder$1X(luvio, keyParams);
22732
23213
  }
22733
- function normalize$J(input, existing, path, luvio, store, timestamp) {
23214
+ function normalize$H(input, existing, path, luvio, store, timestamp) {
22734
23215
  const input_lists = input.lists;
22735
23216
  const input_lists_id = path.fullPath + '__lists';
22736
23217
  for (let i = 0; i < input_lists.length; i++) {
22737
23218
  const input_lists_item = input_lists[i];
22738
23219
  let input_lists_item_id = input_lists_id + '__' + i;
22739
- input_lists[i] = ingest$K$1(input_lists_item, {
23220
+ input_lists[i] = ingest$I$1(input_lists_item, {
22740
23221
  fullPath: input_lists_item_id,
22741
23222
  propertyName: i,
22742
23223
  parent: {
@@ -22749,19 +23230,19 @@ function normalize$J(input, existing, path, luvio, store, timestamp) {
22749
23230
  }
22750
23231
  return input;
22751
23232
  }
22752
- const select$1J = function ListViewSummaryCollectionRepresentationSelect(paginationParams) {
23233
+ const select$1H = function ListViewSummaryCollectionRepresentationSelect(paginationParams) {
22753
23234
  return {
22754
23235
  kind: 'Fragment',
22755
23236
  reader: true,
22756
23237
  synthetic: false,
22757
- version: VERSION$15$1,
23238
+ version: VERSION$13$1,
22758
23239
  read: (source, reader) => {
22759
23240
  const sink = {};
22760
23241
  if (paginationParams === undefined) {
22761
23242
  return sink;
22762
23243
  }
22763
23244
  const metadata = reader.resolveMetadata(source, PAGINATION_VERSION$1);
22764
- const currentPageMetadata = getPageMetadata$2(metadata, paginationParams);
23245
+ const currentPageMetadata = getPageMetadata$1(metadata, paginationParams);
22765
23246
  const { startOffset, endOffset, metadataProperties } = currentPageMetadata;
22766
23247
  if (metadata !== undefined && startOffset !== undefined && endOffset !== undefined) {
22767
23248
  const itemsProperty = 'lists';
@@ -22774,7 +23255,7 @@ const select$1J = function ListViewSummaryCollectionRepresentationSelect(paginat
22774
23255
  reader.readSingleLink(i, {
22775
23256
  name: 'lists',
22776
23257
  kind: 'Link',
22777
- fragment: select$1K()
23258
+ fragment: select$1I()
22778
23259
  }, itemsSource, allSink, i - startOffset);
22779
23260
  if (reader.getIsDataMissing() === false) {
22780
23261
  itemsSink[i - startOffset] = allSink[i - startOffset];
@@ -22812,7 +23293,7 @@ const select$1J = function ListViewSummaryCollectionRepresentationSelect(paginat
22812
23293
  },
22813
23294
  };
22814
23295
  };
22815
- function getPageMetadata$2(paginationMetadata, paginationParams) {
23296
+ function getPageMetadata$1(paginationMetadata, paginationParams) {
22816
23297
  const metadataProperties = {};
22817
23298
  const sink = {
22818
23299
  metadataProperties
@@ -22842,7 +23323,7 @@ function getPageMetadata$2(paginationMetadata, paginationParams) {
22842
23323
  metadataProperties.count = endOffset - startOffset;
22843
23324
  return sink;
22844
23325
  }
22845
- function equals$X(existing, incoming) {
23326
+ function equals$V(existing, incoming) {
22846
23327
  const existing_recentListsOnly = existing.recentListsOnly;
22847
23328
  const incoming_recentListsOnly = incoming.recentListsOnly;
22848
23329
  if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
@@ -22915,11 +23396,11 @@ function equals$X(existing, incoming) {
22915
23396
  }
22916
23397
  return true;
22917
23398
  }
22918
- const ingest$J$1 = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
22919
- const key = keyBuilderFromType$y(luvio, input);
23399
+ const ingest$H$1 = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
23400
+ const key = keyBuilderFromType$w(luvio, input);
22920
23401
  const existingRecord = store.readEntry(key);
22921
23402
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
22922
- let incomingRecord = normalize$J(input, store.readEntry(key), {
23403
+ let incomingRecord = normalize$H(input, store.readEntry(key), {
22923
23404
  fullPath: key,
22924
23405
  parent: path.parent,
22925
23406
  propertyName: path.propertyName,
@@ -22964,42 +23445,42 @@ const ingest$J$1 = function ListViewSummaryCollectionRepresentationIngest(input,
22964
23445
  ...existingRecord.lists.slice(nextOffset),
22965
23446
  ];
22966
23447
  }
22967
- if (existingRecord === undefined || equals$X(existingRecord, incomingRecord) === false) {
23448
+ if (existingRecord === undefined || equals$V(existingRecord, incomingRecord) === false) {
22968
23449
  luvio.storePublish(key, incomingRecord);
22969
23450
  }
22970
23451
  if (ttlToUse !== undefined) {
22971
23452
  const storeMetadataParams = {
22972
23453
  ttl: ttlToUse,
22973
23454
  namespace: "UiApi",
22974
- version: VERSION$15$1,
22975
- representationName: RepresentationType$Q,
23455
+ version: VERSION$13$1,
23456
+ representationName: RepresentationType$O,
22976
23457
  ingestionTimestamp: timestamp,
22977
23458
  };
22978
23459
  luvio.publishStoreMetadata(key, storeMetadataParams);
22979
23460
  }
22980
23461
  return createLink$3(key);
22981
23462
  };
22982
- function getTypeCacheKeys$Q$1(rootKeySet, luvio, input, fullPathFactory) {
23463
+ function getTypeCacheKeys$O$1(rootKeySet, luvio, input, fullPathFactory) {
22983
23464
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
22984
- const rootKey = keyBuilderFromType$y(luvio, input);
23465
+ const rootKey = keyBuilderFromType$w(luvio, input);
22985
23466
  rootKeySet.set(rootKey, {
22986
23467
  namespace: keyPrefix$2,
22987
- representationName: RepresentationType$Q,
23468
+ representationName: RepresentationType$O,
22988
23469
  mergeable: true
22989
23470
  });
22990
23471
  rootKeySet.set(rootKey + '__pagination', {
22991
23472
  namespace: keyPrefix$2,
22992
- representationName: RepresentationType$Q,
23473
+ representationName: RepresentationType$O,
22993
23474
  mergeable: true
22994
23475
  });
22995
23476
  const input_lists_length = input.lists.length;
22996
23477
  for (let i = 0; i < input_lists_length; i++) {
22997
- getTypeCacheKeys$R$1(rootKeySet, luvio, input.lists[i]);
23478
+ getTypeCacheKeys$P$1(rootKeySet, luvio, input.lists[i]);
22998
23479
  }
22999
23480
  }
23000
- const notifyUpdateAvailableFactory$3 = (luvio) => {
23481
+ const notifyUpdateAvailableFactory$2 = (luvio) => {
23001
23482
  return function notifyListViewSummaryUpdateAvailable(configs) {
23002
- const keys = configs.map(c => keyBuilder$1Z(luvio, c));
23483
+ const keys = configs.map(c => keyBuilder$1X(luvio, c));
23003
23484
  return luvio.notifyStoreUpdateAvailable(keys);
23004
23485
  };
23005
23486
  };
@@ -23011,34 +23492,34 @@ function createPaginationParams$3(params) {
23011
23492
  pageSize: queryParams.pageSize === undefined ? 20 : queryParams.pageSize
23012
23493
  };
23013
23494
  }
23014
- function select$1I(luvio, params) {
23495
+ function select$1G(luvio, params) {
23015
23496
  const paginationParams = createPaginationParams$3(params);
23016
- return select$1J(paginationParams);
23497
+ return select$1H(paginationParams);
23017
23498
  }
23018
- function keyBuilder$1Y(luvio, params) {
23019
- return keyBuilder$1Z(luvio, {
23499
+ function keyBuilder$1W(luvio, params) {
23500
+ return keyBuilder$1X(luvio, {
23020
23501
  objectApiName: params.urlParams.objectApiName,
23021
23502
  queryString: params.queryParams.q || null,
23022
23503
  recentListsOnly: params.queryParams.recentListsOnly || false
23023
23504
  });
23024
23505
  }
23025
23506
  function getResponseCacheKeys$Z(storeKeyMap, luvio, resourceParams, response) {
23026
- getTypeCacheKeys$Q$1(storeKeyMap, luvio, response);
23507
+ getTypeCacheKeys$O$1(storeKeyMap, luvio, response);
23027
23508
  }
23028
23509
  function ingestSuccess$O(luvio, resourceParams, response, snapshotRefresh) {
23029
23510
  const { body } = response;
23030
- const key = keyBuilder$1Y(luvio, resourceParams);
23031
- luvio.storeIngest(key, ingest$J$1, body);
23511
+ const key = keyBuilder$1W(luvio, resourceParams);
23512
+ luvio.storeIngest(key, ingest$H$1, body);
23032
23513
  const snapshot = luvio.storeLookup({
23033
23514
  recordId: key,
23034
- node: select$1I(luvio, resourceParams),
23515
+ node: select$1G(luvio, resourceParams),
23035
23516
  variables: {},
23036
23517
  }, snapshotRefresh);
23037
23518
  deepFreeze(snapshot.data);
23038
23519
  return snapshot;
23039
23520
  }
23040
23521
  function ingestError$H(luvio, params, error, snapshotRefresh) {
23041
- const key = keyBuilder$1Y(luvio, params);
23522
+ const key = keyBuilder$1W(luvio, params);
23042
23523
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
23043
23524
  luvio.storeIngestError(key, errorSnapshot);
23044
23525
  return errorSnapshot;
@@ -23067,9 +23548,9 @@ const getListViewSummaryCollection_ConfigPropertyMetadata = [
23067
23548
  ];
23068
23549
  const getListViewSummaryCollection_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$_$1, getListViewSummaryCollection_ConfigPropertyMetadata);
23069
23550
  const createResourceParams$Y = /*#__PURE__*/ createResourceParams$12(getListViewSummaryCollection_ConfigPropertyMetadata);
23070
- function keyBuilder$1X(luvio, config) {
23551
+ function keyBuilder$1V(luvio, config) {
23071
23552
  const resourceParams = createResourceParams$Y(config);
23072
- return keyBuilder$1Y(luvio, resourceParams);
23553
+ return keyBuilder$1W(luvio, resourceParams);
23073
23554
  }
23074
23555
  function typeCheckConfig$13(untrustedConfig) {
23075
23556
  const config = {};
@@ -23089,7 +23570,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
23089
23570
  }
23090
23571
  function adapterFragment$G(luvio, config) {
23091
23572
  const resourceParams = createResourceParams$Y(config);
23092
- return select$1I(luvio, resourceParams);
23573
+ return select$1G(luvio, resourceParams);
23093
23574
  }
23094
23575
  function onFetchResponseSuccess$K(luvio, config, resourceParams, response) {
23095
23576
  const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
@@ -23152,12 +23633,12 @@ function getCachedItemsNumber$3(cacheSnapshot) {
23152
23633
  return items.length;
23153
23634
  }
23154
23635
  function getPaginationMetadata$3(luvio, resourceParams) {
23155
- const key = keyBuilder$1Y(luvio, resourceParams);
23636
+ const key = keyBuilder$1W(luvio, resourceParams);
23156
23637
  const selector = {
23157
23638
  recordId: key,
23158
23639
  node: {
23159
23640
  kind: 'Fragment',
23160
- version: VERSION$15$1,
23641
+ version: VERSION$13$1,
23161
23642
  private: [],
23162
23643
  selections: [
23163
23644
  {
@@ -23200,7 +23681,7 @@ function buildNetworkSnapshotCachePolicy$O(context, coercedAdapterRequestContext
23200
23681
  function buildCachedSnapshotCachePolicy$N(context, storeLookup) {
23201
23682
  const { luvio, config } = context;
23202
23683
  const selector = {
23203
- recordId: keyBuilder$1X(luvio, config),
23684
+ recordId: keyBuilder$1V(luvio, config),
23204
23685
  node: adapterFragment$G(luvio, config),
23205
23686
  variables: {},
23206
23687
  };
@@ -23230,7 +23711,7 @@ function createPaginationParams$2(params) {
23230
23711
  pageSize: queryParams.pageSize === undefined ? 50 : queryParams.pageSize
23231
23712
  };
23232
23713
  }
23233
- function keyBuilder$1W(luvio, params) {
23714
+ function keyBuilder$1U(luvio, params) {
23234
23715
  return keyBuilder$20(luvio, {
23235
23716
  listViewApiName: null,
23236
23717
  objectApiName: params.urlParams.objectApiName,
@@ -23391,7 +23872,7 @@ function buildCachedSnapshot$8(luvio, storeLookup, config, listInfo, fields) {
23391
23872
  const listFields_ = fields || listFields(luvio, config, listInfo);
23392
23873
  const resourceParams = createResourceParams$X(config);
23393
23874
  const selector = {
23394
- recordId: keyBuilder$1W(luvio, resourceParams),
23875
+ recordId: keyBuilder$1U(luvio, resourceParams),
23395
23876
  node: buildListUiFragment$1(config, listFields_),
23396
23877
  variables: {},
23397
23878
  };
@@ -24052,24 +24533,24 @@ const factory$h = (luvio) => {
24052
24533
  };
24053
24534
 
24054
24535
  const TTL$w = 900000;
24055
- const VERSION$14$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
24056
- const RepresentationType$P = 'ObjectInfoRepresentation';
24057
- function keyBuilder$1V(luvio, config) {
24058
- return keyPrefix$2 + '::' + RepresentationType$P + ':' + config.apiName;
24536
+ const VERSION$12$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
24537
+ const RepresentationType$N = 'ObjectInfoRepresentation';
24538
+ function keyBuilder$1T(luvio, config) {
24539
+ return keyPrefix$2 + '::' + RepresentationType$N + ':' + config.apiName;
24059
24540
  }
24060
- function keyBuilderFromType$x(luvio, object) {
24541
+ function keyBuilderFromType$v(luvio, object) {
24061
24542
  const keyParams = {
24062
24543
  apiName: object.apiName
24063
24544
  };
24064
- return keyBuilder$1V(luvio, keyParams);
24545
+ return keyBuilder$1T(luvio, keyParams);
24065
24546
  }
24066
- function normalize$I(input, existing, path, luvio, store, timestamp) {
24547
+ function normalize$G(input, existing, path, luvio, store, timestamp) {
24067
24548
  return input;
24068
24549
  }
24069
- const select$1H = function ObjectInfoRepresentationSelect() {
24550
+ const select$1F = function ObjectInfoRepresentationSelect() {
24070
24551
  return {
24071
24552
  kind: 'Fragment',
24072
- version: VERSION$14$1,
24553
+ version: VERSION$12$1,
24073
24554
  private: [
24074
24555
  'eTag'
24075
24556
  ],
@@ -24171,59 +24652,59 @@ const select$1H = function ObjectInfoRepresentationSelect() {
24171
24652
  ]
24172
24653
  };
24173
24654
  };
24174
- function equals$W(existing, incoming) {
24655
+ function equals$U(existing, incoming) {
24175
24656
  if (existing.eTag !== incoming.eTag) {
24176
24657
  return false;
24177
24658
  }
24178
24659
  return true;
24179
24660
  }
24180
- const ingest$I$1 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
24181
- const key = keyBuilderFromType$x(luvio, input);
24661
+ const ingest$G$1 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
24662
+ const key = keyBuilderFromType$v(luvio, input);
24182
24663
  const ttlToUse = TTL$w;
24183
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$14$1, RepresentationType$P, equals$W);
24664
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$12$1, RepresentationType$N, equals$U);
24184
24665
  return createLink$3(key);
24185
24666
  };
24186
- function getTypeCacheKeys$P$1(rootKeySet, luvio, input, fullPathFactory) {
24667
+ function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
24187
24668
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
24188
- const rootKey = keyBuilderFromType$x(luvio, input);
24669
+ const rootKey = keyBuilderFromType$v(luvio, input);
24189
24670
  rootKeySet.set(rootKey, {
24190
24671
  namespace: keyPrefix$2,
24191
- representationName: RepresentationType$P,
24672
+ representationName: RepresentationType$N,
24192
24673
  mergeable: false
24193
24674
  });
24194
24675
  }
24195
24676
 
24196
- function select$1G(luvio, params) {
24197
- return select$1H();
24677
+ function select$1E(luvio, params) {
24678
+ return select$1F();
24198
24679
  }
24199
- function keyBuilder$1U(luvio, params) {
24200
- return keyBuilder$1V(luvio, {
24680
+ function keyBuilder$1S(luvio, params) {
24681
+ return keyBuilder$1T(luvio, {
24201
24682
  apiName: params.urlParams.objectApiName
24202
24683
  });
24203
24684
  }
24204
24685
  function getResponseCacheKeys$Y(storeKeyMap, luvio, resourceParams, response) {
24205
- getTypeCacheKeys$P$1(storeKeyMap, luvio, response);
24686
+ getTypeCacheKeys$N$1(storeKeyMap, luvio, response);
24206
24687
  }
24207
24688
  function ingestSuccess$N(luvio, resourceParams, response, snapshotRefresh) {
24208
24689
  const { body } = response;
24209
- const key = keyBuilder$1U(luvio, resourceParams);
24210
- luvio.storeIngest(key, ingest$I$1, body);
24690
+ const key = keyBuilder$1S(luvio, resourceParams);
24691
+ luvio.storeIngest(key, ingest$G$1, body);
24211
24692
  const snapshot = luvio.storeLookup({
24212
24693
  recordId: key,
24213
- node: select$1G(),
24694
+ node: select$1E(),
24214
24695
  variables: {},
24215
24696
  }, snapshotRefresh);
24216
24697
  deepFreeze(snapshot.data);
24217
24698
  return snapshot;
24218
24699
  }
24219
24700
  function ingestError$G(luvio, params, error, snapshotRefresh) {
24220
- const key = keyBuilder$1U(luvio, params);
24701
+ const key = keyBuilder$1S(luvio, params);
24221
24702
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
24222
24703
  const storeMetadataParams = {
24223
24704
  ttl: TTL$w,
24224
24705
  namespace: keyPrefix$2,
24225
- version: VERSION$14$1,
24226
- representationName: RepresentationType$P
24706
+ version: VERSION$12$1,
24707
+ representationName: RepresentationType$N
24227
24708
  };
24228
24709
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
24229
24710
  return errorSnapshot;
@@ -24248,9 +24729,9 @@ const getObjectInfo_ConfigPropertyMetadata = [
24248
24729
  ];
24249
24730
  const getObjectInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$Y, getObjectInfo_ConfigPropertyMetadata);
24250
24731
  const createResourceParams$W = /*#__PURE__*/ createResourceParams$12(getObjectInfo_ConfigPropertyMetadata);
24251
- function keyBuilder$1T(luvio, config) {
24732
+ function keyBuilder$1R(luvio, config) {
24252
24733
  const resourceParams = createResourceParams$W(config);
24253
- return keyBuilder$1U(luvio, resourceParams);
24734
+ return keyBuilder$1S(luvio, resourceParams);
24254
24735
  }
24255
24736
  function typeCheckConfig$11(untrustedConfig) {
24256
24737
  const config = {};
@@ -24270,7 +24751,7 @@ function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
24270
24751
  }
24271
24752
  function adapterFragment$F(luvio, config) {
24272
24753
  createResourceParams$W(config);
24273
- return select$1G();
24754
+ return select$1E();
24274
24755
  }
24275
24756
  function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
24276
24757
  const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
@@ -24306,7 +24787,7 @@ function buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext
24306
24787
  function buildCachedSnapshotCachePolicy$M(context, storeLookup) {
24307
24788
  const { luvio, config } = context;
24308
24789
  const selector = {
24309
- recordId: keyBuilder$1T(luvio, config),
24790
+ recordId: keyBuilder$1R(luvio, config),
24310
24791
  node: adapterFragment$F(luvio, config),
24311
24792
  variables: {},
24312
24793
  };
@@ -24337,27 +24818,27 @@ var DiscriminatorValues$5$1;
24337
24818
  })(DiscriminatorValues$5$1 || (DiscriminatorValues$5$1 = {}));
24338
24819
 
24339
24820
  const TTL$v = 900000;
24340
- const VERSION$13$1 = "fb515e25a89ca1ec154dc865e72b913a";
24341
- const RepresentationType$O = 'RecordLayoutRepresentation';
24342
- function keyBuilder$1S(luvio, config) {
24343
- return keyPrefix$2 + '::' + RepresentationType$O + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
24821
+ const VERSION$11$1 = "fb515e25a89ca1ec154dc865e72b913a";
24822
+ const RepresentationType$M = 'RecordLayoutRepresentation';
24823
+ function keyBuilder$1Q(luvio, config) {
24824
+ return keyPrefix$2 + '::' + RepresentationType$M + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
24344
24825
  }
24345
- function keyBuilderFromType$w(luvio, object) {
24826
+ function keyBuilderFromType$u(luvio, object) {
24346
24827
  const keyParams = {
24347
24828
  recordTypeId: object.recordTypeId,
24348
24829
  objectApiName: object.objectApiName,
24349
24830
  layoutType: object.layoutType,
24350
24831
  mode: object.mode
24351
24832
  };
24352
- return keyBuilder$1S(luvio, keyParams);
24833
+ return keyBuilder$1Q(luvio, keyParams);
24353
24834
  }
24354
- function normalize$H(input, existing, path, luvio, store, timestamp) {
24835
+ function normalize$F(input, existing, path, luvio, store, timestamp) {
24355
24836
  return input;
24356
24837
  }
24357
- const select$1F = function RecordLayoutRepresentationSelect() {
24838
+ const select$1D = function RecordLayoutRepresentationSelect() {
24358
24839
  return {
24359
24840
  kind: 'Fragment',
24360
- version: VERSION$13$1,
24841
+ version: VERSION$11$1,
24361
24842
  private: [
24362
24843
  'eTag'
24363
24844
  ],
@@ -24395,24 +24876,24 @@ const select$1F = function RecordLayoutRepresentationSelect() {
24395
24876
  ]
24396
24877
  };
24397
24878
  };
24398
- function equals$V(existing, incoming) {
24879
+ function equals$T(existing, incoming) {
24399
24880
  if (existing.eTag !== incoming.eTag) {
24400
24881
  return false;
24401
24882
  }
24402
24883
  return true;
24403
24884
  }
24404
- const ingest$H$1 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
24405
- const key = keyBuilderFromType$w(luvio, input);
24885
+ const ingest$F$1 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
24886
+ const key = keyBuilderFromType$u(luvio, input);
24406
24887
  const ttlToUse = TTL$v;
24407
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$13$1, RepresentationType$O, equals$V);
24888
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$11$1, RepresentationType$M, equals$T);
24408
24889
  return createLink$3(key);
24409
24890
  };
24410
- function getTypeCacheKeys$O$1(rootKeySet, luvio, input, fullPathFactory) {
24891
+ function getTypeCacheKeys$M$1(rootKeySet, luvio, input, fullPathFactory) {
24411
24892
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
24412
- const rootKey = keyBuilderFromType$w(luvio, input);
24893
+ const rootKey = keyBuilderFromType$u(luvio, input);
24413
24894
  rootKeySet.set(rootKey, {
24414
24895
  namespace: keyPrefix$2,
24415
- representationName: RepresentationType$O,
24896
+ representationName: RepresentationType$M,
24416
24897
  mergeable: false
24417
24898
  });
24418
24899
  }
@@ -24440,27 +24921,27 @@ function getRecordId18Array(value) {
24440
24921
  }
24441
24922
 
24442
24923
  const TTL$u = 900000;
24443
- const VERSION$12$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
24444
- const RepresentationType$N = 'RecordLayoutUserStateRepresentation';
24445
- function keyBuilder$1R(luvio, config) {
24446
- return keyPrefix$2 + '::' + RepresentationType$N + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
24924
+ const VERSION$10$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
24925
+ const RepresentationType$L = 'RecordLayoutUserStateRepresentation';
24926
+ function keyBuilder$1P(luvio, config) {
24927
+ return keyPrefix$2 + '::' + RepresentationType$L + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
24447
24928
  }
24448
- function keyBuilderFromType$v(luvio, object) {
24929
+ function keyBuilderFromType$t(luvio, object) {
24449
24930
  const keyParams = {
24450
24931
  recordTypeId: object.recordTypeId,
24451
24932
  apiName: object.apiName,
24452
24933
  layoutType: object.layoutType,
24453
24934
  mode: object.mode
24454
24935
  };
24455
- return keyBuilder$1R(luvio, keyParams);
24936
+ return keyBuilder$1P(luvio, keyParams);
24456
24937
  }
24457
- function normalize$G(input, existing, path, luvio, store, timestamp) {
24938
+ function normalize$E(input, existing, path, luvio, store, timestamp) {
24458
24939
  return input;
24459
24940
  }
24460
- const select$1E = function RecordLayoutUserStateRepresentationSelect() {
24941
+ const select$1C = function RecordLayoutUserStateRepresentationSelect() {
24461
24942
  return {
24462
24943
  kind: 'Fragment',
24463
- version: VERSION$12$1,
24944
+ version: VERSION$10$1,
24464
24945
  private: [
24465
24946
  'apiName',
24466
24947
  'recordTypeId',
@@ -24480,32 +24961,32 @@ const select$1E = function RecordLayoutUserStateRepresentationSelect() {
24480
24961
  ]
24481
24962
  };
24482
24963
  };
24483
- function equals$U(existing, incoming) {
24964
+ function equals$S(existing, incoming) {
24484
24965
  if (JSONStringify$2(incoming) !== JSONStringify$2(existing)) {
24485
24966
  return false;
24486
24967
  }
24487
24968
  return true;
24488
24969
  }
24489
- const ingest$G$1 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
24490
- const key = keyBuilderFromType$v(luvio, input);
24970
+ const ingest$E$1 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
24971
+ const key = keyBuilderFromType$t(luvio, input);
24491
24972
  const ttlToUse = TTL$u;
24492
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$12$1, RepresentationType$N, equals$U);
24973
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$10$1, RepresentationType$L, equals$S);
24493
24974
  return createLink$3(key);
24494
24975
  };
24495
- function getTypeCacheKeys$N$1(rootKeySet, luvio, input, fullPathFactory) {
24976
+ function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
24496
24977
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
24497
- const rootKey = keyBuilderFromType$v(luvio, input);
24978
+ const rootKey = keyBuilderFromType$t(luvio, input);
24498
24979
  rootKeySet.set(rootKey, {
24499
24980
  namespace: keyPrefix$2,
24500
- representationName: RepresentationType$N,
24981
+ representationName: RepresentationType$L,
24501
24982
  mergeable: false
24502
24983
  });
24503
24984
  }
24504
24985
 
24505
24986
  const TTL$t = 900000;
24506
- const VERSION$11$1 = "49cdd4bc235a6094c3559cc7735b3b6d";
24507
- const RepresentationType$M = 'RecordUiRepresentation';
24508
- function normalize$F(input, existing, path, luvio, store, timestamp) {
24987
+ const VERSION$$$1 = "49cdd4bc235a6094c3559cc7735b3b6d";
24988
+ const RepresentationType$K = 'RecordUiRepresentation';
24989
+ function normalize$D(input, existing, path, luvio, store, timestamp) {
24509
24990
  const input_layoutUserStates = input.layoutUserStates;
24510
24991
  const input_layoutUserStates_id = path.fullPath + '__layoutUserStates';
24511
24992
  const input_layoutUserStates_keys = Object.keys(input_layoutUserStates);
@@ -24514,7 +24995,7 @@ function normalize$F(input, existing, path, luvio, store, timestamp) {
24514
24995
  const key = input_layoutUserStates_keys[i];
24515
24996
  const input_layoutUserStates_prop = input_layoutUserStates[key];
24516
24997
  const input_layoutUserStates_prop_id = input_layoutUserStates_id + '__' + key;
24517
- input_layoutUserStates[key] = ingest$G$1(input_layoutUserStates_prop, {
24998
+ input_layoutUserStates[key] = ingest$E$1(input_layoutUserStates_prop, {
24518
24999
  fullPath: input_layoutUserStates_prop_id,
24519
25000
  propertyName: key,
24520
25001
  parent: {
@@ -24551,7 +25032,7 @@ function normalize$F(input, existing, path, luvio, store, timestamp) {
24551
25032
  const key = input_layouts_prop_prop_prop_keys[i];
24552
25033
  const input_layouts_prop_prop_prop_prop = input_layouts_prop_prop_prop[key];
24553
25034
  const input_layouts_prop_prop_prop_prop_id = input_layouts_prop_prop_prop_id + '__' + key;
24554
- input_layouts_prop_prop_prop[key] = ingest$H$1(input_layouts_prop_prop_prop_prop, {
25035
+ input_layouts_prop_prop_prop[key] = ingest$F$1(input_layouts_prop_prop_prop_prop, {
24555
25036
  fullPath: input_layouts_prop_prop_prop_prop_id,
24556
25037
  propertyName: key,
24557
25038
  parent: {
@@ -24573,7 +25054,7 @@ function normalize$F(input, existing, path, luvio, store, timestamp) {
24573
25054
  const key = input_objectInfos_keys[i];
24574
25055
  const input_objectInfos_prop = input_objectInfos[key];
24575
25056
  const input_objectInfos_prop_id = input_objectInfos_id + '__' + key;
24576
- input_objectInfos[key] = ingest$I$1(input_objectInfos_prop, {
25057
+ input_objectInfos[key] = ingest$G$1(input_objectInfos_prop, {
24577
25058
  fullPath: input_objectInfos_prop_id,
24578
25059
  propertyName: key,
24579
25060
  parent: {
@@ -24605,7 +25086,7 @@ function normalize$F(input, existing, path, luvio, store, timestamp) {
24605
25086
  }
24606
25087
  return input;
24607
25088
  }
24608
- function equals$T(existing, incoming) {
25089
+ function equals$R(existing, incoming) {
24609
25090
  const existing_eTag = existing.eTag;
24610
25091
  const incoming_eTag = incoming.eTag;
24611
25092
  if (!(existing_eTag === incoming_eTag)) {
@@ -24668,10 +25149,10 @@ function equals$T(existing, incoming) {
24668
25149
  }
24669
25150
  return true;
24670
25151
  }
24671
- const ingest$F$1 = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
25152
+ const ingest$D$1 = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
24672
25153
  const key = path.fullPath;
24673
25154
  const ttlToUse = TTL$t;
24674
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$11$1, RepresentationType$M, equals$T);
25155
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$$$1, RepresentationType$K, equals$R);
24675
25156
  return createLink$3(key);
24676
25157
  };
24677
25158
 
@@ -24716,9 +25197,9 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
24716
25197
  return config;
24717
25198
  }
24718
25199
 
24719
- const layoutSelections$2 = select$1F();
24720
- const objectInfoPathSelection = select$1H();
24721
- const layoutUserStatePathSelector = select$1E();
25200
+ const layoutSelections$2 = select$1D();
25201
+ const objectInfoPathSelection = select$1F();
25202
+ const layoutUserStatePathSelector = select$1C();
24722
25203
  function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFields) {
24723
25204
  const layoutTypeSelections = [];
24724
25205
  for (let i = 0, len = layoutTypes.length; i < len; i += 1) {
@@ -24766,7 +25247,7 @@ function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFie
24766
25247
  return {
24767
25248
  kind: 'Fragment',
24768
25249
  private: ['eTag'],
24769
- version: VERSION$11$1,
25250
+ version: VERSION$$$1,
24770
25251
  selections: [
24771
25252
  {
24772
25253
  kind: 'Link',
@@ -24968,7 +25449,7 @@ function collectRecordDefs(resp, recordIds) {
24968
25449
  }
24969
25450
  return recordDefs;
24970
25451
  }
24971
- function keyBuilder$1Q(recordIds, layoutTypes, modes, optionalFields) {
25452
+ function keyBuilder$1O(recordIds, layoutTypes, modes, optionalFields) {
24972
25453
  const joinedRecordIds = recordIds.sort().join(',');
24973
25454
  const joinedOptionalFields = optionalFields.sort().join(',');
24974
25455
  const joinedLayoutTypes = layoutTypes.sort().join(',');
@@ -25002,7 +25483,7 @@ function markRecordUiOptionalFields(optionalFields, recordLookupFields, recordNo
25002
25483
  }
25003
25484
  function prepareRequest$5(luvio, config) {
25004
25485
  const { recordIds, layoutTypes, modes, optionalFields } = config;
25005
- const key = keyBuilder$1Q(recordIds, layoutTypes, modes, optionalFields);
25486
+ const key = keyBuilder$1O(recordIds, layoutTypes, modes, optionalFields);
25006
25487
  const selectorKey = buildCachedSelectorKey(key);
25007
25488
  const resourceRequest = createResourceRequest$$({
25008
25489
  urlParams: {
@@ -25044,7 +25525,7 @@ function getCacheKeys(keySet, luvio, config, key, originalResponseBody) {
25044
25525
  node: selPath,
25045
25526
  variables: {},
25046
25527
  };
25047
- luvio.storeIngest(key, ingest$F$1, responseBody);
25528
+ luvio.storeIngest(key, ingest$D$1, responseBody);
25048
25529
  const snapshot = luvio.storeLookup(sel, buildSnapshotRefresh$4(luvio, config));
25049
25530
  if (snapshot.state === 'Error') {
25050
25531
  return new StoreKeyMap();
@@ -25089,7 +25570,7 @@ function onFetchResponseSuccess$I(luvio, config, selectorKey, key, responseBody)
25089
25570
  variables: {},
25090
25571
  };
25091
25572
  luvio.storePublish(selectorKey, sel);
25092
- luvio.storeIngest(key, ingest$F$1, responseBody);
25573
+ luvio.storeIngest(key, ingest$D$1, responseBody);
25093
25574
  // During ingestion, only valid records are stored.
25094
25575
  const recordNodes = [];
25095
25576
  const validRecordIds = [];
@@ -25166,7 +25647,7 @@ function publishDependencies(luvio, recordIds, depKeys) {
25166
25647
  function buildCachedSelectorSnapshot(context, storeLookup) {
25167
25648
  const { config } = context;
25168
25649
  const { recordIds, layoutTypes, modes, optionalFields } = config;
25169
- const key = keyBuilder$1Q(recordIds, layoutTypes, modes, optionalFields);
25650
+ const key = keyBuilder$1O(recordIds, layoutTypes, modes, optionalFields);
25170
25651
  const cachedSelectorKey = buildCachedSelectorKey(key);
25171
25652
  return storeLookup({
25172
25653
  recordId: cachedSelectorKey,
@@ -25246,7 +25727,7 @@ var LayoutMode$2;
25246
25727
  })(LayoutMode$2 || (LayoutMode$2 = {}));
25247
25728
 
25248
25729
  const DEFAULT_MODE = LayoutMode$2.View;
25249
- const layoutSelections$1 = select$1F();
25730
+ const layoutSelections$1 = select$1D();
25250
25731
  function buildSnapshotRefresh$3(luvio, config) {
25251
25732
  return {
25252
25733
  config,
@@ -25254,7 +25735,7 @@ function buildSnapshotRefresh$3(luvio, config) {
25254
25735
  };
25255
25736
  }
25256
25737
  function buildObjectInfoSelectorKey(luvio, objectInfo) {
25257
- const key = keyBuilderFromType$x(luvio, objectInfo);
25738
+ const key = keyBuilderFromType$v(luvio, objectInfo);
25258
25739
  return `${key}__implicit__fields__selector`;
25259
25740
  }
25260
25741
  function refresh$1(luvio, config) {
@@ -25476,7 +25957,7 @@ const buildObjectInfoCacheSnapshot = (recordLayoutSnapshot) => (context, storeLo
25476
25957
  };
25477
25958
  const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) => (context, storeLookup) => {
25478
25959
  const { luvio } = context;
25479
- const key = keyBuilder$1S(luvio, {
25960
+ const key = keyBuilder$1Q(luvio, {
25480
25961
  objectApiName: apiName,
25481
25962
  recordTypeId,
25482
25963
  layoutType,
@@ -25785,371 +26266,6 @@ const factory$f = (luvio) => {
25785
26266
  }, { contextId: contextId$4 });
25786
26267
  };
25787
26268
 
25788
- const VERSION$10$1 = "0b29241fd9ed04bb61fde26b3f558ac4";
25789
- const RepresentationType$L = 'ListInfoSummaryRepresentation';
25790
- function keyBuilder$1P(luvio, config) {
25791
- return keyPrefix$2 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
25792
- }
25793
- function keyBuilderFromType$u(luvio, object) {
25794
- const keyParams = {
25795
- id: object.id
25796
- };
25797
- return keyBuilder$1P(luvio, keyParams);
25798
- }
25799
- function normalize$E(input, existing, path, luvio, store, timestamp) {
25800
- return input;
25801
- }
25802
- const select$1D = function ListInfoSummaryRepresentationSelect() {
25803
- return {
25804
- kind: 'Fragment',
25805
- version: VERSION$10$1,
25806
- private: [],
25807
- selections: [
25808
- {
25809
- name: 'apiName',
25810
- kind: 'Scalar'
25811
- },
25812
- {
25813
- name: 'id',
25814
- kind: 'Scalar'
25815
- },
25816
- {
25817
- name: 'label',
25818
- kind: 'Scalar'
25819
- },
25820
- {
25821
- name: 'url',
25822
- kind: 'Scalar'
25823
- }
25824
- ]
25825
- };
25826
- };
25827
- function equals$S(existing, incoming) {
25828
- const existing_apiName = existing.apiName;
25829
- const incoming_apiName = incoming.apiName;
25830
- if (!(existing_apiName === incoming_apiName)) {
25831
- return false;
25832
- }
25833
- const existing_label = existing.label;
25834
- const incoming_label = incoming.label;
25835
- if (!(existing_label === incoming_label)) {
25836
- return false;
25837
- }
25838
- const existing_url = existing.url;
25839
- const incoming_url = incoming.url;
25840
- if (!(existing_url === incoming_url)) {
25841
- return false;
25842
- }
25843
- const existing_id = existing.id;
25844
- const incoming_id = incoming.id;
25845
- if (!(existing_id === incoming_id)) {
25846
- return false;
25847
- }
25848
- return true;
25849
- }
25850
- const ingest$E$1 = function ListInfoSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
25851
- const key = keyBuilderFromType$u(luvio, input);
25852
- const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
25853
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$10$1, RepresentationType$L, equals$S);
25854
- return createLink$3(key);
25855
- };
25856
- function getTypeCacheKeys$M$1(rootKeySet, luvio, input, fullPathFactory) {
25857
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
25858
- const rootKey = keyBuilderFromType$u(luvio, input);
25859
- rootKeySet.set(rootKey, {
25860
- namespace: keyPrefix$2,
25861
- representationName: RepresentationType$L,
25862
- mergeable: false
25863
- });
25864
- }
25865
-
25866
- const VERSION$$$1 = "d0cadb0927f908b5b64694e1cff0b2d7";
25867
- const RepresentationType$K = 'ListInfoSummaryCollectionRepresentation';
25868
- function keyBuilder$1O(luvio, config) {
25869
- return keyPrefix$2 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
25870
- }
25871
- function keyBuilderFromType$t(luvio, object) {
25872
- const keyParams = {
25873
- objectApiName: object.objectApiName,
25874
- queryString: object.queryString,
25875
- recentListsOnly: object.recentListsOnly
25876
- };
25877
- return keyBuilder$1O(luvio, keyParams);
25878
- }
25879
- function normalize$D(input, existing, path, luvio, store, timestamp) {
25880
- const input_lists = input.lists;
25881
- const input_lists_id = path.fullPath + '__lists';
25882
- for (let i = 0; i < input_lists.length; i++) {
25883
- const input_lists_item = input_lists[i];
25884
- let input_lists_item_id = input_lists_id + '__' + i;
25885
- input_lists[i] = ingest$E$1(input_lists_item, {
25886
- fullPath: input_lists_item_id,
25887
- propertyName: i,
25888
- parent: {
25889
- data: input,
25890
- key: path.fullPath,
25891
- existing: existing,
25892
- },
25893
- ttl: path.ttl
25894
- }, luvio, store, timestamp);
25895
- }
25896
- return input;
25897
- }
25898
- const select$1C = function ListInfoSummaryCollectionRepresentationSelect(paginationParams) {
25899
- return {
25900
- kind: 'Fragment',
25901
- reader: true,
25902
- synthetic: false,
25903
- version: VERSION$$$1,
25904
- read: (source, reader) => {
25905
- const sink = {};
25906
- if (paginationParams === undefined) {
25907
- return sink;
25908
- }
25909
- const metadata = reader.resolveMetadata(source, PAGINATION_VERSION$1);
25910
- const currentPageMetadata = getPageMetadata$1(metadata, paginationParams);
25911
- const { startOffset, endOffset, metadataProperties } = currentPageMetadata;
25912
- if (metadata !== undefined && startOffset !== undefined && endOffset !== undefined) {
25913
- const itemsProperty = 'lists';
25914
- reader.enterPath(itemsProperty);
25915
- const itemsSource = source[itemsProperty];
25916
- const itemsSink = [];
25917
- const allSink = [];
25918
- for (let i = startOffset; i < endOffset; i++) {
25919
- reader.enterPath(i);
25920
- reader.readSingleLink(i, {
25921
- name: 'lists',
25922
- kind: 'Link',
25923
- fragment: select$1D()
25924
- }, itemsSource, allSink, i - startOffset);
25925
- if (reader.getIsDataMissing() === false) {
25926
- itemsSink[i - startOffset] = allSink[i - startOffset];
25927
- }
25928
- reader.exitPath();
25929
- }
25930
- reader.exitPath();
25931
- reader.assignNonScalar(sink, itemsProperty, itemsSink);
25932
- }
25933
- reader.enterPath('currentPageToken');
25934
- reader.readScalar('currentPageToken', metadataProperties, sink);
25935
- reader.exitPath();
25936
- reader.enterPath('nextPageToken');
25937
- reader.readScalar('nextPageToken', metadataProperties, sink);
25938
- reader.exitPath();
25939
- reader.enterPath('previousPageToken');
25940
- reader.readScalar('previousPageToken', metadataProperties, sink);
25941
- reader.exitPath();
25942
- reader.enterPath('pageSize');
25943
- reader.readScalar('pageSize', metadataProperties, sink);
25944
- reader.exitPath();
25945
- reader.enterPath('count');
25946
- reader.readScalar('count', metadataProperties, sink);
25947
- reader.exitPath();
25948
- reader.enterPath('objectApiName');
25949
- reader.readScalar('objectApiName', source, sink);
25950
- reader.exitPath();
25951
- reader.enterPath('queryString');
25952
- reader.readScalar('queryString', source, sink);
25953
- reader.exitPath();
25954
- reader.enterPath('recentListsOnly');
25955
- reader.readScalar('recentListsOnly', source, sink);
25956
- reader.exitPath();
25957
- return sink;
25958
- },
25959
- };
25960
- };
25961
- function getPageMetadata$1(paginationMetadata, paginationParams) {
25962
- const metadataProperties = {};
25963
- const sink = {
25964
- metadataProperties
25965
- };
25966
- if (paginationMetadata === undefined) {
25967
- return sink;
25968
- }
25969
- const { token, pageSize } = paginationParams;
25970
- const pageTokenAndOffset = getPageTokenAndOffset$1(paginationMetadata, token);
25971
- if (pageTokenAndOffset === undefined) {
25972
- return sink;
25973
- }
25974
- const [pageToken, startOffset] = pageTokenAndOffset;
25975
- const endOffset = pageEndOffset$1(paginationMetadata, startOffset, pageSize);
25976
- sink.startOffset = startOffset;
25977
- sink.endOffset = endOffset;
25978
- metadataProperties.currentPageToken = pageToken;
25979
- const nextToken = getNextPageToken$1(paginationMetadata, endOffset);
25980
- if (nextToken !== undefined) {
25981
- metadataProperties.nextPageToken = nextToken;
25982
- }
25983
- const previousToken = getPreviousPageToken(paginationMetadata, startOffset, pageSize);
25984
- if (previousToken !== undefined) {
25985
- metadataProperties.previousPageToken = previousToken;
25986
- }
25987
- metadataProperties.pageSize = pageSize;
25988
- metadataProperties.count = endOffset - startOffset;
25989
- return sink;
25990
- }
25991
- function equals$R(existing, incoming) {
25992
- const existing_recentListsOnly = existing.recentListsOnly;
25993
- const incoming_recentListsOnly = incoming.recentListsOnly;
25994
- if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
25995
- return false;
25996
- }
25997
- const existing_count = existing.count;
25998
- const incoming_count = incoming.count;
25999
- if (!(existing_count === incoming_count)) {
26000
- return false;
26001
- }
26002
- const existing_pageSize = existing.pageSize;
26003
- const incoming_pageSize = incoming.pageSize;
26004
- if (!(existing_pageSize === incoming_pageSize)) {
26005
- return false;
26006
- }
26007
- const existing_currentPageToken = existing.currentPageToken;
26008
- const incoming_currentPageToken = incoming.currentPageToken;
26009
- if (!(existing_currentPageToken === incoming_currentPageToken)) {
26010
- return false;
26011
- }
26012
- const existing_currentPageUrl = existing.currentPageUrl;
26013
- const incoming_currentPageUrl = incoming.currentPageUrl;
26014
- if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
26015
- return false;
26016
- }
26017
- const existing_eTag = existing.eTag;
26018
- const incoming_eTag = incoming.eTag;
26019
- if (!(existing_eTag === incoming_eTag)) {
26020
- return false;
26021
- }
26022
- const existing_objectApiName = existing.objectApiName;
26023
- const incoming_objectApiName = incoming.objectApiName;
26024
- if (!(existing_objectApiName === incoming_objectApiName)) {
26025
- return false;
26026
- }
26027
- const existing_lists = existing.lists;
26028
- const incoming_lists = incoming.lists;
26029
- const equals_lists_items = equalsArray(existing_lists, incoming_lists, (existing_lists_item, incoming_lists_item) => {
26030
- if (!(existing_lists_item.__ref === incoming_lists_item.__ref)) {
26031
- return false;
26032
- }
26033
- });
26034
- if (equals_lists_items === false) {
26035
- return false;
26036
- }
26037
- const existing_nextPageToken = existing.nextPageToken;
26038
- const incoming_nextPageToken = incoming.nextPageToken;
26039
- if (!(existing_nextPageToken === incoming_nextPageToken)) {
26040
- return false;
26041
- }
26042
- const existing_nextPageUrl = existing.nextPageUrl;
26043
- const incoming_nextPageUrl = incoming.nextPageUrl;
26044
- if (!(existing_nextPageUrl === incoming_nextPageUrl)) {
26045
- return false;
26046
- }
26047
- const existing_previousPageToken = existing.previousPageToken;
26048
- const incoming_previousPageToken = incoming.previousPageToken;
26049
- if (!(existing_previousPageToken === incoming_previousPageToken)) {
26050
- return false;
26051
- }
26052
- const existing_previousPageUrl = existing.previousPageUrl;
26053
- const incoming_previousPageUrl = incoming.previousPageUrl;
26054
- if (!(existing_previousPageUrl === incoming_previousPageUrl)) {
26055
- return false;
26056
- }
26057
- const existing_queryString = existing.queryString;
26058
- const incoming_queryString = incoming.queryString;
26059
- if (!(existing_queryString === incoming_queryString)) {
26060
- return false;
26061
- }
26062
- return true;
26063
- }
26064
- const ingest$D$1 = function ListInfoSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
26065
- const key = keyBuilderFromType$t(luvio, input);
26066
- const existingRecord = store.readEntry(key);
26067
- const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
26068
- let incomingRecord = normalize$D(input, store.readEntry(key), {
26069
- fullPath: key,
26070
- parent: path.parent,
26071
- propertyName: path.propertyName,
26072
- ttl: ttlToUse
26073
- }, luvio, store, timestamp);
26074
- const paginationKey = key + '__pagination';
26075
- const existingPaginationMetadata = store.readEntry(paginationKey);
26076
- const { count: count, currentPageToken: token, nextPageToken: nextToken, pageSize: pageSize, previousPageToken: previousToken, lists: items } = input;
26077
- const startOffset = existingPaginationMetadata === undefined ? 0 : offsetFromToken$1(existingPaginationMetadata, token);
26078
- const incomingPaginationMetadata = {
26079
- [token]: startOffset,
26080
- };
26081
- const nextOffset = startOffset + items.length;
26082
- if (nextToken === null) {
26083
- incomingPaginationMetadata.__END__ = nextOffset;
26084
- }
26085
- else {
26086
- incomingPaginationMetadata[nextToken] = nextOffset;
26087
- if (existingPaginationMetadata !== undefined) {
26088
- const listEndOffset = existingPaginationMetadata.__END__;
26089
- if (listEndOffset !== undefined && nextOffset >= listEndOffset) {
26090
- incomingPaginationMetadata.__END__ = undefined;
26091
- }
26092
- }
26093
- }
26094
- if (previousToken !== null) {
26095
- incomingPaginationMetadata[previousToken] = Math.max(startOffset - pageSize, 0);
26096
- }
26097
- const mergedPaginationMetadata = mergeMetadata$1(existingPaginationMetadata, incomingPaginationMetadata);
26098
- if (existingPaginationMetadata === undefined ||
26099
- equalsObject$1(existingPaginationMetadata, mergedPaginationMetadata, (existingProp, incomingProp) => {
26100
- return existingProp === incomingProp;
26101
- }) === false) {
26102
- luvio.storePublish(paginationKey, mergedPaginationMetadata);
26103
- luvio.publishStoreMetadata(paginationKey, paginationStoreMetadata$1);
26104
- }
26105
- assignMetadataLink$1(incomingRecord, paginationKey);
26106
- if (existingRecord !== undefined && existingRecord.lists !== undefined) {
26107
- incomingRecord.lists = [
26108
- ...existingRecord.lists.slice(0, startOffset),
26109
- ...incomingRecord.lists,
26110
- ...existingRecord.lists.slice(nextOffset),
26111
- ];
26112
- }
26113
- if (existingRecord === undefined || equals$R(existingRecord, incomingRecord) === false) {
26114
- luvio.storePublish(key, incomingRecord);
26115
- }
26116
- if (ttlToUse !== undefined) {
26117
- const storeMetadataParams = {
26118
- ttl: ttlToUse,
26119
- namespace: "UiApi",
26120
- version: VERSION$$$1,
26121
- representationName: RepresentationType$K,
26122
- ingestionTimestamp: timestamp,
26123
- };
26124
- luvio.publishStoreMetadata(key, storeMetadataParams);
26125
- }
26126
- return createLink$3(key);
26127
- };
26128
- function getTypeCacheKeys$L$1(rootKeySet, luvio, input, fullPathFactory) {
26129
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
26130
- const rootKey = keyBuilderFromType$t(luvio, input);
26131
- rootKeySet.set(rootKey, {
26132
- namespace: keyPrefix$2,
26133
- representationName: RepresentationType$K,
26134
- mergeable: true
26135
- });
26136
- rootKeySet.set(rootKey + '__pagination', {
26137
- namespace: keyPrefix$2,
26138
- representationName: RepresentationType$K,
26139
- mergeable: true
26140
- });
26141
- const input_lists_length = input.lists.length;
26142
- for (let i = 0; i < input_lists_length; i++) {
26143
- getTypeCacheKeys$M$1(rootKeySet, luvio, input.lists[i]);
26144
- }
26145
- }
26146
- const notifyUpdateAvailableFactory$2 = (luvio) => {
26147
- return function notifyListInfoSummaryUpdateAvailable(configs) {
26148
- const keys = configs.map(c => keyBuilder$1O(luvio, c));
26149
- return luvio.notifyStoreUpdateAvailable(keys);
26150
- };
26151
- };
26152
-
26153
26269
  const notifyUpdateAvailableFactory$1 = (luvio) => {
26154
26270
  return function notifyListInfoUpdateAvailable(configs) {
26155
26271
  const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$6(luvio);
@@ -28441,7 +28557,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
28441
28557
  buildCachedSnapshotCachePolicy$D, buildNetworkSnapshotCachePolicy$E);
28442
28558
  };
28443
28559
 
28444
- function validate$1e(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28560
+ function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28445
28561
  const v_error = (() => {
28446
28562
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28447
28563
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28852,7 +28968,7 @@ function typeCheckConfig$S(untrustedConfig) {
28852
28968
  const untrustedConfig_relatedListsActionParameters_array = [];
28853
28969
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28854
28970
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28855
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1e(untrustedConfig_relatedListsActionParameters_item);
28971
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
28856
28972
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28857
28973
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28858
28974
  }
@@ -30357,7 +30473,7 @@ function keyBuilder$1b(luvio, params) {
30357
30473
  return keyPrefix$2 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
30358
30474
  }
30359
30475
  function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
30360
- getTypeCacheKeys$O$1(storeKeyMap, luvio, response);
30476
+ getTypeCacheKeys$M$1(storeKeyMap, luvio, response);
30361
30477
  }
30362
30478
  function ingestError$q(luvio, params, error, snapshotRefresh) {
30363
30479
  const key = keyBuilder$1b(luvio, params);
@@ -30365,8 +30481,8 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
30365
30481
  const storeMetadataParams = {
30366
30482
  ttl: TTL$v,
30367
30483
  namespace: keyPrefix$2,
30368
- version: VERSION$13$1,
30369
- representationName: RepresentationType$O
30484
+ version: VERSION$11$1,
30485
+ representationName: RepresentationType$M
30370
30486
  };
30371
30487
  luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
30372
30488
  return errorSnapshot;
@@ -30387,11 +30503,11 @@ function createResourceRequest$L(config) {
30387
30503
 
30388
30504
  function onFetchResponseSuccess$t(luvio, config, resourceParams, response) {
30389
30505
  const { body } = response;
30390
- const key = keyBuilder$1S(luvio, config);
30391
- luvio.storeIngest(key, ingest$H$1, body);
30506
+ const key = keyBuilder$1Q(luvio, config);
30507
+ luvio.storeIngest(key, ingest$F$1, body);
30392
30508
  const snapshot = luvio.storeLookup({
30393
30509
  recordId: key,
30394
- node: select$1F(),
30510
+ node: select$1D(),
30395
30511
  variables: {},
30396
30512
  }, {
30397
30513
  config,
@@ -30436,8 +30552,8 @@ function validateAdapterConfig$O(untrustedConfig, _configPropertyNames) {
30436
30552
  function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
30437
30553
  const { luvio, config } = context;
30438
30554
  const selector = {
30439
- recordId: keyBuilder$1S(luvio, config),
30440
- node: select$1F(),
30555
+ recordId: keyBuilder$1Q(luvio, config),
30556
+ node: select$1D(),
30441
30557
  variables: {},
30442
30558
  };
30443
30559
  return storeLookup(selector, {
@@ -30506,7 +30622,7 @@ const getLayoutAdapterFactory = (luvio) => function UiApi__getLayout(untrustedCo
30506
30622
  };
30507
30623
 
30508
30624
  function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
30509
- getTypeCacheKeys$N$1(storeKeyMap, luvio, response);
30625
+ getTypeCacheKeys$L$1(storeKeyMap, luvio, response);
30510
30626
  }
30511
30627
  function createResourceRequest$K(config) {
30512
30628
  const headers = {};
@@ -30524,7 +30640,7 @@ function createResourceRequest$K(config) {
30524
30640
 
30525
30641
  function buildCachedSnapshot$5(luvio, config) {
30526
30642
  const { objectApiName, recordTypeId, layoutType, mode } = config;
30527
- const key = keyBuilder$1R(luvio, {
30643
+ const key = keyBuilder$1P(luvio, {
30528
30644
  apiName: objectApiName,
30529
30645
  recordTypeId,
30530
30646
  layoutType,
@@ -30532,7 +30648,7 @@ function buildCachedSnapshot$5(luvio, config) {
30532
30648
  });
30533
30649
  const selector = {
30534
30650
  recordId: key,
30535
- node: select$1E(),
30651
+ node: select$1C(),
30536
30652
  variables: {},
30537
30653
  };
30538
30654
  return luvio.storeLookup(selector, {
@@ -30565,7 +30681,7 @@ function onFetchResponseSuccess$s(luvio, config, key, response) {
30565
30681
  body.recordTypeId = recordTypeId;
30566
30682
  body.layoutType = layoutType;
30567
30683
  body.mode = mode;
30568
- luvio.storeIngest(key, ingest$G$1, body);
30684
+ luvio.storeIngest(key, ingest$E$1, body);
30569
30685
  const snapshot = buildCachedSnapshot$5(luvio, config);
30570
30686
  return luvio.storeBroadcast().then(() => snapshot);
30571
30687
  }
@@ -30579,7 +30695,7 @@ function onFetchResponseError$s(luvio, config, key, error) {
30579
30695
  }
30580
30696
  function prepareRequest$4(luvio, config) {
30581
30697
  const { recordTypeId, layoutType, mode, objectApiName } = config;
30582
- const key = keyBuilder$1R(luvio, {
30698
+ const key = keyBuilder$1P(luvio, {
30583
30699
  apiName: objectApiName,
30584
30700
  recordTypeId,
30585
30701
  layoutType,
@@ -30644,13 +30760,13 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
30644
30760
  const { config, luvio } = context;
30645
30761
  const { objectApiName, recordTypeId, layoutType, mode } = config;
30646
30762
  const selector = {
30647
- recordId: keyBuilder$1R(luvio, {
30763
+ recordId: keyBuilder$1P(luvio, {
30648
30764
  apiName: objectApiName,
30649
30765
  recordTypeId,
30650
30766
  layoutType,
30651
30767
  mode,
30652
30768
  }),
30653
- node: select$1E(),
30769
+ node: select$1C(),
30654
30770
  variables: {},
30655
30771
  };
30656
30772
  return storeLookup(selector, {
@@ -31100,22 +31216,22 @@ function createPaginationParams$1(params) {
31100
31216
  }
31101
31217
  function select$13$1(luvio, params) {
31102
31218
  const paginationParams = createPaginationParams$1(params);
31103
- return select$1C(paginationParams);
31219
+ return select$1K(paginationParams);
31104
31220
  }
31105
31221
  function keyBuilder$17$1(luvio, params) {
31106
- return keyBuilder$1O(luvio, {
31222
+ return keyBuilder$1_(luvio, {
31107
31223
  objectApiName: params.urlParams.objectApiName,
31108
31224
  queryString: params.queryParams.q || null,
31109
31225
  recentListsOnly: params.queryParams.recentListsOnly || false
31110
31226
  });
31111
31227
  }
31112
31228
  function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
31113
- getTypeCacheKeys$L$1(storeKeyMap, luvio, response);
31229
+ getTypeCacheKeys$Q$1(storeKeyMap, luvio, response);
31114
31230
  }
31115
31231
  function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
31116
31232
  const { body } = response;
31117
31233
  const key = keyBuilder$17$1(luvio, resourceParams);
31118
- luvio.storeIngest(key, ingest$D$1, body);
31234
+ luvio.storeIngest(key, ingest$J$1, body);
31119
31235
  const snapshot = luvio.storeLookup({
31120
31236
  recordId: key,
31121
31237
  node: select$13$1(luvio, resourceParams),
@@ -31243,7 +31359,7 @@ function getPaginationMetadata$2(luvio, resourceParams) {
31243
31359
  recordId: key,
31244
31360
  node: {
31245
31361
  kind: 'Fragment',
31246
- version: VERSION$$$1,
31362
+ version: VERSION$15$1,
31247
31363
  private: [],
31248
31364
  selections: [
31249
31365
  {
@@ -31309,7 +31425,7 @@ const getListInfosByObjectNameAdapterFactory = (luvio) => function UiApi__getLis
31309
31425
  buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
31310
31426
  };
31311
31427
 
31312
- function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
31428
+ function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
31313
31429
  const v_error = (() => {
31314
31430
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31315
31431
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31340,7 +31456,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
31340
31456
  return v_error === undefined ? null : v_error;
31341
31457
  }
31342
31458
 
31343
- function validate$13(obj, path = 'ListScopeInputRepresentation') {
31459
+ function validate$14(obj, path = 'ListScopeInputRepresentation') {
31344
31460
  const v_error = (() => {
31345
31461
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31346
31462
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31464,7 +31580,7 @@ function typeCheckConfig$I(untrustedConfig) {
31464
31580
  const untrustedConfig_filteredByInfo_array = [];
31465
31581
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
31466
31582
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
31467
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
31583
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
31468
31584
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
31469
31585
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
31470
31586
  }
@@ -31472,7 +31588,7 @@ function typeCheckConfig$I(untrustedConfig) {
31472
31588
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
31473
31589
  }
31474
31590
  const untrustedConfig_scope = untrustedConfig.scope;
31475
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
31591
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
31476
31592
  if (referenceListScopeInputRepresentationValidationError === null) {
31477
31593
  config.scope = untrustedConfig_scope;
31478
31594
  }
@@ -31740,7 +31856,7 @@ function typeCheckConfig$F(untrustedConfig) {
31740
31856
  const untrustedConfig_filteredByInfo_array = [];
31741
31857
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
31742
31858
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
31743
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
31859
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
31744
31860
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
31745
31861
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
31746
31862
  }
@@ -31748,7 +31864,7 @@ function typeCheckConfig$F(untrustedConfig) {
31748
31864
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
31749
31865
  }
31750
31866
  const untrustedConfig_scope = untrustedConfig.scope;
31751
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
31867
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
31752
31868
  if (referenceListScopeInputRepresentationValidationError === null) {
31753
31869
  config.scope = untrustedConfig_scope;
31754
31870
  }
@@ -32499,7 +32615,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
32499
32615
  buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
32500
32616
  };
32501
32617
 
32502
- function validate$Y(obj, path = 'ListOrderedByInfoInputRepresentation') {
32618
+ function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
32503
32619
  const v_error = (() => {
32504
32620
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
32505
32621
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -32602,7 +32718,7 @@ function typeCheckConfig$C(untrustedConfig) {
32602
32718
  const untrustedConfig_orderedBy_array = [];
32603
32719
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
32604
32720
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
32605
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
32721
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
32606
32722
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
32607
32723
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
32608
32724
  }
@@ -33035,8 +33151,8 @@ function selectChildResourceParams$4(luvio, childResources, resourceParams) {
33035
33151
  reader.enterPath(i);
33036
33152
  reader.enterPath(envelopeBodyPath);
33037
33153
  const childResource = childResources[i];
33038
- const childKey = keyBuilder$1U(luvio, childResource);
33039
- const childFragment = select$1G();
33154
+ const childKey = keyBuilder$1S(luvio, childResource);
33155
+ const childFragment = select$1E();
33040
33156
  const isMissingDataBeforeChildRead = reader.getIsDataMissing();
33041
33157
  const childSnapshot = reader.read({
33042
33158
  recordId: childKey,
@@ -33135,10 +33251,10 @@ function getResponseCacheKeys$v(keys, luvio, resourceParams, response) {
33135
33251
  getResponseCacheKeys$Y(keys, luvio, childResourceParams, childBody);
33136
33252
  }
33137
33253
  else if (childStatusCode === 404) {
33138
- const childKey = keyBuilder$1U(luvio, childResourceParams);
33254
+ const childKey = keyBuilder$1S(luvio, childResourceParams);
33139
33255
  keys.set(childKey, {
33140
33256
  namespace: keyPrefix$2,
33141
- representationName: RepresentationType$P,
33257
+ representationName: RepresentationType$N,
33142
33258
  mergeable: false
33143
33259
  });
33144
33260
  }
@@ -33151,7 +33267,7 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
33151
33267
  const now = Date.now();
33152
33268
  for (let index = 0, len = childResourceParamsArray.length; index < len; index += 1) {
33153
33269
  const childResourceParams = childResourceParamsArray[index];
33154
- const childKey = keyBuilder$1U(luvio, childResourceParams);
33270
+ const childKey = keyBuilder$1S(luvio, childResourceParams);
33155
33271
  const result = childEnvelopes[index];
33156
33272
  const { statusCode: childStatusCode, result: childBody } = result;
33157
33273
  if (childStatusCode === 200) {
@@ -36664,7 +36780,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
36664
36780
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36665
36781
  };
36666
36782
 
36667
- function validate$y(obj, path = 'ListUserPreferenceInputRepresentation') {
36783
+ function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
36668
36784
  const v_error = (() => {
36669
36785
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36670
36786
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36741,7 +36857,7 @@ function typeCheckConfig$o(untrustedConfig) {
36741
36857
  const untrustedConfig_orderedByInfo_array = [];
36742
36858
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36743
36859
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36744
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedByInfo_item);
36860
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
36745
36861
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36746
36862
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36747
36863
  }
@@ -36749,7 +36865,7 @@ function typeCheckConfig$o(untrustedConfig) {
36749
36865
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36750
36866
  }
36751
36867
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36752
- const referenceListUserPreferenceInputRepresentationValidationError = validate$y(untrustedConfig_userPreferences);
36868
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
36753
36869
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36754
36870
  config.userPreferences = untrustedConfig_userPreferences;
36755
36871
  }
@@ -37404,7 +37520,7 @@ function typeCheckConfig$l(untrustedConfig) {
37404
37520
  const untrustedConfig_orderedBy_array = [];
37405
37521
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
37406
37522
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
37407
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
37523
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
37408
37524
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
37409
37525
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
37410
37526
  }
@@ -37452,7 +37568,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
37452
37568
  };
37453
37569
  };
37454
37570
 
37455
- function validate$w(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
37571
+ function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
37456
37572
  const v_error = (() => {
37457
37573
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
37458
37574
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38406,7 +38522,7 @@ function typeCheckConfig$k(untrustedConfig) {
38406
38522
  const untrustedConfig_relatedListParameters_array = [];
38407
38523
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
38408
38524
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
38409
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$w(untrustedConfig_relatedListParameters_item);
38525
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
38410
38526
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
38411
38527
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
38412
38528
  }
@@ -39200,7 +39316,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
39200
39316
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
39201
39317
  };
39202
39318
 
39203
- function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
39319
+ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
39204
39320
  const v_error = (() => {
39205
39321
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
39206
39322
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -39231,7 +39347,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
39231
39347
  return v_error === undefined ? null : v_error;
39232
39348
  }
39233
39349
 
39234
- function validate$k(obj, path = 'SearchFilterInputRepresentation') {
39350
+ function validate$l(obj, path = 'SearchFilterInputRepresentation') {
39235
39351
  const v_error = (() => {
39236
39352
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
39237
39353
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -39300,7 +39416,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
39300
39416
  return v_error === undefined ? null : v_error;
39301
39417
  }
39302
39418
 
39303
- function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
39419
+ function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
39304
39420
  const v_error = (() => {
39305
39421
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
39306
39422
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -39313,7 +39429,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
39313
39429
  for (let i = 0; i < obj_dataCategories.length; i++) {
39314
39430
  const obj_dataCategories_item = obj_dataCategories[i];
39315
39431
  const path_dataCategories_item = path_dataCategories + '[' + i + ']';
39316
- const referencepath_dataCategories_itemValidationError = validate$l(obj_dataCategories_item, path_dataCategories_item);
39432
+ const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
39317
39433
  if (referencepath_dataCategories_itemValidationError !== null) {
39318
39434
  let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
39319
39435
  message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -39328,7 +39444,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
39328
39444
  for (let i = 0; i < obj_filters.length; i++) {
39329
39445
  const obj_filters_item = obj_filters[i];
39330
39446
  const path_filters_item = path_filters + '[' + i + ']';
39331
- const referencepath_filters_itemValidationError = validate$k(obj_filters_item, path_filters_item);
39447
+ const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
39332
39448
  if (referencepath_filters_itemValidationError !== null) {
39333
39449
  let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
39334
39450
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -39459,7 +39575,7 @@ function typeCheckConfig$f(untrustedConfig) {
39459
39575
  for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
39460
39576
  const key = untrustedConfig_searchObjectOptions_keys[i];
39461
39577
  const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
39462
- const referenceSearchObjectOptionsRepresentationValidationError = validate$j(untrustedConfig_searchObjectOptions_prop);
39578
+ const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
39463
39579
  if (referenceSearchObjectOptionsRepresentationValidationError === null) {
39464
39580
  if (untrustedConfig_searchObjectOptions_object !== undefined) {
39465
39581
  untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
@@ -39662,7 +39778,7 @@ function typeCheckConfig$e(untrustedConfig) {
39662
39778
  const untrustedConfig_filters_array = [];
39663
39779
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
39664
39780
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
39665
- const referenceSearchFilterInputRepresentationValidationError = validate$k(untrustedConfig_filters_item);
39781
+ const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
39666
39782
  if (referenceSearchFilterInputRepresentationValidationError === null) {
39667
39783
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
39668
39784
  }
@@ -40250,7 +40366,7 @@ function updateLayoutUserState$1(luvio, config, key, updateRequest) {
40250
40366
  const { body } = response;
40251
40367
  return luvio.handleSuccessResponse(() => ingestAndBroadcast(luvio, key, config, body), () => {
40252
40368
  const cache = new StoreKeyMap();
40253
- getTypeCacheKeys$N$1(cache, luvio, body);
40369
+ getTypeCacheKeys$L$1(cache, luvio, body);
40254
40370
  return cache;
40255
40371
  });
40256
40372
  }, (err) => {
@@ -40260,7 +40376,7 @@ function updateLayoutUserState$1(luvio, config, key, updateRequest) {
40260
40376
  }
40261
40377
  function ingestAndBroadcast(luvio, key, config, body) {
40262
40378
  addAdditionalFieldsForNorming(body, config.objectApiName, config.recordTypeId, config.layoutType, config.mode);
40263
- luvio.storeIngest(key, ingest$G$1, body);
40379
+ luvio.storeIngest(key, ingest$E$1, body);
40264
40380
  return luvio.storeBroadcast().then(() => {
40265
40381
  return buildCachedSnapshot$5(luvio, config);
40266
40382
  });
@@ -40331,7 +40447,7 @@ const factory$b = (luvio) => {
40331
40447
  recordTypeId,
40332
40448
  },
40333
40449
  });
40334
- const key = keyBuilder$1R(luvio, {
40450
+ const key = keyBuilder$1P(luvio, {
40335
40451
  apiName: objectApiName,
40336
40452
  recordTypeId,
40337
40453
  layoutType,
@@ -40394,7 +40510,7 @@ const getListRecordsByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValid
40394
40510
  const createResourceParams$8 = /*#__PURE__*/ createResourceParams$12(getListRecordsByName_ConfigPropertyMetadata);
40395
40511
  function keyBuilder$9$1(luvio, config) {
40396
40512
  const resourceParams = createResourceParams$8(config);
40397
- return keyBuilder$1$(luvio, resourceParams);
40513
+ return keyBuilder$1Z(luvio, resourceParams);
40398
40514
  }
40399
40515
  function typeCheckConfig$b(untrustedConfig) {
40400
40516
  const config = {};
@@ -40413,7 +40529,7 @@ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
40413
40529
  }
40414
40530
  function adapterFragment$1$1(luvio, config) {
40415
40531
  const resourceParams = createResourceParams$8(config);
40416
- return select$1L(luvio, resourceParams);
40532
+ return select$1J(luvio, resourceParams);
40417
40533
  }
40418
40534
  function onFetchResponseSuccess$2$1(luvio, config, resourceParams, response) {
40419
40535
  const snapshot = ingestSuccess$P(luvio, resourceParams, response, {
@@ -40476,7 +40592,7 @@ function getCachedItemsNumber(cacheSnapshot) {
40476
40592
  return items.length;
40477
40593
  }
40478
40594
  function getPaginationMetadata(luvio, resourceParams) {
40479
- const key = keyBuilder$1$(luvio, resourceParams);
40595
+ const key = keyBuilder$1Z(luvio, resourceParams);
40480
40596
  const selector = {
40481
40597
  recordId: key,
40482
40598
  node: {
@@ -41130,7 +41246,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
41130
41246
  const input_layout = input.layout;
41131
41247
  const input_layout_id = path.fullPath + '__layout';
41132
41248
  if (input_layout !== null && typeof input_layout === 'object') {
41133
- input.layout = ingest$H$1(input_layout, {
41249
+ input.layout = ingest$F$1(input_layout, {
41134
41250
  fullPath: input_layout_id,
41135
41251
  propertyName: 'layout',
41136
41252
  parent: {
@@ -41149,7 +41265,7 @@ function normalize$1(input, existing, path, luvio, store, timestamp) {
41149
41265
  const key = input_objectInfos_keys[i];
41150
41266
  const input_objectInfos_prop = input_objectInfos[key];
41151
41267
  const input_objectInfos_prop_id = input_objectInfos_id + '__' + key;
41152
- input_objectInfos[key] = ingest$I$1(input_objectInfos_prop, {
41268
+ input_objectInfos[key] = ingest$G$1(input_objectInfos_prop, {
41153
41269
  fullPath: input_objectInfos_prop_id,
41154
41270
  propertyName: key,
41155
41271
  parent: {
@@ -41217,14 +41333,14 @@ function getTypeCacheKeys$5$1(rootKeySet, luvio, input, fullPathFactory) {
41217
41333
  mergeable: false
41218
41334
  });
41219
41335
  if (input.layout !== null && typeof input.layout === 'object') {
41220
- getTypeCacheKeys$O$1(rootKeySet, luvio, input.layout);
41336
+ getTypeCacheKeys$M$1(rootKeySet, luvio, input.layout);
41221
41337
  }
41222
41338
  const input_objectInfos = input.objectInfos;
41223
41339
  const input_objectInfos_keys = ObjectKeys$2(input_objectInfos);
41224
41340
  const input_objectInfos_length = input_objectInfos_keys.length;
41225
41341
  for (let i = 0; i < input_objectInfos_length; i++) {
41226
41342
  const key = input_objectInfos_keys[i];
41227
- getTypeCacheKeys$P$1(rootKeySet, luvio, input_objectInfos[key]);
41343
+ getTypeCacheKeys$N$1(rootKeySet, luvio, input_objectInfos[key]);
41228
41344
  }
41229
41345
  getTypeCacheKeys$6$1(rootKeySet, luvio, input.record, () => rootKey + "__" + "record");
41230
41346
  }
@@ -41276,8 +41392,8 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
41276
41392
  }
41277
41393
 
41278
41394
  const contextId$2 = `${keyPrefix$2}__${adapterName$4$1}`;
41279
- const layoutSelections = select$1F();
41280
- const objectInfoSelections = select$1H();
41395
+ const layoutSelections = select$1D();
41396
+ const objectInfoSelections = select$1F();
41281
41397
  function buildSelector(resp) {
41282
41398
  const recordSelections = buildSelectionFromRecord(resp.record);
41283
41399
  return [
@@ -41623,7 +41739,7 @@ const dynamicSelect$2 = function dynamicRecordDefaultsTemplateCloneRepresentatio
41623
41739
  name: 'objectInfos',
41624
41740
  kind: 'Link',
41625
41741
  map: true,
41626
- fragment: select$1H()
41742
+ fragment: select$1F()
41627
41743
  } : params.objectInfos;
41628
41744
  const recordPathSelection = params.record === undefined ? {
41629
41745
  name: 'record',
@@ -41671,7 +41787,7 @@ function getTypeCacheKeys$3$1(rootKeySet, luvio, input, fullPathFactory) {
41671
41787
  const input_objectInfos_length = input_objectInfos_keys.length;
41672
41788
  for (let i = 0; i < input_objectInfos_length; i++) {
41673
41789
  const key = input_objectInfos_keys[i];
41674
- getTypeCacheKeys$P$1(rootKeySet, luvio, input_objectInfos[key]);
41790
+ getTypeCacheKeys$N$1(rootKeySet, luvio, input_objectInfos[key]);
41675
41791
  }
41676
41792
  getTypeCacheKeys$4$1(rootKeySet, luvio, input.record);
41677
41793
  }
@@ -41705,7 +41821,7 @@ function selectFields$5(fields) {
41705
41821
  function createFieldsIngest$2(params) {
41706
41822
  const { fields, optionalFields, trackedFields, recordConflictMap } = params;
41707
41823
  const ingest = dynamicIngest$2({
41708
- objectInfos: ingest$I$1,
41824
+ objectInfos: ingest$G$1,
41709
41825
  record: createFieldsIngest$3(params)
41710
41826
  });
41711
41827
  return (data, path, luvio, store, timestamp) => {
@@ -42149,7 +42265,7 @@ const dynamicSelect = function dynamicRecordDefaultsTemplateCreateRepresentation
42149
42265
  name: 'objectInfos',
42150
42266
  kind: 'Link',
42151
42267
  map: true,
42152
- fragment: select$1H()
42268
+ fragment: select$1F()
42153
42269
  } : params.objectInfos;
42154
42270
  const recordPathSelection = params.record === undefined ? {
42155
42271
  name: 'record',
@@ -42197,7 +42313,7 @@ function getTypeCacheKeys$1$1(rootKeySet, luvio, input, fullPathFactory) {
42197
42313
  const input_objectInfos_length = input_objectInfos_keys.length;
42198
42314
  for (let i = 0; i < input_objectInfos_length; i++) {
42199
42315
  const key = input_objectInfos_keys[i];
42200
- getTypeCacheKeys$P$1(rootKeySet, luvio, input_objectInfos[key]);
42316
+ getTypeCacheKeys$N$1(rootKeySet, luvio, input_objectInfos[key]);
42201
42317
  }
42202
42318
  getTypeCacheKeys$2$1(rootKeySet, luvio, input.record);
42203
42319
  }
@@ -42231,7 +42347,7 @@ function selectFields$2(fields) {
42231
42347
  function createFieldsIngest(params) {
42232
42348
  const { fields, optionalFields, trackedFields, recordConflictMap } = params;
42233
42349
  const ingest = dynamicIngest({
42234
- objectInfos: ingest$I$1,
42350
+ objectInfos: ingest$G$1,
42235
42351
  record: createFieldsIngest$1(params)
42236
42352
  });
42237
42353
  return (data, path, luvio, store, timestamp) => {
@@ -43470,7 +43586,7 @@ function bindExportsTo$1(luvio) {
43470
43586
  const getRelatedListActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListActions', getRelatedListActionsAdapterFactory), getRelatedListActionsMetadata);
43471
43587
  const getRelatedListCount_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListCount', getRelatedListCountAdapterFactory), getRelatedListCountMetadata);
43472
43588
  const getRelatedListInfo_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListInfo', getRelatedListInfoAdapterFactory), getRelatedListInfoMetadata);
43473
- const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), getRelatedListInfoBatchMetadata);
43589
+ const getRelatedListInfoBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapterWithPrediction(createLDSAdapter(luvio, 'getRelatedListInfoBatch', getRelatedListInfoBatchAdapterFactory), luvio, 'getRelatedListInfoBatch'), getRelatedListInfoBatchMetadata);
43474
43590
  const getRelatedListPreferences_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferences', getRelatedListPreferencesAdapterFactory), getRelatedListPreferencesMetadata);
43475
43591
  const getRelatedListPreferencesBatch_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListPreferencesBatch', getRelatedListPreferencesBatchAdapterFactory), getRelatedListPreferencesBatchMetadata);
43476
43592
  const getRelatedListRecordActions_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getRelatedListRecordActions', getRelatedListRecordActionsAdapterFactory), getRelatedListRecordActionsMetadata);
@@ -43763,13 +43879,19 @@ withDefaultLuvio((luvio) => {
43763
43879
  allowFunction: instrumentation$3.notifyRecordUpdateAvailableAllowed,
43764
43880
  dropFunction: instrumentation$3.notifyRecordUpdateAvailableDropped,
43765
43881
  });
43766
- throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$3));
43767
- throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
43882
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
43883
+ throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoSummaryUpdateAvailable', notifyUpdateAvailableFactory$3));
43768
43884
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
43769
43885
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListRecordCollectionUpdateAvailable', notifyUpdateAvailableFactory$4));
43770
43886
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
43887
+ // Setting up storeWatchers for custom notifyUpdateAvailable endpoints
43888
+ setupListRecordCollectionStoreWatcher(luvio);
43889
+ setupListSummaryCollectionStoreWatcher(luvio);
43890
+ // Custom notifyUpdateAvailable endpoints for partial key support
43891
+ throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
43892
+ throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
43771
43893
  });
43772
- // version: 1.274.0-a59680ec1
43894
+ // version: 1.276.0-58fd72593
43773
43895
 
43774
43896
  var ldsIdempotencyWriteDisabled = {
43775
43897
  isOpen: function (e) {
@@ -44679,7 +44801,7 @@ class DurableTTLStore {
44679
44801
  }
44680
44802
  }
44681
44803
 
44682
- function flushInMemoryStoreValuesToDurableStore(store, durableStore, crossEnvironmentNotifier, durableStoreErrorHandler, redirects, additionalDurableStoreOperations = [], enableDurableMetadataRefresh = false) {
44804
+ function flushInMemoryStoreValuesToDurableStore(store, durableStore, durableStoreErrorHandler, redirects, additionalDurableStoreOperations = [], enableDurableMetadataRefresh = false) {
44683
44805
  const durableRecords = create$6(null);
44684
44806
  const refreshedDurableRecords = create$6(null);
44685
44807
  const evictedRecords = create$6(null);
@@ -44719,21 +44841,14 @@ function flushInMemoryStoreValuesToDurableStore(store, durableStore, crossEnviro
44719
44841
  segment: DefaultDurableSegment,
44720
44842
  });
44721
44843
  }
44722
- if (keys$7(refreshedDurableRecords).length > 0) {
44844
+ const refreshKeys = keys$7(refreshedDurableRecords);
44845
+ if (refreshKeys.length > 0) {
44723
44846
  // publishes with only metadata updates
44724
44847
  durableStoreOperations.push({
44725
44848
  type: 'setMetadata',
44726
44849
  entries: refreshedDurableRecords,
44727
44850
  segment: DefaultDurableSegment,
44728
44851
  });
44729
- if (crossEnvironmentNotifier !== undefined) {
44730
- crossEnvironmentNotifier.notifyCrossEnvironments({
44731
- data: {
44732
- refreshedDurableRecords,
44733
- },
44734
- type: 'Update',
44735
- });
44736
- }
44737
44852
  }
44738
44853
  // redirects
44739
44854
  redirects.forEach((value, key) => {
@@ -45035,14 +45150,17 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
45035
45150
  }
45036
45151
  // process metadata only refreshes
45037
45152
  if (metadataRefreshSegmentKeys.length > 0) {
45038
- const entries = await durableStore.getMetadata(metadataRefreshSegmentKeys, DefaultDurableSegment);
45039
- if (entries !== undefined) {
45040
- const entryKeys = keys$7(entries);
45041
- for (let i = 0, len = entryKeys.length; i < len; i++) {
45042
- const entryKey = entryKeys[i];
45043
- const { metadata } = entries[entryKey];
45044
- if (metadata !== undefined) {
45045
- environment.putStoreMetadata(entryKey, metadata, false);
45153
+ const filteredKeys = metadataRefreshSegmentKeys.filter((s) => environment.storeKeyExists(s));
45154
+ if (filteredKeys.length > 0) {
45155
+ const entries = await durableStore.getMetadata(filteredKeys, DefaultDurableSegment);
45156
+ if (entries !== undefined) {
45157
+ const entryKeys = keys$7(entries);
45158
+ for (let i = 0, len = entryKeys.length; i < len; i++) {
45159
+ const entryKey = entryKeys[i];
45160
+ const { metadata } = entries[entryKey];
45161
+ if (metadata !== undefined) {
45162
+ environment.putStoreMetadata(entryKey, metadata, false);
45163
+ }
45046
45164
  }
45047
45165
  }
45048
45166
  }
@@ -45065,15 +45183,6 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
45065
45183
  }
45066
45184
  }
45067
45185
  });
45068
- let notifier;
45069
- const getCrossEnvironmentNotifier = function () {
45070
- validateNotDisposed();
45071
- return notifier;
45072
- };
45073
- const setCrossEnvironmentNotifier = function (crossEnvironmentNotifier) {
45074
- validateNotDisposed();
45075
- notifier = crossEnvironmentNotifier;
45076
- };
45077
45186
  const dispose = function () {
45078
45187
  validateNotDisposed();
45079
45188
  disposed = true;
@@ -45126,7 +45235,7 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
45126
45235
  if (stagingStore === null) {
45127
45236
  return Promise.resolve();
45128
45237
  }
45129
- const promise = flushInMemoryStoreValuesToDurableStore(stagingStore, durableStore, getCrossEnvironmentNotifier(), durableStoreErrorHandler, new Map(pendingStoreRedirects), additionalDurableStoreOperations, enableDurableMetadataRefresh);
45238
+ const promise = flushInMemoryStoreValuesToDurableStore(stagingStore, durableStore, durableStoreErrorHandler, new Map(pendingStoreRedirects), additionalDurableStoreOperations, enableDurableMetadataRefresh);
45130
45239
  pendingStoreRedirects.clear();
45131
45240
  stagingStore = null;
45132
45241
  return promise;
@@ -45496,8 +45605,6 @@ function makeDurable(environment, { durableStore, instrumentation, useRevivingSt
45496
45605
  handleErrorResponse: { value: handleErrorResponse },
45497
45606
  getNotifyChangeStoreEntries: { value: getNotifyChangeStoreEntries },
45498
45607
  notifyStoreUpdateAvailable: { value: notifyStoreUpdateAvailable },
45499
- getCrossEnvironmentNotifier: { value: getCrossEnvironmentNotifier },
45500
- setCrossEnvironmentNotifier: { value: setCrossEnvironmentNotifier },
45501
45608
  });
45502
45609
  }
45503
45610
 
@@ -56263,13 +56370,21 @@ function buildSyntheticRecordRepresentation(luvio, createOperation, userId, obje
56263
56370
  draftFields[DEFAULT_FIELD_LAST_MODIFIED_DATE] = { value: timestampString, displayValue: null };
56264
56371
  draftFields[DEFAULT_FIELD_OWNER_ID] = { value: userId, displayValue: null };
56265
56372
  draftFields[DEFAULT_FIELD_ID] = { value: recordId, displayValue: null };
56266
- if (objectInfo !== undefined) {
56267
- const allObjectFields = keys$3$1(objectInfo.fields);
56268
- allObjectFields.forEach((fieldName) => {
56269
- if (draftFields[fieldName] === undefined) {
56270
- draftFields[fieldName] = { value: null, displayValue: null };
56271
- }
56272
- });
56373
+ const allObjectFields = keys$3$1(objectInfo.fields);
56374
+ allObjectFields.forEach((fieldName) => {
56375
+ if (draftFields[fieldName] === undefined) {
56376
+ draftFields[fieldName] = { value: null, displayValue: null };
56377
+ }
56378
+ });
56379
+ // TODO [W-14915806]: lightning-record-form injects the `IsPersonAccount`
56380
+ // field for all `Account` and `PersonAccount` records. However, not all
56381
+ // orgs use person accounts, and if that field is not present in the object
56382
+ // info then it is not synthesized. We force it to be synthesized here to
56383
+ // ensure lightning-record-form will work correctly with draft-created
56384
+ // accounts.
56385
+ if ((apiName === 'Account' || apiName === 'PersonAccount') &&
56386
+ draftFields['IsPersonAccount'] === undefined) {
56387
+ draftFields['IsPersonAccount'] = { value: null, displayValue: null };
56273
56388
  }
56274
56389
  return {
56275
56390
  id: recordId,
@@ -59476,7 +59591,7 @@ function enableObjectInfoCaching(env, ensureObjectInfoCached) {
59476
59591
  if (representationName === RepresentationType$U) {
59477
59592
  incomingRecords.add(key);
59478
59593
  }
59479
- else if (representationName === RepresentationType$P) {
59594
+ else if (representationName === RepresentationType$N) {
59480
59595
  incomingObjectInfos.add(key);
59481
59596
  }
59482
59597
  }
@@ -60533,6 +60648,7 @@ function findReferenceFieldForSpanningField(fieldName, objectInfo) {
60533
60648
  function buildFieldUnionArray(existingRecord, incomingRecord, objectInfo) {
60534
60649
  const allFields = Array.from(new Set([...Object.keys(existingRecord.fields), ...Object.keys(incomingRecord.fields)]));
60535
60650
  const fieldUnion = [];
60651
+ let includesSpanningFields = false;
60536
60652
  allFields.forEach((fieldName) => {
60537
60653
  const objectInfoField = objectInfo.fields[fieldName];
60538
60654
  if (objectInfoField === undefined) {
@@ -60540,13 +60656,14 @@ function buildFieldUnionArray(existingRecord, incomingRecord, objectInfo) {
60540
60656
  const referenceField = findReferenceFieldForSpanningField(fieldName, objectInfo);
60541
60657
  if (referenceField !== undefined) {
60542
60658
  fieldUnion.push(`${fieldName}.Id`);
60659
+ includesSpanningFields = true;
60543
60660
  }
60544
60661
  }
60545
60662
  else {
60546
60663
  fieldUnion.push(fieldName);
60547
60664
  }
60548
60665
  });
60549
- return fieldUnion;
60666
+ return { fields: fieldUnion, includesSpanningFields };
60550
60667
  }
60551
60668
  /**
60552
60669
  * Merges (if possible) an incoming record from a priming session with an existing record in the durable store.
@@ -60578,7 +60695,7 @@ function mergeRecord(existingRecord, incomingRecord, objectInfo) {
60578
60695
  ok: false,
60579
60696
  code: 'conflict-drafts',
60580
60697
  hasDraft: true,
60581
- fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo),
60698
+ fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo).fields,
60582
60699
  };
60583
60700
  }
60584
60701
  // Check if incoming record's Etag is equal to the existing one
@@ -60640,10 +60757,19 @@ function mergeRecord(existingRecord, incomingRecord, objectInfo) {
60640
60757
  };
60641
60758
  }
60642
60759
  // If Etags do not match and the incoming record does not contain all fields, re-request the record
60760
+ const { fields, includesSpanningFields } = buildFieldUnionArray(existingRecord, incomingRecord, objectInfo);
60761
+ if (includesSpanningFields) {
60762
+ return {
60763
+ ok: false,
60764
+ code: 'conflict-spanning-record',
60765
+ fieldUnion: fields,
60766
+ hasDraft: false,
60767
+ };
60768
+ }
60643
60769
  return {
60644
60770
  ok: false,
60645
60771
  code: 'conflict-missing-fields',
60646
- fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo),
60772
+ fieldUnion: fields,
60647
60773
  hasDraft: false,
60648
60774
  };
60649
60775
  }
@@ -61691,7 +61817,7 @@ register$1({
61691
61817
  id: '@salesforce/lds-network-adapter',
61692
61818
  instrument: instrument$2,
61693
61819
  });
61694
- // version: 1.274.0-67da496e8
61820
+ // version: 1.276.0-dcebc4076
61695
61821
 
61696
61822
  const { create: create$3, keys: keys$3 } = Object;
61697
61823
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -79451,8 +79577,7 @@ function transformConfiguration(config) {
79451
79577
  function typeCheckConfig(untrustedConfig) {
79452
79578
  const config = {};
79453
79579
  const untrustedConfig_batchQuery = untrustedConfig.batchQuery;
79454
- if (untrustedConfig_batchQuery !== undefined &&
79455
- ArrayIsArray(untrustedConfig_batchQuery)) {
79580
+ if (untrustedConfig_batchQuery !== undefined && ArrayIsArray(untrustedConfig_batchQuery)) {
79456
79581
  const untrustedConfig_batchQuery_array = [];
79457
79582
  for (let i = 0, arrayLength = untrustedConfig_batchQuery.length; i < arrayLength; i++) {
79458
79583
  const untrustedConfig_batchQuery_item = untrustedConfig_batchQuery[i];
@@ -80086,7 +80211,7 @@ register$1({
80086
80211
  configuration: { ...configurationForGraphQLAdapters$1 },
80087
80212
  instrument: instrument$1,
80088
80213
  });
80089
- // version: 1.274.0-a59680ec1
80214
+ // version: 1.276.0-58fd72593
80090
80215
 
80091
80216
  // On core the unstable adapters are re-exported with different names,
80092
80217
  // we want to match them here.
@@ -82340,7 +82465,7 @@ withDefaultLuvio((luvio) => {
82340
82465
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
82341
82466
  graphQLImperative = ldsAdapter;
82342
82467
  });
82343
- // version: 1.274.0-a59680ec1
82468
+ // version: 1.276.0-58fd72593
82344
82469
 
82345
82470
  var gqlApi = /*#__PURE__*/Object.freeze({
82346
82471
  __proto__: null,
@@ -83038,7 +83163,7 @@ const callbacks$1 = [];
83038
83163
  function register(r) {
83039
83164
  callbacks$1.forEach((callback) => callback(r));
83040
83165
  }
83041
- // version: 1.274.0-67da496e8
83166
+ // version: 1.276.0-dcebc4076
83042
83167
 
83043
83168
  /**
83044
83169
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -87943,4 +88068,4 @@ const { luvio } = getRuntime();
87943
88068
  setDefaultLuvio({ luvio });
87944
88069
 
87945
88070
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
87946
- // version: 1.274.0-67da496e8
88071
+ // version: 1.276.0-dcebc4076