@salesforce/lds-worker-api 1.250.1 → 1.252.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.
@@ -3976,7 +3976,7 @@ function createResourceParamsImpl(config, configMetadata) {
3976
3976
  }
3977
3977
  return resourceParams;
3978
3978
  }
3979
- // engine version: 0.152.2-f6f687b3
3979
+ // engine version: 0.153.0-32ab5c05
3980
3980
 
3981
3981
  /**
3982
3982
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4104,7 +4104,7 @@ function withDefaultLuvio(callback) {
4104
4104
  }
4105
4105
  callbacks.push(callback);
4106
4106
  }
4107
- // version: 1.250.1-2c9d7e061
4107
+ // version: 1.252.0-a960aa048
4108
4108
 
4109
4109
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4110
4110
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15612,7 +15612,7 @@ function gql(literals, ...subs) {
15612
15612
  }
15613
15613
  return superResult;
15614
15614
  }
15615
- // version: 1.250.1-2c9d7e061
15615
+ // version: 1.252.0-a960aa048
15616
15616
 
15617
15617
  function unwrap(data) {
15618
15618
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16537,7 +16537,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
16537
16537
  const { apiFamily, name } = metadata;
16538
16538
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16539
16539
  }
16540
- // version: 1.250.1-2c9d7e061
16540
+ // version: 1.252.0-a960aa048
16541
16541
 
16542
16542
  /**
16543
16543
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16636,7 +16636,7 @@ var TypeCheckShapes;
16636
16636
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
16637
16637
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
16638
16638
  })(TypeCheckShapes || (TypeCheckShapes = {}));
16639
- // engine version: 0.152.2-f6f687b3
16639
+ // engine version: 0.153.0-32ab5c05
16640
16640
 
16641
16641
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16642
16642
 
@@ -16904,7 +16904,9 @@ function createLDSAdapterWithPrediction(adapter, luvio, name) {
16904
16904
  const prefetcher = getPrefetcherFor(luvio);
16905
16905
  const result = adapter(config, requestContext);
16906
16906
  // only save requests with a valid config.
16907
- if (result !== null && prefetcher !== undefined) {
16907
+ if (result !== null &&
16908
+ prefetcher !== undefined &&
16909
+ !(requestContext && requestContext.excludeFromPredictions)) {
16908
16910
  prefetcher.saveRequest({ adapterName: name, config });
16909
16911
  }
16910
16912
  return result;
@@ -17242,11 +17244,11 @@ function assignMetadataLink$1(entry, metadataKey) {
17242
17244
  entry['__metadata'] = createLink$3(metadataKey);
17243
17245
  }
17244
17246
 
17245
- const VERSION$1m = "d8917f62af39b67a54f8ff8cf7ea49c6";
17246
- const select$1X = function ListColumnRepresentationSelect() {
17247
+ const VERSION$1n = "623aa9ce3a11031e35faf5671a41746e";
17248
+ const select$1Y = function ListFilterByInfoRepresentationSelect() {
17247
17249
  return {
17248
17250
  kind: 'Fragment',
17249
- version: VERSION$1m,
17251
+ version: VERSION$1n,
17250
17252
  private: [],
17251
17253
  selections: [
17252
17254
  {
@@ -17258,55 +17260,42 @@ const select$1X = function ListColumnRepresentationSelect() {
17258
17260
  kind: 'Scalar'
17259
17261
  },
17260
17262
  {
17261
- name: 'lookupId',
17262
- kind: 'Scalar'
17263
- },
17264
- {
17265
- name: 'searchable',
17263
+ name: 'operandLabels',
17266
17264
  kind: 'Scalar',
17267
- required: false
17265
+ plural: true
17268
17266
  },
17269
17267
  {
17270
- name: 'sortable',
17268
+ name: 'operator',
17271
17269
  kind: 'Scalar'
17272
17270
  }
17273
17271
  ]
17274
17272
  };
17275
17273
  };
17276
17274
 
17277
- const VERSION$1l = "623aa9ce3a11031e35faf5671a41746e";
17278
- const select$1W$1 = function ListFilterByInfoRepresentationSelect() {
17275
+ const VERSION$1m = "f98dc7dec10408a9648ef8e5b37002a3";
17276
+ const select$1X = function ListInlineEditDetailsRepresentationSelect() {
17279
17277
  return {
17280
17278
  kind: 'Fragment',
17281
- version: VERSION$1l,
17279
+ version: VERSION$1m,
17282
17280
  private: [],
17283
17281
  selections: [
17284
17282
  {
17285
- name: 'fieldApiName',
17286
- kind: 'Scalar'
17287
- },
17288
- {
17289
- name: 'label',
17283
+ name: 'message',
17290
17284
  kind: 'Scalar'
17291
17285
  },
17292
17286
  {
17293
- name: 'operandLabels',
17294
- kind: 'Scalar',
17295
- plural: true
17296
- },
17297
- {
17298
- name: 'operator',
17287
+ name: 'state',
17299
17288
  kind: 'Scalar'
17300
17289
  }
17301
17290
  ]
17302
17291
  };
17303
17292
  };
17304
17293
 
17305
- const VERSION$1k = "76042ff4af603b2ac0ec69fa0bd12046";
17306
- const select$1V$1 = function ListReferenceRepresentationSelect() {
17294
+ const VERSION$1l = "76042ff4af603b2ac0ec69fa0bd12046";
17295
+ const select$1W$1 = function ListReferenceRepresentationSelect() {
17307
17296
  return {
17308
17297
  kind: 'Fragment',
17309
- version: VERSION$1k,
17298
+ version: VERSION$1l,
17310
17299
  private: [],
17311
17300
  selections: [
17312
17301
  {
@@ -17328,7 +17317,7 @@ const select$1V$1 = function ListReferenceRepresentationSelect() {
17328
17317
  ]
17329
17318
  };
17330
17319
  };
17331
- function equals$13(existing, incoming) {
17320
+ function equals$14(existing, incoming) {
17332
17321
  const existing_objectApiName = existing.objectApiName;
17333
17322
  const incoming_objectApiName = incoming.objectApiName;
17334
17323
  if (!(existing_objectApiName === incoming_objectApiName)) {
@@ -17352,11 +17341,11 @@ function equals$13(existing, incoming) {
17352
17341
  return true;
17353
17342
  }
17354
17343
 
17355
- const VERSION$1j = "f1519bef57e70ab7c5ef160dc5ff0c47";
17356
- const select$1U$1 = function ListInfoShareRepresentationSelect() {
17344
+ const VERSION$1k = "f1519bef57e70ab7c5ef160dc5ff0c47";
17345
+ const select$1V$1 = function ListInfoShareRepresentationSelect() {
17357
17346
  return {
17358
17347
  kind: 'Fragment',
17359
- version: VERSION$1j,
17348
+ version: VERSION$1k,
17360
17349
  private: [],
17361
17350
  selections: [
17362
17351
  {
@@ -17371,12 +17360,12 @@ const select$1U$1 = function ListInfoShareRepresentationSelect() {
17371
17360
  };
17372
17361
  };
17373
17362
 
17374
- const VERSION$1i = "561657f32721ec1dac1601575b029640";
17375
- const select$1T$1 = function ListInfoShareCategoryRepresentationSelect() {
17376
- const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$1U$1();
17363
+ const VERSION$1j = "561657f32721ec1dac1601575b029640";
17364
+ const select$1U$1 = function ListInfoShareCategoryRepresentationSelect() {
17365
+ const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$1V$1();
17377
17366
  return {
17378
17367
  kind: 'Fragment',
17379
- version: VERSION$1i,
17368
+ version: VERSION$1j,
17380
17369
  private: [],
17381
17370
  selections: [
17382
17371
  {
@@ -17393,11 +17382,11 @@ const select$1T$1 = function ListInfoShareCategoryRepresentationSelect() {
17393
17382
  };
17394
17383
  };
17395
17384
 
17396
- const VERSION$1h = "32def9b631252c12b91a8209c1f49f5a";
17397
- const select$1S$1 = function ListOrderByInfoRepresentationSelect() {
17385
+ const VERSION$1i = "32def9b631252c12b91a8209c1f49f5a";
17386
+ const select$1T$1 = function ListOrderByInfoRepresentationSelect() {
17398
17387
  return {
17399
17388
  kind: 'Fragment',
17400
- version: VERSION$1h,
17389
+ version: VERSION$1i,
17401
17390
  private: [],
17402
17391
  selections: [
17403
17392
  {
@@ -17415,7 +17404,7 @@ const select$1S$1 = function ListOrderByInfoRepresentationSelect() {
17415
17404
  ]
17416
17405
  };
17417
17406
  };
17418
- function equals$12(existing, incoming) {
17407
+ function equals$13(existing, incoming) {
17419
17408
  const existing_isAscending = existing.isAscending;
17420
17409
  const incoming_isAscending = incoming.isAscending;
17421
17410
  if (!(existing_isAscending === incoming_isAscending)) {
@@ -17434,11 +17423,11 @@ function equals$12(existing, incoming) {
17434
17423
  return true;
17435
17424
  }
17436
17425
 
17437
- const VERSION$1g = "2634258f216db34315c06d759a35676d";
17438
- const select$1R$1 = function ListScopeEntityRepresentationSelect() {
17426
+ const VERSION$1h = "2634258f216db34315c06d759a35676d";
17427
+ const select$1S$1 = function ListScopeEntityRepresentationSelect() {
17439
17428
  return {
17440
17429
  kind: 'Fragment',
17441
- version: VERSION$1g,
17430
+ version: VERSION$1h,
17442
17431
  private: [],
17443
17432
  selections: [
17444
17433
  {
@@ -17453,11 +17442,11 @@ const select$1R$1 = function ListScopeEntityRepresentationSelect() {
17453
17442
  };
17454
17443
  };
17455
17444
 
17456
- const VERSION$1f = "3b85c5a08d50ce328481b9f8ab56127b";
17457
- const select$1Q$1 = function ListScopeRelatedEntityRepresentationSelect() {
17445
+ const VERSION$1g = "3b85c5a08d50ce328481b9f8ab56127b";
17446
+ const select$1R$1 = function ListScopeRelatedEntityRepresentationSelect() {
17458
17447
  return {
17459
17448
  kind: 'Fragment',
17460
- version: VERSION$1f,
17449
+ version: VERSION$1g,
17461
17450
  private: [],
17462
17451
  selections: [
17463
17452
  {
@@ -17476,13 +17465,13 @@ const select$1Q$1 = function ListScopeRelatedEntityRepresentationSelect() {
17476
17465
  };
17477
17466
  };
17478
17467
 
17479
- const VERSION$1e = "2fe9814e7124b47f59da585483c1b3f9";
17480
- const select$1P = function ListScopeRepresentationSelect() {
17481
- const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$1R$1();
17482
- const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$1Q$1();
17468
+ const VERSION$1f = "2fe9814e7124b47f59da585483c1b3f9";
17469
+ const select$1Q$1 = function ListScopeRepresentationSelect() {
17470
+ const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$1S$1();
17471
+ const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$1R$1();
17483
17472
  return {
17484
17473
  kind: 'Fragment',
17485
- version: VERSION$1e,
17474
+ version: VERSION$1f,
17486
17475
  private: [],
17487
17476
  selections: [
17488
17477
  {
@@ -17509,11 +17498,11 @@ const select$1P = function ListScopeRepresentationSelect() {
17509
17498
  };
17510
17499
  };
17511
17500
 
17512
- const VERSION$1d = "6506134f4d72fdfa349fe60ef1af2413";
17513
- const select$1O = function ListUserPreferenceRepresentationSelect() {
17501
+ const VERSION$1e = "6506134f4d72fdfa349fe60ef1af2413";
17502
+ const select$1P = function ListUserPreferenceRepresentationSelect() {
17514
17503
  return {
17515
17504
  kind: 'Fragment',
17516
- version: VERSION$1d,
17505
+ version: VERSION$1e,
17517
17506
  private: [],
17518
17507
  selections: [
17519
17508
  {
@@ -17530,8 +17519,43 @@ const select$1O = function ListUserPreferenceRepresentationSelect() {
17530
17519
  };
17531
17520
  };
17532
17521
 
17522
+ const VERSION$1d = "8aff6b0baf2e60a237e860236c4e1b70";
17523
+ const RepresentationType$V = 'ListColumnRepresentation';
17524
+ function normalize$P(input, existing, path, luvio, store, timestamp) {
17525
+ return input;
17526
+ }
17527
+ const select$1O = function ListColumnRepresentationSelect() {
17528
+ return {
17529
+ kind: 'Fragment',
17530
+ version: VERSION$1d,
17531
+ private: [],
17532
+ opaque: true
17533
+ };
17534
+ };
17535
+ function equals$12(existing, incoming) {
17536
+ if (JSONStringify$2(incoming) !== JSONStringify$2(existing)) {
17537
+ return false;
17538
+ }
17539
+ return true;
17540
+ }
17541
+ const ingest$P$1 = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
17542
+ const key = path.fullPath;
17543
+ const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
17544
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$1d, RepresentationType$V, equals$12);
17545
+ return createLink$3(key);
17546
+ };
17547
+ function getTypeCacheKeys$W$1(rootKeySet, luvio, input, fullPathFactory) {
17548
+ // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
17549
+ const rootKey = fullPathFactory();
17550
+ rootKeySet.set(rootKey, {
17551
+ namespace: keyPrefix$2,
17552
+ representationName: RepresentationType$V,
17553
+ mergeable: false
17554
+ });
17555
+ }
17556
+
17533
17557
  const TTL$z = 900000;
17534
- const VERSION$1c$1 = "6bd7c5a1bb955f37db137327c7d65f65";
17558
+ const VERSION$1c$1 = "178c8b58f78e2720fe8846a667c7b294";
17535
17559
  const RepresentationType$U = 'ListInfoRepresentation';
17536
17560
  function keyBuilder$20(luvio, config) {
17537
17561
  return keyPrefix$2 + '::' + RepresentationType$U + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
@@ -17545,16 +17569,32 @@ function keyBuilderFromType$C(luvio, object) {
17545
17569
  return keyBuilder$20(luvio, keyParams);
17546
17570
  }
17547
17571
  function normalize$O(input, existing, path, luvio, store, timestamp) {
17572
+ const input_displayColumns = input.displayColumns;
17573
+ const input_displayColumns_id = path.fullPath + '__displayColumns';
17574
+ for (let i = 0; i < input_displayColumns.length; i++) {
17575
+ const input_displayColumns_item = input_displayColumns[i];
17576
+ let input_displayColumns_item_id = input_displayColumns_id + '__' + i;
17577
+ input_displayColumns[i] = ingest$P$1(input_displayColumns_item, {
17578
+ fullPath: input_displayColumns_item_id,
17579
+ propertyName: i,
17580
+ parent: {
17581
+ data: input,
17582
+ key: path.fullPath,
17583
+ existing: existing,
17584
+ },
17585
+ ttl: path.ttl
17586
+ }, luvio, store, timestamp);
17587
+ }
17548
17588
  return input;
17549
17589
  }
17550
17590
  const select$1N = function ListInfoRepresentationSelect() {
17551
- const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$1X();
17552
- const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1W$1();
17553
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1V$1();
17554
- const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$1T$1();
17555
- const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1S$1();
17556
- const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1P();
17557
- const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1O();
17591
+ const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1Y();
17592
+ const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$1X();
17593
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
17594
+ const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$1U$1();
17595
+ const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T$1();
17596
+ const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1Q$1();
17597
+ const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1P();
17558
17598
  return {
17559
17599
  kind: 'Fragment',
17560
17600
  version: VERSION$1c$1,
@@ -17576,9 +17616,9 @@ const select$1N = function ListInfoRepresentationSelect() {
17576
17616
  },
17577
17617
  {
17578
17618
  name: 'displayColumns',
17579
- kind: 'Object',
17619
+ kind: 'Link',
17580
17620
  plural: true,
17581
- selections: ListColumnRepresentation__selections
17621
+ fragment: select$1O()
17582
17622
  },
17583
17623
  {
17584
17624
  name: 'filterLogicString',
@@ -17590,6 +17630,13 @@ const select$1N = function ListInfoRepresentationSelect() {
17590
17630
  plural: true,
17591
17631
  selections: ListFilterByInfoRepresentation__selections
17592
17632
  },
17633
+ {
17634
+ name: 'inlineEditDetails',
17635
+ kind: 'Object',
17636
+ nullable: true,
17637
+ selections: ListInlineEditDetailsRepresentation__selections,
17638
+ required: false
17639
+ },
17593
17640
  {
17594
17641
  name: 'label',
17595
17642
  kind: 'Scalar'
@@ -17670,6 +17717,10 @@ function getTypeCacheKeys$V$1(rootKeySet, luvio, input, fullPathFactory) {
17670
17717
  representationName: RepresentationType$U,
17671
17718
  mergeable: false
17672
17719
  });
17720
+ const input_displayColumns_length = input.displayColumns.length;
17721
+ for (let i = 0; i < input_displayColumns_length; i++) {
17722
+ getTypeCacheKeys$W$1(rootKeySet, luvio, input.displayColumns[i], () => '');
17723
+ }
17673
17724
  }
17674
17725
  const notifyUpdateAvailableFactory$4 = (luvio) => {
17675
17726
  return function notifyListInfoUpdateAvailable(configs) {
@@ -21407,7 +21458,7 @@ function normalize$K(input, existing, path, luvio, store, timestamp) {
21407
21458
  return input;
21408
21459
  }
21409
21460
  const select$1I = function ListRecordCollectionRepresentationSelect(paginationParams) {
21410
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1V$1();
21461
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
21411
21462
  return {
21412
21463
  kind: 'Fragment',
21413
21464
  reader: true,
@@ -21524,7 +21575,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
21524
21575
  kind: 'Link',
21525
21576
  fragment: select$1J()
21526
21577
  } : params.records;
21527
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1V$1();
21578
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
21528
21579
  return {
21529
21580
  kind: 'Fragment',
21530
21581
  reader: true,
@@ -21639,7 +21690,7 @@ function equals$Y(existing, incoming) {
21639
21690
  }
21640
21691
  const existing_listReference = existing.listReference;
21641
21692
  const incoming_listReference = incoming.listReference;
21642
- if (!(equals$13(existing_listReference, incoming_listReference))) {
21693
+ if (!(equals$14(existing_listReference, incoming_listReference))) {
21643
21694
  return false;
21644
21695
  }
21645
21696
  const existing_nextPageToken = existing.nextPageToken;
@@ -27625,7 +27676,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
27625
27676
  buildCachedSnapshotCachePolicy$D, buildNetworkSnapshotCachePolicy$D);
27626
27677
  };
27627
27678
 
27628
- function validate$1a(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
27679
+ function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
27629
27680
  const v_error = (() => {
27630
27681
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
27631
27682
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28036,7 +28087,7 @@ function typeCheckConfig$R(untrustedConfig) {
28036
28087
  const untrustedConfig_relatedListsActionParameters_array = [];
28037
28088
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28038
28089
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28039
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1a(untrustedConfig_relatedListsActionParameters_item);
28090
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
28040
28091
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28041
28092
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28042
28093
  }
@@ -30275,7 +30326,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
30275
30326
  buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
30276
30327
  };
30277
30328
 
30278
- function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
30329
+ function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
30279
30330
  const v_error = (() => {
30280
30331
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30281
30332
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30306,7 +30357,7 @@ function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
30306
30357
  return v_error === undefined ? null : v_error;
30307
30358
  }
30308
30359
 
30309
- function validate$$(obj, path = 'ListScopeInputRepresentation') {
30360
+ function validate$14(obj, path = 'ListScopeInputRepresentation') {
30310
30361
  const v_error = (() => {
30311
30362
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30312
30363
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30430,7 +30481,7 @@ function typeCheckConfig$I(untrustedConfig) {
30430
30481
  const untrustedConfig_filteredByInfo_array = [];
30431
30482
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30432
30483
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30433
- const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
30484
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
30434
30485
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30435
30486
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30436
30487
  }
@@ -30438,7 +30489,7 @@ function typeCheckConfig$I(untrustedConfig) {
30438
30489
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30439
30490
  }
30440
30491
  const untrustedConfig_scope = untrustedConfig.scope;
30441
- const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
30492
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
30442
30493
  if (referenceListScopeInputRepresentationValidationError === null) {
30443
30494
  config.scope = untrustedConfig_scope;
30444
30495
  }
@@ -30706,7 +30757,7 @@ function typeCheckConfig$F(untrustedConfig) {
30706
30757
  const untrustedConfig_filteredByInfo_array = [];
30707
30758
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30708
30759
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30709
- const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
30760
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
30710
30761
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30711
30762
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30712
30763
  }
@@ -30714,7 +30765,7 @@ function typeCheckConfig$F(untrustedConfig) {
30714
30765
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30715
30766
  }
30716
30767
  const untrustedConfig_scope = untrustedConfig.scope;
30717
- const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
30768
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
30718
30769
  if (referenceListScopeInputRepresentationValidationError === null) {
30719
30770
  config.scope = untrustedConfig_scope;
30720
30771
  }
@@ -31245,8 +31296,8 @@ function normalize$o(input, existing, path, luvio, store, timestamp) {
31245
31296
  return input;
31246
31297
  }
31247
31298
  const select$X$1 = function ListPreferencesRepresentationSelect() {
31248
- const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1V$1();
31249
- const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1S$1();
31299
+ const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
31300
+ const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T$1();
31250
31301
  return {
31251
31302
  kind: 'Fragment',
31252
31303
  version: VERSION$D$1,
@@ -31299,13 +31350,13 @@ function equals$x(existing, incoming) {
31299
31350
  }
31300
31351
  const existing_listReference = existing.listReference;
31301
31352
  const incoming_listReference = incoming.listReference;
31302
- if (!(equals$13(existing_listReference, incoming_listReference))) {
31353
+ if (!(equals$14(existing_listReference, incoming_listReference))) {
31303
31354
  return false;
31304
31355
  }
31305
31356
  const existing_orderedBy = existing.orderedBy;
31306
31357
  const incoming_orderedBy = incoming.orderedBy;
31307
31358
  const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
31308
- if (!(equals$12(existing_orderedBy_item, incoming_orderedBy_item))) {
31359
+ if (!(equals$13(existing_orderedBy_item, incoming_orderedBy_item))) {
31309
31360
  return false;
31310
31361
  }
31311
31362
  });
@@ -31465,7 +31516,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
31465
31516
  buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
31466
31517
  };
31467
31518
 
31468
- function validate$U(obj, path = 'ListOrderedByInfoInputRepresentation') {
31519
+ function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
31469
31520
  const v_error = (() => {
31470
31521
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31471
31522
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31568,7 +31619,7 @@ function typeCheckConfig$C(untrustedConfig) {
31568
31619
  const untrustedConfig_orderedBy_array = [];
31569
31620
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
31570
31621
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
31571
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$U(untrustedConfig_orderedBy_item);
31622
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
31572
31623
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
31573
31624
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
31574
31625
  }
@@ -35629,7 +35680,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
35629
35680
  buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
35630
35681
  };
35631
35682
 
35632
- function validate$u(obj, path = 'ListUserPreferenceInputRepresentation') {
35683
+ function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
35633
35684
  const v_error = (() => {
35634
35685
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
35635
35686
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -35706,7 +35757,7 @@ function typeCheckConfig$o(untrustedConfig) {
35706
35757
  const untrustedConfig_orderedByInfo_array = [];
35707
35758
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
35708
35759
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
35709
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$U(untrustedConfig_orderedByInfo_item);
35760
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
35710
35761
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
35711
35762
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
35712
35763
  }
@@ -35714,7 +35765,7 @@ function typeCheckConfig$o(untrustedConfig) {
35714
35765
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
35715
35766
  }
35716
35767
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
35717
- const referenceListUserPreferenceInputRepresentationValidationError = validate$u(untrustedConfig_userPreferences);
35768
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
35718
35769
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
35719
35770
  config.userPreferences = untrustedConfig_userPreferences;
35720
35771
  }
@@ -36369,7 +36420,7 @@ function typeCheckConfig$l(untrustedConfig) {
36369
36420
  const untrustedConfig_orderedBy_array = [];
36370
36421
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36371
36422
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36372
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$U(untrustedConfig_orderedBy_item);
36423
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
36373
36424
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36374
36425
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36375
36426
  }
@@ -36417,7 +36468,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
36417
36468
  };
36418
36469
  };
36419
36470
 
36420
- function validate$s(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36471
+ function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36421
36472
  const v_error = (() => {
36422
36473
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36423
36474
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37370,7 +37421,7 @@ function typeCheckConfig$k(untrustedConfig) {
37370
37421
  const untrustedConfig_relatedListParameters_array = [];
37371
37422
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37372
37423
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37373
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$s(untrustedConfig_relatedListParameters_item);
37424
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
37374
37425
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37375
37426
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37376
37427
  }
@@ -38162,8 +38213,147 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
38162
38213
  buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
38163
38214
  };
38164
38215
 
38216
+ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
38217
+ const v_error = (() => {
38218
+ if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38219
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
38220
+ }
38221
+ const obj_groupName = obj.groupName;
38222
+ const path_groupName = path + '.groupName';
38223
+ if (typeof obj_groupName !== 'string') {
38224
+ return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
38225
+ }
38226
+ const obj_operator = obj.operator;
38227
+ const path_operator = path + '.operator';
38228
+ if (typeof obj_operator !== 'string') {
38229
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
38230
+ }
38231
+ const obj_values = obj.values;
38232
+ const path_values = path + '.values';
38233
+ if (!ArrayIsArray$2(obj_values)) {
38234
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
38235
+ }
38236
+ for (let i = 0; i < obj_values.length; i++) {
38237
+ const obj_values_item = obj_values[i];
38238
+ const path_values_item = path_values + '[' + i + ']';
38239
+ if (typeof obj_values_item !== 'string') {
38240
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38241
+ }
38242
+ }
38243
+ })();
38244
+ return v_error === undefined ? null : v_error;
38245
+ }
38246
+
38247
+ function validate$l(obj, path = 'SearchFilterInputRepresentation') {
38248
+ const v_error = (() => {
38249
+ if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38250
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
38251
+ }
38252
+ const obj_fieldPath = obj.fieldPath;
38253
+ const path_fieldPath = path + '.fieldPath';
38254
+ if (typeof obj_fieldPath !== 'string') {
38255
+ return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
38256
+ }
38257
+ if (obj.objectApiName !== undefined) {
38258
+ const obj_objectApiName = obj.objectApiName;
38259
+ const path_objectApiName = path + '.objectApiName';
38260
+ if (typeof obj_objectApiName !== 'string') {
38261
+ return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
38262
+ }
38263
+ }
38264
+ const obj_operator = obj.operator;
38265
+ const path_operator = path + '.operator';
38266
+ if (typeof obj_operator !== 'string') {
38267
+ return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
38268
+ }
38269
+ const obj_values = obj.values;
38270
+ const path_values = path + '.values';
38271
+ if (!ArrayIsArray$2(obj_values)) {
38272
+ return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
38273
+ }
38274
+ for (let i = 0; i < obj_values.length; i++) {
38275
+ const obj_values_item = obj_values[i];
38276
+ const path_values_item = path_values + '[' + i + ']';
38277
+ let obj_values_item_union0 = null;
38278
+ const obj_values_item_union0_error = (() => {
38279
+ if (typeof obj_values_item !== 'string') {
38280
+ return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38281
+ }
38282
+ })();
38283
+ if (obj_values_item_union0_error != null) {
38284
+ obj_values_item_union0 = obj_values_item_union0_error.message;
38285
+ }
38286
+ let obj_values_item_union1 = null;
38287
+ const obj_values_item_union1_error = (() => {
38288
+ if (typeof obj_values_item !== 'number') {
38289
+ return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38290
+ }
38291
+ })();
38292
+ if (obj_values_item_union1_error != null) {
38293
+ obj_values_item_union1 = obj_values_item_union1_error.message;
38294
+ }
38295
+ let obj_values_item_union2 = null;
38296
+ const obj_values_item_union2_error = (() => {
38297
+ if (typeof obj_values_item !== 'boolean') {
38298
+ return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38299
+ }
38300
+ })();
38301
+ if (obj_values_item_union2_error != null) {
38302
+ obj_values_item_union2 = obj_values_item_union2_error.message;
38303
+ }
38304
+ if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
38305
+ let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
38306
+ message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
38307
+ message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
38308
+ message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
38309
+ return new TypeError(message);
38310
+ }
38311
+ }
38312
+ })();
38313
+ return v_error === undefined ? null : v_error;
38314
+ }
38315
+
38316
+ function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
38317
+ const v_error = (() => {
38318
+ if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38319
+ return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
38320
+ }
38321
+ const obj_dataCategories = obj.dataCategories;
38322
+ const path_dataCategories = path + '.dataCategories';
38323
+ if (!ArrayIsArray$2(obj_dataCategories)) {
38324
+ return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
38325
+ }
38326
+ for (let i = 0; i < obj_dataCategories.length; i++) {
38327
+ const obj_dataCategories_item = obj_dataCategories[i];
38328
+ const path_dataCategories_item = path_dataCategories + '[' + i + ']';
38329
+ const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
38330
+ if (referencepath_dataCategories_itemValidationError !== null) {
38331
+ let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
38332
+ message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
38333
+ return new TypeError(message);
38334
+ }
38335
+ }
38336
+ const obj_filters = obj.filters;
38337
+ const path_filters = path + '.filters';
38338
+ if (!ArrayIsArray$2(obj_filters)) {
38339
+ return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
38340
+ }
38341
+ for (let i = 0; i < obj_filters.length; i++) {
38342
+ const obj_filters_item = obj_filters[i];
38343
+ const path_filters_item = path_filters + '[' + i + ']';
38344
+ const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
38345
+ if (referencepath_filters_itemValidationError !== null) {
38346
+ let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
38347
+ message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
38348
+ return new TypeError(message);
38349
+ }
38350
+ }
38351
+ })();
38352
+ return v_error === undefined ? null : v_error;
38353
+ }
38354
+
38165
38355
  const TTL$6 = 200;
38166
- const VERSION$9$1 = "877ca614d967f458099a6ae606b1cd1b";
38356
+ const VERSION$9$1 = "c3b86b51e83e00857929bc3dd6742a85";
38167
38357
  const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
38168
38358
  function keyBuilder$g$1(luvio, config) {
38169
38359
  return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query + ':' + (config.configurationName === null ? '' : config.configurationName);
@@ -38264,6 +38454,7 @@ const getSearchResults_ConfigPropertyMetadata = [
38264
38454
  generateParamConfigMetadata$2('answerTypes', false, 2 /* Body */, 0 /* String */, true),
