@salesforce/lds-worker-api 1.322.0 → 1.323.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.
|
@@ -4265,7 +4265,7 @@ function withDefaultLuvio(callback) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
callbacks.push(callback);
|
|
4267
4267
|
}
|
|
4268
|
-
// version: 1.
|
|
4268
|
+
// version: 1.323.0-ddaba12fc0
|
|
4269
4269
|
|
|
4270
4270
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4271
4271
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5213,7 +5213,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5213
5213
|
const { apiFamily, name } = metadata;
|
|
5214
5214
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5215
5215
|
}
|
|
5216
|
-
// version: 1.
|
|
5216
|
+
// version: 1.323.0-ddaba12fc0
|
|
5217
5217
|
|
|
5218
5218
|
/**
|
|
5219
5219
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -6215,11 +6215,11 @@ function assignMetadataLink$2(entry, metadataKey) {
|
|
|
6215
6215
|
entry['__metadata'] = createLink$4(metadataKey);
|
|
6216
6216
|
}
|
|
6217
6217
|
|
|
6218
|
-
const VERSION$
|
|
6219
|
-
const select$
|
|
6218
|
+
const VERSION$1u$2 = "623aa9ce3a11031e35faf5671a41746e";
|
|
6219
|
+
const select$27$1 = function ListFilterByInfoRepresentationSelect() {
|
|
6220
6220
|
return {
|
|
6221
6221
|
kind: 'Fragment',
|
|
6222
|
-
version: VERSION$
|
|
6222
|
+
version: VERSION$1u$2,
|
|
6223
6223
|
private: [],
|
|
6224
6224
|
selections: [
|
|
6225
6225
|
{
|
|
@@ -6243,11 +6243,11 @@ const select$26$1 = function ListFilterByInfoRepresentationSelect() {
|
|
|
6243
6243
|
};
|
|
6244
6244
|
};
|
|
6245
6245
|
|
|
6246
|
-
const VERSION$
|
|
6247
|
-
const select$
|
|
6246
|
+
const VERSION$1t$2 = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
6247
|
+
const select$26$1 = function ListInlineEditDetailsRepresentationSelect() {
|
|
6248
6248
|
return {
|
|
6249
6249
|
kind: 'Fragment',
|
|
6250
|
-
version: VERSION$
|
|
6250
|
+
version: VERSION$1t$2,
|
|
6251
6251
|
private: [],
|
|
6252
6252
|
selections: [
|
|
6253
6253
|
{
|
|
@@ -6262,11 +6262,11 @@ const select$25 = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
6262
6262
|
};
|
|
6263
6263
|
};
|
|
6264
6264
|
|
|
6265
|
-
const VERSION$
|
|
6266
|
-
const select$
|
|
6265
|
+
const VERSION$1s$2 = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
6266
|
+
const select$25 = function ListReferenceRepresentationSelect() {
|
|
6267
6267
|
return {
|
|
6268
6268
|
kind: 'Fragment',
|
|
6269
|
-
version: VERSION$
|
|
6269
|
+
version: VERSION$1s$2,
|
|
6270
6270
|
private: [],
|
|
6271
6271
|
selections: [
|
|
6272
6272
|
{
|
|
@@ -6288,7 +6288,7 @@ const select$24 = function ListReferenceRepresentationSelect() {
|
|
|
6288
6288
|
]
|
|
6289
6289
|
};
|
|
6290
6290
|
};
|
|
6291
|
-
function equals$
|
|
6291
|
+
function equals$1b(existing, incoming) {
|
|
6292
6292
|
const existing_objectApiName = existing.objectApiName;
|
|
6293
6293
|
const incoming_objectApiName = incoming.objectApiName;
|
|
6294
6294
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -6312,11 +6312,11 @@ function equals$1a(existing, incoming) {
|
|
|
6312
6312
|
return true;
|
|
6313
6313
|
}
|
|
6314
6314
|
|
|
6315
|
-
const VERSION$
|
|
6316
|
-
const select$
|
|
6315
|
+
const VERSION$1r$2 = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
6316
|
+
const select$24 = function ListInfoShareRepresentationSelect() {
|
|
6317
6317
|
return {
|
|
6318
6318
|
kind: 'Fragment',
|
|
6319
|
-
version: VERSION$
|
|
6319
|
+
version: VERSION$1r$2,
|
|
6320
6320
|
private: [],
|
|
6321
6321
|
selections: [
|
|
6322
6322
|
{
|
|
@@ -6331,12 +6331,12 @@ const select$23 = function ListInfoShareRepresentationSelect() {
|
|
|
6331
6331
|
};
|
|
6332
6332
|
};
|
|
6333
6333
|
|
|
6334
|
-
const VERSION$
|
|
6335
|
-
const select$
|
|
6336
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
6334
|
+
const VERSION$1q$2 = "561657f32721ec1dac1601575b029640";
|
|
6335
|
+
const select$23 = function ListInfoShareCategoryRepresentationSelect() {
|
|
6336
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$24();
|
|
6337
6337
|
return {
|
|
6338
6338
|
kind: 'Fragment',
|
|
6339
|
-
version: VERSION$
|
|
6339
|
+
version: VERSION$1q$2,
|
|
6340
6340
|
private: [],
|
|
6341
6341
|
selections: [
|
|
6342
6342
|
{
|
|
@@ -6353,11 +6353,11 @@ const select$22 = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
6353
6353
|
};
|
|
6354
6354
|
};
|
|
6355
6355
|
|
|
6356
|
-
const VERSION$
|
|
6357
|
-
const select$
|
|
6356
|
+
const VERSION$1p$2 = "32def9b631252c12b91a8209c1f49f5a";
|
|
6357
|
+
const select$22 = function ListOrderByInfoRepresentationSelect() {
|
|
6358
6358
|
return {
|
|
6359
6359
|
kind: 'Fragment',
|
|
6360
|
-
version: VERSION$
|
|
6360
|
+
version: VERSION$1p$2,
|
|
6361
6361
|
private: [],
|
|
6362
6362
|
selections: [
|
|
6363
6363
|
{
|
|
@@ -6375,7 +6375,7 @@ const select$21 = function ListOrderByInfoRepresentationSelect() {
|
|
|
6375
6375
|
]
|
|
6376
6376
|
};
|
|
6377
6377
|
};
|
|
6378
|
-
function equals$
|
|
6378
|
+
function equals$1a(existing, incoming) {
|
|
6379
6379
|
const existing_isAscending = existing.isAscending;
|
|
6380
6380
|
const incoming_isAscending = incoming.isAscending;
|
|
6381
6381
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -6394,11 +6394,11 @@ function equals$19(existing, incoming) {
|
|
|
6394
6394
|
return true;
|
|
6395
6395
|
}
|
|
6396
6396
|
|
|
6397
|
-
const VERSION$
|
|
6398
|
-
const select$
|
|
6397
|
+
const VERSION$1o$2 = "2634258f216db34315c06d759a35676d";
|
|
6398
|
+
const select$21 = function ListScopeEntityRepresentationSelect() {
|
|
6399
6399
|
return {
|
|
6400
6400
|
kind: 'Fragment',
|
|
6401
|
-
version: VERSION$
|
|
6401
|
+
version: VERSION$1o$2,
|
|
6402
6402
|
private: [],
|
|
6403
6403
|
selections: [
|
|
6404
6404
|
{
|
|
@@ -6413,11 +6413,11 @@ const select$20 = function ListScopeEntityRepresentationSelect() {
|
|
|
6413
6413
|
};
|
|
6414
6414
|
};
|
|
6415
6415
|
|
|
6416
|
-
const VERSION$
|
|
6417
|
-
const select$
|
|
6416
|
+
const VERSION$1n$2 = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
6417
|
+
const select$20 = function ListScopeRelatedEntityRepresentationSelect() {
|
|
6418
6418
|
return {
|
|
6419
6419
|
kind: 'Fragment',
|
|
6420
|
-
version: VERSION$
|
|
6420
|
+
version: VERSION$1n$2,
|
|
6421
6421
|
private: [],
|
|
6422
6422
|
selections: [
|
|
6423
6423
|
{
|
|
@@ -6436,13 +6436,13 @@ const select$1$ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
6436
6436
|
};
|
|
6437
6437
|
};
|
|
6438
6438
|
|
|
6439
|
-
const VERSION$
|
|
6440
|
-
const select$
|
|
6441
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
6442
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
6439
|
+
const VERSION$1m$2 = "2fe9814e7124b47f59da585483c1b3f9";
|
|
6440
|
+
const select$1$ = function ListScopeRepresentationSelect() {
|
|
6441
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$21();
|
|
6442
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$20();
|
|
6443
6443
|
return {
|
|
6444
6444
|
kind: 'Fragment',
|
|
6445
|
-
version: VERSION$
|
|
6445
|
+
version: VERSION$1m$2,
|
|
6446
6446
|
private: [],
|
|
6447
6447
|
selections: [
|
|
6448
6448
|
{
|
|
@@ -6469,11 +6469,11 @@ const select$1_ = function ListScopeRepresentationSelect() {
|
|
|
6469
6469
|
};
|
|
6470
6470
|
};
|
|
6471
6471
|
|
|
6472
|
-
const VERSION$
|
|
6473
|
-
const select$
|
|
6472
|
+
const VERSION$1l$2 = "6506134f4d72fdfa349fe60ef1af2413";
|
|
6473
|
+
const select$1_ = function ListUserPreferenceRepresentationSelect() {
|
|
6474
6474
|
return {
|
|
6475
6475
|
kind: 'Fragment',
|
|
6476
|
-
version: VERSION$
|
|
6476
|
+
version: VERSION$1l$2,
|
|
6477
6477
|
private: [],
|
|
6478
6478
|
selections: [
|
|
6479
6479
|
{
|
|
@@ -6490,20 +6490,20 @@ const select$1Z = function ListUserPreferenceRepresentationSelect() {
|
|
|
6490
6490
|
};
|
|
6491
6491
|
};
|
|
6492
6492
|
|
|
6493
|
-
const VERSION$
|
|
6493
|
+
const VERSION$1k$2 = "64e2cac6d374ad92f491a9f8a952c6c3";
|
|
6494
6494
|
const RepresentationType$Z = 'ListColumnRepresentation';
|
|
6495
6495
|
function normalize$S(input, existing, path, luvio, store, timestamp) {
|
|
6496
6496
|
return input;
|
|
6497
6497
|
}
|
|
6498
|
-
const select$
|
|
6498
|
+
const select$1Z = function ListColumnRepresentationSelect() {
|
|
6499
6499
|
return {
|
|
6500
6500
|
kind: 'Fragment',
|
|
6501
|
-
version: VERSION$
|
|
6501
|
+
version: VERSION$1k$2,
|
|
6502
6502
|
private: [],
|
|
6503
6503
|
opaque: true
|
|
6504
6504
|
};
|
|
6505
6505
|
};
|
|
6506
|
-
function equals$
|
|
6506
|
+
function equals$19(existing, incoming) {
|
|
6507
6507
|
if (JSONStringify$3(incoming) !== JSONStringify$3(existing)) {
|
|
6508
6508
|
return false;
|
|
6509
6509
|
}
|
|
@@ -6512,7 +6512,7 @@ function equals$18(existing, incoming) {
|
|
|
6512
6512
|
const ingest$S$2 = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6513
6513
|
const key = path.fullPath;
|
|
6514
6514
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
6515
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$
|
|
6515
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$1k$2, RepresentationType$Z, equals$19);
|
|
6516
6516
|
return createLink$4(key);
|
|
6517
6517
|
};
|
|
6518
6518
|
function getTypeCacheKeys$_$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6537,7 +6537,7 @@ const keyBuilderFromType$F = function ListInfoRepresentationKeyBuilderFromType(l
|
|
|
6537
6537
|
};
|
|
6538
6538
|
|
|
6539
6539
|
const TTL$B = 900000;
|
|
6540
|
-
const VERSION$
|
|
6540
|
+
const VERSION$1j$2 = "5adf17d38be03c0f71b1c52485b377a6";
|
|
6541
6541
|
const RepresentationType$Y = 'ListInfoRepresentation';
|
|
6542
6542
|
function keyBuilder$2a(luvio, config) {
|
|
6543
6543
|
return keyPrefix$3 + '::' + RepresentationType$Y + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
@@ -6561,17 +6561,17 @@ function normalize$R(input, existing, path, luvio, store, timestamp) {
|
|
|
6561
6561
|
}
|
|
6562
6562
|
return input;
|
|
6563
6563
|
}
|
|
6564
|
-
const select$
|
|
6565
|
-
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$
|
|
6566
|
-
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$
|
|
6567
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
6568
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
6569
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
6570
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
6571
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
6564
|
+
const select$1Y = function ListInfoRepresentationSelect() {
|
|
6565
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$27$1();
|
|
6566
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$26$1();
|
|
6567
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$25();
|
|
6568
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$23();
|
|
6569
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$22();
|
|
6570
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$1$();
|
|
6571
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$1_();
|
|
6572
6572
|
return {
|
|
6573
6573
|
kind: 'Fragment',
|
|
6574
|
-
version: VERSION$
|
|
6574
|
+
version: VERSION$1j$2,
|
|
6575
6575
|
private: [
|
|
6576
6576
|
'eTag'
|
|
6577
6577
|
],
|
|
@@ -6592,7 +6592,7 @@ const select$1X = function ListInfoRepresentationSelect() {
|
|
|
6592
6592
|
name: 'displayColumns',
|
|
6593
6593
|
kind: 'Link',
|
|
6594
6594
|
plural: true,
|
|
6595
|
-
fragment: select$
|
|
6595
|
+
fragment: select$1Z()
|
|
6596
6596
|
},
|
|
6597
6597
|
{
|
|
6598
6598
|
name: 'filterLogicString',
|
|
@@ -6670,7 +6670,7 @@ const select$1X = function ListInfoRepresentationSelect() {
|
|
|
6670
6670
|
]
|
|
6671
6671
|
};
|
|
6672
6672
|
};
|
|
6673
|
-
function equals$
|
|
6673
|
+
function equals$18(existing, incoming) {
|
|
6674
6674
|
if (existing.eTag !== incoming.eTag) {
|
|
6675
6675
|
return false;
|
|
6676
6676
|
}
|
|
@@ -6679,7 +6679,7 @@ function equals$17(existing, incoming) {
|
|
|
6679
6679
|
const ingest$R$2 = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6680
6680
|
const key = keyBuilderFromType$F(luvio, input);
|
|
6681
6681
|
const ttlToUse = TTL$B;
|
|
6682
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$R, "UiApi", VERSION$
|
|
6682
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$R, "UiApi", VERSION$1j$2, RepresentationType$Y, equals$18);
|
|
6683
6683
|
return createLink$4(key);
|
|
6684
6684
|
};
|
|
6685
6685
|
function getTypeCacheKeys$Z$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6755,11 +6755,11 @@ function toSortedStringArray$1(value) {
|
|
|
6755
6755
|
return undefined;
|
|
6756
6756
|
}
|
|
6757
6757
|
|
|
6758
|
-
const VERSION$
|
|
6759
|
-
const select$
|
|
6758
|
+
const VERSION$1i$2 = "d1e589a127fb1060c89070cdb6f500b2";
|
|
6759
|
+
const select$1X = function RecordTypeInfoRepresentationSelect() {
|
|
6760
6760
|
return {
|
|
6761
6761
|
kind: 'Fragment',
|
|
6762
|
-
version: VERSION$
|
|
6762
|
+
version: VERSION$1i$2,
|
|
6763
6763
|
private: [],
|
|
6764
6764
|
selections: [
|
|
6765
6765
|
{
|
|
@@ -6785,7 +6785,7 @@ const select$1W = function RecordTypeInfoRepresentationSelect() {
|
|
|
6785
6785
|
]
|
|
6786
6786
|
};
|
|
6787
6787
|
};
|
|
6788
|
-
function equals$
|
|
6788
|
+
function equals$17(existing, incoming) {
|
|
6789
6789
|
const existing_available = existing.available;
|
|
6790
6790
|
const incoming_available = incoming.available;
|
|
6791
6791
|
if (!(existing_available === incoming_available)) {
|
|
@@ -6814,7 +6814,7 @@ function equals$16(existing, incoming) {
|
|
|
6814
6814
|
return true;
|
|
6815
6815
|
}
|
|
6816
6816
|
|
|
6817
|
-
const VERSION$
|
|
6817
|
+
const VERSION$1h$2 = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
6818
6818
|
const RepresentationType$X = 'FieldValueRepresentation';
|
|
6819
6819
|
function normalize$Q(input, existing, path, luvio, store, timestamp) {
|
|
6820
6820
|
const input_value = input.value;
|
|
@@ -6833,10 +6833,10 @@ function normalize$Q(input, existing, path, luvio, store, timestamp) {
|
|
|
6833
6833
|
}
|
|
6834
6834
|
return input;
|
|
6835
6835
|
}
|
|
6836
|
-
const select$
|
|
6836
|
+
const select$1W = function FieldValueRepresentationSelect() {
|
|
6837
6837
|
return {
|
|
6838
6838
|
kind: 'Fragment',
|
|
6839
|
-
version: VERSION$
|
|
6839
|
+
version: VERSION$1h$2,
|
|
6840
6840
|
private: [],
|
|
6841
6841
|
selections: [
|
|
6842
6842
|
{
|
|
@@ -6847,12 +6847,12 @@ const select$1V = function FieldValueRepresentationSelect() {
|
|
|
6847
6847
|
name: 'value',
|
|
6848
6848
|
kind: 'Link',
|
|
6849
6849
|
nullable: true,
|
|
6850
|
-
fragment: select$
|
|
6850
|
+
fragment: select$1U()
|
|
6851
6851
|
}
|
|
6852
6852
|
]
|
|
6853
6853
|
};
|
|
6854
6854
|
};
|
|
6855
|
-
function equals$
|
|
6855
|
+
function equals$16(existing, incoming) {
|
|
6856
6856
|
const existing_displayValue = existing.displayValue;
|
|
6857
6857
|
const incoming_displayValue = incoming.displayValue;
|
|
6858
6858
|
if (!(existing_displayValue === incoming_displayValue)) {
|
|
@@ -6873,7 +6873,7 @@ function equals$15(existing, incoming) {
|
|
|
6873
6873
|
const ingest$Q$2 = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6874
6874
|
const key = path.fullPath;
|
|
6875
6875
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
6876
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$
|
|
6876
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$1h$2, RepresentationType$X, equals$16);
|
|
6877
6877
|
return createLink$4(key);
|
|
6878
6878
|
};
|
|
6879
6879
|
function getTypeCacheKeys$Y$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6916,7 +6916,7 @@ const getTypeCacheKeys$X$2 = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
6916
6916
|
};
|
|
6917
6917
|
|
|
6918
6918
|
const TTL$A = 120000;
|
|
6919
|
-
const VERSION$
|
|
6919
|
+
const VERSION$1g$2 = "79cb5ac9f44542f683d00245fdfe500d";
|
|
6920
6920
|
const RepresentationType$W = 'RecordCollectionRepresentation';
|
|
6921
6921
|
function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
6922
6922
|
const input_records = input.records;
|
|
@@ -6937,10 +6937,10 @@ function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
|
6937
6937
|
}
|
|
6938
6938
|
return input;
|
|
6939
6939
|
}
|
|
6940
|
-
const select$
|
|
6940
|
+
const select$1V = function RecordCollectionRepresentationSelect() {
|
|
6941
6941
|
return {
|
|
6942
6942
|
kind: 'Fragment',
|
|
6943
|
-
version: VERSION$
|
|
6943
|
+
version: VERSION$1g$2,
|
|
6944
6944
|
private: [],
|
|
6945
6945
|
selections: [
|
|
6946
6946
|
{
|
|
@@ -6975,12 +6975,12 @@ const select$1U = function RecordCollectionRepresentationSelect() {
|
|
|
6975
6975
|
name: 'records',
|
|
6976
6976
|
kind: 'Link',
|
|
6977
6977
|
plural: true,
|
|
6978
|
-
fragment: select$
|
|
6978
|
+
fragment: select$1U()
|
|
6979
6979
|
}
|
|
6980
6980
|
]
|
|
6981
6981
|
};
|
|
6982
6982
|
};
|
|
6983
|
-
function equals$
|
|
6983
|
+
function equals$15(existing, incoming) {
|
|
6984
6984
|
const existing_count = existing.count;
|
|
6985
6985
|
const incoming_count = incoming.count;
|
|
6986
6986
|
if (!(existing_count === incoming_count)) {
|
|
@@ -7031,7 +7031,7 @@ function equals$14(existing, incoming) {
|
|
|
7031
7031
|
const ingest$P$2 = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7032
7032
|
const key = path.fullPath;
|
|
7033
7033
|
const ttlToUse = TTL$A;
|
|
7034
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$
|
|
7034
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$1g$2, RepresentationType$W, equals$15);
|
|
7035
7035
|
return createLink$4(key);
|
|
7036
7036
|
};
|
|
7037
7037
|
function getTypeCacheKeys$W$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7059,7 +7059,7 @@ const keyBuilderFromType$E = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
7059
7059
|
};
|
|
7060
7060
|
|
|
7061
7061
|
const TTL$z = 30000;
|
|
7062
|
-
const VERSION$
|
|
7062
|
+
const VERSION$1f$2 = "98c5b18512e48ca8d28727549507e4ba";
|
|
7063
7063
|
const RepresentationType$V = 'RecordRepresentation';
|
|
7064
7064
|
function keyBuilder$29(luvio, config) {
|
|
7065
7065
|
return keyPrefix$3 + '::' + RepresentationType$V + ':' + config.recordId;
|
|
@@ -7113,11 +7113,11 @@ function dynamicNormalize$5(ingestParams) {
|
|
|
7113
7113
|
return input;
|
|
7114
7114
|
};
|
|
7115
7115
|
}
|
|
7116
|
-
const select$
|
|
7117
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
7116
|
+
const select$1U = function RecordRepresentationSelect() {
|
|
7117
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$1X();
|
|
7118
7118
|
return {
|
|
7119
7119
|
kind: 'Fragment',
|
|
7120
|
-
version: VERSION$
|
|
7120
|
+
version: VERSION$1f$2,
|
|
7121
7121
|
private: [
|
|
7122
7122
|
'eTag',
|
|
7123
7123
|
'weakEtag'
|
|
@@ -7131,13 +7131,13 @@ const select$1T = function RecordRepresentationSelect() {
|
|
|
7131
7131
|
name: 'childRelationships',
|
|
7132
7132
|
kind: 'Link',
|
|
7133
7133
|
map: true,
|
|
7134
|
-
fragment: select$
|
|
7134
|
+
fragment: select$1V()
|
|
7135
7135
|
},
|
|
7136
7136
|
{
|
|
7137
7137
|
name: 'fields',
|
|
7138
7138
|
kind: 'Link',
|
|
7139
7139
|
map: true,
|
|
7140
|
-
fragment: select$
|
|
7140
|
+
fragment: select$1W()
|
|
7141
7141
|
},
|
|
7142
7142
|
{
|
|
7143
7143
|
name: 'id',
|
|
@@ -7173,18 +7173,18 @@ const dynamicSelect$8$1 = function dynamicRecordRepresentationSelect(params) {
|
|
|
7173
7173
|
name: 'childRelationships',
|
|
7174
7174
|
kind: 'Link',
|
|
7175
7175
|
map: true,
|
|
7176
|
-
fragment: select$
|
|
7176
|
+
fragment: select$1V()
|
|
7177
7177
|
} : params.childRelationships;
|
|
7178
7178
|
const fieldsPathSelection = params.fields === undefined ? {
|
|
7179
7179
|
name: 'fields',
|
|
7180
7180
|
kind: 'Link',
|
|
7181
7181
|
map: true,
|
|
7182
|
-
fragment: select$
|
|
7182
|
+
fragment: select$1W()
|
|
7183
7183
|
} : params.fields;
|
|
7184
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
7184
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$1X();
|
|
7185
7185
|
return {
|
|
7186
7186
|
kind: 'Fragment',
|
|
7187
|
-
version: VERSION$
|
|
7187
|
+
version: VERSION$1f$2,
|
|
7188
7188
|
private: [
|
|
7189
7189
|
'eTag',
|
|
7190
7190
|
'weakEtag'
|
|
@@ -7225,7 +7225,7 @@ const dynamicSelect$8$1 = function dynamicRecordRepresentationSelect(params) {
|
|
|
7225
7225
|
]
|
|
7226
7226
|
};
|
|
7227
7227
|
};
|
|
7228
|
-
function equals$
|
|
7228
|
+
function equals$14(existing, incoming) {
|
|
7229
7229
|
const existing_weakEtag = existing.weakEtag;
|
|
7230
7230
|
const incoming_weakEtag = incoming.weakEtag;
|
|
7231
7231
|
if (!(existing_weakEtag === incoming_weakEtag)) {
|
|
@@ -7286,7 +7286,7 @@ function equals$13(existing, incoming) {
|
|
|
7286
7286
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
7287
7287
|
|| (existing_recordTypeInfo != null &&
|
|
7288
7288
|
incoming_recordTypeInfo != null &&
|
|
7289
|
-
equals$
|
|
7289
|
+
equals$17(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
7290
7290
|
return false;
|
|
7291
7291
|
}
|
|
7292
7292
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -8966,7 +8966,7 @@ function createPathSelection$1(propertyName, fieldDefinition) {
|
|
|
8966
8966
|
kind: 'Fragment',
|
|
8967
8967
|
private: ['eTag', 'weakEtag'],
|
|
8968
8968
|
selections: createRecordSelection$1(childFieldDefinition),
|
|
8969
|
-
version: VERSION$
|
|
8969
|
+
version: VERSION$1f$2,
|
|
8970
8970
|
},
|
|
8971
8971
|
};
|
|
8972
8972
|
}
|
|
@@ -8976,7 +8976,7 @@ function createPathSelection$1(propertyName, fieldDefinition) {
|
|
|
8976
8976
|
required: childFieldDefinition.optional === true ? false : undefined,
|
|
8977
8977
|
fragment: {
|
|
8978
8978
|
kind: 'Fragment',
|
|
8979
|
-
version: VERSION$
|
|
8979
|
+
version: VERSION$1h$2,
|
|
8980
8980
|
private: [],
|
|
8981
8981
|
selections: [DISPLAY_VALUE_SELECTION$1, fieldValueSelection],
|
|
8982
8982
|
},
|
|
@@ -9008,7 +9008,7 @@ function createPathSelectionFromValue$1(fields) {
|
|
|
9008
9008
|
kind: 'Fragment',
|
|
9009
9009
|
private: [],
|
|
9010
9010
|
selections: buildSelectionFromRecord$1(fieldValue),
|
|
9011
|
-
version: VERSION$
|
|
9011
|
+
version: VERSION$1f$2,
|
|
9012
9012
|
},
|
|
9013
9013
|
};
|
|
9014
9014
|
}
|
|
@@ -9018,7 +9018,7 @@ function createPathSelectionFromValue$1(fields) {
|
|
|
9018
9018
|
required: undefined,
|
|
9019
9019
|
fragment: {
|
|
9020
9020
|
kind: 'Fragment',
|
|
9021
|
-
version: VERSION$
|
|
9021
|
+
version: VERSION$1h$2,
|
|
9022
9022
|
private: [],
|
|
9023
9023
|
selections: [DISPLAY_VALUE_SELECTION$1, fieldValueSelection],
|
|
9024
9024
|
},
|
|
@@ -9298,17 +9298,19 @@ const BLANK_RECORD_FIELDS_TRIE$1 = freeze$4({
|
|
|
9298
9298
|
name: '',
|
|
9299
9299
|
children: {},
|
|
9300
9300
|
});
|
|
9301
|
-
const convertFieldsToTrie$1 = (fields = [], isOptional = false
|
|
9301
|
+
const convertFieldsToTrie$1 = (fields = [], isOptional = false, objectName // This should be a required field.
|
|
9302
|
+
) => {
|
|
9302
9303
|
if (fields.length === 0) {
|
|
9303
9304
|
return BLANK_RECORD_FIELDS_TRIE$1;
|
|
9304
9305
|
}
|
|
9305
|
-
const name = getObjectNameFromField$1(fields[0]);
|
|
9306
|
+
const name = objectName || getObjectNameFromField$1(fields[0]); // Pulling object name from first field is not a safe or correct operation
|
|
9306
9307
|
const fieldsTrie = {
|
|
9307
9308
|
name,
|
|
9308
9309
|
children: {},
|
|
9309
9310
|
optional: isOptional,
|
|
9310
9311
|
};
|
|
9311
|
-
|
|
9312
|
+
const filteredFields = fields.filter((field) => objectName !== undefined && isOptional ? field.startsWith(`${objectName}.`) : true);
|
|
9313
|
+
insertFieldsIntoTrie$1(fieldsTrie, filteredFields, isOptional);
|
|
9312
9314
|
return fieldsTrie;
|
|
9313
9315
|
};
|
|
9314
9316
|
const getObjectNameFromField$1 = (field) => {
|
|
@@ -9513,7 +9515,7 @@ function ingestRecordResponse(luvio, response, recordId, recordIngest, conflictM
|
|
|
9513
9515
|
kind: 'Fragment',
|
|
9514
9516
|
private: [],
|
|
9515
9517
|
selections: sel,
|
|
9516
|
-
version: VERSION$
|
|
9518
|
+
version: VERSION$1f$2,
|
|
9517
9519
|
},
|
|
9518
9520
|
variables: {},
|
|
9519
9521
|
});
|
|
@@ -9816,7 +9818,7 @@ function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
|
9816
9818
|
// read again after children ingested in case of a circular ref
|
|
9817
9819
|
existingRecord = store.readEntry(key);
|
|
9818
9820
|
incomingRecord = merge$2(existingRecord, incomingRecord, luvio, path);
|
|
9819
|
-
if (existingRecord === undefined || equals$
|
|
9821
|
+
if (existingRecord === undefined || equals$16(existingRecord, incomingRecord) === false) {
|
|
9820
9822
|
luvio.storePublish(key, incomingRecord);
|
|
9821
9823
|
}
|
|
9822
9824
|
return createLink$4(key);
|
|
@@ -9901,7 +9903,7 @@ const createRecordIngest$1 = (fieldsTrie, optionalFieldsTrie, recordConflictMap)
|
|
|
9901
9903
|
existingRecord = store.readEntry(key);
|
|
9902
9904
|
incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
|
|
9903
9905
|
if (existingRecord === undefined ||
|
|
9904
|
-
equals$
|
|
9906
|
+
equals$14(existingRecord, incomingRecord) === false ||
|
|
9905
9907
|
// always publish if existing record has drafts
|
|
9906
9908
|
existingRecord.drafts !==
|
|
9907
9909
|
undefined) {
|
|
@@ -9911,7 +9913,7 @@ const createRecordIngest$1 = (fieldsTrie, optionalFieldsTrie, recordConflictMap)
|
|
|
9911
9913
|
ttl: TTL$z,
|
|
9912
9914
|
representationName: RepresentationType$V,
|
|
9913
9915
|
namespace: keyPrefix$3,
|
|
9914
|
-
version: VERSION$
|
|
9916
|
+
version: VERSION$1f$2,
|
|
9915
9917
|
ingestionTimestamp: timestamp,
|
|
9916
9918
|
});
|
|
9917
9919
|
return createLink$4(key);
|
|
@@ -10073,7 +10075,7 @@ function buildRecordSelector$1(luvio, recordId, fields, optionalFields) {
|
|
|
10073
10075
|
kind: 'Fragment',
|
|
10074
10076
|
private: ['eTag', 'weakEtag'],
|
|
10075
10077
|
selections: buildSelectionFromFields$1(fields, optionalFields),
|
|
10076
|
-
version: VERSION$
|
|
10078
|
+
version: VERSION$1f$2,
|
|
10077
10079
|
},
|
|
10078
10080
|
variables: {},
|
|
10079
10081
|
};
|
|
@@ -10194,7 +10196,7 @@ function isSingleBatchRecordResponse$1(response) {
|
|
|
10194
10196
|
response.results.length === 1);
|
|
10195
10197
|
}
|
|
10196
10198
|
|
|
10197
|
-
const VERSION$
|
|
10199
|
+
const VERSION$1e$2 = "98cce53b8d13b1883d001bbdaab24383";
|
|
10198
10200
|
|
|
10199
10201
|
const nonCachedErrors$7 = ObjectCreate$1$3(null);
|
|
10200
10202
|
function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
|
|
@@ -10295,7 +10297,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
10295
10297
|
node: {
|
|
10296
10298
|
kind: 'Fragment',
|
|
10297
10299
|
private: [],
|
|
10298
|
-
version: VERSION$
|
|
10300
|
+
version: VERSION$1e$2,
|
|
10299
10301
|
},
|
|
10300
10302
|
variables: {},
|
|
10301
10303
|
});
|
|
@@ -10723,7 +10725,7 @@ const keyBuilderFromType$C = function ListRecordCollectionRepresentationKeyBuild
|
|
|
10723
10725
|
};
|
|
10724
10726
|
|
|
10725
10727
|
const TTL$y = 30000;
|
|
10726
|
-
const VERSION$
|
|
10728
|
+
const VERSION$1d$2 = "e5c90c4081cd557f8ffec53028ede1e8";
|
|
10727
10729
|
const RepresentationType$U = 'ListRecordCollectionRepresentation';
|
|
10728
10730
|
function keyBuilder$26(luvio, config) {
|
|
10729
10731
|
return keyPrefix$3 + '::' + RepresentationType$U + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
@@ -10750,13 +10752,13 @@ function normalize$N(input, existing, path, luvio, store, timestamp) {
|
|
|
10750
10752
|
}
|
|
10751
10753
|
return input;
|
|
10752
10754
|
}
|
|
10753
|
-
const select$
|
|
10754
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
10755
|
+
const select$1T = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
10756
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$25();
|
|
10755
10757
|
return {
|
|
10756
10758
|
kind: 'Fragment',
|
|
10757
10759
|
reader: true,
|
|
10758
10760
|
synthetic: false,
|
|
10759
|
-
version: VERSION$
|
|
10761
|
+
version: VERSION$1d$2,
|
|
10760
10762
|
read: (source, reader) => {
|
|
10761
10763
|
const sink = {};
|
|
10762
10764
|
if (paginationParams === undefined) {
|
|
@@ -10776,7 +10778,7 @@ const select$1S = function ListRecordCollectionRepresentationSelect(paginationPa
|
|
|
10776
10778
|
reader.readSingleLink(i, {
|
|
10777
10779
|
name: 'records',
|
|
10778
10780
|
kind: 'Link',
|
|
10779
|
-
fragment: select$
|
|
10781
|
+
fragment: select$1U()
|
|
10780
10782
|
}, itemsSource, allSink, i - startOffset);
|
|
10781
10783
|
if (reader.getIsDataMissing() === false) {
|
|
10782
10784
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -10869,14 +10871,14 @@ const dynamicSelect$7$1 = function dynamicListRecordCollectionRepresentationSele
|
|
|
10869
10871
|
const recordsPathSelection = params.records === undefined ? {
|
|
10870
10872
|
name: 'records',
|
|
10871
10873
|
kind: 'Link',
|
|
10872
|
-
fragment: select$
|
|
10874
|
+
fragment: select$1U()
|
|
10873
10875
|
} : params.records;
|
|
10874
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
10876
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$25();
|
|
10875
10877
|
return {
|
|
10876
10878
|
kind: 'Fragment',
|
|
10877
10879
|
reader: true,
|
|
10878
10880
|
synthetic: false,
|
|
10879
|
-
version: VERSION$
|
|
10881
|
+
version: VERSION$1d$2,
|
|
10880
10882
|
read: (source, reader) => {
|
|
10881
10883
|
const sink = {};
|
|
10882
10884
|
if (paginationParams === undefined) {
|
|
@@ -10951,7 +10953,7 @@ const dynamicSelect$7$1 = function dynamicListRecordCollectionRepresentationSele
|
|
|
10951
10953
|
},
|
|
10952
10954
|
};
|
|
10953
10955
|
};
|
|
10954
|
-
function equals$
|
|
10956
|
+
function equals$13(existing, incoming) {
|
|
10955
10957
|
const existing_count = existing.count;
|
|
10956
10958
|
const incoming_count = incoming.count;
|
|
10957
10959
|
if (!(existing_count === incoming_count)) {
|
|
@@ -10989,7 +10991,7 @@ function equals$12(existing, incoming) {
|
|
|
10989
10991
|
}
|
|
10990
10992
|
const existing_listReference = existing.listReference;
|
|
10991
10993
|
const incoming_listReference = incoming.listReference;
|
|
10992
|
-
if (!(equals$
|
|
10994
|
+
if (!(equals$1b(existing_listReference, incoming_listReference))) {
|
|
10993
10995
|
return false;
|
|
10994
10996
|
}
|
|
10995
10997
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -11110,14 +11112,14 @@ const ingest$N$2 = function ListRecordCollectionRepresentationIngest(input, path
|
|
|
11110
11112
|
...existingRecord.records.slice(nextOffset),
|
|
11111
11113
|
];
|
|
11112
11114
|
}
|
|
11113
|
-
if (existingRecord === undefined || equals$
|
|
11115
|
+
if (existingRecord === undefined || equals$13(existingRecord, incomingRecord) === false) {
|
|
11114
11116
|
luvio.storePublish(key, incomingRecord);
|
|
11115
11117
|
}
|
|
11116
11118
|
{
|
|
11117
11119
|
const storeMetadataParams = {
|
|
11118
11120
|
ttl: ttlToUse,
|
|
11119
11121
|
namespace: "UiApi",
|
|
11120
|
-
version: VERSION$
|
|
11122
|
+
version: VERSION$1d$2,
|
|
11121
11123
|
representationName: RepresentationType$U,
|
|
11122
11124
|
ingestionTimestamp: timestamp,
|
|
11123
11125
|
};
|
|
@@ -11150,7 +11152,7 @@ const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
|
11150
11152
|
};
|
|
11151
11153
|
};
|
|
11152
11154
|
|
|
11153
|
-
const VERSION$
|
|
11155
|
+
const VERSION$1c$2 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
11154
11156
|
const RepresentationType$T = 'ListUiRepresentation';
|
|
11155
11157
|
function keyBuilder$25(luvio, config) {
|
|
11156
11158
|
return keyPrefix$3 + '::' + RepresentationType$T + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
@@ -11195,16 +11197,16 @@ const dynamicSelect$6$1 = function dynamicListUiRepresentationSelect(params, pag
|
|
|
11195
11197
|
const infoPathSelection = params.info === undefined ? {
|
|
11196
11198
|
name: 'info',
|
|
11197
11199
|
kind: 'Link',
|
|
11198
|
-
fragment: select$
|
|
11200
|
+
fragment: select$1Y()
|
|
11199
11201
|
} : params.info;
|
|
11200
11202
|
const recordsPathSelection = params.records === undefined ? {
|
|
11201
11203
|
name: 'records',
|
|
11202
11204
|
kind: 'Link',
|
|
11203
|
-
fragment: select$
|
|
11205
|
+
fragment: select$1T(paginationParams)
|
|
11204
11206
|
} : params.records;
|
|
11205
11207
|
return {
|
|
11206
11208
|
kind: 'Fragment',
|
|
11207
|
-
version: VERSION$
|
|
11209
|
+
version: VERSION$1c$2,
|
|
11208
11210
|
private: [
|
|
11209
11211
|
'eTag'
|
|
11210
11212
|
],
|
|
@@ -11214,7 +11216,7 @@ const dynamicSelect$6$1 = function dynamicListUiRepresentationSelect(params, pag
|
|
|
11214
11216
|
]
|
|
11215
11217
|
};
|
|
11216
11218
|
};
|
|
11217
|
-
function equals$
|
|
11219
|
+
function equals$12(existing, incoming) {
|
|
11218
11220
|
const existing_eTag = existing.eTag;
|
|
11219
11221
|
const incoming_eTag = incoming.eTag;
|
|
11220
11222
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -11235,7 +11237,7 @@ function equals$11(existing, incoming) {
|
|
|
11235
11237
|
const ingest$M$2 = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11236
11238
|
const key = keyBuilderFromType$B(luvio, input);
|
|
11237
11239
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
11238
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$M, "UiApi", VERSION$
|
|
11240
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$M, "UiApi", VERSION$1c$2, RepresentationType$T, equals$12);
|
|
11239
11241
|
return createLink$4(key);
|
|
11240
11242
|
};
|
|
11241
11243
|
function getTypeCacheKeys$T$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -11363,7 +11365,7 @@ function createResourceRequest$18(config) {
|
|
|
11363
11365
|
};
|
|
11364
11366
|
}
|
|
11365
11367
|
|
|
11366
|
-
const VERSION$
|
|
11368
|
+
const VERSION$1b$2 = "0b29241fd9ed04bb61fde26b3f558ac4";
|
|
11367
11369
|
const RepresentationType$S = 'ListInfoSummaryRepresentation';
|
|
11368
11370
|
function keyBuilder$24(luvio, config) {
|
|
11369
11371
|
return keyPrefix$3 + '::' + RepresentationType$S + ':' + (config.id === null ? '' : config.id);
|
|
@@ -11377,10 +11379,10 @@ function keyBuilderFromType$A(luvio, object) {
|
|
|
11377
11379
|
function normalize$L(input, existing, path, luvio, store, timestamp) {
|
|
11378
11380
|
return input;
|
|
11379
11381
|
}
|
|
11380
|
-
const select$
|
|
11382
|
+
const select$1S = function ListInfoSummaryRepresentationSelect() {
|
|
11381
11383
|
return {
|
|
11382
11384
|
kind: 'Fragment',
|
|
11383
|
-
version: VERSION$
|
|
11385
|
+
version: VERSION$1b$2,
|
|
11384
11386
|
private: [],
|
|
11385
11387
|
selections: [
|
|
11386
11388
|
{
|
|
@@ -11402,7 +11404,7 @@ const select$1R = function ListInfoSummaryRepresentationSelect() {
|
|
|
11402
11404
|
]
|
|
11403
11405
|
};
|
|
11404
11406
|
};
|
|
11405
|
-
function equals$
|
|
11407
|
+
function equals$11(existing, incoming) {
|
|
11406
11408
|
const existing_apiName = existing.apiName;
|
|
11407
11409
|
const incoming_apiName = incoming.apiName;
|
|
11408
11410
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -11428,7 +11430,7 @@ function equals$10(existing, incoming) {
|
|
|
11428
11430
|
const ingest$L$2 = function ListInfoSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11429
11431
|
const key = keyBuilderFromType$A(luvio, input);
|
|
11430
11432
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
11431
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$L, "UiApi", VERSION$
|
|
11433
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$L, "UiApi", VERSION$1b$2, RepresentationType$S, equals$11);
|
|
11432
11434
|
return createLink$4(key);
|
|
11433
11435
|
};
|
|
11434
11436
|
function getTypeCacheKeys$S$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -11441,7 +11443,7 @@ function getTypeCacheKeys$S$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11441
11443
|
});
|
|
11442
11444
|
}
|
|
11443
11445
|
|
|
11444
|
-
const VERSION$
|
|
11446
|
+
const VERSION$1a$2 = "d0cadb0927f908b5b64694e1cff0b2d7";
|
|
11445
11447
|
const RepresentationType$R = 'ListInfoSummaryCollectionRepresentation';
|
|
11446
11448
|
function keyBuilder$23(luvio, config) {
|
|
11447
11449
|
return keyPrefix$3 + '::' + RepresentationType$R + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
@@ -11473,12 +11475,12 @@ function normalize$K(input, existing, path, luvio, store, timestamp) {
|
|
|
11473
11475
|
}
|
|
11474
11476
|
return input;
|
|
11475
11477
|
}
|
|
11476
|
-
const select$
|
|
11478
|
+
const select$1R = function ListInfoSummaryCollectionRepresentationSelect(paginationParams) {
|
|
11477
11479
|
return {
|
|
11478
11480
|
kind: 'Fragment',
|
|
11479
11481
|
reader: true,
|
|
11480
11482
|
synthetic: false,
|
|
11481
|
-
version: VERSION$
|
|
11483
|
+
version: VERSION$1a$2,
|
|
11482
11484
|
read: (source, reader) => {
|
|
11483
11485
|
const sink = {};
|
|
11484
11486
|
if (paginationParams === undefined) {
|
|
@@ -11498,7 +11500,7 @@ const select$1Q = function ListInfoSummaryCollectionRepresentationSelect(paginat
|
|
|
11498
11500
|
reader.readSingleLink(i, {
|
|
11499
11501
|
name: 'lists',
|
|
11500
11502
|
kind: 'Link',
|
|
11501
|
-
fragment: select$
|
|
11503
|
+
fragment: select$1S()
|
|
11502
11504
|
}, itemsSource, allSink, i - startOffset);
|
|
11503
11505
|
if (reader.getIsDataMissing() === false) {
|
|
11504
11506
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -11566,7 +11568,7 @@ function getPageMetadata$2$1(paginationMetadata, paginationParams) {
|
|
|
11566
11568
|
metadataProperties.count = endOffset - startOffset;
|
|
11567
11569
|
return sink;
|
|
11568
11570
|
}
|
|
11569
|
-
function equals
|
|
11571
|
+
function equals$10(existing, incoming) {
|
|
11570
11572
|
const existing_recentListsOnly = existing.recentListsOnly;
|
|
11571
11573
|
const incoming_recentListsOnly = incoming.recentListsOnly;
|
|
11572
11574
|
if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
|
|
@@ -11688,14 +11690,14 @@ const ingest$K$2 = function ListInfoSummaryCollectionRepresentationIngest(input,
|
|
|
11688
11690
|
...existingRecord.lists.slice(nextOffset),
|
|
11689
11691
|
];
|
|
11690
11692
|
}
|
|
11691
|
-
if (existingRecord === undefined || equals
|
|
11693
|
+
if (existingRecord === undefined || equals$10(existingRecord, incomingRecord) === false) {
|
|
11692
11694
|
luvio.storePublish(key, incomingRecord);
|
|
11693
11695
|
}
|
|
11694
11696
|
if (ttlToUse !== undefined) {
|
|
11695
11697
|
const storeMetadataParams = {
|
|
11696
11698
|
ttl: ttlToUse,
|
|
11697
11699
|
namespace: "UiApi",
|
|
11698
|
-
version: VERSION$
|
|
11700
|
+
version: VERSION$1a$2,
|
|
11699
11701
|
representationName: RepresentationType$R,
|
|
11700
11702
|
ingestionTimestamp: timestamp,
|
|
11701
11703
|
};
|
|
@@ -11850,11 +11852,11 @@ function getListReference$1(query, context) {
|
|
|
11850
11852
|
/**
|
|
11851
11853
|
* Reader selections to copy a list info
|
|
11852
11854
|
*/
|
|
11853
|
-
const LIST_INFO_SELECTIONS$1 = select$
|
|
11855
|
+
const LIST_INFO_SELECTIONS$1 = select$1Y().selections;
|
|
11854
11856
|
/**
|
|
11855
11857
|
* List info private memebers
|
|
11856
11858
|
*/
|
|
11857
|
-
select$
|
|
11859
|
+
select$1Y().private;
|
|
11858
11860
|
const LIST_INFO_SELECTIONS_ETAG$1 = [
|
|
11859
11861
|
...LIST_INFO_SELECTIONS$1,
|
|
11860
11862
|
{ kind: 'Scalar', name: 'eTag' },
|
|
@@ -11879,7 +11881,7 @@ function getListInfo$1(luvio, listRef, storeLookup) {
|
|
|
11879
11881
|
kind: 'Fragment',
|
|
11880
11882
|
selections: LIST_INFO_SELECTIONS_ETAG$1,
|
|
11881
11883
|
private: [],
|
|
11882
|
-
version: VERSION$
|
|
11884
|
+
version: VERSION$1j$2,
|
|
11883
11885
|
},
|
|
11884
11886
|
variables: {},
|
|
11885
11887
|
});
|
|
@@ -12109,7 +12111,7 @@ function keyBuilder$22(luvio, params) {
|
|
|
12109
12111
|
});
|
|
12110
12112
|
}
|
|
12111
12113
|
|
|
12112
|
-
function select$
|
|
12114
|
+
function select$1Q(luvio, params) {
|
|
12113
12115
|
const { fields = [], optionalFields = [] } = params.body;
|
|
12114
12116
|
return dynamicSelect$7$1({
|
|
12115
12117
|
records: {
|
|
@@ -12119,7 +12121,7 @@ function select$1P(luvio, params) {
|
|
|
12119
12121
|
kind: 'Fragment',
|
|
12120
12122
|
private: ['eTag', 'weakEtag'],
|
|
12121
12123
|
selections: buildSelectionFromFields$1(fields, optionalFields),
|
|
12122
|
-
version: VERSION$
|
|
12124
|
+
version: VERSION$1f$2
|
|
12123
12125
|
},
|
|
12124
12126
|
},
|
|
12125
12127
|
}, createPaginationParams$4$1(params));
|
|
@@ -12135,7 +12137,7 @@ function ingestSuccess$R(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
12135
12137
|
}
|
|
12136
12138
|
const snapshot = luvio.storeLookup({
|
|
12137
12139
|
recordId: key,
|
|
12138
|
-
node: select$
|
|
12140
|
+
node: select$1Q(luvio, resourceParams),
|
|
12139
12141
|
variables: {},
|
|
12140
12142
|
}, snapshotRefresh);
|
|
12141
12143
|
return snapshot;
|
|
@@ -12168,7 +12170,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
12168
12170
|
const storeMetadataParams = {
|
|
12169
12171
|
ttl: TTL$y,
|
|
12170
12172
|
namespace: keyPrefix$3,
|
|
12171
|
-
version: VERSION$
|
|
12173
|
+
version: VERSION$1d$2,
|
|
12172
12174
|
representationName: RepresentationType$U
|
|
12173
12175
|
};
|
|
12174
12176
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -12241,7 +12243,7 @@ function isErrorSnapshot$1(snapshot) {
|
|
|
12241
12243
|
return snapshot.state === 'Error';
|
|
12242
12244
|
}
|
|
12243
12245
|
|
|
12244
|
-
const VERSION$
|
|
12246
|
+
const VERSION$19$2 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
12245
12247
|
const RepresentationType$Q = 'ListViewSummaryRepresentation';
|
|
12246
12248
|
function keyBuilder$21(luvio, config) {
|
|
12247
12249
|
return keyPrefix$3 + '::' + RepresentationType$Q + ':' + (config.id === null ? '' : config.id);
|
|
@@ -12255,10 +12257,10 @@ function keyBuilderFromType$y(luvio, object) {
|
|
|
12255
12257
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
12256
12258
|
return input;
|
|
12257
12259
|
}
|
|
12258
|
-
const select$
|
|
12260
|
+
const select$1P = function ListViewSummaryRepresentationSelect() {
|
|
12259
12261
|
return {
|
|
12260
12262
|
kind: 'Fragment',
|
|
12261
|
-
version: VERSION$
|
|
12263
|
+
version: VERSION$19$2,
|
|
12262
12264
|
private: [],
|
|
12263
12265
|
selections: [
|
|
12264
12266
|
{
|
|
@@ -12280,7 +12282,7 @@ const select$1O = function ListViewSummaryRepresentationSelect() {
|
|
|
12280
12282
|
]
|
|
12281
12283
|
};
|
|
12282
12284
|
};
|
|
12283
|
-
function equals
|
|
12285
|
+
function equals$$(existing, incoming) {
|
|
12284
12286
|
const existing_apiName = existing.apiName;
|
|
12285
12287
|
const incoming_apiName = incoming.apiName;
|
|
12286
12288
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -12306,7 +12308,7 @@ function equals$_(existing, incoming) {
|
|
|
12306
12308
|
const ingest$J$2 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12307
12309
|
const key = keyBuilderFromType$y(luvio, input);
|
|
12308
12310
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
12309
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$
|
|
12311
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$19$2, RepresentationType$Q, equals$$);
|
|
12310
12312
|
return createLink$4(key);
|
|
12311
12313
|
};
|
|
12312
12314
|
function getTypeCacheKeys$Q$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -12319,7 +12321,7 @@ function getTypeCacheKeys$Q$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12319
12321
|
});
|
|
12320
12322
|
}
|
|
12321
12323
|
|
|
12322
|
-
const VERSION$
|
|
12324
|
+
const VERSION$18$2 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
12323
12325
|
const RepresentationType$P = 'ListViewSummaryCollectionRepresentation';
|
|
12324
12326
|
function keyBuilder$20(luvio, config) {
|
|
12325
12327
|
return keyPrefix$3 + '::' + RepresentationType$P + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
@@ -12351,12 +12353,12 @@ function normalize$I(input, existing, path, luvio, store, timestamp) {
|
|
|
12351
12353
|
}
|
|
12352
12354
|
return input;
|
|
12353
12355
|
}
|
|
12354
|
-
const select$
|
|
12356
|
+
const select$1O = function ListViewSummaryCollectionRepresentationSelect(paginationParams) {
|
|
12355
12357
|
return {
|
|
12356
12358
|
kind: 'Fragment',
|
|
12357
12359
|
reader: true,
|
|
12358
12360
|
synthetic: false,
|
|
12359
|
-
version: VERSION$
|
|
12361
|
+
version: VERSION$18$2,
|
|
12360
12362
|
read: (source, reader) => {
|
|
12361
12363
|
const sink = {};
|
|
12362
12364
|
if (paginationParams === undefined) {
|
|
@@ -12376,7 +12378,7 @@ const select$1N = function ListViewSummaryCollectionRepresentationSelect(paginat
|
|
|
12376
12378
|
reader.readSingleLink(i, {
|
|
12377
12379
|
name: 'lists',
|
|
12378
12380
|
kind: 'Link',
|
|
12379
|
-
fragment: select$
|
|
12381
|
+
fragment: select$1P()
|
|
12380
12382
|
}, itemsSource, allSink, i - startOffset);
|
|
12381
12383
|
if (reader.getIsDataMissing() === false) {
|
|
12382
12384
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -12444,7 +12446,7 @@ function getPageMetadata$1$1(paginationMetadata, paginationParams) {
|
|
|
12444
12446
|
metadataProperties.count = endOffset - startOffset;
|
|
12445
12447
|
return sink;
|
|
12446
12448
|
}
|
|
12447
|
-
function equals$
|
|
12449
|
+
function equals$_(existing, incoming) {
|
|
12448
12450
|
const existing_recentListsOnly = existing.recentListsOnly;
|
|
12449
12451
|
const incoming_recentListsOnly = incoming.recentListsOnly;
|
|
12450
12452
|
if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
|
|
@@ -12566,14 +12568,14 @@ const ingest$I$2 = function ListViewSummaryCollectionRepresentationIngest(input,
|
|
|
12566
12568
|
...existingRecord.lists.slice(nextOffset),
|
|
12567
12569
|
];
|
|
12568
12570
|
}
|
|
12569
|
-
if (existingRecord === undefined || equals$
|
|
12571
|
+
if (existingRecord === undefined || equals$_(existingRecord, incomingRecord) === false) {
|
|
12570
12572
|
luvio.storePublish(key, incomingRecord);
|
|
12571
12573
|
}
|
|
12572
12574
|
if (ttlToUse !== undefined) {
|
|
12573
12575
|
const storeMetadataParams = {
|
|
12574
12576
|
ttl: ttlToUse,
|
|
12575
12577
|
namespace: "UiApi",
|
|
12576
|
-
version: VERSION$
|
|
12578
|
+
version: VERSION$18$2,
|
|
12577
12579
|
representationName: RepresentationType$P,
|
|
12578
12580
|
ingestionTimestamp: timestamp,
|
|
12579
12581
|
};
|
|
@@ -12613,9 +12615,9 @@ function createPaginationParams$3$1(params) {
|
|
|
12613
12615
|
pageSize: queryParams.pageSize === undefined ? 20 : queryParams.pageSize
|
|
12614
12616
|
};
|
|
12615
12617
|
}
|
|
12616
|
-
function select$
|
|
12618
|
+
function select$1N(luvio, params) {
|
|
12617
12619
|
const paginationParams = createPaginationParams$3$1(params);
|
|
12618
|
-
return select$
|
|
12620
|
+
return select$1O(paginationParams);
|
|
12619
12621
|
}
|
|
12620
12622
|
function keyBuilder$1$(luvio, params) {
|
|
12621
12623
|
return keyBuilder$20(luvio, {
|
|
@@ -12633,7 +12635,7 @@ function ingestSuccess$Q(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
12633
12635
|
luvio.storeIngest(key, ingest$I$2, body);
|
|
12634
12636
|
const snapshot = luvio.storeLookup({
|
|
12635
12637
|
recordId: key,
|
|
12636
|
-
node: select$
|
|
12638
|
+
node: select$1N(luvio, resourceParams),
|
|
12637
12639
|
variables: {},
|
|
12638
12640
|
}, snapshotRefresh);
|
|
12639
12641
|
deepFreeze(snapshot.data);
|
|
@@ -12691,7 +12693,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
12691
12693
|
}
|
|
12692
12694
|
function adapterFragment$I(luvio, config) {
|
|
12693
12695
|
const resourceParams = createResourceParams$_(config);
|
|
12694
|
-
return select$
|
|
12696
|
+
return select$1N(luvio, resourceParams);
|
|
12695
12697
|
}
|
|
12696
12698
|
function onFetchResponseSuccess$M(luvio, config, resourceParams, response) {
|
|
12697
12699
|
const snapshot = ingestSuccess$Q(luvio, resourceParams, response, {
|
|
@@ -12759,7 +12761,7 @@ function getPaginationMetadata$3(luvio, resourceParams) {
|
|
|
12759
12761
|
recordId: key,
|
|
12760
12762
|
node: {
|
|
12761
12763
|
kind: 'Fragment',
|
|
12762
|
-
version: VERSION$
|
|
12764
|
+
version: VERSION$18$2,
|
|
12763
12765
|
private: [],
|
|
12764
12766
|
selections: [
|
|
12765
12767
|
{
|
|
@@ -12946,7 +12948,7 @@ function buildListUiFragment$1$1(config, fields) {
|
|
|
12946
12948
|
kind: 'Fragment',
|
|
12947
12949
|
private: ['eTag', 'weakEtag'],
|
|
12948
12950
|
selections: buildSelectionFromFields$1(...fields.getRecordSelectionFieldSets()),
|
|
12949
|
-
version: VERSION$
|
|
12951
|
+
version: VERSION$1f$2,
|
|
12950
12952
|
},
|
|
12951
12953
|
},
|
|
12952
12954
|
};
|
|
@@ -13265,7 +13267,7 @@ function buildListUiFragment$2(config, context, fields) {
|
|
|
13265
13267
|
kind: 'Fragment',
|
|
13266
13268
|
private: ['eTag', 'weakEtag'],
|
|
13267
13269
|
selections: buildSelectionFromFields$1(...fields.getRecordSelectionFieldSets()),
|
|
13268
|
-
version: VERSION$
|
|
13270
|
+
version: VERSION$1f$2,
|
|
13269
13271
|
},
|
|
13270
13272
|
},
|
|
13271
13273
|
};
|
|
@@ -13673,7 +13675,7 @@ const factory$h = (luvio) => {
|
|
|
13673
13675
|
};
|
|
13674
13676
|
|
|
13675
13677
|
const TTL$x = 900000;
|
|
13676
|
-
const VERSION$
|
|
13678
|
+
const VERSION$17$2 = "2302a71ca718abb60353eb88dedb1c12";
|
|
13677
13679
|
const RepresentationType$O = 'ObjectInfoRepresentation';
|
|
13678
13680
|
function keyBuilder$1Y(luvio, config) {
|
|
13679
13681
|
return keyPrefix$3 + '::' + RepresentationType$O + ':' + config.apiName;
|
|
@@ -13687,10 +13689,10 @@ function keyBuilderFromType$w(luvio, object) {
|
|
|
13687
13689
|
function normalize$H(input, existing, path, luvio, store, timestamp) {
|
|
13688
13690
|
return input;
|
|
13689
13691
|
}
|
|
13690
|
-
const select$
|
|
13692
|
+
const select$1M = function ObjectInfoRepresentationSelect() {
|
|
13691
13693
|
return {
|
|
13692
13694
|
kind: 'Fragment',
|
|
13693
|
-
version: VERSION$
|
|
13695
|
+
version: VERSION$17$2,
|
|
13694
13696
|
private: [
|
|
13695
13697
|
'eTag'
|
|
13696
13698
|
],
|
|
@@ -13800,7 +13802,7 @@ const select$1L = function ObjectInfoRepresentationSelect() {
|
|
|
13800
13802
|
]
|
|
13801
13803
|
};
|
|
13802
13804
|
};
|
|
13803
|
-
function equals$
|
|
13805
|
+
function equals$Z(existing, incoming) {
|
|
13804
13806
|
if (existing.eTag !== incoming.eTag) {
|
|
13805
13807
|
return false;
|
|
13806
13808
|
}
|
|
@@ -13809,7 +13811,7 @@ function equals$Y(existing, incoming) {
|
|
|
13809
13811
|
const ingest$H$2 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13810
13812
|
const key = keyBuilderFromType$w(luvio, input);
|
|
13811
13813
|
const ttlToUse = TTL$x;
|
|
13812
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$
|
|
13814
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$17$2, RepresentationType$O, equals$Z);
|
|
13813
13815
|
return createLink$4(key);
|
|
13814
13816
|
};
|
|
13815
13817
|
function getTypeCacheKeys$O$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -13822,8 +13824,8 @@ function getTypeCacheKeys$O$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13822
13824
|
});
|
|
13823
13825
|
}
|
|
13824
13826
|
|
|
13825
|
-
function select$
|
|
13826
|
-
return select$
|
|
13827
|
+
function select$1L(luvio, params) {
|
|
13828
|
+
return select$1M();
|
|
13827
13829
|
}
|
|
13828
13830
|
function keyBuilder$1X(luvio, params) {
|
|
13829
13831
|
return keyBuilder$1Y(luvio, {
|
|
@@ -13839,7 +13841,7 @@ function ingestSuccess$P(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
13839
13841
|
luvio.storeIngest(key, ingest$H$2, body);
|
|
13840
13842
|
const snapshot = luvio.storeLookup({
|
|
13841
13843
|
recordId: key,
|
|
13842
|
-
node: select$
|
|
13844
|
+
node: select$1L(),
|
|
13843
13845
|
variables: {},
|
|
13844
13846
|
}, snapshotRefresh);
|
|
13845
13847
|
deepFreeze(snapshot.data);
|
|
@@ -13851,7 +13853,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
13851
13853
|
const storeMetadataParams = {
|
|
13852
13854
|
ttl: TTL$x,
|
|
13853
13855
|
namespace: keyPrefix$3,
|
|
13854
|
-
version: VERSION$
|
|
13856
|
+
version: VERSION$17$2,
|
|
13855
13857
|
representationName: RepresentationType$O
|
|
13856
13858
|
};
|
|
13857
13859
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -13899,7 +13901,7 @@ function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
|
13899
13901
|
}
|
|
13900
13902
|
function adapterFragment$H(luvio, config) {
|
|
13901
13903
|
createResourceParams$Y(config);
|
|
13902
|
-
return select$
|
|
13904
|
+
return select$1L();
|
|
13903
13905
|
}
|
|
13904
13906
|
function onFetchResponseSuccess$L(luvio, config, resourceParams, response) {
|
|
13905
13907
|
const snapshot = ingestSuccess$P(luvio, resourceParams, response, {
|
|
@@ -13966,7 +13968,7 @@ var DiscriminatorValues$5$1;
|
|
|
13966
13968
|
})(DiscriminatorValues$5$1 || (DiscriminatorValues$5$1 = {}));
|
|
13967
13969
|
|
|
13968
13970
|
const TTL$w = 900000;
|
|
13969
|
-
const VERSION$
|
|
13971
|
+
const VERSION$16$2 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
13970
13972
|
const RepresentationType$N = 'RecordLayoutRepresentation';
|
|
13971
13973
|
function keyBuilder$1V(luvio, config) {
|
|
13972
13974
|
return keyPrefix$3 + '::' + RepresentationType$N + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
@@ -13983,10 +13985,10 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
13983
13985
|
function normalize$G(input, existing, path, luvio, store, timestamp) {
|
|
13984
13986
|
return input;
|
|
13985
13987
|
}
|
|
13986
|
-
const select$
|
|
13988
|
+
const select$1K$1 = function RecordLayoutRepresentationSelect() {
|
|
13987
13989
|
return {
|
|
13988
13990
|
kind: 'Fragment',
|
|
13989
|
-
version: VERSION$
|
|
13991
|
+
version: VERSION$16$2,
|
|
13990
13992
|
private: [
|
|
13991
13993
|
'eTag'
|
|
13992
13994
|
],
|
|
@@ -14024,7 +14026,7 @@ const select$1J$1 = function RecordLayoutRepresentationSelect() {
|
|
|
14024
14026
|
]
|
|
14025
14027
|
};
|
|
14026
14028
|
};
|
|
14027
|
-
function equals$
|
|
14029
|
+
function equals$Y(existing, incoming) {
|
|
14028
14030
|
if (existing.eTag !== incoming.eTag) {
|
|
14029
14031
|
return false;
|
|
14030
14032
|
}
|
|
@@ -14033,7 +14035,7 @@ function equals$X(existing, incoming) {
|
|
|
14033
14035
|
const ingest$G$2 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14034
14036
|
const key = keyBuilderFromType$v(luvio, input);
|
|
14035
14037
|
const ttlToUse = TTL$w;
|
|
14036
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$
|
|
14038
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$16$2, RepresentationType$N, equals$Y);
|
|
14037
14039
|
return createLink$4(key);
|
|
14038
14040
|
};
|
|
14039
14041
|
function getTypeCacheKeys$N$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -14069,7 +14071,7 @@ function getRecordId18Array$1(value) {
|
|
|
14069
14071
|
}
|
|
14070
14072
|
|
|
14071
14073
|
const TTL$v = 900000;
|
|
14072
|
-
const VERSION$
|
|
14074
|
+
const VERSION$15$2 = "12123f1aca1b5a48303b1d099f9f5629";
|
|
14073
14075
|
const RepresentationType$M = 'RecordLayoutUserStateRepresentation';
|
|
14074
14076
|
function keyBuilder$1U(luvio, config) {
|
|
14075
14077
|
return keyPrefix$3 + '::' + RepresentationType$M + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
@@ -14086,10 +14088,10 @@ function keyBuilderFromType$u(luvio, object) {
|
|
|
14086
14088
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
14087
14089
|
return input;
|
|
14088
14090
|
}
|
|
14089
|
-
const select$
|
|
14091
|
+
const select$1J$1 = function RecordLayoutUserStateRepresentationSelect() {
|
|
14090
14092
|
return {
|
|
14091
14093
|
kind: 'Fragment',
|
|
14092
|
-
version: VERSION$
|
|
14094
|
+
version: VERSION$15$2,
|
|
14093
14095
|
private: [
|
|
14094
14096
|
'apiName',
|
|
14095
14097
|
'recordTypeId',
|
|
@@ -14109,7 +14111,7 @@ const select$1I$1 = function RecordLayoutUserStateRepresentationSelect() {
|
|
|
14109
14111
|
]
|
|
14110
14112
|
};
|
|
14111
14113
|
};
|
|
14112
|
-
function equals$
|
|
14114
|
+
function equals$X(existing, incoming) {
|
|
14113
14115
|
if (JSONStringify$3(incoming) !== JSONStringify$3(existing)) {
|
|
14114
14116
|
return false;
|
|
14115
14117
|
}
|
|
@@ -14118,7 +14120,7 @@ function equals$W(existing, incoming) {
|
|
|
14118
14120
|
const ingest$F$2 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14119
14121
|
const key = keyBuilderFromType$u(luvio, input);
|
|
14120
14122
|
const ttlToUse = TTL$v;
|
|
14121
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$
|
|
14123
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$15$2, RepresentationType$M, equals$X);
|
|
14122
14124
|
return createLink$4(key);
|
|
14123
14125
|
};
|
|
14124
14126
|
function getTypeCacheKeys$M$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -14132,7 +14134,7 @@ function getTypeCacheKeys$M$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14132
14134
|
}
|
|
14133
14135
|
|
|
14134
14136
|
const TTL$u = 900000;
|
|
14135
|
-
const VERSION$
|
|
14137
|
+
const VERSION$14$2 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
14136
14138
|
const RepresentationType$L = 'RecordUiRepresentation';
|
|
14137
14139
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
14138
14140
|
const input_layoutUserStates = input.layoutUserStates;
|
|
@@ -14234,7 +14236,7 @@ function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
|
14234
14236
|
}
|
|
14235
14237
|
return input;
|
|
14236
14238
|
}
|
|
14237
|
-
function equals$
|
|
14239
|
+
function equals$W(existing, incoming) {
|
|
14238
14240
|
const existing_eTag = existing.eTag;
|
|
14239
14241
|
const incoming_eTag = incoming.eTag;
|
|
14240
14242
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -14300,7 +14302,7 @@ function equals$V(existing, incoming) {
|
|
|
14300
14302
|
const ingest$E$2 = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14301
14303
|
const key = path.fullPath;
|
|
14302
14304
|
const ttlToUse = TTL$u;
|
|
14303
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$
|
|
14305
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$14$2, RepresentationType$L, equals$W);
|
|
14304
14306
|
return createLink$4(key);
|
|
14305
14307
|
};
|
|
14306
14308
|
|
|
@@ -14345,9 +14347,9 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
|
14345
14347
|
return config;
|
|
14346
14348
|
}
|
|
14347
14349
|
|
|
14348
|
-
const layoutSelections$2$1 = select$
|
|
14349
|
-
const objectInfoPathSelection$1 = select$
|
|
14350
|
-
const layoutUserStatePathSelector$1 = select$
|
|
14350
|
+
const layoutSelections$2$1 = select$1K$1();
|
|
14351
|
+
const objectInfoPathSelection$1 = select$1M();
|
|
14352
|
+
const layoutUserStatePathSelector$1 = select$1J$1();
|
|
14351
14353
|
function buildRecordUiSelector$1(recordDefs, layoutTypes, modes, recordOptionalFields) {
|
|
14352
14354
|
const layoutTypeSelections = [];
|
|
14353
14355
|
for (let i = 0, len = layoutTypes.length; i < len; i += 1) {
|
|
@@ -14395,7 +14397,7 @@ function buildRecordUiSelector$1(recordDefs, layoutTypes, modes, recordOptionalF
|
|
|
14395
14397
|
return {
|
|
14396
14398
|
kind: 'Fragment',
|
|
14397
14399
|
private: ['eTag'],
|
|
14398
|
-
version: VERSION$
|
|
14400
|
+
version: VERSION$14$2,
|
|
14399
14401
|
selections: [
|
|
14400
14402
|
{
|
|
14401
14403
|
kind: 'Link',
|
|
@@ -14880,7 +14882,7 @@ var LayoutMode$3;
|
|
|
14880
14882
|
})(LayoutMode$3 || (LayoutMode$3 = {}));
|
|
14881
14883
|
|
|
14882
14884
|
const DEFAULT_MODE$1 = LayoutMode$3.View;
|
|
14883
|
-
const layoutSelections$1$1 = select$
|
|
14885
|
+
const layoutSelections$1$1 = select$1K$1();
|
|
14884
14886
|
function buildSnapshotRefresh$3$1(luvio, config) {
|
|
14885
14887
|
return {
|
|
14886
14888
|
config,
|
|
@@ -15101,7 +15103,7 @@ function buildRecordLayoutCachedSnapshot$1(context, storeLookup) {
|
|
|
15101
15103
|
kind: 'Fragment',
|
|
15102
15104
|
private: [],
|
|
15103
15105
|
selections: recordLayoutFragmentSelector$1,
|
|
15104
|
-
version: VERSION$
|
|
15106
|
+
version: VERSION$1f$2,
|
|
15105
15107
|
},
|
|
15106
15108
|
variables: {},
|
|
15107
15109
|
});
|
|
@@ -15460,7 +15462,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
15460
15462
|
};
|
|
15461
15463
|
};
|
|
15462
15464
|
|
|
15463
|
-
const VERSION$
|
|
15465
|
+
const VERSION$13$2 = "4aa37812ee37c752a099b29026217c85";
|
|
15464
15466
|
const RepresentationType$K = 'ObjectInfoDirectoryEntryRepresentation';
|
|
15465
15467
|
function keyBuilder$1S(luvio, config) {
|
|
15466
15468
|
return keyPrefix$3 + '::' + RepresentationType$K + ':' + config.objectInfoUrl;
|
|
@@ -15474,10 +15476,10 @@ function keyBuilderFromType$t(luvio, object) {
|
|
|
15474
15476
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
15475
15477
|
return input;
|
|
15476
15478
|
}
|
|
15477
|
-
const select$
|
|
15479
|
+
const select$1I$1 = function ObjectInfoDirectoryEntryRepresentationSelect() {
|
|
15478
15480
|
return {
|
|
15479
15481
|
kind: 'Fragment',
|
|
15480
|
-
version: VERSION$
|
|
15482
|
+
version: VERSION$13$2,
|
|
15481
15483
|
private: [],
|
|
15482
15484
|
selections: [
|
|
15483
15485
|
{
|
|
@@ -15508,7 +15510,7 @@ const select$1H$1 = function ObjectInfoDirectoryEntryRepresentationSelect() {
|
|
|
15508
15510
|
]
|
|
15509
15511
|
};
|
|
15510
15512
|
};
|
|
15511
|
-
function equals$
|
|
15513
|
+
function equals$V(existing, incoming) {
|
|
15512
15514
|
const existing_apiName = existing.apiName;
|
|
15513
15515
|
const incoming_apiName = incoming.apiName;
|
|
15514
15516
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -15549,7 +15551,7 @@ function equals$U(existing, incoming) {
|
|
|
15549
15551
|
const ingest$D$2 = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15550
15552
|
const key = keyBuilderFromType$t(luvio, input);
|
|
15551
15553
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
15552
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$
|
|
15554
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$13$2, RepresentationType$K, equals$V);
|
|
15553
15555
|
return createLink$4(key);
|
|
15554
15556
|
};
|
|
15555
15557
|
function getTypeCacheKeys$L$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -15562,7 +15564,7 @@ function getTypeCacheKeys$L$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15562
15564
|
});
|
|
15563
15565
|
}
|
|
15564
15566
|
|
|
15565
|
-
const VERSION$
|
|
15567
|
+
const VERSION$12$2 = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
15566
15568
|
const RepresentationType$J = 'ObjectInfoDirectoryRepresentation';
|
|
15567
15569
|
function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
15568
15570
|
const input_objects = input.objects;
|
|
@@ -15586,22 +15588,22 @@ function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
|
15586
15588
|
}
|
|
15587
15589
|
return input;
|
|
15588
15590
|
}
|
|
15589
|
-
const select$
|
|
15591
|
+
const select$1H$1 = function ObjectInfoDirectoryRepresentationSelect() {
|
|
15590
15592
|
return {
|
|
15591
15593
|
kind: 'Fragment',
|
|
15592
|
-
version: VERSION$
|
|
15594
|
+
version: VERSION$12$2,
|
|
15593
15595
|
private: [],
|
|
15594
15596
|
selections: [
|
|
15595
15597
|
{
|
|
15596
15598
|
name: 'objects',
|
|
15597
15599
|
kind: 'Link',
|
|
15598
15600
|
map: true,
|
|
15599
|
-
fragment: select$
|
|
15601
|
+
fragment: select$1I$1()
|
|
15600
15602
|
}
|
|
15601
15603
|
]
|
|
15602
15604
|
};
|
|
15603
15605
|
};
|
|
15604
|
-
function equals$
|
|
15606
|
+
function equals$U(existing, incoming) {
|
|
15605
15607
|
const existing_objects = existing.objects;
|
|
15606
15608
|
const incoming_objects = incoming.objects;
|
|
15607
15609
|
const equals_objects_props = equalsObject$2(existing_objects, incoming_objects, (existing_objects_prop, incoming_objects_prop) => {
|
|
@@ -15617,7 +15619,7 @@ function equals$T(existing, incoming) {
|
|
|
15617
15619
|
const ingest$C$2 = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15618
15620
|
const key = path.fullPath;
|
|
15619
15621
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
15620
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$
|
|
15622
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$12$2, RepresentationType$J, equals$U);
|
|
15621
15623
|
return createLink$4(key);
|
|
15622
15624
|
};
|
|
15623
15625
|
function getTypeCacheKeys$K$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -15637,7 +15639,7 @@ function getTypeCacheKeys$K$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15637
15639
|
}
|
|
15638
15640
|
}
|
|
15639
15641
|
|
|
15640
|
-
const VERSION$
|
|
15642
|
+
const VERSION$11$2 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
15641
15643
|
const RepresentationType$I = 'QuickActionExecutionRepresentation';
|
|
15642
15644
|
function keyBuilder$1R(luvio, config) {
|
|
15643
15645
|
return keyPrefix$3 + '::' + RepresentationType$I + ':' + config.id;
|
|
@@ -15651,10 +15653,10 @@ function keyBuilderFromType$s(luvio, object) {
|
|
|
15651
15653
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
15652
15654
|
return input;
|
|
15653
15655
|
}
|
|
15654
|
-
const select$
|
|
15656
|
+
const select$1G$1 = function QuickActionExecutionRepresentationSelect() {
|
|
15655
15657
|
return {
|
|
15656
15658
|
kind: 'Fragment',
|
|
15657
|
-
version: VERSION$
|
|
15659
|
+
version: VERSION$11$2,
|
|
15658
15660
|
private: [
|
|
15659
15661
|
'eTag'
|
|
15660
15662
|
],
|
|
@@ -15686,7 +15688,7 @@ const select$1F$1 = function QuickActionExecutionRepresentationSelect() {
|
|
|
15686
15688
|
]
|
|
15687
15689
|
};
|
|
15688
15690
|
};
|
|
15689
|
-
function equals$
|
|
15691
|
+
function equals$T(existing, incoming) {
|
|
15690
15692
|
const existing_isCreated = existing.isCreated;
|
|
15691
15693
|
const incoming_isCreated = incoming.isCreated;
|
|
15692
15694
|
if (!(existing_isCreated === incoming_isCreated)) {
|
|
@@ -15727,7 +15729,7 @@ function equals$S(existing, incoming) {
|
|
|
15727
15729
|
const ingest$B$2 = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15728
15730
|
const key = keyBuilderFromType$s(luvio, input);
|
|
15729
15731
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
15730
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$
|
|
15732
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$11$2, RepresentationType$I, equals$T);
|
|
15731
15733
|
return createLink$4(key);
|
|
15732
15734
|
};
|
|
15733
15735
|
function getTypeCacheKeys$J$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -15741,7 +15743,7 @@ function getTypeCacheKeys$J$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15741
15743
|
}
|
|
15742
15744
|
|
|
15743
15745
|
const TTL$t = 900000;
|
|
15744
|
-
const VERSION
|
|
15746
|
+
const VERSION$10$2 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
15745
15747
|
const RepresentationType$H = 'QuickActionDefaultsRepresentation';
|
|
15746
15748
|
function keyBuilder$1Q(luvio, config) {
|
|
15747
15749
|
return keyPrefix$3 + '::' + RepresentationType$H + ':' + config.actionApiName;
|
|
@@ -15781,11 +15783,11 @@ const dynamicSelect$5$1 = function dynamicQuickActionDefaultsRepresentationSelec
|
|
|
15781
15783
|
name: 'fields',
|
|
15782
15784
|
kind: 'Link',
|
|
15783
15785
|
map: true,
|
|
15784
|
-
fragment: select$
|
|
15786
|
+
fragment: select$1W()
|
|
15785
15787
|
} : params.fields;
|
|
15786
15788
|
return {
|
|
15787
15789
|
kind: 'Fragment',
|
|
15788
|
-
version: VERSION
|
|
15790
|
+
version: VERSION$10$2,
|
|
15789
15791
|
private: [
|
|
15790
15792
|
'eTag'
|
|
15791
15793
|
],
|
|
@@ -15802,7 +15804,7 @@ const dynamicSelect$5$1 = function dynamicQuickActionDefaultsRepresentationSelec
|
|
|
15802
15804
|
]
|
|
15803
15805
|
};
|
|
15804
15806
|
};
|
|
15805
|
-
function equals$
|
|
15807
|
+
function equals$S(existing, incoming) {
|
|
15806
15808
|
const existing_actionApiName = existing.actionApiName;
|
|
15807
15809
|
const incoming_actionApiName = incoming.actionApiName;
|
|
15808
15810
|
if (!(existing_actionApiName === incoming_actionApiName)) {
|
|
@@ -15875,7 +15877,7 @@ function coerceFormFactor$1(form) {
|
|
|
15875
15877
|
return undefined;
|
|
15876
15878
|
}
|
|
15877
15879
|
|
|
15878
|
-
const VERSION
|
|
15880
|
+
const VERSION$$$2 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
15879
15881
|
const RepresentationType$G = 'PlatformActionRepresentation';
|
|
15880
15882
|
function keyBuilder$1P$1(luvio, config) {
|
|
15881
15883
|
return keyPrefix$3 + '::' + RepresentationType$G + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
@@ -15891,10 +15893,10 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
15891
15893
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
15892
15894
|
return input;
|
|
15893
15895
|
}
|
|
15894
|
-
const select$
|
|
15896
|
+
const select$1F$1 = function PlatformActionRepresentationSelect() {
|
|
15895
15897
|
return {
|
|
15896
15898
|
kind: 'Fragment',
|
|
15897
|
-
version: VERSION
|
|
15899
|
+
version: VERSION$$$2,
|
|
15898
15900
|
private: [
|
|
15899
15901
|
'id'
|
|
15900
15902
|
],
|
|
@@ -15974,7 +15976,7 @@ const select$1E$1 = function PlatformActionRepresentationSelect() {
|
|
|
15974
15976
|
]
|
|
15975
15977
|
};
|
|
15976
15978
|
};
|
|
15977
|
-
function equals$
|
|
15979
|
+
function equals$R(existing, incoming) {
|
|
15978
15980
|
const existing_actionListContext = existing.actionListContext;
|
|
15979
15981
|
const incoming_actionListContext = incoming.actionListContext;
|
|
15980
15982
|
if (!(existing_actionListContext === incoming_actionListContext)) {
|
|
@@ -16075,7 +16077,7 @@ function equals$Q(existing, incoming) {
|
|
|
16075
16077
|
const ingest$A$2 = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16076
16078
|
const key = keyBuilderFromType$q(luvio, input);
|
|
16077
16079
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
16078
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION
|
|
16080
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$$$2, RepresentationType$G, equals$R);
|
|
16079
16081
|
return createLink$4(key);
|
|
16080
16082
|
};
|
|
16081
16083
|
function getTypeCacheKeys$H$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16088,7 +16090,7 @@ function getTypeCacheKeys$H$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16088
16090
|
});
|
|
16089
16091
|
}
|
|
16090
16092
|
|
|
16091
|
-
const VERSION$
|
|
16093
|
+
const VERSION$_$2 = "378d506f563a4bd724b322d440df33d1";
|
|
16092
16094
|
const RepresentationType$F = 'EntityActionRepresentation';
|
|
16093
16095
|
function keyBuilder$1O$1(luvio, config) {
|
|
16094
16096
|
return keyPrefix$3 + '::' + RepresentationType$F + ':' + config.url;
|
|
@@ -16118,10 +16120,10 @@ function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
|
16118
16120
|
}
|
|
16119
16121
|
return input;
|
|
16120
16122
|
}
|
|
16121
|
-
const select$
|
|
16123
|
+
const select$1E$1 = function EntityActionRepresentationSelect() {
|
|
16122
16124
|
return {
|
|
16123
16125
|
kind: 'Fragment',
|
|
16124
|
-
version: VERSION$
|
|
16126
|
+
version: VERSION$_$2,
|
|
16125
16127
|
private: [
|
|
16126
16128
|
'links',
|
|
16127
16129
|
'url'
|
|
@@ -16131,12 +16133,12 @@ const select$1D$1 = function EntityActionRepresentationSelect() {
|
|
|
16131
16133
|
name: 'actions',
|
|
16132
16134
|
kind: 'Link',
|
|
16133
16135
|
plural: true,
|
|
16134
|
-
fragment: select$
|
|
16136
|
+
fragment: select$1F$1()
|
|
16135
16137
|
}
|
|
16136
16138
|
]
|
|
16137
16139
|
};
|
|
16138
16140
|
};
|
|
16139
|
-
function equals$
|
|
16141
|
+
function equals$Q(existing, incoming) {
|
|
16140
16142
|
const existing_url = existing.url;
|
|
16141
16143
|
const incoming_url = incoming.url;
|
|
16142
16144
|
if (!(existing_url === incoming_url)) {
|
|
@@ -16167,7 +16169,7 @@ function equals$P(existing, incoming) {
|
|
|
16167
16169
|
const ingest$z$2 = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16168
16170
|
const key = keyBuilderFromType$p(luvio, input);
|
|
16169
16171
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
16170
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$
|
|
16172
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$_$2, RepresentationType$F, equals$Q);
|
|
16171
16173
|
return createLink$4(key);
|
|
16172
16174
|
};
|
|
16173
16175
|
function getTypeCacheKeys$G$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16185,7 +16187,7 @@ function getTypeCacheKeys$G$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16185
16187
|
}
|
|
16186
16188
|
|
|
16187
16189
|
const TTL$s = 300000;
|
|
16188
|
-
const VERSION$
|
|
16190
|
+
const VERSION$Z$2 = "e485d96c1402a9ca2f56e56485af0216";
|
|
16189
16191
|
const RepresentationType$E = 'ActionRepresentation';
|
|
16190
16192
|
function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
16191
16193
|
const input_actions = input.actions;
|
|
@@ -16209,10 +16211,10 @@ function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
|
16209
16211
|
}
|
|
16210
16212
|
return input;
|
|
16211
16213
|
}
|
|
16212
|
-
const select$
|
|
16214
|
+
const select$1D$1 = function ActionRepresentationSelect() {
|
|
16213
16215
|
return {
|
|
16214
16216
|
kind: 'Fragment',
|
|
16215
|
-
version: VERSION$
|
|
16217
|
+
version: VERSION$Z$2,
|
|
16216
16218
|
private: [
|
|
16217
16219
|
'eTag',
|
|
16218
16220
|
'url'
|
|
@@ -16222,12 +16224,12 @@ const select$1C$1 = function ActionRepresentationSelect() {
|
|
|
16222
16224
|
name: 'actions',
|
|
16223
16225
|
kind: 'Link',
|
|
16224
16226
|
map: true,
|
|
16225
|
-
fragment: select$
|
|
16227
|
+
fragment: select$1E$1()
|
|
16226
16228
|
}
|
|
16227
16229
|
]
|
|
16228
16230
|
};
|
|
16229
16231
|
};
|
|
16230
|
-
function equals$
|
|
16232
|
+
function equals$P(existing, incoming) {
|
|
16231
16233
|
const existing_eTag = existing.eTag;
|
|
16232
16234
|
const incoming_eTag = incoming.eTag;
|
|
16233
16235
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -16253,7 +16255,7 @@ function equals$O(existing, incoming) {
|
|
|
16253
16255
|
const ingest$y$2 = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16254
16256
|
const key = path.fullPath;
|
|
16255
16257
|
const ttlToUse = TTL$s;
|
|
16256
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$
|
|
16258
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$Z$2, RepresentationType$E, equals$P);
|
|
16257
16259
|
return createLink$4(key);
|
|
16258
16260
|
};
|
|
16259
16261
|
function getTypeCacheKeys$F$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16273,8 +16275,8 @@ function getTypeCacheKeys$F$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16273
16275
|
}
|
|
16274
16276
|
}
|
|
16275
16277
|
|
|
16276
|
-
function select$
|
|
16277
|
-
return select$
|
|
16278
|
+
function select$1C$1(luvio, params) {
|
|
16279
|
+
return select$1D$1();
|
|
16278
16280
|
}
|
|
16279
16281
|
function keyBuilder$1N$1(luvio, params) {
|
|
16280
16282
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
@@ -16288,7 +16290,7 @@ function ingestSuccess$O(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16288
16290
|
luvio.storeIngest(key, ingest$y$2, body);
|
|
16289
16291
|
const snapshot = luvio.storeLookup({
|
|
16290
16292
|
recordId: key,
|
|
16291
|
-
node: select$
|
|
16293
|
+
node: select$1C$1(),
|
|
16292
16294
|
variables: {},
|
|
16293
16295
|
}, snapshotRefresh);
|
|
16294
16296
|
deepFreeze(snapshot.data);
|
|
@@ -16300,7 +16302,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
16300
16302
|
const storeMetadataParams = {
|
|
16301
16303
|
ttl: TTL$s,
|
|
16302
16304
|
namespace: keyPrefix$3,
|
|
16303
|
-
version: VERSION$
|
|
16305
|
+
version: VERSION$Z$2,
|
|
16304
16306
|
representationName: RepresentationType$E
|
|
16305
16307
|
};
|
|
16306
16308
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -16352,7 +16354,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
16352
16354
|
}
|
|
16353
16355
|
function adapterFragment$G(luvio, config) {
|
|
16354
16356
|
createResourceParams$X(config);
|
|
16355
|
-
return select$
|
|
16357
|
+
return select$1C$1();
|
|
16356
16358
|
}
|
|
16357
16359
|
function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
|
|
16358
16360
|
const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
|
|
@@ -16409,7 +16411,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
16409
16411
|
};
|
|
16410
16412
|
|
|
16411
16413
|
const TTL$r = 900000;
|
|
16412
|
-
const VERSION$
|
|
16414
|
+
const VERSION$Y$2 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
16413
16415
|
const RepresentationType$D = 'QuickActionLayoutRepresentation';
|
|
16414
16416
|
function keyBuilder$1L$1(luvio, config) {
|
|
16415
16417
|
return keyPrefix$3 + '::' + RepresentationType$D + ':' + config.actionApiName;
|
|
@@ -16423,10 +16425,10 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
16423
16425
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
16424
16426
|
return input;
|
|
16425
16427
|
}
|
|
16426
|
-
const select$
|
|
16428
|
+
const select$1B$1 = function QuickActionLayoutRepresentationSelect() {
|
|
16427
16429
|
return {
|
|
16428
16430
|
kind: 'Fragment',
|
|
16429
|
-
version: VERSION$
|
|
16431
|
+
version: VERSION$Y$2,
|
|
16430
16432
|
private: [
|
|
16431
16433
|
'eTag'
|
|
16432
16434
|
],
|
|
@@ -16443,7 +16445,7 @@ const select$1A$1 = function QuickActionLayoutRepresentationSelect() {
|
|
|
16443
16445
|
]
|
|
16444
16446
|
};
|
|
16445
16447
|
};
|
|
16446
|
-
function equals$
|
|
16448
|
+
function equals$O(existing, incoming) {
|
|
16447
16449
|
if (existing.eTag !== incoming.eTag) {
|
|
16448
16450
|
return false;
|
|
16449
16451
|
}
|
|
@@ -16452,7 +16454,7 @@ function equals$N(existing, incoming) {
|
|
|
16452
16454
|
const ingest$x$2 = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16453
16455
|
const key = keyBuilderFromType$o(luvio, input);
|
|
16454
16456
|
const ttlToUse = TTL$r;
|
|
16455
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$
|
|
16457
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$Y$2, RepresentationType$D, equals$O);
|
|
16456
16458
|
return createLink$4(key);
|
|
16457
16459
|
};
|
|
16458
16460
|
function getTypeCacheKeys$E$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16465,8 +16467,8 @@ function getTypeCacheKeys$E$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16465
16467
|
});
|
|
16466
16468
|
}
|
|
16467
16469
|
|
|
16468
|
-
function select$
|
|
16469
|
-
return select$
|
|
16470
|
+
function select$1A$1(luvio, params) {
|
|
16471
|
+
return select$1B$1();
|
|
16470
16472
|
}
|
|
16471
16473
|
function keyBuilder$1K$1(luvio, params) {
|
|
16472
16474
|
return keyBuilder$1L$1(luvio, {
|
|
@@ -16482,7 +16484,7 @@ function ingestSuccess$N(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16482
16484
|
luvio.storeIngest(key, ingest$x$2, body);
|
|
16483
16485
|
const snapshot = luvio.storeLookup({
|
|
16484
16486
|
recordId: key,
|
|
16485
|
-
node: select$
|
|
16487
|
+
node: select$1A$1(),
|
|
16486
16488
|
variables: {},
|
|
16487
16489
|
}, snapshotRefresh);
|
|
16488
16490
|
deepFreeze(snapshot.data);
|
|
@@ -16494,7 +16496,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
16494
16496
|
const storeMetadataParams = {
|
|
16495
16497
|
ttl: TTL$r,
|
|
16496
16498
|
namespace: keyPrefix$3,
|
|
16497
|
-
version: VERSION$
|
|
16499
|
+
version: VERSION$Y$2,
|
|
16498
16500
|
representationName: RepresentationType$D
|
|
16499
16501
|
};
|
|
16500
16502
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -16543,7 +16545,7 @@ function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
|
16543
16545
|
}
|
|
16544
16546
|
function adapterFragment$F(luvio, config) {
|
|
16545
16547
|
createResourceParams$W(config);
|
|
16546
|
-
return select$
|
|
16548
|
+
return select$1A$1();
|
|
16547
16549
|
}
|
|
16548
16550
|
function onFetchResponseSuccess$I(luvio, config, resourceParams, response) {
|
|
16549
16551
|
const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
|
|
@@ -16631,8 +16633,8 @@ function getSortedObjectApiNamesArray(value) {
|
|
|
16631
16633
|
return unsortedArray === undefined ? undefined : unsortedArray.sort();
|
|
16632
16634
|
}
|
|
16633
16635
|
|
|
16634
|
-
function select$
|
|
16635
|
-
return select$
|
|
16636
|
+
function select$1z$1(luvio, params) {
|
|
16637
|
+
return select$1D$1();
|
|
16636
16638
|
}
|
|
16637
16639
|
function keyBuilder$1I$1(luvio, params) {
|
|
16638
16640
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
@@ -16646,7 +16648,7 @@ function ingestSuccess$M(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16646
16648
|
luvio.storeIngest(key, ingest$y$2, body);
|
|
16647
16649
|
const snapshot = luvio.storeLookup({
|
|
16648
16650
|
recordId: key,
|
|
16649
|
-
node: select$
|
|
16651
|
+
node: select$1z$1(),
|
|
16650
16652
|
variables: {},
|
|
16651
16653
|
}, snapshotRefresh);
|
|
16652
16654
|
deepFreeze(snapshot.data);
|
|
@@ -16658,7 +16660,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
16658
16660
|
const storeMetadataParams = {
|
|
16659
16661
|
ttl: TTL$s,
|
|
16660
16662
|
namespace: keyPrefix$3,
|
|
16661
|
-
version: VERSION$
|
|
16663
|
+
version: VERSION$Z$2,
|
|
16662
16664
|
representationName: RepresentationType$E
|
|
16663
16665
|
};
|
|
16664
16666
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -16709,7 +16711,7 @@ function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
|
16709
16711
|
}
|
|
16710
16712
|
function adapterFragment$E(luvio, config) {
|
|
16711
16713
|
createResourceParams$V(config);
|
|
16712
|
-
return select$
|
|
16714
|
+
return select$1z$1();
|
|
16713
16715
|
}
|
|
16714
16716
|
function onFetchResponseSuccess$H(luvio, config, resourceParams, response) {
|
|
16715
16717
|
const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
|
|
@@ -16765,8 +16767,8 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
16765
16767
|
buildCachedSnapshotCachePolicy$L, buildNetworkSnapshotCachePolicy$M);
|
|
16766
16768
|
};
|
|
16767
16769
|
|
|
16768
|
-
function select$
|
|
16769
|
-
return select$
|
|
16770
|
+
function select$1y$1(luvio, params) {
|
|
16771
|
+
return select$1D$1();
|
|
16770
16772
|
}
|
|
16771
16773
|
function keyBuilder$1G$1(luvio, params) {
|
|
16772
16774
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -16780,7 +16782,7 @@ function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16780
16782
|
luvio.storeIngest(key, ingest$y$2, body);
|
|
16781
16783
|
const snapshot = luvio.storeLookup({
|
|
16782
16784
|
recordId: key,
|
|
16783
|
-
node: select$
|
|
16785
|
+
node: select$1y$1(),
|
|
16784
16786
|
variables: {},
|
|
16785
16787
|
}, snapshotRefresh);
|
|
16786
16788
|
deepFreeze(snapshot.data);
|
|
@@ -16792,7 +16794,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
16792
16794
|
const storeMetadataParams = {
|
|
16793
16795
|
ttl: TTL$s,
|
|
16794
16796
|
namespace: keyPrefix$3,
|
|
16795
|
-
version: VERSION$
|
|
16797
|
+
version: VERSION$Z$2,
|
|
16796
16798
|
representationName: RepresentationType$E
|
|
16797
16799
|
};
|
|
16798
16800
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -16843,7 +16845,7 @@ function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
|
16843
16845
|
}
|
|
16844
16846
|
function adapterFragment$D(luvio, config) {
|
|
16845
16847
|
createResourceParams$U(config);
|
|
16846
|
-
return select$
|
|
16848
|
+
return select$1y$1();
|
|
16847
16849
|
}
|
|
16848
16850
|
function onFetchResponseSuccess$G(luvio, config, resourceParams, response) {
|
|
16849
16851
|
const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
|
|
@@ -16899,20 +16901,20 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
16899
16901
|
buildCachedSnapshotCachePolicy$K, buildNetworkSnapshotCachePolicy$L);
|
|
16900
16902
|
};
|
|
16901
16903
|
|
|
16902
|
-
const VERSION$
|
|
16904
|
+
const VERSION$X$2 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
16903
16905
|
const RepresentationType$C = 'ActionOverrideRepresentation';
|
|
16904
16906
|
function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
16905
16907
|
return input;
|
|
16906
16908
|
}
|
|
16907
|
-
const select$
|
|
16909
|
+
const select$1x$1 = function ActionOverrideRepresentationSelect() {
|
|
16908
16910
|
return {
|
|
16909
16911
|
kind: 'Fragment',
|
|
16910
|
-
version: VERSION$
|
|
16912
|
+
version: VERSION$X$2,
|
|
16911
16913
|
private: [],
|
|
16912
16914
|
opaque: true
|
|
16913
16915
|
};
|
|
16914
16916
|
};
|
|
16915
|
-
function equals$
|
|
16917
|
+
function equals$N(existing, incoming) {
|
|
16916
16918
|
if (JSONStringify$3(incoming) !== JSONStringify$3(existing)) {
|
|
16917
16919
|
return false;
|
|
16918
16920
|
}
|
|
@@ -16921,7 +16923,7 @@ function equals$M(existing, incoming) {
|
|
|
16921
16923
|
const ingest$w$2 = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16922
16924
|
const key = path.fullPath;
|
|
16923
16925
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
16924
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$
|
|
16926
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$X$2, RepresentationType$C, equals$N);
|
|
16925
16927
|
return createLink$4(key);
|
|
16926
16928
|
};
|
|
16927
16929
|
function getTypeCacheKeys$D$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16934,8 +16936,8 @@ function getTypeCacheKeys$D$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16934
16936
|
});
|
|
16935
16937
|
}
|
|
16936
16938
|
|
|
16937
|
-
function select$
|
|
16938
|
-
return select$
|
|
16939
|
+
function select$1w$1(luvio, params) {
|
|
16940
|
+
return select$1x$1();
|
|
16939
16941
|
}
|
|
16940
16942
|
function keyBuilder$1E$1(luvio, params) {
|
|
16941
16943
|
return keyPrefix$3 + '::ActionOverrideRepresentation:(' + 'defaultTemplateOnly:' + params.queryParams.defaultTemplateOnly + ',' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -16949,7 +16951,7 @@ function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16949
16951
|
luvio.storeIngest(key, ingest$w$2, body);
|
|
16950
16952
|
const snapshot = luvio.storeLookup({
|
|
16951
16953
|
recordId: key,
|
|
16952
|
-
node: select$
|
|
16954
|
+
node: select$1w$1(),
|
|
16953
16955
|
variables: {},
|
|
16954
16956
|
}, snapshotRefresh);
|
|
16955
16957
|
deepFreeze(snapshot.data);
|
|
@@ -17005,7 +17007,7 @@ function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
|
17005
17007
|
}
|
|
17006
17008
|
function adapterFragment$C(luvio, config) {
|
|
17007
17009
|
createResourceParams$T(config);
|
|
17008
|
-
return select$
|
|
17010
|
+
return select$1w$1();
|
|
17009
17011
|
}
|
|
17010
17012
|
function onFetchResponseSuccess$F(luvio, config, resourceParams, response) {
|
|
17011
17013
|
const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
|
|
@@ -17062,15 +17064,15 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
17062
17064
|
};
|
|
17063
17065
|
|
|
17064
17066
|
const TTL$q = 300000;
|
|
17065
|
-
const VERSION$
|
|
17067
|
+
const VERSION$W$2 = "c57b66c259b23683db7b763e132e8633";
|
|
17066
17068
|
const RepresentationType$B = 'FlexipageFormulaActivationRepresentation';
|
|
17067
17069
|
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
17068
17070
|
return input;
|
|
17069
17071
|
}
|
|
17070
|
-
const select$
|
|
17072
|
+
const select$1v$1 = function FlexipageFormulaActivationRepresentationSelect() {
|
|
17071
17073
|
return {
|
|
17072
17074
|
kind: 'Fragment',
|
|
17073
|
-
version: VERSION$
|
|
17075
|
+
version: VERSION$W$2,
|
|
17074
17076
|
private: [
|
|
17075
17077
|
'eTag'
|
|
17076
17078
|
],
|
|
@@ -17083,7 +17085,7 @@ const select$1u$2 = function FlexipageFormulaActivationRepresentationSelect() {
|
|
|
17083
17085
|
]
|
|
17084
17086
|
};
|
|
17085
17087
|
};
|
|
17086
|
-
function equals$
|
|
17088
|
+
function equals$M(existing, incoming) {
|
|
17087
17089
|
if (JSONStringify$3(incoming) !== JSONStringify$3(existing)) {
|
|
17088
17090
|
return false;
|
|
17089
17091
|
}
|
|
@@ -17092,7 +17094,7 @@ function equals$L(existing, incoming) {
|
|
|
17092
17094
|
const ingest$v$2 = function FlexipageFormulaActivationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17093
17095
|
const key = path.fullPath;
|
|
17094
17096
|
const ttlToUse = TTL$q;
|
|
17095
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$
|
|
17097
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$W$2, RepresentationType$B, equals$M);
|
|
17096
17098
|
return createLink$4(key);
|
|
17097
17099
|
};
|
|
17098
17100
|
function getTypeCacheKeys$C$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -17105,8 +17107,8 @@ function getTypeCacheKeys$C$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17105
17107
|
});
|
|
17106
17108
|
}
|
|
17107
17109
|
|
|
17108
|
-
function select$
|
|
17109
|
-
return select$
|
|
17110
|
+
function select$1u$2(luvio, params) {
|
|
17111
|
+
return select$1v$1();
|
|
17110
17112
|
}
|
|
17111
17113
|
function keyBuilder$1C$1(luvio, params) {
|
|
17112
17114
|
return keyPrefix$3 + '::FlexipageFormulaActivationRepresentation:(' + 'application:' + params.queryParams.application + ',' + 'objectApiNames:' + params.queryParams.objectApiNames + ',' + 'actionFeature:' + params.urlParams.actionFeature + ')';
|
|
@@ -17120,7 +17122,7 @@ function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
17120
17122
|
luvio.storeIngest(key, ingest$v$2, body);
|
|
17121
17123
|
const snapshot = luvio.storeLookup({
|
|
17122
17124
|
recordId: key,
|
|
17123
|
-
node: select$
|
|
17125
|
+
node: select$1u$2(),
|
|
17124
17126
|
variables: {},
|
|
17125
17127
|
}, snapshotRefresh);
|
|
17126
17128
|
deepFreeze(snapshot.data);
|
|
@@ -17132,7 +17134,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
17132
17134
|
const storeMetadataParams = {
|
|
17133
17135
|
ttl: TTL$q,
|
|
17134
17136
|
namespace: keyPrefix$3,
|
|
17135
|
-
version: VERSION$
|
|
17137
|
+
version: VERSION$W$2,
|
|
17136
17138
|
representationName: RepresentationType$B
|
|
17137
17139
|
};
|
|
17138
17140
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -17182,7 +17184,7 @@ function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
|
17182
17184
|
}
|
|
17183
17185
|
function adapterFragment$B(luvio, config) {
|
|
17184
17186
|
createResourceParams$S(config);
|
|
17185
|
-
return select$
|
|
17187
|
+
return select$1u$2();
|
|
17186
17188
|
}
|
|
17187
17189
|
function onFetchResponseSuccess$E(luvio, config, resourceParams, response) {
|
|
17188
17190
|
const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
|
|
@@ -17238,11 +17240,11 @@ const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__ge
|
|
|
17238
17240
|
buildCachedSnapshotCachePolicy$I, buildNetworkSnapshotCachePolicy$J);
|
|
17239
17241
|
};
|
|
17240
17242
|
|
|
17241
|
-
const VERSION$
|
|
17242
|
-
const select$
|
|
17243
|
+
const VERSION$V$2 = "7a5e66e0b88fe9d2233bb3158931bfa6";
|
|
17244
|
+
const select$1t$2 = function QuickActionColorRepresentationSelect() {
|
|
17243
17245
|
return {
|
|
17244
17246
|
kind: 'Fragment',
|
|
17245
|
-
version: VERSION$
|
|
17247
|
+
version: VERSION$V$2,
|
|
17246
17248
|
private: [
|
|
17247
17249
|
'eTag'
|
|
17248
17250
|
],
|
|
@@ -17262,7 +17264,7 @@ const select$1s$2 = function QuickActionColorRepresentationSelect() {
|
|
|
17262
17264
|
]
|
|
17263
17265
|
};
|
|
17264
17266
|
};
|
|
17265
|
-
function equals$
|
|
17267
|
+
function equals$L(existing, incoming) {
|
|
17266
17268
|
const existing_color = existing.color;
|
|
17267
17269
|
const incoming_color = incoming.color;
|
|
17268
17270
|
if (!(existing_color === incoming_color)) {
|
|
@@ -17286,11 +17288,11 @@ function equals$K(existing, incoming) {
|
|
|
17286
17288
|
return true;
|
|
17287
17289
|
}
|
|
17288
17290
|
|
|
17289
|
-
const VERSION$
|
|
17290
|
-
const select$
|
|
17291
|
+
const VERSION$U$2 = "5e970aa7dacfdd8e0c6d5daca575ec58";
|
|
17292
|
+
const select$1s$2 = function CopilotQuickActionInputRepresentationSelect() {
|
|
17291
17293
|
return {
|
|
17292
17294
|
kind: 'Fragment',
|
|
17293
|
-
version: VERSION$
|
|
17295
|
+
version: VERSION$U$2,
|
|
17294
17296
|
private: [
|
|
17295
17297
|
'eTag'
|
|
17296
17298
|
],
|
|
@@ -17306,7 +17308,7 @@ const select$1r$2 = function CopilotQuickActionInputRepresentationSelect() {
|
|
|
17306
17308
|
]
|
|
17307
17309
|
};
|
|
17308
17310
|
};
|
|
17309
|
-
function equals$
|
|
17311
|
+
function equals$K(existing, incoming) {
|
|
17310
17312
|
const existing_eTag = existing.eTag;
|
|
17311
17313
|
const incoming_eTag = incoming.eTag;
|
|
17312
17314
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -17325,11 +17327,11 @@ function equals$J(existing, incoming) {
|
|
|
17325
17327
|
return true;
|
|
17326
17328
|
}
|
|
17327
17329
|
|
|
17328
|
-
const VERSION$
|
|
17329
|
-
const select$
|
|
17330
|
+
const VERSION$T$2 = "53b489083ef57944d2a9d4a2aaf72ec3";
|
|
17331
|
+
const select$1r$2 = function QuickActionIconRepresentationSelect() {
|
|
17330
17332
|
return {
|
|
17331
17333
|
kind: 'Fragment',
|
|
17332
|
-
version: VERSION$
|
|
17334
|
+
version: VERSION$T$2,
|
|
17333
17335
|
private: [
|
|
17334
17336
|
'eTag'
|
|
17335
17337
|
],
|
|
@@ -17357,7 +17359,7 @@ const select$1q$2 = function QuickActionIconRepresentationSelect() {
|
|
|
17357
17359
|
]
|
|
17358
17360
|
};
|
|
17359
17361
|
};
|
|
17360
|
-
function equals$
|
|
17362
|
+
function equals$J(existing, incoming) {
|
|
17361
17363
|
const existing_height = existing.height;
|
|
17362
17364
|
const incoming_height = incoming.height;
|
|
17363
17365
|
if (!(existing_height === incoming_height)) {
|
|
@@ -17391,8 +17393,47 @@ function equals$I(existing, incoming) {
|
|
|
17391
17393
|
return true;
|
|
17392
17394
|
}
|
|
17393
17395
|
|
|
17396
|
+
const VERSION$S$2 = "bab371abd4de5aea22d80f5c9843eb8a";
|
|
17397
|
+
const select$1q$2 = function CopilotQuickActionParameterRepresentationSelect() {
|
|
17398
|
+
return {
|
|
17399
|
+
kind: 'Fragment',
|
|
17400
|
+
version: VERSION$S$2,
|
|
17401
|
+
private: [
|
|
17402
|
+
'eTag'
|
|
17403
|
+
],
|
|
17404
|
+
selections: [
|
|
17405
|
+
{
|
|
17406
|
+
name: 'parameterName',
|
|
17407
|
+
kind: 'Scalar'
|
|
17408
|
+
},
|
|
17409
|
+
{
|
|
17410
|
+
name: 'parameterValue',
|
|
17411
|
+
kind: 'Scalar'
|
|
17412
|
+
}
|
|
17413
|
+
]
|
|
17414
|
+
};
|
|
17415
|
+
};
|
|
17416
|
+
function equals$I(existing, incoming) {
|
|
17417
|
+
const existing_eTag = existing.eTag;
|
|
17418
|
+
const incoming_eTag = incoming.eTag;
|
|
17419
|
+
if (!(existing_eTag === incoming_eTag)) {
|
|
17420
|
+
return false;
|
|
17421
|
+
}
|
|
17422
|
+
const existing_parameterName = existing.parameterName;
|
|
17423
|
+
const incoming_parameterName = incoming.parameterName;
|
|
17424
|
+
if (!(existing_parameterName === incoming_parameterName)) {
|
|
17425
|
+
return false;
|
|
17426
|
+
}
|
|
17427
|
+
const existing_parameterValue = existing.parameterValue;
|
|
17428
|
+
const incoming_parameterValue = incoming.parameterValue;
|
|
17429
|
+
if (!(existing_parameterValue === incoming_parameterValue)) {
|
|
17430
|
+
return false;
|
|
17431
|
+
}
|
|
17432
|
+
return true;
|
|
17433
|
+
}
|
|
17434
|
+
|
|
17394
17435
|
const TTL$p = 900000;
|
|
17395
|
-
const VERSION$R$2 = "
|
|
17436
|
+
const VERSION$R$2 = "463cd270460d626d438908f8348e6dc8";
|
|
17396
17437
|
const RepresentationType$A = 'QuickActionInfoRepresentation';
|
|
17397
17438
|
function keyBuilder$1A$1(luvio, config) {
|
|
17398
17439
|
return keyPrefix$3 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
@@ -17407,9 +17448,10 @@ function normalize$u(input, existing, path, luvio, store, timestamp) {
|
|
|
17407
17448
|
return input;
|
|
17408
17449
|
}
|
|
17409
17450
|
const select$1p$2 = function QuickActionInfoRepresentationSelect() {
|
|
17410
|
-
const { selections: QuickActionColorRepresentation__selections, opaque: QuickActionColorRepresentation__opaque, } = select$
|
|
17411
|
-
const { selections: CopilotQuickActionInputRepresentation__selections, opaque: CopilotQuickActionInputRepresentation__opaque, } = select$
|
|
17412
|
-
const { selections: QuickActionIconRepresentation__selections, opaque: QuickActionIconRepresentation__opaque, } = select$
|
|
17451
|
+
const { selections: QuickActionColorRepresentation__selections, opaque: QuickActionColorRepresentation__opaque, } = select$1t$2();
|
|
17452
|
+
const { selections: CopilotQuickActionInputRepresentation__selections, opaque: CopilotQuickActionInputRepresentation__opaque, } = select$1s$2();
|
|
17453
|
+
const { selections: QuickActionIconRepresentation__selections, opaque: QuickActionIconRepresentation__opaque, } = select$1r$2();
|
|
17454
|
+
const { selections: CopilotQuickActionParameterRepresentation__selections, opaque: CopilotQuickActionParameterRepresentation__opaque, } = select$1q$2();
|
|
17413
17455
|
return {
|
|
17414
17456
|
kind: 'Fragment',
|
|
17415
17457
|
version: VERSION$R$2,
|
|
@@ -17491,6 +17533,12 @@ const select$1p$2 = function QuickActionInfoRepresentationSelect() {
|
|
|
17491
17533
|
name: 'lightningWebComponentQualifiedName',
|
|
17492
17534
|
kind: 'Scalar'
|
|
17493
17535
|
},
|
|
17536
|
+
{
|
|
17537
|
+
name: 'parameters',
|
|
17538
|
+
kind: 'Object',
|
|
17539
|
+
plural: true,
|
|
17540
|
+
selections: CopilotQuickActionParameterRepresentation__selections
|
|
17541
|
+
},
|
|
17494
17542
|
{
|
|
17495
17543
|
name: 'targetParentField',
|
|
17496
17544
|
kind: 'Scalar'
|
|
@@ -17539,7 +17587,7 @@ function equals$H(existing, incoming) {
|
|
|
17539
17587
|
const existing_colors = existing.colors;
|
|
17540
17588
|
const incoming_colors = incoming.colors;
|
|
17541
17589
|
const equals_colors_items = equalsArray$1(existing_colors, incoming_colors, (existing_colors_item, incoming_colors_item) => {
|
|
17542
|
-
if (!(equals$
|
|
17590
|
+
if (!(equals$L(existing_colors_item, incoming_colors_item))) {
|
|
17543
17591
|
return false;
|
|
17544
17592
|
}
|
|
17545
17593
|
});
|
|
@@ -17554,7 +17602,7 @@ function equals$H(existing, incoming) {
|
|
|
17554
17602
|
const existing_copilotInputs = existing.copilotInputs;
|
|
17555
17603
|
const incoming_copilotInputs = incoming.copilotInputs;
|
|
17556
17604
|
const equals_copilotInputs_items = equalsArray$1(existing_copilotInputs, incoming_copilotInputs, (existing_copilotInputs_item, incoming_copilotInputs_item) => {
|
|
17557
|
-
if (!(equals$
|
|
17605
|
+
if (!(equals$K(existing_copilotInputs_item, incoming_copilotInputs_item))) {
|
|
17558
17606
|
return false;
|
|
17559
17607
|
}
|
|
17560
17608
|
});
|
|
@@ -17594,7 +17642,7 @@ function equals$H(existing, incoming) {
|
|
|
17594
17642
|
const existing_icons = existing.icons;
|
|
17595
17643
|
const incoming_icons = incoming.icons;
|
|
17596
17644
|
const equals_icons_items = equalsArray$1(existing_icons, incoming_icons, (existing_icons_item, incoming_icons_item) => {
|
|
17597
|
-
if (!(equals$
|
|
17645
|
+
if (!(equals$J(existing_icons_item, incoming_icons_item))) {
|
|
17598
17646
|
return false;
|
|
17599
17647
|
}
|
|
17600
17648
|
});
|
|
@@ -17621,6 +17669,16 @@ function equals$H(existing, incoming) {
|
|
|
17621
17669
|
if (!(existing_lightningWebComponentQualifiedName === incoming_lightningWebComponentQualifiedName)) {
|
|
17622
17670
|
return false;
|
|
17623
17671
|
}
|
|
17672
|
+
const existing_parameters = existing.parameters;
|
|
17673
|
+
const incoming_parameters = incoming.parameters;
|
|
17674
|
+
const equals_parameters_items = equalsArray$1(existing_parameters, incoming_parameters, (existing_parameters_item, incoming_parameters_item) => {
|
|
17675
|
+
if (!(equals$I(existing_parameters_item, incoming_parameters_item))) {
|
|
17676
|
+
return false;
|
|
17677
|
+
}
|
|
17678
|
+
});
|
|
17679
|
+
if (equals_parameters_items === false) {
|
|
17680
|
+
return false;
|
|
17681
|
+
}
|
|
17624
17682
|
const existing_targetParentField = existing.targetParentField;
|
|
17625
17683
|
const incoming_targetParentField = incoming.targetParentField;
|
|
17626
17684
|
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
@@ -17792,7 +17850,7 @@ const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS$1 = {
|
|
|
17792
17850
|
ttl: TTL$t,
|
|
17793
17851
|
namespace: keyPrefix$3,
|
|
17794
17852
|
representationName: RepresentationType$H,
|
|
17795
|
-
version: VERSION
|
|
17853
|
+
version: VERSION$10$2,
|
|
17796
17854
|
};
|
|
17797
17855
|
function merge$1$1(existing, incoming) {
|
|
17798
17856
|
if (existing === undefined) {
|
|
@@ -17817,7 +17875,7 @@ const dynamicIngest$4$1 = (ingestParams) => {
|
|
|
17817
17875
|
propertyName: path.propertyName,
|
|
17818
17876
|
}, luvio, store, timestamp);
|
|
17819
17877
|
incomingRecord = merge$1$1(existingRecord, incomingRecord);
|
|
17820
|
-
if (existingRecord === undefined || equals$
|
|
17878
|
+
if (existingRecord === undefined || equals$S(existingRecord, incomingRecord) === false) {
|
|
17821
17879
|
luvio.storePublish(key, incomingRecord);
|
|
17822
17880
|
}
|
|
17823
17881
|
luvio.publishStoreMetadata(key, {
|
|
@@ -17885,7 +17943,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
17885
17943
|
const storeMetadataParams = {
|
|
17886
17944
|
ttl: TTL$t,
|
|
17887
17945
|
namespace: keyPrefix$3,
|
|
17888
|
-
version: VERSION
|
|
17946
|
+
version: VERSION$10$2,
|
|
17889
17947
|
representationName: RepresentationType$H
|
|
17890
17948
|
};
|
|
17891
17949
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -18015,7 +18073,7 @@ const getQuickActionDefaultsAdapterFactory$1 = (luvio) => function UiApi__getQui
|
|
|
18015
18073
|
};
|
|
18016
18074
|
|
|
18017
18075
|
function select$1n$2(luvio, params) {
|
|
18018
|
-
return select$
|
|
18076
|
+
return select$1D$1();
|
|
18019
18077
|
}
|
|
18020
18078
|
function keyBuilder$1v$1(luvio, params) {
|
|
18021
18079
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
@@ -18041,7 +18099,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
18041
18099
|
const storeMetadataParams = {
|
|
18042
18100
|
ttl: TTL$s,
|
|
18043
18101
|
namespace: keyPrefix$3,
|
|
18044
|
-
version: VERSION$
|
|
18102
|
+
version: VERSION$Z$2,
|
|
18045
18103
|
representationName: RepresentationType$E
|
|
18046
18104
|
};
|
|
18047
18105
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -18155,7 +18213,7 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
18155
18213
|
};
|
|
18156
18214
|
|
|
18157
18215
|
function select$1m$2(luvio, params) {
|
|
18158
|
-
return select$
|
|
18216
|
+
return select$1D$1();
|
|
18159
18217
|
}
|
|
18160
18218
|
function keyBuilder$1t$1(luvio, params) {
|
|
18161
18219
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
@@ -18181,7 +18239,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
18181
18239
|
const storeMetadataParams = {
|
|
18182
18240
|
ttl: TTL$s,
|
|
18183
18241
|
namespace: keyPrefix$3,
|
|
18184
|
-
version: VERSION$
|
|
18242
|
+
version: VERSION$Z$2,
|
|
18185
18243
|
representationName: RepresentationType$E
|
|
18186
18244
|
};
|
|
18187
18245
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -18288,7 +18346,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
18288
18346
|
buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$F);
|
|
18289
18347
|
};
|
|
18290
18348
|
|
|
18291
|
-
function validate$
|
|
18349
|
+
function validate$1j(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
18292
18350
|
const v_error = (() => {
|
|
18293
18351
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
18294
18352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18359,7 +18417,7 @@ function validate$1i(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
18359
18417
|
}
|
|
18360
18418
|
|
|
18361
18419
|
function select$1l$2(luvio, params) {
|
|
18362
|
-
return select$
|
|
18420
|
+
return select$1D$1();
|
|
18363
18421
|
}
|
|
18364
18422
|
function keyBuilder$1r$1(luvio, params) {
|
|
18365
18423
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListId:' + params.urlParams.relatedListId + ',' + (params.body.actionTypes === undefined ? 'actionTypes' : 'actionTypes:' + params.body.actionTypes) + '::' + (params.body.apiNames === undefined ? 'apiNames' : 'apiNames:' + params.body.apiNames) + '::' + (params.body.formFactor === undefined ? 'formFactor' : 'formFactor:' + params.body.formFactor) + '::' + (params.body.retrievalMode === undefined ? 'retrievalMode' : 'retrievalMode:' + params.body.retrievalMode) + '::' + (params.body.sections === undefined ? 'sections' : 'sections:' + params.body.sections) + ')';
|
|
@@ -18385,7 +18443,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
18385
18443
|
const storeMetadataParams = {
|
|
18386
18444
|
ttl: TTL$s,
|
|
18387
18445
|
namespace: keyPrefix$3,
|
|
18388
|
-
version: VERSION$
|
|
18446
|
+
version: VERSION$Z$2,
|
|
18389
18447
|
representationName: RepresentationType$E
|
|
18390
18448
|
};
|
|
18391
18449
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -18699,7 +18757,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
18699
18757
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
18700
18758
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
18701
18759
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
18702
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
18760
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1j(untrustedConfig_relatedListsActionParameters_item);
|
|
18703
18761
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
18704
18762
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
18705
18763
|
}
|
|
@@ -18868,7 +18926,7 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
18868
18926
|
};
|
|
18869
18927
|
|
|
18870
18928
|
function select$1j$2(luvio, params) {
|
|
18871
|
-
return select$
|
|
18929
|
+
return select$1D$1();
|
|
18872
18930
|
}
|
|
18873
18931
|
function keyBuilder$1n$1(luvio, params) {
|
|
18874
18932
|
return keyPrefix$3 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
@@ -18894,7 +18952,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
18894
18952
|
const storeMetadataParams = {
|
|
18895
18953
|
ttl: TTL$s,
|
|
18896
18954
|
namespace: keyPrefix$3,
|
|
18897
|
-
version: VERSION$
|
|
18955
|
+
version: VERSION$Z$2,
|
|
18898
18956
|
representationName: RepresentationType$E
|
|
18899
18957
|
};
|
|
18900
18958
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20221,7 +20279,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
20221
20279
|
const storeMetadataParams = {
|
|
20222
20280
|
ttl: TTL$w,
|
|
20223
20281
|
namespace: keyPrefix$3,
|
|
20224
|
-
version: VERSION$
|
|
20282
|
+
version: VERSION$16$2,
|
|
20225
20283
|
representationName: RepresentationType$N
|
|
20226
20284
|
};
|
|
20227
20285
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20247,7 +20305,7 @@ function onFetchResponseSuccess$u(luvio, config, resourceParams, response) {
|
|
|
20247
20305
|
luvio.storeIngest(key, ingest$G$2, body);
|
|
20248
20306
|
const snapshot = luvio.storeLookup({
|
|
20249
20307
|
recordId: key,
|
|
20250
|
-
node: select$
|
|
20308
|
+
node: select$1K$1(),
|
|
20251
20309
|
variables: {},
|
|
20252
20310
|
}, {
|
|
20253
20311
|
config,
|
|
@@ -20293,7 +20351,7 @@ function buildCachedSnapshotCachePolicy$x(context, storeLookup) {
|
|
|
20293
20351
|
const { luvio, config } = context;
|
|
20294
20352
|
const selector = {
|
|
20295
20353
|
recordId: keyBuilder$1V(luvio, config),
|
|
20296
|
-
node: select$
|
|
20354
|
+
node: select$1K$1(),
|
|
20297
20355
|
variables: {},
|
|
20298
20356
|
};
|
|
20299
20357
|
return storeLookup(selector, {
|
|
@@ -20388,7 +20446,7 @@ function buildCachedSnapshot$5$1(luvio, config) {
|
|
|
20388
20446
|
});
|
|
20389
20447
|
const selector = {
|
|
20390
20448
|
recordId: key,
|
|
20391
|
-
node: select$
|
|
20449
|
+
node: select$1J$1(),
|
|
20392
20450
|
variables: {},
|
|
20393
20451
|
};
|
|
20394
20452
|
return luvio.storeLookup(selector, {
|
|
@@ -20506,7 +20564,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
20506
20564
|
layoutType,
|
|
20507
20565
|
mode,
|
|
20508
20566
|
}),
|
|
20509
|
-
node: select$
|
|
20567
|
+
node: select$1J$1(),
|
|
20510
20568
|
variables: {},
|
|
20511
20569
|
};
|
|
20512
20570
|
return storeLookup(selector, {
|
|
@@ -20561,7 +20619,7 @@ function keyBuilder$1c$2(luvio, params) {
|
|
|
20561
20619
|
}
|
|
20562
20620
|
|
|
20563
20621
|
function select$16$2(luvio, params) {
|
|
20564
|
-
return select$
|
|
20622
|
+
return select$1Y();
|
|
20565
20623
|
}
|
|
20566
20624
|
function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
|
|
20567
20625
|
getTypeCacheKeys$Z$2(storeKeyMap, luvio, response);
|
|
@@ -20584,7 +20642,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
20584
20642
|
const storeMetadataParams = {
|
|
20585
20643
|
ttl: TTL$B,
|
|
20586
20644
|
namespace: keyPrefix$3,
|
|
20587
|
-
version: VERSION$
|
|
20645
|
+
version: VERSION$1j$2,
|
|
20588
20646
|
representationName: RepresentationType$Y
|
|
20589
20647
|
};
|
|
20590
20648
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20956,7 +21014,7 @@ function createPaginationParams$1$1(params) {
|
|
|
20956
21014
|
}
|
|
20957
21015
|
function select$14$2(luvio, params) {
|
|
20958
21016
|
const paginationParams = createPaginationParams$1$1(params);
|
|
20959
|
-
return select$
|
|
21017
|
+
return select$1R(paginationParams);
|
|
20960
21018
|
}
|
|
20961
21019
|
function keyBuilder$19$2(luvio, params) {
|
|
20962
21020
|
return keyBuilder$23(luvio, {
|
|
@@ -21099,7 +21157,7 @@ function getPaginationMetadata$2$1(luvio, resourceParams) {
|
|
|
21099
21157
|
recordId: key,
|
|
21100
21158
|
node: {
|
|
21101
21159
|
kind: 'Fragment',
|
|
21102
|
-
version: VERSION$
|
|
21160
|
+
version: VERSION$1a$2,
|
|
21103
21161
|
private: [],
|
|
21104
21162
|
selections: [
|
|
21105
21163
|
{
|
|
@@ -21165,7 +21223,7 @@ const getListInfosByObjectNameAdapterFactory = (luvio) => function UiApi__getLis
|
|
|
21165
21223
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$v);
|
|
21166
21224
|
};
|
|
21167
21225
|
|
|
21168
|
-
function validate$
|
|
21226
|
+
function validate$19(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
21169
21227
|
const v_error = (() => {
|
|
21170
21228
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
21171
21229
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21196,7 +21254,7 @@ function validate$18(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
21196
21254
|
return v_error === undefined ? null : v_error;
|
|
21197
21255
|
}
|
|
21198
21256
|
|
|
21199
|
-
function validate$
|
|
21257
|
+
function validate$18(obj, path = 'ListScopeInputRepresentation') {
|
|
21200
21258
|
const v_error = (() => {
|
|
21201
21259
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
21202
21260
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21267,7 +21325,7 @@ function validate$17(obj, path = 'ListScopeInputRepresentation') {
|
|
|
21267
21325
|
}
|
|
21268
21326
|
|
|
21269
21327
|
function select$13$2(luvio, params) {
|
|
21270
|
-
return select$
|
|
21328
|
+
return select$1Y();
|
|
21271
21329
|
}
|
|
21272
21330
|
function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
|
|
21273
21331
|
getTypeCacheKeys$Z$2(storeKeyMap, luvio, response);
|
|
@@ -21321,7 +21379,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
21321
21379
|
const untrustedConfig_filteredByInfo_array = [];
|
|
21322
21380
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
21323
21381
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
21324
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
21382
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
21325
21383
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
21326
21384
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
21327
21385
|
}
|
|
@@ -21329,7 +21387,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
21329
21387
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
21330
21388
|
}
|
|
21331
21389
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
21332
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
21390
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
21333
21391
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
21334
21392
|
config.scope = untrustedConfig_scope;
|
|
21335
21393
|
}
|
|
@@ -21544,7 +21602,7 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
21544
21602
|
};
|
|
21545
21603
|
|
|
21546
21604
|
function select$12$2(luvio, params) {
|
|
21547
|
-
return select$
|
|
21605
|
+
return select$1Y();
|
|
21548
21606
|
}
|
|
21549
21607
|
function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
21550
21608
|
getTypeCacheKeys$Z$2(storeKeyMap, luvio, response);
|
|
@@ -21597,7 +21655,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
21597
21655
|
const untrustedConfig_filteredByInfo_array = [];
|
|
21598
21656
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
21599
21657
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
21600
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
21658
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
21601
21659
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
21602
21660
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
21603
21661
|
}
|
|
@@ -21605,7 +21663,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
21605
21663
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
21606
21664
|
}
|
|
21607
21665
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
21608
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
21666
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
21609
21667
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
21610
21668
|
config.scope = untrustedConfig_scope;
|
|
21611
21669
|
}
|
|
@@ -22145,8 +22203,8 @@ function normalize$n(input, existing, path, luvio, store, timestamp) {
|
|
|
22145
22203
|
return input;
|
|
22146
22204
|
}
|
|
22147
22205
|
const select$X$2 = function ListPreferencesRepresentationSelect() {
|
|
22148
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
22149
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
22206
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$25();
|
|
22207
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$22();
|
|
22150
22208
|
return {
|
|
22151
22209
|
kind: 'Fragment',
|
|
22152
22210
|
version: VERSION$C$2,
|
|
@@ -22199,13 +22257,13 @@ function equals$w(existing, incoming) {
|
|
|
22199
22257
|
}
|
|
22200
22258
|
const existing_listReference = existing.listReference;
|
|
22201
22259
|
const incoming_listReference = incoming.listReference;
|
|
22202
|
-
if (!(equals$
|
|
22260
|
+
if (!(equals$1b(existing_listReference, incoming_listReference))) {
|
|
22203
22261
|
return false;
|
|
22204
22262
|
}
|
|
22205
22263
|
const existing_orderedBy = existing.orderedBy;
|
|
22206
22264
|
const incoming_orderedBy = incoming.orderedBy;
|
|
22207
22265
|
const equals_orderedBy_items = equalsArray$1(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
22208
|
-
if (!(equals$
|
|
22266
|
+
if (!(equals$1a(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
22209
22267
|
return false;
|
|
22210
22268
|
}
|
|
22211
22269
|
});
|
|
@@ -22365,7 +22423,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
22365
22423
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$s);
|
|
22366
22424
|
};
|
|
22367
22425
|
|
|
22368
|
-
function validate$
|
|
22426
|
+
function validate$11(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
22369
22427
|
const v_error = (() => {
|
|
22370
22428
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
22371
22429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22468,7 +22526,7 @@ function typeCheckConfig$B(untrustedConfig) {
|
|
|
22468
22526
|
const untrustedConfig_orderedBy_array = [];
|
|
22469
22527
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
22470
22528
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
22471
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
22529
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
22472
22530
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
22473
22531
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
22474
22532
|
}
|
|
@@ -22744,7 +22802,7 @@ const getNavItemsAdapterFactory = (luvio) => function UiApi__getNavItems(untrust
|
|
|
22744
22802
|
};
|
|
22745
22803
|
|
|
22746
22804
|
function select$S$2(luvio, params) {
|
|
22747
|
-
return select$
|
|
22805
|
+
return select$1H$1();
|
|
22748
22806
|
}
|
|
22749
22807
|
function keyBuilder$Z$2(luvio, params) {
|
|
22750
22808
|
return keyPrefix$3 + '::ObjectInfoDirectoryRepresentation:(' + ')';
|
|
@@ -22902,7 +22960,7 @@ function selectChildResourceParams$4(luvio, childResources, resourceParams) {
|
|
|
22902
22960
|
reader.enterPath(envelopeBodyPath);
|
|
22903
22961
|
const childResource = childResources[i];
|
|
22904
22962
|
const childKey = keyBuilder$1X(luvio, childResource);
|
|
22905
|
-
const childFragment = select$
|
|
22963
|
+
const childFragment = select$1L();
|
|
22906
22964
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
22907
22965
|
const childSnapshot = reader.read({
|
|
22908
22966
|
recordId: childKey,
|
|
@@ -23815,7 +23873,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
23815
23873
|
};
|
|
23816
23874
|
|
|
23817
23875
|
function select$H$2(luvio, params) {
|
|
23818
|
-
return select$
|
|
23876
|
+
return select$1K$1();
|
|
23819
23877
|
}
|
|
23820
23878
|
function keyBuilder$S$2(luvio, params) {
|
|
23821
23879
|
return keyBuilder$1V(luvio, {
|
|
@@ -23848,7 +23906,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
23848
23906
|
const storeMetadataParams = {
|
|
23849
23907
|
ttl: TTL$w,
|
|
23850
23908
|
namespace: keyPrefix$3,
|
|
23851
|
-
version: VERSION$
|
|
23909
|
+
version: VERSION$16$2,
|
|
23852
23910
|
representationName: RepresentationType$N
|
|
23853
23911
|
};
|
|
23854
23912
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -26672,7 +26730,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26672
26730
|
buildCachedSnapshotCachePolicy$d$1, buildNetworkSnapshotCachePolicy$e$1);
|
|
26673
26731
|
};
|
|
26674
26732
|
|
|
26675
|
-
function validate$
|
|
26733
|
+
function validate$D(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26676
26734
|
const v_error = (() => {
|
|
26677
26735
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
26678
26736
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26749,7 +26807,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
26749
26807
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26750
26808
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26751
26809
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26752
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26810
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedByInfo_item);
|
|
26753
26811
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26754
26812
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26755
26813
|
}
|
|
@@ -26757,7 +26815,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
26757
26815
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26758
26816
|
}
|
|
26759
26817
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26760
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26818
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$D(untrustedConfig_userPreferences);
|
|
26761
26819
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26762
26820
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26763
26821
|
}
|
|
@@ -27412,7 +27470,7 @@ function typeCheckConfig$j(untrustedConfig) {
|
|
|
27412
27470
|
const untrustedConfig_orderedBy_array = [];
|
|
27413
27471
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27414
27472
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27415
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27473
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
27416
27474
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27417
27475
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27418
27476
|
}
|
|
@@ -27460,7 +27518,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27460
27518
|
};
|
|
27461
27519
|
};
|
|
27462
27520
|
|
|
27463
|
-
function validate$
|
|
27521
|
+
function validate$B(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27464
27522
|
const v_error = (() => {
|
|
27465
27523
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
27466
27524
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27770,7 +27828,7 @@ const dynamicSelect$4$1 = function dynamicRelatedListRecordCollectionRepresentat
|
|
|
27770
27828
|
const recordsPathSelection = params.records === undefined ? {
|
|
27771
27829
|
name: 'records',
|
|
27772
27830
|
kind: 'Link',
|
|
27773
|
-
fragment: select$
|
|
27831
|
+
fragment: select$1U()
|
|
27774
27832
|
} : params.records;
|
|
27775
27833
|
const { selections: RelatedListReferenceRepresentation__selections, opaque: RelatedListReferenceRepresentation__opaque, } = select$v$2();
|
|
27776
27834
|
return {
|
|
@@ -28043,7 +28101,7 @@ function select$h$2(luvio, params) {
|
|
|
28043
28101
|
kind: 'Fragment',
|
|
28044
28102
|
private: ['eTag', 'weakEtag'],
|
|
28045
28103
|
selections: buildSelectionFromFields$1(fields, optionalFields),
|
|
28046
|
-
version: VERSION$
|
|
28104
|
+
version: VERSION$1f$2
|
|
28047
28105
|
},
|
|
28048
28106
|
},
|
|
28049
28107
|
}, createPaginationParams$7(params));
|
|
@@ -28414,7 +28472,7 @@ function typeCheckConfig$i(untrustedConfig) {
|
|
|
28414
28472
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28415
28473
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28416
28474
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28417
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28475
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$B(untrustedConfig_relatedListParameters_item);
|
|
28418
28476
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28419
28477
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28420
28478
|
}
|
|
@@ -29211,7 +29269,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
29211
29269
|
buildCachedSnapshotCachePolicy$6$1, buildNetworkSnapshotCachePolicy$7$1);
|
|
29212
29270
|
};
|
|
29213
29271
|
|
|
29214
|
-
function validate$
|
|
29272
|
+
function validate$n(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
29215
29273
|
const v_error = (() => {
|
|
29216
29274
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
29217
29275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29242,7 +29300,7 @@ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
29242
29300
|
return v_error === undefined ? null : v_error;
|
|
29243
29301
|
}
|
|
29244
29302
|
|
|
29245
|
-
function validate$
|
|
29303
|
+
function validate$m$1(obj, path = 'SearchFilterInputRepresentation') {
|
|
29246
29304
|
const v_error = (() => {
|
|
29247
29305
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
29248
29306
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29311,7 +29369,7 @@ function validate$l$1(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
29311
29369
|
return v_error === undefined ? null : v_error;
|
|
29312
29370
|
}
|
|
29313
29371
|
|
|
29314
|
-
function validate$
|
|
29372
|
+
function validate$l$1(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
29315
29373
|
const v_error = (() => {
|
|
29316
29374
|
if (typeof obj !== 'object' || ArrayIsArray$3(obj) || obj === null) {
|
|
29317
29375
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29324,7 +29382,7 @@ function validate$k$1(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29324
29382
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
29325
29383
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
29326
29384
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
29327
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
29385
|
+
const referencepath_dataCategories_itemValidationError = validate$n(obj_dataCategories_item, path_dataCategories_item);
|
|
29328
29386
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
29329
29387
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
29330
29388
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29339,7 +29397,7 @@ function validate$k$1(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29339
29397
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29340
29398
|
const obj_filters_item = obj_filters[i];
|
|
29341
29399
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29342
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29400
|
+
const referencepath_filters_itemValidationError = validate$m$1(obj_filters_item, path_filters_item);
|
|
29343
29401
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29344
29402
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
29345
29403
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29351,7 +29409,7 @@ function validate$k$1(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29351
29409
|
}
|
|
29352
29410
|
|
|
29353
29411
|
const TTL$6$1 = 200;
|
|
29354
|
-
const VERSION$8$2 = "
|
|
29412
|
+
const VERSION$8$2 = "94ab97aedd252f899c90d52d898e547f";
|
|
29355
29413
|
const RepresentationType$9$1 = 'SearchResultsSummaryRepresentation';
|
|
29356
29414
|
function keyBuilder$f$2(luvio, config) {
|
|
29357
29415
|
return keyPrefix$3 + '::' + RepresentationType$9$1 + ':' + config.query + ':' + (config.configurationName === null ? '' : config.configurationName);
|
|
@@ -29470,7 +29528,7 @@ function typeCheckConfig$d$1(untrustedConfig) {
|
|
|
29470
29528
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
29471
29529
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
29472
29530
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
29473
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
29531
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$l$1(untrustedConfig_searchObjectOptions_prop);
|
|
29474
29532
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
29475
29533
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
29476
29534
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -29673,7 +29731,7 @@ function typeCheckConfig$c$1(untrustedConfig) {
|
|
|
29673
29731
|
const untrustedConfig_filters_array = [];
|
|
29674
29732
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
29675
29733
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
29676
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
29734
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$m$1(untrustedConfig_filters_item);
|
|
29677
29735
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
29678
29736
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
29679
29737
|
}
|
|
@@ -29975,7 +30033,7 @@ const factory$e = (luvio) => {
|
|
|
29975
30033
|
};
|
|
29976
30034
|
|
|
29977
30035
|
function select$5$2(luvio, params) {
|
|
29978
|
-
return select$
|
|
30036
|
+
return select$1G$1();
|
|
29979
30037
|
}
|
|
29980
30038
|
function getResponseCacheKeys$9$1(storeKeyMap, luvio, resourceParams, response) {
|
|
29981
30039
|
getTypeCacheKeys$J$2(storeKeyMap, luvio, response);
|
|
@@ -30034,7 +30092,7 @@ function buildNetworkSnapshot$b$1(luvio, config, options) {
|
|
|
30034
30092
|
}
|
|
30035
30093
|
|
|
30036
30094
|
function select$4$2(luvio, params) {
|
|
30037
|
-
return select$
|
|
30095
|
+
return select$1G$1();
|
|
30038
30096
|
}
|
|
30039
30097
|
function getResponseCacheKeys$8$1(storeKeyMap, luvio, resourceParams, response) {
|
|
30040
30098
|
getTypeCacheKeys$J$2(storeKeyMap, luvio, response);
|
|
@@ -30334,7 +30392,7 @@ function validateAdapterConfig$9$1(untrustedConfig, configPropertyNames) {
|
|
|
30334
30392
|
}
|
|
30335
30393
|
function adapterFragment$1$2(luvio, config) {
|
|
30336
30394
|
const resourceParams = createResourceParams$8$1(config);
|
|
30337
|
-
return select$
|
|
30395
|
+
return select$1Q(luvio, resourceParams);
|
|
30338
30396
|
}
|
|
30339
30397
|
function onFetchResponseSuccess$2$1(luvio, config, resourceParams, response) {
|
|
30340
30398
|
const snapshot = ingestSuccess$R(luvio, resourceParams, response, {
|
|
@@ -30402,7 +30460,7 @@ function getPaginationMetadata$4(luvio, resourceParams) {
|
|
|
30402
30460
|
recordId: key,
|
|
30403
30461
|
node: {
|
|
30404
30462
|
kind: 'Fragment',
|
|
30405
|
-
version: VERSION$
|
|
30463
|
+
version: VERSION$1d$2,
|
|
30406
30464
|
private: [],
|
|
30407
30465
|
selections: [
|
|
30408
30466
|
{
|
|
@@ -30621,7 +30679,7 @@ function typeCheckConfig$a$1(untrustedConfig) {
|
|
|
30621
30679
|
const untrustedConfig_orderBy_array = [];
|
|
30622
30680
|
for (let i = 0, arrayLength = untrustedConfig_orderBy.length; i < arrayLength; i++) {
|
|
30623
30681
|
const untrustedConfig_orderBy_item = untrustedConfig_orderBy[i];
|
|
30624
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
30682
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderBy_item);
|
|
30625
30683
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
30626
30684
|
untrustedConfig_orderBy_array.push(untrustedConfig_orderBy_item);
|
|
30627
30685
|
}
|
|
@@ -31020,7 +31078,7 @@ function equals$6$1(existing, incoming) {
|
|
|
31020
31078
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
31021
31079
|
|| (existing_recordTypeInfo != null &&
|
|
31022
31080
|
incoming_recordTypeInfo != null &&
|
|
31023
|
-
equals$
|
|
31081
|
+
equals$17(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
31024
31082
|
return false;
|
|
31025
31083
|
}
|
|
31026
31084
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -31213,8 +31271,8 @@ function validateAdapterConfig$6$1(untrustedConfig, configPropertyNames) {
|
|
|
31213
31271
|
}
|
|
31214
31272
|
|
|
31215
31273
|
const contextId$2$1 = `${keyPrefix$3}__${adapterName$4$2}`;
|
|
31216
|
-
const layoutSelections$3 = select$
|
|
31217
|
-
const objectInfoSelections$1 = select$
|
|
31274
|
+
const layoutSelections$3 = select$1K$1();
|
|
31275
|
+
const objectInfoSelections$1 = select$1M();
|
|
31218
31276
|
function buildSelector$1(resp) {
|
|
31219
31277
|
const recordSelections = buildSelectionFromRecord$1(resp.record);
|
|
31220
31278
|
return [
|
|
@@ -31416,7 +31474,7 @@ const select$3$2 = function RecordTemplateCloneRepresentationSelect() {
|
|
|
31416
31474
|
name: 'fields',
|
|
31417
31475
|
kind: 'Link',
|
|
31418
31476
|
map: true,
|
|
31419
|
-
fragment: select$
|
|
31477
|
+
fragment: select$1W()
|
|
31420
31478
|
},
|
|
31421
31479
|
{
|
|
31422
31480
|
name: 'recordTypeId',
|
|
@@ -31430,7 +31488,7 @@ const dynamicSelect$3$1 = function dynamicRecordTemplateCloneRepresentationSelec
|
|
|
31430
31488
|
name: 'fields',
|
|
31431
31489
|
kind: 'Link',
|
|
31432
31490
|
map: true,
|
|
31433
|
-
fragment: select$
|
|
31491
|
+
fragment: select$1W()
|
|
31434
31492
|
} : params.fields;
|
|
31435
31493
|
return {
|
|
31436
31494
|
kind: 'Fragment',
|
|
@@ -31560,7 +31618,7 @@ const dynamicSelect$2$1 = function dynamicRecordDefaultsTemplateCloneRepresentat
|
|
|
31560
31618
|
name: 'objectInfos',
|
|
31561
31619
|
kind: 'Link',
|
|
31562
31620
|
map: true,
|
|
31563
|
-
fragment: select$
|
|
31621
|
+
fragment: select$1M()
|
|
31564
31622
|
} : params.objectInfos;
|
|
31565
31623
|
const recordPathSelection = params.record === undefined ? {
|
|
31566
31624
|
name: 'record',
|
|
@@ -31689,6 +31747,17 @@ function selectFields$3$1(luvio, params) {
|
|
|
31689
31747
|
|
|
31690
31748
|
const select$2$2 = (luvio, params) => {
|
|
31691
31749
|
let { optionalFields } = params.queryParams;
|
|
31750
|
+
const entry = luvio.getNode(keyBuilder$6$2(luvio, {
|
|
31751
|
+
cloneSourceId: params.urlParams.recordId,
|
|
31752
|
+
recordTypeId: params.queryParams.recordTypeId || null,
|
|
31753
|
+
}));
|
|
31754
|
+
// If we have data in the cache, we know the only fields that are relevant start with that record's objectApiName
|
|
31755
|
+
if (entry?.data) {
|
|
31756
|
+
const apiName = entry.data.apiName;
|
|
31757
|
+
if (optionalFields !== undefined) {
|
|
31758
|
+
optionalFields = optionalFields.filter((field) => field.startsWith(`${apiName}.`));
|
|
31759
|
+
}
|
|
31760
|
+
}
|
|
31692
31761
|
optionalFields =
|
|
31693
31762
|
optionalFields === undefined ? ['.CloneSourceId'] : [...optionalFields, '.CloneSourceId'];
|
|
31694
31763
|
return selectFields$3$1(luvio, {
|
|
@@ -31797,7 +31866,7 @@ const buildNetworkSnapshot$6$1 = (luvio, context, config, options) => {
|
|
|
31797
31866
|
const objectApiName = body.record.apiName;
|
|
31798
31867
|
// publish metadata for recordTypeId
|
|
31799
31868
|
saveDefaultRecordTypeId$1(context, body.objectInfos[objectApiName]);
|
|
31800
|
-
const optionalFieldsTrie = convertFieldsToTrie$1(resourceParams.queryParams.optionalFields);
|
|
31869
|
+
const optionalFieldsTrie = convertFieldsToTrie$1(resourceParams.queryParams.optionalFields, true, objectApiName);
|
|
31801
31870
|
luvio.storeIngest(key, createFieldsIngestSuccess$1$1({
|
|
31802
31871
|
fields: BLANK_RECORD_FIELDS_TRIE$1,
|
|
31803
31872
|
optionalFields: optionalFieldsTrie,
|
|
@@ -31951,7 +32020,7 @@ const select$1$2 = function RecordTemplateCreateRepresentationSelect() {
|
|
|
31951
32020
|
name: 'fields',
|
|
31952
32021
|
kind: 'Link',
|
|
31953
32022
|
map: true,
|
|
31954
|
-
fragment: select$
|
|
32023
|
+
fragment: select$1W()
|
|
31955
32024
|
},
|
|
31956
32025
|
{
|
|
31957
32026
|
name: 'recordTypeId',
|
|
@@ -31965,7 +32034,7 @@ const dynamicSelect$1$1 = function dynamicRecordTemplateCreateRepresentationSele
|
|
|
31965
32034
|
name: 'fields',
|
|
31966
32035
|
kind: 'Link',
|
|
31967
32036
|
map: true,
|
|
31968
|
-
fragment: select$
|
|
32037
|
+
fragment: select$1W()
|
|
31969
32038
|
} : params.fields;
|
|
31970
32039
|
return {
|
|
31971
32040
|
kind: 'Fragment',
|
|
@@ -32086,7 +32155,7 @@ const dynamicSelect$9 = function dynamicRecordDefaultsTemplateCreateRepresentati
|
|
|
32086
32155
|
name: 'objectInfos',
|
|
32087
32156
|
kind: 'Link',
|
|
32088
32157
|
map: true,
|
|
32089
|
-
fragment: select$
|
|
32158
|
+
fragment: select$1M()
|
|
32090
32159
|
} : params.objectInfos;
|
|
32091
32160
|
const recordPathSelection = params.record === undefined ? {
|
|
32092
32161
|
name: 'record',
|
|
@@ -32486,7 +32555,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
32486
32555
|
kind: 'Fragment',
|
|
32487
32556
|
private: [],
|
|
32488
32557
|
selections,
|
|
32489
|
-
version: VERSION$
|
|
32558
|
+
version: VERSION$1f$2,
|
|
32490
32559
|
},
|
|
32491
32560
|
variables: {},
|
|
32492
32561
|
});
|
|
@@ -32842,7 +32911,7 @@ function normalize$T(input, existing, path, luvio, store, timestamp) {
|
|
|
32842
32911
|
}, luvio, store, timestamp);
|
|
32843
32912
|
return input;
|
|
32844
32913
|
}
|
|
32845
|
-
function equals$
|
|
32914
|
+
function equals$1c(existing, incoming) {
|
|
32846
32915
|
const existing_contentDocument = existing.contentDocument;
|
|
32847
32916
|
const incoming_contentDocument = incoming.contentDocument;
|
|
32848
32917
|
if (!(existing_contentDocument.__ref === incoming_contentDocument.__ref)) {
|
|
@@ -32868,7 +32937,7 @@ function equals$1b(existing, incoming) {
|
|
|
32868
32937
|
const ingest$1t = function ContentDocumentCompositeRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32869
32938
|
const key = keyBuilderFromType$G(luvio, input);
|
|
32870
32939
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
32871
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$1M, RepresentationType$$, equals$
|
|
32940
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$1M, RepresentationType$$, equals$1c);
|
|
32872
32941
|
return createLink$4(key);
|
|
32873
32942
|
};
|
|
32874
32943
|
function getTypeCacheKeys$1y(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -32947,7 +33016,7 @@ const select$2d = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
32947
33016
|
fragment: {
|
|
32948
33017
|
kind: 'Fragment',
|
|
32949
33018
|
private: [],
|
|
32950
|
-
version: VERSION$
|
|
33019
|
+
version: VERSION$1f$2,
|
|
32951
33020
|
selections: buildSelectionFromRecord$1(body.contentDocument),
|
|
32952
33021
|
},
|
|
32953
33022
|
},
|
|
@@ -32958,7 +33027,7 @@ const select$2d = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
32958
33027
|
fragment: {
|
|
32959
33028
|
kind: 'Fragment',
|
|
32960
33029
|
private: [],
|
|
32961
|
-
version: VERSION$
|
|
33030
|
+
version: VERSION$1f$2,
|
|
32962
33031
|
selections: buildSelectionFromRecord$1(body.contentDocumentLinks[0] || { fields: {} }),
|
|
32963
33032
|
},
|
|
32964
33033
|
},
|
|
@@ -32968,7 +33037,7 @@ const select$2d = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
32968
33037
|
fragment: {
|
|
32969
33038
|
kind: 'Fragment',
|
|
32970
33039
|
private: [],
|
|
32971
|
-
version: VERSION$
|
|
33040
|
+
version: VERSION$1f$2,
|
|
32972
33041
|
selections: buildSelectionFromRecord$1(body.contentVersion),
|
|
32973
33042
|
},
|
|
32974
33043
|
},
|
|
@@ -33782,7 +33851,7 @@ withDefaultLuvio((luvio) => {
|
|
|
33782
33851
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33783
33852
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33784
33853
|
});
|
|
33785
|
-
// version: 1.
|
|
33854
|
+
// version: 1.323.0-34d96539ec
|
|
33786
33855
|
|
|
33787
33856
|
var ldsIdempotencyWriteDisabled = {
|
|
33788
33857
|
isOpen: function (e) {
|
|
@@ -56204,7 +56273,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
56204
56273
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$b);
|
|
56205
56274
|
};
|
|
56206
56275
|
|
|
56207
|
-
function validate$
|
|
56276
|
+
function validate$p(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
56208
56277
|
const v_error = (() => {
|
|
56209
56278
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
56210
56279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -57347,7 +57416,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
57347
57416
|
const untrustedConfig_relatedListParameters_array = [];
|
|
57348
57417
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
57349
57418
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
57350
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
57419
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$p(untrustedConfig_relatedListParameters_item);
|
|
57351
57420
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
57352
57421
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
57353
57422
|
}
|
|
@@ -57589,7 +57658,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
57589
57658
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
57590
57659
|
};
|
|
57591
57660
|
|
|
57592
|
-
function validate$
|
|
57661
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
57593
57662
|
const v_error = (() => {
|
|
57594
57663
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
57595
57664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -57636,7 +57705,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
57636
57705
|
return v_error === undefined ? null : v_error;
|
|
57637
57706
|
}
|
|
57638
57707
|
|
|
57639
|
-
function validate$
|
|
57708
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
57640
57709
|
const v_error = (() => {
|
|
57641
57710
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
57642
57711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -57751,7 +57820,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
57751
57820
|
return v_error === undefined ? null : v_error;
|
|
57752
57821
|
}
|
|
57753
57822
|
|
|
57754
|
-
function validate$
|
|
57823
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
57755
57824
|
const v_error = (() => {
|
|
57756
57825
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
57757
57826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -57768,7 +57837,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
57768
57837
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
57769
57838
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
57770
57839
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
57771
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
57840
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
57772
57841
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
57773
57842
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' +
|
|
57774
57843
|
path_dataCategories_item +
|
|
@@ -57792,7 +57861,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
57792
57861
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
57793
57862
|
const obj_filters_item = obj_filters[i];
|
|
57794
57863
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
57795
|
-
const referencepath_filters_itemValidationError = validate$
|
|
57864
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
57796
57865
|
if (referencepath_filters_itemValidationError !== null) {
|
|
57797
57866
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' +
|
|
57798
57867
|
path_filters_item +
|
|
@@ -57935,7 +58004,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
57935
58004
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
57936
58005
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
57937
58006
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
57938
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
58007
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
57939
58008
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
57940
58009
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
57941
58010
|
untrustedConfig_searchObjectOptions_object[key] =
|
|
@@ -58151,7 +58220,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
58151
58220
|
const untrustedConfig_filters_array = [];
|
|
58152
58221
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
58153
58222
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
58154
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
58223
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
58155
58224
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
58156
58225
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
58157
58226
|
}
|
|
@@ -79643,8 +79712,12 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
79643
79712
|
this.sideEffectService = sideEffectService;
|
|
79644
79713
|
this.durableRecordStore = durableRecordStore;
|
|
79645
79714
|
this.handlerId = LDS_ACTION_HANDLER_ID;
|
|
79715
|
+
this.sideEffectHooks = [];
|
|
79646
79716
|
recordService.registerRecordHandler(this);
|
|
79647
79717
|
}
|
|
79718
|
+
setSideEffectHooks(hooks) {
|
|
79719
|
+
this.sideEffectHooks = hooks;
|
|
79720
|
+
}
|
|
79648
79721
|
async buildPendingAction(request, queue) {
|
|
79649
79722
|
const resolvedRequest = this.resolveResourceRequest(request);
|
|
79650
79723
|
let pendingAction = (await super.buildPendingAction(resolvedRequest, queue));
|
|
@@ -79805,21 +79878,30 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
79805
79878
|
}
|
|
79806
79879
|
async draftActionToSideEffects(action) {
|
|
79807
79880
|
const method = action.data.method;
|
|
79881
|
+
const apiName = action.metadata[LDS_ACTION_METADATA_API_NAME];
|
|
79882
|
+
const effects = [];
|
|
79883
|
+
const hookTriggers = this.sideEffectHooks.filter((h) => h.on === method && h.apiName === apiName);
|
|
79808
79884
|
switch (method) {
|
|
79809
79885
|
case 'post': {
|
|
79810
|
-
|
|
79811
|
-
|
|
79812
|
-
|
|
79886
|
+
effects.push(await this.sideEffectService.createRecordCreateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields));
|
|
79887
|
+
break;
|
|
79888
|
+
}
|
|
79889
|
+
case 'patch': {
|
|
79890
|
+
effects.push(await this.sideEffectService.createRecordUpdateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields));
|
|
79891
|
+
break;
|
|
79892
|
+
}
|
|
79893
|
+
case 'delete': {
|
|
79894
|
+
effects.push(await this.sideEffectService.createRecordDeleteSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp));
|
|
79895
|
+
break;
|
|
79813
79896
|
}
|
|
79814
|
-
case 'patch':
|
|
79815
|
-
return [
|
|
79816
|
-
await this.sideEffectService.createRecordUpdateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields),
|
|
79817
|
-
];
|
|
79818
|
-
case 'delete':
|
|
79819
|
-
return [
|
|
79820
|
-
await this.sideEffectService.createRecordDeleteSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp),
|
|
79821
|
-
];
|
|
79822
79897
|
}
|
|
79898
|
+
for (const trigger of hookTriggers) {
|
|
79899
|
+
const hookEffects = await trigger.then(action.id, action.timestamp, action.targetId, action.data.body.fields);
|
|
79900
|
+
for (const hookEffect of hookEffects) {
|
|
79901
|
+
effects.push(hookEffect);
|
|
79902
|
+
}
|
|
79903
|
+
}
|
|
79904
|
+
return effects;
|
|
79823
79905
|
}
|
|
79824
79906
|
updateMetadata(existingMetadata, incomingMetadata) {
|
|
79825
79907
|
// ensure the the api name cannot be overwritten in the incoming metadata
|
|
@@ -90154,7 +90236,7 @@ class RecordIngestor {
|
|
|
90154
90236
|
namespace: keyPrefix$3,
|
|
90155
90237
|
representationName: RepresentationType$V,
|
|
90156
90238
|
metadataVersion: DURABLE_METADATA_VERSION,
|
|
90157
|
-
version: VERSION$
|
|
90239
|
+
version: VERSION$1f$2,
|
|
90158
90240
|
};
|
|
90159
90241
|
return this.store.writeRecords(syntheticRecords.map((record) => ({ record, metadata })), overwrite);
|
|
90160
90242
|
}
|
|
@@ -92310,6 +92392,11 @@ function isStoreRecordError(storeRecord) {
|
|
|
92310
92392
|
return storeRecord.__type === 'error';
|
|
92311
92393
|
}
|
|
92312
92394
|
|
|
92395
|
+
// SFS to implement custom side effects here
|
|
92396
|
+
// see packages/lds-runtime-mobile/src/__tests__/integration/sideEffects/examples/BananasSideEffects.ts for examples
|
|
92397
|
+
// see packages/lds-runtime-mobile/src/__tests__/integration/sideEffects/side-effect-integration.spec.ts for example tests
|
|
92398
|
+
var sfsSideEffectHooks = [];
|
|
92399
|
+
|
|
92313
92400
|
// so eslint doesn't complain about nimbus
|
|
92314
92401
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
92315
92402
|
/* global __nimbus */
|
|
@@ -92390,6 +92477,7 @@ function getRuntime() {
|
|
|
92390
92477
|
lazySideEffectService = new SideEffectService(lazyDurableRecordStore, lazyObjectInfoService, userId, formatDisplayValue);
|
|
92391
92478
|
const draftService = new UiApiDraftRecordService(() => lazyLuvio, lazyDurableStore, lazyObjectInfoService, newRecordId, lazySideEffectStore, lazyDurableRecordStore);
|
|
92392
92479
|
const uiApiRecordHandler = new UiApiActionHandler(() => lazyLuvio, lazyNetworkAdapter, lazyDraftQueue, getRecord, lazyObjectInfoService, isGenerated, draftService, lazySideEffectService, lazyDurableRecordStore);
|
|
92480
|
+
uiApiRecordHandler.setSideEffectHooks(sfsSideEffectHooks);
|
|
92393
92481
|
const quickActionHandler = new QuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
92394
92482
|
const updateRecordQuickActionHandler = new UpdateRecordQuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
92395
92483
|
const contentDocumentCompositeActionHandler = new ContentDocumentCompositeRepresentationActionHandler(() => lazyLuvio, userId, draftService, lazyObjectInfoService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, NimbusBinaryStore, lazySideEffectService);
|
|
@@ -92496,7 +92584,7 @@ register$1({
|
|
|
92496
92584
|
id: '@salesforce/lds-network-adapter',
|
|
92497
92585
|
instrument: instrument$2,
|
|
92498
92586
|
});
|
|
92499
|
-
// version: 1.
|
|
92587
|
+
// version: 1.323.0-ddaba12fc0
|
|
92500
92588
|
|
|
92501
92589
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92502
92590
|
const { stringify, parse } = JSON;
|
|
@@ -115063,7 +115151,7 @@ register$1({
|
|
|
115063
115151
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115064
115152
|
instrument: instrument$1,
|
|
115065
115153
|
});
|
|
115066
|
-
// version: 1.
|
|
115154
|
+
// version: 1.323.0-34d96539ec
|
|
115067
115155
|
|
|
115068
115156
|
// On core the unstable adapters are re-exported with different names,
|
|
115069
115157
|
// we want to match them here.
|
|
@@ -115215,7 +115303,7 @@ withDefaultLuvio((luvio) => {
|
|
|
115215
115303
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115216
115304
|
graphQLImperative = ldsAdapter;
|
|
115217
115305
|
});
|
|
115218
|
-
// version: 1.
|
|
115306
|
+
// version: 1.323.0-34d96539ec
|
|
115219
115307
|
|
|
115220
115308
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115221
115309
|
__proto__: null,
|
|
@@ -115971,7 +116059,7 @@ const callbacks$1 = [];
|
|
|
115971
116059
|
function register(r) {
|
|
115972
116060
|
callbacks$1.forEach((callback) => callback(r));
|
|
115973
116061
|
}
|
|
115974
|
-
// version: 1.
|
|
116062
|
+
// version: 1.323.0-ddaba12fc0
|
|
115975
116063
|
|
|
115976
116064
|
/**
|
|
115977
116065
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117034,4 +117122,4 @@ const { luvio } = getRuntime();
|
|
|
117034
117122
|
setDefaultLuvio({ luvio });
|
|
117035
117123
|
|
|
117036
117124
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
117037
|
-
// version: 1.
|
|
117125
|
+
// version: 1.323.0-ddaba12fc0
|