@salesforce/lds-adapters-uiapi 1.283.0 → 1.285.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.
- package/dist/es/es2018/types/src/configuration.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/graphql/types/Setup__Setup.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectInfoRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/main.d.ts +6 -2
- package/dist/es/es2018/types/src/primitives/FieldId/coerce.d.ts +2 -1
- package/dist/es/es2018/types/src/primitives/FieldIdArray/coerce.d.ts +4 -1
- package/dist/es/es2018/uiapi-records-service.js +183 -128
- package/package.json +7 -7
- package/sfdc/graphqlAdapters.js +54 -14
- package/sfdc/index.js +82 -18
- package/sfdc/uiapi-static-functions.js +5 -3
- package/src/raml/api.raml +4 -0
- package/src/raml/luvio.raml +8 -3
|
@@ -66,6 +66,32 @@ let trackedFieldDepthOnNotifyChange = 5;
|
|
|
66
66
|
* @defaultValue 'false', replicates the current behavior and fetches all fields in the store for the leaf relationship record
|
|
67
67
|
*/
|
|
68
68
|
let trackedFieldLeafNodeIdAndNameOnly = false;
|
|
69
|
+
/**
|
|
70
|
+
* One store enabled Get Object Info adapter
|
|
71
|
+
*/
|
|
72
|
+
let oneStoreGetObjectInfoAdapter = undefined;
|
|
73
|
+
/**
|
|
74
|
+
* One store enabled Get Object Infos adapter
|
|
75
|
+
*/
|
|
76
|
+
let oneStoreGetObjectInfosAdapter = undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Defines the configuration API and is exposed internally as well as externally.
|
|
79
|
+
* Configuration for one store enabled REST adapters only.
|
|
80
|
+
*/
|
|
81
|
+
const configurationForOneStoreEnabledAdapters = {
|
|
82
|
+
setGetObjectInfoAdapter: function (adapter) {
|
|
83
|
+
oneStoreGetObjectInfoAdapter = adapter;
|
|
84
|
+
},
|
|
85
|
+
getGetObjectInfoAdapter: function () {
|
|
86
|
+
return oneStoreGetObjectInfoAdapter;
|
|
87
|
+
},
|
|
88
|
+
setGetObjectInfosAdapter: function (adapter) {
|
|
89
|
+
oneStoreGetObjectInfosAdapter = adapter;
|
|
90
|
+
},
|
|
91
|
+
getGetObjectInfosAdapter: function () {
|
|
92
|
+
return oneStoreGetObjectInfosAdapter;
|
|
93
|
+
},
|
|
94
|
+
};
|
|
69
95
|
/**
|
|
70
96
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
71
97
|
* Configuration for REST adapters only.
|
|
@@ -130,6 +156,7 @@ const configurationForRestAdapters = {
|
|
|
130
156
|
getDraftAwareCreateContentVersionAdapter: function () {
|
|
131
157
|
return draftAwareCreateContentVersionAdapter;
|
|
132
158
|
},
|
|
159
|
+
...configurationForOneStoreEnabledAdapters,
|
|
133
160
|
};
|
|
134
161
|
/**
|
|
135
162
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
@@ -526,15 +553,17 @@ function splitQualifiedFieldApiName(fieldApiName) {
|
|
|
526
553
|
/**
|
|
527
554
|
* Returns the field API name, qualified with an object name if possible.
|
|
528
555
|
* @param value The value from which to get the qualified field API name.
|
|
556
|
+
* @param onlyQualifiedFieldNames - Whether or not this function should skip fieldApiName that do not include the delimiter '.'
|
|
529
557
|
* @return The qualified field API name.
|
|
530
558
|
*/
|
|
531
|
-
function getFieldApiName(value) {
|
|
559
|
+
function getFieldApiName(value, onlyQualifiedFieldNames = false) {
|
|
532
560
|
// Note: tightening validation logic changes behavior from userland getting
|
|
533
561
|
// a server-provided error to the adapter noop'ing. In 224 we decided to not
|
|
534
|
-
// change the behavior.
|
|
562
|
+
// change the behavior. In 250 we decided to add the 'onlyQualifiedFieldName' flag to tighten the logic
|
|
563
|
+
// optionally to avoid issues with persisted invalid field names.
|
|
535
564
|
if (isString(value)) {
|
|
536
565
|
const trimmed = value.trim();
|
|
537
|
-
if (trimmed.length > 0) {
|
|
566
|
+
if (trimmed.length > 0 && (onlyQualifiedFieldNames ? trimmed.indexOf('.') > -1 : true)) {
|
|
538
567
|
return trimmed;
|
|
539
568
|
}
|
|
540
569
|
}
|
|
@@ -547,15 +576,19 @@ function getFieldApiName(value) {
|
|
|
547
576
|
/**
|
|
548
577
|
* Returns the field API name.
|
|
549
578
|
* @param value The value from which to get the field API name.
|
|
579
|
+
* @param options Option bag. onlyQualifiedFieldNames is a boolean that allows this function to skip returning invalid FieldApiNames.
|
|
550
580
|
* @returns The field API name.
|
|
551
581
|
*/
|
|
552
|
-
function getFieldApiNamesArray(value) {
|
|
582
|
+
function getFieldApiNamesArray(value, options = { onlyQualifiedFieldNames: false }) {
|
|
553
583
|
const valueArray = isArray(value) ? value : [value];
|
|
554
584
|
const array = [];
|
|
555
585
|
for (let i = 0, len = valueArray.length; i < len; i += 1) {
|
|
556
586
|
const item = valueArray[i];
|
|
557
|
-
const apiName = getFieldApiName(item);
|
|
587
|
+
const apiName = getFieldApiName(item, options.onlyQualifiedFieldNames);
|
|
558
588
|
if (apiName === undefined) {
|
|
589
|
+
if (options.onlyQualifiedFieldNames) {
|
|
590
|
+
continue; // Just skips invalid field names rather than failing to return an array at all
|
|
591
|
+
}
|
|
559
592
|
return undefined;
|
|
560
593
|
}
|
|
561
594
|
push.call(array, apiName);
|
|
@@ -1478,7 +1511,7 @@ function getTypeCacheKeys$27(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1478
1511
|
});
|
|
1479
1512
|
}
|
|
1480
1513
|
|
|
1481
|
-
const TTL$
|
|
1514
|
+
const TTL$G = 900000;
|
|
1482
1515
|
const VERSION$2s = "c658fe1591386d570e214eaed0daadd1";
|
|
1483
1516
|
function validate$1X(obj, path = 'ListInfoRepresentation') {
|
|
1484
1517
|
const v_error = (() => {
|
|
@@ -1851,7 +1884,7 @@ const ingest$22 = function ListInfoRepresentationIngest(input, path, luvio, stor
|
|
|
1851
1884
|
}
|
|
1852
1885
|
}
|
|
1853
1886
|
const key = keyBuilderFromType$E(luvio, input);
|
|
1854
|
-
const ttlToUse = TTL$
|
|
1887
|
+
const ttlToUse = TTL$G;
|
|
1855
1888
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$U, "UiApi", VERSION$2s, RepresentationType$10, equals$17);
|
|
1856
1889
|
return createLink$1(key);
|
|
1857
1890
|
};
|
|
@@ -2217,7 +2250,7 @@ const getTypeCacheKeys$24 = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2217
2250
|
return rootKeySet;
|
|
2218
2251
|
};
|
|
2219
2252
|
|
|
2220
|
-
const TTL$
|
|
2253
|
+
const TTL$F = 120000;
|
|
2221
2254
|
const VERSION$2p = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2222
2255
|
function validate$1U(obj, path = 'RecordCollectionRepresentation') {
|
|
2223
2256
|
const v_error = (() => {
|
|
@@ -2498,7 +2531,7 @@ const ingest$20 = function RecordCollectionRepresentationIngest(input, path, luv
|
|
|
2498
2531
|
}
|
|
2499
2532
|
}
|
|
2500
2533
|
const key = path.fullPath;
|
|
2501
|
-
const ttlToUse = TTL$
|
|
2534
|
+
const ttlToUse = TTL$F;
|
|
2502
2535
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$S, "UiApi", VERSION$2p, RepresentationType$_, equals$14);
|
|
2503
2536
|
return createLink$1(key);
|
|
2504
2537
|
};
|
|
@@ -2526,7 +2559,7 @@ const keyBuilderFromType$D = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2526
2559
|
return keyBuilderFromType$C(luvio, object);
|
|
2527
2560
|
};
|
|
2528
2561
|
|
|
2529
|
-
const TTL$
|
|
2562
|
+
const TTL$E = 30000;
|
|
2530
2563
|
const VERSION$2o = "98c5b18512e48ca8d28727549507e4ba";
|
|
2531
2564
|
function validate$1T(obj, path = 'RecordRepresentation') {
|
|
2532
2565
|
const v_error = (() => {
|
|
@@ -4686,7 +4719,7 @@ const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION
|
|
|
4686
4719
|
const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
|
|
4687
4720
|
representationName: '',
|
|
4688
4721
|
namespace: keyPrefix,
|
|
4689
|
-
ttl: TTL$
|
|
4722
|
+
ttl: TTL$E,
|
|
4690
4723
|
version: RECORD_REPRESENTATION_ERROR_VERSION,
|
|
4691
4724
|
};
|
|
4692
4725
|
function isGraphNode(node) {
|
|
@@ -5608,7 +5641,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5608
5641
|
luvio.storePublish(key, incomingRecord);
|
|
5609
5642
|
}
|
|
5610
5643
|
luvio.publishStoreMetadata(key, {
|
|
5611
|
-
ttl: TTL$
|
|
5644
|
+
ttl: TTL$E,
|
|
5612
5645
|
representationName: RepresentationType$Z,
|
|
5613
5646
|
namespace: keyPrefix,
|
|
5614
5647
|
version: VERSION$2o,
|
|
@@ -5968,7 +6001,7 @@ function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, chi
|
|
|
5968
6001
|
// track non-cached responses so rebuilds work properly
|
|
5969
6002
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
5970
6003
|
nonCachedErrors$8[childKey] = {
|
|
5971
|
-
expiration: now + TTL$
|
|
6004
|
+
expiration: now + TTL$E,
|
|
5972
6005
|
response: childBody,
|
|
5973
6006
|
status: childStatusCode,
|
|
5974
6007
|
};
|
|
@@ -6544,8 +6577,8 @@ function revertPaginationOptimization(variables) {
|
|
|
6544
6577
|
}
|
|
6545
6578
|
}
|
|
6546
6579
|
|
|
6547
|
-
const TTL$
|
|
6548
|
-
const VERSION$2m = "
|
|
6580
|
+
const TTL$D = 30000;
|
|
6581
|
+
const VERSION$2m = "e5c90c4081cd557f8ffec53028ede1e8";
|
|
6549
6582
|
function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6550
6583
|
const v_error = (() => {
|
|
6551
6584
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6835,14 +6868,13 @@ function validate$1S(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6835
6868
|
}
|
|
6836
6869
|
const RepresentationType$Y = 'ListRecordCollectionRepresentation';
|
|
6837
6870
|
function keyBuilder$3k(luvio, config) {
|
|
6838
|
-
return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.
|
|
6871
|
+
return keyPrefix + '::' + RepresentationType$Y + ':' + config.objectApiName + ':' + (config.searchTerm === null ? '' : config.searchTerm) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + (config.where === null ? '' : config.where) + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
6839
6872
|
}
|
|
6840
6873
|
function keyBuilderFromType$B(luvio, object) {
|
|
6841
6874
|
const keyParams = {
|
|
6842
6875
|
objectApiName: object.listReference.objectApiName,
|
|
6843
6876
|
searchTerm: object.searchTerm,
|
|
6844
6877
|
sortBy: object.sortBy,
|
|
6845
|
-
listViewId: object.listInfoETag,
|
|
6846
6878
|
where: object.where,
|
|
6847
6879
|
listViewApiName: object.listReference.listViewApiName
|
|
6848
6880
|
};
|
|
@@ -7190,7 +7222,7 @@ const ingest$1_ = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
7190
7222
|
}
|
|
7191
7223
|
const key = keyBuilderFromType$B(luvio, input);
|
|
7192
7224
|
const existingRecord = store.readEntry(key);
|
|
7193
|
-
const ttlToUse = TTL$
|
|
7225
|
+
const ttlToUse = TTL$D;
|
|
7194
7226
|
let incomingRecord = normalize$Q(input, store.readEntry(key), {
|
|
7195
7227
|
fullPath: key,
|
|
7196
7228
|
parent: path.parent,
|
|
@@ -7278,7 +7310,7 @@ function getTypeCacheKeys$21(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7278
7310
|
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
7279
7311
|
return function notifyListRecordCollectionUpdateAvailable(configs) {
|
|
7280
7312
|
if (process.env.NODE_ENV !== 'production') {
|
|
7281
|
-
const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', '
|
|
7313
|
+
const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'where', 'listViewApiName'];
|
|
7282
7314
|
configs.forEach(config => {
|
|
7283
7315
|
if (false === requiredKeyParams.every(req => req in config)) {
|
|
7284
7316
|
throw new Error(`one of the configs did not contain all required parameters: ${JSONStringify(ObjectKeys(config))}`);
|
|
@@ -8632,7 +8664,8 @@ function keyBuilder$3c(luvio, params) {
|
|
|
8632
8664
|
return keyBuilder$3k(luvio, {
|
|
8633
8665
|
objectApiName: listReference.objectApiName,
|
|
8634
8666
|
listViewApiName: listReference.listViewApiName,
|
|
8635
|
-
listViewId
|
|
8667
|
+
// # removing listViewId from key only supporing getting records using api name
|
|
8668
|
+
// listViewId: listReference.id,
|
|
8636
8669
|
searchTerm: params.body.searchTerm || null,
|
|
8637
8670
|
where: params.body.where || null,
|
|
8638
8671
|
sortBy: params.body.sortBy !== undefined && params.body.sortBy.length <= 0
|
|
@@ -8645,7 +8678,8 @@ function keyBuilder$3c(luvio, params) {
|
|
|
8645
8678
|
return keyBuilder$3k(luvio, {
|
|
8646
8679
|
objectApiName: params.urlParams.objectApiName,
|
|
8647
8680
|
listViewApiName: params.urlParams.listViewApiName,
|
|
8648
|
-
listViewId
|
|
8681
|
+
// # removing listViewId from key only supporing getting records using api name
|
|
8682
|
+
// listViewId: '',
|
|
8649
8683
|
searchTerm: params.body.searchTerm || null,
|
|
8650
8684
|
where: params.body.where || null,
|
|
8651
8685
|
sortBy: params.body.sortBy || [],
|
|
@@ -8709,7 +8743,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
|
|
|
8709
8743
|
const key = keyBuilder$3c(luvio, params);
|
|
8710
8744
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
8711
8745
|
const storeMetadataParams = {
|
|
8712
|
-
ttl: TTL$
|
|
8746
|
+
ttl: TTL$D,
|
|
8713
8747
|
namespace: keyPrefix,
|
|
8714
8748
|
version: VERSION$2m,
|
|
8715
8749
|
representationName: RepresentationType$Y
|
|
@@ -10975,7 +11009,7 @@ function validate$1I(obj, path = 'ThemeInfoRepresentation') {
|
|
|
10975
11009
|
return v_error === undefined ? null : v_error;
|
|
10976
11010
|
}
|
|
10977
11011
|
|
|
10978
|
-
const TTL$
|
|
11012
|
+
const TTL$C = 900000;
|
|
10979
11013
|
const VERSION$2g = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
10980
11014
|
function validate$1H(obj, path = 'ObjectInfoRepresentation') {
|
|
10981
11015
|
const v_error = (() => {
|
|
@@ -11390,7 +11424,7 @@ const ingest$1U = function ObjectInfoRepresentationIngest(input, path, luvio, st
|
|
|
11390
11424
|
}
|
|
11391
11425
|
}
|
|
11392
11426
|
const key = keyBuilderFromType$v(luvio, input);
|
|
11393
|
-
const ttlToUse = TTL$
|
|
11427
|
+
const ttlToUse = TTL$C;
|
|
11394
11428
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$2g, RepresentationType$S, equals$Y);
|
|
11395
11429
|
return createLink$1(key);
|
|
11396
11430
|
};
|
|
@@ -11436,7 +11470,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
11436
11470
|
const key = keyBuilder$35(luvio, params);
|
|
11437
11471
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
11438
11472
|
const storeMetadataParams = {
|
|
11439
|
-
ttl: TTL$
|
|
11473
|
+
ttl: TTL$C,
|
|
11440
11474
|
namespace: keyPrefix,
|
|
11441
11475
|
version: VERSION$2g,
|
|
11442
11476
|
representationName: RepresentationType$S
|
|
@@ -11828,7 +11862,7 @@ function validate$1C(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11828
11862
|
return v_error === undefined ? null : v_error;
|
|
11829
11863
|
}
|
|
11830
11864
|
|
|
11831
|
-
const TTL$
|
|
11865
|
+
const TTL$B = 900000;
|
|
11832
11866
|
const VERSION$2f = "fb515e25a89ca1ec154dc865e72b913a";
|
|
11833
11867
|
function validate$1B(obj, path = 'RecordLayoutRepresentation') {
|
|
11834
11868
|
const v_error = (() => {
|
|
@@ -12032,7 +12066,7 @@ const ingest$1T = function RecordLayoutRepresentationIngest(input, path, luvio,
|
|
|
12032
12066
|
}
|
|
12033
12067
|
}
|
|
12034
12068
|
const key = keyBuilderFromType$u(luvio, input);
|
|
12035
|
-
const ttlToUse = TTL$
|
|
12069
|
+
const ttlToUse = TTL$B;
|
|
12036
12070
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$2f, RepresentationType$R, equals$X);
|
|
12037
12071
|
return createLink$1(key);
|
|
12038
12072
|
};
|
|
@@ -12087,7 +12121,7 @@ function validate$1A(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
12087
12121
|
return v_error === undefined ? null : v_error;
|
|
12088
12122
|
}
|
|
12089
12123
|
|
|
12090
|
-
const TTL$
|
|
12124
|
+
const TTL$A = 900000;
|
|
12091
12125
|
const VERSION$2e = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
12092
12126
|
function validate$1z(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
12093
12127
|
const v_error = (() => {
|
|
@@ -12192,7 +12226,7 @@ const ingest$1S = function RecordLayoutUserStateRepresentationIngest(input, path
|
|
|
12192
12226
|
}
|
|
12193
12227
|
}
|
|
12194
12228
|
const key = keyBuilderFromType$t(luvio, input);
|
|
12195
|
-
const ttlToUse = TTL$
|
|
12229
|
+
const ttlToUse = TTL$A;
|
|
12196
12230
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$2e, RepresentationType$Q, equals$W);
|
|
12197
12231
|
return createLink$1(key);
|
|
12198
12232
|
};
|
|
@@ -12206,7 +12240,7 @@ function getTypeCacheKeys$1V(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12206
12240
|
});
|
|
12207
12241
|
}
|
|
12208
12242
|
|
|
12209
|
-
const TTL$
|
|
12243
|
+
const TTL$z = 900000;
|
|
12210
12244
|
const VERSION$2d = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
12211
12245
|
function validate$1y(obj, path = 'RecordUiRepresentation') {
|
|
12212
12246
|
const v_error = (() => {
|
|
@@ -12476,7 +12510,7 @@ const ingest$1R = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
12476
12510
|
}
|
|
12477
12511
|
}
|
|
12478
12512
|
const key = path.fullPath;
|
|
12479
|
-
const ttlToUse = TTL$
|
|
12513
|
+
const ttlToUse = TTL$z;
|
|
12480
12514
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$2d, RepresentationType$P, equals$V);
|
|
12481
12515
|
return createLink$1(key);
|
|
12482
12516
|
};
|
|
@@ -12731,7 +12765,7 @@ const GET_RECORDUI_ADAPTER_CONFIG = {
|
|
|
12731
12765
|
};
|
|
12732
12766
|
const RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION = 'RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION_1';
|
|
12733
12767
|
const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
|
|
12734
|
-
ttl: TTL$
|
|
12768
|
+
ttl: TTL$z,
|
|
12735
12769
|
representationName: '',
|
|
12736
12770
|
namespace: keyPrefix,
|
|
12737
12771
|
version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
|
|
@@ -14088,7 +14122,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14088
14122
|
});
|
|
14089
14123
|
}
|
|
14090
14124
|
|
|
14091
|
-
const TTL$
|
|
14125
|
+
const TTL$y = 900000;
|
|
14092
14126
|
const VERSION$29 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
14093
14127
|
function validate$1u(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
14094
14128
|
const v_error = (() => {
|
|
@@ -14960,7 +14994,7 @@ function getTypeCacheKeys$1P(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14960
14994
|
}
|
|
14961
14995
|
}
|
|
14962
14996
|
|
|
14963
|
-
const TTL$
|
|
14997
|
+
const TTL$x = 300000;
|
|
14964
14998
|
const VERSION$26 = "e485d96c1402a9ca2f56e56485af0216";
|
|
14965
14999
|
function validate$1r(obj, path = 'ActionRepresentation') {
|
|
14966
15000
|
const v_error = (() => {
|
|
@@ -15066,7 +15100,7 @@ const ingest$1L = function ActionRepresentationIngest(input, path, luvio, store,
|
|
|
15066
15100
|
}
|
|
15067
15101
|
}
|
|
15068
15102
|
const key = path.fullPath;
|
|
15069
|
-
const ttlToUse = TTL$
|
|
15103
|
+
const ttlToUse = TTL$x;
|
|
15070
15104
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$26, RepresentationType$I, equals$O);
|
|
15071
15105
|
return createLink$1(key);
|
|
15072
15106
|
};
|
|
@@ -15117,7 +15151,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
15117
15151
|
const key = keyBuilder$2X(luvio, params);
|
|
15118
15152
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15119
15153
|
const storeMetadataParams = {
|
|
15120
|
-
ttl: TTL$
|
|
15154
|
+
ttl: TTL$x,
|
|
15121
15155
|
namespace: keyPrefix,
|
|
15122
15156
|
version: VERSION$26,
|
|
15123
15157
|
representationName: RepresentationType$I
|
|
@@ -15230,7 +15264,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
15230
15264
|
buildCachedSnapshotCachePolicy$P, buildNetworkSnapshotCachePolicy$Q);
|
|
15231
15265
|
};
|
|
15232
15266
|
|
|
15233
|
-
const TTL$
|
|
15267
|
+
const TTL$w = 900000;
|
|
15234
15268
|
const VERSION$25 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
15235
15269
|
function validate$1q(obj, path = 'QuickActionLayoutRepresentation') {
|
|
15236
15270
|
const v_error = (() => {
|
|
@@ -15305,7 +15339,7 @@ const ingest$1K = function QuickActionLayoutRepresentationIngest(input, path, lu
|
|
|
15305
15339
|
}
|
|
15306
15340
|
}
|
|
15307
15341
|
const key = keyBuilderFromType$n(luvio, input);
|
|
15308
|
-
const ttlToUse = TTL$
|
|
15342
|
+
const ttlToUse = TTL$w;
|
|
15309
15343
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$25, RepresentationType$H, equals$N);
|
|
15310
15344
|
return createLink$1(key);
|
|
15311
15345
|
};
|
|
@@ -15351,7 +15385,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
15351
15385
|
const key = keyBuilder$2U(luvio, params);
|
|
15352
15386
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15353
15387
|
const storeMetadataParams = {
|
|
15354
|
-
ttl: TTL$
|
|
15388
|
+
ttl: TTL$w,
|
|
15355
15389
|
namespace: keyPrefix,
|
|
15356
15390
|
version: VERSION$25,
|
|
15357
15391
|
representationName: RepresentationType$H
|
|
@@ -15521,7 +15555,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
15521
15555
|
const key = keyBuilder$2S(luvio, params);
|
|
15522
15556
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15523
15557
|
const storeMetadataParams = {
|
|
15524
|
-
ttl: TTL$
|
|
15558
|
+
ttl: TTL$x,
|
|
15525
15559
|
namespace: keyPrefix,
|
|
15526
15560
|
version: VERSION$26,
|
|
15527
15561
|
representationName: RepresentationType$I
|
|
@@ -15663,7 +15697,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
15663
15697
|
const key = keyBuilder$2Q(luvio, params);
|
|
15664
15698
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
15665
15699
|
const storeMetadataParams = {
|
|
15666
|
-
ttl: TTL$
|
|
15700
|
+
ttl: TTL$x,
|
|
15667
15701
|
namespace: keyPrefix,
|
|
15668
15702
|
version: VERSION$26,
|
|
15669
15703
|
representationName: RepresentationType$I
|
|
@@ -16000,7 +16034,7 @@ function validate$1o(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
|
16000
16034
|
return v_error === undefined ? null : v_error;
|
|
16001
16035
|
}
|
|
16002
16036
|
|
|
16003
|
-
const TTL$
|
|
16037
|
+
const TTL$v = 300000;
|
|
16004
16038
|
const VERSION$23 = "c57b66c259b23683db7b763e132e8633";
|
|
16005
16039
|
function validate$1n(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
16006
16040
|
const v_error = (() => {
|
|
@@ -16073,7 +16107,7 @@ const ingest$1I = function FlexipageFormulaActivationRepresentationIngest(input,
|
|
|
16073
16107
|
}
|
|
16074
16108
|
}
|
|
16075
16109
|
const key = path.fullPath;
|
|
16076
|
-
const ttlToUse = TTL$
|
|
16110
|
+
const ttlToUse = TTL$v;
|
|
16077
16111
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$23, RepresentationType$F, equals$L);
|
|
16078
16112
|
return createLink$1(key);
|
|
16079
16113
|
};
|
|
@@ -16117,7 +16151,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
16117
16151
|
const key = keyBuilder$2M(luvio, params);
|
|
16118
16152
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16119
16153
|
const storeMetadataParams = {
|
|
16120
|
-
ttl: TTL$
|
|
16154
|
+
ttl: TTL$v,
|
|
16121
16155
|
namespace: keyPrefix,
|
|
16122
16156
|
version: VERSION$23,
|
|
16123
16157
|
representationName: RepresentationType$F
|
|
@@ -16229,7 +16263,7 @@ const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__ge
|
|
|
16229
16263
|
};
|
|
16230
16264
|
|
|
16231
16265
|
const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
16232
|
-
ttl: TTL$
|
|
16266
|
+
ttl: TTL$y,
|
|
16233
16267
|
namespace: keyPrefix,
|
|
16234
16268
|
representationName: RepresentationType$L,
|
|
16235
16269
|
version: VERSION$29,
|
|
@@ -16329,7 +16363,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
16329
16363
|
const key = keyBuilder$2K(luvio, params);
|
|
16330
16364
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16331
16365
|
const storeMetadataParams = {
|
|
16332
|
-
ttl: TTL$
|
|
16366
|
+
ttl: TTL$y,
|
|
16333
16367
|
namespace: keyPrefix,
|
|
16334
16368
|
version: VERSION$29,
|
|
16335
16369
|
representationName: RepresentationType$L
|
|
@@ -16498,7 +16532,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
16498
16532
|
const key = keyBuilder$2I(luvio, params);
|
|
16499
16533
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16500
16534
|
const storeMetadataParams = {
|
|
16501
|
-
ttl: TTL$
|
|
16535
|
+
ttl: TTL$x,
|
|
16502
16536
|
namespace: keyPrefix,
|
|
16503
16537
|
version: VERSION$26,
|
|
16504
16538
|
representationName: RepresentationType$I
|
|
@@ -16650,7 +16684,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
16650
16684
|
const key = keyBuilder$2G(luvio, params);
|
|
16651
16685
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16652
16686
|
const storeMetadataParams = {
|
|
16653
|
-
ttl: TTL$
|
|
16687
|
+
ttl: TTL$x,
|
|
16654
16688
|
namespace: keyPrefix,
|
|
16655
16689
|
version: VERSION$26,
|
|
16656
16690
|
representationName: RepresentationType$I
|
|
@@ -16862,7 +16896,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
16862
16896
|
const key = keyBuilder$2E(luvio, params);
|
|
16863
16897
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
16864
16898
|
const storeMetadataParams = {
|
|
16865
|
-
ttl: TTL$
|
|
16899
|
+
ttl: TTL$x,
|
|
16866
16900
|
namespace: keyPrefix,
|
|
16867
16901
|
version: VERSION$26,
|
|
16868
16902
|
representationName: RepresentationType$I
|
|
@@ -17110,7 +17144,7 @@ function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, chi
|
|
|
17110
17144
|
}
|
|
17111
17145
|
// track non-cached responses so rebuilds work properly
|
|
17112
17146
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
17113
|
-
nonCachedErrors$7[childKey] = { expiration: now + TTL$
|
|
17147
|
+
nonCachedErrors$7[childKey] = { expiration: now + TTL$x, response: childBody, status: childStatusCode };
|
|
17114
17148
|
}
|
|
17115
17149
|
else {
|
|
17116
17150
|
delete nonCachedErrors$7[childKey];
|
|
@@ -17392,7 +17426,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
17392
17426
|
const key = keyBuilder$2A(luvio, params);
|
|
17393
17427
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
17394
17428
|
const storeMetadataParams = {
|
|
17395
|
-
ttl: TTL$
|
|
17429
|
+
ttl: TTL$x,
|
|
17396
17430
|
namespace: keyPrefix,
|
|
17397
17431
|
version: VERSION$26,
|
|
17398
17432
|
representationName: RepresentationType$I
|
|
@@ -17587,7 +17621,7 @@ function getTypeCacheKeys$1K(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17587
17621
|
});
|
|
17588
17622
|
}
|
|
17589
17623
|
|
|
17590
|
-
const TTL$
|
|
17624
|
+
const TTL$u = 120000;
|
|
17591
17625
|
const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
|
|
17592
17626
|
function validate$1k(obj, path = 'NavItemRepresentation') {
|
|
17593
17627
|
const v_error = (() => {
|
|
@@ -17987,7 +18021,7 @@ const ingest$1G = function NavItemRepresentationIngest(input, path, luvio, store
|
|
|
17987
18021
|
}
|
|
17988
18022
|
}
|
|
17989
18023
|
const key = keyBuilderFromType$m(luvio, input);
|
|
17990
|
-
const ttlToUse = TTL$
|
|
18024
|
+
const ttlToUse = TTL$u;
|
|
17991
18025
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$21, RepresentationType$D, equals$J);
|
|
17992
18026
|
return createLink$1(key);
|
|
17993
18027
|
};
|
|
@@ -18004,7 +18038,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18004
18038
|
}
|
|
18005
18039
|
}
|
|
18006
18040
|
|
|
18007
|
-
const TTL$
|
|
18041
|
+
const TTL$t = 300000;
|
|
18008
18042
|
const VERSION$20 = "b33c534240965bedfcf073228d48b940";
|
|
18009
18043
|
function validate$1j(obj, path = 'AppRepresentation') {
|
|
18010
18044
|
const v_error = (() => {
|
|
@@ -18475,7 +18509,7 @@ const ingest$1F = function AppRepresentationIngest(input, path, luvio, store, ti
|
|
|
18475
18509
|
}
|
|
18476
18510
|
}
|
|
18477
18511
|
const key = keyBuilderFromType$l(luvio, input);
|
|
18478
|
-
const ttlToUse = TTL$
|
|
18512
|
+
const ttlToUse = TTL$t;
|
|
18479
18513
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$20, RepresentationType$C, equals$I);
|
|
18480
18514
|
return createLink$1(key);
|
|
18481
18515
|
};
|
|
@@ -18497,7 +18531,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18497
18531
|
}
|
|
18498
18532
|
}
|
|
18499
18533
|
|
|
18500
|
-
const TTL$
|
|
18534
|
+
const TTL$s = 300000;
|
|
18501
18535
|
const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
|
|
18502
18536
|
function validate$1i(obj, path = 'AppsRepresentation') {
|
|
18503
18537
|
const v_error = (() => {
|
|
@@ -18587,7 +18621,7 @@ const ingest$1E = function AppsRepresentationIngest(input, path, luvio, store, t
|
|
|
18587
18621
|
}
|
|
18588
18622
|
}
|
|
18589
18623
|
const key = path.fullPath;
|
|
18590
|
-
const ttlToUse = TTL$
|
|
18624
|
+
const ttlToUse = TTL$s;
|
|
18591
18625
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$1$, RepresentationType$B, equals$H);
|
|
18592
18626
|
return createLink$1(key);
|
|
18593
18627
|
};
|
|
@@ -18635,7 +18669,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
18635
18669
|
const key = keyBuilder$2w(luvio, params);
|
|
18636
18670
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18637
18671
|
const storeMetadataParams = {
|
|
18638
|
-
ttl: TTL$
|
|
18672
|
+
ttl: TTL$s,
|
|
18639
18673
|
namespace: keyPrefix,
|
|
18640
18674
|
version: VERSION$1$,
|
|
18641
18675
|
representationName: RepresentationType$B
|
|
@@ -18775,7 +18809,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
18775
18809
|
const key = keyBuilder$2u(luvio, params);
|
|
18776
18810
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18777
18811
|
const storeMetadataParams = {
|
|
18778
|
-
ttl: TTL$
|
|
18812
|
+
ttl: TTL$t,
|
|
18779
18813
|
namespace: keyPrefix,
|
|
18780
18814
|
version: VERSION$20,
|
|
18781
18815
|
representationName: RepresentationType$C
|
|
@@ -18916,7 +18950,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
18916
18950
|
const key = keyBuilder$2s(luvio, params);
|
|
18917
18951
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
18918
18952
|
const storeMetadataParams = {
|
|
18919
|
-
ttl: TTL$
|
|
18953
|
+
ttl: TTL$t,
|
|
18920
18954
|
namespace: keyPrefix,
|
|
18921
18955
|
version: VERSION$20,
|
|
18922
18956
|
representationName: RepresentationType$C
|
|
@@ -19365,7 +19399,7 @@ const select$2l = function DuplicateRuleRepresentationSelect() {
|
|
|
19365
19399
|
};
|
|
19366
19400
|
};
|
|
19367
19401
|
|
|
19368
|
-
const TTL$
|
|
19402
|
+
const TTL$r = 900000;
|
|
19369
19403
|
const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
19370
19404
|
function validate$1d(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
19371
19405
|
const v_error = (() => {
|
|
@@ -19475,7 +19509,7 @@ const ingest$1D = function DuplicatesConfigurationRepresentationIngest(input, pa
|
|
|
19475
19509
|
}
|
|
19476
19510
|
}
|
|
19477
19511
|
const key = path.fullPath;
|
|
19478
|
-
const ttlToUse = TTL$
|
|
19512
|
+
const ttlToUse = TTL$r;
|
|
19479
19513
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$1W, RepresentationType$A, equals$G);
|
|
19480
19514
|
return createLink$1(key);
|
|
19481
19515
|
};
|
|
@@ -19519,7 +19553,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
19519
19553
|
const key = keyBuilder$2q(luvio, params);
|
|
19520
19554
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
19521
19555
|
const storeMetadataParams = {
|
|
19522
|
-
ttl: TTL$
|
|
19556
|
+
ttl: TTL$r,
|
|
19523
19557
|
namespace: keyPrefix,
|
|
19524
19558
|
version: VERSION$1W,
|
|
19525
19559
|
representationName: RepresentationType$A
|
|
@@ -19658,7 +19692,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
19658
19692
|
const key = keyBuilder$2o(luvio, params);
|
|
19659
19693
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
19660
19694
|
const storeMetadataParams = {
|
|
19661
|
-
ttl: TTL$
|
|
19695
|
+
ttl: TTL$B,
|
|
19662
19696
|
namespace: keyPrefix,
|
|
19663
19697
|
version: VERSION$2f,
|
|
19664
19698
|
representationName: RepresentationType$R
|
|
@@ -20030,7 +20064,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
20030
20064
|
const key = keyBuilder$2n(luvio, params);
|
|
20031
20065
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
20032
20066
|
const storeMetadataParams = {
|
|
20033
|
-
ttl: TTL$
|
|
20067
|
+
ttl: TTL$G,
|
|
20034
20068
|
namespace: keyPrefix,
|
|
20035
20069
|
version: VERSION$2s,
|
|
20036
20070
|
representationName: RepresentationType$10
|
|
@@ -20262,7 +20296,7 @@ function ingestSuccessChildResourceParams$7(luvio, childResourceParamsArray, chi
|
|
|
20262
20296
|
}
|
|
20263
20297
|
// track non-cached responses so rebuilds work properly
|
|
20264
20298
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
20265
|
-
nonCachedErrors$6[childKey] = { expiration: now + TTL$
|
|
20299
|
+
nonCachedErrors$6[childKey] = { expiration: now + TTL$G, response: childBody, status: childStatusCode };
|
|
20266
20300
|
}
|
|
20267
20301
|
else {
|
|
20268
20302
|
delete nonCachedErrors$6[childKey];
|
|
@@ -21537,8 +21571,8 @@ function equals$C(existing, incoming) {
|
|
|
21537
21571
|
return true;
|
|
21538
21572
|
}
|
|
21539
21573
|
|
|
21540
|
-
const TTL$
|
|
21541
|
-
const VERSION$1R = "
|
|
21574
|
+
const TTL$q = 900000;
|
|
21575
|
+
const VERSION$1R = "2405a0b25c2c00f82e88b600edc16387";
|
|
21542
21576
|
function validate$16(obj, path = 'ListObjectInfoRepresentation') {
|
|
21543
21577
|
const v_error = (() => {
|
|
21544
21578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -21584,6 +21618,11 @@ function validate$16(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
21584
21618
|
if (typeof obj_objectApiName !== 'string') {
|
|
21585
21619
|
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
21586
21620
|
}
|
|
21621
|
+
const obj_publicOrSharedCreateable = obj.publicOrSharedCreateable;
|
|
21622
|
+
const path_publicOrSharedCreateable = path + '.publicOrSharedCreateable';
|
|
21623
|
+
if (typeof obj_publicOrSharedCreateable !== 'boolean') {
|
|
21624
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_publicOrSharedCreateable + '" (at "' + path_publicOrSharedCreateable + '")');
|
|
21625
|
+
}
|
|
21587
21626
|
const obj_relatedEntityApiName = obj.relatedEntityApiName;
|
|
21588
21627
|
const path_relatedEntityApiName = path + '.relatedEntityApiName';
|
|
21589
21628
|
let obj_relatedEntityApiName_union0 = null;
|
|
@@ -21654,6 +21693,10 @@ const select$29 = function ListObjectInfoRepresentationSelect() {
|
|
|
21654
21693
|
name: 'objectApiName',
|
|
21655
21694
|
kind: 'Scalar'
|
|
21656
21695
|
},
|
|
21696
|
+
{
|
|
21697
|
+
name: 'publicOrSharedCreateable',
|
|
21698
|
+
kind: 'Scalar'
|
|
21699
|
+
},
|
|
21657
21700
|
{
|
|
21658
21701
|
name: 'relatedEntityApiName',
|
|
21659
21702
|
kind: 'Scalar'
|
|
@@ -21667,6 +21710,11 @@ function equals$B(existing, incoming) {
|
|
|
21667
21710
|
if (!(existing_createable === incoming_createable)) {
|
|
21668
21711
|
return false;
|
|
21669
21712
|
}
|
|
21713
|
+
const existing_publicOrSharedCreateable = existing.publicOrSharedCreateable;
|
|
21714
|
+
const incoming_publicOrSharedCreateable = incoming.publicOrSharedCreateable;
|
|
21715
|
+
if (!(existing_publicOrSharedCreateable === incoming_publicOrSharedCreateable)) {
|
|
21716
|
+
return false;
|
|
21717
|
+
}
|
|
21670
21718
|
const existing_objectApiName = existing.objectApiName;
|
|
21671
21719
|
const incoming_objectApiName = incoming.objectApiName;
|
|
21672
21720
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -21707,7 +21755,7 @@ const ingest$1C = function ListObjectInfoRepresentationIngest(input, path, luvio
|
|
|
21707
21755
|
}
|
|
21708
21756
|
}
|
|
21709
21757
|
const key = keyBuilderFromType$k(luvio, input);
|
|
21710
|
-
const ttlToUse = TTL$
|
|
21758
|
+
const ttlToUse = TTL$q;
|
|
21711
21759
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "UiApi", VERSION$1R, RepresentationType$z, equals$B);
|
|
21712
21760
|
return createLink$1(key);
|
|
21713
21761
|
};
|
|
@@ -21753,7 +21801,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
21753
21801
|
const key = keyBuilder$2f(luvio, params);
|
|
21754
21802
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
21755
21803
|
const storeMetadataParams = {
|
|
21756
|
-
ttl: TTL$
|
|
21804
|
+
ttl: TTL$q,
|
|
21757
21805
|
namespace: keyPrefix,
|
|
21758
21806
|
version: VERSION$1R,
|
|
21759
21807
|
representationName: RepresentationType$z
|
|
@@ -21862,7 +21910,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
21862
21910
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$v);
|
|
21863
21911
|
};
|
|
21864
21912
|
|
|
21865
|
-
const TTL$
|
|
21913
|
+
const TTL$p = 900000;
|
|
21866
21914
|
const VERSION$1Q = "458d4a6a30201e422e8daec5fcb03845";
|
|
21867
21915
|
function validate$15(obj, path = 'ListPreferencesRepresentation') {
|
|
21868
21916
|
const v_error = (() => {
|
|
@@ -22015,7 +22063,7 @@ const ingest$1B = function ListPreferencesRepresentationIngest(input, path, luvi
|
|
|
22015
22063
|
}
|
|
22016
22064
|
}
|
|
22017
22065
|
const key = keyBuilderFromType$j(luvio, input);
|
|
22018
|
-
const ttlToUse = TTL$
|
|
22066
|
+
const ttlToUse = TTL$p;
|
|
22019
22067
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "UiApi", VERSION$1Q, RepresentationType$y, equals$A);
|
|
22020
22068
|
return createLink$1(key);
|
|
22021
22069
|
};
|
|
@@ -22062,7 +22110,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
22062
22110
|
const key = keyBuilder$2c(luvio, params);
|
|
22063
22111
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22064
22112
|
const storeMetadataParams = {
|
|
22065
|
-
ttl: TTL$
|
|
22113
|
+
ttl: TTL$p,
|
|
22066
22114
|
namespace: keyPrefix,
|
|
22067
22115
|
version: VERSION$1Q,
|
|
22068
22116
|
representationName: RepresentationType$y
|
|
@@ -22332,7 +22380,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
22332
22380
|
};
|
|
22333
22381
|
};
|
|
22334
22382
|
|
|
22335
|
-
const TTL$
|
|
22383
|
+
const TTL$o = 120000;
|
|
22336
22384
|
const VERSION$1P = "756779d0d7e137dd72c743544afbad82";
|
|
22337
22385
|
function validate$13(obj, path = 'NavItemsRepresentation') {
|
|
22338
22386
|
const v_error = (() => {
|
|
@@ -22468,7 +22516,7 @@ const ingest$1A = function NavItemsRepresentationIngest(input, path, luvio, stor
|
|
|
22468
22516
|
}
|
|
22469
22517
|
}
|
|
22470
22518
|
const key = path.fullPath;
|
|
22471
|
-
const ttlToUse = TTL$
|
|
22519
|
+
const ttlToUse = TTL$o;
|
|
22472
22520
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "UiApi", VERSION$1P, RepresentationType$x, equals$z);
|
|
22473
22521
|
return createLink$1(key);
|
|
22474
22522
|
};
|
|
@@ -22516,7 +22564,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
22516
22564
|
const key = keyBuilder$2a(luvio, params);
|
|
22517
22565
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22518
22566
|
const storeMetadataParams = {
|
|
22519
|
-
ttl: TTL$
|
|
22567
|
+
ttl: TTL$o,
|
|
22520
22568
|
namespace: keyPrefix,
|
|
22521
22569
|
version: VERSION$1P,
|
|
22522
22570
|
representationName: RepresentationType$x
|
|
@@ -22960,7 +23008,7 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
|
|
|
22960
23008
|
}
|
|
22961
23009
|
// track non-cached responses so rebuilds work properly
|
|
22962
23010
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
22963
|
-
nonCachedErrors$5[childKey] = { expiration: now + TTL$
|
|
23011
|
+
nonCachedErrors$5[childKey] = { expiration: now + TTL$C, response: childBody, status: childStatusCode };
|
|
22964
23012
|
}
|
|
22965
23013
|
else {
|
|
22966
23014
|
delete nonCachedErrors$5[childKey];
|
|
@@ -23345,7 +23393,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
23345
23393
|
return keyBuilder$24(luvio, { id });
|
|
23346
23394
|
};
|
|
23347
23395
|
|
|
23348
|
-
const TTL$
|
|
23396
|
+
const TTL$n = 900000;
|
|
23349
23397
|
const VERSION$1I = "0a361a49370acb4c6a31721a2057649a";
|
|
23350
23398
|
function validate$10(obj, path = 'PicklistValuesRepresentation') {
|
|
23351
23399
|
const v_error = (() => {
|
|
@@ -23477,7 +23525,7 @@ const ingest$1z = function PicklistValuesRepresentationIngest(input, path, luvio
|
|
|
23477
23525
|
}
|
|
23478
23526
|
}
|
|
23479
23527
|
const key = keyBuilderFromType$i(luvio, input);
|
|
23480
|
-
const ttlToUse = TTL$
|
|
23528
|
+
const ttlToUse = TTL$n;
|
|
23481
23529
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "UiApi", VERSION$1I, RepresentationType$w, equals$y);
|
|
23482
23530
|
return createLink$1(key);
|
|
23483
23531
|
};
|
|
@@ -23491,7 +23539,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23491
23539
|
});
|
|
23492
23540
|
}
|
|
23493
23541
|
|
|
23494
|
-
const TTL$
|
|
23542
|
+
const TTL$m = 300000;
|
|
23495
23543
|
const VERSION$1H = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
23496
23544
|
function validate$$(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
23497
23545
|
const v_error = (() => {
|
|
@@ -23586,7 +23634,7 @@ const ingest$1y = function PicklistValuesCollectionRepresentationIngest(input, p
|
|
|
23586
23634
|
}
|
|
23587
23635
|
}
|
|
23588
23636
|
const key = path.fullPath;
|
|
23589
|
-
const ttlToUse = TTL$
|
|
23637
|
+
const ttlToUse = TTL$m;
|
|
23590
23638
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "UiApi", VERSION$1H, RepresentationType$v, equals$x);
|
|
23591
23639
|
return createLink$1(key);
|
|
23592
23640
|
};
|
|
@@ -23637,7 +23685,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
23637
23685
|
const key = keyBuilder$23(luvio, params);
|
|
23638
23686
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23639
23687
|
const storeMetadataParams = {
|
|
23640
|
-
ttl: TTL$
|
|
23688
|
+
ttl: TTL$m,
|
|
23641
23689
|
namespace: keyPrefix,
|
|
23642
23690
|
version: VERSION$1H,
|
|
23643
23691
|
representationName: RepresentationType$v
|
|
@@ -23954,7 +24002,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
23954
24002
|
const key = keyBuilder$21(luvio, params);
|
|
23955
24003
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23956
24004
|
const storeMetadataParams = {
|
|
23957
|
-
ttl: TTL$
|
|
24005
|
+
ttl: TTL$B,
|
|
23958
24006
|
namespace: keyPrefix,
|
|
23959
24007
|
version: VERSION$2f,
|
|
23960
24008
|
representationName: RepresentationType$R
|
|
@@ -24163,7 +24211,7 @@ function validate$Y(obj, path = 'MatchRepresentation') {
|
|
|
24163
24211
|
return v_error === undefined ? null : v_error;
|
|
24164
24212
|
}
|
|
24165
24213
|
|
|
24166
|
-
const TTL$
|
|
24214
|
+
const TTL$l = 30000;
|
|
24167
24215
|
const VERSION$1G = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
24168
24216
|
function validate$X(obj, path = 'DuplicatesRepresentation') {
|
|
24169
24217
|
const v_error = (() => {
|
|
@@ -24236,7 +24284,7 @@ const ingest$1x = function DuplicatesRepresentationIngest(input, path, luvio, st
|
|
|
24236
24284
|
}
|
|
24237
24285
|
}
|
|
24238
24286
|
const key = path.fullPath;
|
|
24239
|
-
const ttlToUse = TTL$
|
|
24287
|
+
const ttlToUse = TTL$l;
|
|
24240
24288
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "UiApi", VERSION$1G, RepresentationType$u, equals$w);
|
|
24241
24289
|
return createLink$1(key);
|
|
24242
24290
|
};
|
|
@@ -24280,7 +24328,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
24280
24328
|
const key = keyBuilder$1$(luvio, params);
|
|
24281
24329
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
24282
24330
|
const storeMetadataParams = {
|
|
24283
|
-
ttl: TTL$
|
|
24331
|
+
ttl: TTL$l,
|
|
24284
24332
|
namespace: keyPrefix,
|
|
24285
24333
|
version: VERSION$1G,
|
|
24286
24334
|
representationName: RepresentationType$u
|
|
@@ -25066,7 +25114,7 @@ const ingest$1u = function RecordAvatarBatchRepresentationIngest(input, path, lu
|
|
|
25066
25114
|
}
|
|
25067
25115
|
}
|
|
25068
25116
|
const key = path.fullPath;
|
|
25069
|
-
const ttlToUse = TTL$
|
|
25117
|
+
const ttlToUse = TTL$k;
|
|
25070
25118
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "UiApi", VERSION$1B, RepresentationType$q, equals$r);
|
|
25071
25119
|
return createLink$1(key);
|
|
25072
25120
|
};
|
|
@@ -25204,7 +25252,7 @@ const ingest$1t = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(
|
|
|
25204
25252
|
}
|
|
25205
25253
|
}
|
|
25206
25254
|
const key = path.fullPath;
|
|
25207
|
-
const ttlToUse = TTL$
|
|
25255
|
+
const ttlToUse = TTL$k;
|
|
25208
25256
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "UiApi", VERSION$1z, RepresentationType$p, equals$p);
|
|
25209
25257
|
return createLink$1(key);
|
|
25210
25258
|
};
|
|
@@ -25292,7 +25340,7 @@ const ingest$1s = function ErrorRecordAvatarBatchRepresentationIngest(input, pat
|
|
|
25292
25340
|
}
|
|
25293
25341
|
}
|
|
25294
25342
|
const key = path.fullPath;
|
|
25295
|
-
const ttlToUse = TTL$
|
|
25343
|
+
const ttlToUse = TTL$k;
|
|
25296
25344
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "UiApi", VERSION$1y, RepresentationType$o, equals$o);
|
|
25297
25345
|
return createLink$1(key);
|
|
25298
25346
|
};
|
|
@@ -25311,7 +25359,7 @@ const DiscriminatorValues$2 = {
|
|
|
25311
25359
|
'400': 400,
|
|
25312
25360
|
'404': 404
|
|
25313
25361
|
};
|
|
25314
|
-
const TTL$
|
|
25362
|
+
const TTL$k = 300000;
|
|
25315
25363
|
const VERSION$1x = "8956293536e94d5ec63b274b61033d2c";
|
|
25316
25364
|
function validate$O(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
25317
25365
|
const v_error = (() => {
|
|
@@ -25389,7 +25437,7 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25389
25437
|
throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
|
|
25390
25438
|
}
|
|
25391
25439
|
|
|
25392
|
-
const TTL$
|
|
25440
|
+
const TTL$j = 300000;
|
|
25393
25441
|
const VERSION$1w = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
25394
25442
|
function validate$N(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
25395
25443
|
const v_error = (() => {
|
|
@@ -25499,7 +25547,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
25499
25547
|
const key = keyBuilder$1Y(luvio, params);
|
|
25500
25548
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25501
25549
|
const storeMetadataParams = {
|
|
25502
|
-
ttl: TTL$
|
|
25550
|
+
ttl: TTL$j,
|
|
25503
25551
|
namespace: keyPrefix,
|
|
25504
25552
|
version: VERSION$1w,
|
|
25505
25553
|
representationName: RepresentationType$n
|
|
@@ -26977,7 +27025,7 @@ function validate$K(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
26977
27025
|
return v_error === undefined ? null : v_error;
|
|
26978
27026
|
}
|
|
26979
27027
|
|
|
26980
|
-
const TTL$
|
|
27028
|
+
const TTL$i = 900000;
|
|
26981
27029
|
const VERSION$1t = "c977d65d153a2b4e888ddd45fb083248";
|
|
26982
27030
|
function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
26983
27031
|
const v_error = (() => {
|
|
@@ -27271,7 +27319,7 @@ const ingest$1p = function RelatedListInfoRepresentationIngest(input, path, luvi
|
|
|
27271
27319
|
}
|
|
27272
27320
|
}
|
|
27273
27321
|
const key = keyBuilderFromType$d(luvio, input);
|
|
27274
|
-
const ttlToUse = TTL$
|
|
27322
|
+
const ttlToUse = TTL$i;
|
|
27275
27323
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "UiApi", VERSION$1t, RepresentationType$l, equals$j);
|
|
27276
27324
|
return createLink$1(key);
|
|
27277
27325
|
};
|
|
@@ -27322,7 +27370,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
27322
27370
|
const key = keyBuilder$1Q(luvio, params);
|
|
27323
27371
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27324
27372
|
const storeMetadataParams = {
|
|
27325
|
-
ttl: TTL$
|
|
27373
|
+
ttl: TTL$i,
|
|
27326
27374
|
namespace: keyPrefix,
|
|
27327
27375
|
version: VERSION$1t,
|
|
27328
27376
|
representationName: RepresentationType$l
|
|
@@ -27555,7 +27603,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
|
|
|
27555
27603
|
}
|
|
27556
27604
|
// track non-cached responses so rebuilds work properly
|
|
27557
27605
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
27558
|
-
nonCachedErrors$3[childKey] = { expiration: now + TTL$
|
|
27606
|
+
nonCachedErrors$3[childKey] = { expiration: now + TTL$i, response: childBody, status: childStatusCode };
|
|
27559
27607
|
}
|
|
27560
27608
|
else {
|
|
27561
27609
|
delete nonCachedErrors$3[childKey];
|
|
@@ -28341,7 +28389,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
28341
28389
|
};
|
|
28342
28390
|
};
|
|
28343
28391
|
|
|
28344
|
-
const TTL$
|
|
28392
|
+
const TTL$h = 900000;
|
|
28345
28393
|
const VERSION$1r = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
28346
28394
|
function validate$F(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
28347
28395
|
const v_error = (() => {
|
|
@@ -28434,7 +28482,7 @@ const ingest$1n = function RelatedListUserPreferencesRepresentationIngest(input,
|
|
|
28434
28482
|
}
|
|
28435
28483
|
}
|
|
28436
28484
|
const key = keyBuilderFromType$b(luvio, input);
|
|
28437
|
-
const ttlToUse = TTL$
|
|
28485
|
+
const ttlToUse = TTL$h;
|
|
28438
28486
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "UiApi", VERSION$1r, RepresentationType$j, equals$h);
|
|
28439
28487
|
return createLink$1(key);
|
|
28440
28488
|
};
|
|
@@ -28480,7 +28528,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
28480
28528
|
const key = keyBuilder$1I(luvio, params);
|
|
28481
28529
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28482
28530
|
const storeMetadataParams = {
|
|
28483
|
-
ttl: TTL$
|
|
28531
|
+
ttl: TTL$h,
|
|
28484
28532
|
namespace: keyPrefix,
|
|
28485
28533
|
version: VERSION$1r,
|
|
28486
28534
|
representationName: RepresentationType$j
|
|
@@ -28705,7 +28753,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
|
|
|
28705
28753
|
}
|
|
28706
28754
|
// track non-cached responses so rebuilds work properly
|
|
28707
28755
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
28708
|
-
nonCachedErrors$2[childKey] = { expiration: now + TTL$
|
|
28756
|
+
nonCachedErrors$2[childKey] = { expiration: now + TTL$h, response: childBody, status: childStatusCode };
|
|
28709
28757
|
}
|
|
28710
28758
|
else {
|
|
28711
28759
|
delete nonCachedErrors$2[childKey];
|
|
@@ -29316,7 +29364,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
29316
29364
|
return existingListEnd === incomingListEnd;
|
|
29317
29365
|
}
|
|
29318
29366
|
|
|
29319
|
-
const TTL$
|
|
29367
|
+
const TTL$g = 30000;
|
|
29320
29368
|
const VERSION$1q = "62467c27c19349b70c9db2a8d9d591d9";
|
|
29321
29369
|
function validate$D(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
29322
29370
|
const v_error = (() => {
|
|
@@ -29827,7 +29875,7 @@ const ingest$1m = function RelatedListRecordCollectionRepresentationIngest(input
|
|
|
29827
29875
|
}
|
|
29828
29876
|
const key = keyBuilderFromType$a(luvio, input);
|
|
29829
29877
|
const existingRecord = store.readEntry(key);
|
|
29830
|
-
const ttlToUse = TTL$
|
|
29878
|
+
const ttlToUse = TTL$g;
|
|
29831
29879
|
let incomingRecord = normalize$c(input, store.readEntry(key), {
|
|
29832
29880
|
fullPath: key,
|
|
29833
29881
|
parent: path.parent,
|
|
@@ -29986,7 +30034,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
29986
30034
|
const key = keyBuilder$1D(luvio, params);
|
|
29987
30035
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29988
30036
|
const storeMetadataParams = {
|
|
29989
|
-
ttl: TTL$
|
|
30037
|
+
ttl: TTL$g,
|
|
29990
30038
|
namespace: keyPrefix,
|
|
29991
30039
|
version: VERSION$1q,
|
|
29992
30040
|
representationName: RepresentationType$i
|
|
@@ -30234,7 +30282,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
|
|
|
30234
30282
|
}
|
|
30235
30283
|
// track non-cached responses so rebuilds work properly
|
|
30236
30284
|
if (childStatusCode !== 404 && childStatusCode !== 200) {
|
|
30237
|
-
nonCachedErrors$1[childKey] = { expiration: now + TTL$
|
|
30285
|
+
nonCachedErrors$1[childKey] = { expiration: now + TTL$g, response: childBody, status: childStatusCode };
|
|
30238
30286
|
}
|
|
30239
30287
|
else {
|
|
30240
30288
|
delete nonCachedErrors$1[childKey];
|
|
@@ -30646,7 +30694,7 @@ function validate$B(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
30646
30694
|
return v_error === undefined ? null : v_error;
|
|
30647
30695
|
}
|
|
30648
30696
|
|
|
30649
|
-
const TTL$
|
|
30697
|
+
const TTL$f = 30000;
|
|
30650
30698
|
const VERSION$1p = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
30651
30699
|
function validate$A(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
30652
30700
|
const v_error = (() => {
|
|
@@ -30738,7 +30786,7 @@ const ingest$1l = function SearchFilterMetadataCollectionRepresentationIngest(in
|
|
|
30738
30786
|
}
|
|
30739
30787
|
}
|
|
30740
30788
|
const key = keyBuilderFromType$9(luvio, input);
|
|
30741
|
-
const ttlToUse = TTL$
|
|
30789
|
+
const ttlToUse = TTL$f;
|
|
30742
30790
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "UiApi", VERSION$1p, RepresentationType$h, equals$f);
|
|
30743
30791
|
return createLink$1(key);
|
|
30744
30792
|
};
|
|
@@ -30785,7 +30833,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
30785
30833
|
const key = keyBuilder$1y(luvio, params);
|
|
30786
30834
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30787
30835
|
const storeMetadataParams = {
|
|
30788
|
-
ttl: TTL$
|
|
30836
|
+
ttl: TTL$f,
|
|
30789
30837
|
namespace: keyPrefix,
|
|
30790
30838
|
version: VERSION$1p,
|
|
30791
30839
|
representationName: RepresentationType$h
|
|
@@ -30894,7 +30942,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
30894
30942
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$b);
|
|
30895
30943
|
};
|
|
30896
30944
|
|
|
30897
|
-
const TTL$
|
|
30945
|
+
const TTL$e = 30000;
|
|
30898
30946
|
const VERSION$1o = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
30899
30947
|
function validate$z(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
30900
30948
|
const v_error = (() => {
|
|
@@ -30992,7 +31040,7 @@ const ingest$1k = function SearchFilterOptionCollectionRepresentationIngest(inpu
|
|
|
30992
31040
|
}
|
|
30993
31041
|
}
|
|
30994
31042
|
const key = keyBuilderFromType$8(luvio, input);
|
|
30995
|
-
const ttlToUse = TTL$
|
|
31043
|
+
const ttlToUse = TTL$e;
|
|
30996
31044
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "UiApi", VERSION$1o, RepresentationType$g, equals$e);
|
|
30997
31045
|
return createLink$1(key);
|
|
30998
31046
|
};
|
|
@@ -31040,7 +31088,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
31040
31088
|
const key = keyBuilder$1v(luvio, params);
|
|
31041
31089
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31042
31090
|
const storeMetadataParams = {
|
|
31043
|
-
ttl: TTL$
|
|
31091
|
+
ttl: TTL$e,
|
|
31044
31092
|
namespace: keyPrefix,
|
|
31045
31093
|
version: VERSION$1o,
|
|
31046
31094
|
representationName: RepresentationType$g
|
|
@@ -31312,7 +31360,7 @@ function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
31312
31360
|
return v_error === undefined ? null : v_error;
|
|
31313
31361
|
}
|
|
31314
31362
|
|
|
31315
|
-
const TTL$
|
|
31363
|
+
const TTL$d = 30000;
|
|
31316
31364
|
const VERSION$1n = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
31317
31365
|
function validate$r(obj, path = 'LookupMetadataRepresentation') {
|
|
31318
31366
|
const v_error = (() => {
|
|
@@ -31411,7 +31459,7 @@ const ingest$1j = function LookupMetadataRepresentationIngest(input, path, luvio
|
|
|
31411
31459
|
}
|
|
31412
31460
|
}
|
|
31413
31461
|
const key = keyBuilderFromType$7(luvio, input);
|
|
31414
|
-
const ttlToUse = TTL$
|
|
31462
|
+
const ttlToUse = TTL$d;
|
|
31415
31463
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "UiApi", VERSION$1n, RepresentationType$f, equals$d);
|
|
31416
31464
|
return createLink$1(key);
|
|
31417
31465
|
};
|
|
@@ -31458,7 +31506,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
31458
31506
|
const key = keyBuilder$1s(luvio, params);
|
|
31459
31507
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31460
31508
|
const storeMetadataParams = {
|
|
31461
|
-
ttl: TTL$
|
|
31509
|
+
ttl: TTL$d,
|
|
31462
31510
|
namespace: keyPrefix,
|
|
31463
31511
|
version: VERSION$1n,
|
|
31464
31512
|
representationName: RepresentationType$f
|
|
@@ -32126,7 +32174,7 @@ function validate$f(obj, path = 'SearchObjectOptionsOutputRepresentation') {
|
|
|
32126
32174
|
return v_error === undefined ? null : v_error;
|
|
32127
32175
|
}
|
|
32128
32176
|
|
|
32129
|
-
const TTL$
|
|
32177
|
+
const TTL$c = 200;
|
|
32130
32178
|
const VERSION$1m = "c3b86b51e83e00857929bc3dd6742a85";
|
|
32131
32179
|
function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
32132
32180
|
const v_error = (() => {
|
|
@@ -32283,7 +32331,7 @@ const ingest$1i = function SearchResultsSummaryRepresentationIngest(input, path,
|
|
|
32283
32331
|
}
|
|
32284
32332
|
}
|
|
32285
32333
|
const key = keyBuilderFromType$6(luvio, input);
|
|
32286
|
-
const ttlToUse = TTL$
|
|
32334
|
+
const ttlToUse = TTL$c;
|
|
32287
32335
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "UiApi", VERSION$1m, RepresentationType$e, equals$c);
|
|
32288
32336
|
return createLink$1(key);
|
|
32289
32337
|
};
|
|
@@ -32330,7 +32378,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
32330
32378
|
const key = keyBuilder$1p(luvio, params);
|
|
32331
32379
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
32332
32380
|
const storeMetadataParams = {
|
|
32333
|
-
ttl: TTL$
|
|
32381
|
+
ttl: TTL$c,
|
|
32334
32382
|
namespace: keyPrefix,
|
|
32335
32383
|
version: VERSION$1m,
|
|
32336
32384
|
representationName: RepresentationType$e
|
|
@@ -32460,7 +32508,7 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
32460
32508
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
|
|
32461
32509
|
};
|
|
32462
32510
|
|
|
32463
|
-
const TTL$
|
|
32511
|
+
const TTL$b = 200;
|
|
32464
32512
|
const VERSION$1l = "3102453bf10ea449d9665914d5f5febf";
|
|
32465
32513
|
function validate$d(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
32466
32514
|
const v_error = (() => {
|
|
@@ -32556,7 +32604,7 @@ const ingest$1h = function KeywordSearchResultsSummaryRepresentationIngest(input
|
|
|
32556
32604
|
}
|
|
32557
32605
|
}
|
|
32558
32606
|
const key = keyBuilderFromType$5(luvio, input);
|
|
32559
|
-
const ttlToUse = TTL$
|
|
32607
|
+
const ttlToUse = TTL$b;
|
|
32560
32608
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "UiApi", VERSION$1l, RepresentationType$d, equals$b);
|
|
32561
32609
|
return createLink$1(key);
|
|
32562
32610
|
};
|
|
@@ -32604,7 +32652,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
32604
32652
|
const key = keyBuilder$1m(luvio, params);
|
|
32605
32653
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
32606
32654
|
const storeMetadataParams = {
|
|
32607
|
-
ttl: TTL$
|
|
32655
|
+
ttl: TTL$b,
|
|
32608
32656
|
namespace: keyPrefix,
|
|
32609
32657
|
version: VERSION$1l,
|
|
32610
32658
|
representationName: RepresentationType$d
|
|
@@ -38913,7 +38961,7 @@ function getInContextFragmentType$Q(fragment, fragmentMap) {
|
|
|
38913
38961
|
}
|
|
38914
38962
|
|
|
38915
38963
|
const name$E = 'RecordConnection';
|
|
38916
|
-
const TTL$
|
|
38964
|
+
const TTL$a = 300000;
|
|
38917
38965
|
const VERSION$R = '5109e37c62e492243c1e6ae3967b0655';
|
|
38918
38966
|
function keyBuilder$S(luvio, path, data) {
|
|
38919
38967
|
return path.fullPath;
|
|
@@ -38996,7 +39044,7 @@ function ingest$N(astNode, state) {
|
|
|
38996
39044
|
createLink: createLink,
|
|
38997
39045
|
mergeData: mergeData$E,
|
|
38998
39046
|
storeMetadataParams: {
|
|
38999
|
-
ttl: TTL$
|
|
39047
|
+
ttl: TTL$a,
|
|
39000
39048
|
namespace: keyPrefix,
|
|
39001
39049
|
representationName: "RecordConnection",
|
|
39002
39050
|
version: VERSION$R,
|
|
@@ -45902,7 +45950,7 @@ function getInContextFragmentType$m(fragment, fragmentMap) {
|
|
|
45902
45950
|
}
|
|
45903
45951
|
|
|
45904
45952
|
const name$a = 'ObjectInfo';
|
|
45905
|
-
const TTL$
|
|
45953
|
+
const TTL$9 = 900000;
|
|
45906
45954
|
const VERSION$n = 'f8f627dd56d42a39e1a6642edb039182';
|
|
45907
45955
|
function keyBuilder$o(luvio, path, data) {
|
|
45908
45956
|
return path.fullPath;
|
|
@@ -45928,7 +45976,7 @@ function ingest$j(astNode, state) {
|
|
|
45928
45976
|
createLink: createLink,
|
|
45929
45977
|
mergeData: mergeData$a,
|
|
45930
45978
|
storeMetadataParams: {
|
|
45931
|
-
ttl: TTL$
|
|
45979
|
+
ttl: TTL$9,
|
|
45932
45980
|
namespace: keyPrefix,
|
|
45933
45981
|
representationName: "ObjectInfo",
|
|
45934
45982
|
version: VERSION$n,
|
|
@@ -46618,7 +46666,7 @@ function getInContextFragmentType$j(fragment, fragmentMap) {
|
|
|
46618
46666
|
}
|
|
46619
46667
|
|
|
46620
46668
|
const name$7 = 'RelatedListInfo';
|
|
46621
|
-
const TTL$
|
|
46669
|
+
const TTL$8 = 900000;
|
|
46622
46670
|
const VERSION$k = 'a32cfdff7ca8dcf4b534b3491fef2019';
|
|
46623
46671
|
function keyBuilder$l(luvio, path, data) {
|
|
46624
46672
|
return path.fullPath;
|
|
@@ -46644,7 +46692,7 @@ function ingest$g(astNode, state) {
|
|
|
46644
46692
|
createLink: createLink,
|
|
46645
46693
|
mergeData: mergeData$7,
|
|
46646
46694
|
storeMetadataParams: {
|
|
46647
|
-
ttl: TTL$
|
|
46695
|
+
ttl: TTL$8,
|
|
46648
46696
|
namespace: keyPrefix,
|
|
46649
46697
|
representationName: "RelatedListInfo",
|
|
46650
46698
|
version: VERSION$k,
|
|
@@ -48477,6 +48525,7 @@ function getInContextFragmentType$c(fragment, fragmentMap) {
|
|
|
48477
48525
|
}
|
|
48478
48526
|
|
|
48479
48527
|
const name$1 = 'Setup__Setup';
|
|
48528
|
+
const TTL$7 = 1000;
|
|
48480
48529
|
const VERSION$d = '57c66c8147b44793116747c96b2b0fc9';
|
|
48481
48530
|
function keyBuilder$f(luvio, path, data) {
|
|
48482
48531
|
return path.fullPath;
|
|
@@ -48502,7 +48551,7 @@ function ingest$9(astNode, state) {
|
|
|
48502
48551
|
createLink: createLink,
|
|
48503
48552
|
mergeData: mergeData$1,
|
|
48504
48553
|
storeMetadataParams: {
|
|
48505
|
-
ttl: TTL$
|
|
48554
|
+
ttl: TTL$7,
|
|
48506
48555
|
namespace: keyPrefix,
|
|
48507
48556
|
representationName: "Setup__Setup",
|
|
48508
48557
|
version: VERSION$d,
|
|
@@ -52091,6 +52140,7 @@ function onFetchResponseSuccess$1(luvio, config, resourceParams, response) {
|
|
|
52091
52140
|
// Note: The original listReference will remain unchanged in the response.
|
|
52092
52141
|
mutatedListRef.id = body.listInfoETag;
|
|
52093
52142
|
addListReferenceWithId(mutatedListRef, context, body.listReference.id);
|
|
52143
|
+
// storing sortBy ensuring a cache hit when requesting records with no sortBy provided
|
|
52094
52144
|
addServerDefaults(config, body, originalListRef, context);
|
|
52095
52145
|
}
|
|
52096
52146
|
return onFetchResponseSuccess$2(luvio, config, resourceParams, response);
|
|
@@ -55630,11 +55680,16 @@ class InMemoryRecordRepresentationQueryEvaluator {
|
|
|
55630
55680
|
const configuration = {
|
|
55631
55681
|
...configurationForRestAdapters,
|
|
55632
55682
|
...configurationForGraphQLAdapters,
|
|
55683
|
+
...configurationForOneStoreEnabledAdapters,
|
|
55633
55684
|
};
|
|
55634
55685
|
ensureRegisteredOnce({
|
|
55635
55686
|
id: '@salesforce/lds-adapters-uiapi',
|
|
55636
|
-
configuration: {
|
|
55687
|
+
configuration: {
|
|
55688
|
+
...configurationForRestAdapters,
|
|
55689
|
+
...configurationForGraphQLAdapters,
|
|
55690
|
+
...configurationForOneStoreEnabledAdapters,
|
|
55691
|
+
},
|
|
55637
55692
|
instrument,
|
|
55638
55693
|
});
|
|
55639
55694
|
|
|
55640
|
-
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$S as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$Z as RecordRepresentationRepresentationType, TTL$
|
|
55695
|
+
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$3 as NotifyListInfoSummaryUpdateAvailable, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$5 as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$S as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$Z as RecordRepresentationRepresentationType, TTL$E as RecordRepresentationTTL, RepresentationType$Z as RecordRepresentationType, VERSION$2o as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, getFieldApiNamesArray as coerceFieldIdArray, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListInfosByObjectNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPathLayoutAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$24 as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1D as ingestDuplicateConfiguration, ingest$1x as ingestDuplicatesRepresentation, ingest$22 as ingestListInfo, ingest$1_ as ingestListRecords, ingest$1U as ingestObjectInfo, ingest$1O as ingestQuickActionExecutionRepresentation, ingest$1$ as ingestRecord, ingest$1R as ingestRecordUi, ingest$1p as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1m as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1o as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$36 as keyBuilderObjectInfo, keyBuilder$2$ as keyBuilderQuickActionExecutionRepresentation, keyBuilder$3n as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, registerPrefetcher, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, updateListPreferencesAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|