38265
38455
  generateParamConfigMetadata$2('configurationName', false, 2 /* Body */, 0 /* String */),
38266
38456
  generateParamConfigMetadata$2('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
38457
+ generateParamConfigMetadata$2('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
38267
38458
  ];
38268
38459
  const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$c, getSearchResults_ConfigPropertyMetadata);
38269
38460
  const createResourceParams$d = /*#__PURE__*/ createResourceParams$11(getSearchResults_ConfigPropertyMetadata);
@@ -38274,6 +38465,24 @@ function keyBuilder$e$1(luvio, config) {
38274
38465
  function typeCheckConfig$f(untrustedConfig) {
38275
38466
  const config = {};
38276
38467
  typeCheckConfig$16(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
38468
+ const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
38469
+ if (untrustedIsObject$2(untrustedConfig_searchObjectOptions)) {
38470
+ const untrustedConfig_searchObjectOptions_object = {};
38471
+ const untrustedConfig_searchObjectOptions_keys = Object.keys(untrustedConfig_searchObjectOptions);
38472
+ for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
38473
+ const key = untrustedConfig_searchObjectOptions_keys[i];
38474
+ const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
38475
+ const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
38476
+ if (referenceSearchObjectOptionsRepresentationValidationError === null) {
38477
+ if (untrustedConfig_searchObjectOptions_object !== undefined) {
38478
+ untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
38479
+ }
38480
+ }
38481
+ }
38482
+ if (untrustedConfig_searchObjectOptions_object !== undefined && Object.keys(untrustedConfig_searchObjectOptions_object).length >= 0) {
38483
+ config.searchObjectOptions = untrustedConfig_searchObjectOptions_object;
38484
+ }
38485
+ }
38277
38486
  return config;
38278
38487
  }
38279
38488
  function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
@@ -38344,75 +38553,6 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
38344
38553
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
38345
38554
  };
