@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.
|
@@ -3982,7 +3982,7 @@
|
|
|
3982
3982
|
}
|
|
3983
3983
|
return resourceParams;
|
|
3984
3984
|
}
|
|
3985
|
-
// engine version: 0.
|
|
3985
|
+
// engine version: 0.153.0-32ab5c05
|
|
3986
3986
|
|
|
3987
3987
|
/**
|
|
3988
3988
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4110,7 +4110,7 @@
|
|
|
4110
4110
|
}
|
|
4111
4111
|
callbacks.push(callback);
|
|
4112
4112
|
}
|
|
4113
|
-
// version: 1.
|
|
4113
|
+
// version: 1.252.0-a960aa048
|
|
4114
4114
|
|
|
4115
4115
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4116
4116
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15618,7 +15618,7 @@
|
|
|
15618
15618
|
}
|
|
15619
15619
|
return superResult;
|
|
15620
15620
|
}
|
|
15621
|
-
// version: 1.
|
|
15621
|
+
// version: 1.252.0-a960aa048
|
|
15622
15622
|
|
|
15623
15623
|
function unwrap(data) {
|
|
15624
15624
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16543,7 +16543,7 @@
|
|
|
16543
16543
|
const { apiFamily, name } = metadata;
|
|
16544
16544
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16545
16545
|
}
|
|
16546
|
-
// version: 1.
|
|
16546
|
+
// version: 1.252.0-a960aa048
|
|
16547
16547
|
|
|
16548
16548
|
/**
|
|
16549
16549
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16642,7 +16642,7 @@
|
|
|
16642
16642
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16643
16643
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16644
16644
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16645
|
-
// engine version: 0.
|
|
16645
|
+
// engine version: 0.153.0-32ab5c05
|
|
16646
16646
|
|
|
16647
16647
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16648
16648
|
|
|
@@ -16910,7 +16910,9 @@
|
|
|
16910
16910
|
const prefetcher = getPrefetcherFor(luvio);
|
|
16911
16911
|
const result = adapter(config, requestContext);
|
|
16912
16912
|
// only save requests with a valid config.
|
|
16913
|
-
if (result !== null &&
|
|
16913
|
+
if (result !== null &&
|
|
16914
|
+
prefetcher !== undefined &&
|
|
16915
|
+
!(requestContext && requestContext.excludeFromPredictions)) {
|
|
16914
16916
|
prefetcher.saveRequest({ adapterName: name, config });
|
|
16915
16917
|
}
|
|
16916
16918
|
return result;
|
|
@@ -17248,11 +17250,11 @@
|
|
|
17248
17250
|
entry['__metadata'] = createLink$3(metadataKey);
|
|
17249
17251
|
}
|
|
17250
17252
|
|
|
17251
|
-
const VERSION$
|
|
17252
|
-
const select$
|
|
17253
|
+
const VERSION$1n = "623aa9ce3a11031e35faf5671a41746e";
|
|
17254
|
+
const select$1Y = function ListFilterByInfoRepresentationSelect() {
|
|
17253
17255
|
return {
|
|
17254
17256
|
kind: 'Fragment',
|
|
17255
|
-
version: VERSION$
|
|
17257
|
+
version: VERSION$1n,
|
|
17256
17258
|
private: [],
|
|
17257
17259
|
selections: [
|
|
17258
17260
|
{
|
|
@@ -17264,55 +17266,42 @@
|
|
|
17264
17266
|
kind: 'Scalar'
|
|
17265
17267
|
},
|
|
17266
17268
|
{
|
|
17267
|
-
name: '
|
|
17268
|
-
kind: 'Scalar'
|
|
17269
|
-
},
|
|
17270
|
-
{
|
|
17271
|
-
name: 'searchable',
|
|
17269
|
+
name: 'operandLabels',
|
|
17272
17270
|
kind: 'Scalar',
|
|
17273
|
-
|
|
17271
|
+
plural: true
|
|
17274
17272
|
},
|
|
17275
17273
|
{
|
|
17276
|
-
name: '
|
|
17274
|
+
name: 'operator',
|
|
17277
17275
|
kind: 'Scalar'
|
|
17278
17276
|
}
|
|
17279
17277
|
]
|
|
17280
17278
|
};
|
|
17281
17279
|
};
|
|
17282
17280
|
|
|
17283
|
-
const VERSION$
|
|
17284
|
-
const select$
|
|
17281
|
+
const VERSION$1m = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
17282
|
+
const select$1X = function ListInlineEditDetailsRepresentationSelect() {
|
|
17285
17283
|
return {
|
|
17286
17284
|
kind: 'Fragment',
|
|
17287
|
-
version: VERSION$
|
|
17285
|
+
version: VERSION$1m,
|
|
17288
17286
|
private: [],
|
|
17289
17287
|
selections: [
|
|
17290
17288
|
{
|
|
17291
|
-
name: '
|
|
17292
|
-
kind: 'Scalar'
|
|
17293
|
-
},
|
|
17294
|
-
{
|
|
17295
|
-
name: 'label',
|
|
17289
|
+
name: 'message',
|
|
17296
17290
|
kind: 'Scalar'
|
|
17297
17291
|
},
|
|
17298
17292
|
{
|
|
17299
|
-
name: '
|
|
17300
|
-
kind: 'Scalar',
|
|
17301
|
-
plural: true
|
|
17302
|
-
},
|
|
17303
|
-
{
|
|
17304
|
-
name: 'operator',
|
|
17293
|
+
name: 'state',
|
|
17305
17294
|
kind: 'Scalar'
|
|
17306
17295
|
}
|
|
17307
17296
|
]
|
|
17308
17297
|
};
|
|
17309
17298
|
};
|
|
17310
17299
|
|
|
17311
|
-
const VERSION$
|
|
17312
|
-
const select$
|
|
17300
|
+
const VERSION$1l = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
17301
|
+
const select$1W$1 = function ListReferenceRepresentationSelect() {
|
|
17313
17302
|
return {
|
|
17314
17303
|
kind: 'Fragment',
|
|
17315
|
-
version: VERSION$
|
|
17304
|
+
version: VERSION$1l,
|
|
17316
17305
|
private: [],
|
|
17317
17306
|
selections: [
|
|
17318
17307
|
{
|
|
@@ -17334,7 +17323,7 @@
|
|
|
17334
17323
|
]
|
|
17335
17324
|
};
|
|
17336
17325
|
};
|
|
17337
|
-
function equals$
|
|
17326
|
+
function equals$14(existing, incoming) {
|
|
17338
17327
|
const existing_objectApiName = existing.objectApiName;
|
|
17339
17328
|
const incoming_objectApiName = incoming.objectApiName;
|
|
17340
17329
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -17358,11 +17347,11 @@
|
|
|
17358
17347
|
return true;
|
|
17359
17348
|
}
|
|
17360
17349
|
|
|
17361
|
-
const VERSION$
|
|
17362
|
-
const select$
|
|
17350
|
+
const VERSION$1k = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
17351
|
+
const select$1V$1 = function ListInfoShareRepresentationSelect() {
|
|
17363
17352
|
return {
|
|
17364
17353
|
kind: 'Fragment',
|
|
17365
|
-
version: VERSION$
|
|
17354
|
+
version: VERSION$1k,
|
|
17366
17355
|
private: [],
|
|
17367
17356
|
selections: [
|
|
17368
17357
|
{
|
|
@@ -17377,12 +17366,12 @@
|
|
|
17377
17366
|
};
|
|
17378
17367
|
};
|
|
17379
17368
|
|
|
17380
|
-
const VERSION$
|
|
17381
|
-
const select$
|
|
17382
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
17369
|
+
const VERSION$1j = "561657f32721ec1dac1601575b029640";
|
|
17370
|
+
const select$1U$1 = function ListInfoShareCategoryRepresentationSelect() {
|
|
17371
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$1V$1();
|
|
17383
17372
|
return {
|
|
17384
17373
|
kind: 'Fragment',
|
|
17385
|
-
version: VERSION$
|
|
17374
|
+
version: VERSION$1j,
|
|
17386
17375
|
private: [],
|
|
17387
17376
|
selections: [
|
|
17388
17377
|
{
|
|
@@ -17399,11 +17388,11 @@
|
|
|
17399
17388
|
};
|
|
17400
17389
|
};
|
|
17401
17390
|
|
|
17402
|
-
const VERSION$
|
|
17403
|
-
const select$
|
|
17391
|
+
const VERSION$1i = "32def9b631252c12b91a8209c1f49f5a";
|
|
17392
|
+
const select$1T$1 = function ListOrderByInfoRepresentationSelect() {
|
|
17404
17393
|
return {
|
|
17405
17394
|
kind: 'Fragment',
|
|
17406
|
-
version: VERSION$
|
|
17395
|
+
version: VERSION$1i,
|
|
17407
17396
|
private: [],
|
|
17408
17397
|
selections: [
|
|
17409
17398
|
{
|
|
@@ -17421,7 +17410,7 @@
|
|
|
17421
17410
|
]
|
|
17422
17411
|
};
|
|
17423
17412
|
};
|
|
17424
|
-
function equals$
|
|
17413
|
+
function equals$13(existing, incoming) {
|
|
17425
17414
|
const existing_isAscending = existing.isAscending;
|
|
17426
17415
|
const incoming_isAscending = incoming.isAscending;
|
|
17427
17416
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -17440,11 +17429,11 @@
|
|
|
17440
17429
|
return true;
|
|
17441
17430
|
}
|
|
17442
17431
|
|
|
17443
|
-
const VERSION$
|
|
17444
|
-
const select$
|
|
17432
|
+
const VERSION$1h = "2634258f216db34315c06d759a35676d";
|
|
17433
|
+
const select$1S$1 = function ListScopeEntityRepresentationSelect() {
|
|
17445
17434
|
return {
|
|
17446
17435
|
kind: 'Fragment',
|
|
17447
|
-
version: VERSION$
|
|
17436
|
+
version: VERSION$1h,
|
|
17448
17437
|
private: [],
|
|
17449
17438
|
selections: [
|
|
17450
17439
|
{
|
|
@@ -17459,11 +17448,11 @@
|
|
|
17459
17448
|
};
|
|
17460
17449
|
};
|
|
17461
17450
|
|
|
17462
|
-
const VERSION$
|
|
17463
|
-
const select$
|
|
17451
|
+
const VERSION$1g = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
17452
|
+
const select$1R$1 = function ListScopeRelatedEntityRepresentationSelect() {
|
|
17464
17453
|
return {
|
|
17465
17454
|
kind: 'Fragment',
|
|
17466
|
-
version: VERSION$
|
|
17455
|
+
version: VERSION$1g,
|
|
17467
17456
|
private: [],
|
|
17468
17457
|
selections: [
|
|
17469
17458
|
{
|
|
@@ -17482,13 +17471,13 @@
|
|
|
17482
17471
|
};
|
|
17483
17472
|
};
|
|
17484
17473
|
|
|
17485
|
-
const VERSION$
|
|
17486
|
-
const select$
|
|
17487
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
17488
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
17474
|
+
const VERSION$1f = "2fe9814e7124b47f59da585483c1b3f9";
|
|
17475
|
+
const select$1Q$1 = function ListScopeRepresentationSelect() {
|
|
17476
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$1S$1();
|
|
17477
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$1R$1();
|
|
17489
17478
|
return {
|
|
17490
17479
|
kind: 'Fragment',
|
|
17491
|
-
version: VERSION$
|
|
17480
|
+
version: VERSION$1f,
|
|
17492
17481
|
private: [],
|
|
17493
17482
|
selections: [
|
|
17494
17483
|
{
|
|
@@ -17515,11 +17504,11 @@
|
|
|
17515
17504
|
};
|
|
17516
17505
|
};
|
|
17517
17506
|
|
|
17518
|
-
const VERSION$
|
|
17519
|
-
const select$
|
|
17507
|
+
const VERSION$1e = "6506134f4d72fdfa349fe60ef1af2413";
|
|
17508
|
+
const select$1P = function ListUserPreferenceRepresentationSelect() {
|
|
17520
17509
|
return {
|
|
17521
17510
|
kind: 'Fragment',
|
|
17522
|
-
version: VERSION$
|
|
17511
|
+
version: VERSION$1e,
|
|
17523
17512
|
private: [],
|
|
17524
17513
|
selections: [
|
|
17525
17514
|
{
|
|
@@ -17536,8 +17525,43 @@
|
|
|
17536
17525
|
};
|
|
17537
17526
|
};
|
|
17538
17527
|
|
|
17528
|
+
const VERSION$1d = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
17529
|
+
const RepresentationType$V = 'ListColumnRepresentation';
|
|
17530
|
+
function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
17531
|
+
return input;
|
|
17532
|
+
}
|
|
17533
|
+
const select$1O = function ListColumnRepresentationSelect() {
|
|
17534
|
+
return {
|
|
17535
|
+
kind: 'Fragment',
|
|
17536
|
+
version: VERSION$1d,
|
|
17537
|
+
private: [],
|
|
17538
|
+
opaque: true
|
|
17539
|
+
};
|
|
17540
|
+
};
|
|
17541
|
+
function equals$12(existing, incoming) {
|
|
17542
|
+
if (JSONStringify$2(incoming) !== JSONStringify$2(existing)) {
|
|
17543
|
+
return false;
|
|
17544
|
+
}
|
|
17545
|
+
return true;
|
|
17546
|
+
}
|
|
17547
|
+
const ingest$P$1 = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17548
|
+
const key = path.fullPath;
|
|
17549
|
+
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
17550
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$1d, RepresentationType$V, equals$12);
|
|
17551
|
+
return createLink$3(key);
|
|
17552
|
+
};
|
|
17553
|
+
function getTypeCacheKeys$W$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
17554
|
+
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17555
|
+
const rootKey = fullPathFactory();
|
|
17556
|
+
rootKeySet.set(rootKey, {
|
|
17557
|
+
namespace: keyPrefix$2,
|
|
17558
|
+
representationName: RepresentationType$V,
|
|
17559
|
+
mergeable: false
|
|
17560
|
+
});
|
|
17561
|
+
}
|
|
17562
|
+
|
|
17539
17563
|
const TTL$z = 900000;
|
|
17540
|
-
const VERSION$1c$1 = "
|
|
17564
|
+
const VERSION$1c$1 = "178c8b58f78e2720fe8846a667c7b294";
|
|
17541
17565
|
const RepresentationType$U = 'ListInfoRepresentation';
|
|
17542
17566
|
function keyBuilder$20(luvio, config) {
|
|
17543
17567
|
return keyPrefix$2 + '::' + RepresentationType$U + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
@@ -17551,16 +17575,32 @@
|
|
|
17551
17575
|
return keyBuilder$20(luvio, keyParams);
|
|
17552
17576
|
}
|
|
17553
17577
|
function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
17578
|
+
const input_displayColumns = input.displayColumns;
|
|
17579
|
+
const input_displayColumns_id = path.fullPath + '__displayColumns';
|
|
17580
|
+
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
17581
|
+
const input_displayColumns_item = input_displayColumns[i];
|
|
17582
|
+
let input_displayColumns_item_id = input_displayColumns_id + '__' + i;
|
|
17583
|
+
input_displayColumns[i] = ingest$P$1(input_displayColumns_item, {
|
|
17584
|
+
fullPath: input_displayColumns_item_id,
|
|
17585
|
+
propertyName: i,
|
|
17586
|
+
parent: {
|
|
17587
|
+
data: input,
|
|
17588
|
+
key: path.fullPath,
|
|
17589
|
+
existing: existing,
|
|
17590
|
+
},
|
|
17591
|
+
ttl: path.ttl
|
|
17592
|
+
}, luvio, store, timestamp);
|
|
17593
|
+
}
|
|
17554
17594
|
return input;
|
|
17555
17595
|
}
|
|
17556
17596
|
const select$1N = function ListInfoRepresentationSelect() {
|
|
17557
|
-
const { selections:
|
|
17558
|
-
const { selections:
|
|
17559
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
17560
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
17561
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
17562
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
17563
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
17597
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$1Y();
|
|
17598
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$1X();
|
|
17599
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
|
|
17600
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$1U$1();
|
|
17601
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T$1();
|
|
17602
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1Q$1();
|
|
17603
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1P();
|
|
17564
17604
|
return {
|
|
17565
17605
|
kind: 'Fragment',
|
|
17566
17606
|
version: VERSION$1c$1,
|
|
@@ -17582,9 +17622,9 @@
|
|
|
17582
17622
|
},
|
|
17583
17623
|
{
|
|
17584
17624
|
name: 'displayColumns',
|
|
17585
|
-
kind: '
|
|
17625
|
+
kind: 'Link',
|
|
17586
17626
|
plural: true,
|
|
17587
|
-
|
|
17627
|
+
fragment: select$1O()
|
|
17588
17628
|
},
|
|
17589
17629
|
{
|
|
17590
17630
|
name: 'filterLogicString',
|
|
@@ -17596,6 +17636,13 @@
|
|
|
17596
17636
|
plural: true,
|
|
17597
17637
|
selections: ListFilterByInfoRepresentation__selections
|
|
17598
17638
|
},
|
|
17639
|
+
{
|
|
17640
|
+
name: 'inlineEditDetails',
|
|
17641
|
+
kind: 'Object',
|
|
17642
|
+
nullable: true,
|
|
17643
|
+
selections: ListInlineEditDetailsRepresentation__selections,
|
|
17644
|
+
required: false
|
|
17645
|
+
},
|
|
17599
17646
|
{
|
|
17600
17647
|
name: 'label',
|
|
17601
17648
|
kind: 'Scalar'
|
|
@@ -17676,6 +17723,10 @@
|
|
|
17676
17723
|
representationName: RepresentationType$U,
|
|
17677
17724
|
mergeable: false
|
|
17678
17725
|
});
|
|
17726
|
+
const input_displayColumns_length = input.displayColumns.length;
|
|
17727
|
+
for (let i = 0; i < input_displayColumns_length; i++) {
|
|
17728
|
+
getTypeCacheKeys$W$1(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
17729
|
+
}
|
|
17679
17730
|
}
|
|
17680
17731
|
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
17681
17732
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
@@ -21413,7 +21464,7 @@
|
|
|
21413
21464
|
return input;
|
|
21414
21465
|
}
|
|
21415
21466
|
const select$1I = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
21416
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
21467
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
|
|
21417
21468
|
return {
|
|
21418
21469
|
kind: 'Fragment',
|
|
21419
21470
|
reader: true,
|
|
@@ -21530,7 +21581,7 @@
|
|
|
21530
21581
|
kind: 'Link',
|
|
21531
21582
|
fragment: select$1J()
|
|
21532
21583
|
} : params.records;
|
|
21533
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
21584
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
|
|
21534
21585
|
return {
|
|
21535
21586
|
kind: 'Fragment',
|
|
21536
21587
|
reader: true,
|
|
@@ -21645,7 +21696,7 @@
|
|
|
21645
21696
|
}
|
|
21646
21697
|
const existing_listReference = existing.listReference;
|
|
21647
21698
|
const incoming_listReference = incoming.listReference;
|
|
21648
|
-
if (!(equals$
|
|
21699
|
+
if (!(equals$14(existing_listReference, incoming_listReference))) {
|
|
21649
21700
|
return false;
|
|
21650
21701
|
}
|
|
21651
21702
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -27631,7 +27682,7 @@
|
|
|
27631
27682
|
buildCachedSnapshotCachePolicy$D, buildNetworkSnapshotCachePolicy$D);
|
|
27632
27683
|
};
|
|
27633
27684
|
|
|
27634
|
-
function validate$
|
|
27685
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
27635
27686
|
const v_error = (() => {
|
|
27636
27687
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
27637
27688
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28042,7 +28093,7 @@
|
|
|
28042
28093
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
28043
28094
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
28044
28095
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
28045
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
28096
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
28046
28097
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
28047
28098
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
28048
28099
|
}
|
|
@@ -30281,7 +30332,7 @@
|
|
|
30281
30332
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
|
|
30282
30333
|
};
|
|
30283
30334
|
|
|
30284
|
-
function validate$
|
|
30335
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
30285
30336
|
const v_error = (() => {
|
|
30286
30337
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30287
30338
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30312,7 +30363,7 @@
|
|
|
30312
30363
|
return v_error === undefined ? null : v_error;
|
|
30313
30364
|
}
|
|
30314
30365
|
|
|
30315
|
-
function validate
|
|
30366
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
30316
30367
|
const v_error = (() => {
|
|
30317
30368
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
30318
30369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30436,7 +30487,7 @@
|
|
|
30436
30487
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30437
30488
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30438
30489
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30439
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
30490
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
30440
30491
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30441
30492
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30442
30493
|
}
|
|
@@ -30444,7 +30495,7 @@
|
|
|
30444
30495
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30445
30496
|
}
|
|
30446
30497
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30447
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30498
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
30448
30499
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30449
30500
|
config.scope = untrustedConfig_scope;
|
|
30450
30501
|
}
|
|
@@ -30712,7 +30763,7 @@
|
|
|
30712
30763
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30713
30764
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30714
30765
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30715
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
30766
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
30716
30767
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30717
30768
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30718
30769
|
}
|
|
@@ -30720,7 +30771,7 @@
|
|
|
30720
30771
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30721
30772
|
}
|
|
30722
30773
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30723
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30774
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
30724
30775
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30725
30776
|
config.scope = untrustedConfig_scope;
|
|
30726
30777
|
}
|
|
@@ -31251,8 +31302,8 @@
|
|
|
31251
31302
|
return input;
|
|
31252
31303
|
}
|
|
31253
31304
|
const select$X$1 = function ListPreferencesRepresentationSelect() {
|
|
31254
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
31255
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
31305
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$1W$1();
|
|
31306
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$1T$1();
|
|
31256
31307
|
return {
|
|
31257
31308
|
kind: 'Fragment',
|
|
31258
31309
|
version: VERSION$D$1,
|
|
@@ -31305,13 +31356,13 @@
|
|
|
31305
31356
|
}
|
|
31306
31357
|
const existing_listReference = existing.listReference;
|
|
31307
31358
|
const incoming_listReference = incoming.listReference;
|
|
31308
|
-
if (!(equals$
|
|
31359
|
+
if (!(equals$14(existing_listReference, incoming_listReference))) {
|
|
31309
31360
|
return false;
|
|
31310
31361
|
}
|
|
31311
31362
|
const existing_orderedBy = existing.orderedBy;
|
|
31312
31363
|
const incoming_orderedBy = incoming.orderedBy;
|
|
31313
31364
|
const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
31314
|
-
if (!(equals$
|
|
31365
|
+
if (!(equals$13(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
31315
31366
|
return false;
|
|
31316
31367
|
}
|
|
31317
31368
|
});
|
|
@@ -31471,7 +31522,7 @@
|
|
|
31471
31522
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
|
|
31472
31523
|
};
|
|
31473
31524
|
|
|
31474
|
-
function validate$
|
|
31525
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
31475
31526
|
const v_error = (() => {
|
|
31476
31527
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
31477
31528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31574,7 +31625,7 @@
|
|
|
31574
31625
|
const untrustedConfig_orderedBy_array = [];
|
|
31575
31626
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
31576
31627
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
31577
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
31628
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
31578
31629
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
31579
31630
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
31580
31631
|
}
|
|
@@ -35635,7 +35686,7 @@
|
|
|
35635
35686
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
35636
35687
|
};
|
|
35637
35688
|
|
|
35638
|
-
function validate$
|
|
35689
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
35639
35690
|
const v_error = (() => {
|
|
35640
35691
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
35641
35692
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35712,7 +35763,7 @@
|
|
|
35712
35763
|
const untrustedConfig_orderedByInfo_array = [];
|
|
35713
35764
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
35714
35765
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
35715
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
35766
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
35716
35767
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
35717
35768
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
35718
35769
|
}
|
|
@@ -35720,7 +35771,7 @@
|
|
|
35720
35771
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
35721
35772
|
}
|
|
35722
35773
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
35723
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
35774
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
35724
35775
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
35725
35776
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
35726
35777
|
}
|
|
@@ -36375,7 +36426,7 @@
|
|
|
36375
36426
|
const untrustedConfig_orderedBy_array = [];
|
|
36376
36427
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
36377
36428
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
36378
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
36429
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
36379
36430
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
36380
36431
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
36381
36432
|
}
|
|
@@ -36423,7 +36474,7 @@
|
|
|
36423
36474
|
};
|
|
36424
36475
|
};
|
|
36425
36476
|
|
|
36426
|
-
function validate$
|
|
36477
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
36427
36478
|
const v_error = (() => {
|
|
36428
36479
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
36429
36480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37376,7 +37427,7 @@
|
|
|
37376
37427
|
const untrustedConfig_relatedListParameters_array = [];
|
|
37377
37428
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
37378
37429
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
37379
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
37430
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
37380
37431
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
37381
37432
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
37382
37433
|
}
|
|
@@ -38168,8 +38219,147 @@
|
|
|
38168
38219
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
38169
38220
|
};
|
|
38170
38221
|
|
|
38222
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
38223
|
+
const v_error = (() => {
|
|
38224
|
+
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38225
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38226
|
+
}
|
|
38227
|
+
const obj_groupName = obj.groupName;
|
|
38228
|
+
const path_groupName = path + '.groupName';
|
|
38229
|
+
if (typeof obj_groupName !== 'string') {
|
|
38230
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupName + '" (at "' + path_groupName + '")');
|
|
38231
|
+
}
|
|
38232
|
+
const obj_operator = obj.operator;
|
|
38233
|
+
const path_operator = path + '.operator';
|
|
38234
|
+
if (typeof obj_operator !== 'string') {
|
|
38235
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
38236
|
+
}
|
|
38237
|
+
const obj_values = obj.values;
|
|
38238
|
+
const path_values = path + '.values';
|
|
38239
|
+
if (!ArrayIsArray$2(obj_values)) {
|
|
38240
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
38241
|
+
}
|
|
38242
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
38243
|
+
const obj_values_item = obj_values[i];
|
|
38244
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
38245
|
+
if (typeof obj_values_item !== 'string') {
|
|
38246
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38247
|
+
}
|
|
38248
|
+
}
|
|
38249
|
+
})();
|
|
38250
|
+
return v_error === undefined ? null : v_error;
|
|
38251
|
+
}
|
|
38252
|
+
|
|
38253
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
38254
|
+
const v_error = (() => {
|
|
38255
|
+
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38256
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38257
|
+
}
|
|
38258
|
+
const obj_fieldPath = obj.fieldPath;
|
|
38259
|
+
const path_fieldPath = path + '.fieldPath';
|
|
38260
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
38261
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
38262
|
+
}
|
|
38263
|
+
if (obj.objectApiName !== undefined) {
|
|
38264
|
+
const obj_objectApiName = obj.objectApiName;
|
|
38265
|
+
const path_objectApiName = path + '.objectApiName';
|
|
38266
|
+
if (typeof obj_objectApiName !== 'string') {
|
|
38267
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
38268
|
+
}
|
|
38269
|
+
}
|
|
38270
|
+
const obj_operator = obj.operator;
|
|
38271
|
+
const path_operator = path + '.operator';
|
|
38272
|
+
if (typeof obj_operator !== 'string') {
|
|
38273
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
38274
|
+
}
|
|
38275
|
+
const obj_values = obj.values;
|
|
38276
|
+
const path_values = path + '.values';
|
|
38277
|
+
if (!ArrayIsArray$2(obj_values)) {
|
|
38278
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
38279
|
+
}
|
|
38280
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
38281
|
+
const obj_values_item = obj_values[i];
|
|
38282
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
38283
|
+
let obj_values_item_union0 = null;
|
|
38284
|
+
const obj_values_item_union0_error = (() => {
|
|
38285
|
+
if (typeof obj_values_item !== 'string') {
|
|
38286
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38287
|
+
}
|
|
38288
|
+
})();
|
|
38289
|
+
if (obj_values_item_union0_error != null) {
|
|
38290
|
+
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
38291
|
+
}
|
|
38292
|
+
let obj_values_item_union1 = null;
|
|
38293
|
+
const obj_values_item_union1_error = (() => {
|
|
38294
|
+
if (typeof obj_values_item !== 'number') {
|
|
38295
|
+
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38296
|
+
}
|
|
38297
|
+
})();
|
|
38298
|
+
if (obj_values_item_union1_error != null) {
|
|
38299
|
+
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
38300
|
+
}
|
|
38301
|
+
let obj_values_item_union2 = null;
|
|
38302
|
+
const obj_values_item_union2_error = (() => {
|
|
38303
|
+
if (typeof obj_values_item !== 'boolean') {
|
|
38304
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38305
|
+
}
|
|
38306
|
+
})();
|
|
38307
|
+
if (obj_values_item_union2_error != null) {
|
|
38308
|
+
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
38309
|
+
}
|
|
38310
|
+
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
38311
|
+
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
38312
|
+
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
38313
|
+
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
38314
|
+
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
38315
|
+
return new TypeError(message);
|
|
38316
|
+
}
|
|
38317
|
+
}
|
|
38318
|
+
})();
|
|
38319
|
+
return v_error === undefined ? null : v_error;
|
|
38320
|
+
}
|
|
38321
|
+
|
|
38322
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
38323
|
+
const v_error = (() => {
|
|
38324
|
+
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38325
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38326
|
+
}
|
|
38327
|
+
const obj_dataCategories = obj.dataCategories;
|
|
38328
|
+
const path_dataCategories = path + '.dataCategories';
|
|
38329
|
+
if (!ArrayIsArray$2(obj_dataCategories)) {
|
|
38330
|
+
return new TypeError('Expected "array" but received "' + typeof obj_dataCategories + '" (at "' + path_dataCategories + '")');
|
|
38331
|
+
}
|
|
38332
|
+
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
38333
|
+
const obj_dataCategories_item = obj_dataCategories[i];
|
|
38334
|
+
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
38335
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
38336
|
+
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
38337
|
+
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
38338
|
+
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
38339
|
+
return new TypeError(message);
|
|
38340
|
+
}
|
|
38341
|
+
}
|
|
38342
|
+
const obj_filters = obj.filters;
|
|
38343
|
+
const path_filters = path + '.filters';
|
|
38344
|
+
if (!ArrayIsArray$2(obj_filters)) {
|
|
38345
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filters + '" (at "' + path_filters + '")');
|
|
38346
|
+
}
|
|
38347
|
+
for (let i = 0; i < obj_filters.length; i++) {
|
|
38348
|
+
const obj_filters_item = obj_filters[i];
|
|
38349
|
+
const path_filters_item = path_filters + '[' + i + ']';
|
|
38350
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
38351
|
+
if (referencepath_filters_itemValidationError !== null) {
|
|
38352
|
+
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
38353
|
+
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
38354
|
+
return new TypeError(message);
|
|
38355
|
+
}
|
|
38356
|
+
}
|
|
38357
|
+
})();
|
|
38358
|
+
return v_error === undefined ? null : v_error;
|
|
38359
|
+
}
|
|
38360
|
+
|
|
38171
38361
|
const TTL$6 = 200;
|
|
38172
|
-
const VERSION$9$1 = "
|
|
38362
|
+
const VERSION$9$1 = "c3b86b51e83e00857929bc3dd6742a85";
|
|
38173
38363
|
const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
|
|
38174
38364
|
function keyBuilder$g$1(luvio, config) {
|
|
38175
38365
|
return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query + ':' + (config.configurationName === null ? '' : config.configurationName);
|
|
@@ -38270,6 +38460,7 @@
|
|
|
38270
38460
|
generateParamConfigMetadata$2('answerTypes', false, 2 /* Body */, 0 /* String */, true),
|
|
38271
38461
|
generateParamConfigMetadata$2('configurationName', false, 2 /* Body */, 0 /* String */),
|
|
38272
38462
|
generateParamConfigMetadata$2('objectApiNames', false, 2 /* Body */, 0 /* String */, true),
|
|
38463
|
+
generateParamConfigMetadata$2('searchObjectOptions', false, 2 /* Body */, 4 /* Unsupported */),
|
|
38273
38464
|
];
|
|
38274
38465
|
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$c, getSearchResults_ConfigPropertyMetadata);
|
|
38275
38466
|
const createResourceParams$d = /*#__PURE__*/ createResourceParams$11(getSearchResults_ConfigPropertyMetadata);
|
|
@@ -38280,6 +38471,24 @@
|
|
|
38280
38471
|
function typeCheckConfig$f(untrustedConfig) {
|
|
38281
38472
|
const config = {};
|
|
38282
38473
|
typeCheckConfig$16(untrustedConfig, config, getSearchResults_ConfigPropertyMetadata);
|
|
38474
|
+
const untrustedConfig_searchObjectOptions = untrustedConfig.searchObjectOptions;
|
|
38475
|
+
if (untrustedIsObject$2(untrustedConfig_searchObjectOptions)) {
|
|
38476
|
+
const untrustedConfig_searchObjectOptions_object = {};
|
|
38477
|
+
const untrustedConfig_searchObjectOptions_keys = Object.keys(untrustedConfig_searchObjectOptions);
|
|
38478
|
+
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
38479
|
+
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
38480
|
+
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
38481
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
38482
|
+
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
38483
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
38484
|
+
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
38485
|
+
}
|
|
38486
|
+
}
|
|
38487
|
+
}
|
|
38488
|
+
if (untrustedConfig_searchObjectOptions_object !== undefined && Object.keys(untrustedConfig_searchObjectOptions_object).length >= 0) {
|
|
38489
|
+
config.searchObjectOptions = untrustedConfig_searchObjectOptions_object;
|
|
38490
|
+
}
|
|
38491
|
+
}
|
|
38283
38492
|
return config;
|
|
38284
38493
|
}
|
|
38285
38494
|
function validateAdapterConfig$f(untrustedConfig, configPropertyNames) {
|
|
@@ -38350,75 +38559,6 @@
|
|
|
38350
38559
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
38351
38560
|
};
|
|
38352
38561
|
|
|
38353
|
-
function validate$b(obj, path = 'SearchFilterInputRepresentation') {
|
|
38354
|
-
const v_error = (() => {
|
|
38355
|
-
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38356
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38357
|
-
}
|
|
38358
|
-
const obj_fieldPath = obj.fieldPath;
|
|
38359
|
-
const path_fieldPath = path + '.fieldPath';
|
|
38360
|
-
if (typeof obj_fieldPath !== 'string') {
|
|
38361
|
-
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
38362
|
-
}
|
|
38363
|
-
if (obj.objectApiName !== undefined) {
|
|
38364
|
-
const obj_objectApiName = obj.objectApiName;
|
|
38365
|
-
const path_objectApiName = path + '.objectApiName';
|
|
38366
|
-
if (typeof obj_objectApiName !== 'string') {
|
|
38367
|
-
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
38368
|
-
}
|
|
38369
|
-
}
|
|
38370
|
-
const obj_operator = obj.operator;
|
|
38371
|
-
const path_operator = path + '.operator';
|
|
38372
|
-
if (typeof obj_operator !== 'string') {
|
|
38373
|
-
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
38374
|
-
}
|
|
38375
|
-
const obj_values = obj.values;
|
|
38376
|
-
const path_values = path + '.values';
|
|
38377
|
-
if (!ArrayIsArray$2(obj_values)) {
|
|
38378
|
-
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
38379
|
-
}
|
|
38380
|
-
for (let i = 0; i < obj_values.length; i++) {
|
|
38381
|
-
const obj_values_item = obj_values[i];
|
|
38382
|
-
const path_values_item = path_values + '[' + i + ']';
|
|
38383
|
-
let obj_values_item_union0 = null;
|
|
38384
|
-
const obj_values_item_union0_error = (() => {
|
|
38385
|
-
if (typeof obj_values_item !== 'string') {
|
|
38386
|
-
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38387
|
-
}
|
|
38388
|
-
})();
|
|
38389
|
-
if (obj_values_item_union0_error != null) {
|
|
38390
|
-
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
38391
|
-
}
|
|
38392
|
-
let obj_values_item_union1 = null;
|
|
38393
|
-
const obj_values_item_union1_error = (() => {
|
|
38394
|
-
if (typeof obj_values_item !== 'number') {
|
|
38395
|
-
return new TypeError('Expected "number" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38396
|
-
}
|
|
38397
|
-
})();
|
|
38398
|
-
if (obj_values_item_union1_error != null) {
|
|
38399
|
-
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
38400
|
-
}
|
|
38401
|
-
let obj_values_item_union2 = null;
|
|
38402
|
-
const obj_values_item_union2_error = (() => {
|
|
38403
|
-
if (typeof obj_values_item !== 'boolean') {
|
|
38404
|
-
return new TypeError('Expected "boolean" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
38405
|
-
}
|
|
38406
|
-
})();
|
|
38407
|
-
if (obj_values_item_union2_error != null) {
|
|
38408
|
-
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
38409
|
-
}
|
|
38410
|
-
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
38411
|
-
let message = 'Object doesn\'t match union (at "' + path_values_item + '")';
|
|
38412
|
-
message += '\n' + obj_values_item_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
38413
|
-
message += '\n' + obj_values_item_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
38414
|
-
message += '\n' + obj_values_item_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
38415
|
-
return new TypeError(message);
|
|
38416
|
-
}
|
|
38417
|
-
}
|
|
38418
|
-
})();
|
|
38419
|
-
return v_error === undefined ? null : v_error;
|
|
38420
|
-
}
|
|
38421
|
-
|
|
38422
38562
|
const TTL$5 = 200;
|
|
38423
38563
|
const VERSION$8$1 = "3102453bf10ea449d9665914d5f5febf";
|
|
38424
38564
|
const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
|
|
@@ -38541,7 +38681,7 @@
|
|
|
38541
38681
|
const untrustedConfig_filters_array = [];
|
|
38542
38682
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
38543
38683
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
38544
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
38684
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
38545
38685
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
38546
38686
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
38547
38687
|
}
|
|
@@ -41811,10 +41951,10 @@
|
|
|
41811
41951
|
};
|
|
41812
41952
|
};
|
|
41813
41953
|
|
|
41814
|
-
const VERSION$
|
|
41815
|
-
const RepresentationType$
|
|
41954
|
+
const VERSION$1o = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
41955
|
+
const RepresentationType$X = 'ContentDocumentCompositeRepresentation';
|
|
41816
41956
|
function keyBuilder$21(luvio, config) {
|
|
41817
|
-
return keyPrefix$2 + '::' + RepresentationType$
|
|
41957
|
+
return keyPrefix$2 + '::' + RepresentationType$X + ':' + config.contentDocumentId;
|
|
41818
41958
|
}
|
|
41819
41959
|
function keyBuilderFromType$D(luvio, object) {
|
|
41820
41960
|
const keyParams = {
|
|
@@ -41865,7 +42005,7 @@
|
|
|
41865
42005
|
}, luvio, store, timestamp);
|
|
41866
42006
|
return input;
|
|
41867
42007
|
}
|
|
41868
|
-
function equals$
|
|
42008
|
+
function equals$15(existing, incoming) {
|
|
41869
42009
|
const existing_contentDocument = existing.contentDocument;
|
|
41870
42010
|
const incoming_contentDocument = incoming.contentDocument;
|
|
41871
42011
|
if (!(existing_contentDocument.__ref === incoming_contentDocument.__ref)) {
|
|
@@ -41891,7 +42031,7 @@
|
|
|
41891
42031
|
const ingest$14 = function ContentDocumentCompositeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
41892
42032
|
const key = keyBuilderFromType$D(luvio, input);
|
|
41893
42033
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
41894
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "UiApi", VERSION$
|
|
42034
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "UiApi", VERSION$1o, RepresentationType$X, equals$15);
|
|
41895
42035
|
return createLink$3(key);
|
|
41896
42036
|
};
|
|
41897
42037
|
function getTypeCacheKeys$17(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -41899,7 +42039,7 @@
|
|
|
41899
42039
|
const rootKey = keyBuilderFromType$D(luvio, input);
|
|
41900
42040
|
rootKeySet.set(rootKey, {
|
|
41901
42041
|
namespace: keyPrefix$2,
|
|
41902
|
-
representationName: RepresentationType$
|
|
42042
|
+
representationName: RepresentationType$X,
|
|
41903
42043
|
mergeable: false
|
|
41904
42044
|
});
|
|
41905
42045
|
getTypeCacheKeys$T$1(rootKeySet, luvio, input.contentDocument);
|
|
@@ -41958,11 +42098,11 @@
|
|
|
41958
42098
|
priority: 'normal',
|
|
41959
42099
|
};
|
|
41960
42100
|
}
|
|
41961
|
-
const select$
|
|
42101
|
+
const select$1Z = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
41962
42102
|
return {
|
|
41963
42103
|
kind: 'Fragment',
|
|
41964
42104
|
private: [],
|
|
41965
|
-
version: VERSION$
|
|
42105
|
+
version: VERSION$1o,
|
|
41966
42106
|
selections: [
|
|
41967
42107
|
{
|
|
41968
42108
|
name: 'contentDocument',
|
|
@@ -42001,7 +42141,7 @@
|
|
|
42001
42141
|
function ingestSuccess$1$1(luvio, resourceParams, response) {
|
|
42002
42142
|
const { body } = response;
|
|
42003
42143
|
const key = keyBuilderFromType$D(luvio, body);
|
|
42004
|
-
const node = select$
|
|
42144
|
+
const node = select$1Z(body);
|
|
42005
42145
|
luvio.storeIngest(key, ingest$14, body);
|
|
42006
42146
|
const snapshot = luvio.storeLookup({
|
|
42007
42147
|
recordId: key,
|
|
@@ -42072,7 +42212,7 @@
|
|
|
42072
42212
|
function ingestSuccess$Q(luvio, resourceParams, response) {
|
|
42073
42213
|
const { body } = response;
|
|
42074
42214
|
const key = keyBuilderFromType$D(luvio, body);
|
|
42075
|
-
const node = select$
|
|
42215
|
+
const node = select$1Z(body);
|
|
42076
42216
|
luvio.storeIngest(key, ingest$14, body);
|
|
42077
42217
|
const snapshot = luvio.storeLookup({
|
|
42078
42218
|
recordId: key,
|
|
@@ -42751,7 +42891,7 @@
|
|
|
42751
42891
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
42752
42892
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
42753
42893
|
});
|
|
42754
|
-
// version: 1.
|
|
42894
|
+
// version: 1.252.0-eca5ba0ae
|
|
42755
42895
|
|
|
42756
42896
|
var ldsIdempotencyWriteDisabled = {
|
|
42757
42897
|
isOpen: function (e) {
|
|
@@ -60246,7 +60386,7 @@
|
|
|
60246
60386
|
id: '@salesforce/lds-network-adapter',
|
|
60247
60387
|
instrument: instrument$2,
|
|
60248
60388
|
});
|
|
60249
|
-
// version: 1.
|
|
60389
|
+
// version: 1.252.0-a960aa048
|
|
60250
60390
|
|
|
60251
60391
|
const { create: create$3, keys: keys$3 } = Object;
|
|
60252
60392
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78575,7 +78715,7 @@
|
|
|
78575
78715
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
78576
78716
|
instrument: instrument$1,
|
|
78577
78717
|
});
|
|
78578
|
-
// version: 1.
|
|
78718
|
+
// version: 1.252.0-eca5ba0ae
|
|
78579
78719
|
|
|
78580
78720
|
// On core the unstable adapters are re-exported with different names,
|
|
78581
78721
|
// we want to match them here.
|
|
@@ -80825,7 +80965,7 @@
|
|
|
80825
80965
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
80826
80966
|
graphQLImperative = ldsAdapter;
|
|
80827
80967
|
});
|
|
80828
|
-
// version: 1.
|
|
80968
|
+
// version: 1.252.0-eca5ba0ae
|
|
80829
80969
|
|
|
80830
80970
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
80831
80971
|
__proto__: null,
|
|
@@ -81523,7 +81663,7 @@
|
|
|
81523
81663
|
function register(r) {
|
|
81524
81664
|
callbacks$1.forEach((callback) => callback(r));
|
|
81525
81665
|
}
|
|
81526
|
-
// version: 1.
|
|
81666
|
+
// version: 1.252.0-a960aa048
|
|
81527
81667
|
|
|
81528
81668
|
/**
|
|
81529
81669
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -86410,4 +86550,4 @@
|
|
|
86410
86550
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
86411
86551
|
|
|
86412
86552
|
}));
|
|
86413
|
-
// version: 1.
|
|
86553
|
+
// version: 1.252.0-a960aa048
|