@salesforce/lds-worker-api 1.243.0 → 1.245.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/sfdc/es/ldsWorkerApi.js +242 -3
- package/dist/sfdc/es/types/cachePurging.d.ts +39 -0
- package/dist/sfdc/es/types/main.d.ts +2 -1
- package/dist/standalone/es/lds-worker-api.js +987 -613
- package/dist/standalone/es/types/cachePurging.d.ts +39 -0
- package/dist/standalone/es/types/main.d.ts +2 -1
- package/dist/standalone/umd/lds-worker-api.js +988 -612
- package/dist/standalone/umd/types/cachePurging.d.ts +39 -0
- package/dist/standalone/umd/types/main.d.ts +2 -1
- package/package.json +4 -4
|
@@ -2605,7 +2605,10 @@
|
|
|
2605
2605
|
this.markPending();
|
|
2606
2606
|
return;
|
|
2607
2607
|
default:
|
|
2608
|
-
|
|
2608
|
+
// if we have a link reference we override the required property passed to true
|
|
2609
|
+
// because if there was a missing reference the `isMissing` property would be true and the links state would
|
|
2610
|
+
// have returned `Missing`.
|
|
2611
|
+
this.readStoreLinkWithRef(linkState, fragment, sink, property, true);
|
|
2609
2612
|
}
|
|
2610
2613
|
}
|
|
2611
2614
|
markRedirectsSeen(state) {
|
|
@@ -3905,7 +3908,7 @@
|
|
|
3905
3908
|
}
|
|
3906
3909
|
return resourceParams;
|
|
3907
3910
|
}
|
|
3908
|
-
// engine version: 0.150.
|
|
3911
|
+
// engine version: 0.150.5-275045c5
|
|
3909
3912
|
|
|
3910
3913
|
/**
|
|
3911
3914
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4033,7 +4036,7 @@
|
|
|
4033
4036
|
}
|
|
4034
4037
|
callbacks.push(callback);
|
|
4035
4038
|
}
|
|
4036
|
-
// version: 1.
|
|
4039
|
+
// version: 1.245.0-0ea124370
|
|
4037
4040
|
|
|
4038
4041
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4039
4042
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15494,7 +15497,7 @@
|
|
|
15494
15497
|
}
|
|
15495
15498
|
return superResult;
|
|
15496
15499
|
}
|
|
15497
|
-
// version: 1.
|
|
15500
|
+
// version: 1.245.0-0ea124370
|
|
15498
15501
|
|
|
15499
15502
|
function unwrap(data) {
|
|
15500
15503
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16419,7 +16422,7 @@
|
|
|
16419
16422
|
const { apiFamily, name } = metadata;
|
|
16420
16423
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16421
16424
|
}
|
|
16422
|
-
// version: 1.
|
|
16425
|
+
// version: 1.245.0-0ea124370
|
|
16423
16426
|
|
|
16424
16427
|
/**
|
|
16425
16428
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16518,11 +16521,11 @@
|
|
|
16518
16521
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16519
16522
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16520
16523
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16521
|
-
// engine version: 0.150.
|
|
16524
|
+
// engine version: 0.150.5-275045c5
|
|
16522
16525
|
|
|
16523
16526
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16524
16527
|
|
|
16525
|
-
const { assign: assign$9, create: create$9, freeze: freeze$5, keys: keys$b } = Object;
|
|
16528
|
+
const { assign: assign$9, create: create$9, freeze: freeze$5, isFrozen: isFrozen$3, keys: keys$b } = Object;
|
|
16526
16529
|
|
|
16527
16530
|
ObjectCreate$3(null);
|
|
16528
16531
|
|
|
@@ -16891,9 +16894,9 @@
|
|
|
16891
16894
|
}
|
|
16892
16895
|
};
|
|
16893
16896
|
}
|
|
16894
|
-
const keyPrefix$
|
|
16897
|
+
const keyPrefix$2 = 'UiApi';
|
|
16895
16898
|
|
|
16896
|
-
const { assign: assign$8, create: create$8, freeze: freeze$4, keys: keys$a } = Object;
|
|
16899
|
+
const { assign: assign$8, create: create$8, freeze: freeze$4, isFrozen: isFrozen$2, keys: keys$a } = Object;
|
|
16897
16900
|
const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
|
|
16898
16901
|
const { split, endsWith } = String.prototype;
|
|
16899
16902
|
const { isArray: isArray$7 } = Array;
|
|
@@ -17106,7 +17109,7 @@
|
|
|
17106
17109
|
entry['__metadata'] = createLink$3(metadataKey);
|
|
17107
17110
|
}
|
|
17108
17111
|
|
|
17109
|
-
const VERSION$1o = "
|
|
17112
|
+
const VERSION$1o = "d8917f62af39b67a54f8ff8cf7ea49c6";
|
|
17110
17113
|
const select$1W$1 = function ListColumnRepresentationSelect() {
|
|
17111
17114
|
return {
|
|
17112
17115
|
kind: 'Fragment',
|
|
@@ -17125,6 +17128,11 @@
|
|
|
17125
17128
|
name: 'lookupId',
|
|
17126
17129
|
kind: 'Scalar'
|
|
17127
17130
|
},
|
|
17131
|
+
{
|
|
17132
|
+
name: 'searchable',
|
|
17133
|
+
kind: 'Scalar',
|
|
17134
|
+
required: false
|
|
17135
|
+
},
|
|
17128
17136
|
{
|
|
17129
17137
|
name: 'sortable',
|
|
17130
17138
|
kind: 'Scalar'
|
|
@@ -17372,10 +17380,10 @@
|
|
|
17372
17380
|
};
|
|
17373
17381
|
|
|
17374
17382
|
const TTL$y = 900000;
|
|
17375
|
-
const VERSION$1e = "
|
|
17383
|
+
const VERSION$1e = "6bd7c5a1bb955f37db137327c7d65f65";
|
|
17376
17384
|
const RepresentationType$R = 'ListInfoRepresentation';
|
|
17377
17385
|
function keyBuilder$1V(luvio, config) {
|
|
17378
|
-
return keyPrefix$
|
|
17386
|
+
return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
17379
17387
|
}
|
|
17380
17388
|
function keyBuilderFromType$A(luvio, object) {
|
|
17381
17389
|
const keyParams = {
|
|
@@ -17466,6 +17474,11 @@
|
|
|
17466
17474
|
selections: ListScopeRepresentation__selections,
|
|
17467
17475
|
required: false
|
|
17468
17476
|
},
|
|
17477
|
+
{
|
|
17478
|
+
name: 'searchable',
|
|
17479
|
+
kind: 'Scalar',
|
|
17480
|
+
required: false
|
|
17481
|
+
},
|
|
17469
17482
|
{
|
|
17470
17483
|
name: 'updateable',
|
|
17471
17484
|
kind: 'Scalar'
|
|
@@ -17502,7 +17515,7 @@
|
|
|
17502
17515
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17503
17516
|
const rootKey = keyBuilderFromType$A(luvio, input);
|
|
17504
17517
|
rootKeySet.set(rootKey, {
|
|
17505
|
-
namespace: keyPrefix$
|
|
17518
|
+
namespace: keyPrefix$2,
|
|
17506
17519
|
representationName: RepresentationType$R,
|
|
17507
17520
|
mergeable: false
|
|
17508
17521
|
});
|
|
@@ -17681,7 +17694,7 @@
|
|
|
17681
17694
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17682
17695
|
const rootKey = fullPathFactory();
|
|
17683
17696
|
rootKeySet.set(rootKey, {
|
|
17684
|
-
namespace: keyPrefix$
|
|
17697
|
+
namespace: keyPrefix$2,
|
|
17685
17698
|
representationName: RepresentationType$Q,
|
|
17686
17699
|
mergeable: false
|
|
17687
17700
|
});
|
|
@@ -17695,7 +17708,7 @@
|
|
|
17695
17708
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17696
17709
|
const rootKey = keyBuilderFromType$y(luvio, input);
|
|
17697
17710
|
rootKeySet.set(rootKey, {
|
|
17698
|
-
namespace: keyPrefix$
|
|
17711
|
+
namespace: keyPrefix$2,
|
|
17699
17712
|
representationName: RepresentationType$O,
|
|
17700
17713
|
mergeable: true,
|
|
17701
17714
|
});
|
|
@@ -17839,7 +17852,7 @@
|
|
|
17839
17852
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17840
17853
|
const rootKey = fullPathFactory();
|
|
17841
17854
|
rootKeySet.set(rootKey, {
|
|
17842
|
-
namespace: keyPrefix$
|
|
17855
|
+
namespace: keyPrefix$2,
|
|
17843
17856
|
representationName: RepresentationType$P,
|
|
17844
17857
|
mergeable: false
|
|
17845
17858
|
});
|
|
@@ -17850,7 +17863,7 @@
|
|
|
17850
17863
|
}
|
|
17851
17864
|
|
|
17852
17865
|
const VIEW_ENTITY_API_NAME = 'Name';
|
|
17853
|
-
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$
|
|
17866
|
+
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$2}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
|
|
17854
17867
|
const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luvio, object) {
|
|
17855
17868
|
const { apiName, id } = object;
|
|
17856
17869
|
if (apiName === VIEW_ENTITY_API_NAME) {
|
|
@@ -17863,7 +17876,7 @@
|
|
|
17863
17876
|
const VERSION$1a$1 = "98c5b18512e48ca8d28727549507e4ba";
|
|
17864
17877
|
const RepresentationType$O = 'RecordRepresentation';
|
|
17865
17878
|
function keyBuilder$1U(luvio, config) {
|
|
17866
|
-
return keyPrefix$
|
|
17879
|
+
return keyPrefix$2 + '::' + RepresentationType$O + ':' + config.recordId;
|
|
17867
17880
|
}
|
|
17868
17881
|
function keyBuilderFromType$y(luvio, object) {
|
|
17869
17882
|
const keyParams = {
|
|
@@ -18101,7 +18114,7 @@
|
|
|
18101
18114
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
18102
18115
|
const rootKey = keyBuilderFromType$z(luvio, input);
|
|
18103
18116
|
rootKeySet.set(rootKey, {
|
|
18104
|
-
namespace: keyPrefix$
|
|
18117
|
+
namespace: keyPrefix$2,
|
|
18105
18118
|
representationName: RepresentationType$O,
|
|
18106
18119
|
mergeable: false
|
|
18107
18120
|
});
|
|
@@ -19682,7 +19695,7 @@
|
|
|
19682
19695
|
const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION_1';
|
|
19683
19696
|
const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
|
|
19684
19697
|
representationName: '',
|
|
19685
|
-
namespace: keyPrefix$
|
|
19698
|
+
namespace: keyPrefix$2,
|
|
19686
19699
|
ttl: TTL$w,
|
|
19687
19700
|
version: RECORD_REPRESENTATION_ERROR_VERSION,
|
|
19688
19701
|
};
|
|
@@ -19912,7 +19925,11 @@
|
|
|
19912
19925
|
}
|
|
19913
19926
|
const link = fieldValueRepresentation.link(fieldName);
|
|
19914
19927
|
const resolved = link.follow();
|
|
19915
|
-
if (isGraphNode(resolved) &&
|
|
19928
|
+
if (isGraphNode(resolved) &&
|
|
19929
|
+
resolved.isScalar('value') &&
|
|
19930
|
+
path.length > 0 &&
|
|
19931
|
+
// TODO [W-14082782]: temporary fix
|
|
19932
|
+
!isFrozen$2(link.data)) {
|
|
19916
19933
|
const linkState = link.linkData();
|
|
19917
19934
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
19918
19935
|
link.writeLinkData({
|
|
@@ -20381,7 +20398,7 @@
|
|
|
20381
20398
|
luvio.publishStoreMetadata(key, {
|
|
20382
20399
|
ttl: TTL$w,
|
|
20383
20400
|
representationName: RepresentationType$O,
|
|
20384
|
-
namespace: keyPrefix$
|
|
20401
|
+
namespace: keyPrefix$2,
|
|
20385
20402
|
version: VERSION$1a$1,
|
|
20386
20403
|
});
|
|
20387
20404
|
return createLink$3(key);
|
|
@@ -20883,7 +20900,7 @@
|
|
|
20883
20900
|
return childConfigs;
|
|
20884
20901
|
}
|
|
20885
20902
|
function keyBuilder$1S(luvio, params) {
|
|
20886
|
-
return keyPrefix$
|
|
20903
|
+
return keyPrefix$2 + '::BatchRepresentation:(' + 'childRelationships:' + params.queryParams.childRelationships + ',' + 'fields:' + params.queryParams.fields + ',' + 'layoutTypes:' + params.queryParams.layoutTypes + ',' + 'modes:' + params.queryParams.modes + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'updateMru:' + params.queryParams.updateMru + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
20887
20904
|
}
|
|
20888
20905
|
function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
|
|
20889
20906
|
const childEnvelopes = response.results;
|
|
@@ -20899,7 +20916,7 @@
|
|
|
20899
20916
|
else if (childStatusCode === 404) {
|
|
20900
20917
|
const childKey = keyBuilder$1T(luvio, childResourceParams);
|
|
20901
20918
|
keys.set(childKey, {
|
|
20902
|
-
namespace: keyPrefix$
|
|
20919
|
+
namespace: keyPrefix$2,
|
|
20903
20920
|
representationName: RepresentationType$O,
|
|
20904
20921
|
mergeable: false
|
|
20905
20922
|
});
|
|
@@ -21180,7 +21197,7 @@
|
|
|
21180
21197
|
const VERSION$18$1 = "614ef19823027c07fa6deb9a149619d2";
|
|
21181
21198
|
const RepresentationType$N = 'ListRecordCollectionRepresentation';
|
|
21182
21199
|
function keyBuilder$1R(luvio, config) {
|
|
21183
|
-
return keyPrefix$
|
|
21200
|
+
return keyPrefix$2 + '::' + RepresentationType$N + ':' + (config.listViewId === null ? '' : config.listViewId) + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']') + ':' + config.objectApiName + ':' + (config.listViewApiName === null ? '' : config.listViewApiName);
|
|
21184
21201
|
}
|
|
21185
21202
|
function keyBuilderFromType$x(luvio, object) {
|
|
21186
21203
|
const keyParams = {
|
|
@@ -21569,12 +21586,12 @@
|
|
|
21569
21586
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21570
21587
|
const rootKey = keyBuilderFromType$x(luvio, input);
|
|
21571
21588
|
rootKeySet.set(rootKey, {
|
|
21572
|
-
namespace: keyPrefix$
|
|
21589
|
+
namespace: keyPrefix$2,
|
|
21573
21590
|
representationName: RepresentationType$N,
|
|
21574
21591
|
mergeable: true
|
|
21575
21592
|
});
|
|
21576
21593
|
rootKeySet.set(rootKey + '__pagination', {
|
|
21577
|
-
namespace: keyPrefix$
|
|
21594
|
+
namespace: keyPrefix$2,
|
|
21578
21595
|
representationName: RepresentationType$N,
|
|
21579
21596
|
mergeable: true
|
|
21580
21597
|
});
|
|
@@ -21587,7 +21604,7 @@
|
|
|
21587
21604
|
const VERSION$17$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
21588
21605
|
const RepresentationType$M = 'ListUiRepresentation';
|
|
21589
21606
|
function keyBuilder$1Q(luvio, config) {
|
|
21590
|
-
return keyPrefix$
|
|
21607
|
+
return keyPrefix$2 + '::' + RepresentationType$M + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
21591
21608
|
}
|
|
21592
21609
|
function keyBuilderFromType$w(luvio, object) {
|
|
21593
21610
|
const keyParams = {
|
|
@@ -21676,7 +21693,7 @@
|
|
|
21676
21693
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21677
21694
|
const rootKey = keyBuilderFromType$w(luvio, input);
|
|
21678
21695
|
rootKeySet.set(rootKey, {
|
|
21679
|
-
namespace: keyPrefix$
|
|
21696
|
+
namespace: keyPrefix$2,
|
|
21680
21697
|
representationName: RepresentationType$M,
|
|
21681
21698
|
mergeable: false
|
|
21682
21699
|
});
|
|
@@ -21881,8 +21898,8 @@
|
|
|
21881
21898
|
*/
|
|
21882
21899
|
function addServerDefaults(config, records, listReference, context) {
|
|
21883
21900
|
// If the request already contains the potential default information,
|
|
21884
|
-
// or the response does not come back with a default
|
|
21885
|
-
if (config.sortBy !== undefined || records.sortBy === null) {
|
|
21901
|
+
// or the response does not come back with a default or comes back wih an empty array []
|
|
21902
|
+
if ((config.sortBy !== undefined && config.sortBy.length > 0) || records.sortBy === null) {
|
|
21886
21903
|
return;
|
|
21887
21904
|
}
|
|
21888
21905
|
const key = buildDefaultsKey(listReference);
|
|
@@ -22040,11 +22057,14 @@
|
|
|
22040
22057
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
22041
22058
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
22042
22059
|
const defaults = getServerDefaults(config, context$2);
|
|
22060
|
+
// Use default values when sortBy is undefined or an empty Array []
|
|
22043
22061
|
return keyBuilder$1R(luvio, {
|
|
22044
22062
|
objectApiName: listReference.objectApiName,
|
|
22045
22063
|
listViewApiName: listReference.listViewApiName,
|
|
22046
22064
|
listViewId: listReference.id,
|
|
22047
|
-
sortBy: params.queryParams.sortBy
|
|
22065
|
+
sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
|
|
22066
|
+
? defaults.sortBy || params.queryParams.sortBy || []
|
|
22067
|
+
: params.queryParams.sortBy || defaults.sortBy || [],
|
|
22048
22068
|
});
|
|
22049
22069
|
}
|
|
22050
22070
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
@@ -22115,7 +22135,7 @@
|
|
|
22115
22135
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22116
22136
|
const storeMetadataParams = {
|
|
22117
22137
|
ttl: TTL$v,
|
|
22118
|
-
namespace: keyPrefix$
|
|
22138
|
+
namespace: keyPrefix$2,
|
|
22119
22139
|
version: VERSION$18$1,
|
|
22120
22140
|
representationName: RepresentationType$N
|
|
22121
22141
|
};
|
|
@@ -22192,7 +22212,7 @@
|
|
|
22192
22212
|
const VERSION$16$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
22193
22213
|
const RepresentationType$L = 'ListViewSummaryRepresentation';
|
|
22194
22214
|
function keyBuilder$1O(luvio, config) {
|
|
22195
|
-
return keyPrefix$
|
|
22215
|
+
return keyPrefix$2 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
|
|
22196
22216
|
}
|
|
22197
22217
|
function keyBuilderFromType$v(luvio, object) {
|
|
22198
22218
|
const keyParams = {
|
|
@@ -22261,7 +22281,7 @@
|
|
|
22261
22281
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22262
22282
|
const rootKey = keyBuilderFromType$v(luvio, input);
|
|
22263
22283
|
rootKeySet.set(rootKey, {
|
|
22264
|
-
namespace: keyPrefix$
|
|
22284
|
+
namespace: keyPrefix$2,
|
|
22265
22285
|
representationName: RepresentationType$L,
|
|
22266
22286
|
mergeable: false
|
|
22267
22287
|
});
|
|
@@ -22270,7 +22290,7 @@
|
|
|
22270
22290
|
const VERSION$15$1 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
22271
22291
|
const RepresentationType$K = 'ListViewSummaryCollectionRepresentation';
|
|
22272
22292
|
function keyBuilder$1N(luvio, config) {
|
|
22273
|
-
return keyPrefix$
|
|
22293
|
+
return keyPrefix$2 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
22274
22294
|
}
|
|
22275
22295
|
function keyBuilderFromType$u(luvio, object) {
|
|
22276
22296
|
const keyParams = {
|
|
@@ -22532,12 +22552,12 @@
|
|
|
22532
22552
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22533
22553
|
const rootKey = keyBuilderFromType$u(luvio, input);
|
|
22534
22554
|
rootKeySet.set(rootKey, {
|
|
22535
|
-
namespace: keyPrefix$
|
|
22555
|
+
namespace: keyPrefix$2,
|
|
22536
22556
|
representationName: RepresentationType$K,
|
|
22537
22557
|
mergeable: true
|
|
22538
22558
|
});
|
|
22539
22559
|
rootKeySet.set(rootKey + '__pagination', {
|
|
22540
|
-
namespace: keyPrefix$
|
|
22560
|
+
namespace: keyPrefix$2,
|
|
22541
22561
|
representationName: RepresentationType$K,
|
|
22542
22562
|
mergeable: true
|
|
22543
22563
|
});
|
|
@@ -23149,7 +23169,7 @@
|
|
|
23149
23169
|
: processListInfo(listInfoPromiseOrSnapshot);
|
|
23150
23170
|
};
|
|
23151
23171
|
|
|
23152
|
-
const contextId$6 = `${keyPrefix$
|
|
23172
|
+
const contextId$6 = `${keyPrefix$2}__getListUi`;
|
|
23153
23173
|
// eslint-disable-next-line @salesforce/lds/no-invalid-todo
|
|
23154
23174
|
// TODO RAML - this more properly goes in the generated resource files
|
|
23155
23175
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -23585,7 +23605,7 @@
|
|
|
23585
23605
|
const VERSION$14$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
23586
23606
|
const RepresentationType$J = 'ObjectInfoRepresentation';
|
|
23587
23607
|
function keyBuilder$1J(luvio, config) {
|
|
23588
|
-
return keyPrefix$
|
|
23608
|
+
return keyPrefix$2 + '::' + RepresentationType$J + ':' + config.apiName;
|
|
23589
23609
|
}
|
|
23590
23610
|
function keyBuilderFromType$t(luvio, object) {
|
|
23591
23611
|
const keyParams = {
|
|
@@ -23717,7 +23737,7 @@
|
|
|
23717
23737
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23718
23738
|
const rootKey = keyBuilderFromType$t(luvio, input);
|
|
23719
23739
|
rootKeySet.set(rootKey, {
|
|
23720
|
-
namespace: keyPrefix$
|
|
23740
|
+
namespace: keyPrefix$2,
|
|
23721
23741
|
representationName: RepresentationType$J,
|
|
23722
23742
|
mergeable: false
|
|
23723
23743
|
});
|
|
@@ -23751,7 +23771,7 @@
|
|
|
23751
23771
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23752
23772
|
const storeMetadataParams = {
|
|
23753
23773
|
ttl: TTL$u,
|
|
23754
|
-
namespace: keyPrefix$
|
|
23774
|
+
namespace: keyPrefix$2,
|
|
23755
23775
|
version: VERSION$14$1,
|
|
23756
23776
|
representationName: RepresentationType$J
|
|
23757
23777
|
};
|
|
@@ -23870,7 +23890,7 @@
|
|
|
23870
23890
|
const VERSION$13$1 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
23871
23891
|
const RepresentationType$I = 'RecordLayoutRepresentation';
|
|
23872
23892
|
function keyBuilder$1G(luvio, config) {
|
|
23873
|
-
return keyPrefix$
|
|
23893
|
+
return keyPrefix$2 + '::' + RepresentationType$I + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
23874
23894
|
}
|
|
23875
23895
|
function keyBuilderFromType$s(luvio, object) {
|
|
23876
23896
|
const keyParams = {
|
|
@@ -23941,7 +23961,7 @@
|
|
|
23941
23961
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23942
23962
|
const rootKey = keyBuilderFromType$s(luvio, input);
|
|
23943
23963
|
rootKeySet.set(rootKey, {
|
|
23944
|
-
namespace: keyPrefix$
|
|
23964
|
+
namespace: keyPrefix$2,
|
|
23945
23965
|
representationName: RepresentationType$I,
|
|
23946
23966
|
mergeable: false
|
|
23947
23967
|
});
|
|
@@ -23973,7 +23993,7 @@
|
|
|
23973
23993
|
const VERSION$12$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
23974
23994
|
const RepresentationType$H = 'RecordLayoutUserStateRepresentation';
|
|
23975
23995
|
function keyBuilder$1F(luvio, config) {
|
|
23976
|
-
return keyPrefix$
|
|
23996
|
+
return keyPrefix$2 + '::' + RepresentationType$H + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
23977
23997
|
}
|
|
23978
23998
|
function keyBuilderFromType$r(luvio, object) {
|
|
23979
23999
|
const keyParams = {
|
|
@@ -24026,7 +24046,7 @@
|
|
|
24026
24046
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
24027
24047
|
const rootKey = keyBuilderFromType$r(luvio, input);
|
|
24028
24048
|
rootKeySet.set(rootKey, {
|
|
24029
|
-
namespace: keyPrefix$
|
|
24049
|
+
namespace: keyPrefix$2,
|
|
24030
24050
|
representationName: RepresentationType$H,
|
|
24031
24051
|
mergeable: false
|
|
24032
24052
|
});
|
|
@@ -24453,7 +24473,7 @@
|
|
|
24453
24473
|
const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
|
|
24454
24474
|
ttl: TTL$r,
|
|
24455
24475
|
representationName: '',
|
|
24456
|
-
namespace: keyPrefix$
|
|
24476
|
+
namespace: keyPrefix$2,
|
|
24457
24477
|
version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
|
|
24458
24478
|
};
|
|
24459
24479
|
const RECORD_UI_CACHED_SELECTOR_VERSION = 'RECORD_UI_CACHED_SELECTOR_VERSION_1';
|
|
@@ -24502,7 +24522,7 @@
|
|
|
24502
24522
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
24503
24523
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
24504
24524
|
const joinedModes = modes.sort().join(',');
|
|
24505
|
-
return `${keyPrefix$
|
|
24525
|
+
return `${keyPrefix$2}::RecordUiRepresentation:${joinedRecordIds}:${joinedLayoutTypes}:${joinedModes}:${joinedOptionalFields}`;
|
|
24506
24526
|
}
|
|
24507
24527
|
function buildSnapshotRefresh$4(luvio, config) {
|
|
24508
24528
|
return {
|
|
@@ -25189,7 +25209,7 @@
|
|
|
25189
25209
|
}
|
|
25190
25210
|
}
|
|
25191
25211
|
|
|
25192
|
-
const contextId$5 = `${keyPrefix$
|
|
25212
|
+
const contextId$5 = `${keyPrefix$2}__${adapterName$X}`;
|
|
25193
25213
|
// Custom adapter config due to `unsupported` items
|
|
25194
25214
|
const GET_RECORD_ADAPTER_CONFIG = {
|
|
25195
25215
|
displayName: 'getRecord',
|
|
@@ -25315,7 +25335,7 @@
|
|
|
25315
25335
|
const VERSION$10$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
25316
25336
|
const RepresentationType$F = 'QuickActionExecutionRepresentation';
|
|
25317
25337
|
function keyBuilder$1D(luvio, config) {
|
|
25318
|
-
return keyPrefix$
|
|
25338
|
+
return keyPrefix$2 + '::' + RepresentationType$F + ':' + config.id;
|
|
25319
25339
|
}
|
|
25320
25340
|
function keyBuilderFromType$q(luvio, object) {
|
|
25321
25341
|
const keyParams = {
|
|
@@ -25409,7 +25429,7 @@
|
|
|
25409
25429
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25410
25430
|
const rootKey = keyBuilderFromType$q(luvio, input);
|
|
25411
25431
|
rootKeySet.set(rootKey, {
|
|
25412
|
-
namespace: keyPrefix$
|
|
25432
|
+
namespace: keyPrefix$2,
|
|
25413
25433
|
representationName: RepresentationType$F,
|
|
25414
25434
|
mergeable: false
|
|
25415
25435
|
});
|
|
@@ -25419,7 +25439,7 @@
|
|
|
25419
25439
|
const VERSION$$$1 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
25420
25440
|
const RepresentationType$E = 'QuickActionDefaultsRepresentation';
|
|
25421
25441
|
function keyBuilder$1C(luvio, config) {
|
|
25422
|
-
return keyPrefix$
|
|
25442
|
+
return keyPrefix$2 + '::' + RepresentationType$E + ':' + config.actionApiName;
|
|
25423
25443
|
}
|
|
25424
25444
|
function keyBuilderFromType$p(luvio, object) {
|
|
25425
25445
|
const keyParams = {
|
|
@@ -25509,7 +25529,7 @@
|
|
|
25509
25529
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25510
25530
|
const rootKey = keyBuilderFromType$p(luvio, input);
|
|
25511
25531
|
rootKeySet.set(rootKey, {
|
|
25512
|
-
namespace: keyPrefix$
|
|
25532
|
+
namespace: keyPrefix$2,
|
|
25513
25533
|
representationName: RepresentationType$E,
|
|
25514
25534
|
mergeable: false
|
|
25515
25535
|
});
|
|
@@ -25553,7 +25573,7 @@
|
|
|
25553
25573
|
const VERSION$_$1 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
25554
25574
|
const RepresentationType$D = 'PlatformActionRepresentation';
|
|
25555
25575
|
function keyBuilder$1B(luvio, config) {
|
|
25556
|
-
return keyPrefix$
|
|
25576
|
+
return keyPrefix$2 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
25557
25577
|
}
|
|
25558
25578
|
function keyBuilderFromType$o(luvio, object) {
|
|
25559
25579
|
const keyParams = {
|
|
@@ -25757,7 +25777,7 @@
|
|
|
25757
25777
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25758
25778
|
const rootKey = keyBuilderFromType$o(luvio, input);
|
|
25759
25779
|
rootKeySet.set(rootKey, {
|
|
25760
|
-
namespace: keyPrefix$
|
|
25780
|
+
namespace: keyPrefix$2,
|
|
25761
25781
|
representationName: RepresentationType$D,
|
|
25762
25782
|
mergeable: false
|
|
25763
25783
|
});
|
|
@@ -25766,7 +25786,7 @@
|
|
|
25766
25786
|
const VERSION$Z$1 = "378d506f563a4bd724b322d440df33d1";
|
|
25767
25787
|
const RepresentationType$C = 'EntityActionRepresentation';
|
|
25768
25788
|
function keyBuilder$1A(luvio, config) {
|
|
25769
|
-
return keyPrefix$
|
|
25789
|
+
return keyPrefix$2 + '::' + RepresentationType$C + ':' + config.url;
|
|
25770
25790
|
}
|
|
25771
25791
|
function keyBuilderFromType$n(luvio, object) {
|
|
25772
25792
|
const keyParams = {
|
|
@@ -25849,7 +25869,7 @@
|
|
|
25849
25869
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25850
25870
|
const rootKey = keyBuilderFromType$n(luvio, input);
|
|
25851
25871
|
rootKeySet.set(rootKey, {
|
|
25852
|
-
namespace: keyPrefix$
|
|
25872
|
+
namespace: keyPrefix$2,
|
|
25853
25873
|
representationName: RepresentationType$C,
|
|
25854
25874
|
mergeable: false
|
|
25855
25875
|
});
|
|
@@ -25935,7 +25955,7 @@
|
|
|
25935
25955
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25936
25956
|
const rootKey = fullPathFactory();
|
|
25937
25957
|
rootKeySet.set(rootKey, {
|
|
25938
|
-
namespace: keyPrefix$
|
|
25958
|
+
namespace: keyPrefix$2,
|
|
25939
25959
|
representationName: RepresentationType$B,
|
|
25940
25960
|
mergeable: false
|
|
25941
25961
|
});
|
|
@@ -25952,7 +25972,7 @@
|
|
|
25952
25972
|
return select$1v();
|
|
25953
25973
|
}
|
|
25954
25974
|
function keyBuilder$1z(luvio, params) {
|
|
25955
|
-
return keyPrefix$
|
|
25975
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
25956
25976
|
}
|
|
25957
25977
|
function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
|
|
25958
25978
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1z(luvio, resourceParams));
|
|
@@ -25974,7 +25994,7 @@
|
|
|
25974
25994
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25975
25995
|
const storeMetadataParams = {
|
|
25976
25996
|
ttl: TTL$p,
|
|
25977
|
-
namespace: keyPrefix$
|
|
25997
|
+
namespace: keyPrefix$2,
|
|
25978
25998
|
version: VERSION$Y$1,
|
|
25979
25999
|
representationName: RepresentationType$B
|
|
25980
26000
|
};
|
|
@@ -26087,7 +26107,7 @@
|
|
|
26087
26107
|
const VERSION$X$1 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
26088
26108
|
const RepresentationType$A = 'QuickActionLayoutRepresentation';
|
|
26089
26109
|
function keyBuilder$1x(luvio, config) {
|
|
26090
|
-
return keyPrefix$
|
|
26110
|
+
return keyPrefix$2 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
26091
26111
|
}
|
|
26092
26112
|
function keyBuilderFromType$m(luvio, object) {
|
|
26093
26113
|
const keyParams = {
|
|
@@ -26134,7 +26154,7 @@
|
|
|
26134
26154
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26135
26155
|
const rootKey = keyBuilderFromType$m(luvio, input);
|
|
26136
26156
|
rootKeySet.set(rootKey, {
|
|
26137
|
-
namespace: keyPrefix$
|
|
26157
|
+
namespace: keyPrefix$2,
|
|
26138
26158
|
representationName: RepresentationType$A,
|
|
26139
26159
|
mergeable: false
|
|
26140
26160
|
});
|
|
@@ -26168,7 +26188,7 @@
|
|
|
26168
26188
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26169
26189
|
const storeMetadataParams = {
|
|
26170
26190
|
ttl: TTL$o,
|
|
26171
|
-
namespace: keyPrefix$
|
|
26191
|
+
namespace: keyPrefix$2,
|
|
26172
26192
|
version: VERSION$X$1,
|
|
26173
26193
|
representationName: RepresentationType$A
|
|
26174
26194
|
};
|
|
@@ -26308,7 +26328,7 @@
|
|
|
26308
26328
|
return select$1v();
|
|
26309
26329
|
}
|
|
26310
26330
|
function keyBuilder$1u(luvio, params) {
|
|
26311
|
-
return keyPrefix$
|
|
26331
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
26312
26332
|
}
|
|
26313
26333
|
function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
|
|
26314
26334
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1u(luvio, resourceParams));
|
|
@@ -26330,7 +26350,7 @@
|
|
|
26330
26350
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26331
26351
|
const storeMetadataParams = {
|
|
26332
26352
|
ttl: TTL$p,
|
|
26333
|
-
namespace: keyPrefix$
|
|
26353
|
+
namespace: keyPrefix$2,
|
|
26334
26354
|
version: VERSION$Y$1,
|
|
26335
26355
|
representationName: RepresentationType$B
|
|
26336
26356
|
};
|
|
@@ -26442,7 +26462,7 @@
|
|
|
26442
26462
|
return select$1v();
|
|
26443
26463
|
}
|
|
26444
26464
|
function keyBuilder$1s(luvio, params) {
|
|
26445
|
-
return keyPrefix$
|
|
26465
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26446
26466
|
}
|
|
26447
26467
|
function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
|
|
26448
26468
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1s(luvio, resourceParams));
|
|
@@ -26464,7 +26484,7 @@
|
|
|
26464
26484
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26465
26485
|
const storeMetadataParams = {
|
|
26466
26486
|
ttl: TTL$p,
|
|
26467
|
-
namespace: keyPrefix$
|
|
26487
|
+
namespace: keyPrefix$2,
|
|
26468
26488
|
version: VERSION$Y$1,
|
|
26469
26489
|
representationName: RepresentationType$B
|
|
26470
26490
|
};
|
|
@@ -26601,7 +26621,7 @@
|
|
|
26601
26621
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26602
26622
|
const rootKey = fullPathFactory();
|
|
26603
26623
|
rootKeySet.set(rootKey, {
|
|
26604
|
-
namespace: keyPrefix$
|
|
26624
|
+
namespace: keyPrefix$2,
|
|
26605
26625
|
representationName: RepresentationType$z,
|
|
26606
26626
|
mergeable: false
|
|
26607
26627
|
});
|
|
@@ -26611,7 +26631,7 @@
|
|
|
26611
26631
|
return select$1p();
|
|
26612
26632
|
}
|
|
26613
26633
|
function keyBuilder$1q(luvio, params) {
|
|
26614
|
-
return keyPrefix$
|
|
26634
|
+
return keyPrefix$2 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26615
26635
|
}
|
|
26616
26636
|
function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
|
|
26617
26637
|
getTypeCacheKeys$A$1(storeKeyMap, luvio, response, () => keyBuilder$1q(luvio, resourceParams));
|
|
@@ -26735,7 +26755,7 @@
|
|
|
26735
26755
|
|
|
26736
26756
|
const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
26737
26757
|
ttl: TTL$q,
|
|
26738
|
-
namespace: keyPrefix$
|
|
26758
|
+
namespace: keyPrefix$2,
|
|
26739
26759
|
representationName: RepresentationType$E,
|
|
26740
26760
|
version: VERSION$$$1,
|
|
26741
26761
|
};
|
|
@@ -26826,7 +26846,7 @@
|
|
|
26826
26846
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26827
26847
|
const storeMetadataParams = {
|
|
26828
26848
|
ttl: TTL$q,
|
|
26829
|
-
namespace: keyPrefix$
|
|
26849
|
+
namespace: keyPrefix$2,
|
|
26830
26850
|
version: VERSION$$$1,
|
|
26831
26851
|
representationName: RepresentationType$E
|
|
26832
26852
|
};
|
|
@@ -26960,7 +26980,7 @@
|
|
|
26960
26980
|
return select$1v();
|
|
26961
26981
|
}
|
|
26962
26982
|
function keyBuilder$1m(luvio, params) {
|
|
26963
|
-
return keyPrefix$
|
|
26983
|
+
return keyPrefix$2 + '::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 + ')';
|
|
26964
26984
|
}
|
|
26965
26985
|
function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
26966
26986
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
|
|
@@ -26982,7 +27002,7 @@
|
|
|
26982
27002
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26983
27003
|
const storeMetadataParams = {
|
|
26984
27004
|
ttl: TTL$p,
|
|
26985
|
-
namespace: keyPrefix$
|
|
27005
|
+
namespace: keyPrefix$2,
|
|
26986
27006
|
version: VERSION$Y$1,
|
|
26987
27007
|
representationName: RepresentationType$B
|
|
26988
27008
|
};
|
|
@@ -27100,7 +27120,7 @@
|
|
|
27100
27120
|
return select$1v();
|
|
27101
27121
|
}
|
|
27102
27122
|
function keyBuilder$1k(luvio, params) {
|
|
27103
|
-
return keyPrefix$
|
|
27123
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
27104
27124
|
}
|
|
27105
27125
|
function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
|
|
27106
27126
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
|
|
@@ -27122,7 +27142,7 @@
|
|
|
27122
27142
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27123
27143
|
const storeMetadataParams = {
|
|
27124
27144
|
ttl: TTL$p,
|
|
27125
|
-
namespace: keyPrefix$
|
|
27145
|
+
namespace: keyPrefix$2,
|
|
27126
27146
|
version: VERSION$Y$1,
|
|
27127
27147
|
representationName: RepresentationType$B
|
|
27128
27148
|
};
|
|
@@ -27230,7 +27250,7 @@
|
|
|
27230
27250
|
buildCachedSnapshotCachePolicy$B, buildNetworkSnapshotCachePolicy$B);
|
|
27231
27251
|
};
|
|
27232
27252
|
|
|
27233
|
-
function validate$
|
|
27253
|
+
function validate$1a(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
27234
27254
|
const v_error = (() => {
|
|
27235
27255
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
27236
27256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27304,7 +27324,7 @@
|
|
|
27304
27324
|
return select$1v();
|
|
27305
27325
|
}
|
|
27306
27326
|
function keyBuilder$1i(luvio, params) {
|
|
27307
|
-
return keyPrefix$
|
|
27327
|
+
return keyPrefix$2 + '::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) + ')';
|
|
27308
27328
|
}
|
|
27309
27329
|
function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
27310
27330
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
|
|
@@ -27326,7 +27346,7 @@
|
|
|
27326
27346
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27327
27347
|
const storeMetadataParams = {
|
|
27328
27348
|
ttl: TTL$p,
|
|
27329
|
-
namespace: keyPrefix$
|
|
27349
|
+
namespace: keyPrefix$2,
|
|
27330
27350
|
version: VERSION$Y$1,
|
|
27331
27351
|
representationName: RepresentationType$B
|
|
27332
27352
|
};
|
|
@@ -27493,7 +27513,7 @@
|
|
|
27493
27513
|
return selectChildResourceParams$6(luvio, childResources, resourceParams);
|
|
27494
27514
|
}
|
|
27495
27515
|
function keyBuilder$1h(luvio, params) {
|
|
27496
|
-
return keyPrefix$
|
|
27516
|
+
return keyPrefix$2 + '::ActionRelatedListsCollectionBatchRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + '[' + params.body.relatedListsActionParameters.map(element => (element.actionTypes === undefined ? 'relatedListsActionParameters.actionTypes' : 'relatedListsActionParameters.actionTypes:' + element.actionTypes) + '::' + (element.apiNames === undefined ? 'relatedListsActionParameters.apiNames' : 'relatedListsActionParameters.apiNames:' + element.apiNames) + '::' + (element.formFactor === undefined ? 'relatedListsActionParameters.formFactor' : 'relatedListsActionParameters.formFactor:' + element.formFactor) + '::' + 'relatedListsActionParameters.relatedListId:' + element.relatedListId + '::' + (element.retrievalMode === undefined ? 'relatedListsActionParameters.retrievalMode' : 'relatedListsActionParameters.retrievalMode:' + element.retrievalMode) + '::' + (element.sections === undefined ? 'relatedListsActionParameters.sections' : 'relatedListsActionParameters.sections:' + element.sections)).join(',') + ']' + ')';
|
|
27497
27517
|
}
|
|
27498
27518
|
function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
|
|
27499
27519
|
const childEnvelopes = response.results;
|
|
@@ -27509,7 +27529,7 @@
|
|
|
27509
27529
|
else if (childStatusCode === 404) {
|
|
27510
27530
|
const childKey = keyBuilder$1i(luvio, childResourceParams);
|
|
27511
27531
|
keys.set(childKey, {
|
|
27512
|
-
namespace: keyPrefix$
|
|
27532
|
+
namespace: keyPrefix$2,
|
|
27513
27533
|
representationName: RepresentationType$B,
|
|
27514
27534
|
mergeable: false
|
|
27515
27535
|
});
|
|
@@ -27641,7 +27661,7 @@
|
|
|
27641
27661
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
27642
27662
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
27643
27663
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
27644
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
27664
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1a(untrustedConfig_relatedListsActionParameters_item);
|
|
27645
27665
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
27646
27666
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
27647
27667
|
}
|
|
@@ -27813,7 +27833,7 @@
|
|
|
27813
27833
|
return select$1v();
|
|
27814
27834
|
}
|
|
27815
27835
|
function keyBuilder$1e(luvio, params) {
|
|
27816
|
-
return keyPrefix$
|
|
27836
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
27817
27837
|
}
|
|
27818
27838
|
function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
27819
27839
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
|
|
@@ -27835,7 +27855,7 @@
|
|
|
27835
27855
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27836
27856
|
const storeMetadataParams = {
|
|
27837
27857
|
ttl: TTL$p,
|
|
27838
|
-
namespace: keyPrefix$
|
|
27858
|
+
namespace: keyPrefix$2,
|
|
27839
27859
|
version: VERSION$Y$1,
|
|
27840
27860
|
representationName: RepresentationType$B
|
|
27841
27861
|
};
|
|
@@ -27973,7 +27993,7 @@
|
|
|
27973
27993
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
27974
27994
|
const rootKey = fullPathFactory();
|
|
27975
27995
|
rootKeySet.set(rootKey, {
|
|
27976
|
-
namespace: keyPrefix$
|
|
27996
|
+
namespace: keyPrefix$2,
|
|
27977
27997
|
representationName: RepresentationType$y,
|
|
27978
27998
|
mergeable: false
|
|
27979
27999
|
});
|
|
@@ -27983,7 +28003,7 @@
|
|
|
27983
28003
|
const VERSION$U$1 = "09884ca5bf90ea4662092a4e48817081";
|
|
27984
28004
|
const RepresentationType$x = 'NavItemRepresentation';
|
|
27985
28005
|
function keyBuilder$1c(luvio, config) {
|
|
27986
|
-
return keyPrefix$
|
|
28006
|
+
return keyPrefix$2 + '::' + RepresentationType$x + ':' + config.developerName;
|
|
27987
28007
|
}
|
|
27988
28008
|
function keyBuilderFromType$l(luvio, object) {
|
|
27989
28009
|
const keyParams = {
|
|
@@ -28172,7 +28192,7 @@
|
|
|
28172
28192
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28173
28193
|
const rootKey = keyBuilderFromType$l(luvio, input);
|
|
28174
28194
|
rootKeySet.set(rootKey, {
|
|
28175
|
-
namespace: keyPrefix$
|
|
28195
|
+
namespace: keyPrefix$2,
|
|
28176
28196
|
representationName: RepresentationType$x,
|
|
28177
28197
|
mergeable: false
|
|
28178
28198
|
});
|
|
@@ -28185,7 +28205,7 @@
|
|
|
28185
28205
|
const VERSION$T$1 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
28186
28206
|
const RepresentationType$w = 'AppRepresentation';
|
|
28187
28207
|
function keyBuilder$1b(luvio, config) {
|
|
28188
|
-
return keyPrefix$
|
|
28208
|
+
return keyPrefix$2 + '::' + RepresentationType$w + ':' + (config.appId === null ? '' : config.appId);
|
|
28189
28209
|
}
|
|
28190
28210
|
function keyBuilderFromType$k(luvio, object) {
|
|
28191
28211
|
const keyParams = {
|
|
@@ -28430,7 +28450,7 @@
|
|
|
28430
28450
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28431
28451
|
const rootKey = keyBuilderFromType$k(luvio, input);
|
|
28432
28452
|
rootKeySet.set(rootKey, {
|
|
28433
|
-
namespace: keyPrefix$
|
|
28453
|
+
namespace: keyPrefix$2,
|
|
28434
28454
|
representationName: RepresentationType$w,
|
|
28435
28455
|
mergeable: false
|
|
28436
28456
|
});
|
|
@@ -28511,7 +28531,7 @@
|
|
|
28511
28531
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28512
28532
|
const rootKey = fullPathFactory();
|
|
28513
28533
|
rootKeySet.set(rootKey, {
|
|
28514
|
-
namespace: keyPrefix$
|
|
28534
|
+
namespace: keyPrefix$2,
|
|
28515
28535
|
representationName: RepresentationType$v,
|
|
28516
28536
|
mergeable: false
|
|
28517
28537
|
});
|
|
@@ -28525,7 +28545,7 @@
|
|
|
28525
28545
|
return select$1f();
|
|
28526
28546
|
}
|
|
28527
28547
|
function keyBuilder$1a(luvio, params) {
|
|
28528
|
-
return keyPrefix$
|
|
28548
|
+
return keyPrefix$2 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
28529
28549
|
}
|
|
28530
28550
|
function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
|
|
28531
28551
|
getTypeCacheKeys$w$1(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
|
|
@@ -28547,7 +28567,7 @@
|
|
|
28547
28567
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28548
28568
|
const storeMetadataParams = {
|
|
28549
28569
|
ttl: TTL$l,
|
|
28550
|
-
namespace: keyPrefix$
|
|
28570
|
+
namespace: keyPrefix$2,
|
|
28551
28571
|
version: VERSION$S$1,
|
|
28552
28572
|
representationName: RepresentationType$v
|
|
28553
28573
|
};
|
|
@@ -28681,7 +28701,7 @@
|
|
|
28681
28701
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28682
28702
|
const storeMetadataParams = {
|
|
28683
28703
|
ttl: TTL$m,
|
|
28684
|
-
namespace: keyPrefix$
|
|
28704
|
+
namespace: keyPrefix$2,
|
|
28685
28705
|
version: VERSION$T$1,
|
|
28686
28706
|
representationName: RepresentationType$w
|
|
28687
28707
|
};
|
|
@@ -28985,7 +29005,7 @@
|
|
|
28985
29005
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28986
29006
|
const rootKey = fullPathFactory();
|
|
28987
29007
|
rootKeySet.set(rootKey, {
|
|
28988
|
-
namespace: keyPrefix$
|
|
29008
|
+
namespace: keyPrefix$2,
|
|
28989
29009
|
representationName: RepresentationType$u,
|
|
28990
29010
|
mergeable: false
|
|
28991
29011
|
});
|
|
@@ -28995,7 +29015,7 @@
|
|
|
28995
29015
|
return select$18$1();
|
|
28996
29016
|
}
|
|
28997
29017
|
function keyBuilder$16$1(luvio, params) {
|
|
28998
|
-
return keyPrefix$
|
|
29018
|
+
return keyPrefix$2 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
28999
29019
|
}
|
|
29000
29020
|
function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
|
|
29001
29021
|
getTypeCacheKeys$v$1(storeKeyMap, luvio, response, () => keyBuilder$16$1(luvio, resourceParams));
|
|
@@ -29017,7 +29037,7 @@
|
|
|
29017
29037
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29018
29038
|
const storeMetadataParams = {
|
|
29019
29039
|
ttl: TTL$k,
|
|
29020
|
-
namespace: keyPrefix$
|
|
29040
|
+
namespace: keyPrefix$2,
|
|
29021
29041
|
version: VERSION$N$1,
|
|
29022
29042
|
representationName: RepresentationType$u
|
|
29023
29043
|
};
|
|
@@ -29143,7 +29163,7 @@
|
|
|
29143
29163
|
}
|
|
29144
29164
|
|
|
29145
29165
|
function keyBuilder$14$1(luvio, params) {
|
|
29146
|
-
return keyPrefix$
|
|
29166
|
+
return keyPrefix$2 + '::RecordLayoutRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'layoutType:' + params.queryParams.layoutType + ',' + 'mode:' + params.queryParams.mode + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
29147
29167
|
}
|
|
29148
29168
|
function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
29149
29169
|
getTypeCacheKeys$I$1(storeKeyMap, luvio, response);
|
|
@@ -29153,7 +29173,7 @@
|
|
|
29153
29173
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29154
29174
|
const storeMetadataParams = {
|
|
29155
29175
|
ttl: TTL$t,
|
|
29156
|
-
namespace: keyPrefix$
|
|
29176
|
+
namespace: keyPrefix$2,
|
|
29157
29177
|
version: VERSION$13$1,
|
|
29158
29178
|
representationName: RepresentationType$I
|
|
29159
29179
|
};
|
|
@@ -29516,7 +29536,7 @@
|
|
|
29516
29536
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29517
29537
|
const storeMetadataParams = {
|
|
29518
29538
|
ttl: TTL$y,
|
|
29519
|
-
namespace: keyPrefix$
|
|
29539
|
+
namespace: keyPrefix$2,
|
|
29520
29540
|
version: VERSION$1e,
|
|
29521
29541
|
representationName: RepresentationType$R
|
|
29522
29542
|
};
|
|
@@ -29667,7 +29687,7 @@
|
|
|
29667
29687
|
return selectChildResourceParams$5(luvio, childResources, resourceParams);
|
|
29668
29688
|
}
|
|
29669
29689
|
function keyBuilder$12$1(luvio, params) {
|
|
29670
|
-
return keyPrefix$
|
|
29690
|
+
return keyPrefix$2 + '::ListInfoBatchRepresentation:(' + 'ids:' + params.queryParams.ids + ',' + 'names:' + params.queryParams.names + ')';
|
|
29671
29691
|
}
|
|
29672
29692
|
function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
|
|
29673
29693
|
const childEnvelopes = response.results;
|
|
@@ -29683,7 +29703,7 @@
|
|
|
29683
29703
|
else if (childStatusCode === 404) {
|
|
29684
29704
|
const childKey = keyBuilder$13$1(luvio, childResourceParams);
|
|
29685
29705
|
keys.set(childKey, {
|
|
29686
|
-
namespace: keyPrefix$
|
|
29706
|
+
namespace: keyPrefix$2,
|
|
29687
29707
|
representationName: RepresentationType$R,
|
|
29688
29708
|
mergeable: false
|
|
29689
29709
|
});
|
|
@@ -29880,7 +29900,7 @@
|
|
|
29880
29900
|
buildCachedSnapshotCachePolicy$s, buildNetworkSnapshotCachePolicy$s);
|
|
29881
29901
|
};
|
|
29882
29902
|
|
|
29883
|
-
function validate
|
|
29903
|
+
function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
29884
29904
|
const v_error = (() => {
|
|
29885
29905
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29886
29906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29911,7 +29931,7 @@
|
|
|
29911
29931
|
return v_error === undefined ? null : v_error;
|
|
29912
29932
|
}
|
|
29913
29933
|
|
|
29914
|
-
function validate
|
|
29934
|
+
function validate$$(obj, path = 'ListScopeInputRepresentation') {
|
|
29915
29935
|
const v_error = (() => {
|
|
29916
29936
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29917
29937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29921,57 +29941,61 @@
|
|
|
29921
29941
|
if (typeof obj_apiName !== 'string') {
|
|
29922
29942
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
29923
29943
|
}
|
|
29924
|
-
|
|
29925
|
-
|
|
29926
|
-
|
|
29927
|
-
|
|
29928
|
-
|
|
29929
|
-
|
|
29930
|
-
|
|
29931
|
-
|
|
29932
|
-
|
|
29933
|
-
|
|
29934
|
-
|
|
29935
|
-
|
|
29936
|
-
|
|
29937
|
-
|
|
29938
|
-
|
|
29939
|
-
|
|
29940
|
-
|
|
29941
|
-
|
|
29942
|
-
|
|
29943
|
-
|
|
29944
|
-
|
|
29945
|
-
|
|
29946
|
-
|
|
29947
|
-
|
|
29948
|
-
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29952
|
-
|
|
29953
|
-
|
|
29954
|
-
|
|
29955
|
-
|
|
29956
|
-
|
|
29957
|
-
|
|
29958
|
-
|
|
29959
|
-
|
|
29960
|
-
|
|
29961
|
-
|
|
29962
|
-
|
|
29963
|
-
|
|
29964
|
-
|
|
29965
|
-
|
|
29966
|
-
|
|
29967
|
-
|
|
29968
|
-
|
|
29969
|
-
|
|
29970
|
-
|
|
29971
|
-
|
|
29972
|
-
|
|
29973
|
-
|
|
29974
|
-
|
|
29944
|
+
if (obj.entityId !== undefined) {
|
|
29945
|
+
const obj_entityId = obj.entityId;
|
|
29946
|
+
const path_entityId = path + '.entityId';
|
|
29947
|
+
let obj_entityId_union0 = null;
|
|
29948
|
+
const obj_entityId_union0_error = (() => {
|
|
29949
|
+
if (typeof obj_entityId !== 'string') {
|
|
29950
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
29951
|
+
}
|
|
29952
|
+
})();
|
|
29953
|
+
if (obj_entityId_union0_error != null) {
|
|
29954
|
+
obj_entityId_union0 = obj_entityId_union0_error.message;
|
|
29955
|
+
}
|
|
29956
|
+
let obj_entityId_union1 = null;
|
|
29957
|
+
const obj_entityId_union1_error = (() => {
|
|
29958
|
+
if (obj_entityId !== null) {
|
|
29959
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
29960
|
+
}
|
|
29961
|
+
})();
|
|
29962
|
+
if (obj_entityId_union1_error != null) {
|
|
29963
|
+
obj_entityId_union1 = obj_entityId_union1_error.message;
|
|
29964
|
+
}
|
|
29965
|
+
if (obj_entityId_union0 && obj_entityId_union1) {
|
|
29966
|
+
let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
|
|
29967
|
+
message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29968
|
+
message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29969
|
+
return new TypeError(message);
|
|
29970
|
+
}
|
|
29971
|
+
}
|
|
29972
|
+
if (obj.relatedEntityId !== undefined) {
|
|
29973
|
+
const obj_relatedEntityId = obj.relatedEntityId;
|
|
29974
|
+
const path_relatedEntityId = path + '.relatedEntityId';
|
|
29975
|
+
let obj_relatedEntityId_union0 = null;
|
|
29976
|
+
const obj_relatedEntityId_union0_error = (() => {
|
|
29977
|
+
if (typeof obj_relatedEntityId !== 'string') {
|
|
29978
|
+
return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
29979
|
+
}
|
|
29980
|
+
})();
|
|
29981
|
+
if (obj_relatedEntityId_union0_error != null) {
|
|
29982
|
+
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
29983
|
+
}
|
|
29984
|
+
let obj_relatedEntityId_union1 = null;
|
|
29985
|
+
const obj_relatedEntityId_union1_error = (() => {
|
|
29986
|
+
if (obj_relatedEntityId !== null) {
|
|
29987
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
29988
|
+
}
|
|
29989
|
+
})();
|
|
29990
|
+
if (obj_relatedEntityId_union1_error != null) {
|
|
29991
|
+
obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
|
|
29992
|
+
}
|
|
29993
|
+
if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
|
|
29994
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
|
|
29995
|
+
message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
29996
|
+
message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
29997
|
+
return new TypeError(message);
|
|
29998
|
+
}
|
|
29975
29999
|
}
|
|
29976
30000
|
})();
|
|
29977
30001
|
return v_error === undefined ? null : v_error;
|
|
@@ -30031,7 +30055,7 @@
|
|
|
30031
30055
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30032
30056
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30033
30057
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30034
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30058
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30035
30059
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30036
30060
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30037
30061
|
}
|
|
@@ -30039,7 +30063,7 @@
|
|
|
30039
30063
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30040
30064
|
}
|
|
30041
30065
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30042
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30066
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30043
30067
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30044
30068
|
config.scope = untrustedConfig_scope;
|
|
30045
30069
|
}
|
|
@@ -30223,7 +30247,7 @@
|
|
|
30223
30247
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30224
30248
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30225
30249
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30226
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30250
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30227
30251
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30228
30252
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30229
30253
|
}
|
|
@@ -30231,7 +30255,7 @@
|
|
|
30231
30255
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30232
30256
|
}
|
|
30233
30257
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30234
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30258
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30235
30259
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30236
30260
|
config.scope = untrustedConfig_scope;
|
|
30237
30261
|
}
|
|
@@ -30512,7 +30536,7 @@
|
|
|
30512
30536
|
const VERSION$I$1 = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
30513
30537
|
const RepresentationType$t = 'ListObjectInfoRepresentation';
|
|
30514
30538
|
function keyBuilder$$$1(luvio, config) {
|
|
30515
|
-
return keyPrefix$
|
|
30539
|
+
return keyPrefix$2 + '::' + RepresentationType$t + ':' + config.objectApiName;
|
|
30516
30540
|
}
|
|
30517
30541
|
function keyBuilderFromType$j(luvio, object) {
|
|
30518
30542
|
const keyParams = {
|
|
@@ -30606,7 +30630,7 @@
|
|
|
30606
30630
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30607
30631
|
const rootKey = keyBuilderFromType$j(luvio, input);
|
|
30608
30632
|
rootKeySet.set(rootKey, {
|
|
30609
|
-
namespace: keyPrefix$
|
|
30633
|
+
namespace: keyPrefix$2,
|
|
30610
30634
|
representationName: RepresentationType$t,
|
|
30611
30635
|
mergeable: false
|
|
30612
30636
|
});
|
|
@@ -30640,7 +30664,7 @@
|
|
|
30640
30664
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30641
30665
|
const storeMetadataParams = {
|
|
30642
30666
|
ttl: TTL$j,
|
|
30643
|
-
namespace: keyPrefix$
|
|
30667
|
+
namespace: keyPrefix$2,
|
|
30644
30668
|
version: VERSION$I$1,
|
|
30645
30669
|
representationName: RepresentationType$t
|
|
30646
30670
|
};
|
|
@@ -30827,7 +30851,7 @@
|
|
|
30827
30851
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30828
30852
|
const rootKey = fullPathFactory();
|
|
30829
30853
|
rootKeySet.set(rootKey, {
|
|
30830
|
-
namespace: keyPrefix$
|
|
30854
|
+
namespace: keyPrefix$2,
|
|
30831
30855
|
representationName: RepresentationType$s,
|
|
30832
30856
|
mergeable: false
|
|
30833
30857
|
});
|
|
@@ -30841,7 +30865,7 @@
|
|
|
30841
30865
|
return select$Y$1();
|
|
30842
30866
|
}
|
|
30843
30867
|
function keyBuilder$Y$1(luvio, params) {
|
|
30844
|
-
return keyPrefix$
|
|
30868
|
+
return keyPrefix$2 + '::NavItemsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'navItemNames:' + params.queryParams.navItemNames + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
|
|
30845
30869
|
}
|
|
30846
30870
|
function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
30847
30871
|
getTypeCacheKeys$t$1(storeKeyMap, luvio, response, () => keyBuilder$Y$1(luvio, resourceParams));
|
|
@@ -30863,7 +30887,7 @@
|
|
|
30863
30887
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30864
30888
|
const storeMetadataParams = {
|
|
30865
30889
|
ttl: TTL$i,
|
|
30866
|
-
namespace: keyPrefix$
|
|
30890
|
+
namespace: keyPrefix$2,
|
|
30867
30891
|
version: VERSION$H$1,
|
|
30868
30892
|
representationName: RepresentationType$s
|
|
30869
30893
|
};
|
|
@@ -31094,7 +31118,7 @@
|
|
|
31094
31118
|
return selectChildResourceParams$4(luvio, childResources, resourceParams);
|
|
31095
31119
|
}
|
|
31096
31120
|
function keyBuilder$W$1(luvio, params) {
|
|
31097
|
-
return keyPrefix$
|
|
31121
|
+
return keyPrefix$2 + '::SimplifiedBatchRepresentation:(' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
31098
31122
|
}
|
|
31099
31123
|
function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
|
|
31100
31124
|
const childEnvelopes = response.results;
|
|
@@ -31110,7 +31134,7 @@
|
|
|
31110
31134
|
else if (childStatusCode === 404) {
|
|
31111
31135
|
const childKey = keyBuilder$1I(luvio, childResourceParams);
|
|
31112
31136
|
keys.set(childKey, {
|
|
31113
|
-
namespace: keyPrefix$
|
|
31137
|
+
namespace: keyPrefix$2,
|
|
31114
31138
|
representationName: RepresentationType$J,
|
|
31115
31139
|
mergeable: false
|
|
31116
31140
|
});
|
|
@@ -31478,7 +31502,7 @@
|
|
|
31478
31502
|
const VERSION$A$1 = "0a361a49370acb4c6a31721a2057649a";
|
|
31479
31503
|
const RepresentationType$r = 'PicklistValuesRepresentation';
|
|
31480
31504
|
function keyBuilder$U$1(luvio, config) {
|
|
31481
|
-
return keyPrefix$
|
|
31505
|
+
return keyPrefix$2 + '::' + RepresentationType$r + ':' + config.id;
|
|
31482
31506
|
}
|
|
31483
31507
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
31484
31508
|
return input;
|
|
@@ -31532,7 +31556,7 @@
|
|
|
31532
31556
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31533
31557
|
const rootKey = keyBuilderFromType$i(luvio, input);
|
|
31534
31558
|
rootKeySet.set(rootKey, {
|
|
31535
|
-
namespace: keyPrefix$
|
|
31559
|
+
namespace: keyPrefix$2,
|
|
31536
31560
|
representationName: RepresentationType$r,
|
|
31537
31561
|
mergeable: false
|
|
31538
31562
|
});
|
|
@@ -31608,7 +31632,7 @@
|
|
|
31608
31632
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31609
31633
|
const rootKey = fullPathFactory();
|
|
31610
31634
|
rootKeySet.set(rootKey, {
|
|
31611
|
-
namespace: keyPrefix$
|
|
31635
|
+
namespace: keyPrefix$2,
|
|
31612
31636
|
representationName: RepresentationType$q,
|
|
31613
31637
|
mergeable: false
|
|
31614
31638
|
});
|
|
@@ -31625,7 +31649,7 @@
|
|
|
31625
31649
|
return select$O$1();
|
|
31626
31650
|
}
|
|
31627
31651
|
function keyBuilder$T$1(luvio, params) {
|
|
31628
|
-
return keyPrefix$
|
|
31652
|
+
return keyPrefix$2 + '::PicklistValuesCollectionRepresentation:(' + 'objectApiName:' + params.urlParams.objectApiName + ',' + 'recordTypeId:' + params.urlParams.recordTypeId + ')';
|
|
31629
31653
|
}
|
|
31630
31654
|
function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
31631
31655
|
getTypeCacheKeys$r$1(storeKeyMap, luvio, response, () => keyBuilder$T$1(luvio, resourceParams));
|
|
@@ -31647,7 +31671,7 @@
|
|
|
31647
31671
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31648
31672
|
const storeMetadataParams = {
|
|
31649
31673
|
ttl: TTL$g,
|
|
31650
|
-
namespace: keyPrefix$
|
|
31674
|
+
namespace: keyPrefix$2,
|
|
31651
31675
|
version: VERSION$z$1,
|
|
31652
31676
|
representationName: RepresentationType$q
|
|
31653
31677
|
};
|
|
@@ -31950,7 +31974,7 @@
|
|
|
31950
31974
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31951
31975
|
const rootKey = fullPathFactory();
|
|
31952
31976
|
rootKeySet.set(rootKey, {
|
|
31953
|
-
namespace: keyPrefix$
|
|
31977
|
+
namespace: keyPrefix$2,
|
|
31954
31978
|
representationName: RepresentationType$p,
|
|
31955
31979
|
mergeable: false
|
|
31956
31980
|
});
|
|
@@ -31960,7 +31984,7 @@
|
|
|
31960
31984
|
return select$M$1();
|
|
31961
31985
|
}
|
|
31962
31986
|
function keyBuilder$R$1(luvio, params) {
|
|
31963
|
-
return keyPrefix$
|
|
31987
|
+
return keyPrefix$2 + '::DuplicatesRepresentation:(' + (params.body.allowSaveOnDuplicate === undefined ? 'allowSaveOnDuplicate' : 'allowSaveOnDuplicate:' + params.body.allowSaveOnDuplicate) + '::' + (params.body.apiName === undefined ? 'apiName' : 'apiName:' + params.body.apiName) + '::' + stableJSONStringify$2(params.body.fields) + ')';
|
|
31964
31988
|
}
|
|
31965
31989
|
function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
|
|
31966
31990
|
getTypeCacheKeys$q$1(storeKeyMap, luvio, response, () => keyBuilder$R$1(luvio, resourceParams));
|
|
@@ -31982,7 +32006,7 @@
|
|
|
31982
32006
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31983
32007
|
const storeMetadataParams = {
|
|
31984
32008
|
ttl: TTL$f,
|
|
31985
|
-
namespace: keyPrefix$
|
|
32009
|
+
namespace: keyPrefix$2,
|
|
31986
32010
|
version: VERSION$y$1,
|
|
31987
32011
|
representationName: RepresentationType$p
|
|
31988
32012
|
};
|
|
@@ -32250,7 +32274,7 @@
|
|
|
32250
32274
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32251
32275
|
const rootKey = keyBuilderFromType$h(luvio, input);
|
|
32252
32276
|
rootKeySet.set(rootKey, {
|
|
32253
|
-
namespace: keyPrefix$
|
|
32277
|
+
namespace: keyPrefix$2,
|
|
32254
32278
|
representationName: RepresentationType$m,
|
|
32255
32279
|
mergeable: false
|
|
32256
32280
|
});
|
|
@@ -32316,7 +32340,7 @@
|
|
|
32316
32340
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32317
32341
|
const rootKey = keyBuilderFromType$g(luvio, input);
|
|
32318
32342
|
rootKeySet.set(rootKey, {
|
|
32319
|
-
namespace: keyPrefix$
|
|
32343
|
+
namespace: keyPrefix$2,
|
|
32320
32344
|
representationName: RepresentationType$m,
|
|
32321
32345
|
mergeable: false
|
|
32322
32346
|
});
|
|
@@ -32330,7 +32354,7 @@
|
|
|
32330
32354
|
const VERSION$u$1 = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
32331
32355
|
const RepresentationType$m = 'AbstractRecordAvatarRepresentation';
|
|
32332
32356
|
function keyBuilder$P$1(luvio, config) {
|
|
32333
|
-
return keyPrefix$
|
|
32357
|
+
return keyPrefix$2 + '::' + RepresentationType$m + ':' + config.recordId;
|
|
32334
32358
|
}
|
|
32335
32359
|
function keyBuilderFromType$f(luvio, object) {
|
|
32336
32360
|
const keyParams = {
|
|
@@ -32456,7 +32480,7 @@
|
|
|
32456
32480
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32457
32481
|
const rootKey = fullPathFactory();
|
|
32458
32482
|
rootKeySet.set(rootKey, {
|
|
32459
|
-
namespace: keyPrefix$
|
|
32483
|
+
namespace: keyPrefix$2,
|
|
32460
32484
|
representationName: RepresentationType$l,
|
|
32461
32485
|
mergeable: false
|
|
32462
32486
|
});
|
|
@@ -32543,7 +32567,7 @@
|
|
|
32543
32567
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32544
32568
|
const rootKey = fullPathFactory();
|
|
32545
32569
|
rootKeySet.set(rootKey, {
|
|
32546
|
-
namespace: keyPrefix$
|
|
32570
|
+
namespace: keyPrefix$2,
|
|
32547
32571
|
representationName: RepresentationType$k,
|
|
32548
32572
|
mergeable: false
|
|
32549
32573
|
});
|
|
@@ -32598,7 +32622,7 @@
|
|
|
32598
32622
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32599
32623
|
const rootKey = fullPathFactory();
|
|
32600
32624
|
rootKeySet.set(rootKey, {
|
|
32601
|
-
namespace: keyPrefix$
|
|
32625
|
+
namespace: keyPrefix$2,
|
|
32602
32626
|
representationName: RepresentationType$j,
|
|
32603
32627
|
mergeable: false
|
|
32604
32628
|
});
|
|
@@ -32712,7 +32736,7 @@
|
|
|
32712
32736
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32713
32737
|
const rootKey = fullPathFactory();
|
|
32714
32738
|
rootKeySet.set(rootKey, {
|
|
32715
|
-
namespace: keyPrefix$
|
|
32739
|
+
namespace: keyPrefix$2,
|
|
32716
32740
|
representationName: RepresentationType$i,
|
|
32717
32741
|
mergeable: false
|
|
32718
32742
|
});
|
|
@@ -32752,7 +32776,7 @@
|
|
|
32752
32776
|
};
|
|
32753
32777
|
|
|
32754
32778
|
function keyBuilder$O$1(luvio, params) {
|
|
32755
|
-
return keyPrefix$
|
|
32779
|
+
return keyPrefix$2 + '::RecordAvatarBulkMapRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
32756
32780
|
}
|
|
32757
32781
|
function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
|
|
32758
32782
|
getTypeCacheKeys$i$1(storeKeyMap, luvio, response, () => keyBuilder$O$1(luvio, resourceParams));
|
|
@@ -32762,7 +32786,7 @@
|
|
|
32762
32786
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
32763
32787
|
const storeMetadataParams = {
|
|
32764
32788
|
ttl: TTL$d,
|
|
32765
|
-
namespace: keyPrefix$
|
|
32789
|
+
namespace: keyPrefix$2,
|
|
32766
32790
|
version: VERSION$o$1,
|
|
32767
32791
|
representationName: RepresentationType$i
|
|
32768
32792
|
};
|
|
@@ -32785,7 +32809,7 @@
|
|
|
32785
32809
|
|
|
32786
32810
|
// All of the avatars are ingested into
|
|
32787
32811
|
// the same top level object
|
|
32788
|
-
const KEY = `${keyPrefix$
|
|
32812
|
+
const KEY = `${keyPrefix$2}RecordAvatarsBulk`;
|
|
32789
32813
|
function recordAvatarsFragment(recordIds) {
|
|
32790
32814
|
return {
|
|
32791
32815
|
kind: 'Fragment',
|
|
@@ -33272,7 +33296,7 @@
|
|
|
33272
33296
|
const VERSION$m$1 = "836b875b519813e7499efc62f0f1d04b";
|
|
33273
33297
|
const RepresentationType$h = 'RelatedListRecordCountRepresentation';
|
|
33274
33298
|
function keyBuilder$M$1(luvio, config) {
|
|
33275
|
-
return keyPrefix$
|
|
33299
|
+
return keyPrefix$2 + '::' + RepresentationType$h + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId;
|
|
33276
33300
|
}
|
|
33277
33301
|
function keyBuilderFromType$e(luvio, object) {
|
|
33278
33302
|
const keyParams = {
|
|
@@ -33342,7 +33366,7 @@
|
|
|
33342
33366
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33343
33367
|
const rootKey = keyBuilderFromType$e(luvio, input);
|
|
33344
33368
|
rootKeySet.set(rootKey, {
|
|
33345
|
-
namespace: keyPrefix$
|
|
33369
|
+
namespace: keyPrefix$2,
|
|
33346
33370
|
representationName: RepresentationType$h,
|
|
33347
33371
|
mergeable: false
|
|
33348
33372
|
});
|
|
@@ -33519,7 +33543,7 @@
|
|
|
33519
33543
|
return selectChildResourceParams$3(luvio, childResources, resourceParams);
|
|
33520
33544
|
}
|
|
33521
33545
|
function keyBuilder$K$1(luvio, params) {
|
|
33522
|
-
return keyPrefix$
|
|
33546
|
+
return keyPrefix$2 + '::BatchRelatedListCountRepresentation:(' + 'maxCount:' + params.queryParams.maxCount + ',' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
33523
33547
|
}
|
|
33524
33548
|
function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
|
|
33525
33549
|
const childEnvelopes = response.results;
|
|
@@ -33535,7 +33559,7 @@
|
|
|
33535
33559
|
else if (childStatusCode === 404) {
|
|
33536
33560
|
const childKey = keyBuilder$L$1(luvio, childResourceParams);
|
|
33537
33561
|
keys.set(childKey, {
|
|
33538
|
-
namespace: keyPrefix$
|
|
33562
|
+
namespace: keyPrefix$2,
|
|
33539
33563
|
representationName: RepresentationType$h,
|
|
33540
33564
|
mergeable: false
|
|
33541
33565
|
});
|
|
@@ -33822,7 +33846,7 @@
|
|
|
33822
33846
|
const VERSION$l$1 = "c977d65d153a2b4e888ddd45fb083248";
|
|
33823
33847
|
const RepresentationType$g = 'RelatedListInfoRepresentation';
|
|
33824
33848
|
function keyBuilder$H$1(luvio, config) {
|
|
33825
|
-
return keyPrefix$
|
|
33849
|
+
return keyPrefix$2 + '::' + RepresentationType$g + ':' + config.relatedListId + ':' + config.parentObjectApiName + ':' + config.restrictColumnsToLayout + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + '[' + config.optionalFields.join(',') + ']' + ':' + '[' + config.fields.join(',') + ']';
|
|
33826
33850
|
}
|
|
33827
33851
|
function keyBuilderFromType$d(luvio, object) {
|
|
33828
33852
|
const keyParams = {
|
|
@@ -33949,7 +33973,7 @@
|
|
|
33949
33973
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33950
33974
|
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
33951
33975
|
rootKeySet.set(rootKey, {
|
|
33952
|
-
namespace: keyPrefix$
|
|
33976
|
+
namespace: keyPrefix$2,
|
|
33953
33977
|
representationName: RepresentationType$g,
|
|
33954
33978
|
mergeable: false
|
|
33955
33979
|
});
|
|
@@ -33988,7 +34012,7 @@
|
|
|
33988
34012
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
33989
34013
|
const storeMetadataParams = {
|
|
33990
34014
|
ttl: TTL$c,
|
|
33991
|
-
namespace: keyPrefix$
|
|
34015
|
+
namespace: keyPrefix$2,
|
|
33992
34016
|
version: VERSION$l$1,
|
|
33993
34017
|
representationName: RepresentationType$g
|
|
33994
34018
|
};
|
|
@@ -34140,7 +34164,7 @@
|
|
|
34140
34164
|
return selectChildResourceParams$2(luvio, childResources, resourceParams);
|
|
34141
34165
|
}
|
|
34142
34166
|
function keyBuilder$F$1(luvio, params) {
|
|
34143
|
-
return keyPrefix$
|
|
34167
|
+
return keyPrefix$2 + '::RelatedListInfoBatchRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'parentObjectApiName:' + params.urlParams.parentObjectApiName + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
34144
34168
|
}
|
|
34145
34169
|
function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
|
|
34146
34170
|
const childEnvelopes = response.results;
|
|
@@ -34156,7 +34180,7 @@
|
|
|
34156
34180
|
else if (childStatusCode === 404) {
|
|
34157
34181
|
const childKey = keyBuilder$G$1(luvio, childResourceParams);
|
|
34158
34182
|
keys.set(childKey, {
|
|
34159
|
-
namespace: keyPrefix$
|
|
34183
|
+
namespace: keyPrefix$2,
|
|
34160
34184
|
representationName: RepresentationType$g,
|
|
34161
34185
|
mergeable: false
|
|
34162
34186
|
});
|
|
@@ -34358,7 +34382,7 @@
|
|
|
34358
34382
|
const VERSION$k$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
34359
34383
|
const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
|
|
34360
34384
|
function keyBuilder$D$1(luvio, config) {
|
|
34361
|
-
return keyPrefix$
|
|
34385
|
+
return keyPrefix$2 + '::' + RepresentationType$f + ':' + config.parentObjectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
34362
34386
|
}
|
|
34363
34387
|
function keyBuilderFromType$c(luvio, object) {
|
|
34364
34388
|
const keyParams = {
|
|
@@ -34410,7 +34434,7 @@
|
|
|
34410
34434
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34411
34435
|
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
34412
34436
|
rootKeySet.set(rootKey, {
|
|
34413
|
-
namespace: keyPrefix$
|
|
34437
|
+
namespace: keyPrefix$2,
|
|
34414
34438
|
representationName: RepresentationType$f,
|
|
34415
34439
|
mergeable: false
|
|
34416
34440
|
});
|
|
@@ -34634,7 +34658,7 @@
|
|
|
34634
34658
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
34635
34659
|
};
|
|
34636
34660
|
|
|
34637
|
-
function validate$
|
|
34661
|
+
function validate$w(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
34638
34662
|
const v_error = (() => {
|
|
34639
34663
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34640
34664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34653,7 +34677,7 @@
|
|
|
34653
34677
|
return v_error === undefined ? null : v_error;
|
|
34654
34678
|
}
|
|
34655
34679
|
|
|
34656
|
-
function validate$
|
|
34680
|
+
function validate$v(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
34657
34681
|
const v_error = (() => {
|
|
34658
34682
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34659
34683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34730,7 +34754,7 @@
|
|
|
34730
34754
|
const untrustedConfig_orderedByInfo_array = [];
|
|
34731
34755
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
34732
34756
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
34733
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
34757
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedByInfo_item);
|
|
34734
34758
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
34735
34759
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
34736
34760
|
}
|
|
@@ -34738,7 +34762,7 @@
|
|
|
34738
34762
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
34739
34763
|
}
|
|
34740
34764
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
34741
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
34765
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$v(untrustedConfig_userPreferences);
|
|
34742
34766
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
34743
34767
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
34744
34768
|
}
|
|
@@ -34802,7 +34826,7 @@
|
|
|
34802
34826
|
const VERSION$j$1 = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
34803
34827
|
const RepresentationType$e = 'RelatedListUserPreferencesRepresentation';
|
|
34804
34828
|
function keyBuilder$z$1(luvio, config) {
|
|
34805
|
-
return keyPrefix$
|
|
34829
|
+
return keyPrefix$2 + '::' + RepresentationType$e + ':' + config.preferencesId;
|
|
34806
34830
|
}
|
|
34807
34831
|
function keyBuilderFromType$b(luvio, object) {
|
|
34808
34832
|
const keyParams = {
|
|
@@ -34837,7 +34861,7 @@
|
|
|
34837
34861
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34838
34862
|
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
34839
34863
|
rootKeySet.set(rootKey, {
|
|
34840
|
-
namespace: keyPrefix$
|
|
34864
|
+
namespace: keyPrefix$2,
|
|
34841
34865
|
representationName: RepresentationType$e,
|
|
34842
34866
|
mergeable: false
|
|
34843
34867
|
});
|
|
@@ -34871,7 +34895,7 @@
|
|
|
34871
34895
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
34872
34896
|
const storeMetadataParams = {
|
|
34873
34897
|
ttl: TTL$b,
|
|
34874
|
-
namespace: keyPrefix$
|
|
34898
|
+
namespace: keyPrefix$2,
|
|
34875
34899
|
version: VERSION$j$1,
|
|
34876
34900
|
representationName: RepresentationType$e
|
|
34877
34901
|
};
|
|
@@ -35015,7 +35039,7 @@
|
|
|
35015
35039
|
return selectChildResourceParams$1(luvio, childResources, resourceParams);
|
|
35016
35040
|
}
|
|
35017
35041
|
function keyBuilder$x$1(luvio, params) {
|
|
35018
|
-
return keyPrefix$
|
|
35042
|
+
return keyPrefix$2 + '::RelatedListPreferencesBatchRepresentation:(' + 'preferencesIds:' + params.urlParams.preferencesIds + ')';
|
|
35019
35043
|
}
|
|
35020
35044
|
function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
|
|
35021
35045
|
const childEnvelopes = response.results;
|
|
@@ -35031,7 +35055,7 @@
|
|
|
35031
35055
|
else if (childStatusCode === 404) {
|
|
35032
35056
|
const childKey = keyBuilder$y$1(luvio, childResourceParams);
|
|
35033
35057
|
keys.set(childKey, {
|
|
35034
|
-
namespace: keyPrefix$
|
|
35058
|
+
namespace: keyPrefix$2,
|
|
35035
35059
|
representationName: RepresentationType$e,
|
|
35036
35060
|
mergeable: false
|
|
35037
35061
|
});
|
|
@@ -35393,7 +35417,7 @@
|
|
|
35393
35417
|
const untrustedConfig_orderedBy_array = [];
|
|
35394
35418
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
35395
35419
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
35396
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
35420
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedBy_item);
|
|
35397
35421
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
35398
35422
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
35399
35423
|
}
|
|
@@ -35441,7 +35465,7 @@
|
|
|
35441
35465
|
};
|
|
35442
35466
|
};
|
|
35443
35467
|
|
|
35444
|
-
function validate$
|
|
35468
|
+
function validate$t(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
35445
35469
|
const v_error = (() => {
|
|
35446
35470
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
35447
35471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35686,7 +35710,7 @@
|
|
|
35686
35710
|
const VERSION$i$1 = "62467c27c19349b70c9db2a8d9d591d9";
|
|
35687
35711
|
const RepresentationType$d = 'RelatedListRecordCollectionRepresentation';
|
|
35688
35712
|
function keyBuilder$u$1(luvio, config) {
|
|
35689
|
-
return keyPrefix$
|
|
35713
|
+
return keyPrefix$2 + '::' + RepresentationType$d + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
|
|
35690
35714
|
}
|
|
35691
35715
|
function keyBuilderFromType$a(luvio, object) {
|
|
35692
35716
|
const keyParams = {
|
|
@@ -35998,12 +36022,12 @@
|
|
|
35998
36022
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
35999
36023
|
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
36000
36024
|
rootKeySet.set(rootKey, {
|
|
36001
|
-
namespace: keyPrefix$
|
|
36025
|
+
namespace: keyPrefix$2,
|
|
36002
36026
|
representationName: RepresentationType$d,
|
|
36003
36027
|
mergeable: true
|
|
36004
36028
|
});
|
|
36005
36029
|
rootKeySet.set(rootKey + '__pagination', {
|
|
36006
|
-
namespace: keyPrefix$
|
|
36030
|
+
namespace: keyPrefix$2,
|
|
36007
36031
|
representationName: RepresentationType$d,
|
|
36008
36032
|
mergeable: true
|
|
36009
36033
|
});
|
|
@@ -36079,7 +36103,7 @@
|
|
|
36079
36103
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36080
36104
|
const storeMetadataParams = {
|
|
36081
36105
|
ttl: TTL$a,
|
|
36082
|
-
namespace: keyPrefix$
|
|
36106
|
+
namespace: keyPrefix$2,
|
|
36083
36107
|
version: VERSION$i$1,
|
|
36084
36108
|
representationName: RepresentationType$d
|
|
36085
36109
|
};
|
|
@@ -36246,7 +36270,7 @@
|
|
|
36246
36270
|
return selectChildResourceParams$8(luvio, childResources, resourceParams);
|
|
36247
36271
|
}
|
|
36248
36272
|
function keyBuilder$s$1(luvio, params) {
|
|
36249
|
-
return keyPrefix$
|
|
36273
|
+
return keyPrefix$2 + '::RelatedListRecordCollectionBatchRepresentation:(' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + '[' + params.body.relatedListParameters.map(element => (element.fields === undefined ? 'relatedListParameters.fields' : 'relatedListParameters.fields:' + element.fields) + '::' + (element.optionalFields === undefined ? 'relatedListParameters.optionalFields' : 'relatedListParameters.optionalFields:' + element.optionalFields) + '::' + (element.pageSize === undefined ? 'relatedListParameters.pageSize' : 'relatedListParameters.pageSize:' + element.pageSize) + '::' + 'relatedListParameters.relatedListId:' + element.relatedListId + '::' + (element.sortBy === undefined ? 'relatedListParameters.sortBy' : 'relatedListParameters.sortBy:' + element.sortBy) + '::' + (element.where === undefined ? 'relatedListParameters.where' : 'relatedListParameters.where:' + element.where)).join(',') + ']' + ')';
|
|
36250
36274
|
}
|
|
36251
36275
|
function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
|
|
36252
36276
|
const childEnvelopes = response.results;
|
|
@@ -36262,7 +36286,7 @@
|
|
|
36262
36286
|
else if (childStatusCode === 404) {
|
|
36263
36287
|
const childKey = keyBuilder$t$1(luvio, childResourceParams);
|
|
36264
36288
|
keys.set(childKey, {
|
|
36265
|
-
namespace: keyPrefix$
|
|
36289
|
+
namespace: keyPrefix$2,
|
|
36266
36290
|
representationName: RepresentationType$d,
|
|
36267
36291
|
mergeable: false
|
|
36268
36292
|
});
|
|
@@ -36394,7 +36418,7 @@
|
|
|
36394
36418
|
const untrustedConfig_relatedListParameters_array = [];
|
|
36395
36419
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
36396
36420
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
36397
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
36421
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$t(untrustedConfig_relatedListParameters_item);
|
|
36398
36422
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
36399
36423
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
36400
36424
|
}
|
|
@@ -36813,7 +36837,7 @@
|
|
|
36813
36837
|
const VERSION$c$1 = "4c15d70367f2a3acd1e1c627b4946679";
|
|
36814
36838
|
const RepresentationType$c = 'SearchFilterMetadataCollectionRepresentation';
|
|
36815
36839
|
function keyBuilder$p$1(luvio, config) {
|
|
36816
|
-
return keyPrefix$
|
|
36840
|
+
return keyPrefix$2 + '::' + RepresentationType$c + ':' + config.objectApiName;
|
|
36817
36841
|
}
|
|
36818
36842
|
function keyBuilderFromType$9(luvio, object) {
|
|
36819
36843
|
const keyParams = {
|
|
@@ -36872,7 +36896,7 @@
|
|
|
36872
36896
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
36873
36897
|
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
36874
36898
|
rootKeySet.set(rootKey, {
|
|
36875
|
-
namespace: keyPrefix$
|
|
36899
|
+
namespace: keyPrefix$2,
|
|
36876
36900
|
representationName: RepresentationType$c,
|
|
36877
36901
|
mergeable: false
|
|
36878
36902
|
});
|
|
@@ -36906,7 +36930,7 @@
|
|
|
36906
36930
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36907
36931
|
const storeMetadataParams = {
|
|
36908
36932
|
ttl: TTL$9,
|
|
36909
|
-
namespace: keyPrefix$
|
|
36933
|
+
namespace: keyPrefix$2,
|
|
36910
36934
|
version: VERSION$c$1,
|
|
36911
36935
|
representationName: RepresentationType$c
|
|
36912
36936
|
};
|
|
@@ -37014,7 +37038,7 @@
|
|
|
37014
37038
|
const VERSION$b$1 = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
37015
37039
|
const RepresentationType$b = 'SearchFilterOptionCollectionRepresentation';
|
|
37016
37040
|
function keyBuilder$m$1(luvio, config) {
|
|
37017
|
-
return keyPrefix$
|
|
37041
|
+
return keyPrefix$2 + '::' + RepresentationType$b + ':' + (config.query === null ? '' : config.query) + ':' + config.objectApiName + ':' + config.filterApiName;
|
|
37018
37042
|
}
|
|
37019
37043
|
function keyBuilderFromType$8(luvio, object) {
|
|
37020
37044
|
const keyParams = {
|
|
@@ -37051,7 +37075,7 @@
|
|
|
37051
37075
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37052
37076
|
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
37053
37077
|
rootKeySet.set(rootKey, {
|
|
37054
|
-
namespace: keyPrefix$
|
|
37078
|
+
namespace: keyPrefix$2,
|
|
37055
37079
|
representationName: RepresentationType$b,
|
|
37056
37080
|
mergeable: false
|
|
37057
37081
|
});
|
|
@@ -37087,7 +37111,7 @@
|
|
|
37087
37111
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37088
37112
|
const storeMetadataParams = {
|
|
37089
37113
|
ttl: TTL$8,
|
|
37090
|
-
namespace: keyPrefix$
|
|
37114
|
+
namespace: keyPrefix$2,
|
|
37091
37115
|
version: VERSION$b$1,
|
|
37092
37116
|
representationName: RepresentationType$b
|
|
37093
37117
|
};
|
|
@@ -37197,7 +37221,7 @@
|
|
|
37197
37221
|
const VERSION$a$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
37198
37222
|
const RepresentationType$a = 'LookupMetadataRepresentation';
|
|
37199
37223
|
function keyBuilder$j$1(luvio, config) {
|
|
37200
|
-
return keyPrefix$
|
|
37224
|
+
return keyPrefix$2 + '::' + RepresentationType$a + ':' + config.objectApiName + ':' + config.fieldApiName;
|
|
37201
37225
|
}
|
|
37202
37226
|
function keyBuilderFromType$7(luvio, object) {
|
|
37203
37227
|
const keyParams = {
|
|
@@ -37233,7 +37257,7 @@
|
|
|
37233
37257
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37234
37258
|
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
37235
37259
|
rootKeySet.set(rootKey, {
|
|
37236
|
-
namespace: keyPrefix$
|
|
37260
|
+
namespace: keyPrefix$2,
|
|
37237
37261
|
representationName: RepresentationType$a,
|
|
37238
37262
|
mergeable: false
|
|
37239
37263
|
});
|
|
@@ -37268,7 +37292,7 @@
|
|
|
37268
37292
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37269
37293
|
const storeMetadataParams = {
|
|
37270
37294
|
ttl: TTL$7,
|
|
37271
|
-
namespace: keyPrefix$
|
|
37295
|
+
namespace: keyPrefix$2,
|
|
37272
37296
|
version: VERSION$a$1,
|
|
37273
37297
|
representationName: RepresentationType$a
|
|
37274
37298
|
};
|
|
@@ -37377,7 +37401,7 @@
|
|
|
37377
37401
|
const VERSION$9$1 = "da21e889922062e90012ba48c4a733e2";
|
|
37378
37402
|
const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
|
|
37379
37403
|
function keyBuilder$g$1(luvio, config) {
|
|
37380
|
-
return keyPrefix$
|
|
37404
|
+
return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query;
|
|
37381
37405
|
}
|
|
37382
37406
|
function keyBuilderFromType$6(luvio, object) {
|
|
37383
37407
|
const keyParams = {
|
|
@@ -37412,7 +37436,7 @@
|
|
|
37412
37436
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37413
37437
|
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
37414
37438
|
rootKeySet.set(rootKey, {
|
|
37415
|
-
namespace: keyPrefix$
|
|
37439
|
+
namespace: keyPrefix$2,
|
|
37416
37440
|
representationName: RepresentationType$9,
|
|
37417
37441
|
mergeable: false
|
|
37418
37442
|
});
|
|
@@ -37446,7 +37470,7 @@
|
|
|
37446
37470
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37447
37471
|
const storeMetadataParams = {
|
|
37448
37472
|
ttl: TTL$6,
|
|
37449
|
-
namespace: keyPrefix$
|
|
37473
|
+
namespace: keyPrefix$2,
|
|
37450
37474
|
version: VERSION$9$1,
|
|
37451
37475
|
representationName: RepresentationType$9
|
|
37452
37476
|
};
|
|
@@ -37552,7 +37576,7 @@
|
|
|
37552
37576
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
37553
37577
|
};
|
|
37554
37578
|
|
|
37555
|
-
function validate$
|
|
37579
|
+
function validate$b(obj, path = 'SearchFilterInputRepresentation') {
|
|
37556
37580
|
const v_error = (() => {
|
|
37557
37581
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
37558
37582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37625,7 +37649,7 @@
|
|
|
37625
37649
|
const VERSION$8$1 = "168255e2d3a26e867c3fb9cee0165537";
|
|
37626
37650
|
const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
|
|
37627
37651
|
function keyBuilder$d$1(luvio, config) {
|
|
37628
|
-
return keyPrefix$
|
|
37652
|
+
return keyPrefix$2 + '::' + RepresentationType$8 + ':' + config.query + ':' + config.objectApiName;
|
|
37629
37653
|
}
|
|
37630
37654
|
function keyBuilderFromType$5(luvio, object) {
|
|
37631
37655
|
const keyParams = {
|
|
@@ -37661,7 +37685,7 @@
|
|
|
37661
37685
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37662
37686
|
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
37663
37687
|
rootKeySet.set(rootKey, {
|
|
37664
|
-
namespace: keyPrefix$
|
|
37688
|
+
namespace: keyPrefix$2,
|
|
37665
37689
|
representationName: RepresentationType$8,
|
|
37666
37690
|
mergeable: false
|
|
37667
37691
|
});
|
|
@@ -37696,7 +37720,7 @@
|
|
|
37696
37720
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37697
37721
|
const storeMetadataParams = {
|
|
37698
37722
|
ttl: TTL$5,
|
|
37699
|
-
namespace: keyPrefix$
|
|
37723
|
+
namespace: keyPrefix$2,
|
|
37700
37724
|
version: VERSION$8$1,
|
|
37701
37725
|
representationName: RepresentationType$8
|
|
37702
37726
|
};
|
|
@@ -37740,7 +37764,7 @@
|
|
|
37740
37764
|
const untrustedConfig_filters_array = [];
|
|
37741
37765
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
37742
37766
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
37743
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
37767
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$b(untrustedConfig_filters_item);
|
|
37744
37768
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
37745
37769
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
37746
37770
|
}
|
|
@@ -38093,7 +38117,7 @@
|
|
|
38093
38117
|
};
|
|
38094
38118
|
}
|
|
38095
38119
|
|
|
38096
|
-
function validate$
|
|
38120
|
+
function validate$9(obj, path = 'RecordLayoutUserStateInputRepresentation') {
|
|
38097
38121
|
const v_error = (() => {
|
|
38098
38122
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38099
38123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38183,7 +38207,7 @@
|
|
|
38183
38207
|
throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify$8(untrusted)}`);
|
|
38184
38208
|
}
|
|
38185
38209
|
// This will throw if layoutUserStateInput is not a valid input
|
|
38186
|
-
validate$
|
|
38210
|
+
validate$9(layoutUserStateInput, 'layoutUserStateInput');
|
|
38187
38211
|
return {
|
|
38188
38212
|
...config,
|
|
38189
38213
|
layoutUserStateInput: layoutUserStateInput,
|
|
@@ -38240,6 +38264,14 @@
|
|
|
38240
38264
|
if (sortBy && typeof sortBy === 'string') {
|
|
38241
38265
|
response.body.sortBy = sortBy.split(',');
|
|
38242
38266
|
}
|
|
38267
|
+
// Hand-rolling: The server returns sortBy as null for MRU when we don't pass it as a parameter.
|
|
38268
|
+
// Changing server response to avoid key mismatch
|
|
38269
|
+
const listViewApiName = body.listReference && body.listReference.listViewApiName
|
|
38270
|
+
? body.listReference.listViewApiName
|
|
38271
|
+
: null;
|
|
38272
|
+
if (listViewApiName === '__Recent' && !sortBy) {
|
|
38273
|
+
response.body.sortBy = [];
|
|
38274
|
+
}
|
|
38243
38275
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2$1(luvio, config, resourceParams, response), () => {
|
|
38244
38276
|
const cache = new StoreKeyMap();
|
|
38245
38277
|
getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
|
|
@@ -38414,7 +38446,7 @@
|
|
|
38414
38446
|
return onFetchResponseSuccess$3(luvio, config, resourceParams, response);
|
|
38415
38447
|
}
|
|
38416
38448
|
|
|
38417
|
-
const contextId$4 = `${keyPrefix$
|
|
38449
|
+
const contextId$4 = `${keyPrefix$2}__${adapterName$7}`;
|
|
38418
38450
|
const factory$a = (luvio) => {
|
|
38419
38451
|
return luvio.withContext(function UiApi__getListRecordsByName(untrustedConfig, adapterContext, requestContext) {
|
|
38420
38452
|
const config = validateAdapterConfig$a(untrustedConfig, getListRecordsByName_ConfigPropertyNames);
|
|
@@ -38427,6 +38459,84 @@
|
|
|
38427
38459
|
}, { contextId: contextId$4 });
|
|
38428
38460
|
};
|
|
38429
38461
|
|
|
38462
|
+
function validate$8(obj, path = 'RecordInputRepresentation') {
|
|
38463
|
+
const v_error = (() => {
|
|
38464
|
+
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38465
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38466
|
+
}
|
|
38467
|
+
if (obj.allowSaveOnDuplicate !== undefined) {
|
|
38468
|
+
const obj_allowSaveOnDuplicate = obj.allowSaveOnDuplicate;
|
|
38469
|
+
const path_allowSaveOnDuplicate = path + '.allowSaveOnDuplicate';
|
|
38470
|
+
if (typeof obj_allowSaveOnDuplicate !== 'boolean') {
|
|
38471
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowSaveOnDuplicate + '" (at "' + path_allowSaveOnDuplicate + '")');
|
|
38472
|
+
}
|
|
38473
|
+
}
|
|
38474
|
+
if (obj.apiName !== undefined) {
|
|
38475
|
+
const obj_apiName = obj.apiName;
|
|
38476
|
+
const path_apiName = path + '.apiName';
|
|
38477
|
+
if (typeof obj_apiName !== 'string') {
|
|
38478
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
38479
|
+
}
|
|
38480
|
+
}
|
|
38481
|
+
const obj_fields = obj.fields;
|
|
38482
|
+
const path_fields = path + '.fields';
|
|
38483
|
+
if (typeof obj_fields !== 'object' || ArrayIsArray$2(obj_fields) || obj_fields === null) {
|
|
38484
|
+
return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
|
|
38485
|
+
}
|
|
38486
|
+
const obj_fields_keys = ObjectKeys$2(obj_fields);
|
|
38487
|
+
for (let i = 0; i < obj_fields_keys.length; i++) {
|
|
38488
|
+
const key = obj_fields_keys[i];
|
|
38489
|
+
const obj_fields_prop = obj_fields[key];
|
|
38490
|
+
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
38491
|
+
let obj_fields_prop_union0 = null;
|
|
38492
|
+
const obj_fields_prop_union0_error = (() => {
|
|
38493
|
+
if (typeof obj_fields_prop !== 'string') {
|
|
38494
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38495
|
+
}
|
|
38496
|
+
})();
|
|
38497
|
+
if (obj_fields_prop_union0_error != null) {
|
|
38498
|
+
obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
|
|
38499
|
+
}
|
|
38500
|
+
let obj_fields_prop_union1 = null;
|
|
38501
|
+
const obj_fields_prop_union1_error = (() => {
|
|
38502
|
+
if (typeof obj_fields_prop !== 'number') {
|
|
38503
|
+
return new TypeError('Expected "number" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38504
|
+
}
|
|
38505
|
+
})();
|
|
38506
|
+
if (obj_fields_prop_union1_error != null) {
|
|
38507
|
+
obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
|
|
38508
|
+
}
|
|
38509
|
+
let obj_fields_prop_union2 = null;
|
|
38510
|
+
const obj_fields_prop_union2_error = (() => {
|
|
38511
|
+
if (obj_fields_prop !== null) {
|
|
38512
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38513
|
+
}
|
|
38514
|
+
})();
|
|
38515
|
+
if (obj_fields_prop_union2_error != null) {
|
|
38516
|
+
obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
|
|
38517
|
+
}
|
|
38518
|
+
let obj_fields_prop_union3 = null;
|
|
38519
|
+
const obj_fields_prop_union3_error = (() => {
|
|
38520
|
+
if (typeof obj_fields_prop !== 'boolean') {
|
|
38521
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
38522
|
+
}
|
|
38523
|
+
})();
|
|
38524
|
+
if (obj_fields_prop_union3_error != null) {
|
|
38525
|
+
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
38526
|
+
}
|
|
38527
|
+
if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3) {
|
|
38528
|
+
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
38529
|
+
message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
38530
|
+
message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
38531
|
+
message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
38532
|
+
message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
|
|
38533
|
+
return new TypeError(message);
|
|
38534
|
+
}
|
|
38535
|
+
}
|
|
38536
|
+
})();
|
|
38537
|
+
return v_error === undefined ? null : v_error;
|
|
38538
|
+
}
|
|
38539
|
+
|
|
38430
38540
|
const VERSION$7$1 = "022d5de1337ec512acb4af43b75ea5e6";
|
|
38431
38541
|
const RepresentationType$7 = 'LookupValuesRepresentation';
|
|
38432
38542
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
@@ -38486,7 +38596,7 @@
|
|
|
38486
38596
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
38487
38597
|
const rootKey = fullPathFactory();
|
|
38488
38598
|
rootKeySet.set(rootKey, {
|
|
38489
|
-
namespace: keyPrefix$
|
|
38599
|
+
namespace: keyPrefix$2,
|
|
38490
38600
|
representationName: RepresentationType$7,
|
|
38491
38601
|
mergeable: false
|
|
38492
38602
|
});
|
|
@@ -38590,7 +38700,7 @@
|
|
|
38590
38700
|
};
|
|
38591
38701
|
|
|
38592
38702
|
function keyBuilder$9$1(luvio, params) {
|
|
38593
|
-
return keyPrefix$
|
|
38703
|
+
return keyPrefix$2 + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ',' + (params.body.sourceRecord === undefined ? 'sourceRecord' : 'sourceRecord:' + params.body.sourceRecord) + ')';
|
|
38594
38704
|
}
|
|
38595
38705
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
38596
38706
|
getTypeCacheKeys$7$1(storeKeyMap, luvio, response, () => keyBuilder$9$1(luvio, resourceParams));
|
|
@@ -38606,8 +38716,8 @@
|
|
|
38606
38716
|
return {
|
|
38607
38717
|
baseUri: '/services/data/v60.0',
|
|
38608
38718
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
38609
|
-
method: '
|
|
38610
|
-
body:
|
|
38719
|
+
method: 'post',
|
|
38720
|
+
body: config.body,
|
|
38611
38721
|
urlParams: config.urlParams,
|
|
38612
38722
|
queryParams: config.queryParams,
|
|
38613
38723
|
headers,
|
|
@@ -38640,6 +38750,7 @@
|
|
|
38640
38750
|
generateParamConfigMetadata$2('searchType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38641
38751
|
generateParamConfigMetadata$2('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38642
38752
|
generateParamConfigMetadata$2('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38753
|
+
generateParamConfigMetadata$2('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
|
|
38643
38754
|
];
|
|
38644
38755
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$Z(getLookupRecords_ConfigPropertyMetadata);
|
|
38645
38756
|
function keyBuilder$8$1(luvio, config) {
|
|
@@ -38649,6 +38760,14 @@
|
|
|
38649
38760
|
function typeCheckConfig$a(untrustedConfig) {
|
|
38650
38761
|
const config = {};
|
|
38651
38762
|
typeCheckConfig$12(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
|
|
38763
|
+
const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
|
|
38764
|
+
const referenceRecordInputRepresentationValidationError = validate$8(untrustedConfig_sourceRecord);
|
|
38765
|
+
if (referenceRecordInputRepresentationValidationError === null) {
|
|
38766
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
38767
|
+
}
|
|
38768
|
+
if (untrustedConfig_sourceRecord === null) {
|
|
38769
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
38770
|
+
}
|
|
38652
38771
|
return config;
|
|
38653
38772
|
}
|
|
38654
38773
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -38695,7 +38814,7 @@
|
|
|
38695
38814
|
});
|
|
38696
38815
|
}
|
|
38697
38816
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
38698
|
-
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8,
|
|
38817
|
+
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
|
|
38699
38818
|
}
|
|
38700
38819
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
38701
38820
|
const { luvio, config } = context;
|
|
@@ -38745,6 +38864,10 @@
|
|
|
38745
38864
|
if (targetApiName !== undefined) {
|
|
38746
38865
|
coercedConfig.targetApiName = targetApiName;
|
|
38747
38866
|
}
|
|
38867
|
+
const sourceRecord = requestParams.sourceRecord;
|
|
38868
|
+
if (sourceRecord !== undefined) {
|
|
38869
|
+
coercedConfig.sourceRecord = sourceRecord;
|
|
38870
|
+
}
|
|
38748
38871
|
return coercedConfig;
|
|
38749
38872
|
}
|
|
38750
38873
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -38762,7 +38885,7 @@
|
|
|
38762
38885
|
};
|
|
38763
38886
|
}
|
|
38764
38887
|
|
|
38765
|
-
const contextId$3 = `${keyPrefix$
|
|
38888
|
+
const contextId$3 = `${keyPrefix$2}__${adapterName$6}`;
|
|
38766
38889
|
const paramNames = {
|
|
38767
38890
|
displayName: 'getLookupRecords',
|
|
38768
38891
|
parameters: {
|
|
@@ -39003,7 +39126,7 @@
|
|
|
39003
39126
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39004
39127
|
const rootKey = fullPathFactory();
|
|
39005
39128
|
rootKeySet.set(rootKey, {
|
|
39006
|
-
namespace: keyPrefix$
|
|
39129
|
+
namespace: keyPrefix$2,
|
|
39007
39130
|
representationName: RepresentationType$6,
|
|
39008
39131
|
mergeable: false
|
|
39009
39132
|
});
|
|
@@ -39112,7 +39235,7 @@
|
|
|
39112
39235
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39113
39236
|
const rootKey = fullPathFactory();
|
|
39114
39237
|
rootKeySet.set(rootKey, {
|
|
39115
|
-
namespace: keyPrefix$
|
|
39238
|
+
namespace: keyPrefix$2,
|
|
39116
39239
|
representationName: RepresentationType$5,
|
|
39117
39240
|
mergeable: false
|
|
39118
39241
|
});
|
|
@@ -39130,7 +39253,7 @@
|
|
|
39130
39253
|
}
|
|
39131
39254
|
|
|
39132
39255
|
function keyBuilder$7$1(luvio, params) {
|
|
39133
|
-
return keyPrefix$
|
|
39256
|
+
return keyPrefix$2 + '::RecordDefaultsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
39134
39257
|
}
|
|
39135
39258
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
39136
39259
|
getTypeCacheKeys$5$1(storeKeyMap, luvio, response, () => keyBuilder$7$1(luvio, resourceParams));
|
|
@@ -39175,7 +39298,7 @@
|
|
|
39175
39298
|
return config;
|
|
39176
39299
|
}
|
|
39177
39300
|
|
|
39178
|
-
const contextId$2 = `${keyPrefix$
|
|
39301
|
+
const contextId$2 = `${keyPrefix$2}__${adapterName$4$1}`;
|
|
39179
39302
|
const layoutSelections = select$1A();
|
|
39180
39303
|
const objectInfoSelections = select$1C();
|
|
39181
39304
|
function buildSelector(resp) {
|
|
@@ -39327,7 +39450,7 @@
|
|
|
39327
39450
|
const VERSION$4$1 = "6a63c9ca6dda2e125d94e004f83240d8";
|
|
39328
39451
|
const RepresentationType$4 = 'RecordTemplateCloneRepresentation';
|
|
39329
39452
|
function keyBuilder$6$1(luvio, config) {
|
|
39330
|
-
return keyPrefix$
|
|
39453
|
+
return keyPrefix$2 + '::' + RepresentationType$4 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39331
39454
|
}
|
|
39332
39455
|
function keyBuilderFromType$4(luvio, object) {
|
|
39333
39456
|
const keyParams = {
|
|
@@ -39447,7 +39570,7 @@
|
|
|
39447
39570
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39448
39571
|
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
39449
39572
|
rootKeySet.set(rootKey, {
|
|
39450
|
-
namespace: keyPrefix$
|
|
39573
|
+
namespace: keyPrefix$2,
|
|
39451
39574
|
representationName: RepresentationType$4,
|
|
39452
39575
|
mergeable: false
|
|
39453
39576
|
});
|
|
@@ -39472,7 +39595,7 @@
|
|
|
39472
39595
|
const VERSION$3$1 = "b352a734f919895e97682703b486b649";
|
|
39473
39596
|
const RepresentationType$3$1 = 'RecordDefaultsTemplateCloneRepresentation';
|
|
39474
39597
|
function keyBuilder$5$1(luvio, config) {
|
|
39475
|
-
return keyPrefix$
|
|
39598
|
+
return keyPrefix$2 + '::' + RepresentationType$3$1 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39476
39599
|
}
|
|
39477
39600
|
function keyBuilderFromType$3(luvio, object) {
|
|
39478
39601
|
const keyParams = {
|
|
@@ -39561,7 +39684,7 @@
|
|
|
39561
39684
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39562
39685
|
const rootKey = keyBuilderFromType$3(luvio, input);
|
|
39563
39686
|
rootKeySet.set(rootKey, {
|
|
39564
|
-
namespace: keyPrefix$
|
|
39687
|
+
namespace: keyPrefix$2,
|
|
39565
39688
|
representationName: RepresentationType$3$1,
|
|
39566
39689
|
mergeable: false
|
|
39567
39690
|
});
|
|
@@ -39704,13 +39827,13 @@
|
|
|
39704
39827
|
return config;
|
|
39705
39828
|
}
|
|
39706
39829
|
|
|
39707
|
-
const contextId$1 = `${keyPrefix$
|
|
39830
|
+
const contextId$1 = `${keyPrefix$2}__${adapterName$3$1}`;
|
|
39708
39831
|
const DEFAULT_RECORD_TYPE_ID_KEY = 'defaultRecordTypeId';
|
|
39709
39832
|
const RECORD_TEMPLATE_CLONE_ERROR_VERSION = 'RECORD_TEMPLATE_CLONE_ERROR_VERSION_1';
|
|
39710
39833
|
const RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS = {
|
|
39711
39834
|
ttl: TTL$2$1,
|
|
39712
39835
|
representationName: '',
|
|
39713
|
-
namespace: keyPrefix$
|
|
39836
|
+
namespace: keyPrefix$2,
|
|
39714
39837
|
version: RECORD_TEMPLATE_CLONE_ERROR_VERSION,
|
|
39715
39838
|
};
|
|
39716
39839
|
function saveDefaultRecordTypeId(context, objectInfo) {
|
|
@@ -39865,7 +39988,7 @@
|
|
|
39865
39988
|
const VERSION$2$1 = "665de0fdde39efd6f1098e374117ef58";
|
|
39866
39989
|
const RepresentationType$2$1 = 'RecordTemplateCreateRepresentation';
|
|
39867
39990
|
function keyBuilder$4$1(luvio, config) {
|
|
39868
|
-
return keyPrefix$
|
|
39991
|
+
return keyPrefix$2 + '::' + RepresentationType$2$1 + ':' + config.apiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39869
39992
|
}
|
|
39870
39993
|
function keyBuilderFromType$2(luvio, object) {
|
|
39871
39994
|
const keyParams = {
|
|
@@ -39972,7 +40095,7 @@
|
|
|
39972
40095
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39973
40096
|
const rootKey = keyBuilderFromType$2(luvio, input);
|
|
39974
40097
|
rootKeySet.set(rootKey, {
|
|
39975
|
-
namespace: keyPrefix$
|
|
40098
|
+
namespace: keyPrefix$2,
|
|
39976
40099
|
representationName: RepresentationType$2$1,
|
|
39977
40100
|
mergeable: false
|
|
39978
40101
|
});
|
|
@@ -39997,7 +40120,7 @@
|
|
|
39997
40120
|
const VERSION$1$1 = "30493e7ac0677e35242026bb959c079e";
|
|
39998
40121
|
const RepresentationType$1$1 = 'RecordDefaultsTemplateCreateRepresentation';
|
|
39999
40122
|
function keyBuilder$3$1(luvio, config) {
|
|
40000
|
-
return keyPrefix$
|
|
40123
|
+
return keyPrefix$2 + '::' + RepresentationType$1$1 + ':' + config.objectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
40001
40124
|
}
|
|
40002
40125
|
function keyBuilderFromType$1(luvio, object) {
|
|
40003
40126
|
const keyParams = {
|
|
@@ -40086,7 +40209,7 @@
|
|
|
40086
40209
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40087
40210
|
const rootKey = keyBuilderFromType$1(luvio, input);
|
|
40088
40211
|
rootKeySet.set(rootKey, {
|
|
40089
|
-
namespace: keyPrefix$
|
|
40212
|
+
namespace: keyPrefix$2,
|
|
40090
40213
|
representationName: RepresentationType$1$1,
|
|
40091
40214
|
mergeable: false
|
|
40092
40215
|
});
|
|
@@ -40188,7 +40311,7 @@
|
|
|
40188
40311
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
40189
40312
|
const storeMetadataParams = {
|
|
40190
40313
|
ttl: TTL$z,
|
|
40191
|
-
namespace: keyPrefix$
|
|
40314
|
+
namespace: keyPrefix$2,
|
|
40192
40315
|
version: VERSION$1$1,
|
|
40193
40316
|
representationName: RepresentationType$1$1
|
|
40194
40317
|
};
|
|
@@ -40239,7 +40362,7 @@
|
|
|
40239
40362
|
return config;
|
|
40240
40363
|
}
|
|
40241
40364
|
|
|
40242
|
-
const contextId = `${keyPrefix$
|
|
40365
|
+
const contextId = `${keyPrefix$2}__${adapterName$2$1}`;
|
|
40243
40366
|
function buildSnapshotRefresh$6(luvio, context, config) {
|
|
40244
40367
|
return {
|
|
40245
40368
|
config,
|
|
@@ -40484,7 +40607,7 @@
|
|
|
40484
40607
|
function getResponseCacheKeys$2$1(cacheKeyMap, luvio, resourceParams) {
|
|
40485
40608
|
const key = keyBuilder$1$1(luvio, resourceParams);
|
|
40486
40609
|
cacheKeyMap.set(key, {
|
|
40487
|
-
namespace: keyPrefix$
|
|
40610
|
+
namespace: keyPrefix$2,
|
|
40488
40611
|
representationName: RepresentationType$O,
|
|
40489
40612
|
mergeable: false
|
|
40490
40613
|
});
|
|
@@ -40728,7 +40851,7 @@
|
|
|
40728
40851
|
const VERSION$1p = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
40729
40852
|
const RepresentationType$S = 'ContentDocumentCompositeRepresentation';
|
|
40730
40853
|
function keyBuilder$1W(luvio, config) {
|
|
40731
|
-
return keyPrefix$
|
|
40854
|
+
return keyPrefix$2 + '::' + RepresentationType$S + ':' + config.contentDocumentId;
|
|
40732
40855
|
}
|
|
40733
40856
|
function keyBuilderFromType$B(luvio, object) {
|
|
40734
40857
|
const keyParams = {
|
|
@@ -40812,7 +40935,7 @@
|
|
|
40812
40935
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40813
40936
|
const rootKey = keyBuilderFromType$B(luvio, input);
|
|
40814
40937
|
rootKeySet.set(rootKey, {
|
|
40815
|
-
namespace: keyPrefix$
|
|
40938
|
+
namespace: keyPrefix$2,
|
|
40816
40939
|
representationName: RepresentationType$S,
|
|
40817
40940
|
mergeable: false
|
|
40818
40941
|
});
|
|
@@ -41279,55 +41402,55 @@
|
|
|
41279
41402
|
let getSearchFilterOptions_imperative;
|
|
41280
41403
|
let getSearchResults_imperative;
|
|
41281
41404
|
// Adapter Metadata
|
|
41282
|
-
const getActionOverridesMetadata = { apiFamily: keyPrefix$
|
|
41283
|
-
const getAllAppsMetadata = { apiFamily: keyPrefix$
|
|
41284
|
-
const getAppDetailsMetadata = { apiFamily: keyPrefix$
|
|
41285
|
-
const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$
|
|
41286
|
-
const getDuplicatesMetadata = { apiFamily: keyPrefix$
|
|
41287
|
-
const getGlobalActionsMetadata = { apiFamily: keyPrefix$
|
|
41288
|
-
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$
|
|
41289
|
-
const getLayoutMetadata = { apiFamily: keyPrefix$
|
|
41290
|
-
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$
|
|
41291
|
-
const getListInfoByNameMetadata = { apiFamily: keyPrefix$
|
|
41292
|
-
const getListInfosByNameMetadata = { apiFamily: keyPrefix$
|
|
41293
|
-
const getListObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41294
|
-
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$
|
|
41295
|
-
const getListUiMetadata = { apiFamily: keyPrefix$
|
|
41296
|
-
const getLookupActionsMetadata = { apiFamily: keyPrefix$
|
|
41297
|
-
const getLookupMetadataMetadata = { apiFamily: keyPrefix$
|
|
41298
|
-
const getLookupRecordsMetadata = { apiFamily: keyPrefix$
|
|
41299
|
-
const getNavItemsMetadata = { apiFamily: keyPrefix$
|
|
41300
|
-
const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$
|
|
41301
|
-
const getObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41302
|
-
const getObjectInfosMetadata = { apiFamily: keyPrefix$
|
|
41303
|
-
const getPicklistValuesMetadata = { apiFamily: keyPrefix$
|
|
41304
|
-
const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$
|
|
41305
|
-
const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41306
|
-
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$
|
|
41307
|
-
const getRecordMetadata = { apiFamily: keyPrefix$
|
|
41308
|
-
const getRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41309
|
-
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$
|
|
41310
|
-
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41311
|
-
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$
|
|
41312
|
-
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$
|
|
41313
|
-
const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$
|
|
41314
|
-
const getRecordUiMetadata = { apiFamily: keyPrefix$
|
|
41315
|
-
const getRecordsMetadata = { apiFamily: keyPrefix$
|
|
41316
|
-
const getRelatedListActionsMetadata = { apiFamily: keyPrefix$
|
|
41317
|
-
const getRelatedListCountMetadata = { apiFamily: keyPrefix$
|
|
41318
|
-
const getRelatedListInfoMetadata = { apiFamily: keyPrefix$
|
|
41319
|
-
const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$
|
|
41320
|
-
const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$
|
|
41321
|
-
const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$
|
|
41322
|
-
const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41323
|
-
const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$
|
|
41324
|
-
const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$
|
|
41325
|
-
const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$
|
|
41326
|
-
const getRelatedListsCountMetadata = { apiFamily: keyPrefix$
|
|
41327
|
-
const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$
|
|
41328
|
-
const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$
|
|
41329
|
-
const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$
|
|
41330
|
-
const getSearchResultsMetadata = { apiFamily: keyPrefix$
|
|
41405
|
+
const getActionOverridesMetadata = { apiFamily: keyPrefix$2, name: adapterName$N };
|
|
41406
|
+
const getAllAppsMetadata = { apiFamily: keyPrefix$2, name: adapterName$G, ttl: 300000 };
|
|
41407
|
+
const getAppDetailsMetadata = { apiFamily: keyPrefix$2, name: adapterName$F, ttl: 300000 };
|
|
41408
|
+
const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$2, name: adapterName$E, ttl: 900000 };
|
|
41409
|
+
const getDuplicatesMetadata = { apiFamily: keyPrefix$2, name: adapterName$s, ttl: 30000 };
|
|
41410
|
+
const getGlobalActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$R$1, ttl: 300000 };
|
|
41411
|
+
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$a, ttl: 200 };
|
|
41412
|
+
const getLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$D, ttl: 900000 };
|
|
41413
|
+
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$2, name: adapterName$C, ttl: 900000 };
|
|
41414
|
+
const getListInfoByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$z, ttl: 900000 };
|
|
41415
|
+
const getListInfosByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$B };
|
|
41416
|
+
const getListObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$x, ttl: 900000 };
|
|
41417
|
+
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$2, name: 'getListRecordsByName', ttl: 30000 };
|
|
41418
|
+
const getListUiMetadata = { apiFamily: keyPrefix$2, name: 'getListUi', ttl: 900000 };
|
|
41419
|
+
const getLookupActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$P, ttl: 300000 };
|
|
41420
|
+
const getLookupMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$c, ttl: 30000 };
|
|
41421
|
+
const getLookupRecordsMetadata = { apiFamily: keyPrefix$2, name: 'getLookupRecords' };
|
|
41422
|
+
const getNavItemsMetadata = { apiFamily: keyPrefix$2, name: adapterName$w, ttl: 120000 };
|
|
41423
|
+
const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$O, ttl: 300000 };
|
|
41424
|
+
const getObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$S, ttl: 900000 };
|
|
41425
|
+
const getObjectInfosMetadata = { apiFamily: keyPrefix$2, name: adapterName$v };
|
|
41426
|
+
const getPicklistValuesMetadata = { apiFamily: keyPrefix$2, name: adapterName$t, ttl: 900000 };
|
|
41427
|
+
const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$2, name: adapterName$u, ttl: 300000 };
|
|
41428
|
+
const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$M, ttl: 900000 };
|
|
41429
|
+
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$Q, ttl: 900000 };
|
|
41430
|
+
const getRecordMetadata = { apiFamily: keyPrefix$2, name: 'getRecord', ttl: 30000 };
|
|
41431
|
+
const getRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$L, ttl: 300000 };
|
|
41432
|
+
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$2, name: adapterName$r, ttl: 300000 };
|
|
41433
|
+
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$2, name: 'getRecordCreateDefaults', ttl: 900000 };
|
|
41434
|
+
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$K, ttl: 300000 };
|
|
41435
|
+
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateClone', ttl: 1000 };
|
|
41436
|
+
const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateCreate', ttl: 900000 };
|
|
41437
|
+
const getRecordUiMetadata = { apiFamily: keyPrefix$2, name: 'getRecordUi', ttl: 900000 };
|
|
41438
|
+
const getRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$q };
|
|
41439
|
+
const getRelatedListActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$I, ttl: 300000 };
|
|
41440
|
+
const getRelatedListCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$o };
|
|
41441
|
+
const getRelatedListInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$l, ttl: 900000 };
|
|
41442
|
+
const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$n };
|
|
41443
|
+
const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$2, name: adapterName$i, ttl: 900000 };
|
|
41444
|
+
const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$j };
|
|
41445
|
+
const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$H, ttl: 300000 };
|
|
41446
|
+
const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$2, name: adapterName$f, ttl: 30000 };
|
|
41447
|
+
const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$2, name: adapterName$g };
|
|
41448
|
+
const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$J };
|
|
41449
|
+
const getRelatedListsCountMetadata = { apiFamily: keyPrefix$2, name: adapterName$p };
|
|
41450
|
+
const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$m };
|
|
41451
|
+
const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$2, name: adapterName$e, ttl: 30000 };
|
|
41452
|
+
const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$d, ttl: 30000 };
|
|
41453
|
+
const getSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$b, ttl: 200 };
|
|
41331
41454
|
function bindExportsTo$1(luvio) {
|
|
41332
41455
|
// LDS adapters
|
|
41333
41456
|
const getActionOverrides_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getActionOverrides', getActionOverridesAdapterFactory), getActionOverridesMetadata);
|
|
@@ -41646,7 +41769,7 @@
|
|
|
41646
41769
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41647
41770
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41648
41771
|
});
|
|
41649
|
-
// version: 1.
|
|
41772
|
+
// version: 1.245.0-df5596041
|
|
41650
41773
|
|
|
41651
41774
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41652
41775
|
|
|
@@ -46691,20 +46814,20 @@
|
|
|
46691
46814
|
*/
|
|
46692
46815
|
|
|
46693
46816
|
|
|
46694
|
-
var DraftActionStatus;
|
|
46817
|
+
var DraftActionStatus$1;
|
|
46695
46818
|
(function (DraftActionStatus) {
|
|
46696
46819
|
DraftActionStatus["Pending"] = "pending";
|
|
46697
46820
|
DraftActionStatus["Uploading"] = "uploading";
|
|
46698
46821
|
DraftActionStatus["Error"] = "error";
|
|
46699
46822
|
DraftActionStatus["Completed"] = "completed";
|
|
46700
|
-
})(DraftActionStatus || (DraftActionStatus = {}));
|
|
46823
|
+
})(DraftActionStatus$1 || (DraftActionStatus$1 = {}));
|
|
46701
46824
|
function isDraftError(draft) {
|
|
46702
|
-
return draft.status === DraftActionStatus.Error;
|
|
46825
|
+
return draft.status === DraftActionStatus$1.Error;
|
|
46703
46826
|
}
|
|
46704
46827
|
function isDraftQueueStateChangeEvent(event) {
|
|
46705
|
-
return event.type === DraftQueueEventType.QueueStateChanged;
|
|
46828
|
+
return event.type === DraftQueueEventType$1.QueueStateChanged;
|
|
46706
46829
|
}
|
|
46707
|
-
var ProcessActionResult;
|
|
46830
|
+
var ProcessActionResult$1;
|
|
46708
46831
|
(function (ProcessActionResult) {
|
|
46709
46832
|
// non-2xx network error, requires user intervention
|
|
46710
46833
|
ProcessActionResult["ACTION_ERRORED"] = "ERROR";
|
|
@@ -46720,8 +46843,8 @@
|
|
|
46720
46843
|
ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
|
|
46721
46844
|
//waiting for user to execute custom action
|
|
46722
46845
|
ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
|
|
46723
|
-
})(ProcessActionResult || (ProcessActionResult = {}));
|
|
46724
|
-
var DraftQueueState;
|
|
46846
|
+
})(ProcessActionResult$1 || (ProcessActionResult$1 = {}));
|
|
46847
|
+
var DraftQueueState$1;
|
|
46725
46848
|
(function (DraftQueueState) {
|
|
46726
46849
|
/** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
|
|
46727
46850
|
DraftQueueState["Started"] = "started";
|
|
@@ -46740,8 +46863,8 @@
|
|
|
46740
46863
|
* To attempt to force an upload now call startDraftQueue().
|
|
46741
46864
|
*/
|
|
46742
46865
|
DraftQueueState["Waiting"] = "waiting";
|
|
46743
|
-
})(DraftQueueState || (DraftQueueState = {}));
|
|
46744
|
-
var DraftQueueEventType;
|
|
46866
|
+
})(DraftQueueState$1 || (DraftQueueState$1 = {}));
|
|
46867
|
+
var DraftQueueEventType$1;
|
|
46745
46868
|
(function (DraftQueueEventType) {
|
|
46746
46869
|
/**
|
|
46747
46870
|
* Triggered after an action had been added to the queue
|
|
@@ -46771,13 +46894,13 @@
|
|
|
46771
46894
|
* Triggered after the Draft Queue state changes
|
|
46772
46895
|
*/
|
|
46773
46896
|
DraftQueueEventType["QueueStateChanged"] = "state";
|
|
46774
|
-
})(DraftQueueEventType || (DraftQueueEventType = {}));
|
|
46775
|
-
var QueueOperationType;
|
|
46897
|
+
})(DraftQueueEventType$1 || (DraftQueueEventType$1 = {}));
|
|
46898
|
+
var QueueOperationType$1;
|
|
46776
46899
|
(function (QueueOperationType) {
|
|
46777
46900
|
QueueOperationType["Add"] = "add";
|
|
46778
46901
|
QueueOperationType["Delete"] = "delete";
|
|
46779
46902
|
QueueOperationType["Update"] = "update";
|
|
46780
|
-
})(QueueOperationType || (QueueOperationType = {}));
|
|
46903
|
+
})(QueueOperationType$1 || (QueueOperationType$1 = {}));
|
|
46781
46904
|
|
|
46782
46905
|
class DraftSynthesisError extends Error {
|
|
46783
46906
|
constructor(message, errorType) {
|
|
@@ -46900,7 +47023,7 @@
|
|
|
46900
47023
|
/**
|
|
46901
47024
|
Use Math.random to generate v4 RFC4122 compliant uuid
|
|
46902
47025
|
*/
|
|
46903
|
-
function uuidv4() {
|
|
47026
|
+
function uuidv4$1() {
|
|
46904
47027
|
const uuid = [];
|
|
46905
47028
|
for (let i = 0; i < 32; i++) {
|
|
46906
47029
|
const random = (Math.random() * 16) | 0;
|
|
@@ -46945,7 +47068,7 @@
|
|
|
46945
47068
|
const dispatchResourceRequest = async function (resourceRequest, _context) {
|
|
46946
47069
|
const resourceRequestCopy = clone$1(resourceRequest);
|
|
46947
47070
|
resourceRequestCopy.headers = resourceRequestCopy.headers || {};
|
|
46948
|
-
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47071
|
+
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
46949
47072
|
// enable return extra fields for record creation and record update http call
|
|
46950
47073
|
if (resourceRequest.basePath === '/ui-api/records' &&
|
|
46951
47074
|
(resourceRequest.method === 'post' || resourceRequest.method === 'patch')) {
|
|
@@ -47049,26 +47172,26 @@
|
|
|
47049
47172
|
}
|
|
47050
47173
|
}
|
|
47051
47174
|
|
|
47052
|
-
var CustomActionResultType;
|
|
47175
|
+
var CustomActionResultType$1;
|
|
47053
47176
|
(function (CustomActionResultType) {
|
|
47054
47177
|
CustomActionResultType["SUCCESS"] = "SUCCESS";
|
|
47055
47178
|
CustomActionResultType["FAILURE"] = "FAILURE";
|
|
47056
|
-
})(CustomActionResultType || (CustomActionResultType = {}));
|
|
47057
|
-
var CustomActionErrorType;
|
|
47179
|
+
})(CustomActionResultType$1 || (CustomActionResultType$1 = {}));
|
|
47180
|
+
var CustomActionErrorType$1;
|
|
47058
47181
|
(function (CustomActionErrorType) {
|
|
47059
47182
|
CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
47060
47183
|
CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
47061
|
-
})(CustomActionErrorType || (CustomActionErrorType = {}));
|
|
47184
|
+
})(CustomActionErrorType$1 || (CustomActionErrorType$1 = {}));
|
|
47062
47185
|
function isCustomActionSuccess(result) {
|
|
47063
|
-
return result.type === CustomActionResultType.SUCCESS;
|
|
47186
|
+
return result.type === CustomActionResultType$1.SUCCESS;
|
|
47064
47187
|
}
|
|
47065
47188
|
function isCustomActionFailed(result) {
|
|
47066
|
-
return result.type === CustomActionResultType.FAILURE;
|
|
47189
|
+
return result.type === CustomActionResultType$1.FAILURE;
|
|
47067
47190
|
}
|
|
47068
47191
|
function customActionHandler(executor, id, draftQueue) {
|
|
47069
47192
|
const handle = (action, actionCompleted, actionErrored) => {
|
|
47070
47193
|
notifyCustomActionToExecute(action, actionCompleted, actionErrored);
|
|
47071
|
-
return Promise.resolve(ProcessActionResult.CUSTOM_ACTION_WAITING);
|
|
47194
|
+
return Promise.resolve(ProcessActionResult$1.CUSTOM_ACTION_WAITING);
|
|
47072
47195
|
};
|
|
47073
47196
|
const notifyCustomActionToExecute = (action, actionCompleted, actionErrored) => {
|
|
47074
47197
|
if (executor !== undefined) {
|
|
@@ -47079,16 +47202,16 @@
|
|
|
47079
47202
|
if (isCustomActionSuccess(result)) {
|
|
47080
47203
|
actionCompleted({
|
|
47081
47204
|
...action,
|
|
47082
|
-
status: DraftActionStatus.Completed,
|
|
47205
|
+
status: DraftActionStatus$1.Completed,
|
|
47083
47206
|
response: createOkResponse(undefined),
|
|
47084
47207
|
});
|
|
47085
47208
|
}
|
|
47086
47209
|
else if (isCustomActionFailed(result)) {
|
|
47087
47210
|
actionErrored({
|
|
47088
47211
|
...action,
|
|
47089
|
-
status: DraftActionStatus.Error,
|
|
47212
|
+
status: DraftActionStatus$1.Error,
|
|
47090
47213
|
error: result.error.message,
|
|
47091
|
-
}, result.error.type === CustomActionErrorType.NETWORK_ERROR);
|
|
47214
|
+
}, result.error.type === CustomActionErrorType$1.NETWORK_ERROR);
|
|
47092
47215
|
}
|
|
47093
47216
|
};
|
|
47094
47217
|
const buildPendingAction = (action, queue) => {
|
|
@@ -47097,7 +47220,7 @@
|
|
|
47097
47220
|
return Promise.resolve({
|
|
47098
47221
|
id,
|
|
47099
47222
|
targetId,
|
|
47100
|
-
status: DraftActionStatus.Pending,
|
|
47223
|
+
status: DraftActionStatus$1.Pending,
|
|
47101
47224
|
data,
|
|
47102
47225
|
tag,
|
|
47103
47226
|
timestamp: Date.now(),
|
|
@@ -47109,7 +47232,7 @@
|
|
|
47109
47232
|
const { id } = action;
|
|
47110
47233
|
const queueOperations = [];
|
|
47111
47234
|
queueOperations.push({
|
|
47112
|
-
type: QueueOperationType.Delete,
|
|
47235
|
+
type: QueueOperationType$1.Delete,
|
|
47113
47236
|
id: id,
|
|
47114
47237
|
});
|
|
47115
47238
|
return queueOperations;
|
|
@@ -47159,8 +47282,8 @@
|
|
|
47159
47282
|
this.minimumRetryInterval = 250;
|
|
47160
47283
|
this.maximumRetryInterval = 32000;
|
|
47161
47284
|
this.draftQueueChangedListeners = [];
|
|
47162
|
-
this.state = DraftQueueState.Stopped;
|
|
47163
|
-
this.userState = DraftQueueState.Stopped;
|
|
47285
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47286
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47164
47287
|
this.uploadingActionId = undefined;
|
|
47165
47288
|
this.timeoutHandler = undefined;
|
|
47166
47289
|
this.handlers = {};
|
|
@@ -47187,8 +47310,8 @@
|
|
|
47187
47310
|
return this.state;
|
|
47188
47311
|
}
|
|
47189
47312
|
async startQueue() {
|
|
47190
|
-
this.userState = DraftQueueState.Started;
|
|
47191
|
-
if (this.state === DraftQueueState.Started) {
|
|
47313
|
+
this.userState = DraftQueueState$1.Started;
|
|
47314
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47192
47315
|
// Do nothing if the queue state is already started
|
|
47193
47316
|
return;
|
|
47194
47317
|
}
|
|
@@ -47199,30 +47322,30 @@
|
|
|
47199
47322
|
return;
|
|
47200
47323
|
}
|
|
47201
47324
|
this.retryIntervalMilliseconds = 0;
|
|
47202
|
-
this.state = DraftQueueState.Started;
|
|
47325
|
+
this.state = DraftQueueState$1.Started;
|
|
47203
47326
|
await this.notifyChangedListeners({
|
|
47204
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47327
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47205
47328
|
state: this.state,
|
|
47206
47329
|
});
|
|
47207
47330
|
const result = await this.processNextAction();
|
|
47208
47331
|
switch (result) {
|
|
47209
|
-
case ProcessActionResult.BLOCKED_ON_ERROR:
|
|
47210
|
-
this.state = DraftQueueState.Error;
|
|
47332
|
+
case ProcessActionResult$1.BLOCKED_ON_ERROR:
|
|
47333
|
+
this.state = DraftQueueState$1.Error;
|
|
47211
47334
|
return Promise.reject();
|
|
47212
47335
|
default:
|
|
47213
47336
|
return Promise.resolve();
|
|
47214
47337
|
}
|
|
47215
47338
|
}
|
|
47216
47339
|
stopQueue() {
|
|
47217
|
-
this.userState = DraftQueueState.Stopped;
|
|
47218
|
-
if (this.state === DraftQueueState.Stopped) {
|
|
47340
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47341
|
+
if (this.state === DraftQueueState$1.Stopped) {
|
|
47219
47342
|
// Do nothing if the queue state is already stopped
|
|
47220
47343
|
return Promise.resolve();
|
|
47221
47344
|
}
|
|
47222
47345
|
this.stopQueueManually();
|
|
47223
47346
|
return this.notifyChangedListeners({
|
|
47224
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47225
|
-
state: DraftQueueState.Stopped,
|
|
47347
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47348
|
+
state: DraftQueueState$1.Stopped,
|
|
47226
47349
|
});
|
|
47227
47350
|
}
|
|
47228
47351
|
/**
|
|
@@ -47233,7 +47356,7 @@
|
|
|
47233
47356
|
clearTimeout(this.timeoutHandler);
|
|
47234
47357
|
this.timeoutHandler = undefined;
|
|
47235
47358
|
}
|
|
47236
|
-
this.state = DraftQueueState.Stopped;
|
|
47359
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47237
47360
|
}
|
|
47238
47361
|
async getQueueActions() {
|
|
47239
47362
|
const drafts = (await this.draftStore.getAllDrafts());
|
|
@@ -47243,7 +47366,7 @@
|
|
|
47243
47366
|
}
|
|
47244
47367
|
drafts.forEach((draft) => {
|
|
47245
47368
|
if (draft.id === this.uploadingActionId) {
|
|
47246
|
-
draft.status = DraftActionStatus.Uploading;
|
|
47369
|
+
draft.status = DraftActionStatus$1.Uploading;
|
|
47247
47370
|
}
|
|
47248
47371
|
queue.push(draft);
|
|
47249
47372
|
});
|
|
@@ -47269,11 +47392,11 @@
|
|
|
47269
47392
|
await this.draftStore.writeAction(pendingAction);
|
|
47270
47393
|
queue = await this.getQueueActions();
|
|
47271
47394
|
await this.notifyChangedListeners({
|
|
47272
|
-
type: DraftQueueEventType.ActionAdded,
|
|
47395
|
+
type: DraftQueueEventType$1.ActionAdded,
|
|
47273
47396
|
action: pendingAction,
|
|
47274
47397
|
});
|
|
47275
47398
|
await handler.handleActionEnqueued(pendingAction, queue);
|
|
47276
|
-
if (this.state === DraftQueueState.Started) {
|
|
47399
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47277
47400
|
this.processNextAction();
|
|
47278
47401
|
}
|
|
47279
47402
|
const actionData = (await handler.getDataForAction(pendingAction));
|
|
@@ -47305,10 +47428,10 @@
|
|
|
47305
47428
|
this.retryIntervalMilliseconds = 0;
|
|
47306
47429
|
this.uploadingActionId = undefined;
|
|
47307
47430
|
await this.notifyChangedListeners({
|
|
47308
|
-
type: DraftQueueEventType.ActionCompleted,
|
|
47431
|
+
type: DraftQueueEventType$1.ActionCompleted,
|
|
47309
47432
|
action,
|
|
47310
47433
|
});
|
|
47311
|
-
if (this.state === DraftQueueState.Started) {
|
|
47434
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47312
47435
|
this.processNextAction();
|
|
47313
47436
|
}
|
|
47314
47437
|
},
|
|
@@ -47318,12 +47441,12 @@
|
|
|
47318
47441
|
if (actionDataChanged === true) {
|
|
47319
47442
|
await this.draftStore.writeAction({
|
|
47320
47443
|
...action,
|
|
47321
|
-
status: DraftActionStatus.Pending,
|
|
47444
|
+
status: DraftActionStatus$1.Pending,
|
|
47322
47445
|
});
|
|
47323
47446
|
}
|
|
47324
47447
|
this.uploadingActionId = undefined;
|
|
47325
|
-
if (retry && this.state !== DraftQueueState.Stopped) {
|
|
47326
|
-
this.state = DraftQueueState.Waiting;
|
|
47448
|
+
if (retry && this.state !== DraftQueueState$1.Stopped) {
|
|
47449
|
+
this.state = DraftQueueState$1.Waiting;
|
|
47327
47450
|
return retryDelayInMs !== undefined
|
|
47328
47451
|
? this.scheduleRetryWithSpecifiedDelay(retryDelayInMs)
|
|
47329
47452
|
: this.scheduleRetry();
|
|
@@ -47347,27 +47470,27 @@
|
|
|
47347
47470
|
const action = queue[0];
|
|
47348
47471
|
if (action === undefined) {
|
|
47349
47472
|
this.processingAction = undefined;
|
|
47350
|
-
return ProcessActionResult.NO_ACTION_TO_PROCESS;
|
|
47473
|
+
return ProcessActionResult$1.NO_ACTION_TO_PROCESS;
|
|
47351
47474
|
}
|
|
47352
47475
|
const { status, id } = action;
|
|
47353
|
-
if (status === DraftActionStatus.Error) {
|
|
47354
|
-
this.state = DraftQueueState.Error;
|
|
47476
|
+
if (status === DraftActionStatus$1.Error) {
|
|
47477
|
+
this.state = DraftQueueState$1.Error;
|
|
47355
47478
|
this.processingAction = undefined;
|
|
47356
|
-
return ProcessActionResult.BLOCKED_ON_ERROR;
|
|
47479
|
+
return ProcessActionResult$1.BLOCKED_ON_ERROR;
|
|
47357
47480
|
}
|
|
47358
47481
|
if (id === this.uploadingActionId) {
|
|
47359
|
-
this.state = DraftQueueState.Started;
|
|
47482
|
+
this.state = DraftQueueState$1.Started;
|
|
47360
47483
|
this.processingAction = undefined;
|
|
47361
|
-
return ProcessActionResult.ACTION_ALREADY_PROCESSING;
|
|
47484
|
+
return ProcessActionResult$1.ACTION_ALREADY_PROCESSING;
|
|
47362
47485
|
}
|
|
47363
47486
|
this.uploadingActionId = id;
|
|
47364
47487
|
this.processingAction = undefined;
|
|
47365
|
-
if (this.state === DraftQueueState.Waiting) {
|
|
47366
|
-
this.state = DraftQueueState.Started;
|
|
47488
|
+
if (this.state === DraftQueueState$1.Waiting) {
|
|
47489
|
+
this.state = DraftQueueState$1.Started;
|
|
47367
47490
|
}
|
|
47368
47491
|
this.notifyChangedListeners({
|
|
47369
|
-
type: DraftQueueEventType.ActionUploading,
|
|
47370
|
-
action: { ...action, status: DraftActionStatus.Uploading },
|
|
47492
|
+
type: DraftQueueEventType$1.ActionUploading,
|
|
47493
|
+
action: { ...action, status: DraftActionStatus$1.Uploading },
|
|
47371
47494
|
});
|
|
47372
47495
|
return this.handle(action);
|
|
47373
47496
|
}
|
|
@@ -47380,14 +47503,14 @@
|
|
|
47380
47503
|
}
|
|
47381
47504
|
const errorAction = {
|
|
47382
47505
|
...action,
|
|
47383
|
-
status: DraftActionStatus.Error,
|
|
47506
|
+
status: DraftActionStatus$1.Error,
|
|
47384
47507
|
error,
|
|
47385
47508
|
metadata: newMetadata,
|
|
47386
47509
|
};
|
|
47387
47510
|
await this.draftStore.writeAction(errorAction);
|
|
47388
|
-
this.state = DraftQueueState.Error;
|
|
47511
|
+
this.state = DraftQueueState$1.Error;
|
|
47389
47512
|
return this.notifyChangedListeners({
|
|
47390
|
-
type: DraftQueueEventType.ActionFailed,
|
|
47513
|
+
type: DraftQueueEventType$1.ActionFailed,
|
|
47391
47514
|
action: errorAction,
|
|
47392
47515
|
});
|
|
47393
47516
|
}
|
|
@@ -47406,7 +47529,7 @@
|
|
|
47406
47529
|
* started
|
|
47407
47530
|
*/
|
|
47408
47531
|
async startQueueSafe() {
|
|
47409
|
-
if (this.userState === DraftQueueState.Started && this.state !== DraftQueueState.Started) {
|
|
47532
|
+
if (this.userState === DraftQueueState$1.Started && this.state !== DraftQueueState$1.Started) {
|
|
47410
47533
|
await this.startQueue();
|
|
47411
47534
|
}
|
|
47412
47535
|
}
|
|
@@ -47433,11 +47556,11 @@
|
|
|
47433
47556
|
}
|
|
47434
47557
|
await handler.handleActionRemoved(action, queue.filter((x) => x.id !== actionId));
|
|
47435
47558
|
await this.notifyChangedListeners({
|
|
47436
|
-
type: DraftQueueEventType.ActionDeleted,
|
|
47559
|
+
type: DraftQueueEventType$1.ActionDeleted,
|
|
47437
47560
|
action,
|
|
47438
47561
|
});
|
|
47439
|
-
if (this.userState === DraftQueueState.Started &&
|
|
47440
|
-
this.state !== DraftQueueState.Started &&
|
|
47562
|
+
if (this.userState === DraftQueueState$1.Started &&
|
|
47563
|
+
this.state !== DraftQueueState$1.Started &&
|
|
47441
47564
|
this.replacingAction === undefined) {
|
|
47442
47565
|
await this.startQueue();
|
|
47443
47566
|
}
|
|
@@ -47467,14 +47590,14 @@
|
|
|
47467
47590
|
action.metadata = handler.updateMetadata(action.metadata, metadata);
|
|
47468
47591
|
await this.draftStore.writeAction(action);
|
|
47469
47592
|
await this.notifyChangedListeners({
|
|
47470
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47593
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47471
47594
|
action: action,
|
|
47472
47595
|
});
|
|
47473
47596
|
return action;
|
|
47474
47597
|
}
|
|
47475
47598
|
scheduleRetryWithSpecifiedDelay(retryDelayInMs) {
|
|
47476
47599
|
this.timeoutHandler = setTimeout(() => {
|
|
47477
|
-
if (this.state !== DraftQueueState.Stopped) {
|
|
47600
|
+
if (this.state !== DraftQueueState$1.Stopped) {
|
|
47478
47601
|
this.processNextAction();
|
|
47479
47602
|
}
|
|
47480
47603
|
}, retryDelayInMs);
|
|
@@ -47510,11 +47633,11 @@
|
|
|
47510
47633
|
if (targetTag !== sourceTag) {
|
|
47511
47634
|
throw Error('Cannot replace/merge actions for different tags.');
|
|
47512
47635
|
}
|
|
47513
|
-
if (targetStatus === DraftActionStatus.Completed ||
|
|
47514
|
-
targetStatus === DraftActionStatus.Uploading) {
|
|
47636
|
+
if (targetStatus === DraftActionStatus$1.Completed ||
|
|
47637
|
+
targetStatus === DraftActionStatus$1.Uploading) {
|
|
47515
47638
|
throw Error(`Cannot replace/merge actions when targetAction is in ${targetStatus} status.`);
|
|
47516
47639
|
}
|
|
47517
|
-
if (sourceStatus !== DraftActionStatus.Pending) {
|
|
47640
|
+
if (sourceStatus !== DraftActionStatus$1.Pending) {
|
|
47518
47641
|
throw Error(`Cannot replace/merge actions when sourceAction is in ${sourceStatus} status.`);
|
|
47519
47642
|
}
|
|
47520
47643
|
if (targetVersion !== sourceVersion) {
|
|
@@ -47544,7 +47667,7 @@
|
|
|
47544
47667
|
// update the target
|
|
47545
47668
|
await this.draftStore.writeAction(updatedTarget);
|
|
47546
47669
|
await this.notifyChangedListeners({
|
|
47547
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47670
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47548
47671
|
action: updatedTarget,
|
|
47549
47672
|
});
|
|
47550
47673
|
// remove the source from queue
|
|
@@ -47643,7 +47766,7 @@
|
|
|
47643
47766
|
const { draftStore } = this;
|
|
47644
47767
|
for (let i = 0, len = queueOperations.length; i < len; i++) {
|
|
47645
47768
|
const operation = queueOperations[i];
|
|
47646
|
-
if (operation.type === QueueOperationType.Delete) {
|
|
47769
|
+
if (operation.type === QueueOperationType$1.Delete) {
|
|
47647
47770
|
const action = draftStore[operation.id];
|
|
47648
47771
|
if (action !== undefined) {
|
|
47649
47772
|
delete draftStore[operation.id];
|
|
@@ -47780,9 +47903,9 @@
|
|
|
47780
47903
|
await actionCompleted({
|
|
47781
47904
|
...action,
|
|
47782
47905
|
response,
|
|
47783
|
-
status: DraftActionStatus.Completed,
|
|
47906
|
+
status: DraftActionStatus$1.Completed,
|
|
47784
47907
|
});
|
|
47785
|
-
return ProcessActionResult.ACTION_SUCCEEDED;
|
|
47908
|
+
return ProcessActionResult$1.ACTION_SUCCEEDED;
|
|
47786
47909
|
}
|
|
47787
47910
|
let shouldRetry = false;
|
|
47788
47911
|
let retryDelayInMs = undefined;
|
|
@@ -47803,7 +47926,7 @@
|
|
|
47803
47926
|
const errorCode = response.body[0].errorCode;
|
|
47804
47927
|
if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
|
|
47805
47928
|
updatedAction.data.headers = updatedAction.data.headers || {};
|
|
47806
|
-
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47929
|
+
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
47807
47930
|
retryDelayInMs = 0;
|
|
47808
47931
|
actionDataChanged = true;
|
|
47809
47932
|
}
|
|
@@ -47820,13 +47943,13 @@
|
|
|
47820
47943
|
: {
|
|
47821
47944
|
...updatedAction,
|
|
47822
47945
|
error: response,
|
|
47823
|
-
status: DraftActionStatus.Error,
|
|
47946
|
+
status: DraftActionStatus$1.Error,
|
|
47824
47947
|
}, shouldRetry, retryDelayInMs, actionDataChanged);
|
|
47825
|
-
return ProcessActionResult.ACTION_ERRORED;
|
|
47948
|
+
return ProcessActionResult$1.ACTION_ERRORED;
|
|
47826
47949
|
}
|
|
47827
47950
|
catch (e) {
|
|
47828
47951
|
await actionErrored(action, true);
|
|
47829
|
-
return ProcessActionResult.NETWORK_ERROR;
|
|
47952
|
+
return ProcessActionResult$1.NETWORK_ERROR;
|
|
47830
47953
|
}
|
|
47831
47954
|
}
|
|
47832
47955
|
async buildPendingAction(request, queue) {
|
|
@@ -47844,7 +47967,7 @@
|
|
|
47844
47967
|
targetId,
|
|
47845
47968
|
tag,
|
|
47846
47969
|
data: request,
|
|
47847
|
-
status: DraftActionStatus.Pending,
|
|
47970
|
+
status: DraftActionStatus$1.Pending,
|
|
47848
47971
|
id: generateUniqueDraftActionId(queue.map((x) => x.id)),
|
|
47849
47972
|
timestamp: Date.now(),
|
|
47850
47973
|
metadata: {},
|
|
@@ -47910,11 +48033,11 @@
|
|
|
47910
48033
|
};
|
|
47911
48034
|
// item needs to be replaced with a new item at the new record key
|
|
47912
48035
|
queueOperations.push({
|
|
47913
|
-
type: QueueOperationType.Delete,
|
|
48036
|
+
type: QueueOperationType$1.Delete,
|
|
47914
48037
|
id: queueActionId,
|
|
47915
48038
|
});
|
|
47916
48039
|
queueOperations.push({
|
|
47917
|
-
type: QueueOperationType.Add,
|
|
48040
|
+
type: QueueOperationType$1.Add,
|
|
47918
48041
|
action: updatedAction,
|
|
47919
48042
|
});
|
|
47920
48043
|
}
|
|
@@ -47929,7 +48052,7 @@
|
|
|
47929
48052
|
};
|
|
47930
48053
|
// item needs to be updated
|
|
47931
48054
|
queueOperations.push({
|
|
47932
|
-
type: QueueOperationType.Update,
|
|
48055
|
+
type: QueueOperationType$1.Update,
|
|
47933
48056
|
id: queueActionId,
|
|
47934
48057
|
action: updatedAction,
|
|
47935
48058
|
});
|
|
@@ -47940,7 +48063,7 @@
|
|
|
47940
48063
|
}
|
|
47941
48064
|
// delete completed action
|
|
47942
48065
|
queueOperations.push({
|
|
47943
|
-
type: QueueOperationType.Delete,
|
|
48066
|
+
type: QueueOperationType$1.Delete,
|
|
47944
48067
|
id: action.id,
|
|
47945
48068
|
});
|
|
47946
48069
|
return queueOperations;
|
|
@@ -47976,7 +48099,7 @@
|
|
|
47976
48099
|
synchronousIngest: this.synchronousIngest.bind(this),
|
|
47977
48100
|
buildCacheKeysForResponse: this.buildCacheKeysFromResponse.bind(this),
|
|
47978
48101
|
});
|
|
47979
|
-
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType.Update);
|
|
48102
|
+
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType$1.Update);
|
|
47980
48103
|
for (const recordNeedingReplay of recordsNeedingReplay) {
|
|
47981
48104
|
const { action } = recordNeedingReplay;
|
|
47982
48105
|
if (isResourceRequestAction(action)) {
|
|
@@ -48004,7 +48127,7 @@
|
|
|
48004
48127
|
}
|
|
48005
48128
|
if (this.isActionOfType(targetAction) &&
|
|
48006
48129
|
this.isActionOfType(sourceAction)) {
|
|
48007
|
-
targetAction.status = DraftActionStatus.Pending;
|
|
48130
|
+
targetAction.status = DraftActionStatus$1.Pending;
|
|
48008
48131
|
targetAction.data = sourceAction.data;
|
|
48009
48132
|
return targetAction;
|
|
48010
48133
|
}
|
|
@@ -48042,7 +48165,7 @@
|
|
|
48042
48165
|
// overlay metadata
|
|
48043
48166
|
merged.metadata = { ...targetMetadata, ...sourceMetadata };
|
|
48044
48167
|
// put status back to pending to auto upload if queue is active and targed is at the head.
|
|
48045
|
-
merged.status = DraftActionStatus.Pending;
|
|
48168
|
+
merged.status = DraftActionStatus$1.Pending;
|
|
48046
48169
|
return merged;
|
|
48047
48170
|
}
|
|
48048
48171
|
shouldDeleteActionByTagOnRemoval(action) {
|
|
@@ -48078,7 +48201,7 @@
|
|
|
48078
48201
|
async ingestResponses(responses, action) {
|
|
48079
48202
|
const luvio = this.getLuvio();
|
|
48080
48203
|
await luvio.handleSuccessResponse(() => {
|
|
48081
|
-
if (action.status === DraftActionStatus.Completed) {
|
|
48204
|
+
if (action.status === DraftActionStatus$1.Completed) {
|
|
48082
48205
|
const mappings = this.getRedirectMappings(action);
|
|
48083
48206
|
if (mappings) {
|
|
48084
48207
|
mappings.forEach((mapping) => {
|
|
@@ -48133,14 +48256,14 @@
|
|
|
48133
48256
|
/**
|
|
48134
48257
|
* Denotes what kind of operation a DraftQueueItem represents.
|
|
48135
48258
|
*/
|
|
48136
|
-
var DraftActionOperationType;
|
|
48259
|
+
var DraftActionOperationType$1;
|
|
48137
48260
|
(function (DraftActionOperationType) {
|
|
48138
48261
|
DraftActionOperationType["Create"] = "create";
|
|
48139
48262
|
DraftActionOperationType["Update"] = "update";
|
|
48140
48263
|
DraftActionOperationType["Delete"] = "delete";
|
|
48141
48264
|
DraftActionOperationType["Custom"] = "custom";
|
|
48142
|
-
})(DraftActionOperationType || (DraftActionOperationType = {}));
|
|
48143
|
-
var DraftQueueOperationType;
|
|
48265
|
+
})(DraftActionOperationType$1 || (DraftActionOperationType$1 = {}));
|
|
48266
|
+
var DraftQueueOperationType$1;
|
|
48144
48267
|
(function (DraftQueueOperationType) {
|
|
48145
48268
|
DraftQueueOperationType["ItemAdded"] = "added";
|
|
48146
48269
|
DraftQueueOperationType["ItemUploading"] = "uploading";
|
|
@@ -48150,7 +48273,7 @@
|
|
|
48150
48273
|
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
48151
48274
|
DraftQueueOperationType["QueueStarted"] = "started";
|
|
48152
48275
|
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
48153
|
-
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
48276
|
+
})(DraftQueueOperationType$1 || (DraftQueueOperationType$1 = {}));
|
|
48154
48277
|
/**
|
|
48155
48278
|
* Converts the internal DraftAction's ResourceRequest into
|
|
48156
48279
|
* a DraftActionOperationType.
|
|
@@ -48164,11 +48287,11 @@
|
|
|
48164
48287
|
switch (action.data.method) {
|
|
48165
48288
|
case 'put':
|
|
48166
48289
|
case 'patch':
|
|
48167
|
-
return DraftActionOperationType.Update;
|
|
48290
|
+
return DraftActionOperationType$1.Update;
|
|
48168
48291
|
case 'post':
|
|
48169
|
-
return DraftActionOperationType.Create;
|
|
48292
|
+
return DraftActionOperationType$1.Create;
|
|
48170
48293
|
case 'delete':
|
|
48171
|
-
return DraftActionOperationType.Delete;
|
|
48294
|
+
return DraftActionOperationType$1.Delete;
|
|
48172
48295
|
default:
|
|
48173
48296
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
48174
48297
|
throw new Error(`${action.data.method} is an unsupported request method type for DraftQueue.`);
|
|
@@ -48180,7 +48303,7 @@
|
|
|
48180
48303
|
}
|
|
48181
48304
|
}
|
|
48182
48305
|
else {
|
|
48183
|
-
return DraftActionOperationType.Custom;
|
|
48306
|
+
return DraftActionOperationType$1.Custom;
|
|
48184
48307
|
}
|
|
48185
48308
|
}
|
|
48186
48309
|
function toQueueState(queue) {
|
|
@@ -48195,13 +48318,13 @@
|
|
|
48195
48318
|
constructor(draftQueue) {
|
|
48196
48319
|
this.listeners = [];
|
|
48197
48320
|
this.draftEventsShouldBeEmitted = [
|
|
48198
|
-
DraftQueueEventType.ActionAdded,
|
|
48199
|
-
DraftQueueEventType.ActionUploading,
|
|
48200
|
-
DraftQueueEventType.ActionCompleted,
|
|
48201
|
-
DraftQueueEventType.ActionDeleted,
|
|
48202
|
-
DraftQueueEventType.ActionFailed,
|
|
48203
|
-
DraftQueueEventType.ActionUpdated,
|
|
48204
|
-
DraftQueueEventType.QueueStateChanged,
|
|
48321
|
+
DraftQueueEventType$1.ActionAdded,
|
|
48322
|
+
DraftQueueEventType$1.ActionUploading,
|
|
48323
|
+
DraftQueueEventType$1.ActionCompleted,
|
|
48324
|
+
DraftQueueEventType$1.ActionDeleted,
|
|
48325
|
+
DraftQueueEventType$1.ActionFailed,
|
|
48326
|
+
DraftQueueEventType$1.ActionUpdated,
|
|
48327
|
+
DraftQueueEventType$1.QueueStateChanged,
|
|
48205
48328
|
];
|
|
48206
48329
|
this.draftQueue = draftQueue;
|
|
48207
48330
|
draftQueue.registerOnChangedListener((event) => {
|
|
@@ -48213,28 +48336,28 @@
|
|
|
48213
48336
|
}
|
|
48214
48337
|
draftQueueEventTypeToOperationType(type) {
|
|
48215
48338
|
switch (type) {
|
|
48216
|
-
case DraftQueueEventType.ActionAdded:
|
|
48217
|
-
return DraftQueueOperationType.ItemAdded;
|
|
48218
|
-
case DraftQueueEventType.ActionUploading:
|
|
48219
|
-
return DraftQueueOperationType.ItemUploading;
|
|
48220
|
-
case DraftQueueEventType.ActionCompleted:
|
|
48221
|
-
return DraftQueueOperationType.ItemCompleted;
|
|
48222
|
-
case DraftQueueEventType.ActionDeleted:
|
|
48223
|
-
return DraftQueueOperationType.ItemDeleted;
|
|
48224
|
-
case DraftQueueEventType.ActionFailed:
|
|
48225
|
-
return DraftQueueOperationType.ItemFailed;
|
|
48226
|
-
case DraftQueueEventType.ActionUpdated:
|
|
48227
|
-
return DraftQueueOperationType.ItemUpdated;
|
|
48339
|
+
case DraftQueueEventType$1.ActionAdded:
|
|
48340
|
+
return DraftQueueOperationType$1.ItemAdded;
|
|
48341
|
+
case DraftQueueEventType$1.ActionUploading:
|
|
48342
|
+
return DraftQueueOperationType$1.ItemUploading;
|
|
48343
|
+
case DraftQueueEventType$1.ActionCompleted:
|
|
48344
|
+
return DraftQueueOperationType$1.ItemCompleted;
|
|
48345
|
+
case DraftQueueEventType$1.ActionDeleted:
|
|
48346
|
+
return DraftQueueOperationType$1.ItemDeleted;
|
|
48347
|
+
case DraftQueueEventType$1.ActionFailed:
|
|
48348
|
+
return DraftQueueOperationType$1.ItemFailed;
|
|
48349
|
+
case DraftQueueEventType$1.ActionUpdated:
|
|
48350
|
+
return DraftQueueOperationType$1.ItemUpdated;
|
|
48228
48351
|
default:
|
|
48229
48352
|
throw Error('Unsupported event type');
|
|
48230
48353
|
}
|
|
48231
48354
|
}
|
|
48232
48355
|
draftQueueStateToOperationType(state) {
|
|
48233
48356
|
switch (state) {
|
|
48234
|
-
case DraftQueueState.Started:
|
|
48235
|
-
return DraftQueueOperationType.QueueStarted;
|
|
48236
|
-
case DraftQueueState.Stopped:
|
|
48237
|
-
return DraftQueueOperationType.QueueStopped;
|
|
48357
|
+
case DraftQueueState$1.Started:
|
|
48358
|
+
return DraftQueueOperationType$1.QueueStarted;
|
|
48359
|
+
case DraftQueueState$1.Stopped:
|
|
48360
|
+
return DraftQueueOperationType$1.QueueStopped;
|
|
48238
48361
|
default:
|
|
48239
48362
|
throw Error('Unsupported event type');
|
|
48240
48363
|
}
|
|
@@ -54201,30 +54324,36 @@
|
|
|
54201
54324
|
const operationsWithDenormedRecords = [];
|
|
54202
54325
|
for (let i = 0, len = operations.length; i < len; i++) {
|
|
54203
54326
|
const operation = operations[i];
|
|
54204
|
-
if (
|
|
54205
|
-
|
|
54206
|
-
|
|
54207
|
-
if (
|
|
54208
|
-
|
|
54209
|
-
|
|
54210
|
-
|
|
54327
|
+
if (operation.type === 'setMetadata') {
|
|
54328
|
+
// if setMetadata also contains entry data then it needs to be denormalized.
|
|
54329
|
+
const keys$1 = keys$3$1(operation.entries);
|
|
54330
|
+
if (keys$1.length > 0) {
|
|
54331
|
+
const firstKey = keys$1[0];
|
|
54332
|
+
// casted to any to check if data exists
|
|
54333
|
+
const firstEntry = operation.entries[firstKey];
|
|
54334
|
+
// it is not possible for setMetadata to contain entries with both data and no data in the same operation.
|
|
54335
|
+
// this is determined by the plugin supporting update batch calls before it gets to this HOF.
|
|
54336
|
+
// so we only need to check one entry to confirm this for performance
|
|
54337
|
+
if (firstEntry.data !== undefined) {
|
|
54338
|
+
operationsWithDenormedRecords.push({
|
|
54339
|
+
...operation,
|
|
54340
|
+
entries: denormalizeEntries(operation.entries),
|
|
54341
|
+
});
|
|
54342
|
+
}
|
|
54343
|
+
else {
|
|
54344
|
+
operationsWithDenormedRecords.push(operation);
|
|
54345
|
+
}
|
|
54211
54346
|
}
|
|
54212
|
-
|
|
54213
|
-
...operation,
|
|
54214
|
-
entries: denormalizeEntries(operation.entries),
|
|
54215
|
-
});
|
|
54347
|
+
continue;
|
|
54216
54348
|
}
|
|
54217
|
-
|
|
54218
|
-
|
|
54219
|
-
|
|
54220
|
-
operationsWithDenormedRecords.push(operation);
|
|
54221
|
-
continue;
|
|
54222
|
-
}
|
|
54223
|
-
operationsWithDenormedRecords.push({
|
|
54224
|
-
...operation,
|
|
54225
|
-
entries: denormalizeEntries(operation.entries),
|
|
54226
|
-
});
|
|
54349
|
+
if (operation.segment !== DefaultDurableSegment || operation.type === 'evictEntries') {
|
|
54350
|
+
operationsWithDenormedRecords.push(operation);
|
|
54351
|
+
continue;
|
|
54227
54352
|
}
|
|
54353
|
+
operationsWithDenormedRecords.push({
|
|
54354
|
+
...operation,
|
|
54355
|
+
entries: denormalizeEntries(operation.entries),
|
|
54356
|
+
});
|
|
54228
54357
|
}
|
|
54229
54358
|
return durableStore.batchOperations(operationsWithDenormedRecords);
|
|
54230
54359
|
};
|
|
@@ -56480,29 +56609,29 @@
|
|
|
56480
56609
|
function instrumentDraftQueue(queue) {
|
|
56481
56610
|
queue.registerOnChangedListener((draftQueueEvent) => {
|
|
56482
56611
|
switch (draftQueueEvent.type) {
|
|
56483
|
-
case DraftQueueEventType.QueueStateChanged:
|
|
56612
|
+
case DraftQueueEventType$1.QueueStateChanged:
|
|
56484
56613
|
switch (draftQueueEvent.state) {
|
|
56485
|
-
case DraftQueueState.Error:
|
|
56614
|
+
case DraftQueueState$1.Error:
|
|
56486
56615
|
break;
|
|
56487
|
-
case DraftQueueState.Started:
|
|
56616
|
+
case DraftQueueState$1.Started:
|
|
56488
56617
|
break;
|
|
56489
|
-
case DraftQueueState.Stopped:
|
|
56618
|
+
case DraftQueueState$1.Stopped:
|
|
56490
56619
|
break;
|
|
56491
|
-
case DraftQueueState.Waiting:
|
|
56620
|
+
case DraftQueueState$1.Waiting:
|
|
56492
56621
|
break;
|
|
56493
56622
|
}
|
|
56494
56623
|
break;
|
|
56495
|
-
case DraftQueueEventType.ActionAdded:
|
|
56624
|
+
case DraftQueueEventType$1.ActionAdded:
|
|
56496
56625
|
break;
|
|
56497
|
-
case DraftQueueEventType.ActionUploading:
|
|
56626
|
+
case DraftQueueEventType$1.ActionUploading:
|
|
56498
56627
|
break;
|
|
56499
|
-
case DraftQueueEventType.ActionCompleted:
|
|
56628
|
+
case DraftQueueEventType$1.ActionCompleted:
|
|
56500
56629
|
break;
|
|
56501
|
-
case DraftQueueEventType.ActionDeleted:
|
|
56630
|
+
case DraftQueueEventType$1.ActionDeleted:
|
|
56502
56631
|
break;
|
|
56503
|
-
case DraftQueueEventType.ActionFailed:
|
|
56632
|
+
case DraftQueueEventType$1.ActionFailed:
|
|
56504
56633
|
break;
|
|
56505
|
-
case DraftQueueEventType.ActionUpdated:
|
|
56634
|
+
case DraftQueueEventType$1.ActionUpdated:
|
|
56506
56635
|
break;
|
|
56507
56636
|
}
|
|
56508
56637
|
return Promise.resolve();
|
|
@@ -58261,11 +58390,11 @@
|
|
|
58261
58390
|
}
|
|
58262
58391
|
const luvio = this.getLuvio();
|
|
58263
58392
|
const ingestionTimestamp = Date.now();
|
|
58264
|
-
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$
|
|
58393
|
+
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$2, RepresentationType$O);
|
|
58265
58394
|
const metadata = {
|
|
58266
58395
|
ingestionTimestamp,
|
|
58267
58396
|
expirationTimestamp: (ttlOverride !== null && ttlOverride !== void 0 ? ttlOverride : TTL$w) + ingestionTimestamp,
|
|
58268
|
-
namespace: keyPrefix$
|
|
58397
|
+
namespace: keyPrefix$2,
|
|
58269
58398
|
representationName: RepresentationType$O,
|
|
58270
58399
|
metadataVersion: DURABLE_METADATA_VERSION,
|
|
58271
58400
|
version: VERSION$1a$1,
|
|
@@ -58674,6 +58803,7 @@
|
|
|
58674
58803
|
getRecords: lazyGetRecords,
|
|
58675
58804
|
});
|
|
58676
58805
|
},
|
|
58806
|
+
nimbusSqliteStore: lazyBaseDurableStore,
|
|
58677
58807
|
};
|
|
58678
58808
|
}
|
|
58679
58809
|
|
|
@@ -58688,7 +58818,7 @@
|
|
|
58688
58818
|
id: '@salesforce/lds-network-adapter',
|
|
58689
58819
|
instrument: instrument$2,
|
|
58690
58820
|
});
|
|
58691
|
-
// version: 1.
|
|
58821
|
+
// version: 1.245.0-0ea124370
|
|
58692
58822
|
|
|
58693
58823
|
const { create: create$3, keys: keys$3 } = Object;
|
|
58694
58824
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -59222,7 +59352,7 @@
|
|
|
59222
59352
|
}
|
|
59223
59353
|
};
|
|
59224
59354
|
}
|
|
59225
|
-
const keyPrefix = 'UiApi';
|
|
59355
|
+
const keyPrefix$1 = 'UiApi';
|
|
59226
59356
|
|
|
59227
59357
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
59228
59358
|
function equalsObject(a, b, equalsProp) {
|
|
@@ -59477,7 +59607,7 @@
|
|
|
59477
59607
|
mergeData: mergeData$12,
|
|
59478
59608
|
storeMetadataParams: {
|
|
59479
59609
|
ttl: TTL$1,
|
|
59480
|
-
namespace: keyPrefix,
|
|
59610
|
+
namespace: keyPrefix$1,
|
|
59481
59611
|
representationName: "DoubleValue",
|
|
59482
59612
|
version: VERSION$1d
|
|
59483
59613
|
},
|
|
@@ -59528,7 +59658,7 @@
|
|
|
59528
59658
|
const { path, data, luvio } = state;
|
|
59529
59659
|
const rootKey = keyBuilder$17(luvio, path);
|
|
59530
59660
|
cacheKeySink.set(rootKey, {
|
|
59531
|
-
namespace: keyPrefix,
|
|
59661
|
+
namespace: keyPrefix$1,
|
|
59532
59662
|
mergeable: true,
|
|
59533
59663
|
representationName: name$12
|
|
59534
59664
|
});
|
|
@@ -59619,7 +59749,7 @@
|
|
|
59619
59749
|
mergeData: mergeData$11,
|
|
59620
59750
|
storeMetadataParams: {
|
|
59621
59751
|
ttl: TTL$1,
|
|
59622
|
-
namespace: keyPrefix,
|
|
59752
|
+
namespace: keyPrefix$1,
|
|
59623
59753
|
representationName: "LongValue",
|
|
59624
59754
|
version: VERSION$1c
|
|
59625
59755
|
},
|
|
@@ -59670,7 +59800,7 @@
|
|
|
59670
59800
|
const { path, data, luvio } = state;
|
|
59671
59801
|
const rootKey = keyBuilder$16(luvio, path);
|
|
59672
59802
|
cacheKeySink.set(rootKey, {
|
|
59673
|
-
namespace: keyPrefix,
|
|
59803
|
+
namespace: keyPrefix$1,
|
|
59674
59804
|
mergeable: true,
|
|
59675
59805
|
representationName: name$11
|
|
59676
59806
|
});
|
|
@@ -59761,7 +59891,7 @@
|
|
|
59761
59891
|
mergeData: mergeData$10,
|
|
59762
59892
|
storeMetadataParams: {
|
|
59763
59893
|
ttl: TTL$1,
|
|
59764
|
-
namespace: keyPrefix,
|
|
59894
|
+
namespace: keyPrefix$1,
|
|
59765
59895
|
representationName: "PercentValue",
|
|
59766
59896
|
version: VERSION$1b
|
|
59767
59897
|
},
|
|
@@ -59812,7 +59942,7 @@
|
|
|
59812
59942
|
const { path, data, luvio } = state;
|
|
59813
59943
|
const rootKey = keyBuilder$15(luvio, path);
|
|
59814
59944
|
cacheKeySink.set(rootKey, {
|
|
59815
|
-
namespace: keyPrefix,
|
|
59945
|
+
namespace: keyPrefix$1,
|
|
59816
59946
|
mergeable: true,
|
|
59817
59947
|
representationName: name$10
|
|
59818
59948
|
});
|
|
@@ -59903,7 +60033,7 @@
|
|
|
59903
60033
|
mergeData: mergeData$$,
|
|
59904
60034
|
storeMetadataParams: {
|
|
59905
60035
|
ttl: TTL$1,
|
|
59906
|
-
namespace: keyPrefix,
|
|
60036
|
+
namespace: keyPrefix$1,
|
|
59907
60037
|
representationName: "PercentAggregate",
|
|
59908
60038
|
version: VERSION$1a
|
|
59909
60039
|
},
|
|
@@ -59978,7 +60108,7 @@
|
|
|
59978
60108
|
const { path, data, luvio } = state;
|
|
59979
60109
|
const rootKey = keyBuilder$14(luvio, path);
|
|
59980
60110
|
cacheKeySink.set(rootKey, {
|
|
59981
|
-
namespace: keyPrefix,
|
|
60111
|
+
namespace: keyPrefix$1,
|
|
59982
60112
|
mergeable: true,
|
|
59983
60113
|
representationName: name$$
|
|
59984
60114
|
});
|
|
@@ -60165,7 +60295,7 @@
|
|
|
60165
60295
|
mergeData: mergeData$_,
|
|
60166
60296
|
storeMetadataParams: {
|
|
60167
60297
|
ttl: TTL$1,
|
|
60168
|
-
namespace: keyPrefix,
|
|
60298
|
+
namespace: keyPrefix$1,
|
|
60169
60299
|
representationName: "IntValue",
|
|
60170
60300
|
version: VERSION$19
|
|
60171
60301
|
},
|
|
@@ -60216,7 +60346,7 @@
|
|
|
60216
60346
|
const { path, data, luvio } = state;
|
|
60217
60347
|
const rootKey = keyBuilder$13(luvio, path);
|
|
60218
60348
|
cacheKeySink.set(rootKey, {
|
|
60219
|
-
namespace: keyPrefix,
|
|
60349
|
+
namespace: keyPrefix$1,
|
|
60220
60350
|
mergeable: true,
|
|
60221
60351
|
representationName: name$_
|
|
60222
60352
|
});
|
|
@@ -60307,7 +60437,7 @@
|
|
|
60307
60437
|
mergeData: mergeData$Z,
|
|
60308
60438
|
storeMetadataParams: {
|
|
60309
60439
|
ttl: TTL$1,
|
|
60310
|
-
namespace: keyPrefix,
|
|
60440
|
+
namespace: keyPrefix$1,
|
|
60311
60441
|
representationName: "StringValue",
|
|
60312
60442
|
version: VERSION$18
|
|
60313
60443
|
},
|
|
@@ -60353,7 +60483,7 @@
|
|
|
60353
60483
|
const { path, data, luvio } = state;
|
|
60354
60484
|
const rootKey = keyBuilder$12(luvio, path);
|
|
60355
60485
|
cacheKeySink.set(rootKey, {
|
|
60356
|
-
namespace: keyPrefix,
|
|
60486
|
+
namespace: keyPrefix$1,
|
|
60357
60487
|
mergeable: true,
|
|
60358
60488
|
representationName: name$Z
|
|
60359
60489
|
});
|
|
@@ -60440,7 +60570,7 @@
|
|
|
60440
60570
|
mergeData: mergeData$Y,
|
|
60441
60571
|
storeMetadataParams: {
|
|
60442
60572
|
ttl: TTL$1,
|
|
60443
|
-
namespace: keyPrefix,
|
|
60573
|
+
namespace: keyPrefix$1,
|
|
60444
60574
|
representationName: "StringAggregate",
|
|
60445
60575
|
version: VERSION$17
|
|
60446
60576
|
},
|
|
@@ -60510,7 +60640,7 @@
|
|
|
60510
60640
|
const { path, data, luvio } = state;
|
|
60511
60641
|
const rootKey = keyBuilder$11(luvio, path);
|
|
60512
60642
|
cacheKeySink.set(rootKey, {
|
|
60513
|
-
namespace: keyPrefix,
|
|
60643
|
+
namespace: keyPrefix$1,
|
|
60514
60644
|
mergeable: true,
|
|
60515
60645
|
representationName: name$Y
|
|
60516
60646
|
});
|
|
@@ -60682,7 +60812,7 @@
|
|
|
60682
60812
|
mergeData: mergeData$X,
|
|
60683
60813
|
storeMetadataParams: {
|
|
60684
60814
|
ttl: TTL$1,
|
|
60685
|
-
namespace: keyPrefix,
|
|
60815
|
+
namespace: keyPrefix$1,
|
|
60686
60816
|
representationName: "IDValue",
|
|
60687
60817
|
version: VERSION$16
|
|
60688
60818
|
},
|
|
@@ -60733,7 +60863,7 @@
|
|
|
60733
60863
|
const { path, data, luvio } = state;
|
|
60734
60864
|
const rootKey = keyBuilder$10(luvio, path);
|
|
60735
60865
|
cacheKeySink.set(rootKey, {
|
|
60736
|
-
namespace: keyPrefix,
|
|
60866
|
+
namespace: keyPrefix$1,
|
|
60737
60867
|
mergeable: true,
|
|
60738
60868
|
representationName: name$X
|
|
60739
60869
|
});
|
|
@@ -60818,7 +60948,7 @@
|
|
|
60818
60948
|
mergeData: mergeData$W,
|
|
60819
60949
|
storeMetadataParams: {
|
|
60820
60950
|
ttl: TTL$1,
|
|
60821
|
-
namespace: keyPrefix,
|
|
60951
|
+
namespace: keyPrefix$1,
|
|
60822
60952
|
representationName: "DateTimeValue",
|
|
60823
60953
|
version: VERSION$15
|
|
60824
60954
|
},
|
|
@@ -60869,7 +60999,7 @@
|
|
|
60869
60999
|
const { path, data, luvio } = state;
|
|
60870
61000
|
const rootKey = keyBuilder$$(luvio, path);
|
|
60871
61001
|
cacheKeySink.set(rootKey, {
|
|
60872
|
-
namespace: keyPrefix,
|
|
61002
|
+
namespace: keyPrefix$1,
|
|
60873
61003
|
mergeable: true,
|
|
60874
61004
|
representationName: name$W
|
|
60875
61005
|
});
|
|
@@ -60960,7 +61090,7 @@
|
|
|
60960
61090
|
mergeData: mergeData$V,
|
|
60961
61091
|
storeMetadataParams: {
|
|
60962
61092
|
ttl: TTL$1,
|
|
60963
|
-
namespace: keyPrefix,
|
|
61093
|
+
namespace: keyPrefix$1,
|
|
60964
61094
|
representationName: "BooleanValue",
|
|
60965
61095
|
version: VERSION$14
|
|
60966
61096
|
},
|
|
@@ -61011,7 +61141,7 @@
|
|
|
61011
61141
|
const { path, data, luvio } = state;
|
|
61012
61142
|
const rootKey = keyBuilder$_(luvio, path);
|
|
61013
61143
|
cacheKeySink.set(rootKey, {
|
|
61014
|
-
namespace: keyPrefix,
|
|
61144
|
+
namespace: keyPrefix$1,
|
|
61015
61145
|
mergeable: true,
|
|
61016
61146
|
representationName: name$V
|
|
61017
61147
|
});
|
|
@@ -61096,7 +61226,7 @@
|
|
|
61096
61226
|
mergeData: mergeData$U,
|
|
61097
61227
|
storeMetadataParams: {
|
|
61098
61228
|
ttl: TTL$1,
|
|
61099
|
-
namespace: keyPrefix,
|
|
61229
|
+
namespace: keyPrefix$1,
|
|
61100
61230
|
representationName: "TimeValue",
|
|
61101
61231
|
version: VERSION$13
|
|
61102
61232
|
},
|
|
@@ -61147,7 +61277,7 @@
|
|
|
61147
61277
|
const { path, data, luvio } = state;
|
|
61148
61278
|
const rootKey = keyBuilder$Z(luvio, path);
|
|
61149
61279
|
cacheKeySink.set(rootKey, {
|
|
61150
|
-
namespace: keyPrefix,
|
|
61280
|
+
namespace: keyPrefix$1,
|
|
61151
61281
|
mergeable: true,
|
|
61152
61282
|
representationName: name$U
|
|
61153
61283
|
});
|
|
@@ -61238,7 +61368,7 @@
|
|
|
61238
61368
|
mergeData: mergeData$T,
|
|
61239
61369
|
storeMetadataParams: {
|
|
61240
61370
|
ttl: TTL$1,
|
|
61241
|
-
namespace: keyPrefix,
|
|
61371
|
+
namespace: keyPrefix$1,
|
|
61242
61372
|
representationName: "DateValue",
|
|
61243
61373
|
version: VERSION$12
|
|
61244
61374
|
},
|
|
@@ -61289,7 +61419,7 @@
|
|
|
61289
61419
|
const { path, data, luvio } = state;
|
|
61290
61420
|
const rootKey = keyBuilder$Y(luvio, path);
|
|
61291
61421
|
cacheKeySink.set(rootKey, {
|
|
61292
|
-
namespace: keyPrefix,
|
|
61422
|
+
namespace: keyPrefix$1,
|
|
61293
61423
|
mergeable: true,
|
|
61294
61424
|
representationName: name$T
|
|
61295
61425
|
});
|
|
@@ -61380,7 +61510,7 @@
|
|
|
61380
61510
|
mergeData: mergeData$S,
|
|
61381
61511
|
storeMetadataParams: {
|
|
61382
61512
|
ttl: TTL$1,
|
|
61383
|
-
namespace: keyPrefix,
|
|
61513
|
+
namespace: keyPrefix$1,
|
|
61384
61514
|
representationName: "TextAreaValue",
|
|
61385
61515
|
version: VERSION$11
|
|
61386
61516
|
},
|
|
@@ -61431,7 +61561,7 @@
|
|
|
61431
61561
|
const { path, data, luvio } = state;
|
|
61432
61562
|
const rootKey = keyBuilder$X(luvio, path);
|
|
61433
61563
|
cacheKeySink.set(rootKey, {
|
|
61434
|
-
namespace: keyPrefix,
|
|
61564
|
+
namespace: keyPrefix$1,
|
|
61435
61565
|
mergeable: true,
|
|
61436
61566
|
representationName: name$S
|
|
61437
61567
|
});
|
|
@@ -61516,7 +61646,7 @@
|
|
|
61516
61646
|
mergeData: mergeData$R,
|
|
61517
61647
|
storeMetadataParams: {
|
|
61518
61648
|
ttl: TTL$1,
|
|
61519
|
-
namespace: keyPrefix,
|
|
61649
|
+
namespace: keyPrefix$1,
|
|
61520
61650
|
representationName: "LongTextAreaValue",
|
|
61521
61651
|
version: VERSION$10
|
|
61522
61652
|
},
|
|
@@ -61567,7 +61697,7 @@
|
|
|
61567
61697
|
const { path, data, luvio } = state;
|
|
61568
61698
|
const rootKey = keyBuilder$W(luvio, path);
|
|
61569
61699
|
cacheKeySink.set(rootKey, {
|
|
61570
|
-
namespace: keyPrefix,
|
|
61700
|
+
namespace: keyPrefix$1,
|
|
61571
61701
|
mergeable: true,
|
|
61572
61702
|
representationName: name$R
|
|
61573
61703
|
});
|
|
@@ -61652,7 +61782,7 @@
|
|
|
61652
61782
|
mergeData: mergeData$Q,
|
|
61653
61783
|
storeMetadataParams: {
|
|
61654
61784
|
ttl: TTL$1,
|
|
61655
|
-
namespace: keyPrefix,
|
|
61785
|
+
namespace: keyPrefix$1,
|
|
61656
61786
|
representationName: "RichTextAreaValue",
|
|
61657
61787
|
version: VERSION$$
|
|
61658
61788
|
},
|
|
@@ -61703,7 +61833,7 @@
|
|
|
61703
61833
|
const { path, data, luvio } = state;
|
|
61704
61834
|
const rootKey = keyBuilder$V(luvio, path);
|
|
61705
61835
|
cacheKeySink.set(rootKey, {
|
|
61706
|
-
namespace: keyPrefix,
|
|
61836
|
+
namespace: keyPrefix$1,
|
|
61707
61837
|
mergeable: true,
|
|
61708
61838
|
representationName: name$Q
|
|
61709
61839
|
});
|
|
@@ -61788,7 +61918,7 @@
|
|
|
61788
61918
|
mergeData: mergeData$P,
|
|
61789
61919
|
storeMetadataParams: {
|
|
61790
61920
|
ttl: TTL$1,
|
|
61791
|
-
namespace: keyPrefix,
|
|
61921
|
+
namespace: keyPrefix$1,
|
|
61792
61922
|
representationName: "PhoneNumberValue",
|
|
61793
61923
|
version: VERSION$_
|
|
61794
61924
|
},
|
|
@@ -61839,7 +61969,7 @@
|
|
|
61839
61969
|
const { path, data, luvio } = state;
|
|
61840
61970
|
const rootKey = keyBuilder$U(luvio, path);
|
|
61841
61971
|
cacheKeySink.set(rootKey, {
|
|
61842
|
-
namespace: keyPrefix,
|
|
61972
|
+
namespace: keyPrefix$1,
|
|
61843
61973
|
mergeable: true,
|
|
61844
61974
|
representationName: name$P
|
|
61845
61975
|
});
|
|
@@ -61924,7 +62054,7 @@
|
|
|
61924
62054
|
mergeData: mergeData$O,
|
|
61925
62055
|
storeMetadataParams: {
|
|
61926
62056
|
ttl: TTL$1,
|
|
61927
|
-
namespace: keyPrefix,
|
|
62057
|
+
namespace: keyPrefix$1,
|
|
61928
62058
|
representationName: "EmailValue",
|
|
61929
62059
|
version: VERSION$Z
|
|
61930
62060
|
},
|
|
@@ -61975,7 +62105,7 @@
|
|
|
61975
62105
|
const { path, data, luvio } = state;
|
|
61976
62106
|
const rootKey = keyBuilder$T(luvio, path);
|
|
61977
62107
|
cacheKeySink.set(rootKey, {
|
|
61978
|
-
namespace: keyPrefix,
|
|
62108
|
+
namespace: keyPrefix$1,
|
|
61979
62109
|
mergeable: true,
|
|
61980
62110
|
representationName: name$O
|
|
61981
62111
|
});
|
|
@@ -62060,7 +62190,7 @@
|
|
|
62060
62190
|
mergeData: mergeData$N,
|
|
62061
62191
|
storeMetadataParams: {
|
|
62062
62192
|
ttl: TTL$1,
|
|
62063
|
-
namespace: keyPrefix,
|
|
62193
|
+
namespace: keyPrefix$1,
|
|
62064
62194
|
representationName: "UrlValue",
|
|
62065
62195
|
version: VERSION$Y
|
|
62066
62196
|
},
|
|
@@ -62111,7 +62241,7 @@
|
|
|
62111
62241
|
const { path, data, luvio } = state;
|
|
62112
62242
|
const rootKey = keyBuilder$S(luvio, path);
|
|
62113
62243
|
cacheKeySink.set(rootKey, {
|
|
62114
|
-
namespace: keyPrefix,
|
|
62244
|
+
namespace: keyPrefix$1,
|
|
62115
62245
|
mergeable: true,
|
|
62116
62246
|
representationName: name$N
|
|
62117
62247
|
});
|
|
@@ -62196,7 +62326,7 @@
|
|
|
62196
62326
|
mergeData: mergeData$M,
|
|
62197
62327
|
storeMetadataParams: {
|
|
62198
62328
|
ttl: TTL$1,
|
|
62199
|
-
namespace: keyPrefix,
|
|
62329
|
+
namespace: keyPrefix$1,
|
|
62200
62330
|
representationName: "EncryptedStringValue",
|
|
62201
62331
|
version: VERSION$X
|
|
62202
62332
|
},
|
|
@@ -62247,7 +62377,7 @@
|
|
|
62247
62377
|
const { path, data, luvio } = state;
|
|
62248
62378
|
const rootKey = keyBuilder$R(luvio, path);
|
|
62249
62379
|
cacheKeySink.set(rootKey, {
|
|
62250
|
-
namespace: keyPrefix,
|
|
62380
|
+
namespace: keyPrefix$1,
|
|
62251
62381
|
mergeable: true,
|
|
62252
62382
|
representationName: name$M
|
|
62253
62383
|
});
|
|
@@ -62332,7 +62462,7 @@
|
|
|
62332
62462
|
mergeData: mergeData$L,
|
|
62333
62463
|
storeMetadataParams: {
|
|
62334
62464
|
ttl: TTL$1,
|
|
62335
|
-
namespace: keyPrefix,
|
|
62465
|
+
namespace: keyPrefix$1,
|
|
62336
62466
|
representationName: "CurrencyValue",
|
|
62337
62467
|
version: VERSION$W
|
|
62338
62468
|
},
|
|
@@ -62383,7 +62513,7 @@
|
|
|
62383
62513
|
const { path, data, luvio } = state;
|
|
62384
62514
|
const rootKey = keyBuilder$Q(luvio, path);
|
|
62385
62515
|
cacheKeySink.set(rootKey, {
|
|
62386
|
-
namespace: keyPrefix,
|
|
62516
|
+
namespace: keyPrefix$1,
|
|
62387
62517
|
mergeable: true,
|
|
62388
62518
|
representationName: name$L
|
|
62389
62519
|
});
|
|
@@ -62474,7 +62604,7 @@
|
|
|
62474
62604
|
mergeData: mergeData$K,
|
|
62475
62605
|
storeMetadataParams: {
|
|
62476
62606
|
ttl: TTL$1,
|
|
62477
|
-
namespace: keyPrefix,
|
|
62607
|
+
namespace: keyPrefix$1,
|
|
62478
62608
|
representationName: "LongitudeValue",
|
|
62479
62609
|
version: VERSION$V
|
|
62480
62610
|
},
|
|
@@ -62525,7 +62655,7 @@
|
|
|
62525
62655
|
const { path, data, luvio } = state;
|
|
62526
62656
|
const rootKey = keyBuilder$P(luvio, path);
|
|
62527
62657
|
cacheKeySink.set(rootKey, {
|
|
62528
|
-
namespace: keyPrefix,
|
|
62658
|
+
namespace: keyPrefix$1,
|
|
62529
62659
|
mergeable: true,
|
|
62530
62660
|
representationName: name$K
|
|
62531
62661
|
});
|
|
@@ -62610,7 +62740,7 @@
|
|
|
62610
62740
|
mergeData: mergeData$J,
|
|
62611
62741
|
storeMetadataParams: {
|
|
62612
62742
|
ttl: TTL$1,
|
|
62613
|
-
namespace: keyPrefix,
|
|
62743
|
+
namespace: keyPrefix$1,
|
|
62614
62744
|
representationName: "LatitudeValue",
|
|
62615
62745
|
version: VERSION$U
|
|
62616
62746
|
},
|
|
@@ -62661,7 +62791,7 @@
|
|
|
62661
62791
|
const { path, data, luvio } = state;
|
|
62662
62792
|
const rootKey = keyBuilder$O(luvio, path);
|
|
62663
62793
|
cacheKeySink.set(rootKey, {
|
|
62664
|
-
namespace: keyPrefix,
|
|
62794
|
+
namespace: keyPrefix$1,
|
|
62665
62795
|
mergeable: true,
|
|
62666
62796
|
representationName: name$J
|
|
62667
62797
|
});
|
|
@@ -62746,7 +62876,7 @@
|
|
|
62746
62876
|
mergeData: mergeData$I,
|
|
62747
62877
|
storeMetadataParams: {
|
|
62748
62878
|
ttl: TTL$1,
|
|
62749
|
-
namespace: keyPrefix,
|
|
62879
|
+
namespace: keyPrefix$1,
|
|
62750
62880
|
representationName: "PicklistValue",
|
|
62751
62881
|
version: VERSION$T
|
|
62752
62882
|
},
|
|
@@ -62797,7 +62927,7 @@
|
|
|
62797
62927
|
const { path, data, luvio } = state;
|
|
62798
62928
|
const rootKey = keyBuilder$N(luvio, path);
|
|
62799
62929
|
cacheKeySink.set(rootKey, {
|
|
62800
|
-
namespace: keyPrefix,
|
|
62930
|
+
namespace: keyPrefix$1,
|
|
62801
62931
|
mergeable: true,
|
|
62802
62932
|
representationName: name$I
|
|
62803
62933
|
});
|
|
@@ -62888,7 +63018,7 @@
|
|
|
62888
63018
|
mergeData: mergeData$H,
|
|
62889
63019
|
storeMetadataParams: {
|
|
62890
63020
|
ttl: TTL$1,
|
|
62891
|
-
namespace: keyPrefix,
|
|
63021
|
+
namespace: keyPrefix$1,
|
|
62892
63022
|
representationName: "MultiPicklistValue",
|
|
62893
63023
|
version: VERSION$S
|
|
62894
63024
|
},
|
|
@@ -62939,7 +63069,7 @@
|
|
|
62939
63069
|
const { path, data, luvio } = state;
|
|
62940
63070
|
const rootKey = keyBuilder$M(luvio, path);
|
|
62941
63071
|
cacheKeySink.set(rootKey, {
|
|
62942
|
-
namespace: keyPrefix,
|
|
63072
|
+
namespace: keyPrefix$1,
|
|
62943
63073
|
mergeable: true,
|
|
62944
63074
|
representationName: name$H
|
|
62945
63075
|
});
|
|
@@ -63030,7 +63160,7 @@
|
|
|
63030
63160
|
mergeData: mergeData$G,
|
|
63031
63161
|
storeMetadataParams: {
|
|
63032
63162
|
ttl: TTL$1,
|
|
63033
|
-
namespace: keyPrefix,
|
|
63163
|
+
namespace: keyPrefix$1,
|
|
63034
63164
|
representationName: "Base64Value",
|
|
63035
63165
|
version: VERSION$R
|
|
63036
63166
|
},
|
|
@@ -63081,7 +63211,7 @@
|
|
|
63081
63211
|
const { path, data, luvio } = state;
|
|
63082
63212
|
const rootKey = keyBuilder$L(luvio, path);
|
|
63083
63213
|
cacheKeySink.set(rootKey, {
|
|
63084
|
-
namespace: keyPrefix,
|
|
63214
|
+
namespace: keyPrefix$1,
|
|
63085
63215
|
mergeable: true,
|
|
63086
63216
|
representationName: name$G
|
|
63087
63217
|
});
|
|
@@ -63166,7 +63296,7 @@
|
|
|
63166
63296
|
mergeData: mergeData$F,
|
|
63167
63297
|
storeMetadataParams: {
|
|
63168
63298
|
ttl: TTL$1,
|
|
63169
|
-
namespace: keyPrefix,
|
|
63299
|
+
namespace: keyPrefix$1,
|
|
63170
63300
|
representationName: "JSONValue",
|
|
63171
63301
|
version: VERSION$Q
|
|
63172
63302
|
},
|
|
@@ -63217,7 +63347,7 @@
|
|
|
63217
63347
|
const { path, data, luvio } = state;
|
|
63218
63348
|
const rootKey = keyBuilder$K(luvio, path);
|
|
63219
63349
|
cacheKeySink.set(rootKey, {
|
|
63220
|
-
namespace: keyPrefix,
|
|
63350
|
+
namespace: keyPrefix$1,
|
|
63221
63351
|
mergeable: true,
|
|
63222
63352
|
representationName: name$F
|
|
63223
63353
|
});
|
|
@@ -63510,7 +63640,7 @@
|
|
|
63510
63640
|
}
|
|
63511
63641
|
}
|
|
63512
63642
|
|
|
63513
|
-
const { assign: assign$1, create: create$2, freeze: freeze$2, keys: keys$2 } = Object;
|
|
63643
|
+
const { assign: assign$1, create: create$2, freeze: freeze$2, isFrozen: isFrozen$1, keys: keys$2 } = Object;
|
|
63514
63644
|
const { isArray: isArray$2 } = Array;
|
|
63515
63645
|
const { concat: concat$1, filter: filter$1, includes: includes$1, push: push$1, reduce: reduce$1 } = Array.prototype;
|
|
63516
63646
|
|
|
@@ -63519,7 +63649,7 @@
|
|
|
63519
63649
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63520
63650
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
63521
63651
|
rootKeySet.set(rootKey, {
|
|
63522
|
-
namespace: keyPrefix,
|
|
63652
|
+
namespace: keyPrefix$1,
|
|
63523
63653
|
representationName: RepresentationType$2,
|
|
63524
63654
|
mergeable: true,
|
|
63525
63655
|
});
|
|
@@ -63545,7 +63675,7 @@
|
|
|
63545
63675
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63546
63676
|
const rootKey = fullPathFactory();
|
|
63547
63677
|
rootKeySet.set(rootKey, {
|
|
63548
|
-
namespace: keyPrefix,
|
|
63678
|
+
namespace: keyPrefix$1,
|
|
63549
63679
|
representationName: RepresentationType$3,
|
|
63550
63680
|
mergeable: false
|
|
63551
63681
|
});
|
|
@@ -63558,7 +63688,7 @@
|
|
|
63558
63688
|
const VERSION$O = "98c5b18512e48ca8d28727549507e4ba";
|
|
63559
63689
|
const RepresentationType$2 = 'RecordRepresentation';
|
|
63560
63690
|
function keyBuilder$J(luvio, config) {
|
|
63561
|
-
return keyPrefix + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63691
|
+
return keyPrefix$1 + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63562
63692
|
}
|
|
63563
63693
|
function keyBuilderFromType(luvio, object) {
|
|
63564
63694
|
const keyParams = {
|
|
@@ -63573,7 +63703,7 @@
|
|
|
63573
63703
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63574
63704
|
const rootKey = fullPathFactory();
|
|
63575
63705
|
rootKeySet.set(rootKey, {
|
|
63576
|
-
namespace: keyPrefix,
|
|
63706
|
+
namespace: keyPrefix$1,
|
|
63577
63707
|
representationName: RepresentationType$1,
|
|
63578
63708
|
mergeable: false
|
|
63579
63709
|
});
|
|
@@ -63778,7 +63908,7 @@
|
|
|
63778
63908
|
mergeData: mergeData$E,
|
|
63779
63909
|
storeMetadataParams: {
|
|
63780
63910
|
ttl: TTL$1,
|
|
63781
|
-
namespace: keyPrefix,
|
|
63911
|
+
namespace: keyPrefix$1,
|
|
63782
63912
|
representationName: "CompoundField",
|
|
63783
63913
|
version: VERSION$M
|
|
63784
63914
|
},
|
|
@@ -63821,7 +63951,7 @@
|
|
|
63821
63951
|
const { path, data, luvio } = state;
|
|
63822
63952
|
const rootKey = keyBuilder$I(luvio, path);
|
|
63823
63953
|
cacheKeySink.set(rootKey, {
|
|
63824
|
-
namespace: keyPrefix,
|
|
63954
|
+
namespace: keyPrefix$1,
|
|
63825
63955
|
mergeable: true,
|
|
63826
63956
|
representationName: name$E
|
|
63827
63957
|
});
|
|
@@ -64784,7 +64914,7 @@
|
|
|
64784
64914
|
mergeData: mergeData$D,
|
|
64785
64915
|
storeMetadataParams: {
|
|
64786
64916
|
ttl: TTL$1,
|
|
64787
|
-
namespace: keyPrefix,
|
|
64917
|
+
namespace: keyPrefix$1,
|
|
64788
64918
|
representationName: "PageInfo",
|
|
64789
64919
|
version: VERSION$L
|
|
64790
64920
|
},
|
|
@@ -64847,7 +64977,7 @@
|
|
|
64847
64977
|
const { path, data, luvio } = state;
|
|
64848
64978
|
const rootKey = keyBuilder$H(luvio, path);
|
|
64849
64979
|
cacheKeySink.set(rootKey, {
|
|
64850
|
-
namespace: keyPrefix,
|
|
64980
|
+
namespace: keyPrefix$1,
|
|
64851
64981
|
mergeable: true,
|
|
64852
64982
|
representationName: name$D
|
|
64853
64983
|
});
|
|
@@ -64921,7 +65051,7 @@
|
|
|
64921
65051
|
const { path, data, luvio } = state;
|
|
64922
65052
|
const rootKey = keyBuilder$E(luvio, path);
|
|
64923
65053
|
cacheKeySink.set(rootKey, {
|
|
64924
|
-
namespace: keyPrefix,
|
|
65054
|
+
namespace: keyPrefix$1,
|
|
64925
65055
|
mergeable: true,
|
|
64926
65056
|
representationName: name$A,
|
|
64927
65057
|
});
|
|
@@ -64961,7 +65091,7 @@
|
|
|
64961
65091
|
case 'PageInfo': {
|
|
64962
65092
|
// I guess just return the pagination key here since pagination replaced it.
|
|
64963
65093
|
cacheKeySink.set(`${rootKey}__pagination`, {
|
|
64964
|
-
namespace: keyPrefix,
|
|
65094
|
+
namespace: keyPrefix$1,
|
|
64965
65095
|
mergeable: true,
|
|
64966
65096
|
representationName: name$D,
|
|
64967
65097
|
});
|
|
@@ -64979,7 +65109,7 @@
|
|
|
64979
65109
|
const name$C = 'RecordRepresentation';
|
|
64980
65110
|
const VERSION$K = 'b09728109b666bc69fe789bade015193';
|
|
64981
65111
|
function keyBuilder$G(luvio, path, data) {
|
|
64982
|
-
return keyPrefix + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
|
|
65112
|
+
return keyPrefix$1 + '::uiapi::' + name$C + '::' + data.Id; // We're missing idNodeName in the actual key here...
|
|
64983
65113
|
}
|
|
64984
65114
|
function mergeData$C(existingData, newData) {
|
|
64985
65115
|
return {
|
|
@@ -65003,7 +65133,7 @@
|
|
|
65003
65133
|
mergeData: mergeData$C,
|
|
65004
65134
|
storeMetadataParams: {
|
|
65005
65135
|
ttl: TTL$1,
|
|
65006
|
-
namespace: keyPrefix,
|
|
65136
|
+
namespace: keyPrefix$1,
|
|
65007
65137
|
representationName: "RecordRepresentation",
|
|
65008
65138
|
version: VERSION$K
|
|
65009
65139
|
},
|
|
@@ -65164,7 +65294,7 @@
|
|
|
65164
65294
|
const { path, data, luvio } = state;
|
|
65165
65295
|
const rootKey = keyBuilder$G(luvio, path, data);
|
|
65166
65296
|
cacheKeySink.set(rootKey, {
|
|
65167
|
-
namespace: keyPrefix,
|
|
65297
|
+
namespace: keyPrefix$1,
|
|
65168
65298
|
mergeable: true,
|
|
65169
65299
|
representationName: name$C
|
|
65170
65300
|
});
|
|
@@ -65539,7 +65669,7 @@
|
|
|
65539
65669
|
mergeData: mergeData$B,
|
|
65540
65670
|
storeMetadataParams: {
|
|
65541
65671
|
ttl: TTL$1,
|
|
65542
|
-
namespace: keyPrefix,
|
|
65672
|
+
namespace: keyPrefix$1,
|
|
65543
65673
|
representationName: "RecordEdge",
|
|
65544
65674
|
version: VERSION$J
|
|
65545
65675
|
},
|
|
@@ -65601,7 +65731,7 @@
|
|
|
65601
65731
|
const { path, data, luvio } = state;
|
|
65602
65732
|
const rootKey = keyBuilder$F(luvio, path);
|
|
65603
65733
|
cacheKeySink.set(rootKey, {
|
|
65604
|
-
namespace: keyPrefix,
|
|
65734
|
+
namespace: keyPrefix$1,
|
|
65605
65735
|
mergeable: true,
|
|
65606
65736
|
representationName: name$B
|
|
65607
65737
|
});
|
|
@@ -65760,7 +65890,7 @@
|
|
|
65760
65890
|
mergeData: mergeData$A,
|
|
65761
65891
|
storeMetadataParams: {
|
|
65762
65892
|
ttl: TTL$4,
|
|
65763
|
-
namespace: keyPrefix,
|
|
65893
|
+
namespace: keyPrefix$1,
|
|
65764
65894
|
representationName: "RecordConnection",
|
|
65765
65895
|
version: VERSION$I
|
|
65766
65896
|
},
|
|
@@ -65943,7 +66073,7 @@
|
|
|
65943
66073
|
mergeData: mergeData$z,
|
|
65944
66074
|
storeMetadataParams: {
|
|
65945
66075
|
ttl: TTL$1,
|
|
65946
|
-
namespace: keyPrefix,
|
|
66076
|
+
namespace: keyPrefix$1,
|
|
65947
66077
|
representationName: "RecordQuery",
|
|
65948
66078
|
version: VERSION$H
|
|
65949
66079
|
},
|
|
@@ -66005,7 +66135,7 @@
|
|
|
66005
66135
|
const { path, data, luvio } = state;
|
|
66006
66136
|
const rootKey = keyBuilder$D(luvio, path);
|
|
66007
66137
|
cacheKeySink.set(rootKey, {
|
|
66008
|
-
namespace: keyPrefix,
|
|
66138
|
+
namespace: keyPrefix$1,
|
|
66009
66139
|
mergeable: true,
|
|
66010
66140
|
representationName: name$z
|
|
66011
66141
|
});
|
|
@@ -66087,7 +66217,7 @@
|
|
|
66087
66217
|
mergeData: mergeData$y,
|
|
66088
66218
|
storeMetadataParams: {
|
|
66089
66219
|
ttl: TTL$1,
|
|
66090
|
-
namespace: keyPrefix,
|
|
66220
|
+
namespace: keyPrefix$1,
|
|
66091
66221
|
representationName: "BooleanAggregate",
|
|
66092
66222
|
version: VERSION$G
|
|
66093
66223
|
},
|
|
@@ -66154,7 +66284,7 @@
|
|
|
66154
66284
|
const { path, data, luvio } = state;
|
|
66155
66285
|
const rootKey = keyBuilder$C(luvio, path);
|
|
66156
66286
|
cacheKeySink.set(rootKey, {
|
|
66157
|
-
namespace: keyPrefix,
|
|
66287
|
+
namespace: keyPrefix$1,
|
|
66158
66288
|
mergeable: true,
|
|
66159
66289
|
representationName: name$y
|
|
66160
66290
|
});
|
|
@@ -66270,7 +66400,7 @@
|
|
|
66270
66400
|
mergeData: mergeData$x,
|
|
66271
66401
|
storeMetadataParams: {
|
|
66272
66402
|
ttl: TTL$1,
|
|
66273
|
-
namespace: keyPrefix,
|
|
66403
|
+
namespace: keyPrefix$1,
|
|
66274
66404
|
representationName: "CurrencyAggregate",
|
|
66275
66405
|
version: VERSION$F
|
|
66276
66406
|
},
|
|
@@ -66345,7 +66475,7 @@
|
|
|
66345
66475
|
const { path, data, luvio } = state;
|
|
66346
66476
|
const rootKey = keyBuilder$B(luvio, path);
|
|
66347
66477
|
cacheKeySink.set(rootKey, {
|
|
66348
|
-
namespace: keyPrefix,
|
|
66478
|
+
namespace: keyPrefix$1,
|
|
66349
66479
|
mergeable: true,
|
|
66350
66480
|
representationName: name$x
|
|
66351
66481
|
});
|
|
@@ -66532,7 +66662,7 @@
|
|
|
66532
66662
|
mergeData: mergeData$w,
|
|
66533
66663
|
storeMetadataParams: {
|
|
66534
66664
|
ttl: TTL$1,
|
|
66535
|
-
namespace: keyPrefix,
|
|
66665
|
+
namespace: keyPrefix$1,
|
|
66536
66666
|
representationName: "DateFunctionAggregation",
|
|
66537
66667
|
version: VERSION$E
|
|
66538
66668
|
},
|
|
@@ -66595,7 +66725,7 @@
|
|
|
66595
66725
|
const { path, data, luvio } = state;
|
|
66596
66726
|
const rootKey = keyBuilder$A(luvio, path);
|
|
66597
66727
|
cacheKeySink.set(rootKey, {
|
|
66598
|
-
namespace: keyPrefix,
|
|
66728
|
+
namespace: keyPrefix$1,
|
|
66599
66729
|
mergeable: true,
|
|
66600
66730
|
representationName: name$w
|
|
66601
66731
|
});
|
|
@@ -66680,7 +66810,7 @@
|
|
|
66680
66810
|
mergeData: mergeData$v,
|
|
66681
66811
|
storeMetadataParams: {
|
|
66682
66812
|
ttl: TTL$1,
|
|
66683
|
-
namespace: keyPrefix,
|
|
66813
|
+
namespace: keyPrefix$1,
|
|
66684
66814
|
representationName: "DateAggregate",
|
|
66685
66815
|
version: VERSION$D
|
|
66686
66816
|
},
|
|
@@ -66759,7 +66889,7 @@
|
|
|
66759
66889
|
const { path, data, luvio } = state;
|
|
66760
66890
|
const rootKey = keyBuilder$z(luvio, path);
|
|
66761
66891
|
cacheKeySink.set(rootKey, {
|
|
66762
|
-
namespace: keyPrefix,
|
|
66892
|
+
namespace: keyPrefix$1,
|
|
66763
66893
|
mergeable: true,
|
|
66764
66894
|
representationName: name$v
|
|
66765
66895
|
});
|
|
@@ -67061,7 +67191,7 @@
|
|
|
67061
67191
|
mergeData: mergeData$u,
|
|
67062
67192
|
storeMetadataParams: {
|
|
67063
67193
|
ttl: TTL$1,
|
|
67064
|
-
namespace: keyPrefix,
|
|
67194
|
+
namespace: keyPrefix$1,
|
|
67065
67195
|
representationName: "DoubleAggregate",
|
|
67066
67196
|
version: VERSION$C
|
|
67067
67197
|
},
|
|
@@ -67132,7 +67262,7 @@
|
|
|
67132
67262
|
const { path, data, luvio } = state;
|
|
67133
67263
|
const rootKey = keyBuilder$y(luvio, path);
|
|
67134
67264
|
cacheKeySink.set(rootKey, {
|
|
67135
|
-
namespace: keyPrefix,
|
|
67265
|
+
namespace: keyPrefix$1,
|
|
67136
67266
|
mergeable: true,
|
|
67137
67267
|
representationName: name$u
|
|
67138
67268
|
});
|
|
@@ -67314,7 +67444,7 @@
|
|
|
67314
67444
|
mergeData: mergeData$t,
|
|
67315
67445
|
storeMetadataParams: {
|
|
67316
67446
|
ttl: TTL$1,
|
|
67317
|
-
namespace: keyPrefix,
|
|
67447
|
+
namespace: keyPrefix$1,
|
|
67318
67448
|
representationName: "EmailAggregate",
|
|
67319
67449
|
version: VERSION$B
|
|
67320
67450
|
},
|
|
@@ -67389,7 +67519,7 @@
|
|
|
67389
67519
|
const { path, data, luvio } = state;
|
|
67390
67520
|
const rootKey = keyBuilder$x(luvio, path);
|
|
67391
67521
|
cacheKeySink.set(rootKey, {
|
|
67392
|
-
namespace: keyPrefix,
|
|
67522
|
+
namespace: keyPrefix$1,
|
|
67393
67523
|
mergeable: true,
|
|
67394
67524
|
representationName: name$t
|
|
67395
67525
|
});
|
|
@@ -67559,7 +67689,7 @@
|
|
|
67559
67689
|
mergeData: mergeData$s,
|
|
67560
67690
|
storeMetadataParams: {
|
|
67561
67691
|
ttl: TTL$1,
|
|
67562
|
-
namespace: keyPrefix,
|
|
67692
|
+
namespace: keyPrefix$1,
|
|
67563
67693
|
representationName: "IDAggregate",
|
|
67564
67694
|
version: VERSION$A
|
|
67565
67695
|
},
|
|
@@ -67634,7 +67764,7 @@
|
|
|
67634
67764
|
const { path, data, luvio } = state;
|
|
67635
67765
|
const rootKey = keyBuilder$w(luvio, path);
|
|
67636
67766
|
cacheKeySink.set(rootKey, {
|
|
67637
|
-
namespace: keyPrefix,
|
|
67767
|
+
namespace: keyPrefix$1,
|
|
67638
67768
|
mergeable: true,
|
|
67639
67769
|
representationName: name$s
|
|
67640
67770
|
});
|
|
@@ -67804,7 +67934,7 @@
|
|
|
67804
67934
|
mergeData: mergeData$r,
|
|
67805
67935
|
storeMetadataParams: {
|
|
67806
67936
|
ttl: TTL$1,
|
|
67807
|
-
namespace: keyPrefix,
|
|
67937
|
+
namespace: keyPrefix$1,
|
|
67808
67938
|
representationName: "IntAggregate",
|
|
67809
67939
|
version: VERSION$z
|
|
67810
67940
|
},
|
|
@@ -67879,7 +68009,7 @@
|
|
|
67879
68009
|
const { path, data, luvio } = state;
|
|
67880
68010
|
const rootKey = keyBuilder$v(luvio, path);
|
|
67881
68011
|
cacheKeySink.set(rootKey, {
|
|
67882
|
-
namespace: keyPrefix,
|
|
68012
|
+
namespace: keyPrefix$1,
|
|
67883
68013
|
mergeable: true,
|
|
67884
68014
|
representationName: name$r
|
|
67885
68015
|
});
|
|
@@ -68077,7 +68207,7 @@
|
|
|
68077
68207
|
mergeData: mergeData$q,
|
|
68078
68208
|
storeMetadataParams: {
|
|
68079
68209
|
ttl: TTL$1,
|
|
68080
|
-
namespace: keyPrefix,
|
|
68210
|
+
namespace: keyPrefix$1,
|
|
68081
68211
|
representationName: "LatitudeAggregate",
|
|
68082
68212
|
version: VERSION$y
|
|
68083
68213
|
},
|
|
@@ -68152,7 +68282,7 @@
|
|
|
68152
68282
|
const { path, data, luvio } = state;
|
|
68153
68283
|
const rootKey = keyBuilder$u(luvio, path);
|
|
68154
68284
|
cacheKeySink.set(rootKey, {
|
|
68155
|
-
namespace: keyPrefix,
|
|
68285
|
+
namespace: keyPrefix$1,
|
|
68156
68286
|
mergeable: true,
|
|
68157
68287
|
representationName: name$q
|
|
68158
68288
|
});
|
|
@@ -68333,7 +68463,7 @@
|
|
|
68333
68463
|
mergeData: mergeData$p,
|
|
68334
68464
|
storeMetadataParams: {
|
|
68335
68465
|
ttl: TTL$1,
|
|
68336
|
-
namespace: keyPrefix,
|
|
68466
|
+
namespace: keyPrefix$1,
|
|
68337
68467
|
representationName: "LongitudeAggregate",
|
|
68338
68468
|
version: VERSION$x
|
|
68339
68469
|
},
|
|
@@ -68408,7 +68538,7 @@
|
|
|
68408
68538
|
const { path, data, luvio } = state;
|
|
68409
68539
|
const rootKey = keyBuilder$t(luvio, path);
|
|
68410
68540
|
cacheKeySink.set(rootKey, {
|
|
68411
|
-
namespace: keyPrefix,
|
|
68541
|
+
namespace: keyPrefix$1,
|
|
68412
68542
|
mergeable: true,
|
|
68413
68543
|
representationName: name$p
|
|
68414
68544
|
});
|
|
@@ -68589,7 +68719,7 @@
|
|
|
68589
68719
|
mergeData: mergeData$o,
|
|
68590
68720
|
storeMetadataParams: {
|
|
68591
68721
|
ttl: TTL$1,
|
|
68592
|
-
namespace: keyPrefix,
|
|
68722
|
+
namespace: keyPrefix$1,
|
|
68593
68723
|
representationName: "LongAggregate",
|
|
68594
68724
|
version: VERSION$w
|
|
68595
68725
|
},
|
|
@@ -68664,7 +68794,7 @@
|
|
|
68664
68794
|
const { path, data, luvio } = state;
|
|
68665
68795
|
const rootKey = keyBuilder$s(luvio, path);
|
|
68666
68796
|
cacheKeySink.set(rootKey, {
|
|
68667
|
-
namespace: keyPrefix,
|
|
68797
|
+
namespace: keyPrefix$1,
|
|
68668
68798
|
mergeable: true,
|
|
68669
68799
|
representationName: name$o
|
|
68670
68800
|
});
|
|
@@ -68862,7 +68992,7 @@
|
|
|
68862
68992
|
mergeData: mergeData$n,
|
|
68863
68993
|
storeMetadataParams: {
|
|
68864
68994
|
ttl: TTL$1,
|
|
68865
|
-
namespace: keyPrefix,
|
|
68995
|
+
namespace: keyPrefix$1,
|
|
68866
68996
|
representationName: "PhoneNumberAggregate",
|
|
68867
68997
|
version: VERSION$v
|
|
68868
68998
|
},
|
|
@@ -68937,7 +69067,7 @@
|
|
|
68937
69067
|
const { path, data, luvio } = state;
|
|
68938
69068
|
const rootKey = keyBuilder$r(luvio, path);
|
|
68939
69069
|
cacheKeySink.set(rootKey, {
|
|
68940
|
-
namespace: keyPrefix,
|
|
69070
|
+
namespace: keyPrefix$1,
|
|
68941
69071
|
mergeable: true,
|
|
68942
69072
|
representationName: name$n
|
|
68943
69073
|
});
|
|
@@ -69107,7 +69237,7 @@
|
|
|
69107
69237
|
mergeData: mergeData$m,
|
|
69108
69238
|
storeMetadataParams: {
|
|
69109
69239
|
ttl: TTL$1,
|
|
69110
|
-
namespace: keyPrefix,
|
|
69240
|
+
namespace: keyPrefix$1,
|
|
69111
69241
|
representationName: "PicklistAggregate",
|
|
69112
69242
|
version: VERSION$u
|
|
69113
69243
|
},
|
|
@@ -69182,7 +69312,7 @@
|
|
|
69182
69312
|
const { path, data, luvio } = state;
|
|
69183
69313
|
const rootKey = keyBuilder$q(luvio, path);
|
|
69184
69314
|
cacheKeySink.set(rootKey, {
|
|
69185
|
-
namespace: keyPrefix,
|
|
69315
|
+
namespace: keyPrefix$1,
|
|
69186
69316
|
mergeable: true,
|
|
69187
69317
|
representationName: name$m
|
|
69188
69318
|
});
|
|
@@ -69358,7 +69488,7 @@
|
|
|
69358
69488
|
mergeData: mergeData$l,
|
|
69359
69489
|
storeMetadataParams: {
|
|
69360
69490
|
ttl: TTL$1,
|
|
69361
|
-
namespace: keyPrefix,
|
|
69491
|
+
namespace: keyPrefix$1,
|
|
69362
69492
|
representationName: "TextAreaAggregate",
|
|
69363
69493
|
version: VERSION$t
|
|
69364
69494
|
},
|
|
@@ -69433,7 +69563,7 @@
|
|
|
69433
69563
|
const { path, data, luvio } = state;
|
|
69434
69564
|
const rootKey = keyBuilder$p(luvio, path);
|
|
69435
69565
|
cacheKeySink.set(rootKey, {
|
|
69436
|
-
namespace: keyPrefix,
|
|
69566
|
+
namespace: keyPrefix$1,
|
|
69437
69567
|
mergeable: true,
|
|
69438
69568
|
representationName: name$l
|
|
69439
69569
|
});
|
|
@@ -69603,7 +69733,7 @@
|
|
|
69603
69733
|
mergeData: mergeData$k,
|
|
69604
69734
|
storeMetadataParams: {
|
|
69605
69735
|
ttl: TTL$1,
|
|
69606
|
-
namespace: keyPrefix,
|
|
69736
|
+
namespace: keyPrefix$1,
|
|
69607
69737
|
representationName: "TimeAggregate",
|
|
69608
69738
|
version: VERSION$s
|
|
69609
69739
|
},
|
|
@@ -69670,7 +69800,7 @@
|
|
|
69670
69800
|
const { path, data, luvio } = state;
|
|
69671
69801
|
const rootKey = keyBuilder$o(luvio, path);
|
|
69672
69802
|
cacheKeySink.set(rootKey, {
|
|
69673
|
-
namespace: keyPrefix,
|
|
69803
|
+
namespace: keyPrefix$1,
|
|
69674
69804
|
mergeable: true,
|
|
69675
69805
|
representationName: name$k
|
|
69676
69806
|
});
|
|
@@ -69792,7 +69922,7 @@
|
|
|
69792
69922
|
mergeData: mergeData$j,
|
|
69793
69923
|
storeMetadataParams: {
|
|
69794
69924
|
ttl: TTL$1,
|
|
69795
|
-
namespace: keyPrefix,
|
|
69925
|
+
namespace: keyPrefix$1,
|
|
69796
69926
|
representationName: "UrlAggregate",
|
|
69797
69927
|
version: VERSION$r
|
|
69798
69928
|
},
|
|
@@ -69867,7 +69997,7 @@
|
|
|
69867
69997
|
const { path, data, luvio } = state;
|
|
69868
69998
|
const rootKey = keyBuilder$n(luvio, path);
|
|
69869
69999
|
cacheKeySink.set(rootKey, {
|
|
69870
|
-
namespace: keyPrefix,
|
|
70000
|
+
namespace: keyPrefix$1,
|
|
69871
70001
|
mergeable: true,
|
|
69872
70002
|
representationName: name$j
|
|
69873
70003
|
});
|
|
@@ -70160,7 +70290,7 @@
|
|
|
70160
70290
|
mergeData: mergeData$i,
|
|
70161
70291
|
storeMetadataParams: {
|
|
70162
70292
|
ttl: TTL$1,
|
|
70163
|
-
namespace: keyPrefix,
|
|
70293
|
+
namespace: keyPrefix$1,
|
|
70164
70294
|
representationName: "RecordAggregate",
|
|
70165
70295
|
version: VERSION$q
|
|
70166
70296
|
},
|
|
@@ -70286,7 +70416,7 @@
|
|
|
70286
70416
|
const { path, data, luvio } = state;
|
|
70287
70417
|
const rootKey = keyBuilder$m(luvio, path);
|
|
70288
70418
|
cacheKeySink.set(rootKey, {
|
|
70289
|
-
namespace: keyPrefix,
|
|
70419
|
+
namespace: keyPrefix$1,
|
|
70290
70420
|
mergeable: true,
|
|
70291
70421
|
representationName: name$i
|
|
70292
70422
|
});
|
|
@@ -70528,7 +70658,7 @@
|
|
|
70528
70658
|
mergeData: mergeData$h,
|
|
70529
70659
|
storeMetadataParams: {
|
|
70530
70660
|
ttl: TTL$1,
|
|
70531
|
-
namespace: keyPrefix,
|
|
70661
|
+
namespace: keyPrefix$1,
|
|
70532
70662
|
representationName: "RecordResult",
|
|
70533
70663
|
version: VERSION$p
|
|
70534
70664
|
},
|
|
@@ -70590,7 +70720,7 @@
|
|
|
70590
70720
|
const { path, data, luvio } = state;
|
|
70591
70721
|
const rootKey = keyBuilder$l(luvio, path);
|
|
70592
70722
|
cacheKeySink.set(rootKey, {
|
|
70593
|
-
namespace: keyPrefix,
|
|
70723
|
+
namespace: keyPrefix$1,
|
|
70594
70724
|
mergeable: true,
|
|
70595
70725
|
representationName: name$h
|
|
70596
70726
|
});
|
|
@@ -70690,7 +70820,7 @@
|
|
|
70690
70820
|
mergeData: mergeData$g,
|
|
70691
70821
|
storeMetadataParams: {
|
|
70692
70822
|
ttl: TTL$1,
|
|
70693
|
-
namespace: keyPrefix,
|
|
70823
|
+
namespace: keyPrefix$1,
|
|
70694
70824
|
representationName: "RecordAggregateEdge",
|
|
70695
70825
|
version: VERSION$o
|
|
70696
70826
|
},
|
|
@@ -70752,7 +70882,7 @@
|
|
|
70752
70882
|
const { path, data, luvio } = state;
|
|
70753
70883
|
const rootKey = keyBuilder$k(luvio, path);
|
|
70754
70884
|
cacheKeySink.set(rootKey, {
|
|
70755
|
-
namespace: keyPrefix,
|
|
70885
|
+
namespace: keyPrefix$1,
|
|
70756
70886
|
mergeable: true,
|
|
70757
70887
|
representationName: name$g
|
|
70758
70888
|
});
|
|
@@ -70910,7 +71040,7 @@
|
|
|
70910
71040
|
mergeData: mergeData$f,
|
|
70911
71041
|
storeMetadataParams: {
|
|
70912
71042
|
ttl: TTL$1,
|
|
70913
|
-
namespace: keyPrefix,
|
|
71043
|
+
namespace: keyPrefix$1,
|
|
70914
71044
|
representationName: "RecordAggregateConnection",
|
|
70915
71045
|
version: VERSION$n
|
|
70916
71046
|
},
|
|
@@ -70982,7 +71112,7 @@
|
|
|
70982
71112
|
const { path, data, luvio } = state;
|
|
70983
71113
|
const rootKey = keyBuilder$j(luvio, path);
|
|
70984
71114
|
cacheKeySink.set(rootKey, {
|
|
70985
|
-
namespace: keyPrefix,
|
|
71115
|
+
namespace: keyPrefix$1,
|
|
70986
71116
|
mergeable: true,
|
|
70987
71117
|
representationName: name$f
|
|
70988
71118
|
});
|
|
@@ -71141,7 +71271,7 @@
|
|
|
71141
71271
|
mergeData: mergeData$e,
|
|
71142
71272
|
storeMetadataParams: {
|
|
71143
71273
|
ttl: TTL$1,
|
|
71144
|
-
namespace: keyPrefix,
|
|
71274
|
+
namespace: keyPrefix$1,
|
|
71145
71275
|
representationName: "RecordQueryAggregate",
|
|
71146
71276
|
version: VERSION$m
|
|
71147
71277
|
},
|
|
@@ -71203,7 +71333,7 @@
|
|
|
71203
71333
|
const { path, data, luvio } = state;
|
|
71204
71334
|
const rootKey = keyBuilder$i(luvio, path);
|
|
71205
71335
|
cacheKeySink.set(rootKey, {
|
|
71206
|
-
namespace: keyPrefix,
|
|
71336
|
+
namespace: keyPrefix$1,
|
|
71207
71337
|
mergeable: true,
|
|
71208
71338
|
representationName: name$e
|
|
71209
71339
|
});
|
|
@@ -71285,7 +71415,7 @@
|
|
|
71285
71415
|
mergeData: mergeData$d,
|
|
71286
71416
|
storeMetadataParams: {
|
|
71287
71417
|
ttl: TTL$1,
|
|
71288
|
-
namespace: keyPrefix,
|
|
71418
|
+
namespace: keyPrefix$1,
|
|
71289
71419
|
representationName: "ChildRelationship",
|
|
71290
71420
|
version: VERSION$l
|
|
71291
71421
|
},
|
|
@@ -71347,7 +71477,7 @@
|
|
|
71347
71477
|
const { path, data, luvio } = state;
|
|
71348
71478
|
const rootKey = keyBuilder$h(luvio, path);
|
|
71349
71479
|
cacheKeySink.set(rootKey, {
|
|
71350
|
-
namespace: keyPrefix,
|
|
71480
|
+
namespace: keyPrefix$1,
|
|
71351
71481
|
mergeable: true,
|
|
71352
71482
|
representationName: name$d
|
|
71353
71483
|
});
|
|
@@ -71477,7 +71607,7 @@
|
|
|
71477
71607
|
mergeData: mergeData$c,
|
|
71478
71608
|
storeMetadataParams: {
|
|
71479
71609
|
ttl: TTL$1,
|
|
71480
|
-
namespace: keyPrefix,
|
|
71610
|
+
namespace: keyPrefix$1,
|
|
71481
71611
|
representationName: "DependentField",
|
|
71482
71612
|
version: VERSION$k
|
|
71483
71613
|
},
|
|
@@ -71535,7 +71665,7 @@
|
|
|
71535
71665
|
const { path, data, luvio } = state;
|
|
71536
71666
|
const rootKey = keyBuilder$g(luvio, path);
|
|
71537
71667
|
cacheKeySink.set(rootKey, {
|
|
71538
|
-
namespace: keyPrefix,
|
|
71668
|
+
namespace: keyPrefix$1,
|
|
71539
71669
|
mergeable: true,
|
|
71540
71670
|
representationName: name$c
|
|
71541
71671
|
});
|
|
@@ -71616,7 +71746,7 @@
|
|
|
71616
71746
|
mergeData: mergeData$b,
|
|
71617
71747
|
storeMetadataParams: {
|
|
71618
71748
|
ttl: TTL$1,
|
|
71619
|
-
namespace: keyPrefix,
|
|
71749
|
+
namespace: keyPrefix$1,
|
|
71620
71750
|
representationName: "FilteredLookupInfo",
|
|
71621
71751
|
version: VERSION$j
|
|
71622
71752
|
},
|
|
@@ -71679,7 +71809,7 @@
|
|
|
71679
71809
|
const { path, data, luvio } = state;
|
|
71680
71810
|
const rootKey = keyBuilder$f(luvio, path);
|
|
71681
71811
|
cacheKeySink.set(rootKey, {
|
|
71682
|
-
namespace: keyPrefix,
|
|
71812
|
+
namespace: keyPrefix$1,
|
|
71683
71813
|
mergeable: true,
|
|
71684
71814
|
representationName: name$b
|
|
71685
71815
|
});
|
|
@@ -71770,7 +71900,7 @@
|
|
|
71770
71900
|
mergeData: mergeData$a,
|
|
71771
71901
|
storeMetadataParams: {
|
|
71772
71902
|
ttl: TTL$1,
|
|
71773
|
-
namespace: keyPrefix,
|
|
71903
|
+
namespace: keyPrefix$1,
|
|
71774
71904
|
representationName: "ReferenceToInfo",
|
|
71775
71905
|
version: VERSION$i
|
|
71776
71906
|
},
|
|
@@ -71832,7 +71962,7 @@
|
|
|
71832
71962
|
const { path, data, luvio } = state;
|
|
71833
71963
|
const rootKey = keyBuilder$e(luvio, path);
|
|
71834
71964
|
cacheKeySink.set(rootKey, {
|
|
71835
|
-
namespace: keyPrefix,
|
|
71965
|
+
namespace: keyPrefix$1,
|
|
71836
71966
|
mergeable: true,
|
|
71837
71967
|
representationName: name$a
|
|
71838
71968
|
});
|
|
@@ -71944,7 +72074,7 @@
|
|
|
71944
72074
|
mergeData: mergeData$9,
|
|
71945
72075
|
storeMetadataParams: {
|
|
71946
72076
|
ttl: TTL$1,
|
|
71947
|
-
namespace: keyPrefix,
|
|
72077
|
+
namespace: keyPrefix$1,
|
|
71948
72078
|
representationName: "Field",
|
|
71949
72079
|
version: VERSION$h
|
|
71950
72080
|
},
|
|
@@ -72030,7 +72160,7 @@
|
|
|
72030
72160
|
const { path, data, luvio } = state;
|
|
72031
72161
|
const rootKey = keyBuilder$d(luvio, path);
|
|
72032
72162
|
cacheKeySink.set(rootKey, {
|
|
72033
|
-
namespace: keyPrefix,
|
|
72163
|
+
namespace: keyPrefix$1,
|
|
72034
72164
|
mergeable: true,
|
|
72035
72165
|
representationName: name$9
|
|
72036
72166
|
});
|
|
@@ -72336,7 +72466,7 @@
|
|
|
72336
72466
|
mergeData: mergeData$8,
|
|
72337
72467
|
storeMetadataParams: {
|
|
72338
72468
|
ttl: TTL$1,
|
|
72339
|
-
namespace: keyPrefix,
|
|
72469
|
+
namespace: keyPrefix$1,
|
|
72340
72470
|
representationName: "RecordTypeInfo",
|
|
72341
72471
|
version: VERSION$g
|
|
72342
72472
|
},
|
|
@@ -72404,7 +72534,7 @@
|
|
|
72404
72534
|
const { path, data, luvio } = state;
|
|
72405
72535
|
const rootKey = keyBuilder$c(luvio, path);
|
|
72406
72536
|
cacheKeySink.set(rootKey, {
|
|
72407
|
-
namespace: keyPrefix,
|
|
72537
|
+
namespace: keyPrefix$1,
|
|
72408
72538
|
mergeable: true,
|
|
72409
72539
|
representationName: name$8
|
|
72410
72540
|
});
|
|
@@ -72511,7 +72641,7 @@
|
|
|
72511
72641
|
mergeData: mergeData$7,
|
|
72512
72642
|
storeMetadataParams: {
|
|
72513
72643
|
ttl: TTL$1,
|
|
72514
|
-
namespace: keyPrefix,
|
|
72644
|
+
namespace: keyPrefix$1,
|
|
72515
72645
|
representationName: "ThemeInfo",
|
|
72516
72646
|
version: VERSION$f
|
|
72517
72647
|
},
|
|
@@ -72569,7 +72699,7 @@
|
|
|
72569
72699
|
const { path, data, luvio } = state;
|
|
72570
72700
|
const rootKey = keyBuilder$b(luvio, path);
|
|
72571
72701
|
cacheKeySink.set(rootKey, {
|
|
72572
|
-
namespace: keyPrefix,
|
|
72702
|
+
namespace: keyPrefix$1,
|
|
72573
72703
|
mergeable: true,
|
|
72574
72704
|
representationName: name$7
|
|
72575
72705
|
});
|
|
@@ -72651,7 +72781,7 @@
|
|
|
72651
72781
|
mergeData: mergeData$6,
|
|
72652
72782
|
storeMetadataParams: {
|
|
72653
72783
|
ttl: TTL$3,
|
|
72654
|
-
namespace: keyPrefix,
|
|
72784
|
+
namespace: keyPrefix$1,
|
|
72655
72785
|
representationName: "ObjectInfo",
|
|
72656
72786
|
version: VERSION$e
|
|
72657
72787
|
},
|
|
@@ -72739,7 +72869,7 @@
|
|
|
72739
72869
|
const { path, data, luvio } = state;
|
|
72740
72870
|
const rootKey = keyBuilder$a(luvio, path);
|
|
72741
72871
|
cacheKeySink.set(rootKey, {
|
|
72742
|
-
namespace: keyPrefix,
|
|
72872
|
+
namespace: keyPrefix$1,
|
|
72743
72873
|
mergeable: true,
|
|
72744
72874
|
representationName: name$6
|
|
72745
72875
|
});
|
|
@@ -73049,7 +73179,7 @@
|
|
|
73049
73179
|
mergeData: mergeData$5,
|
|
73050
73180
|
storeMetadataParams: {
|
|
73051
73181
|
ttl: TTL$1,
|
|
73052
|
-
namespace: keyPrefix,
|
|
73182
|
+
namespace: keyPrefix$1,
|
|
73053
73183
|
representationName: "ListColumn",
|
|
73054
73184
|
version: VERSION$d
|
|
73055
73185
|
},
|
|
@@ -73112,7 +73242,7 @@
|
|
|
73112
73242
|
const { path, data, luvio } = state;
|
|
73113
73243
|
const rootKey = keyBuilder$9(luvio, path);
|
|
73114
73244
|
cacheKeySink.set(rootKey, {
|
|
73115
|
-
namespace: keyPrefix,
|
|
73245
|
+
namespace: keyPrefix$1,
|
|
73116
73246
|
mergeable: true,
|
|
73117
73247
|
representationName: name$5
|
|
73118
73248
|
});
|
|
@@ -73209,7 +73339,7 @@
|
|
|
73209
73339
|
mergeData: mergeData$4,
|
|
73210
73340
|
storeMetadataParams: {
|
|
73211
73341
|
ttl: TTL$1,
|
|
73212
|
-
namespace: keyPrefix,
|
|
73342
|
+
namespace: keyPrefix$1,
|
|
73213
73343
|
representationName: "ListOrder",
|
|
73214
73344
|
version: VERSION$c
|
|
73215
73345
|
},
|
|
@@ -73272,7 +73402,7 @@
|
|
|
73272
73402
|
const { path, data, luvio } = state;
|
|
73273
73403
|
const rootKey = keyBuilder$8(luvio, path);
|
|
73274
73404
|
cacheKeySink.set(rootKey, {
|
|
73275
|
-
namespace: keyPrefix,
|
|
73405
|
+
namespace: keyPrefix$1,
|
|
73276
73406
|
mergeable: true,
|
|
73277
73407
|
representationName: name$4
|
|
73278
73408
|
});
|
|
@@ -73358,7 +73488,7 @@
|
|
|
73358
73488
|
mergeData: mergeData$3,
|
|
73359
73489
|
storeMetadataParams: {
|
|
73360
73490
|
ttl: TTL$2,
|
|
73361
|
-
namespace: keyPrefix,
|
|
73491
|
+
namespace: keyPrefix$1,
|
|
73362
73492
|
representationName: "RelatedListInfo",
|
|
73363
73493
|
version: VERSION$b
|
|
73364
73494
|
},
|
|
@@ -73424,7 +73554,7 @@
|
|
|
73424
73554
|
const { path, data, luvio } = state;
|
|
73425
73555
|
const rootKey = keyBuilder$7(luvio, path);
|
|
73426
73556
|
cacheKeySink.set(rootKey, {
|
|
73427
|
-
namespace: keyPrefix,
|
|
73557
|
+
namespace: keyPrefix$1,
|
|
73428
73558
|
mergeable: true,
|
|
73429
73559
|
representationName: name$3
|
|
73430
73560
|
});
|
|
@@ -73594,7 +73724,7 @@
|
|
|
73594
73724
|
mergeData: mergeData$2,
|
|
73595
73725
|
storeMetadataParams: {
|
|
73596
73726
|
ttl: TTL$1,
|
|
73597
|
-
namespace: keyPrefix,
|
|
73727
|
+
namespace: keyPrefix$1,
|
|
73598
73728
|
representationName: "UIAPI",
|
|
73599
73729
|
version: VERSION$a
|
|
73600
73730
|
},
|
|
@@ -73668,7 +73798,7 @@
|
|
|
73668
73798
|
const { path, data, luvio } = state;
|
|
73669
73799
|
const rootKey = keyBuilder$6(luvio, path);
|
|
73670
73800
|
cacheKeySink.set(rootKey, {
|
|
73671
|
-
namespace: keyPrefix,
|
|
73801
|
+
namespace: keyPrefix$1,
|
|
73672
73802
|
mergeable: true,
|
|
73673
73803
|
representationName: name$2
|
|
73674
73804
|
});
|
|
@@ -73828,7 +73958,7 @@
|
|
|
73828
73958
|
mergeData: mergeData$1,
|
|
73829
73959
|
storeMetadataParams: {
|
|
73830
73960
|
ttl: TTL$1,
|
|
73831
|
-
namespace: keyPrefix,
|
|
73961
|
+
namespace: keyPrefix$1,
|
|
73832
73962
|
representationName: "RateLimit",
|
|
73833
73963
|
version: VERSION$9
|
|
73834
73964
|
},
|
|
@@ -73896,7 +74026,7 @@
|
|
|
73896
74026
|
const { path, data, luvio } = state;
|
|
73897
74027
|
const rootKey = keyBuilder$5(luvio, path);
|
|
73898
74028
|
cacheKeySink.set(rootKey, {
|
|
73899
|
-
namespace: keyPrefix,
|
|
74029
|
+
namespace: keyPrefix$1,
|
|
73900
74030
|
mergeable: true,
|
|
73901
74031
|
representationName: name$1
|
|
73902
74032
|
});
|
|
@@ -73975,7 +74105,7 @@
|
|
|
73975
74105
|
function keyBuilder$4(luvio, operationNode, variables, fragmentMap) {
|
|
73976
74106
|
return buildQueryTypeStringKey({
|
|
73977
74107
|
luvio,
|
|
73978
|
-
keyPrefix: keyPrefix,
|
|
74108
|
+
keyPrefix: keyPrefix$1,
|
|
73979
74109
|
schemaName: 'uiapi',
|
|
73980
74110
|
queryTypeName: name,
|
|
73981
74111
|
operationNode,
|
|
@@ -74001,7 +74131,7 @@
|
|
|
74001
74131
|
mergeData,
|
|
74002
74132
|
storeMetadataParams: {
|
|
74003
74133
|
ttl: TTL$1,
|
|
74004
|
-
namespace: keyPrefix,
|
|
74134
|
+
namespace: keyPrefix$1,
|
|
74005
74135
|
representationName: "Query",
|
|
74006
74136
|
version: VERSION$8
|
|
74007
74137
|
},
|
|
@@ -74059,7 +74189,7 @@
|
|
|
74059
74189
|
const { path, data, luvio } = state;
|
|
74060
74190
|
const rootKey = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
|
|
74061
74191
|
cacheKeySink.set(rootKey, {
|
|
74062
|
-
namespace: keyPrefix,
|
|
74192
|
+
namespace: keyPrefix$1,
|
|
74063
74193
|
mergeable: true,
|
|
74064
74194
|
representationName: name
|
|
74065
74195
|
});
|
|
@@ -75868,7 +75998,7 @@
|
|
|
75868
75998
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
75869
75999
|
const storeMetadataParams = {
|
|
75870
76000
|
ttl: TTL,
|
|
75871
|
-
namespace: keyPrefix,
|
|
76001
|
+
namespace: keyPrefix$1,
|
|
75872
76002
|
representationName: RepresentationType,
|
|
75873
76003
|
version: VERSION$7
|
|
75874
76004
|
};
|
|
@@ -76377,7 +76507,7 @@
|
|
|
76377
76507
|
return selectChildResourceParams(luvio, childResources, resourceParams);
|
|
76378
76508
|
}
|
|
76379
76509
|
function keyBuilder$1(luvio, params) {
|
|
76380
|
-
return (keyPrefix +
|
|
76510
|
+
return (keyPrefix$1 +
|
|
76381
76511
|
'::GraphQLBatchRepresentation:(' +
|
|
76382
76512
|
'batchQuery:' +
|
|
76383
76513
|
params.body.batchQuery +
|
|
@@ -76397,7 +76527,7 @@
|
|
|
76397
76527
|
else if (childStatusCode === 404) {
|
|
76398
76528
|
const childKey = keyBuilder$3(luvio, childResourceParams);
|
|
76399
76529
|
keys.set(childKey, {
|
|
76400
|
-
namespace: keyPrefix,
|
|
76530
|
+
namespace: keyPrefix$1,
|
|
76401
76531
|
representationName: RepresentationType,
|
|
76402
76532
|
mergeable: false,
|
|
76403
76533
|
});
|
|
@@ -76646,8 +76776,8 @@
|
|
|
76646
76776
|
let graphql_imperative;
|
|
76647
76777
|
let graphqlBatch_imperative;
|
|
76648
76778
|
// Adapter Metadata
|
|
76649
|
-
const graphqlMetadata = { apiFamily: keyPrefix, name: 'graphql', ttl: 900000 };
|
|
76650
|
-
const graphqlBatchMetadata = { apiFamily: keyPrefix, name: 'graphqlBatch' };
|
|
76779
|
+
const graphqlMetadata = { apiFamily: keyPrefix$1, name: 'graphql', ttl: 900000 };
|
|
76780
|
+
const graphqlBatchMetadata = { apiFamily: keyPrefix$1, name: 'graphqlBatch' };
|
|
76651
76781
|
function bindExportsTo(luvio) {
|
|
76652
76782
|
// LDS adapters
|
|
76653
76783
|
const graphql_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'graphql', factory$1), graphqlMetadata);
|
|
@@ -77156,7 +77286,7 @@
|
|
|
77156
77286
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
77157
77287
|
instrument: instrument$1,
|
|
77158
77288
|
});
|
|
77159
|
-
// version: 1.
|
|
77289
|
+
// version: 1.245.0-df5596041
|
|
77160
77290
|
|
|
77161
77291
|
// On core the unstable adapters are re-exported with different names,
|
|
77162
77292
|
// we want to match them here.
|
|
@@ -79405,7 +79535,7 @@
|
|
|
79405
79535
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79406
79536
|
graphQLImperative = ldsAdapter;
|
|
79407
79537
|
});
|
|
79408
|
-
// version: 1.
|
|
79538
|
+
// version: 1.245.0-df5596041
|
|
79409
79539
|
|
|
79410
79540
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79411
79541
|
__proto__: null,
|
|
@@ -80103,7 +80233,7 @@
|
|
|
80103
80233
|
function register(r) {
|
|
80104
80234
|
callbacks$1.forEach((callback) => callback(r));
|
|
80105
80235
|
}
|
|
80106
|
-
// version: 1.
|
|
80236
|
+
// version: 1.245.0-0ea124370
|
|
80107
80237
|
|
|
80108
80238
|
/**
|
|
80109
80239
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -84253,8 +84383,9 @@
|
|
|
84253
84383
|
}
|
|
84254
84384
|
};
|
|
84255
84385
|
}
|
|
84386
|
+
const keyPrefix = 'UiApi';
|
|
84256
84387
|
|
|
84257
|
-
const { assign, create, freeze, keys } = Object;
|
|
84388
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
84258
84389
|
const { isArray } = Array;
|
|
84259
84390
|
const { concat, filter, includes, push, reduce } = Array.prototype;
|
|
84260
84391
|
|
|
@@ -84351,6 +84482,10 @@
|
|
|
84351
84482
|
}
|
|
84352
84483
|
return dedupe(array).sort();
|
|
84353
84484
|
}
|
|
84485
|
+
const RepresentationType$T = 'RecordRepresentation';
|
|
84486
|
+
function keyBuilder$35(luvio, config) {
|
|
84487
|
+
return keyPrefix + '::' + RepresentationType$T + ':' + config.recordId;
|
|
84488
|
+
}
|
|
84354
84489
|
freeze({
|
|
84355
84490
|
name: '',
|
|
84356
84491
|
children: {},
|
|
@@ -84742,15 +84877,256 @@
|
|
|
84742
84877
|
}
|
|
84743
84878
|
}
|
|
84744
84879
|
|
|
84880
|
+
/**
|
|
84881
|
+
* Copyright (c) 2022, Salesforce, Inc.,
|
|
84882
|
+
* All rights reserved.
|
|
84883
|
+
* For full license text, see the LICENSE.txt file
|
|
84884
|
+
*/
|
|
84885
|
+
|
|
84886
|
+
|
|
84887
|
+
var DraftActionStatus;
|
|
84888
|
+
(function (DraftActionStatus) {
|
|
84889
|
+
DraftActionStatus["Pending"] = "pending";
|
|
84890
|
+
DraftActionStatus["Uploading"] = "uploading";
|
|
84891
|
+
DraftActionStatus["Error"] = "error";
|
|
84892
|
+
DraftActionStatus["Completed"] = "completed";
|
|
84893
|
+
})(DraftActionStatus || (DraftActionStatus = {}));
|
|
84894
|
+
var ProcessActionResult;
|
|
84895
|
+
(function (ProcessActionResult) {
|
|
84896
|
+
// non-2xx network error, requires user intervention
|
|
84897
|
+
ProcessActionResult["ACTION_ERRORED"] = "ERROR";
|
|
84898
|
+
// upload succeeded
|
|
84899
|
+
ProcessActionResult["ACTION_SUCCEEDED"] = "SUCCESS";
|
|
84900
|
+
// queue is empty
|
|
84901
|
+
ProcessActionResult["NO_ACTION_TO_PROCESS"] = "NO_ACTION_TO_PROCESS";
|
|
84902
|
+
// network request is in flight
|
|
84903
|
+
ProcessActionResult["ACTION_ALREADY_PROCESSING"] = "ACTION_ALREADY_PROCESSING";
|
|
84904
|
+
// network call failed (offline)
|
|
84905
|
+
ProcessActionResult["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
84906
|
+
// queue is blocked on an error that requires user intervention
|
|
84907
|
+
ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
|
|
84908
|
+
//waiting for user to execute custom action
|
|
84909
|
+
ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
|
|
84910
|
+
})(ProcessActionResult || (ProcessActionResult = {}));
|
|
84911
|
+
var DraftQueueState;
|
|
84912
|
+
(function (DraftQueueState) {
|
|
84913
|
+
/** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
|
|
84914
|
+
DraftQueueState["Started"] = "started";
|
|
84915
|
+
/**
|
|
84916
|
+
* The queue is stopped and will not attempt to upload any drafts until startDraftQueue() is called.
|
|
84917
|
+
* This is the initial state when the DraftQueue gets instantiated.
|
|
84918
|
+
*/
|
|
84919
|
+
DraftQueueState["Stopped"] = "stopped";
|
|
84920
|
+
/**
|
|
84921
|
+
* The queue is stopped due to a blocking error from the last upload attempt.
|
|
84922
|
+
* The queue will not run again until startDraftQueue() is called.
|
|
84923
|
+
*/
|
|
84924
|
+
DraftQueueState["Error"] = "error";
|
|
84925
|
+
/**
|
|
84926
|
+
* There was a network error and the queue will attempt to upload again shortly.
|
|
84927
|
+
* To attempt to force an upload now call startDraftQueue().
|
|
84928
|
+
*/
|
|
84929
|
+
DraftQueueState["Waiting"] = "waiting";
|
|
84930
|
+
})(DraftQueueState || (DraftQueueState = {}));
|
|
84931
|
+
var DraftQueueEventType;
|
|
84932
|
+
(function (DraftQueueEventType) {
|
|
84933
|
+
/**
|
|
84934
|
+
* Triggered after an action had been added to the queue
|
|
84935
|
+
*/
|
|
84936
|
+
DraftQueueEventType["ActionAdded"] = "added";
|
|
84937
|
+
/**
|
|
84938
|
+
* Triggered when starting to upload and process an action
|
|
84939
|
+
*/
|
|
84940
|
+
DraftQueueEventType["ActionUploading"] = "uploading";
|
|
84941
|
+
/**
|
|
84942
|
+
* Triggered once an action failed
|
|
84943
|
+
*/
|
|
84944
|
+
DraftQueueEventType["ActionFailed"] = "failed";
|
|
84945
|
+
/**
|
|
84946
|
+
* Triggered after an action has been deleted from the queue
|
|
84947
|
+
*/
|
|
84948
|
+
DraftQueueEventType["ActionDeleted"] = "deleted";
|
|
84949
|
+
/**
|
|
84950
|
+
* Triggered after an action has been completed and after it has been removed from the queue
|
|
84951
|
+
*/
|
|
84952
|
+
DraftQueueEventType["ActionCompleted"] = "completed";
|
|
84953
|
+
/**
|
|
84954
|
+
* Triggered after an action has been updated by the updateAction API
|
|
84955
|
+
*/
|
|
84956
|
+
DraftQueueEventType["ActionUpdated"] = "updated";
|
|
84957
|
+
/**
|
|
84958
|
+
* Triggered after the Draft Queue state changes
|
|
84959
|
+
*/
|
|
84960
|
+
DraftQueueEventType["QueueStateChanged"] = "state";
|
|
84961
|
+
})(DraftQueueEventType || (DraftQueueEventType = {}));
|
|
84962
|
+
var QueueOperationType;
|
|
84963
|
+
(function (QueueOperationType) {
|
|
84964
|
+
QueueOperationType["Add"] = "add";
|
|
84965
|
+
QueueOperationType["Delete"] = "delete";
|
|
84966
|
+
QueueOperationType["Update"] = "update";
|
|
84967
|
+
})(QueueOperationType || (QueueOperationType = {}));
|
|
84968
|
+
/**
|
|
84969
|
+
Use Math.random to generate v4 RFC4122 compliant uuid
|
|
84970
|
+
*/
|
|
84971
|
+
function uuidv4() {
|
|
84972
|
+
const uuid = [];
|
|
84973
|
+
for (let i = 0; i < 32; i++) {
|
|
84974
|
+
const random = (Math.random() * 16) | 0;
|
|
84975
|
+
if (i === 8 || i === 12 || i === 16 || i === 20) {
|
|
84976
|
+
uuid.push('-');
|
|
84977
|
+
}
|
|
84978
|
+
uuid.push((i === 12 ? 4 : i === 16 ? (random & 3) | 8 : random).toString(16));
|
|
84979
|
+
}
|
|
84980
|
+
return uuid.join('');
|
|
84981
|
+
}
|
|
84982
|
+
|
|
84983
|
+
var CustomActionResultType;
|
|
84984
|
+
(function (CustomActionResultType) {
|
|
84985
|
+
CustomActionResultType["SUCCESS"] = "SUCCESS";
|
|
84986
|
+
CustomActionResultType["FAILURE"] = "FAILURE";
|
|
84987
|
+
})(CustomActionResultType || (CustomActionResultType = {}));
|
|
84988
|
+
var CustomActionErrorType;
|
|
84989
|
+
(function (CustomActionErrorType) {
|
|
84990
|
+
CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
84991
|
+
CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
84992
|
+
})(CustomActionErrorType || (CustomActionErrorType = {}));
|
|
84993
|
+
|
|
84994
|
+
/**
|
|
84995
|
+
* Denotes what kind of operation a DraftQueueItem represents.
|
|
84996
|
+
*/
|
|
84997
|
+
var DraftActionOperationType;
|
|
84998
|
+
(function (DraftActionOperationType) {
|
|
84999
|
+
DraftActionOperationType["Create"] = "create";
|
|
85000
|
+
DraftActionOperationType["Update"] = "update";
|
|
85001
|
+
DraftActionOperationType["Delete"] = "delete";
|
|
85002
|
+
DraftActionOperationType["Custom"] = "custom";
|
|
85003
|
+
})(DraftActionOperationType || (DraftActionOperationType = {}));
|
|
85004
|
+
var DraftQueueOperationType;
|
|
85005
|
+
(function (DraftQueueOperationType) {
|
|
85006
|
+
DraftQueueOperationType["ItemAdded"] = "added";
|
|
85007
|
+
DraftQueueOperationType["ItemUploading"] = "uploading";
|
|
85008
|
+
DraftQueueOperationType["ItemDeleted"] = "deleted";
|
|
85009
|
+
DraftQueueOperationType["ItemCompleted"] = "completed";
|
|
85010
|
+
DraftQueueOperationType["ItemFailed"] = "failed";
|
|
85011
|
+
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
85012
|
+
DraftQueueOperationType["QueueStarted"] = "started";
|
|
85013
|
+
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
85014
|
+
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
85015
|
+
|
|
85016
|
+
var EvictStatus;
|
|
85017
|
+
(function (EvictStatus) {
|
|
85018
|
+
EvictStatus["InProgress"] = "InProgress";
|
|
85019
|
+
EvictStatus["Succeeded"] = "Succeeded";
|
|
85020
|
+
EvictStatus["Error"] = "Error";
|
|
85021
|
+
EvictStatus["Cancelled"] = "Cancelled";
|
|
85022
|
+
})(EvictStatus || (EvictStatus = {}));
|
|
85023
|
+
const MessagingDurableSegmentName = 'MESSAGING';
|
|
85024
|
+
const DEFAULT_MAX_ENTRIES_PER_OPERATION = 500;
|
|
85025
|
+
/**
|
|
85026
|
+
* Keep tracking of ongoing eviction id to a flag to trigger eviction cancellation.
|
|
85027
|
+
* false in the begining, set to false when cancelEviction is called.
|
|
85028
|
+
*/
|
|
85029
|
+
const inProgressEvictions = new Map();
|
|
85030
|
+
/**
|
|
85031
|
+
* Purging records specified by an array of record id from durable store
|
|
85032
|
+
* @param recordIds record id array
|
|
85033
|
+
* @onProgressUpdate call back to report evict progress
|
|
85034
|
+
*
|
|
85035
|
+
* @returns a function to cancel the eviction
|
|
85036
|
+
*
|
|
85037
|
+
* The record will not be purged if the record has draft.
|
|
85038
|
+
*/
|
|
85039
|
+
function evictCacheRecordsByIds(recordIds, onProgressUpdate) {
|
|
85040
|
+
const evictionId = uuidv4();
|
|
85041
|
+
inProgressEvictions.set(evictionId, false);
|
|
85042
|
+
const onEvicted = (progress) => {
|
|
85043
|
+
onProgressUpdate(progress);
|
|
85044
|
+
const { status } = progress;
|
|
85045
|
+
if (status === EvictStatus.Succeeded || status === EvictStatus.Error) {
|
|
85046
|
+
inProgressEvictions.delete(evictionId);
|
|
85047
|
+
}
|
|
85048
|
+
if (status === EvictStatus.InProgress) {
|
|
85049
|
+
if (inProgressEvictions.get(evictionId)) {
|
|
85050
|
+
inProgressEvictions.delete(evictionId);
|
|
85051
|
+
onProgressUpdate({ status: EvictStatus.Cancelled });
|
|
85052
|
+
}
|
|
85053
|
+
else {
|
|
85054
|
+
evictAChunk();
|
|
85055
|
+
}
|
|
85056
|
+
}
|
|
85057
|
+
};
|
|
85058
|
+
const evictAChunk = () => {
|
|
85059
|
+
evictChunksOfRecord(recordIds).then(onEvicted);
|
|
85060
|
+
};
|
|
85061
|
+
evictAChunk();
|
|
85062
|
+
return evictionId;
|
|
85063
|
+
}
|
|
85064
|
+
/**
|
|
85065
|
+
* Cancel the eviction by specified id.
|
|
85066
|
+
* @param evictionId
|
|
85067
|
+
*/
|
|
85068
|
+
function cancelEviction(evictionId) {
|
|
85069
|
+
inProgressEvictions.set(evictionId, true);
|
|
85070
|
+
}
|
|
85071
|
+
/**
|
|
85072
|
+
* pull a chunk of record id, evict status back in a promise.
|
|
85073
|
+
* @param ids the list of record ids.
|
|
85074
|
+
* @returns
|
|
85075
|
+
*/
|
|
85076
|
+
function evictChunksOfRecord(ids) {
|
|
85077
|
+
const chunk = ids.splice(0, DEFAULT_MAX_ENTRIES_PER_OPERATION);
|
|
85078
|
+
if (chunk.length === 0) {
|
|
85079
|
+
return Promise.resolve({ status: EvictStatus.Succeeded });
|
|
85080
|
+
}
|
|
85081
|
+
return new Promise((resolve) => {
|
|
85082
|
+
// evict the chunk
|
|
85083
|
+
const { luvio, nimbusSqliteStore } = getRuntime();
|
|
85084
|
+
const paramTemplate = chunk.map((_) => '?').join(',');
|
|
85085
|
+
const params = chunk.map((recordId) => keyBuilder$35(luvio, { recordId }));
|
|
85086
|
+
try {
|
|
85087
|
+
nimbusSqliteStore
|
|
85088
|
+
.query(`DELETE FROM lds_data
|
|
85089
|
+
WHERE key IN (${paramTemplate}) AND JSON_EXTRACT(data,'$.drafts') IS NULL
|
|
85090
|
+
RETURNING key
|
|
85091
|
+
`, params)
|
|
85092
|
+
.then((result) => {
|
|
85093
|
+
const evictedEntries = result.rows.map((row) => row[0]);
|
|
85094
|
+
const skippedEntries = params.filter((entryKey) => evictedEntries.indexOf(entryKey) === -1);
|
|
85095
|
+
// broadcast entries evicted
|
|
85096
|
+
nimbusSqliteStore.setEntries({ notifyStoreUpdateAvailable: { data: evictedEntries } }, MessagingDurableSegmentName);
|
|
85097
|
+
resolve({
|
|
85098
|
+
status: EvictStatus.InProgress,
|
|
85099
|
+
evictedEntries,
|
|
85100
|
+
skippedEntries,
|
|
85101
|
+
});
|
|
85102
|
+
})
|
|
85103
|
+
.catch((reason) => {
|
|
85104
|
+
resolve({
|
|
85105
|
+
status: EvictStatus.Error,
|
|
85106
|
+
message: JSON.stringify(reason),
|
|
85107
|
+
});
|
|
85108
|
+
});
|
|
85109
|
+
}
|
|
85110
|
+
catch (reason) {
|
|
85111
|
+
resolve({
|
|
85112
|
+
status: EvictStatus.Error,
|
|
85113
|
+
message: JSON.stringify(reason),
|
|
85114
|
+
});
|
|
85115
|
+
}
|
|
85116
|
+
});
|
|
85117
|
+
}
|
|
85118
|
+
|
|
84745
85119
|
// LWR has a "setupLDS" bootstrap service/loader hook, we simulate this in
|
|
84746
85120
|
// standalone bundle by mimicking what "setupLDS" does here and then exporting
|
|
84747
85121
|
// everything from main.ts
|
|
84748
85122
|
const { luvio } = getRuntime();
|
|
84749
85123
|
setDefaultLuvio({ luvio });
|
|
84750
85124
|
|
|
85125
|
+
exports.cancelEviction = cancelEviction;
|
|
84751
85126
|
exports.createPrimingSession = createPrimingSession;
|
|
84752
85127
|
exports.draftManager = draftManager;
|
|
84753
85128
|
exports.draftQueue = draftQueue;
|
|
85129
|
+
exports.evictCacheRecordsByIds = evictCacheRecordsByIds;
|
|
84754
85130
|
exports.executeAdapter = executeAdapter;
|
|
84755
85131
|
exports.executeMutatingAdapter = executeMutatingAdapter;
|
|
84756
85132
|
exports.getImperativeAdapterNames = getImperativeAdapterNames;
|
|
@@ -84764,4 +85140,4 @@
|
|
|
84764
85140
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
84765
85141
|
|
|
84766
85142
|
}));
|
|
84767
|
-
// version: 1.
|
|
85143
|
+
// version: 1.245.0-0ea124370
|