38346
38555
 
38347
- function validate$b(obj, path = 'SearchFilterInputRepresentation') {
38348
- const v_error = (() => {
38349
- if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38350
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
38351
- }
38352
- const obj_fieldPath = obj.fieldPath;
38353
- const path_fieldPath = path + '.fieldPath';
38354
- if (typeof obj_fieldPath !== 'string') {
38355
- return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
38356
- }
38357
- if (obj.objectApiName !== undefined) {
38358
- const obj_objectApiName = obj.objectApiName;
38359
- const path_objectApiName = path + '.objectApiName';
38360
- if (typeof obj_objectApiName !== 'string') {
38361
- return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
38362
- }
38363
- }
38364
- const obj_operator = obj.operator;
38365
- const path_operator = path + '.operator';
38366
- if (typeof obj_operator !== 'string') {
38367
- return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
38368
- }
38369
- const obj_values = obj.values;
38370
- const path_values = path + '.values';
38371
- if (!ArrayIsArray$2(obj_values)) {
38372
- return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
38373
- }
38374
- for (let i = 0; i < obj_values.length; i++) {
38375
- const obj_values_item = obj_values[i];
38376
- const path_values_item = path_values + '[' + i + ']';
38377
- let obj_values_item_union0 = null;
38378
- const obj_values_item_union0_error = (() => {
38379
- if (typeof obj_values_item !== 'string') {
38380
- return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38381
- }
38382
- })();
38383
- if (obj_values_item_union0_error != null) {
38384
- obj_values_item_union0 = obj_values_item_union0_error.message;
38385
- }
38386
- let obj_values_item_union1 = null;
38387
- const obj_values_item_union1_error = (() => {
38388
- if (typeof obj_values_item !== 'number') {
38389
- return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38390
- }
38391
- })();
38392
- if (obj_values_item_union1_error != null) {
38393
- obj_values_item_union1 = obj_values_item_union1_error.message;
38394
- }
38395
- let obj_values_item_union2 = null;
38396
- const obj_values_item_union2_error = (() => {
38397
- if (typeof obj_values_item !== 'boolean') {
38398
- return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
38399
- }
38400
- })();
38401
- if (obj_values_item_union2_error != null) {
38402
- obj_values_item_union2 = obj_values_item_union2_error.message;
38403
- }
38404
- if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
38405
- let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
38406
- message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
38407
- message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
38408
- message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
38409
- return new TypeError(message);
38410
- }
38411
- }
38412
- })();
38413
- return v_error === undefined ? null : v_error;
38414
- }
38415
-
38416
38556
  const TTL$5 = 200;
38417
38557
  const VERSION$8$1 = "3102453bf10ea449d9665914d5f5febf";
38418
38558
  const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
@@ -38535,7 +38675,7 @@ function typeCheckConfig$e(untrustedConfig) {
38535
38675
  const untrustedConfig_filters_array = [];
38536
38676
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
38537
38677
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
38538
- const referenceSearchFilterInputRepresentationValidationError = validate$b(untrustedConfig_filters_item);
38678
+ const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
38539
38679
  if (referenceSearchFilterInputRepresentationValidationError === null) {
38540
38680
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
38541
38681
  }
@@ -41805,10 +41945,10 @@ const factory$2 = (luvio) => {
41805
41945
  };
41806
41946
  };
41807
41947
 
41808
- const VERSION$1n = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
41809
- const RepresentationType$V = 'ContentDocumentCompositeRepresentation';
41948
+ const VERSION$1o = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
41949
+ const RepresentationType$X = 'ContentDocumentCompositeRepresentation';
41810
41950
  function keyBuilder$21(luvio, config) {
41811
- return keyPrefix$2 + '::' + RepresentationType$V + ':' + config.contentDocumentId;
41951
+ return keyPrefix$2 + '::' + RepresentationType$X + ':' + config.contentDocumentId;
41812
41952
  }
41813
41953
  function keyBuilderFromType$D(luvio, object) {
41814
41954
  const keyParams = {
@@ -41859,7 +41999,7 @@ function normalize(input, existing, path, luvio, store, timestamp) {
41859
41999
  }, luvio, store, timestamp);
41860
42000
  return input;
41861
42001
  }
41862
- function equals$14(existing, incoming) {
42002
+ function equals$15(existing, incoming) {
41863
42003
  const existing_contentDocument = existing.contentDocument;
41864
42004
  const incoming_contentDocument = incoming.contentDocument;
41865
42005
  if (!(existing_contentDocument.__ref === incoming_contentDocument.__ref)) {
@@ -41885,7 +42025,7 @@ function equals$14(existing, incoming) {
41885
42025
  const ingest$14 = function ContentDocumentCompositeRepresentationIngest(input, path, luvio, store, timestamp) {
41886
42026
  const key = keyBuilderFromType$D(luvio, input);
41887
42027
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
41888
- ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "UiApi", VERSION$1n, RepresentationType$V, equals$14);
42028
+ ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "UiApi", VERSION$1o, RepresentationType$X, equals$15);
41889
42029
  return createLink$3(key);
41890
42030
  };
41891
42031
  function getTypeCacheKeys$17(rootKeySet, luvio, input, fullPathFactory) {
@@ -41893,7 +42033,7 @@ function getTypeCacheKeys$17(rootKeySet, luvio, input, fullPathFactory) {
41893
42033
  const rootKey = keyBuilderFromType$D(luvio, input);
41894
42034
  rootKeySet.set(rootKey, {
41895
42035
  namespace: keyPrefix$2,
41896
- representationName: RepresentationType$V,
42036
+ representationName: RepresentationType$X,
41897
42037
  mergeable: false
41898
42038
  });
41899
42039
  getTypeCacheKeys$T$1(rootKeySet, luvio, input.contentDocument);
@@ -41952,11 +42092,11 @@ function createResourceRequest$1$1(config) {
41952
42092
  priority: 'normal',
41953
42093
  };
41954
42094
  }
41955
- const select$1Y = function ContentDocumentCompositeRepresentationSelect(body) {
42095
+ const select$1Z = function ContentDocumentCompositeRepresentationSelect(body) {
41956
42096
  return {
41957
42097
  kind: 'Fragment',
41958
42098
  private: [],
41959
- version: VERSION$1n,
42099
+ version: VERSION$1o,
41960
42100
  selections: [
41961
42101
  {
41962
42102
  name: 'contentDocument',
@@ -41995,7 +42135,7 @@ const select$1Y = function ContentDocumentCompositeRepresentationSelect(body) {
41995
42135
  function ingestSuccess$1$1(luvio, resourceParams, response) {
41996
42136
  const { body } = response;
41997
42137
  const key = keyBuilderFromType$D(luvio, body);
41998
- const node = select$1Y(body);
42138
+ const node = select$1Z(body);
41999
42139
  luvio.storeIngest(key, ingest$14, body);
42000
42140
  const snapshot = luvio.storeLookup({
42001
42141
  recordId: key,
@@ -42066,7 +42206,7 @@ function createResourceRequest$19(config) {
42066
42206
  function ingestSuccess$Q(luvio, resourceParams, response) {
42067
42207
  const { body } = response;
42068
42208
  const key = keyBuilderFromType$D(luvio, body);
42069
- const node = select$1Y(body);
42209
+ const node = select$1Z(body);
42070
42210
  luvio.storeIngest(key, ingest$14, body);
42071
42211
  const snapshot = luvio.storeLookup({
42072
42212
  recordId: key,
@@ -42745,7 +42885,7 @@ withDefaultLuvio((luvio) => {
42745
42885
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
42746
42886
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
42747
42887
  });
42748
- // version: 1.250.1-26c7958c1
42888
+ // version: 1.252.0-eca5ba0ae
42749
42889
 
42750
42890
  var ldsIdempotencyWriteDisabled = {
42751
42891
  isOpen: function (e) {
@@ -60240,7 +60380,7 @@ register$1({
60240
60380
  id: '@salesforce/lds-network-adapter',
60241
60381
  instrument: instrument$2,
60242
60382
  });
60243
- // version: 1.250.1-2c9d7e061
60383
+ // version: 1.252.0-a960aa048
60244
60384
 
60245
60385
  const { create: create$3, keys: keys$3 } = Object;
60246
60386
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -78569,7 +78709,7 @@ register$1({
78569
78709
  configuration: { ...configurationForGraphQLAdapters$1 },
78570
78710
  instrument: instrument$1,
78571
78711
  });
78572
- // version: 1.250.1-26c7958c1
78712
+ // version: 1.252.0-eca5ba0ae
78573
78713
 
78574
78714
  // On core the unstable adapters are re-exported with different names,
78575
78715
  // we want to match them here.
@@ -80819,7 +80959,7 @@ withDefaultLuvio((luvio) => {
80819
80959
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
80820
80960
  graphQLImperative = ldsAdapter;
80821
80961
  });
80822
- // version: 1.250.1-26c7958c1
80962
+ // version: 1.252.0-eca5ba0ae
80823
80963
 
80824
80964
  var gqlApi = /*#__PURE__*/Object.freeze({
80825
80965
  __proto__: null,
@@ -81517,7 +81657,7 @@ const callbacks$1 = [];
81517
81657
  function register(r) {
81518
81658
  callbacks$1.forEach((callback) => callback(r));
81519
81659
  }
81520
- // version: 1.250.1-2c9d7e061
81660
+ // version: 1.252.0-a960aa048
81521
81661
 
81522
81662
  /**
81523
81663
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -86386,4 +86526,4 @@ const { luvio } = getRuntime();
86386
86526
  setDefaultLuvio({ luvio });
86387
86527
 
86388
86528
  export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
86389
- // version: 1.250.1-2c9d7e061
86529
+ // version: 1.252.0-a960aa048