@salesforce/lds-worker-api 1.244.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 +983 -612
- 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 +984 -611
- 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
|
@@ -3908,7 +3908,7 @@
|
|
|
3908
3908
|
}
|
|
3909
3909
|
return resourceParams;
|
|
3910
3910
|
}
|
|
3911
|
-
// engine version: 0.150.
|
|
3911
|
+
// engine version: 0.150.5-275045c5
|
|
3912
3912
|
|
|
3913
3913
|
/**
|
|
3914
3914
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -4036,7 +4036,7 @@
|
|
|
4036
4036
|
}
|
|
4037
4037
|
callbacks.push(callback);
|
|
4038
4038
|
}
|
|
4039
|
-
// version: 1.
|
|
4039
|
+
// version: 1.245.0-0ea124370
|
|
4040
4040
|
|
|
4041
4041
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4042
4042
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15497,7 +15497,7 @@
|
|
|
15497
15497
|
}
|
|
15498
15498
|
return superResult;
|
|
15499
15499
|
}
|
|
15500
|
-
// version: 1.
|
|
15500
|
+
// version: 1.245.0-0ea124370
|
|
15501
15501
|
|
|
15502
15502
|
function unwrap(data) {
|
|
15503
15503
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16422,7 +16422,7 @@
|
|
|
16422
16422
|
const { apiFamily, name } = metadata;
|
|
16423
16423
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16424
16424
|
}
|
|
16425
|
-
// version: 1.
|
|
16425
|
+
// version: 1.245.0-0ea124370
|
|
16426
16426
|
|
|
16427
16427
|
/**
|
|
16428
16428
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16521,11 +16521,11 @@
|
|
|
16521
16521
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
16522
16522
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
16523
16523
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
16524
|
-
// engine version: 0.150.
|
|
16524
|
+
// engine version: 0.150.5-275045c5
|
|
16525
16525
|
|
|
16526
16526
|
const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
|
|
16527
16527
|
|
|
16528
|
-
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;
|
|
16529
16529
|
|
|
16530
16530
|
ObjectCreate$3(null);
|
|
16531
16531
|
|
|
@@ -16894,9 +16894,9 @@
|
|
|
16894
16894
|
}
|
|
16895
16895
|
};
|
|
16896
16896
|
}
|
|
16897
|
-
const keyPrefix$
|
|
16897
|
+
const keyPrefix$2 = 'UiApi';
|
|
16898
16898
|
|
|
16899
|
-
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;
|
|
16900
16900
|
const { hasOwnProperty: hasOwnProperty$1 } = Object.prototype;
|
|
16901
16901
|
const { split, endsWith } = String.prototype;
|
|
16902
16902
|
const { isArray: isArray$7 } = Array;
|
|
@@ -17109,7 +17109,7 @@
|
|
|
17109
17109
|
entry['__metadata'] = createLink$3(metadataKey);
|
|
17110
17110
|
}
|
|
17111
17111
|
|
|
17112
|
-
const VERSION$1o = "
|
|
17112
|
+
const VERSION$1o = "d8917f62af39b67a54f8ff8cf7ea49c6";
|
|
17113
17113
|
const select$1W$1 = function ListColumnRepresentationSelect() {
|
|
17114
17114
|
return {
|
|
17115
17115
|
kind: 'Fragment',
|
|
@@ -17128,6 +17128,11 @@
|
|
|
17128
17128
|
name: 'lookupId',
|
|
17129
17129
|
kind: 'Scalar'
|
|
17130
17130
|
},
|
|
17131
|
+
{
|
|
17132
|
+
name: 'searchable',
|
|
17133
|
+
kind: 'Scalar',
|
|
17134
|
+
required: false
|
|
17135
|
+
},
|
|
17131
17136
|
{
|
|
17132
17137
|
name: 'sortable',
|
|
17133
17138
|
kind: 'Scalar'
|
|
@@ -17375,10 +17380,10 @@
|
|
|
17375
17380
|
};
|
|
17376
17381
|
|
|
17377
17382
|
const TTL$y = 900000;
|
|
17378
|
-
const VERSION$1e = "
|
|
17383
|
+
const VERSION$1e = "6bd7c5a1bb955f37db137327c7d65f65";
|
|
17379
17384
|
const RepresentationType$R = 'ListInfoRepresentation';
|
|
17380
17385
|
function keyBuilder$1V(luvio, config) {
|
|
17381
|
-
return keyPrefix$
|
|
17386
|
+
return keyPrefix$2 + '::' + RepresentationType$R + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type;
|
|
17382
17387
|
}
|
|
17383
17388
|
function keyBuilderFromType$A(luvio, object) {
|
|
17384
17389
|
const keyParams = {
|
|
@@ -17469,6 +17474,11 @@
|
|
|
17469
17474
|
selections: ListScopeRepresentation__selections,
|
|
17470
17475
|
required: false
|
|
17471
17476
|
},
|
|
17477
|
+
{
|
|
17478
|
+
name: 'searchable',
|
|
17479
|
+
kind: 'Scalar',
|
|
17480
|
+
required: false
|
|
17481
|
+
},
|
|
17472
17482
|
{
|
|
17473
17483
|
name: 'updateable',
|
|
17474
17484
|
kind: 'Scalar'
|
|
@@ -17505,7 +17515,7 @@
|
|
|
17505
17515
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17506
17516
|
const rootKey = keyBuilderFromType$A(luvio, input);
|
|
17507
17517
|
rootKeySet.set(rootKey, {
|
|
17508
|
-
namespace: keyPrefix$
|
|
17518
|
+
namespace: keyPrefix$2,
|
|
17509
17519
|
representationName: RepresentationType$R,
|
|
17510
17520
|
mergeable: false
|
|
17511
17521
|
});
|
|
@@ -17684,7 +17694,7 @@
|
|
|
17684
17694
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17685
17695
|
const rootKey = fullPathFactory();
|
|
17686
17696
|
rootKeySet.set(rootKey, {
|
|
17687
|
-
namespace: keyPrefix$
|
|
17697
|
+
namespace: keyPrefix$2,
|
|
17688
17698
|
representationName: RepresentationType$Q,
|
|
17689
17699
|
mergeable: false
|
|
17690
17700
|
});
|
|
@@ -17698,7 +17708,7 @@
|
|
|
17698
17708
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17699
17709
|
const rootKey = keyBuilderFromType$y(luvio, input);
|
|
17700
17710
|
rootKeySet.set(rootKey, {
|
|
17701
|
-
namespace: keyPrefix$
|
|
17711
|
+
namespace: keyPrefix$2,
|
|
17702
17712
|
representationName: RepresentationType$O,
|
|
17703
17713
|
mergeable: true,
|
|
17704
17714
|
});
|
|
@@ -17842,7 +17852,7 @@
|
|
|
17842
17852
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
17843
17853
|
const rootKey = fullPathFactory();
|
|
17844
17854
|
rootKeySet.set(rootKey, {
|
|
17845
|
-
namespace: keyPrefix$
|
|
17855
|
+
namespace: keyPrefix$2,
|
|
17846
17856
|
representationName: RepresentationType$P,
|
|
17847
17857
|
mergeable: false
|
|
17848
17858
|
});
|
|
@@ -17853,7 +17863,7 @@
|
|
|
17853
17863
|
}
|
|
17854
17864
|
|
|
17855
17865
|
const VIEW_ENTITY_API_NAME = 'Name';
|
|
17856
|
-
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$
|
|
17866
|
+
const VIEW_ENTITY_KEY_PREFIX = `${keyPrefix$2}::RecordViewEntityRepresentation:${VIEW_ENTITY_API_NAME}:`;
|
|
17857
17867
|
const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luvio, object) {
|
|
17858
17868
|
const { apiName, id } = object;
|
|
17859
17869
|
if (apiName === VIEW_ENTITY_API_NAME) {
|
|
@@ -17866,7 +17876,7 @@
|
|
|
17866
17876
|
const VERSION$1a$1 = "98c5b18512e48ca8d28727549507e4ba";
|
|
17867
17877
|
const RepresentationType$O = 'RecordRepresentation';
|
|
17868
17878
|
function keyBuilder$1U(luvio, config) {
|
|
17869
|
-
return keyPrefix$
|
|
17879
|
+
return keyPrefix$2 + '::' + RepresentationType$O + ':' + config.recordId;
|
|
17870
17880
|
}
|
|
17871
17881
|
function keyBuilderFromType$y(luvio, object) {
|
|
17872
17882
|
const keyParams = {
|
|
@@ -18104,7 +18114,7 @@
|
|
|
18104
18114
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
18105
18115
|
const rootKey = keyBuilderFromType$z(luvio, input);
|
|
18106
18116
|
rootKeySet.set(rootKey, {
|
|
18107
|
-
namespace: keyPrefix$
|
|
18117
|
+
namespace: keyPrefix$2,
|
|
18108
18118
|
representationName: RepresentationType$O,
|
|
18109
18119
|
mergeable: false
|
|
18110
18120
|
});
|
|
@@ -19685,7 +19695,7 @@
|
|
|
19685
19695
|
const RECORD_REPRESENTATION_ERROR_VERSION = 'RECORD_REPRESENTATION_ERROR_VERSION_1';
|
|
19686
19696
|
const RECORD_REPRESENTATION_ERROR_STORE_METADATA_PARAMS = {
|
|
19687
19697
|
representationName: '',
|
|
19688
|
-
namespace: keyPrefix$
|
|
19698
|
+
namespace: keyPrefix$2,
|
|
19689
19699
|
ttl: TTL$w,
|
|
19690
19700
|
version: RECORD_REPRESENTATION_ERROR_VERSION,
|
|
19691
19701
|
};
|
|
@@ -19915,7 +19925,11 @@
|
|
|
19915
19925
|
}
|
|
19916
19926
|
const link = fieldValueRepresentation.link(fieldName);
|
|
19917
19927
|
const resolved = link.follow();
|
|
19918
|
-
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)) {
|
|
19919
19933
|
const linkState = link.linkData();
|
|
19920
19934
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
19921
19935
|
link.writeLinkData({
|
|
@@ -20384,7 +20398,7 @@
|
|
|
20384
20398
|
luvio.publishStoreMetadata(key, {
|
|
20385
20399
|
ttl: TTL$w,
|
|
20386
20400
|
representationName: RepresentationType$O,
|
|
20387
|
-
namespace: keyPrefix$
|
|
20401
|
+
namespace: keyPrefix$2,
|
|
20388
20402
|
version: VERSION$1a$1,
|
|
20389
20403
|
});
|
|
20390
20404
|
return createLink$3(key);
|
|
@@ -20886,7 +20900,7 @@
|
|
|
20886
20900
|
return childConfigs;
|
|
20887
20901
|
}
|
|
20888
20902
|
function keyBuilder$1S(luvio, params) {
|
|
20889
|
-
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 + ')';
|
|
20890
20904
|
}
|
|
20891
20905
|
function getResponseCacheKeys$U(keys, luvio, resourceParams, response) {
|
|
20892
20906
|
const childEnvelopes = response.results;
|
|
@@ -20902,7 +20916,7 @@
|
|
|
20902
20916
|
else if (childStatusCode === 404) {
|
|
20903
20917
|
const childKey = keyBuilder$1T(luvio, childResourceParams);
|
|
20904
20918
|
keys.set(childKey, {
|
|
20905
|
-
namespace: keyPrefix$
|
|
20919
|
+
namespace: keyPrefix$2,
|
|
20906
20920
|
representationName: RepresentationType$O,
|
|
20907
20921
|
mergeable: false
|
|
20908
20922
|
});
|
|
@@ -21183,7 +21197,7 @@
|
|
|
21183
21197
|
const VERSION$18$1 = "614ef19823027c07fa6deb9a149619d2";
|
|
21184
21198
|
const RepresentationType$N = 'ListRecordCollectionRepresentation';
|
|
21185
21199
|
function keyBuilder$1R(luvio, config) {
|
|
21186
|
-
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);
|
|
21187
21201
|
}
|
|
21188
21202
|
function keyBuilderFromType$x(luvio, object) {
|
|
21189
21203
|
const keyParams = {
|
|
@@ -21572,12 +21586,12 @@
|
|
|
21572
21586
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21573
21587
|
const rootKey = keyBuilderFromType$x(luvio, input);
|
|
21574
21588
|
rootKeySet.set(rootKey, {
|
|
21575
|
-
namespace: keyPrefix$
|
|
21589
|
+
namespace: keyPrefix$2,
|
|
21576
21590
|
representationName: RepresentationType$N,
|
|
21577
21591
|
mergeable: true
|
|
21578
21592
|
});
|
|
21579
21593
|
rootKeySet.set(rootKey + '__pagination', {
|
|
21580
|
-
namespace: keyPrefix$
|
|
21594
|
+
namespace: keyPrefix$2,
|
|
21581
21595
|
representationName: RepresentationType$N,
|
|
21582
21596
|
mergeable: true
|
|
21583
21597
|
});
|
|
@@ -21590,7 +21604,7 @@
|
|
|
21590
21604
|
const VERSION$17$1 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
21591
21605
|
const RepresentationType$M = 'ListUiRepresentation';
|
|
21592
21606
|
function keyBuilder$1Q(luvio, config) {
|
|
21593
|
-
return keyPrefix$
|
|
21607
|
+
return keyPrefix$2 + '::' + RepresentationType$M + ':' + (config.listViewApiName === null ? '' : config.listViewApiName) + ':' + config.objectApiName + ':' + config.type + ':' + (config.sortBy === null ? '' : '[' + config.sortBy.join(',') + ']');
|
|
21594
21608
|
}
|
|
21595
21609
|
function keyBuilderFromType$w(luvio, object) {
|
|
21596
21610
|
const keyParams = {
|
|
@@ -21679,7 +21693,7 @@
|
|
|
21679
21693
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
21680
21694
|
const rootKey = keyBuilderFromType$w(luvio, input);
|
|
21681
21695
|
rootKeySet.set(rootKey, {
|
|
21682
|
-
namespace: keyPrefix$
|
|
21696
|
+
namespace: keyPrefix$2,
|
|
21683
21697
|
representationName: RepresentationType$M,
|
|
21684
21698
|
mergeable: false
|
|
21685
21699
|
});
|
|
@@ -21884,8 +21898,8 @@
|
|
|
21884
21898
|
*/
|
|
21885
21899
|
function addServerDefaults(config, records, listReference, context) {
|
|
21886
21900
|
// If the request already contains the potential default information,
|
|
21887
|
-
// or the response does not come back with a default
|
|
21888
|
-
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) {
|
|
21889
21903
|
return;
|
|
21890
21904
|
}
|
|
21891
21905
|
const key = buildDefaultsKey(listReference);
|
|
@@ -22043,11 +22057,14 @@
|
|
|
22043
22057
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
22044
22058
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
22045
22059
|
const defaults = getServerDefaults(config, context$2);
|
|
22060
|
+
// Use default values when sortBy is undefined or an empty Array []
|
|
22046
22061
|
return keyBuilder$1R(luvio, {
|
|
22047
22062
|
objectApiName: listReference.objectApiName,
|
|
22048
22063
|
listViewApiName: listReference.listViewApiName,
|
|
22049
22064
|
listViewId: listReference.id,
|
|
22050
|
-
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 || [],
|
|
22051
22068
|
});
|
|
22052
22069
|
}
|
|
22053
22070
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
@@ -22118,7 +22135,7 @@
|
|
|
22118
22135
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
22119
22136
|
const storeMetadataParams = {
|
|
22120
22137
|
ttl: TTL$v,
|
|
22121
|
-
namespace: keyPrefix$
|
|
22138
|
+
namespace: keyPrefix$2,
|
|
22122
22139
|
version: VERSION$18$1,
|
|
22123
22140
|
representationName: RepresentationType$N
|
|
22124
22141
|
};
|
|
@@ -22195,7 +22212,7 @@
|
|
|
22195
22212
|
const VERSION$16$1 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
22196
22213
|
const RepresentationType$L = 'ListViewSummaryRepresentation';
|
|
22197
22214
|
function keyBuilder$1O(luvio, config) {
|
|
22198
|
-
return keyPrefix$
|
|
22215
|
+
return keyPrefix$2 + '::' + RepresentationType$L + ':' + (config.id === null ? '' : config.id);
|
|
22199
22216
|
}
|
|
22200
22217
|
function keyBuilderFromType$v(luvio, object) {
|
|
22201
22218
|
const keyParams = {
|
|
@@ -22264,7 +22281,7 @@
|
|
|
22264
22281
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22265
22282
|
const rootKey = keyBuilderFromType$v(luvio, input);
|
|
22266
22283
|
rootKeySet.set(rootKey, {
|
|
22267
|
-
namespace: keyPrefix$
|
|
22284
|
+
namespace: keyPrefix$2,
|
|
22268
22285
|
representationName: RepresentationType$L,
|
|
22269
22286
|
mergeable: false
|
|
22270
22287
|
});
|
|
@@ -22273,7 +22290,7 @@
|
|
|
22273
22290
|
const VERSION$15$1 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
22274
22291
|
const RepresentationType$K = 'ListViewSummaryCollectionRepresentation';
|
|
22275
22292
|
function keyBuilder$1N(luvio, config) {
|
|
22276
|
-
return keyPrefix$
|
|
22293
|
+
return keyPrefix$2 + '::' + RepresentationType$K + ':' + config.objectApiName + ':' + (config.queryString === null ? '' : config.queryString) + ':' + config.recentListsOnly;
|
|
22277
22294
|
}
|
|
22278
22295
|
function keyBuilderFromType$u(luvio, object) {
|
|
22279
22296
|
const keyParams = {
|
|
@@ -22535,12 +22552,12 @@
|
|
|
22535
22552
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
22536
22553
|
const rootKey = keyBuilderFromType$u(luvio, input);
|
|
22537
22554
|
rootKeySet.set(rootKey, {
|
|
22538
|
-
namespace: keyPrefix$
|
|
22555
|
+
namespace: keyPrefix$2,
|
|
22539
22556
|
representationName: RepresentationType$K,
|
|
22540
22557
|
mergeable: true
|
|
22541
22558
|
});
|
|
22542
22559
|
rootKeySet.set(rootKey + '__pagination', {
|
|
22543
|
-
namespace: keyPrefix$
|
|
22560
|
+
namespace: keyPrefix$2,
|
|
22544
22561
|
representationName: RepresentationType$K,
|
|
22545
22562
|
mergeable: true
|
|
22546
22563
|
});
|
|
@@ -23152,7 +23169,7 @@
|
|
|
23152
23169
|
: processListInfo(listInfoPromiseOrSnapshot);
|
|
23153
23170
|
};
|
|
23154
23171
|
|
|
23155
|
-
const contextId$6 = `${keyPrefix$
|
|
23172
|
+
const contextId$6 = `${keyPrefix$2}__getListUi`;
|
|
23156
23173
|
// eslint-disable-next-line @salesforce/lds/no-invalid-todo
|
|
23157
23174
|
// TODO RAML - this more properly goes in the generated resource files
|
|
23158
23175
|
const DEFAULT_PAGE_SIZE = 50;
|
|
@@ -23588,7 +23605,7 @@
|
|
|
23588
23605
|
const VERSION$14$1 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
23589
23606
|
const RepresentationType$J = 'ObjectInfoRepresentation';
|
|
23590
23607
|
function keyBuilder$1J(luvio, config) {
|
|
23591
|
-
return keyPrefix$
|
|
23608
|
+
return keyPrefix$2 + '::' + RepresentationType$J + ':' + config.apiName;
|
|
23592
23609
|
}
|
|
23593
23610
|
function keyBuilderFromType$t(luvio, object) {
|
|
23594
23611
|
const keyParams = {
|
|
@@ -23720,7 +23737,7 @@
|
|
|
23720
23737
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23721
23738
|
const rootKey = keyBuilderFromType$t(luvio, input);
|
|
23722
23739
|
rootKeySet.set(rootKey, {
|
|
23723
|
-
namespace: keyPrefix$
|
|
23740
|
+
namespace: keyPrefix$2,
|
|
23724
23741
|
representationName: RepresentationType$J,
|
|
23725
23742
|
mergeable: false
|
|
23726
23743
|
});
|
|
@@ -23754,7 +23771,7 @@
|
|
|
23754
23771
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
23755
23772
|
const storeMetadataParams = {
|
|
23756
23773
|
ttl: TTL$u,
|
|
23757
|
-
namespace: keyPrefix$
|
|
23774
|
+
namespace: keyPrefix$2,
|
|
23758
23775
|
version: VERSION$14$1,
|
|
23759
23776
|
representationName: RepresentationType$J
|
|
23760
23777
|
};
|
|
@@ -23873,7 +23890,7 @@
|
|
|
23873
23890
|
const VERSION$13$1 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
23874
23891
|
const RepresentationType$I = 'RecordLayoutRepresentation';
|
|
23875
23892
|
function keyBuilder$1G(luvio, config) {
|
|
23876
|
-
return keyPrefix$
|
|
23893
|
+
return keyPrefix$2 + '::' + RepresentationType$I + ':' + (config.recordTypeId === null ? '' : config.recordTypeId) + ':' + (config.objectApiName === null ? '' : config.objectApiName) + ':' + config.layoutType + ':' + config.mode;
|
|
23877
23894
|
}
|
|
23878
23895
|
function keyBuilderFromType$s(luvio, object) {
|
|
23879
23896
|
const keyParams = {
|
|
@@ -23944,7 +23961,7 @@
|
|
|
23944
23961
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
23945
23962
|
const rootKey = keyBuilderFromType$s(luvio, input);
|
|
23946
23963
|
rootKeySet.set(rootKey, {
|
|
23947
|
-
namespace: keyPrefix$
|
|
23964
|
+
namespace: keyPrefix$2,
|
|
23948
23965
|
representationName: RepresentationType$I,
|
|
23949
23966
|
mergeable: false
|
|
23950
23967
|
});
|
|
@@ -23976,7 +23993,7 @@
|
|
|
23976
23993
|
const VERSION$12$1 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
23977
23994
|
const RepresentationType$H = 'RecordLayoutUserStateRepresentation';
|
|
23978
23995
|
function keyBuilder$1F(luvio, config) {
|
|
23979
|
-
return keyPrefix$
|
|
23996
|
+
return keyPrefix$2 + '::' + RepresentationType$H + ':' + config.recordTypeId + ':' + config.apiName + ':' + config.layoutType + ':' + config.mode;
|
|
23980
23997
|
}
|
|
23981
23998
|
function keyBuilderFromType$r(luvio, object) {
|
|
23982
23999
|
const keyParams = {
|
|
@@ -24029,7 +24046,7 @@
|
|
|
24029
24046
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
24030
24047
|
const rootKey = keyBuilderFromType$r(luvio, input);
|
|
24031
24048
|
rootKeySet.set(rootKey, {
|
|
24032
|
-
namespace: keyPrefix$
|
|
24049
|
+
namespace: keyPrefix$2,
|
|
24033
24050
|
representationName: RepresentationType$H,
|
|
24034
24051
|
mergeable: false
|
|
24035
24052
|
});
|
|
@@ -24456,7 +24473,7 @@
|
|
|
24456
24473
|
const RECORD_UI_ERROR_STORE_METADATA_PARAMS = {
|
|
24457
24474
|
ttl: TTL$r,
|
|
24458
24475
|
representationName: '',
|
|
24459
|
-
namespace: keyPrefix$
|
|
24476
|
+
namespace: keyPrefix$2,
|
|
24460
24477
|
version: RECORD_UI_ERROR_STORE_METADATA_PARAMS_VERSION,
|
|
24461
24478
|
};
|
|
24462
24479
|
const RECORD_UI_CACHED_SELECTOR_VERSION = 'RECORD_UI_CACHED_SELECTOR_VERSION_1';
|
|
@@ -24505,7 +24522,7 @@
|
|
|
24505
24522
|
const joinedOptionalFields = optionalFields.sort().join(',');
|
|
24506
24523
|
const joinedLayoutTypes = layoutTypes.sort().join(',');
|
|
24507
24524
|
const joinedModes = modes.sort().join(',');
|
|
24508
|
-
return `${keyPrefix$
|
|
24525
|
+
return `${keyPrefix$2}::RecordUiRepresentation:${joinedRecordIds}:${joinedLayoutTypes}:${joinedModes}:${joinedOptionalFields}`;
|
|
24509
24526
|
}
|
|
24510
24527
|
function buildSnapshotRefresh$4(luvio, config) {
|
|
24511
24528
|
return {
|
|
@@ -25192,7 +25209,7 @@
|
|
|
25192
25209
|
}
|
|
25193
25210
|
}
|
|
25194
25211
|
|
|
25195
|
-
const contextId$5 = `${keyPrefix$
|
|
25212
|
+
const contextId$5 = `${keyPrefix$2}__${adapterName$X}`;
|
|
25196
25213
|
// Custom adapter config due to `unsupported` items
|
|
25197
25214
|
const GET_RECORD_ADAPTER_CONFIG = {
|
|
25198
25215
|
displayName: 'getRecord',
|
|
@@ -25318,7 +25335,7 @@
|
|
|
25318
25335
|
const VERSION$10$1 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
25319
25336
|
const RepresentationType$F = 'QuickActionExecutionRepresentation';
|
|
25320
25337
|
function keyBuilder$1D(luvio, config) {
|
|
25321
|
-
return keyPrefix$
|
|
25338
|
+
return keyPrefix$2 + '::' + RepresentationType$F + ':' + config.id;
|
|
25322
25339
|
}
|
|
25323
25340
|
function keyBuilderFromType$q(luvio, object) {
|
|
25324
25341
|
const keyParams = {
|
|
@@ -25412,7 +25429,7 @@
|
|
|
25412
25429
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25413
25430
|
const rootKey = keyBuilderFromType$q(luvio, input);
|
|
25414
25431
|
rootKeySet.set(rootKey, {
|
|
25415
|
-
namespace: keyPrefix$
|
|
25432
|
+
namespace: keyPrefix$2,
|
|
25416
25433
|
representationName: RepresentationType$F,
|
|
25417
25434
|
mergeable: false
|
|
25418
25435
|
});
|
|
@@ -25422,7 +25439,7 @@
|
|
|
25422
25439
|
const VERSION$$$1 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
25423
25440
|
const RepresentationType$E = 'QuickActionDefaultsRepresentation';
|
|
25424
25441
|
function keyBuilder$1C(luvio, config) {
|
|
25425
|
-
return keyPrefix$
|
|
25442
|
+
return keyPrefix$2 + '::' + RepresentationType$E + ':' + config.actionApiName;
|
|
25426
25443
|
}
|
|
25427
25444
|
function keyBuilderFromType$p(luvio, object) {
|
|
25428
25445
|
const keyParams = {
|
|
@@ -25512,7 +25529,7 @@
|
|
|
25512
25529
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25513
25530
|
const rootKey = keyBuilderFromType$p(luvio, input);
|
|
25514
25531
|
rootKeySet.set(rootKey, {
|
|
25515
|
-
namespace: keyPrefix$
|
|
25532
|
+
namespace: keyPrefix$2,
|
|
25516
25533
|
representationName: RepresentationType$E,
|
|
25517
25534
|
mergeable: false
|
|
25518
25535
|
});
|
|
@@ -25556,7 +25573,7 @@
|
|
|
25556
25573
|
const VERSION$_$1 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
25557
25574
|
const RepresentationType$D = 'PlatformActionRepresentation';
|
|
25558
25575
|
function keyBuilder$1B(luvio, config) {
|
|
25559
|
-
return keyPrefix$
|
|
25576
|
+
return keyPrefix$2 + '::' + RepresentationType$D + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
25560
25577
|
}
|
|
25561
25578
|
function keyBuilderFromType$o(luvio, object) {
|
|
25562
25579
|
const keyParams = {
|
|
@@ -25760,7 +25777,7 @@
|
|
|
25760
25777
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25761
25778
|
const rootKey = keyBuilderFromType$o(luvio, input);
|
|
25762
25779
|
rootKeySet.set(rootKey, {
|
|
25763
|
-
namespace: keyPrefix$
|
|
25780
|
+
namespace: keyPrefix$2,
|
|
25764
25781
|
representationName: RepresentationType$D,
|
|
25765
25782
|
mergeable: false
|
|
25766
25783
|
});
|
|
@@ -25769,7 +25786,7 @@
|
|
|
25769
25786
|
const VERSION$Z$1 = "378d506f563a4bd724b322d440df33d1";
|
|
25770
25787
|
const RepresentationType$C = 'EntityActionRepresentation';
|
|
25771
25788
|
function keyBuilder$1A(luvio, config) {
|
|
25772
|
-
return keyPrefix$
|
|
25789
|
+
return keyPrefix$2 + '::' + RepresentationType$C + ':' + config.url;
|
|
25773
25790
|
}
|
|
25774
25791
|
function keyBuilderFromType$n(luvio, object) {
|
|
25775
25792
|
const keyParams = {
|
|
@@ -25852,7 +25869,7 @@
|
|
|
25852
25869
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25853
25870
|
const rootKey = keyBuilderFromType$n(luvio, input);
|
|
25854
25871
|
rootKeySet.set(rootKey, {
|
|
25855
|
-
namespace: keyPrefix$
|
|
25872
|
+
namespace: keyPrefix$2,
|
|
25856
25873
|
representationName: RepresentationType$C,
|
|
25857
25874
|
mergeable: false
|
|
25858
25875
|
});
|
|
@@ -25938,7 +25955,7 @@
|
|
|
25938
25955
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
25939
25956
|
const rootKey = fullPathFactory();
|
|
25940
25957
|
rootKeySet.set(rootKey, {
|
|
25941
|
-
namespace: keyPrefix$
|
|
25958
|
+
namespace: keyPrefix$2,
|
|
25942
25959
|
representationName: RepresentationType$B,
|
|
25943
25960
|
mergeable: false
|
|
25944
25961
|
});
|
|
@@ -25955,7 +25972,7 @@
|
|
|
25955
25972
|
return select$1v();
|
|
25956
25973
|
}
|
|
25957
25974
|
function keyBuilder$1z(luvio, params) {
|
|
25958
|
-
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 + ')';
|
|
25959
25976
|
}
|
|
25960
25977
|
function getResponseCacheKeys$Q(storeKeyMap, luvio, resourceParams, response) {
|
|
25961
25978
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1z(luvio, resourceParams));
|
|
@@ -25977,7 +25994,7 @@
|
|
|
25977
25994
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
25978
25995
|
const storeMetadataParams = {
|
|
25979
25996
|
ttl: TTL$p,
|
|
25980
|
-
namespace: keyPrefix$
|
|
25997
|
+
namespace: keyPrefix$2,
|
|
25981
25998
|
version: VERSION$Y$1,
|
|
25982
25999
|
representationName: RepresentationType$B
|
|
25983
26000
|
};
|
|
@@ -26090,7 +26107,7 @@
|
|
|
26090
26107
|
const VERSION$X$1 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
26091
26108
|
const RepresentationType$A = 'QuickActionLayoutRepresentation';
|
|
26092
26109
|
function keyBuilder$1x(luvio, config) {
|
|
26093
|
-
return keyPrefix$
|
|
26110
|
+
return keyPrefix$2 + '::' + RepresentationType$A + ':' + config.actionApiName;
|
|
26094
26111
|
}
|
|
26095
26112
|
function keyBuilderFromType$m(luvio, object) {
|
|
26096
26113
|
const keyParams = {
|
|
@@ -26137,7 +26154,7 @@
|
|
|
26137
26154
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26138
26155
|
const rootKey = keyBuilderFromType$m(luvio, input);
|
|
26139
26156
|
rootKeySet.set(rootKey, {
|
|
26140
|
-
namespace: keyPrefix$
|
|
26157
|
+
namespace: keyPrefix$2,
|
|
26141
26158
|
representationName: RepresentationType$A,
|
|
26142
26159
|
mergeable: false
|
|
26143
26160
|
});
|
|
@@ -26171,7 +26188,7 @@
|
|
|
26171
26188
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26172
26189
|
const storeMetadataParams = {
|
|
26173
26190
|
ttl: TTL$o,
|
|
26174
|
-
namespace: keyPrefix$
|
|
26191
|
+
namespace: keyPrefix$2,
|
|
26175
26192
|
version: VERSION$X$1,
|
|
26176
26193
|
representationName: RepresentationType$A
|
|
26177
26194
|
};
|
|
@@ -26311,7 +26328,7 @@
|
|
|
26311
26328
|
return select$1v();
|
|
26312
26329
|
}
|
|
26313
26330
|
function keyBuilder$1u(luvio, params) {
|
|
26314
|
-
return keyPrefix$
|
|
26331
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
26315
26332
|
}
|
|
26316
26333
|
function getResponseCacheKeys$O(storeKeyMap, luvio, resourceParams, response) {
|
|
26317
26334
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1u(luvio, resourceParams));
|
|
@@ -26333,7 +26350,7 @@
|
|
|
26333
26350
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26334
26351
|
const storeMetadataParams = {
|
|
26335
26352
|
ttl: TTL$p,
|
|
26336
|
-
namespace: keyPrefix$
|
|
26353
|
+
namespace: keyPrefix$2,
|
|
26337
26354
|
version: VERSION$Y$1,
|
|
26338
26355
|
representationName: RepresentationType$B
|
|
26339
26356
|
};
|
|
@@ -26445,7 +26462,7 @@
|
|
|
26445
26462
|
return select$1v();
|
|
26446
26463
|
}
|
|
26447
26464
|
function keyBuilder$1s(luvio, params) {
|
|
26448
|
-
return keyPrefix$
|
|
26465
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26449
26466
|
}
|
|
26450
26467
|
function getResponseCacheKeys$N(storeKeyMap, luvio, resourceParams, response) {
|
|
26451
26468
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1s(luvio, resourceParams));
|
|
@@ -26467,7 +26484,7 @@
|
|
|
26467
26484
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26468
26485
|
const storeMetadataParams = {
|
|
26469
26486
|
ttl: TTL$p,
|
|
26470
|
-
namespace: keyPrefix$
|
|
26487
|
+
namespace: keyPrefix$2,
|
|
26471
26488
|
version: VERSION$Y$1,
|
|
26472
26489
|
representationName: RepresentationType$B
|
|
26473
26490
|
};
|
|
@@ -26604,7 +26621,7 @@
|
|
|
26604
26621
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
26605
26622
|
const rootKey = fullPathFactory();
|
|
26606
26623
|
rootKeySet.set(rootKey, {
|
|
26607
|
-
namespace: keyPrefix$
|
|
26624
|
+
namespace: keyPrefix$2,
|
|
26608
26625
|
representationName: RepresentationType$z,
|
|
26609
26626
|
mergeable: false
|
|
26610
26627
|
});
|
|
@@ -26614,7 +26631,7 @@
|
|
|
26614
26631
|
return select$1p();
|
|
26615
26632
|
}
|
|
26616
26633
|
function keyBuilder$1q(luvio, params) {
|
|
26617
|
-
return keyPrefix$
|
|
26634
|
+
return keyPrefix$2 + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
26618
26635
|
}
|
|
26619
26636
|
function getResponseCacheKeys$M(storeKeyMap, luvio, resourceParams, response) {
|
|
26620
26637
|
getTypeCacheKeys$A$1(storeKeyMap, luvio, response, () => keyBuilder$1q(luvio, resourceParams));
|
|
@@ -26738,7 +26755,7 @@
|
|
|
26738
26755
|
|
|
26739
26756
|
const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
26740
26757
|
ttl: TTL$q,
|
|
26741
|
-
namespace: keyPrefix$
|
|
26758
|
+
namespace: keyPrefix$2,
|
|
26742
26759
|
representationName: RepresentationType$E,
|
|
26743
26760
|
version: VERSION$$$1,
|
|
26744
26761
|
};
|
|
@@ -26829,7 +26846,7 @@
|
|
|
26829
26846
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26830
26847
|
const storeMetadataParams = {
|
|
26831
26848
|
ttl: TTL$q,
|
|
26832
|
-
namespace: keyPrefix$
|
|
26849
|
+
namespace: keyPrefix$2,
|
|
26833
26850
|
version: VERSION$$$1,
|
|
26834
26851
|
representationName: RepresentationType$E
|
|
26835
26852
|
};
|
|
@@ -26963,7 +26980,7 @@
|
|
|
26963
26980
|
return select$1v();
|
|
26964
26981
|
}
|
|
26965
26982
|
function keyBuilder$1m(luvio, params) {
|
|
26966
|
-
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 + ')';
|
|
26967
26984
|
}
|
|
26968
26985
|
function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
26969
26986
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1m(luvio, resourceParams));
|
|
@@ -26985,7 +27002,7 @@
|
|
|
26985
27002
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
26986
27003
|
const storeMetadataParams = {
|
|
26987
27004
|
ttl: TTL$p,
|
|
26988
|
-
namespace: keyPrefix$
|
|
27005
|
+
namespace: keyPrefix$2,
|
|
26989
27006
|
version: VERSION$Y$1,
|
|
26990
27007
|
representationName: RepresentationType$B
|
|
26991
27008
|
};
|
|
@@ -27103,7 +27120,7 @@
|
|
|
27103
27120
|
return select$1v();
|
|
27104
27121
|
}
|
|
27105
27122
|
function keyBuilder$1k(luvio, params) {
|
|
27106
|
-
return keyPrefix$
|
|
27123
|
+
return keyPrefix$2 + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
27107
27124
|
}
|
|
27108
27125
|
function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
|
|
27109
27126
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1k(luvio, resourceParams));
|
|
@@ -27125,7 +27142,7 @@
|
|
|
27125
27142
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27126
27143
|
const storeMetadataParams = {
|
|
27127
27144
|
ttl: TTL$p,
|
|
27128
|
-
namespace: keyPrefix$
|
|
27145
|
+
namespace: keyPrefix$2,
|
|
27129
27146
|
version: VERSION$Y$1,
|
|
27130
27147
|
representationName: RepresentationType$B
|
|
27131
27148
|
};
|
|
@@ -27233,7 +27250,7 @@
|
|
|
27233
27250
|
buildCachedSnapshotCachePolicy$B, buildNetworkSnapshotCachePolicy$B);
|
|
27234
27251
|
};
|
|
27235
27252
|
|
|
27236
|
-
function validate$
|
|
27253
|
+
function validate$1a(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
27237
27254
|
const v_error = (() => {
|
|
27238
27255
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
27239
27256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27307,7 +27324,7 @@
|
|
|
27307
27324
|
return select$1v();
|
|
27308
27325
|
}
|
|
27309
27326
|
function keyBuilder$1i(luvio, params) {
|
|
27310
|
-
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) + ')';
|
|
27311
27328
|
}
|
|
27312
27329
|
function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
27313
27330
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1i(luvio, resourceParams));
|
|
@@ -27329,7 +27346,7 @@
|
|
|
27329
27346
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27330
27347
|
const storeMetadataParams = {
|
|
27331
27348
|
ttl: TTL$p,
|
|
27332
|
-
namespace: keyPrefix$
|
|
27349
|
+
namespace: keyPrefix$2,
|
|
27333
27350
|
version: VERSION$Y$1,
|
|
27334
27351
|
representationName: RepresentationType$B
|
|
27335
27352
|
};
|
|
@@ -27496,7 +27513,7 @@
|
|
|
27496
27513
|
return selectChildResourceParams$6(luvio, childResources, resourceParams);
|
|
27497
27514
|
}
|
|
27498
27515
|
function keyBuilder$1h(luvio, params) {
|
|
27499
|
-
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(',') + ']' + ')';
|
|
27500
27517
|
}
|
|
27501
27518
|
function getResponseCacheKeys$H(keys, luvio, resourceParams, response) {
|
|
27502
27519
|
const childEnvelopes = response.results;
|
|
@@ -27512,7 +27529,7 @@
|
|
|
27512
27529
|
else if (childStatusCode === 404) {
|
|
27513
27530
|
const childKey = keyBuilder$1i(luvio, childResourceParams);
|
|
27514
27531
|
keys.set(childKey, {
|
|
27515
|
-
namespace: keyPrefix$
|
|
27532
|
+
namespace: keyPrefix$2,
|
|
27516
27533
|
representationName: RepresentationType$B,
|
|
27517
27534
|
mergeable: false
|
|
27518
27535
|
});
|
|
@@ -27644,7 +27661,7 @@
|
|
|
27644
27661
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
27645
27662
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
27646
27663
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
27647
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
27664
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1a(untrustedConfig_relatedListsActionParameters_item);
|
|
27648
27665
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
27649
27666
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
27650
27667
|
}
|
|
@@ -27816,7 +27833,7 @@
|
|
|
27816
27833
|
return select$1v();
|
|
27817
27834
|
}
|
|
27818
27835
|
function keyBuilder$1e(luvio, params) {
|
|
27819
|
-
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 + ')';
|
|
27820
27837
|
}
|
|
27821
27838
|
function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
27822
27839
|
getTypeCacheKeys$C$1(storeKeyMap, luvio, response, () => keyBuilder$1e(luvio, resourceParams));
|
|
@@ -27838,7 +27855,7 @@
|
|
|
27838
27855
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
27839
27856
|
const storeMetadataParams = {
|
|
27840
27857
|
ttl: TTL$p,
|
|
27841
|
-
namespace: keyPrefix$
|
|
27858
|
+
namespace: keyPrefix$2,
|
|
27842
27859
|
version: VERSION$Y$1,
|
|
27843
27860
|
representationName: RepresentationType$B
|
|
27844
27861
|
};
|
|
@@ -27976,7 +27993,7 @@
|
|
|
27976
27993
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
27977
27994
|
const rootKey = fullPathFactory();
|
|
27978
27995
|
rootKeySet.set(rootKey, {
|
|
27979
|
-
namespace: keyPrefix$
|
|
27996
|
+
namespace: keyPrefix$2,
|
|
27980
27997
|
representationName: RepresentationType$y,
|
|
27981
27998
|
mergeable: false
|
|
27982
27999
|
});
|
|
@@ -27986,7 +28003,7 @@
|
|
|
27986
28003
|
const VERSION$U$1 = "09884ca5bf90ea4662092a4e48817081";
|
|
27987
28004
|
const RepresentationType$x = 'NavItemRepresentation';
|
|
27988
28005
|
function keyBuilder$1c(luvio, config) {
|
|
27989
|
-
return keyPrefix$
|
|
28006
|
+
return keyPrefix$2 + '::' + RepresentationType$x + ':' + config.developerName;
|
|
27990
28007
|
}
|
|
27991
28008
|
function keyBuilderFromType$l(luvio, object) {
|
|
27992
28009
|
const keyParams = {
|
|
@@ -28175,7 +28192,7 @@
|
|
|
28175
28192
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28176
28193
|
const rootKey = keyBuilderFromType$l(luvio, input);
|
|
28177
28194
|
rootKeySet.set(rootKey, {
|
|
28178
|
-
namespace: keyPrefix$
|
|
28195
|
+
namespace: keyPrefix$2,
|
|
28179
28196
|
representationName: RepresentationType$x,
|
|
28180
28197
|
mergeable: false
|
|
28181
28198
|
});
|
|
@@ -28188,7 +28205,7 @@
|
|
|
28188
28205
|
const VERSION$T$1 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
28189
28206
|
const RepresentationType$w = 'AppRepresentation';
|
|
28190
28207
|
function keyBuilder$1b(luvio, config) {
|
|
28191
|
-
return keyPrefix$
|
|
28208
|
+
return keyPrefix$2 + '::' + RepresentationType$w + ':' + (config.appId === null ? '' : config.appId);
|
|
28192
28209
|
}
|
|
28193
28210
|
function keyBuilderFromType$k(luvio, object) {
|
|
28194
28211
|
const keyParams = {
|
|
@@ -28433,7 +28450,7 @@
|
|
|
28433
28450
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28434
28451
|
const rootKey = keyBuilderFromType$k(luvio, input);
|
|
28435
28452
|
rootKeySet.set(rootKey, {
|
|
28436
|
-
namespace: keyPrefix$
|
|
28453
|
+
namespace: keyPrefix$2,
|
|
28437
28454
|
representationName: RepresentationType$w,
|
|
28438
28455
|
mergeable: false
|
|
28439
28456
|
});
|
|
@@ -28514,7 +28531,7 @@
|
|
|
28514
28531
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28515
28532
|
const rootKey = fullPathFactory();
|
|
28516
28533
|
rootKeySet.set(rootKey, {
|
|
28517
|
-
namespace: keyPrefix$
|
|
28534
|
+
namespace: keyPrefix$2,
|
|
28518
28535
|
representationName: RepresentationType$v,
|
|
28519
28536
|
mergeable: false
|
|
28520
28537
|
});
|
|
@@ -28528,7 +28545,7 @@
|
|
|
28528
28545
|
return select$1f();
|
|
28529
28546
|
}
|
|
28530
28547
|
function keyBuilder$1a(luvio, params) {
|
|
28531
|
-
return keyPrefix$
|
|
28548
|
+
return keyPrefix$2 + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
28532
28549
|
}
|
|
28533
28550
|
function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
|
|
28534
28551
|
getTypeCacheKeys$w$1(storeKeyMap, luvio, response, () => keyBuilder$1a(luvio, resourceParams));
|
|
@@ -28550,7 +28567,7 @@
|
|
|
28550
28567
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28551
28568
|
const storeMetadataParams = {
|
|
28552
28569
|
ttl: TTL$l,
|
|
28553
|
-
namespace: keyPrefix$
|
|
28570
|
+
namespace: keyPrefix$2,
|
|
28554
28571
|
version: VERSION$S$1,
|
|
28555
28572
|
representationName: RepresentationType$v
|
|
28556
28573
|
};
|
|
@@ -28684,7 +28701,7 @@
|
|
|
28684
28701
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
28685
28702
|
const storeMetadataParams = {
|
|
28686
28703
|
ttl: TTL$m,
|
|
28687
|
-
namespace: keyPrefix$
|
|
28704
|
+
namespace: keyPrefix$2,
|
|
28688
28705
|
version: VERSION$T$1,
|
|
28689
28706
|
representationName: RepresentationType$w
|
|
28690
28707
|
};
|
|
@@ -28988,7 +29005,7 @@
|
|
|
28988
29005
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
28989
29006
|
const rootKey = fullPathFactory();
|
|
28990
29007
|
rootKeySet.set(rootKey, {
|
|
28991
|
-
namespace: keyPrefix$
|
|
29008
|
+
namespace: keyPrefix$2,
|
|
28992
29009
|
representationName: RepresentationType$u,
|
|
28993
29010
|
mergeable: false
|
|
28994
29011
|
});
|
|
@@ -28998,7 +29015,7 @@
|
|
|
28998
29015
|
return select$18$1();
|
|
28999
29016
|
}
|
|
29000
29017
|
function keyBuilder$16$1(luvio, params) {
|
|
29001
|
-
return keyPrefix$
|
|
29018
|
+
return keyPrefix$2 + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
29002
29019
|
}
|
|
29003
29020
|
function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
|
|
29004
29021
|
getTypeCacheKeys$v$1(storeKeyMap, luvio, response, () => keyBuilder$16$1(luvio, resourceParams));
|
|
@@ -29020,7 +29037,7 @@
|
|
|
29020
29037
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29021
29038
|
const storeMetadataParams = {
|
|
29022
29039
|
ttl: TTL$k,
|
|
29023
|
-
namespace: keyPrefix$
|
|
29040
|
+
namespace: keyPrefix$2,
|
|
29024
29041
|
version: VERSION$N$1,
|
|
29025
29042
|
representationName: RepresentationType$u
|
|
29026
29043
|
};
|
|
@@ -29146,7 +29163,7 @@
|
|
|
29146
29163
|
}
|
|
29147
29164
|
|
|
29148
29165
|
function keyBuilder$14$1(luvio, params) {
|
|
29149
|
-
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 + ')';
|
|
29150
29167
|
}
|
|
29151
29168
|
function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
29152
29169
|
getTypeCacheKeys$I$1(storeKeyMap, luvio, response);
|
|
@@ -29156,7 +29173,7 @@
|
|
|
29156
29173
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29157
29174
|
const storeMetadataParams = {
|
|
29158
29175
|
ttl: TTL$t,
|
|
29159
|
-
namespace: keyPrefix$
|
|
29176
|
+
namespace: keyPrefix$2,
|
|
29160
29177
|
version: VERSION$13$1,
|
|
29161
29178
|
representationName: RepresentationType$I
|
|
29162
29179
|
};
|
|
@@ -29519,7 +29536,7 @@
|
|
|
29519
29536
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
29520
29537
|
const storeMetadataParams = {
|
|
29521
29538
|
ttl: TTL$y,
|
|
29522
|
-
namespace: keyPrefix$
|
|
29539
|
+
namespace: keyPrefix$2,
|
|
29523
29540
|
version: VERSION$1e,
|
|
29524
29541
|
representationName: RepresentationType$R
|
|
29525
29542
|
};
|
|
@@ -29670,7 +29687,7 @@
|
|
|
29670
29687
|
return selectChildResourceParams$5(luvio, childResources, resourceParams);
|
|
29671
29688
|
}
|
|
29672
29689
|
function keyBuilder$12$1(luvio, params) {
|
|
29673
|
-
return keyPrefix$
|
|
29690
|
+
return keyPrefix$2 + '::ListInfoBatchRepresentation:(' + 'ids:' + params.queryParams.ids + ',' + 'names:' + params.queryParams.names + ')';
|
|
29674
29691
|
}
|
|
29675
29692
|
function getResponseCacheKeys$z(keys, luvio, resourceParams, response) {
|
|
29676
29693
|
const childEnvelopes = response.results;
|
|
@@ -29686,7 +29703,7 @@
|
|
|
29686
29703
|
else if (childStatusCode === 404) {
|
|
29687
29704
|
const childKey = keyBuilder$13$1(luvio, childResourceParams);
|
|
29688
29705
|
keys.set(childKey, {
|
|
29689
|
-
namespace: keyPrefix$
|
|
29706
|
+
namespace: keyPrefix$2,
|
|
29690
29707
|
representationName: RepresentationType$R,
|
|
29691
29708
|
mergeable: false
|
|
29692
29709
|
});
|
|
@@ -29883,7 +29900,7 @@
|
|
|
29883
29900
|
buildCachedSnapshotCachePolicy$s, buildNetworkSnapshotCachePolicy$s);
|
|
29884
29901
|
};
|
|
29885
29902
|
|
|
29886
|
-
function validate
|
|
29903
|
+
function validate$10(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
29887
29904
|
const v_error = (() => {
|
|
29888
29905
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29889
29906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29914,7 +29931,7 @@
|
|
|
29914
29931
|
return v_error === undefined ? null : v_error;
|
|
29915
29932
|
}
|
|
29916
29933
|
|
|
29917
|
-
function validate
|
|
29934
|
+
function validate$$(obj, path = 'ListScopeInputRepresentation') {
|
|
29918
29935
|
const v_error = (() => {
|
|
29919
29936
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
29920
29937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29924,57 +29941,61 @@
|
|
|
29924
29941
|
if (typeof obj_apiName !== 'string') {
|
|
29925
29942
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
29926
29943
|
}
|
|
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
|
-
|
|
29975
|
-
|
|
29976
|
-
|
|
29977
|
-
|
|
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
|
+
}
|
|
29978
29999
|
}
|
|
29979
30000
|
})();
|
|
29980
30001
|
return v_error === undefined ? null : v_error;
|
|
@@ -30034,7 +30055,7 @@
|
|
|
30034
30055
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30035
30056
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30036
30057
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30037
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30058
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30038
30059
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30039
30060
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30040
30061
|
}
|
|
@@ -30042,7 +30063,7 @@
|
|
|
30042
30063
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30043
30064
|
}
|
|
30044
30065
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30045
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30066
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30046
30067
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30047
30068
|
config.scope = untrustedConfig_scope;
|
|
30048
30069
|
}
|
|
@@ -30226,7 +30247,7 @@
|
|
|
30226
30247
|
const untrustedConfig_filteredByInfo_array = [];
|
|
30227
30248
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
30228
30249
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
30229
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate
|
|
30250
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$10(untrustedConfig_filteredByInfo_item);
|
|
30230
30251
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
30231
30252
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
30232
30253
|
}
|
|
@@ -30234,7 +30255,7 @@
|
|
|
30234
30255
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
30235
30256
|
}
|
|
30236
30257
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
30237
|
-
const referenceListScopeInputRepresentationValidationError = validate
|
|
30258
|
+
const referenceListScopeInputRepresentationValidationError = validate$$(untrustedConfig_scope);
|
|
30238
30259
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
30239
30260
|
config.scope = untrustedConfig_scope;
|
|
30240
30261
|
}
|
|
@@ -30515,7 +30536,7 @@
|
|
|
30515
30536
|
const VERSION$I$1 = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
30516
30537
|
const RepresentationType$t = 'ListObjectInfoRepresentation';
|
|
30517
30538
|
function keyBuilder$$$1(luvio, config) {
|
|
30518
|
-
return keyPrefix$
|
|
30539
|
+
return keyPrefix$2 + '::' + RepresentationType$t + ':' + config.objectApiName;
|
|
30519
30540
|
}
|
|
30520
30541
|
function keyBuilderFromType$j(luvio, object) {
|
|
30521
30542
|
const keyParams = {
|
|
@@ -30609,7 +30630,7 @@
|
|
|
30609
30630
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30610
30631
|
const rootKey = keyBuilderFromType$j(luvio, input);
|
|
30611
30632
|
rootKeySet.set(rootKey, {
|
|
30612
|
-
namespace: keyPrefix$
|
|
30633
|
+
namespace: keyPrefix$2,
|
|
30613
30634
|
representationName: RepresentationType$t,
|
|
30614
30635
|
mergeable: false
|
|
30615
30636
|
});
|
|
@@ -30643,7 +30664,7 @@
|
|
|
30643
30664
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30644
30665
|
const storeMetadataParams = {
|
|
30645
30666
|
ttl: TTL$j,
|
|
30646
|
-
namespace: keyPrefix$
|
|
30667
|
+
namespace: keyPrefix$2,
|
|
30647
30668
|
version: VERSION$I$1,
|
|
30648
30669
|
representationName: RepresentationType$t
|
|
30649
30670
|
};
|
|
@@ -30830,7 +30851,7 @@
|
|
|
30830
30851
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
30831
30852
|
const rootKey = fullPathFactory();
|
|
30832
30853
|
rootKeySet.set(rootKey, {
|
|
30833
|
-
namespace: keyPrefix$
|
|
30854
|
+
namespace: keyPrefix$2,
|
|
30834
30855
|
representationName: RepresentationType$s,
|
|
30835
30856
|
mergeable: false
|
|
30836
30857
|
});
|
|
@@ -30844,7 +30865,7 @@
|
|
|
30844
30865
|
return select$Y$1();
|
|
30845
30866
|
}
|
|
30846
30867
|
function keyBuilder$Y$1(luvio, params) {
|
|
30847
|
-
return keyPrefix$
|
|
30868
|
+
return keyPrefix$2 + '::NavItemsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'navItemNames:' + params.queryParams.navItemNames + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ')';
|
|
30848
30869
|
}
|
|
30849
30870
|
function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
30850
30871
|
getTypeCacheKeys$t$1(storeKeyMap, luvio, response, () => keyBuilder$Y$1(luvio, resourceParams));
|
|
@@ -30866,7 +30887,7 @@
|
|
|
30866
30887
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
30867
30888
|
const storeMetadataParams = {
|
|
30868
30889
|
ttl: TTL$i,
|
|
30869
|
-
namespace: keyPrefix$
|
|
30890
|
+
namespace: keyPrefix$2,
|
|
30870
30891
|
version: VERSION$H$1,
|
|
30871
30892
|
representationName: RepresentationType$s
|
|
30872
30893
|
};
|
|
@@ -31097,7 +31118,7 @@
|
|
|
31097
31118
|
return selectChildResourceParams$4(luvio, childResources, resourceParams);
|
|
31098
31119
|
}
|
|
31099
31120
|
function keyBuilder$W$1(luvio, params) {
|
|
31100
|
-
return keyPrefix$
|
|
31121
|
+
return keyPrefix$2 + '::SimplifiedBatchRepresentation:(' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
31101
31122
|
}
|
|
31102
31123
|
function getResponseCacheKeys$u(keys, luvio, resourceParams, response) {
|
|
31103
31124
|
const childEnvelopes = response.results;
|
|
@@ -31113,7 +31134,7 @@
|
|
|
31113
31134
|
else if (childStatusCode === 404) {
|
|
31114
31135
|
const childKey = keyBuilder$1I(luvio, childResourceParams);
|
|
31115
31136
|
keys.set(childKey, {
|
|
31116
|
-
namespace: keyPrefix$
|
|
31137
|
+
namespace: keyPrefix$2,
|
|
31117
31138
|
representationName: RepresentationType$J,
|
|
31118
31139
|
mergeable: false
|
|
31119
31140
|
});
|
|
@@ -31481,7 +31502,7 @@
|
|
|
31481
31502
|
const VERSION$A$1 = "0a361a49370acb4c6a31721a2057649a";
|
|
31482
31503
|
const RepresentationType$r = 'PicklistValuesRepresentation';
|
|
31483
31504
|
function keyBuilder$U$1(luvio, config) {
|
|
31484
|
-
return keyPrefix$
|
|
31505
|
+
return keyPrefix$2 + '::' + RepresentationType$r + ':' + config.id;
|
|
31485
31506
|
}
|
|
31486
31507
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
31487
31508
|
return input;
|
|
@@ -31535,7 +31556,7 @@
|
|
|
31535
31556
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31536
31557
|
const rootKey = keyBuilderFromType$i(luvio, input);
|
|
31537
31558
|
rootKeySet.set(rootKey, {
|
|
31538
|
-
namespace: keyPrefix$
|
|
31559
|
+
namespace: keyPrefix$2,
|
|
31539
31560
|
representationName: RepresentationType$r,
|
|
31540
31561
|
mergeable: false
|
|
31541
31562
|
});
|
|
@@ -31611,7 +31632,7 @@
|
|
|
31611
31632
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31612
31633
|
const rootKey = fullPathFactory();
|
|
31613
31634
|
rootKeySet.set(rootKey, {
|
|
31614
|
-
namespace: keyPrefix$
|
|
31635
|
+
namespace: keyPrefix$2,
|
|
31615
31636
|
representationName: RepresentationType$q,
|
|
31616
31637
|
mergeable: false
|
|
31617
31638
|
});
|
|
@@ -31628,7 +31649,7 @@
|
|
|
31628
31649
|
return select$O$1();
|
|
31629
31650
|
}
|
|
31630
31651
|
function keyBuilder$T$1(luvio, params) {
|
|
31631
|
-
return keyPrefix$
|
|
31652
|
+
return keyPrefix$2 + '::PicklistValuesCollectionRepresentation:(' + 'objectApiName:' + params.urlParams.objectApiName + ',' + 'recordTypeId:' + params.urlParams.recordTypeId + ')';
|
|
31632
31653
|
}
|
|
31633
31654
|
function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
31634
31655
|
getTypeCacheKeys$r$1(storeKeyMap, luvio, response, () => keyBuilder$T$1(luvio, resourceParams));
|
|
@@ -31650,7 +31671,7 @@
|
|
|
31650
31671
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31651
31672
|
const storeMetadataParams = {
|
|
31652
31673
|
ttl: TTL$g,
|
|
31653
|
-
namespace: keyPrefix$
|
|
31674
|
+
namespace: keyPrefix$2,
|
|
31654
31675
|
version: VERSION$z$1,
|
|
31655
31676
|
representationName: RepresentationType$q
|
|
31656
31677
|
};
|
|
@@ -31953,7 +31974,7 @@
|
|
|
31953
31974
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
31954
31975
|
const rootKey = fullPathFactory();
|
|
31955
31976
|
rootKeySet.set(rootKey, {
|
|
31956
|
-
namespace: keyPrefix$
|
|
31977
|
+
namespace: keyPrefix$2,
|
|
31957
31978
|
representationName: RepresentationType$p,
|
|
31958
31979
|
mergeable: false
|
|
31959
31980
|
});
|
|
@@ -31963,7 +31984,7 @@
|
|
|
31963
31984
|
return select$M$1();
|
|
31964
31985
|
}
|
|
31965
31986
|
function keyBuilder$R$1(luvio, params) {
|
|
31966
|
-
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) + ')';
|
|
31967
31988
|
}
|
|
31968
31989
|
function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
|
|
31969
31990
|
getTypeCacheKeys$q$1(storeKeyMap, luvio, response, () => keyBuilder$R$1(luvio, resourceParams));
|
|
@@ -31985,7 +32006,7 @@
|
|
|
31985
32006
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
31986
32007
|
const storeMetadataParams = {
|
|
31987
32008
|
ttl: TTL$f,
|
|
31988
|
-
namespace: keyPrefix$
|
|
32009
|
+
namespace: keyPrefix$2,
|
|
31989
32010
|
version: VERSION$y$1,
|
|
31990
32011
|
representationName: RepresentationType$p
|
|
31991
32012
|
};
|
|
@@ -32253,7 +32274,7 @@
|
|
|
32253
32274
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32254
32275
|
const rootKey = keyBuilderFromType$h(luvio, input);
|
|
32255
32276
|
rootKeySet.set(rootKey, {
|
|
32256
|
-
namespace: keyPrefix$
|
|
32277
|
+
namespace: keyPrefix$2,
|
|
32257
32278
|
representationName: RepresentationType$m,
|
|
32258
32279
|
mergeable: false
|
|
32259
32280
|
});
|
|
@@ -32319,7 +32340,7 @@
|
|
|
32319
32340
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32320
32341
|
const rootKey = keyBuilderFromType$g(luvio, input);
|
|
32321
32342
|
rootKeySet.set(rootKey, {
|
|
32322
|
-
namespace: keyPrefix$
|
|
32343
|
+
namespace: keyPrefix$2,
|
|
32323
32344
|
representationName: RepresentationType$m,
|
|
32324
32345
|
mergeable: false
|
|
32325
32346
|
});
|
|
@@ -32333,7 +32354,7 @@
|
|
|
32333
32354
|
const VERSION$u$1 = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
32334
32355
|
const RepresentationType$m = 'AbstractRecordAvatarRepresentation';
|
|
32335
32356
|
function keyBuilder$P$1(luvio, config) {
|
|
32336
|
-
return keyPrefix$
|
|
32357
|
+
return keyPrefix$2 + '::' + RepresentationType$m + ':' + config.recordId;
|
|
32337
32358
|
}
|
|
32338
32359
|
function keyBuilderFromType$f(luvio, object) {
|
|
32339
32360
|
const keyParams = {
|
|
@@ -32459,7 +32480,7 @@
|
|
|
32459
32480
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32460
32481
|
const rootKey = fullPathFactory();
|
|
32461
32482
|
rootKeySet.set(rootKey, {
|
|
32462
|
-
namespace: keyPrefix$
|
|
32483
|
+
namespace: keyPrefix$2,
|
|
32463
32484
|
representationName: RepresentationType$l,
|
|
32464
32485
|
mergeable: false
|
|
32465
32486
|
});
|
|
@@ -32546,7 +32567,7 @@
|
|
|
32546
32567
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32547
32568
|
const rootKey = fullPathFactory();
|
|
32548
32569
|
rootKeySet.set(rootKey, {
|
|
32549
|
-
namespace: keyPrefix$
|
|
32570
|
+
namespace: keyPrefix$2,
|
|
32550
32571
|
representationName: RepresentationType$k,
|
|
32551
32572
|
mergeable: false
|
|
32552
32573
|
});
|
|
@@ -32601,7 +32622,7 @@
|
|
|
32601
32622
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32602
32623
|
const rootKey = fullPathFactory();
|
|
32603
32624
|
rootKeySet.set(rootKey, {
|
|
32604
|
-
namespace: keyPrefix$
|
|
32625
|
+
namespace: keyPrefix$2,
|
|
32605
32626
|
representationName: RepresentationType$j,
|
|
32606
32627
|
mergeable: false
|
|
32607
32628
|
});
|
|
@@ -32715,7 +32736,7 @@
|
|
|
32715
32736
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
32716
32737
|
const rootKey = fullPathFactory();
|
|
32717
32738
|
rootKeySet.set(rootKey, {
|
|
32718
|
-
namespace: keyPrefix$
|
|
32739
|
+
namespace: keyPrefix$2,
|
|
32719
32740
|
representationName: RepresentationType$i,
|
|
32720
32741
|
mergeable: false
|
|
32721
32742
|
});
|
|
@@ -32755,7 +32776,7 @@
|
|
|
32755
32776
|
};
|
|
32756
32777
|
|
|
32757
32778
|
function keyBuilder$O$1(luvio, params) {
|
|
32758
|
-
return keyPrefix$
|
|
32779
|
+
return keyPrefix$2 + '::RecordAvatarBulkMapRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
32759
32780
|
}
|
|
32760
32781
|
function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
|
|
32761
32782
|
getTypeCacheKeys$i$1(storeKeyMap, luvio, response, () => keyBuilder$O$1(luvio, resourceParams));
|
|
@@ -32765,7 +32786,7 @@
|
|
|
32765
32786
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
32766
32787
|
const storeMetadataParams = {
|
|
32767
32788
|
ttl: TTL$d,
|
|
32768
|
-
namespace: keyPrefix$
|
|
32789
|
+
namespace: keyPrefix$2,
|
|
32769
32790
|
version: VERSION$o$1,
|
|
32770
32791
|
representationName: RepresentationType$i
|
|
32771
32792
|
};
|
|
@@ -32788,7 +32809,7 @@
|
|
|
32788
32809
|
|
|
32789
32810
|
// All of the avatars are ingested into
|
|
32790
32811
|
// the same top level object
|
|
32791
|
-
const KEY = `${keyPrefix$
|
|
32812
|
+
const KEY = `${keyPrefix$2}RecordAvatarsBulk`;
|
|
32792
32813
|
function recordAvatarsFragment(recordIds) {
|
|
32793
32814
|
return {
|
|
32794
32815
|
kind: 'Fragment',
|
|
@@ -33275,7 +33296,7 @@
|
|
|
33275
33296
|
const VERSION$m$1 = "836b875b519813e7499efc62f0f1d04b";
|
|
33276
33297
|
const RepresentationType$h = 'RelatedListRecordCountRepresentation';
|
|
33277
33298
|
function keyBuilder$M$1(luvio, config) {
|
|
33278
|
-
return keyPrefix$
|
|
33299
|
+
return keyPrefix$2 + '::' + RepresentationType$h + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId;
|
|
33279
33300
|
}
|
|
33280
33301
|
function keyBuilderFromType$e(luvio, object) {
|
|
33281
33302
|
const keyParams = {
|
|
@@ -33345,7 +33366,7 @@
|
|
|
33345
33366
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33346
33367
|
const rootKey = keyBuilderFromType$e(luvio, input);
|
|
33347
33368
|
rootKeySet.set(rootKey, {
|
|
33348
|
-
namespace: keyPrefix$
|
|
33369
|
+
namespace: keyPrefix$2,
|
|
33349
33370
|
representationName: RepresentationType$h,
|
|
33350
33371
|
mergeable: false
|
|
33351
33372
|
});
|
|
@@ -33522,7 +33543,7 @@
|
|
|
33522
33543
|
return selectChildResourceParams$3(luvio, childResources, resourceParams);
|
|
33523
33544
|
}
|
|
33524
33545
|
function keyBuilder$K$1(luvio, params) {
|
|
33525
|
-
return keyPrefix$
|
|
33546
|
+
return keyPrefix$2 + '::BatchRelatedListCountRepresentation:(' + 'maxCount:' + params.queryParams.maxCount + ',' + 'parentRecordId:' + params.urlParams.parentRecordId + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
33526
33547
|
}
|
|
33527
33548
|
function getResponseCacheKeys$o(keys, luvio, resourceParams, response) {
|
|
33528
33549
|
const childEnvelopes = response.results;
|
|
@@ -33538,7 +33559,7 @@
|
|
|
33538
33559
|
else if (childStatusCode === 404) {
|
|
33539
33560
|
const childKey = keyBuilder$L$1(luvio, childResourceParams);
|
|
33540
33561
|
keys.set(childKey, {
|
|
33541
|
-
namespace: keyPrefix$
|
|
33562
|
+
namespace: keyPrefix$2,
|
|
33542
33563
|
representationName: RepresentationType$h,
|
|
33543
33564
|
mergeable: false
|
|
33544
33565
|
});
|
|
@@ -33825,7 +33846,7 @@
|
|
|
33825
33846
|
const VERSION$l$1 = "c977d65d153a2b4e888ddd45fb083248";
|
|
33826
33847
|
const RepresentationType$g = 'RelatedListInfoRepresentation';
|
|
33827
33848
|
function keyBuilder$H$1(luvio, config) {
|
|
33828
|
-
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(',') + ']';
|
|
33829
33850
|
}
|
|
33830
33851
|
function keyBuilderFromType$d(luvio, object) {
|
|
33831
33852
|
const keyParams = {
|
|
@@ -33952,7 +33973,7 @@
|
|
|
33952
33973
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
33953
33974
|
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
33954
33975
|
rootKeySet.set(rootKey, {
|
|
33955
|
-
namespace: keyPrefix$
|
|
33976
|
+
namespace: keyPrefix$2,
|
|
33956
33977
|
representationName: RepresentationType$g,
|
|
33957
33978
|
mergeable: false
|
|
33958
33979
|
});
|
|
@@ -33991,7 +34012,7 @@
|
|
|
33991
34012
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
33992
34013
|
const storeMetadataParams = {
|
|
33993
34014
|
ttl: TTL$c,
|
|
33994
|
-
namespace: keyPrefix$
|
|
34015
|
+
namespace: keyPrefix$2,
|
|
33995
34016
|
version: VERSION$l$1,
|
|
33996
34017
|
representationName: RepresentationType$g
|
|
33997
34018
|
};
|
|
@@ -34143,7 +34164,7 @@
|
|
|
34143
34164
|
return selectChildResourceParams$2(luvio, childResources, resourceParams);
|
|
34144
34165
|
}
|
|
34145
34166
|
function keyBuilder$F$1(luvio, params) {
|
|
34146
|
-
return keyPrefix$
|
|
34167
|
+
return keyPrefix$2 + '::RelatedListInfoBatchRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'parentObjectApiName:' + params.urlParams.parentObjectApiName + ',' + 'relatedListNames:' + params.urlParams.relatedListNames + ')';
|
|
34147
34168
|
}
|
|
34148
34169
|
function getResponseCacheKeys$m(keys, luvio, resourceParams, response) {
|
|
34149
34170
|
const childEnvelopes = response.results;
|
|
@@ -34159,7 +34180,7 @@
|
|
|
34159
34180
|
else if (childStatusCode === 404) {
|
|
34160
34181
|
const childKey = keyBuilder$G$1(luvio, childResourceParams);
|
|
34161
34182
|
keys.set(childKey, {
|
|
34162
|
-
namespace: keyPrefix$
|
|
34183
|
+
namespace: keyPrefix$2,
|
|
34163
34184
|
representationName: RepresentationType$g,
|
|
34164
34185
|
mergeable: false
|
|
34165
34186
|
});
|
|
@@ -34361,7 +34382,7 @@
|
|
|
34361
34382
|
const VERSION$k$1 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
34362
34383
|
const RepresentationType$f = 'RelatedListSummaryInfoCollectionRepresentation';
|
|
34363
34384
|
function keyBuilder$D$1(luvio, config) {
|
|
34364
|
-
return keyPrefix$
|
|
34385
|
+
return keyPrefix$2 + '::' + RepresentationType$f + ':' + config.parentObjectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
34365
34386
|
}
|
|
34366
34387
|
function keyBuilderFromType$c(luvio, object) {
|
|
34367
34388
|
const keyParams = {
|
|
@@ -34413,7 +34434,7 @@
|
|
|
34413
34434
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34414
34435
|
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
34415
34436
|
rootKeySet.set(rootKey, {
|
|
34416
|
-
namespace: keyPrefix$
|
|
34437
|
+
namespace: keyPrefix$2,
|
|
34417
34438
|
representationName: RepresentationType$f,
|
|
34418
34439
|
mergeable: false
|
|
34419
34440
|
});
|
|
@@ -34637,7 +34658,7 @@
|
|
|
34637
34658
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
34638
34659
|
};
|
|
34639
34660
|
|
|
34640
|
-
function validate$
|
|
34661
|
+
function validate$w(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
34641
34662
|
const v_error = (() => {
|
|
34642
34663
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34643
34664
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34656,7 +34677,7 @@
|
|
|
34656
34677
|
return v_error === undefined ? null : v_error;
|
|
34657
34678
|
}
|
|
34658
34679
|
|
|
34659
|
-
function validate$
|
|
34680
|
+
function validate$v(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
34660
34681
|
const v_error = (() => {
|
|
34661
34682
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
34662
34683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34733,7 +34754,7 @@
|
|
|
34733
34754
|
const untrustedConfig_orderedByInfo_array = [];
|
|
34734
34755
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
34735
34756
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
34736
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
34757
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedByInfo_item);
|
|
34737
34758
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
34738
34759
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
34739
34760
|
}
|
|
@@ -34741,7 +34762,7 @@
|
|
|
34741
34762
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
34742
34763
|
}
|
|
34743
34764
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
34744
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
34765
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$v(untrustedConfig_userPreferences);
|
|
34745
34766
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
34746
34767
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
34747
34768
|
}
|
|
@@ -34805,7 +34826,7 @@
|
|
|
34805
34826
|
const VERSION$j$1 = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
34806
34827
|
const RepresentationType$e = 'RelatedListUserPreferencesRepresentation';
|
|
34807
34828
|
function keyBuilder$z$1(luvio, config) {
|
|
34808
|
-
return keyPrefix$
|
|
34829
|
+
return keyPrefix$2 + '::' + RepresentationType$e + ':' + config.preferencesId;
|
|
34809
34830
|
}
|
|
34810
34831
|
function keyBuilderFromType$b(luvio, object) {
|
|
34811
34832
|
const keyParams = {
|
|
@@ -34840,7 +34861,7 @@
|
|
|
34840
34861
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
34841
34862
|
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
34842
34863
|
rootKeySet.set(rootKey, {
|
|
34843
|
-
namespace: keyPrefix$
|
|
34864
|
+
namespace: keyPrefix$2,
|
|
34844
34865
|
representationName: RepresentationType$e,
|
|
34845
34866
|
mergeable: false
|
|
34846
34867
|
});
|
|
@@ -34874,7 +34895,7 @@
|
|
|
34874
34895
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
34875
34896
|
const storeMetadataParams = {
|
|
34876
34897
|
ttl: TTL$b,
|
|
34877
|
-
namespace: keyPrefix$
|
|
34898
|
+
namespace: keyPrefix$2,
|
|
34878
34899
|
version: VERSION$j$1,
|
|
34879
34900
|
representationName: RepresentationType$e
|
|
34880
34901
|
};
|
|
@@ -35018,7 +35039,7 @@
|
|
|
35018
35039
|
return selectChildResourceParams$1(luvio, childResources, resourceParams);
|
|
35019
35040
|
}
|
|
35020
35041
|
function keyBuilder$x$1(luvio, params) {
|
|
35021
|
-
return keyPrefix$
|
|
35042
|
+
return keyPrefix$2 + '::RelatedListPreferencesBatchRepresentation:(' + 'preferencesIds:' + params.urlParams.preferencesIds + ')';
|
|
35022
35043
|
}
|
|
35023
35044
|
function getResponseCacheKeys$i(keys, luvio, resourceParams, response) {
|
|
35024
35045
|
const childEnvelopes = response.results;
|
|
@@ -35034,7 +35055,7 @@
|
|
|
35034
35055
|
else if (childStatusCode === 404) {
|
|
35035
35056
|
const childKey = keyBuilder$y$1(luvio, childResourceParams);
|
|
35036
35057
|
keys.set(childKey, {
|
|
35037
|
-
namespace: keyPrefix$
|
|
35058
|
+
namespace: keyPrefix$2,
|
|
35038
35059
|
representationName: RepresentationType$e,
|
|
35039
35060
|
mergeable: false
|
|
35040
35061
|
});
|
|
@@ -35396,7 +35417,7 @@
|
|
|
35396
35417
|
const untrustedConfig_orderedBy_array = [];
|
|
35397
35418
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
35398
35419
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
35399
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
35420
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$w(untrustedConfig_orderedBy_item);
|
|
35400
35421
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
35401
35422
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
35402
35423
|
}
|
|
@@ -35444,7 +35465,7 @@
|
|
|
35444
35465
|
};
|
|
35445
35466
|
};
|
|
35446
35467
|
|
|
35447
|
-
function validate$
|
|
35468
|
+
function validate$t(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
35448
35469
|
const v_error = (() => {
|
|
35449
35470
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
35450
35471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35689,7 +35710,7 @@
|
|
|
35689
35710
|
const VERSION$i$1 = "62467c27c19349b70c9db2a8d9d591d9";
|
|
35690
35711
|
const RepresentationType$d = 'RelatedListRecordCollectionRepresentation';
|
|
35691
35712
|
function keyBuilder$u$1(luvio, config) {
|
|
35692
|
-
return keyPrefix$
|
|
35713
|
+
return keyPrefix$2 + '::' + RepresentationType$d + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
|
|
35693
35714
|
}
|
|
35694
35715
|
function keyBuilderFromType$a(luvio, object) {
|
|
35695
35716
|
const keyParams = {
|
|
@@ -36001,12 +36022,12 @@
|
|
|
36001
36022
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
36002
36023
|
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
36003
36024
|
rootKeySet.set(rootKey, {
|
|
36004
|
-
namespace: keyPrefix$
|
|
36025
|
+
namespace: keyPrefix$2,
|
|
36005
36026
|
representationName: RepresentationType$d,
|
|
36006
36027
|
mergeable: true
|
|
36007
36028
|
});
|
|
36008
36029
|
rootKeySet.set(rootKey + '__pagination', {
|
|
36009
|
-
namespace: keyPrefix$
|
|
36030
|
+
namespace: keyPrefix$2,
|
|
36010
36031
|
representationName: RepresentationType$d,
|
|
36011
36032
|
mergeable: true
|
|
36012
36033
|
});
|
|
@@ -36082,7 +36103,7 @@
|
|
|
36082
36103
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36083
36104
|
const storeMetadataParams = {
|
|
36084
36105
|
ttl: TTL$a,
|
|
36085
|
-
namespace: keyPrefix$
|
|
36106
|
+
namespace: keyPrefix$2,
|
|
36086
36107
|
version: VERSION$i$1,
|
|
36087
36108
|
representationName: RepresentationType$d
|
|
36088
36109
|
};
|
|
@@ -36249,7 +36270,7 @@
|
|
|
36249
36270
|
return selectChildResourceParams$8(luvio, childResources, resourceParams);
|
|
36250
36271
|
}
|
|
36251
36272
|
function keyBuilder$s$1(luvio, params) {
|
|
36252
|
-
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(',') + ']' + ')';
|
|
36253
36274
|
}
|
|
36254
36275
|
function getResponseCacheKeys$f(keys, luvio, resourceParams, response) {
|
|
36255
36276
|
const childEnvelopes = response.results;
|
|
@@ -36265,7 +36286,7 @@
|
|
|
36265
36286
|
else if (childStatusCode === 404) {
|
|
36266
36287
|
const childKey = keyBuilder$t$1(luvio, childResourceParams);
|
|
36267
36288
|
keys.set(childKey, {
|
|
36268
|
-
namespace: keyPrefix$
|
|
36289
|
+
namespace: keyPrefix$2,
|
|
36269
36290
|
representationName: RepresentationType$d,
|
|
36270
36291
|
mergeable: false
|
|
36271
36292
|
});
|
|
@@ -36397,7 +36418,7 @@
|
|
|
36397
36418
|
const untrustedConfig_relatedListParameters_array = [];
|
|
36398
36419
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
36399
36420
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
36400
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
36421
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$t(untrustedConfig_relatedListParameters_item);
|
|
36401
36422
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
36402
36423
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
36403
36424
|
}
|
|
@@ -36816,7 +36837,7 @@
|
|
|
36816
36837
|
const VERSION$c$1 = "4c15d70367f2a3acd1e1c627b4946679";
|
|
36817
36838
|
const RepresentationType$c = 'SearchFilterMetadataCollectionRepresentation';
|
|
36818
36839
|
function keyBuilder$p$1(luvio, config) {
|
|
36819
|
-
return keyPrefix$
|
|
36840
|
+
return keyPrefix$2 + '::' + RepresentationType$c + ':' + config.objectApiName;
|
|
36820
36841
|
}
|
|
36821
36842
|
function keyBuilderFromType$9(luvio, object) {
|
|
36822
36843
|
const keyParams = {
|
|
@@ -36875,7 +36896,7 @@
|
|
|
36875
36896
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
36876
36897
|
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
36877
36898
|
rootKeySet.set(rootKey, {
|
|
36878
|
-
namespace: keyPrefix$
|
|
36899
|
+
namespace: keyPrefix$2,
|
|
36879
36900
|
representationName: RepresentationType$c,
|
|
36880
36901
|
mergeable: false
|
|
36881
36902
|
});
|
|
@@ -36909,7 +36930,7 @@
|
|
|
36909
36930
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
36910
36931
|
const storeMetadataParams = {
|
|
36911
36932
|
ttl: TTL$9,
|
|
36912
|
-
namespace: keyPrefix$
|
|
36933
|
+
namespace: keyPrefix$2,
|
|
36913
36934
|
version: VERSION$c$1,
|
|
36914
36935
|
representationName: RepresentationType$c
|
|
36915
36936
|
};
|
|
@@ -37017,7 +37038,7 @@
|
|
|
37017
37038
|
const VERSION$b$1 = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
37018
37039
|
const RepresentationType$b = 'SearchFilterOptionCollectionRepresentation';
|
|
37019
37040
|
function keyBuilder$m$1(luvio, config) {
|
|
37020
|
-
return keyPrefix$
|
|
37041
|
+
return keyPrefix$2 + '::' + RepresentationType$b + ':' + (config.query === null ? '' : config.query) + ':' + config.objectApiName + ':' + config.filterApiName;
|
|
37021
37042
|
}
|
|
37022
37043
|
function keyBuilderFromType$8(luvio, object) {
|
|
37023
37044
|
const keyParams = {
|
|
@@ -37054,7 +37075,7 @@
|
|
|
37054
37075
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37055
37076
|
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
37056
37077
|
rootKeySet.set(rootKey, {
|
|
37057
|
-
namespace: keyPrefix$
|
|
37078
|
+
namespace: keyPrefix$2,
|
|
37058
37079
|
representationName: RepresentationType$b,
|
|
37059
37080
|
mergeable: false
|
|
37060
37081
|
});
|
|
@@ -37090,7 +37111,7 @@
|
|
|
37090
37111
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37091
37112
|
const storeMetadataParams = {
|
|
37092
37113
|
ttl: TTL$8,
|
|
37093
|
-
namespace: keyPrefix$
|
|
37114
|
+
namespace: keyPrefix$2,
|
|
37094
37115
|
version: VERSION$b$1,
|
|
37095
37116
|
representationName: RepresentationType$b
|
|
37096
37117
|
};
|
|
@@ -37200,7 +37221,7 @@
|
|
|
37200
37221
|
const VERSION$a$1 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
37201
37222
|
const RepresentationType$a = 'LookupMetadataRepresentation';
|
|
37202
37223
|
function keyBuilder$j$1(luvio, config) {
|
|
37203
|
-
return keyPrefix$
|
|
37224
|
+
return keyPrefix$2 + '::' + RepresentationType$a + ':' + config.objectApiName + ':' + config.fieldApiName;
|
|
37204
37225
|
}
|
|
37205
37226
|
function keyBuilderFromType$7(luvio, object) {
|
|
37206
37227
|
const keyParams = {
|
|
@@ -37236,7 +37257,7 @@
|
|
|
37236
37257
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37237
37258
|
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
37238
37259
|
rootKeySet.set(rootKey, {
|
|
37239
|
-
namespace: keyPrefix$
|
|
37260
|
+
namespace: keyPrefix$2,
|
|
37240
37261
|
representationName: RepresentationType$a,
|
|
37241
37262
|
mergeable: false
|
|
37242
37263
|
});
|
|
@@ -37271,7 +37292,7 @@
|
|
|
37271
37292
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37272
37293
|
const storeMetadataParams = {
|
|
37273
37294
|
ttl: TTL$7,
|
|
37274
|
-
namespace: keyPrefix$
|
|
37295
|
+
namespace: keyPrefix$2,
|
|
37275
37296
|
version: VERSION$a$1,
|
|
37276
37297
|
representationName: RepresentationType$a
|
|
37277
37298
|
};
|
|
@@ -37380,7 +37401,7 @@
|
|
|
37380
37401
|
const VERSION$9$1 = "da21e889922062e90012ba48c4a733e2";
|
|
37381
37402
|
const RepresentationType$9 = 'SearchResultsSummaryRepresentation';
|
|
37382
37403
|
function keyBuilder$g$1(luvio, config) {
|
|
37383
|
-
return keyPrefix$
|
|
37404
|
+
return keyPrefix$2 + '::' + RepresentationType$9 + ':' + config.query;
|
|
37384
37405
|
}
|
|
37385
37406
|
function keyBuilderFromType$6(luvio, object) {
|
|
37386
37407
|
const keyParams = {
|
|
@@ -37415,7 +37436,7 @@
|
|
|
37415
37436
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37416
37437
|
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
37417
37438
|
rootKeySet.set(rootKey, {
|
|
37418
|
-
namespace: keyPrefix$
|
|
37439
|
+
namespace: keyPrefix$2,
|
|
37419
37440
|
representationName: RepresentationType$9,
|
|
37420
37441
|
mergeable: false
|
|
37421
37442
|
});
|
|
@@ -37449,7 +37470,7 @@
|
|
|
37449
37470
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37450
37471
|
const storeMetadataParams = {
|
|
37451
37472
|
ttl: TTL$6,
|
|
37452
|
-
namespace: keyPrefix$
|
|
37473
|
+
namespace: keyPrefix$2,
|
|
37453
37474
|
version: VERSION$9$1,
|
|
37454
37475
|
representationName: RepresentationType$9
|
|
37455
37476
|
};
|
|
@@ -37555,7 +37576,7 @@
|
|
|
37555
37576
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
37556
37577
|
};
|
|
37557
37578
|
|
|
37558
|
-
function validate$
|
|
37579
|
+
function validate$b(obj, path = 'SearchFilterInputRepresentation') {
|
|
37559
37580
|
const v_error = (() => {
|
|
37560
37581
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
37561
37582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37628,7 +37649,7 @@
|
|
|
37628
37649
|
const VERSION$8$1 = "168255e2d3a26e867c3fb9cee0165537";
|
|
37629
37650
|
const RepresentationType$8 = 'KeywordSearchResultsSummaryRepresentation';
|
|
37630
37651
|
function keyBuilder$d$1(luvio, config) {
|
|
37631
|
-
return keyPrefix$
|
|
37652
|
+
return keyPrefix$2 + '::' + RepresentationType$8 + ':' + config.query + ':' + config.objectApiName;
|
|
37632
37653
|
}
|
|
37633
37654
|
function keyBuilderFromType$5(luvio, object) {
|
|
37634
37655
|
const keyParams = {
|
|
@@ -37664,7 +37685,7 @@
|
|
|
37664
37685
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
37665
37686
|
const rootKey = keyBuilderFromType$5(luvio, input);
|
|
37666
37687
|
rootKeySet.set(rootKey, {
|
|
37667
|
-
namespace: keyPrefix$
|
|
37688
|
+
namespace: keyPrefix$2,
|
|
37668
37689
|
representationName: RepresentationType$8,
|
|
37669
37690
|
mergeable: false
|
|
37670
37691
|
});
|
|
@@ -37699,7 +37720,7 @@
|
|
|
37699
37720
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
37700
37721
|
const storeMetadataParams = {
|
|
37701
37722
|
ttl: TTL$5,
|
|
37702
|
-
namespace: keyPrefix$
|
|
37723
|
+
namespace: keyPrefix$2,
|
|
37703
37724
|
version: VERSION$8$1,
|
|
37704
37725
|
representationName: RepresentationType$8
|
|
37705
37726
|
};
|
|
@@ -37743,7 +37764,7 @@
|
|
|
37743
37764
|
const untrustedConfig_filters_array = [];
|
|
37744
37765
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
37745
37766
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
37746
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
37767
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$b(untrustedConfig_filters_item);
|
|
37747
37768
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
37748
37769
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
37749
37770
|
}
|
|
@@ -38096,7 +38117,7 @@
|
|
|
38096
38117
|
};
|
|
38097
38118
|
}
|
|
38098
38119
|
|
|
38099
|
-
function validate$
|
|
38120
|
+
function validate$9(obj, path = 'RecordLayoutUserStateInputRepresentation') {
|
|
38100
38121
|
const v_error = (() => {
|
|
38101
38122
|
if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
|
|
38102
38123
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38186,7 +38207,7 @@
|
|
|
38186
38207
|
throw new Error(`@wire(updateLayoutUserState) invalid configuration ${stringify$8(untrusted)}`);
|
|
38187
38208
|
}
|
|
38188
38209
|
// This will throw if layoutUserStateInput is not a valid input
|
|
38189
|
-
validate$
|
|
38210
|
+
validate$9(layoutUserStateInput, 'layoutUserStateInput');
|
|
38190
38211
|
return {
|
|
38191
38212
|
...config,
|
|
38192
38213
|
layoutUserStateInput: layoutUserStateInput,
|
|
@@ -38243,6 +38264,14 @@
|
|
|
38243
38264
|
if (sortBy && typeof sortBy === 'string') {
|
|
38244
38265
|
response.body.sortBy = sortBy.split(',');
|
|
38245
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
|
+
}
|
|
38246
38275
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2$1(luvio, config, resourceParams, response), () => {
|
|
38247
38276
|
const cache = new StoreKeyMap();
|
|
38248
38277
|
getResponseCacheKeys$T(cache, luvio, resourceParams, response.body);
|
|
@@ -38417,7 +38446,7 @@
|
|
|
38417
38446
|
return onFetchResponseSuccess$3(luvio, config, resourceParams, response);
|
|
38418
38447
|
}
|
|
38419
38448
|
|
|
38420
|
-
const contextId$4 = `${keyPrefix$
|
|
38449
|
+
const contextId$4 = `${keyPrefix$2}__${adapterName$7}`;
|
|
38421
38450
|
const factory$a = (luvio) => {
|
|
38422
38451
|
return luvio.withContext(function UiApi__getListRecordsByName(untrustedConfig, adapterContext, requestContext) {
|
|
38423
38452
|
const config = validateAdapterConfig$a(untrustedConfig, getListRecordsByName_ConfigPropertyNames);
|
|
@@ -38430,6 +38459,84 @@
|
|
|
38430
38459
|
}, { contextId: contextId$4 });
|
|
38431
38460
|
};
|
|
38432
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
|
+
|
|
38433
38540
|
const VERSION$7$1 = "022d5de1337ec512acb4af43b75ea5e6";
|
|
38434
38541
|
const RepresentationType$7 = 'LookupValuesRepresentation';
|
|
38435
38542
|
function normalize$3(input, existing, path, luvio, store, timestamp) {
|
|
@@ -38489,7 +38596,7 @@
|
|
|
38489
38596
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
38490
38597
|
const rootKey = fullPathFactory();
|
|
38491
38598
|
rootKeySet.set(rootKey, {
|
|
38492
|
-
namespace: keyPrefix$
|
|
38599
|
+
namespace: keyPrefix$2,
|
|
38493
38600
|
representationName: RepresentationType$7,
|
|
38494
38601
|
mergeable: false
|
|
38495
38602
|
});
|
|
@@ -38593,7 +38700,7 @@
|
|
|
38593
38700
|
};
|
|
38594
38701
|
|
|
38595
38702
|
function keyBuilder$9$1(luvio, params) {
|
|
38596
|
-
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) + ')';
|
|
38597
38704
|
}
|
|
38598
38705
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
38599
38706
|
getTypeCacheKeys$7$1(storeKeyMap, luvio, response, () => keyBuilder$9$1(luvio, resourceParams));
|
|
@@ -38609,8 +38716,8 @@
|
|
|
38609
38716
|
return {
|
|
38610
38717
|
baseUri: '/services/data/v60.0',
|
|
38611
38718
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
38612
|
-
method: '
|
|
38613
|
-
body:
|
|
38719
|
+
method: 'post',
|
|
38720
|
+
body: config.body,
|
|
38614
38721
|
urlParams: config.urlParams,
|
|
38615
38722
|
queryParams: config.queryParams,
|
|
38616
38723
|
headers,
|
|
@@ -38643,6 +38750,7 @@
|
|
|
38643
38750
|
generateParamConfigMetadata$2('searchType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38644
38751
|
generateParamConfigMetadata$2('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38645
38752
|
generateParamConfigMetadata$2('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
38753
|
+
generateParamConfigMetadata$2('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
|
|
38646
38754
|
];
|
|
38647
38755
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$Z(getLookupRecords_ConfigPropertyMetadata);
|
|
38648
38756
|
function keyBuilder$8$1(luvio, config) {
|
|
@@ -38652,6 +38760,14 @@
|
|
|
38652
38760
|
function typeCheckConfig$a(untrustedConfig) {
|
|
38653
38761
|
const config = {};
|
|
38654
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
|
+
}
|
|
38655
38771
|
return config;
|
|
38656
38772
|
}
|
|
38657
38773
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -38698,7 +38814,7 @@
|
|
|
38698
38814
|
});
|
|
38699
38815
|
}
|
|
38700
38816
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
38701
|
-
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8,
|
|
38817
|
+
return buildNetworkSnapshotCachePolicy$N(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
|
|
38702
38818
|
}
|
|
38703
38819
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
38704
38820
|
const { luvio, config } = context;
|
|
@@ -38748,6 +38864,10 @@
|
|
|
38748
38864
|
if (targetApiName !== undefined) {
|
|
38749
38865
|
coercedConfig.targetApiName = targetApiName;
|
|
38750
38866
|
}
|
|
38867
|
+
const sourceRecord = requestParams.sourceRecord;
|
|
38868
|
+
if (sourceRecord !== undefined) {
|
|
38869
|
+
coercedConfig.sourceRecord = sourceRecord;
|
|
38870
|
+
}
|
|
38751
38871
|
return coercedConfig;
|
|
38752
38872
|
}
|
|
38753
38873
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -38765,7 +38885,7 @@
|
|
|
38765
38885
|
};
|
|
38766
38886
|
}
|
|
38767
38887
|
|
|
38768
|
-
const contextId$3 = `${keyPrefix$
|
|
38888
|
+
const contextId$3 = `${keyPrefix$2}__${adapterName$6}`;
|
|
38769
38889
|
const paramNames = {
|
|
38770
38890
|
displayName: 'getLookupRecords',
|
|
38771
38891
|
parameters: {
|
|
@@ -39006,7 +39126,7 @@
|
|
|
39006
39126
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39007
39127
|
const rootKey = fullPathFactory();
|
|
39008
39128
|
rootKeySet.set(rootKey, {
|
|
39009
|
-
namespace: keyPrefix$
|
|
39129
|
+
namespace: keyPrefix$2,
|
|
39010
39130
|
representationName: RepresentationType$6,
|
|
39011
39131
|
mergeable: false
|
|
39012
39132
|
});
|
|
@@ -39115,7 +39235,7 @@
|
|
|
39115
39235
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39116
39236
|
const rootKey = fullPathFactory();
|
|
39117
39237
|
rootKeySet.set(rootKey, {
|
|
39118
|
-
namespace: keyPrefix$
|
|
39238
|
+
namespace: keyPrefix$2,
|
|
39119
39239
|
representationName: RepresentationType$5,
|
|
39120
39240
|
mergeable: false
|
|
39121
39241
|
});
|
|
@@ -39133,7 +39253,7 @@
|
|
|
39133
39253
|
}
|
|
39134
39254
|
|
|
39135
39255
|
function keyBuilder$7$1(luvio, params) {
|
|
39136
|
-
return keyPrefix$
|
|
39256
|
+
return keyPrefix$2 + '::RecordDefaultsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'optionalFields:' + params.queryParams.optionalFields + ',' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
39137
39257
|
}
|
|
39138
39258
|
function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
39139
39259
|
getTypeCacheKeys$5$1(storeKeyMap, luvio, response, () => keyBuilder$7$1(luvio, resourceParams));
|
|
@@ -39178,7 +39298,7 @@
|
|
|
39178
39298
|
return config;
|
|
39179
39299
|
}
|
|
39180
39300
|
|
|
39181
|
-
const contextId$2 = `${keyPrefix$
|
|
39301
|
+
const contextId$2 = `${keyPrefix$2}__${adapterName$4$1}`;
|
|
39182
39302
|
const layoutSelections = select$1A();
|
|
39183
39303
|
const objectInfoSelections = select$1C();
|
|
39184
39304
|
function buildSelector(resp) {
|
|
@@ -39330,7 +39450,7 @@
|
|
|
39330
39450
|
const VERSION$4$1 = "6a63c9ca6dda2e125d94e004f83240d8";
|
|
39331
39451
|
const RepresentationType$4 = 'RecordTemplateCloneRepresentation';
|
|
39332
39452
|
function keyBuilder$6$1(luvio, config) {
|
|
39333
|
-
return keyPrefix$
|
|
39453
|
+
return keyPrefix$2 + '::' + RepresentationType$4 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39334
39454
|
}
|
|
39335
39455
|
function keyBuilderFromType$4(luvio, object) {
|
|
39336
39456
|
const keyParams = {
|
|
@@ -39450,7 +39570,7 @@
|
|
|
39450
39570
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39451
39571
|
const rootKey = keyBuilderFromType$4(luvio, input);
|
|
39452
39572
|
rootKeySet.set(rootKey, {
|
|
39453
|
-
namespace: keyPrefix$
|
|
39573
|
+
namespace: keyPrefix$2,
|
|
39454
39574
|
representationName: RepresentationType$4,
|
|
39455
39575
|
mergeable: false
|
|
39456
39576
|
});
|
|
@@ -39475,7 +39595,7 @@
|
|
|
39475
39595
|
const VERSION$3$1 = "b352a734f919895e97682703b486b649";
|
|
39476
39596
|
const RepresentationType$3$1 = 'RecordDefaultsTemplateCloneRepresentation';
|
|
39477
39597
|
function keyBuilder$5$1(luvio, config) {
|
|
39478
|
-
return keyPrefix$
|
|
39598
|
+
return keyPrefix$2 + '::' + RepresentationType$3$1 + ':' + config.cloneSourceId + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39479
39599
|
}
|
|
39480
39600
|
function keyBuilderFromType$3(luvio, object) {
|
|
39481
39601
|
const keyParams = {
|
|
@@ -39564,7 +39684,7 @@
|
|
|
39564
39684
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39565
39685
|
const rootKey = keyBuilderFromType$3(luvio, input);
|
|
39566
39686
|
rootKeySet.set(rootKey, {
|
|
39567
|
-
namespace: keyPrefix$
|
|
39687
|
+
namespace: keyPrefix$2,
|
|
39568
39688
|
representationName: RepresentationType$3$1,
|
|
39569
39689
|
mergeable: false
|
|
39570
39690
|
});
|
|
@@ -39707,13 +39827,13 @@
|
|
|
39707
39827
|
return config;
|
|
39708
39828
|
}
|
|
39709
39829
|
|
|
39710
|
-
const contextId$1 = `${keyPrefix$
|
|
39830
|
+
const contextId$1 = `${keyPrefix$2}__${adapterName$3$1}`;
|
|
39711
39831
|
const DEFAULT_RECORD_TYPE_ID_KEY = 'defaultRecordTypeId';
|
|
39712
39832
|
const RECORD_TEMPLATE_CLONE_ERROR_VERSION = 'RECORD_TEMPLATE_CLONE_ERROR_VERSION_1';
|
|
39713
39833
|
const RECORD_TEMPLATE_CLONE_ERROR_STORE_METADATA_PARAMS = {
|
|
39714
39834
|
ttl: TTL$2$1,
|
|
39715
39835
|
representationName: '',
|
|
39716
|
-
namespace: keyPrefix$
|
|
39836
|
+
namespace: keyPrefix$2,
|
|
39717
39837
|
version: RECORD_TEMPLATE_CLONE_ERROR_VERSION,
|
|
39718
39838
|
};
|
|
39719
39839
|
function saveDefaultRecordTypeId(context, objectInfo) {
|
|
@@ -39868,7 +39988,7 @@
|
|
|
39868
39988
|
const VERSION$2$1 = "665de0fdde39efd6f1098e374117ef58";
|
|
39869
39989
|
const RepresentationType$2$1 = 'RecordTemplateCreateRepresentation';
|
|
39870
39990
|
function keyBuilder$4$1(luvio, config) {
|
|
39871
|
-
return keyPrefix$
|
|
39991
|
+
return keyPrefix$2 + '::' + RepresentationType$2$1 + ':' + config.apiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
39872
39992
|
}
|
|
39873
39993
|
function keyBuilderFromType$2(luvio, object) {
|
|
39874
39994
|
const keyParams = {
|
|
@@ -39975,7 +40095,7 @@
|
|
|
39975
40095
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
39976
40096
|
const rootKey = keyBuilderFromType$2(luvio, input);
|
|
39977
40097
|
rootKeySet.set(rootKey, {
|
|
39978
|
-
namespace: keyPrefix$
|
|
40098
|
+
namespace: keyPrefix$2,
|
|
39979
40099
|
representationName: RepresentationType$2$1,
|
|
39980
40100
|
mergeable: false
|
|
39981
40101
|
});
|
|
@@ -40000,7 +40120,7 @@
|
|
|
40000
40120
|
const VERSION$1$1 = "30493e7ac0677e35242026bb959c079e";
|
|
40001
40121
|
const RepresentationType$1$1 = 'RecordDefaultsTemplateCreateRepresentation';
|
|
40002
40122
|
function keyBuilder$3$1(luvio, config) {
|
|
40003
|
-
return keyPrefix$
|
|
40123
|
+
return keyPrefix$2 + '::' + RepresentationType$1$1 + ':' + config.objectApiName + ':' + (config.recordTypeId === null ? '' : config.recordTypeId);
|
|
40004
40124
|
}
|
|
40005
40125
|
function keyBuilderFromType$1(luvio, object) {
|
|
40006
40126
|
const keyParams = {
|
|
@@ -40089,7 +40209,7 @@
|
|
|
40089
40209
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40090
40210
|
const rootKey = keyBuilderFromType$1(luvio, input);
|
|
40091
40211
|
rootKeySet.set(rootKey, {
|
|
40092
|
-
namespace: keyPrefix$
|
|
40212
|
+
namespace: keyPrefix$2,
|
|
40093
40213
|
representationName: RepresentationType$1$1,
|
|
40094
40214
|
mergeable: false
|
|
40095
40215
|
});
|
|
@@ -40191,7 +40311,7 @@
|
|
|
40191
40311
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
40192
40312
|
const storeMetadataParams = {
|
|
40193
40313
|
ttl: TTL$z,
|
|
40194
|
-
namespace: keyPrefix$
|
|
40314
|
+
namespace: keyPrefix$2,
|
|
40195
40315
|
version: VERSION$1$1,
|
|
40196
40316
|
representationName: RepresentationType$1$1
|
|
40197
40317
|
};
|
|
@@ -40242,7 +40362,7 @@
|
|
|
40242
40362
|
return config;
|
|
40243
40363
|
}
|
|
40244
40364
|
|
|
40245
|
-
const contextId = `${keyPrefix$
|
|
40365
|
+
const contextId = `${keyPrefix$2}__${adapterName$2$1}`;
|
|
40246
40366
|
function buildSnapshotRefresh$6(luvio, context, config) {
|
|
40247
40367
|
return {
|
|
40248
40368
|
config,
|
|
@@ -40487,7 +40607,7 @@
|
|
|
40487
40607
|
function getResponseCacheKeys$2$1(cacheKeyMap, luvio, resourceParams) {
|
|
40488
40608
|
const key = keyBuilder$1$1(luvio, resourceParams);
|
|
40489
40609
|
cacheKeyMap.set(key, {
|
|
40490
|
-
namespace: keyPrefix$
|
|
40610
|
+
namespace: keyPrefix$2,
|
|
40491
40611
|
representationName: RepresentationType$O,
|
|
40492
40612
|
mergeable: false
|
|
40493
40613
|
});
|
|
@@ -40731,7 +40851,7 @@
|
|
|
40731
40851
|
const VERSION$1p = "5f97eb4f2c3f805ef9d98ba7f0530b3e";
|
|
40732
40852
|
const RepresentationType$S = 'ContentDocumentCompositeRepresentation';
|
|
40733
40853
|
function keyBuilder$1W(luvio, config) {
|
|
40734
|
-
return keyPrefix$
|
|
40854
|
+
return keyPrefix$2 + '::' + RepresentationType$S + ':' + config.contentDocumentId;
|
|
40735
40855
|
}
|
|
40736
40856
|
function keyBuilderFromType$B(luvio, object) {
|
|
40737
40857
|
const keyParams = {
|
|
@@ -40815,7 +40935,7 @@
|
|
|
40815
40935
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
40816
40936
|
const rootKey = keyBuilderFromType$B(luvio, input);
|
|
40817
40937
|
rootKeySet.set(rootKey, {
|
|
40818
|
-
namespace: keyPrefix$
|
|
40938
|
+
namespace: keyPrefix$2,
|
|
40819
40939
|
representationName: RepresentationType$S,
|
|
40820
40940
|
mergeable: false
|
|
40821
40941
|
});
|
|
@@ -41282,55 +41402,55 @@
|
|
|
41282
41402
|
let getSearchFilterOptions_imperative;
|
|
41283
41403
|
let getSearchResults_imperative;
|
|
41284
41404
|
// Adapter Metadata
|
|
41285
|
-
const getActionOverridesMetadata = { apiFamily: keyPrefix$
|
|
41286
|
-
const getAllAppsMetadata = { apiFamily: keyPrefix$
|
|
41287
|
-
const getAppDetailsMetadata = { apiFamily: keyPrefix$
|
|
41288
|
-
const getDuplicateConfigurationMetadata = { apiFamily: keyPrefix$
|
|
41289
|
-
const getDuplicatesMetadata = { apiFamily: keyPrefix$
|
|
41290
|
-
const getGlobalActionsMetadata = { apiFamily: keyPrefix$
|
|
41291
|
-
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$
|
|
41292
|
-
const getLayoutMetadata = { apiFamily: keyPrefix$
|
|
41293
|
-
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$
|
|
41294
|
-
const getListInfoByNameMetadata = { apiFamily: keyPrefix$
|
|
41295
|
-
const getListInfosByNameMetadata = { apiFamily: keyPrefix$
|
|
41296
|
-
const getListObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41297
|
-
const getListRecordsByNameMetadata = { apiFamily: keyPrefix$
|
|
41298
|
-
const getListUiMetadata = { apiFamily: keyPrefix$
|
|
41299
|
-
const getLookupActionsMetadata = { apiFamily: keyPrefix$
|
|
41300
|
-
const getLookupMetadataMetadata = { apiFamily: keyPrefix$
|
|
41301
|
-
const getLookupRecordsMetadata = { apiFamily: keyPrefix$
|
|
41302
|
-
const getNavItemsMetadata = { apiFamily: keyPrefix$
|
|
41303
|
-
const getObjectCreateActionsMetadata = { apiFamily: keyPrefix$
|
|
41304
|
-
const getObjectInfoMetadata = { apiFamily: keyPrefix$
|
|
41305
|
-
const getObjectInfosMetadata = { apiFamily: keyPrefix$
|
|
41306
|
-
const getPicklistValuesMetadata = { apiFamily: keyPrefix$
|
|
41307
|
-
const getPicklistValuesByRecordTypeMetadata = { apiFamily: keyPrefix$
|
|
41308
|
-
const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41309
|
-
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$
|
|
41310
|
-
const getRecordMetadata = { apiFamily: keyPrefix$
|
|
41311
|
-
const getRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41312
|
-
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$
|
|
41313
|
-
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$
|
|
41314
|
-
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$
|
|
41315
|
-
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$
|
|
41316
|
-
const getRecordTemplateCreateMetadata = { apiFamily: keyPrefix$
|
|
41317
|
-
const getRecordUiMetadata = { apiFamily: keyPrefix$
|
|
41318
|
-
const getRecordsMetadata = { apiFamily: keyPrefix$
|
|
41319
|
-
const getRelatedListActionsMetadata = { apiFamily: keyPrefix$
|
|
41320
|
-
const getRelatedListCountMetadata = { apiFamily: keyPrefix$
|
|
41321
|
-
const getRelatedListInfoMetadata = { apiFamily: keyPrefix$
|
|
41322
|
-
const getRelatedListInfoBatchMetadata = { apiFamily: keyPrefix$
|
|
41323
|
-
const getRelatedListPreferencesMetadata = { apiFamily: keyPrefix$
|
|
41324
|
-
const getRelatedListPreferencesBatchMetadata = { apiFamily: keyPrefix$
|
|
41325
|
-
const getRelatedListRecordActionsMetadata = { apiFamily: keyPrefix$
|
|
41326
|
-
const getRelatedListRecordsMetadata = { apiFamily: keyPrefix$
|
|
41327
|
-
const getRelatedListRecordsBatchMetadata = { apiFamily: keyPrefix$
|
|
41328
|
-
const getRelatedListsActionsMetadata = { apiFamily: keyPrefix$
|
|
41329
|
-
const getRelatedListsCountMetadata = { apiFamily: keyPrefix$
|
|
41330
|
-
const getRelatedListsInfoMetadata = { apiFamily: keyPrefix$
|
|
41331
|
-
const getSearchFilterMetadataMetadata = { apiFamily: keyPrefix$
|
|
41332
|
-
const getSearchFilterOptionsMetadata = { apiFamily: keyPrefix$
|
|
41333
|
-
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 };
|
|
41334
41454
|
function bindExportsTo$1(luvio) {
|
|
41335
41455
|
// LDS adapters
|
|
41336
41456
|
const getActionOverrides_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getActionOverrides', getActionOverridesAdapterFactory), getActionOverridesMetadata);
|
|
@@ -41649,7 +41769,7 @@
|
|
|
41649
41769
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
41650
41770
|
throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
41651
41771
|
});
|
|
41652
|
-
// version: 1.
|
|
41772
|
+
// version: 1.245.0-df5596041
|
|
41653
41773
|
|
|
41654
41774
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
41655
41775
|
|
|
@@ -46694,20 +46814,20 @@
|
|
|
46694
46814
|
*/
|
|
46695
46815
|
|
|
46696
46816
|
|
|
46697
|
-
var DraftActionStatus;
|
|
46817
|
+
var DraftActionStatus$1;
|
|
46698
46818
|
(function (DraftActionStatus) {
|
|
46699
46819
|
DraftActionStatus["Pending"] = "pending";
|
|
46700
46820
|
DraftActionStatus["Uploading"] = "uploading";
|
|
46701
46821
|
DraftActionStatus["Error"] = "error";
|
|
46702
46822
|
DraftActionStatus["Completed"] = "completed";
|
|
46703
|
-
})(DraftActionStatus || (DraftActionStatus = {}));
|
|
46823
|
+
})(DraftActionStatus$1 || (DraftActionStatus$1 = {}));
|
|
46704
46824
|
function isDraftError(draft) {
|
|
46705
|
-
return draft.status === DraftActionStatus.Error;
|
|
46825
|
+
return draft.status === DraftActionStatus$1.Error;
|
|
46706
46826
|
}
|
|
46707
46827
|
function isDraftQueueStateChangeEvent(event) {
|
|
46708
|
-
return event.type === DraftQueueEventType.QueueStateChanged;
|
|
46828
|
+
return event.type === DraftQueueEventType$1.QueueStateChanged;
|
|
46709
46829
|
}
|
|
46710
|
-
var ProcessActionResult;
|
|
46830
|
+
var ProcessActionResult$1;
|
|
46711
46831
|
(function (ProcessActionResult) {
|
|
46712
46832
|
// non-2xx network error, requires user intervention
|
|
46713
46833
|
ProcessActionResult["ACTION_ERRORED"] = "ERROR";
|
|
@@ -46723,8 +46843,8 @@
|
|
|
46723
46843
|
ProcessActionResult["BLOCKED_ON_ERROR"] = "BLOCKED_ON_ERROR";
|
|
46724
46844
|
//waiting for user to execute custom action
|
|
46725
46845
|
ProcessActionResult["CUSTOM_ACTION_WAITING"] = "CUSTOM_ACTION_WAITING";
|
|
46726
|
-
})(ProcessActionResult || (ProcessActionResult = {}));
|
|
46727
|
-
var DraftQueueState;
|
|
46846
|
+
})(ProcessActionResult$1 || (ProcessActionResult$1 = {}));
|
|
46847
|
+
var DraftQueueState$1;
|
|
46728
46848
|
(function (DraftQueueState) {
|
|
46729
46849
|
/** Currently processing an item in the queue or queue is empty and waiting to process the next item. */
|
|
46730
46850
|
DraftQueueState["Started"] = "started";
|
|
@@ -46743,8 +46863,8 @@
|
|
|
46743
46863
|
* To attempt to force an upload now call startDraftQueue().
|
|
46744
46864
|
*/
|
|
46745
46865
|
DraftQueueState["Waiting"] = "waiting";
|
|
46746
|
-
})(DraftQueueState || (DraftQueueState = {}));
|
|
46747
|
-
var DraftQueueEventType;
|
|
46866
|
+
})(DraftQueueState$1 || (DraftQueueState$1 = {}));
|
|
46867
|
+
var DraftQueueEventType$1;
|
|
46748
46868
|
(function (DraftQueueEventType) {
|
|
46749
46869
|
/**
|
|
46750
46870
|
* Triggered after an action had been added to the queue
|
|
@@ -46774,13 +46894,13 @@
|
|
|
46774
46894
|
* Triggered after the Draft Queue state changes
|
|
46775
46895
|
*/
|
|
46776
46896
|
DraftQueueEventType["QueueStateChanged"] = "state";
|
|
46777
|
-
})(DraftQueueEventType || (DraftQueueEventType = {}));
|
|
46778
|
-
var QueueOperationType;
|
|
46897
|
+
})(DraftQueueEventType$1 || (DraftQueueEventType$1 = {}));
|
|
46898
|
+
var QueueOperationType$1;
|
|
46779
46899
|
(function (QueueOperationType) {
|
|
46780
46900
|
QueueOperationType["Add"] = "add";
|
|
46781
46901
|
QueueOperationType["Delete"] = "delete";
|
|
46782
46902
|
QueueOperationType["Update"] = "update";
|
|
46783
|
-
})(QueueOperationType || (QueueOperationType = {}));
|
|
46903
|
+
})(QueueOperationType$1 || (QueueOperationType$1 = {}));
|
|
46784
46904
|
|
|
46785
46905
|
class DraftSynthesisError extends Error {
|
|
46786
46906
|
constructor(message, errorType) {
|
|
@@ -46903,7 +47023,7 @@
|
|
|
46903
47023
|
/**
|
|
46904
47024
|
Use Math.random to generate v4 RFC4122 compliant uuid
|
|
46905
47025
|
*/
|
|
46906
|
-
function uuidv4() {
|
|
47026
|
+
function uuidv4$1() {
|
|
46907
47027
|
const uuid = [];
|
|
46908
47028
|
for (let i = 0; i < 32; i++) {
|
|
46909
47029
|
const random = (Math.random() * 16) | 0;
|
|
@@ -46948,7 +47068,7 @@
|
|
|
46948
47068
|
const dispatchResourceRequest = async function (resourceRequest, _context) {
|
|
46949
47069
|
const resourceRequestCopy = clone$1(resourceRequest);
|
|
46950
47070
|
resourceRequestCopy.headers = resourceRequestCopy.headers || {};
|
|
46951
|
-
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47071
|
+
resourceRequestCopy.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
46952
47072
|
// enable return extra fields for record creation and record update http call
|
|
46953
47073
|
if (resourceRequest.basePath === '/ui-api/records' &&
|
|
46954
47074
|
(resourceRequest.method === 'post' || resourceRequest.method === 'patch')) {
|
|
@@ -47052,26 +47172,26 @@
|
|
|
47052
47172
|
}
|
|
47053
47173
|
}
|
|
47054
47174
|
|
|
47055
|
-
var CustomActionResultType;
|
|
47175
|
+
var CustomActionResultType$1;
|
|
47056
47176
|
(function (CustomActionResultType) {
|
|
47057
47177
|
CustomActionResultType["SUCCESS"] = "SUCCESS";
|
|
47058
47178
|
CustomActionResultType["FAILURE"] = "FAILURE";
|
|
47059
|
-
})(CustomActionResultType || (CustomActionResultType = {}));
|
|
47060
|
-
var CustomActionErrorType;
|
|
47179
|
+
})(CustomActionResultType$1 || (CustomActionResultType$1 = {}));
|
|
47180
|
+
var CustomActionErrorType$1;
|
|
47061
47181
|
(function (CustomActionErrorType) {
|
|
47062
47182
|
CustomActionErrorType["NETWORK_ERROR"] = "NETWORK_ERROR";
|
|
47063
47183
|
CustomActionErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
47064
|
-
})(CustomActionErrorType || (CustomActionErrorType = {}));
|
|
47184
|
+
})(CustomActionErrorType$1 || (CustomActionErrorType$1 = {}));
|
|
47065
47185
|
function isCustomActionSuccess(result) {
|
|
47066
|
-
return result.type === CustomActionResultType.SUCCESS;
|
|
47186
|
+
return result.type === CustomActionResultType$1.SUCCESS;
|
|
47067
47187
|
}
|
|
47068
47188
|
function isCustomActionFailed(result) {
|
|
47069
|
-
return result.type === CustomActionResultType.FAILURE;
|
|
47189
|
+
return result.type === CustomActionResultType$1.FAILURE;
|
|
47070
47190
|
}
|
|
47071
47191
|
function customActionHandler(executor, id, draftQueue) {
|
|
47072
47192
|
const handle = (action, actionCompleted, actionErrored) => {
|
|
47073
47193
|
notifyCustomActionToExecute(action, actionCompleted, actionErrored);
|
|
47074
|
-
return Promise.resolve(ProcessActionResult.CUSTOM_ACTION_WAITING);
|
|
47194
|
+
return Promise.resolve(ProcessActionResult$1.CUSTOM_ACTION_WAITING);
|
|
47075
47195
|
};
|
|
47076
47196
|
const notifyCustomActionToExecute = (action, actionCompleted, actionErrored) => {
|
|
47077
47197
|
if (executor !== undefined) {
|
|
@@ -47082,16 +47202,16 @@
|
|
|
47082
47202
|
if (isCustomActionSuccess(result)) {
|
|
47083
47203
|
actionCompleted({
|
|
47084
47204
|
...action,
|
|
47085
|
-
status: DraftActionStatus.Completed,
|
|
47205
|
+
status: DraftActionStatus$1.Completed,
|
|
47086
47206
|
response: createOkResponse(undefined),
|
|
47087
47207
|
});
|
|
47088
47208
|
}
|
|
47089
47209
|
else if (isCustomActionFailed(result)) {
|
|
47090
47210
|
actionErrored({
|
|
47091
47211
|
...action,
|
|
47092
|
-
status: DraftActionStatus.Error,
|
|
47212
|
+
status: DraftActionStatus$1.Error,
|
|
47093
47213
|
error: result.error.message,
|
|
47094
|
-
}, result.error.type === CustomActionErrorType.NETWORK_ERROR);
|
|
47214
|
+
}, result.error.type === CustomActionErrorType$1.NETWORK_ERROR);
|
|
47095
47215
|
}
|
|
47096
47216
|
};
|
|
47097
47217
|
const buildPendingAction = (action, queue) => {
|
|
@@ -47100,7 +47220,7 @@
|
|
|
47100
47220
|
return Promise.resolve({
|
|
47101
47221
|
id,
|
|
47102
47222
|
targetId,
|
|
47103
|
-
status: DraftActionStatus.Pending,
|
|
47223
|
+
status: DraftActionStatus$1.Pending,
|
|
47104
47224
|
data,
|
|
47105
47225
|
tag,
|
|
47106
47226
|
timestamp: Date.now(),
|
|
@@ -47112,7 +47232,7 @@
|
|
|
47112
47232
|
const { id } = action;
|
|
47113
47233
|
const queueOperations = [];
|
|
47114
47234
|
queueOperations.push({
|
|
47115
|
-
type: QueueOperationType.Delete,
|
|
47235
|
+
type: QueueOperationType$1.Delete,
|
|
47116
47236
|
id: id,
|
|
47117
47237
|
});
|
|
47118
47238
|
return queueOperations;
|
|
@@ -47162,8 +47282,8 @@
|
|
|
47162
47282
|
this.minimumRetryInterval = 250;
|
|
47163
47283
|
this.maximumRetryInterval = 32000;
|
|
47164
47284
|
this.draftQueueChangedListeners = [];
|
|
47165
|
-
this.state = DraftQueueState.Stopped;
|
|
47166
|
-
this.userState = DraftQueueState.Stopped;
|
|
47285
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47286
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47167
47287
|
this.uploadingActionId = undefined;
|
|
47168
47288
|
this.timeoutHandler = undefined;
|
|
47169
47289
|
this.handlers = {};
|
|
@@ -47190,8 +47310,8 @@
|
|
|
47190
47310
|
return this.state;
|
|
47191
47311
|
}
|
|
47192
47312
|
async startQueue() {
|
|
47193
|
-
this.userState = DraftQueueState.Started;
|
|
47194
|
-
if (this.state === DraftQueueState.Started) {
|
|
47313
|
+
this.userState = DraftQueueState$1.Started;
|
|
47314
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47195
47315
|
// Do nothing if the queue state is already started
|
|
47196
47316
|
return;
|
|
47197
47317
|
}
|
|
@@ -47202,30 +47322,30 @@
|
|
|
47202
47322
|
return;
|
|
47203
47323
|
}
|
|
47204
47324
|
this.retryIntervalMilliseconds = 0;
|
|
47205
|
-
this.state = DraftQueueState.Started;
|
|
47325
|
+
this.state = DraftQueueState$1.Started;
|
|
47206
47326
|
await this.notifyChangedListeners({
|
|
47207
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47327
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47208
47328
|
state: this.state,
|
|
47209
47329
|
});
|
|
47210
47330
|
const result = await this.processNextAction();
|
|
47211
47331
|
switch (result) {
|
|
47212
|
-
case ProcessActionResult.BLOCKED_ON_ERROR:
|
|
47213
|
-
this.state = DraftQueueState.Error;
|
|
47332
|
+
case ProcessActionResult$1.BLOCKED_ON_ERROR:
|
|
47333
|
+
this.state = DraftQueueState$1.Error;
|
|
47214
47334
|
return Promise.reject();
|
|
47215
47335
|
default:
|
|
47216
47336
|
return Promise.resolve();
|
|
47217
47337
|
}
|
|
47218
47338
|
}
|
|
47219
47339
|
stopQueue() {
|
|
47220
|
-
this.userState = DraftQueueState.Stopped;
|
|
47221
|
-
if (this.state === DraftQueueState.Stopped) {
|
|
47340
|
+
this.userState = DraftQueueState$1.Stopped;
|
|
47341
|
+
if (this.state === DraftQueueState$1.Stopped) {
|
|
47222
47342
|
// Do nothing if the queue state is already stopped
|
|
47223
47343
|
return Promise.resolve();
|
|
47224
47344
|
}
|
|
47225
47345
|
this.stopQueueManually();
|
|
47226
47346
|
return this.notifyChangedListeners({
|
|
47227
|
-
type: DraftQueueEventType.QueueStateChanged,
|
|
47228
|
-
state: DraftQueueState.Stopped,
|
|
47347
|
+
type: DraftQueueEventType$1.QueueStateChanged,
|
|
47348
|
+
state: DraftQueueState$1.Stopped,
|
|
47229
47349
|
});
|
|
47230
47350
|
}
|
|
47231
47351
|
/**
|
|
@@ -47236,7 +47356,7 @@
|
|
|
47236
47356
|
clearTimeout(this.timeoutHandler);
|
|
47237
47357
|
this.timeoutHandler = undefined;
|
|
47238
47358
|
}
|
|
47239
|
-
this.state = DraftQueueState.Stopped;
|
|
47359
|
+
this.state = DraftQueueState$1.Stopped;
|
|
47240
47360
|
}
|
|
47241
47361
|
async getQueueActions() {
|
|
47242
47362
|
const drafts = (await this.draftStore.getAllDrafts());
|
|
@@ -47246,7 +47366,7 @@
|
|
|
47246
47366
|
}
|
|
47247
47367
|
drafts.forEach((draft) => {
|
|
47248
47368
|
if (draft.id === this.uploadingActionId) {
|
|
47249
|
-
draft.status = DraftActionStatus.Uploading;
|
|
47369
|
+
draft.status = DraftActionStatus$1.Uploading;
|
|
47250
47370
|
}
|
|
47251
47371
|
queue.push(draft);
|
|
47252
47372
|
});
|
|
@@ -47272,11 +47392,11 @@
|
|
|
47272
47392
|
await this.draftStore.writeAction(pendingAction);
|
|
47273
47393
|
queue = await this.getQueueActions();
|
|
47274
47394
|
await this.notifyChangedListeners({
|
|
47275
|
-
type: DraftQueueEventType.ActionAdded,
|
|
47395
|
+
type: DraftQueueEventType$1.ActionAdded,
|
|
47276
47396
|
action: pendingAction,
|
|
47277
47397
|
});
|
|
47278
47398
|
await handler.handleActionEnqueued(pendingAction, queue);
|
|
47279
|
-
if (this.state === DraftQueueState.Started) {
|
|
47399
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47280
47400
|
this.processNextAction();
|
|
47281
47401
|
}
|
|
47282
47402
|
const actionData = (await handler.getDataForAction(pendingAction));
|
|
@@ -47308,10 +47428,10 @@
|
|
|
47308
47428
|
this.retryIntervalMilliseconds = 0;
|
|
47309
47429
|
this.uploadingActionId = undefined;
|
|
47310
47430
|
await this.notifyChangedListeners({
|
|
47311
|
-
type: DraftQueueEventType.ActionCompleted,
|
|
47431
|
+
type: DraftQueueEventType$1.ActionCompleted,
|
|
47312
47432
|
action,
|
|
47313
47433
|
});
|
|
47314
|
-
if (this.state === DraftQueueState.Started) {
|
|
47434
|
+
if (this.state === DraftQueueState$1.Started) {
|
|
47315
47435
|
this.processNextAction();
|
|
47316
47436
|
}
|
|
47317
47437
|
},
|
|
@@ -47321,12 +47441,12 @@
|
|
|
47321
47441
|
if (actionDataChanged === true) {
|
|
47322
47442
|
await this.draftStore.writeAction({
|
|
47323
47443
|
...action,
|
|
47324
|
-
status: DraftActionStatus.Pending,
|
|
47444
|
+
status: DraftActionStatus$1.Pending,
|
|
47325
47445
|
});
|
|
47326
47446
|
}
|
|
47327
47447
|
this.uploadingActionId = undefined;
|
|
47328
|
-
if (retry && this.state !== DraftQueueState.Stopped) {
|
|
47329
|
-
this.state = DraftQueueState.Waiting;
|
|
47448
|
+
if (retry && this.state !== DraftQueueState$1.Stopped) {
|
|
47449
|
+
this.state = DraftQueueState$1.Waiting;
|
|
47330
47450
|
return retryDelayInMs !== undefined
|
|
47331
47451
|
? this.scheduleRetryWithSpecifiedDelay(retryDelayInMs)
|
|
47332
47452
|
: this.scheduleRetry();
|
|
@@ -47350,27 +47470,27 @@
|
|
|
47350
47470
|
const action = queue[0];
|
|
47351
47471
|
if (action === undefined) {
|
|
47352
47472
|
this.processingAction = undefined;
|
|
47353
|
-
return ProcessActionResult.NO_ACTION_TO_PROCESS;
|
|
47473
|
+
return ProcessActionResult$1.NO_ACTION_TO_PROCESS;
|
|
47354
47474
|
}
|
|
47355
47475
|
const { status, id } = action;
|
|
47356
|
-
if (status === DraftActionStatus.Error) {
|
|
47357
|
-
this.state = DraftQueueState.Error;
|
|
47476
|
+
if (status === DraftActionStatus$1.Error) {
|
|
47477
|
+
this.state = DraftQueueState$1.Error;
|
|
47358
47478
|
this.processingAction = undefined;
|
|
47359
|
-
return ProcessActionResult.BLOCKED_ON_ERROR;
|
|
47479
|
+
return ProcessActionResult$1.BLOCKED_ON_ERROR;
|
|
47360
47480
|
}
|
|
47361
47481
|
if (id === this.uploadingActionId) {
|
|
47362
|
-
this.state = DraftQueueState.Started;
|
|
47482
|
+
this.state = DraftQueueState$1.Started;
|
|
47363
47483
|
this.processingAction = undefined;
|
|
47364
|
-
return ProcessActionResult.ACTION_ALREADY_PROCESSING;
|
|
47484
|
+
return ProcessActionResult$1.ACTION_ALREADY_PROCESSING;
|
|
47365
47485
|
}
|
|
47366
47486
|
this.uploadingActionId = id;
|
|
47367
47487
|
this.processingAction = undefined;
|
|
47368
|
-
if (this.state === DraftQueueState.Waiting) {
|
|
47369
|
-
this.state = DraftQueueState.Started;
|
|
47488
|
+
if (this.state === DraftQueueState$1.Waiting) {
|
|
47489
|
+
this.state = DraftQueueState$1.Started;
|
|
47370
47490
|
}
|
|
47371
47491
|
this.notifyChangedListeners({
|
|
47372
|
-
type: DraftQueueEventType.ActionUploading,
|
|
47373
|
-
action: { ...action, status: DraftActionStatus.Uploading },
|
|
47492
|
+
type: DraftQueueEventType$1.ActionUploading,
|
|
47493
|
+
action: { ...action, status: DraftActionStatus$1.Uploading },
|
|
47374
47494
|
});
|
|
47375
47495
|
return this.handle(action);
|
|
47376
47496
|
}
|
|
@@ -47383,14 +47503,14 @@
|
|
|
47383
47503
|
}
|
|
47384
47504
|
const errorAction = {
|
|
47385
47505
|
...action,
|
|
47386
|
-
status: DraftActionStatus.Error,
|
|
47506
|
+
status: DraftActionStatus$1.Error,
|
|
47387
47507
|
error,
|
|
47388
47508
|
metadata: newMetadata,
|
|
47389
47509
|
};
|
|
47390
47510
|
await this.draftStore.writeAction(errorAction);
|
|
47391
|
-
this.state = DraftQueueState.Error;
|
|
47511
|
+
this.state = DraftQueueState$1.Error;
|
|
47392
47512
|
return this.notifyChangedListeners({
|
|
47393
|
-
type: DraftQueueEventType.ActionFailed,
|
|
47513
|
+
type: DraftQueueEventType$1.ActionFailed,
|
|
47394
47514
|
action: errorAction,
|
|
47395
47515
|
});
|
|
47396
47516
|
}
|
|
@@ -47409,7 +47529,7 @@
|
|
|
47409
47529
|
* started
|
|
47410
47530
|
*/
|
|
47411
47531
|
async startQueueSafe() {
|
|
47412
|
-
if (this.userState === DraftQueueState.Started && this.state !== DraftQueueState.Started) {
|
|
47532
|
+
if (this.userState === DraftQueueState$1.Started && this.state !== DraftQueueState$1.Started) {
|
|
47413
47533
|
await this.startQueue();
|
|
47414
47534
|
}
|
|
47415
47535
|
}
|
|
@@ -47436,11 +47556,11 @@
|
|
|
47436
47556
|
}
|
|
47437
47557
|
await handler.handleActionRemoved(action, queue.filter((x) => x.id !== actionId));
|
|
47438
47558
|
await this.notifyChangedListeners({
|
|
47439
|
-
type: DraftQueueEventType.ActionDeleted,
|
|
47559
|
+
type: DraftQueueEventType$1.ActionDeleted,
|
|
47440
47560
|
action,
|
|
47441
47561
|
});
|
|
47442
|
-
if (this.userState === DraftQueueState.Started &&
|
|
47443
|
-
this.state !== DraftQueueState.Started &&
|
|
47562
|
+
if (this.userState === DraftQueueState$1.Started &&
|
|
47563
|
+
this.state !== DraftQueueState$1.Started &&
|
|
47444
47564
|
this.replacingAction === undefined) {
|
|
47445
47565
|
await this.startQueue();
|
|
47446
47566
|
}
|
|
@@ -47470,14 +47590,14 @@
|
|
|
47470
47590
|
action.metadata = handler.updateMetadata(action.metadata, metadata);
|
|
47471
47591
|
await this.draftStore.writeAction(action);
|
|
47472
47592
|
await this.notifyChangedListeners({
|
|
47473
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47593
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47474
47594
|
action: action,
|
|
47475
47595
|
});
|
|
47476
47596
|
return action;
|
|
47477
47597
|
}
|
|
47478
47598
|
scheduleRetryWithSpecifiedDelay(retryDelayInMs) {
|
|
47479
47599
|
this.timeoutHandler = setTimeout(() => {
|
|
47480
|
-
if (this.state !== DraftQueueState.Stopped) {
|
|
47600
|
+
if (this.state !== DraftQueueState$1.Stopped) {
|
|
47481
47601
|
this.processNextAction();
|
|
47482
47602
|
}
|
|
47483
47603
|
}, retryDelayInMs);
|
|
@@ -47513,11 +47633,11 @@
|
|
|
47513
47633
|
if (targetTag !== sourceTag) {
|
|
47514
47634
|
throw Error('Cannot replace/merge actions for different tags.');
|
|
47515
47635
|
}
|
|
47516
|
-
if (targetStatus === DraftActionStatus.Completed ||
|
|
47517
|
-
targetStatus === DraftActionStatus.Uploading) {
|
|
47636
|
+
if (targetStatus === DraftActionStatus$1.Completed ||
|
|
47637
|
+
targetStatus === DraftActionStatus$1.Uploading) {
|
|
47518
47638
|
throw Error(`Cannot replace/merge actions when targetAction is in ${targetStatus} status.`);
|
|
47519
47639
|
}
|
|
47520
|
-
if (sourceStatus !== DraftActionStatus.Pending) {
|
|
47640
|
+
if (sourceStatus !== DraftActionStatus$1.Pending) {
|
|
47521
47641
|
throw Error(`Cannot replace/merge actions when sourceAction is in ${sourceStatus} status.`);
|
|
47522
47642
|
}
|
|
47523
47643
|
if (targetVersion !== sourceVersion) {
|
|
@@ -47547,7 +47667,7 @@
|
|
|
47547
47667
|
// update the target
|
|
47548
47668
|
await this.draftStore.writeAction(updatedTarget);
|
|
47549
47669
|
await this.notifyChangedListeners({
|
|
47550
|
-
type: DraftQueueEventType.ActionUpdated,
|
|
47670
|
+
type: DraftQueueEventType$1.ActionUpdated,
|
|
47551
47671
|
action: updatedTarget,
|
|
47552
47672
|
});
|
|
47553
47673
|
// remove the source from queue
|
|
@@ -47646,7 +47766,7 @@
|
|
|
47646
47766
|
const { draftStore } = this;
|
|
47647
47767
|
for (let i = 0, len = queueOperations.length; i < len; i++) {
|
|
47648
47768
|
const operation = queueOperations[i];
|
|
47649
|
-
if (operation.type === QueueOperationType.Delete) {
|
|
47769
|
+
if (operation.type === QueueOperationType$1.Delete) {
|
|
47650
47770
|
const action = draftStore[operation.id];
|
|
47651
47771
|
if (action !== undefined) {
|
|
47652
47772
|
delete draftStore[operation.id];
|
|
@@ -47783,9 +47903,9 @@
|
|
|
47783
47903
|
await actionCompleted({
|
|
47784
47904
|
...action,
|
|
47785
47905
|
response,
|
|
47786
|
-
status: DraftActionStatus.Completed,
|
|
47906
|
+
status: DraftActionStatus$1.Completed,
|
|
47787
47907
|
});
|
|
47788
|
-
return ProcessActionResult.ACTION_SUCCEEDED;
|
|
47908
|
+
return ProcessActionResult$1.ACTION_SUCCEEDED;
|
|
47789
47909
|
}
|
|
47790
47910
|
let shouldRetry = false;
|
|
47791
47911
|
let retryDelayInMs = undefined;
|
|
@@ -47806,7 +47926,7 @@
|
|
|
47806
47926
|
const errorCode = response.body[0].errorCode;
|
|
47807
47927
|
if (errorCode === ERROR_CODE_IDEMPOTENCY_KEY_USED_DIFFERENT_USER) {
|
|
47808
47928
|
updatedAction.data.headers = updatedAction.data.headers || {};
|
|
47809
|
-
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4();
|
|
47929
|
+
updatedAction.data.headers[HTTP_HEADER_IDEMPOTENCY_KEY] = uuidv4$1();
|
|
47810
47930
|
retryDelayInMs = 0;
|
|
47811
47931
|
actionDataChanged = true;
|
|
47812
47932
|
}
|
|
@@ -47823,13 +47943,13 @@
|
|
|
47823
47943
|
: {
|
|
47824
47944
|
...updatedAction,
|
|
47825
47945
|
error: response,
|
|
47826
|
-
status: DraftActionStatus.Error,
|
|
47946
|
+
status: DraftActionStatus$1.Error,
|
|
47827
47947
|
}, shouldRetry, retryDelayInMs, actionDataChanged);
|
|
47828
|
-
return ProcessActionResult.ACTION_ERRORED;
|
|
47948
|
+
return ProcessActionResult$1.ACTION_ERRORED;
|
|
47829
47949
|
}
|
|
47830
47950
|
catch (e) {
|
|
47831
47951
|
await actionErrored(action, true);
|
|
47832
|
-
return ProcessActionResult.NETWORK_ERROR;
|
|
47952
|
+
return ProcessActionResult$1.NETWORK_ERROR;
|
|
47833
47953
|
}
|
|
47834
47954
|
}
|
|
47835
47955
|
async buildPendingAction(request, queue) {
|
|
@@ -47847,7 +47967,7 @@
|
|
|
47847
47967
|
targetId,
|
|
47848
47968
|
tag,
|
|
47849
47969
|
data: request,
|
|
47850
|
-
status: DraftActionStatus.Pending,
|
|
47970
|
+
status: DraftActionStatus$1.Pending,
|
|
47851
47971
|
id: generateUniqueDraftActionId(queue.map((x) => x.id)),
|
|
47852
47972
|
timestamp: Date.now(),
|
|
47853
47973
|
metadata: {},
|
|
@@ -47913,11 +48033,11 @@
|
|
|
47913
48033
|
};
|
|
47914
48034
|
// item needs to be replaced with a new item at the new record key
|
|
47915
48035
|
queueOperations.push({
|
|
47916
|
-
type: QueueOperationType.Delete,
|
|
48036
|
+
type: QueueOperationType$1.Delete,
|
|
47917
48037
|
id: queueActionId,
|
|
47918
48038
|
});
|
|
47919
48039
|
queueOperations.push({
|
|
47920
|
-
type: QueueOperationType.Add,
|
|
48040
|
+
type: QueueOperationType$1.Add,
|
|
47921
48041
|
action: updatedAction,
|
|
47922
48042
|
});
|
|
47923
48043
|
}
|
|
@@ -47932,7 +48052,7 @@
|
|
|
47932
48052
|
};
|
|
47933
48053
|
// item needs to be updated
|
|
47934
48054
|
queueOperations.push({
|
|
47935
|
-
type: QueueOperationType.Update,
|
|
48055
|
+
type: QueueOperationType$1.Update,
|
|
47936
48056
|
id: queueActionId,
|
|
47937
48057
|
action: updatedAction,
|
|
47938
48058
|
});
|
|
@@ -47943,7 +48063,7 @@
|
|
|
47943
48063
|
}
|
|
47944
48064
|
// delete completed action
|
|
47945
48065
|
queueOperations.push({
|
|
47946
|
-
type: QueueOperationType.Delete,
|
|
48066
|
+
type: QueueOperationType$1.Delete,
|
|
47947
48067
|
id: action.id,
|
|
47948
48068
|
});
|
|
47949
48069
|
return queueOperations;
|
|
@@ -47979,7 +48099,7 @@
|
|
|
47979
48099
|
synchronousIngest: this.synchronousIngest.bind(this),
|
|
47980
48100
|
buildCacheKeysForResponse: this.buildCacheKeysFromResponse.bind(this),
|
|
47981
48101
|
});
|
|
47982
|
-
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType.Update);
|
|
48102
|
+
const recordsNeedingReplay = queueOperations.filter((x) => x.type === QueueOperationType$1.Update);
|
|
47983
48103
|
for (const recordNeedingReplay of recordsNeedingReplay) {
|
|
47984
48104
|
const { action } = recordNeedingReplay;
|
|
47985
48105
|
if (isResourceRequestAction(action)) {
|
|
@@ -48007,7 +48127,7 @@
|
|
|
48007
48127
|
}
|
|
48008
48128
|
if (this.isActionOfType(targetAction) &&
|
|
48009
48129
|
this.isActionOfType(sourceAction)) {
|
|
48010
|
-
targetAction.status = DraftActionStatus.Pending;
|
|
48130
|
+
targetAction.status = DraftActionStatus$1.Pending;
|
|
48011
48131
|
targetAction.data = sourceAction.data;
|
|
48012
48132
|
return targetAction;
|
|
48013
48133
|
}
|
|
@@ -48045,7 +48165,7 @@
|
|
|
48045
48165
|
// overlay metadata
|
|
48046
48166
|
merged.metadata = { ...targetMetadata, ...sourceMetadata };
|
|
48047
48167
|
// put status back to pending to auto upload if queue is active and targed is at the head.
|
|
48048
|
-
merged.status = DraftActionStatus.Pending;
|
|
48168
|
+
merged.status = DraftActionStatus$1.Pending;
|
|
48049
48169
|
return merged;
|
|
48050
48170
|
}
|
|
48051
48171
|
shouldDeleteActionByTagOnRemoval(action) {
|
|
@@ -48081,7 +48201,7 @@
|
|
|
48081
48201
|
async ingestResponses(responses, action) {
|
|
48082
48202
|
const luvio = this.getLuvio();
|
|
48083
48203
|
await luvio.handleSuccessResponse(() => {
|
|
48084
|
-
if (action.status === DraftActionStatus.Completed) {
|
|
48204
|
+
if (action.status === DraftActionStatus$1.Completed) {
|
|
48085
48205
|
const mappings = this.getRedirectMappings(action);
|
|
48086
48206
|
if (mappings) {
|
|
48087
48207
|
mappings.forEach((mapping) => {
|
|
@@ -48136,14 +48256,14 @@
|
|
|
48136
48256
|
/**
|
|
48137
48257
|
* Denotes what kind of operation a DraftQueueItem represents.
|
|
48138
48258
|
*/
|
|
48139
|
-
var DraftActionOperationType;
|
|
48259
|
+
var DraftActionOperationType$1;
|
|
48140
48260
|
(function (DraftActionOperationType) {
|
|
48141
48261
|
DraftActionOperationType["Create"] = "create";
|
|
48142
48262
|
DraftActionOperationType["Update"] = "update";
|
|
48143
48263
|
DraftActionOperationType["Delete"] = "delete";
|
|
48144
48264
|
DraftActionOperationType["Custom"] = "custom";
|
|
48145
|
-
})(DraftActionOperationType || (DraftActionOperationType = {}));
|
|
48146
|
-
var DraftQueueOperationType;
|
|
48265
|
+
})(DraftActionOperationType$1 || (DraftActionOperationType$1 = {}));
|
|
48266
|
+
var DraftQueueOperationType$1;
|
|
48147
48267
|
(function (DraftQueueOperationType) {
|
|
48148
48268
|
DraftQueueOperationType["ItemAdded"] = "added";
|
|
48149
48269
|
DraftQueueOperationType["ItemUploading"] = "uploading";
|
|
@@ -48153,7 +48273,7 @@
|
|
|
48153
48273
|
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
48154
48274
|
DraftQueueOperationType["QueueStarted"] = "started";
|
|
48155
48275
|
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
48156
|
-
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
48276
|
+
})(DraftQueueOperationType$1 || (DraftQueueOperationType$1 = {}));
|
|
48157
48277
|
/**
|
|
48158
48278
|
* Converts the internal DraftAction's ResourceRequest into
|
|
48159
48279
|
* a DraftActionOperationType.
|
|
@@ -48167,11 +48287,11 @@
|
|
|
48167
48287
|
switch (action.data.method) {
|
|
48168
48288
|
case 'put':
|
|
48169
48289
|
case 'patch':
|
|
48170
|
-
return DraftActionOperationType.Update;
|
|
48290
|
+
return DraftActionOperationType$1.Update;
|
|
48171
48291
|
case 'post':
|
|
48172
|
-
return DraftActionOperationType.Create;
|
|
48292
|
+
return DraftActionOperationType$1.Create;
|
|
48173
48293
|
case 'delete':
|
|
48174
|
-
return DraftActionOperationType.Delete;
|
|
48294
|
+
return DraftActionOperationType$1.Delete;
|
|
48175
48295
|
default:
|
|
48176
48296
|
// eslint-disable-next-line @salesforce/lds/no-error-in-production
|
|
48177
48297
|
throw new Error(`${action.data.method} is an unsupported request method type for DraftQueue.`);
|
|
@@ -48183,7 +48303,7 @@
|
|
|
48183
48303
|
}
|
|
48184
48304
|
}
|
|
48185
48305
|
else {
|
|
48186
|
-
return DraftActionOperationType.Custom;
|
|
48306
|
+
return DraftActionOperationType$1.Custom;
|
|
48187
48307
|
}
|
|
48188
48308
|
}
|
|
48189
48309
|
function toQueueState(queue) {
|
|
@@ -48198,13 +48318,13 @@
|
|
|
48198
48318
|
constructor(draftQueue) {
|
|
48199
48319
|
this.listeners = [];
|
|
48200
48320
|
this.draftEventsShouldBeEmitted = [
|
|
48201
|
-
DraftQueueEventType.ActionAdded,
|
|
48202
|
-
DraftQueueEventType.ActionUploading,
|
|
48203
|
-
DraftQueueEventType.ActionCompleted,
|
|
48204
|
-
DraftQueueEventType.ActionDeleted,
|
|
48205
|
-
DraftQueueEventType.ActionFailed,
|
|
48206
|
-
DraftQueueEventType.ActionUpdated,
|
|
48207
|
-
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,
|
|
48208
48328
|
];
|
|
48209
48329
|
this.draftQueue = draftQueue;
|
|
48210
48330
|
draftQueue.registerOnChangedListener((event) => {
|
|
@@ -48216,28 +48336,28 @@
|
|
|
48216
48336
|
}
|
|
48217
48337
|
draftQueueEventTypeToOperationType(type) {
|
|
48218
48338
|
switch (type) {
|
|
48219
|
-
case DraftQueueEventType.ActionAdded:
|
|
48220
|
-
return DraftQueueOperationType.ItemAdded;
|
|
48221
|
-
case DraftQueueEventType.ActionUploading:
|
|
48222
|
-
return DraftQueueOperationType.ItemUploading;
|
|
48223
|
-
case DraftQueueEventType.ActionCompleted:
|
|
48224
|
-
return DraftQueueOperationType.ItemCompleted;
|
|
48225
|
-
case DraftQueueEventType.ActionDeleted:
|
|
48226
|
-
return DraftQueueOperationType.ItemDeleted;
|
|
48227
|
-
case DraftQueueEventType.ActionFailed:
|
|
48228
|
-
return DraftQueueOperationType.ItemFailed;
|
|
48229
|
-
case DraftQueueEventType.ActionUpdated:
|
|
48230
|
-
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;
|
|
48231
48351
|
default:
|
|
48232
48352
|
throw Error('Unsupported event type');
|
|
48233
48353
|
}
|
|
48234
48354
|
}
|
|
48235
48355
|
draftQueueStateToOperationType(state) {
|
|
48236
48356
|
switch (state) {
|
|
48237
|
-
case DraftQueueState.Started:
|
|
48238
|
-
return DraftQueueOperationType.QueueStarted;
|
|
48239
|
-
case DraftQueueState.Stopped:
|
|
48240
|
-
return DraftQueueOperationType.QueueStopped;
|
|
48357
|
+
case DraftQueueState$1.Started:
|
|
48358
|
+
return DraftQueueOperationType$1.QueueStarted;
|
|
48359
|
+
case DraftQueueState$1.Stopped:
|
|
48360
|
+
return DraftQueueOperationType$1.QueueStopped;
|
|
48241
48361
|
default:
|
|
48242
48362
|
throw Error('Unsupported event type');
|
|
48243
48363
|
}
|
|
@@ -54204,30 +54324,36 @@
|
|
|
54204
54324
|
const operationsWithDenormedRecords = [];
|
|
54205
54325
|
for (let i = 0, len = operations.length; i < len; i++) {
|
|
54206
54326
|
const operation = operations[i];
|
|
54207
|
-
if (
|
|
54208
|
-
|
|
54209
|
-
|
|
54210
|
-
if (
|
|
54211
|
-
|
|
54212
|
-
|
|
54213
|
-
|
|
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
|
+
}
|
|
54214
54346
|
}
|
|
54215
|
-
|
|
54216
|
-
...operation,
|
|
54217
|
-
entries: denormalizeEntries(operation.entries),
|
|
54218
|
-
});
|
|
54347
|
+
continue;
|
|
54219
54348
|
}
|
|
54220
|
-
|
|
54221
|
-
|
|
54222
|
-
|
|
54223
|
-
operationsWithDenormedRecords.push(operation);
|
|
54224
|
-
continue;
|
|
54225
|
-
}
|
|
54226
|
-
operationsWithDenormedRecords.push({
|
|
54227
|
-
...operation,
|
|
54228
|
-
entries: denormalizeEntries(operation.entries),
|
|
54229
|
-
});
|
|
54349
|
+
if (operation.segment !== DefaultDurableSegment || operation.type === 'evictEntries') {
|
|
54350
|
+
operationsWithDenormedRecords.push(operation);
|
|
54351
|
+
continue;
|
|
54230
54352
|
}
|
|
54353
|
+
operationsWithDenormedRecords.push({
|
|
54354
|
+
...operation,
|
|
54355
|
+
entries: denormalizeEntries(operation.entries),
|
|
54356
|
+
});
|
|
54231
54357
|
}
|
|
54232
54358
|
return durableStore.batchOperations(operationsWithDenormedRecords);
|
|
54233
54359
|
};
|
|
@@ -56483,29 +56609,29 @@
|
|
|
56483
56609
|
function instrumentDraftQueue(queue) {
|
|
56484
56610
|
queue.registerOnChangedListener((draftQueueEvent) => {
|
|
56485
56611
|
switch (draftQueueEvent.type) {
|
|
56486
|
-
case DraftQueueEventType.QueueStateChanged:
|
|
56612
|
+
case DraftQueueEventType$1.QueueStateChanged:
|
|
56487
56613
|
switch (draftQueueEvent.state) {
|
|
56488
|
-
case DraftQueueState.Error:
|
|
56614
|
+
case DraftQueueState$1.Error:
|
|
56489
56615
|
break;
|
|
56490
|
-
case DraftQueueState.Started:
|
|
56616
|
+
case DraftQueueState$1.Started:
|
|
56491
56617
|
break;
|
|
56492
|
-
case DraftQueueState.Stopped:
|
|
56618
|
+
case DraftQueueState$1.Stopped:
|
|
56493
56619
|
break;
|
|
56494
|
-
case DraftQueueState.Waiting:
|
|
56620
|
+
case DraftQueueState$1.Waiting:
|
|
56495
56621
|
break;
|
|
56496
56622
|
}
|
|
56497
56623
|
break;
|
|
56498
|
-
case DraftQueueEventType.ActionAdded:
|
|
56624
|
+
case DraftQueueEventType$1.ActionAdded:
|
|
56499
56625
|
break;
|
|
56500
|
-
case DraftQueueEventType.ActionUploading:
|
|
56626
|
+
case DraftQueueEventType$1.ActionUploading:
|
|
56501
56627
|
break;
|
|
56502
|
-
case DraftQueueEventType.ActionCompleted:
|
|
56628
|
+
case DraftQueueEventType$1.ActionCompleted:
|
|
56503
56629
|
break;
|
|
56504
|
-
case DraftQueueEventType.ActionDeleted:
|
|
56630
|
+
case DraftQueueEventType$1.ActionDeleted:
|
|
56505
56631
|
break;
|
|
56506
|
-
case DraftQueueEventType.ActionFailed:
|
|
56632
|
+
case DraftQueueEventType$1.ActionFailed:
|
|
56507
56633
|
break;
|
|
56508
|
-
case DraftQueueEventType.ActionUpdated:
|
|
56634
|
+
case DraftQueueEventType$1.ActionUpdated:
|
|
56509
56635
|
break;
|
|
56510
56636
|
}
|
|
56511
56637
|
return Promise.resolve();
|
|
@@ -58264,11 +58390,11 @@
|
|
|
58264
58390
|
}
|
|
58265
58391
|
const luvio = this.getLuvio();
|
|
58266
58392
|
const ingestionTimestamp = Date.now();
|
|
58267
|
-
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$
|
|
58393
|
+
const ttlOverride = await luvio.storeGetTTLOverride(keyPrefix$2, RepresentationType$O);
|
|
58268
58394
|
const metadata = {
|
|
58269
58395
|
ingestionTimestamp,
|
|
58270
58396
|
expirationTimestamp: (ttlOverride !== null && ttlOverride !== void 0 ? ttlOverride : TTL$w) + ingestionTimestamp,
|
|
58271
|
-
namespace: keyPrefix$
|
|
58397
|
+
namespace: keyPrefix$2,
|
|
58272
58398
|
representationName: RepresentationType$O,
|
|
58273
58399
|
metadataVersion: DURABLE_METADATA_VERSION,
|
|
58274
58400
|
version: VERSION$1a$1,
|
|
@@ -58677,6 +58803,7 @@
|
|
|
58677
58803
|
getRecords: lazyGetRecords,
|
|
58678
58804
|
});
|
|
58679
58805
|
},
|
|
58806
|
+
nimbusSqliteStore: lazyBaseDurableStore,
|
|
58680
58807
|
};
|
|
58681
58808
|
}
|
|
58682
58809
|
|
|
@@ -58691,7 +58818,7 @@
|
|
|
58691
58818
|
id: '@salesforce/lds-network-adapter',
|
|
58692
58819
|
instrument: instrument$2,
|
|
58693
58820
|
});
|
|
58694
|
-
// version: 1.
|
|
58821
|
+
// version: 1.245.0-0ea124370
|
|
58695
58822
|
|
|
58696
58823
|
const { create: create$3, keys: keys$3 } = Object;
|
|
58697
58824
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -59225,7 +59352,7 @@
|
|
|
59225
59352
|
}
|
|
59226
59353
|
};
|
|
59227
59354
|
}
|
|
59228
|
-
const keyPrefix = 'UiApi';
|
|
59355
|
+
const keyPrefix$1 = 'UiApi';
|
|
59229
59356
|
|
|
59230
59357
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
59231
59358
|
function equalsObject(a, b, equalsProp) {
|
|
@@ -59480,7 +59607,7 @@
|
|
|
59480
59607
|
mergeData: mergeData$12,
|
|
59481
59608
|
storeMetadataParams: {
|
|
59482
59609
|
ttl: TTL$1,
|
|
59483
|
-
namespace: keyPrefix,
|
|
59610
|
+
namespace: keyPrefix$1,
|
|
59484
59611
|
representationName: "DoubleValue",
|
|
59485
59612
|
version: VERSION$1d
|
|
59486
59613
|
},
|
|
@@ -59531,7 +59658,7 @@
|
|
|
59531
59658
|
const { path, data, luvio } = state;
|
|
59532
59659
|
const rootKey = keyBuilder$17(luvio, path);
|
|
59533
59660
|
cacheKeySink.set(rootKey, {
|
|
59534
|
-
namespace: keyPrefix,
|
|
59661
|
+
namespace: keyPrefix$1,
|
|
59535
59662
|
mergeable: true,
|
|
59536
59663
|
representationName: name$12
|
|
59537
59664
|
});
|
|
@@ -59622,7 +59749,7 @@
|
|
|
59622
59749
|
mergeData: mergeData$11,
|
|
59623
59750
|
storeMetadataParams: {
|
|
59624
59751
|
ttl: TTL$1,
|
|
59625
|
-
namespace: keyPrefix,
|
|
59752
|
+
namespace: keyPrefix$1,
|
|
59626
59753
|
representationName: "LongValue",
|
|
59627
59754
|
version: VERSION$1c
|
|
59628
59755
|
},
|
|
@@ -59673,7 +59800,7 @@
|
|
|
59673
59800
|
const { path, data, luvio } = state;
|
|
59674
59801
|
const rootKey = keyBuilder$16(luvio, path);
|
|
59675
59802
|
cacheKeySink.set(rootKey, {
|
|
59676
|
-
namespace: keyPrefix,
|
|
59803
|
+
namespace: keyPrefix$1,
|
|
59677
59804
|
mergeable: true,
|
|
59678
59805
|
representationName: name$11
|
|
59679
59806
|
});
|
|
@@ -59764,7 +59891,7 @@
|
|
|
59764
59891
|
mergeData: mergeData$10,
|
|
59765
59892
|
storeMetadataParams: {
|
|
59766
59893
|
ttl: TTL$1,
|
|
59767
|
-
namespace: keyPrefix,
|
|
59894
|
+
namespace: keyPrefix$1,
|
|
59768
59895
|
representationName: "PercentValue",
|
|
59769
59896
|
version: VERSION$1b
|
|
59770
59897
|
},
|
|
@@ -59815,7 +59942,7 @@
|
|
|
59815
59942
|
const { path, data, luvio } = state;
|
|
59816
59943
|
const rootKey = keyBuilder$15(luvio, path);
|
|
59817
59944
|
cacheKeySink.set(rootKey, {
|
|
59818
|
-
namespace: keyPrefix,
|
|
59945
|
+
namespace: keyPrefix$1,
|
|
59819
59946
|
mergeable: true,
|
|
59820
59947
|
representationName: name$10
|
|
59821
59948
|
});
|
|
@@ -59906,7 +60033,7 @@
|
|
|
59906
60033
|
mergeData: mergeData$$,
|
|
59907
60034
|
storeMetadataParams: {
|
|
59908
60035
|
ttl: TTL$1,
|
|
59909
|
-
namespace: keyPrefix,
|
|
60036
|
+
namespace: keyPrefix$1,
|
|
59910
60037
|
representationName: "PercentAggregate",
|
|
59911
60038
|
version: VERSION$1a
|
|
59912
60039
|
},
|
|
@@ -59981,7 +60108,7 @@
|
|
|
59981
60108
|
const { path, data, luvio } = state;
|
|
59982
60109
|
const rootKey = keyBuilder$14(luvio, path);
|
|
59983
60110
|
cacheKeySink.set(rootKey, {
|
|
59984
|
-
namespace: keyPrefix,
|
|
60111
|
+
namespace: keyPrefix$1,
|
|
59985
60112
|
mergeable: true,
|
|
59986
60113
|
representationName: name$$
|
|
59987
60114
|
});
|
|
@@ -60168,7 +60295,7 @@
|
|
|
60168
60295
|
mergeData: mergeData$_,
|
|
60169
60296
|
storeMetadataParams: {
|
|
60170
60297
|
ttl: TTL$1,
|
|
60171
|
-
namespace: keyPrefix,
|
|
60298
|
+
namespace: keyPrefix$1,
|
|
60172
60299
|
representationName: "IntValue",
|
|
60173
60300
|
version: VERSION$19
|
|
60174
60301
|
},
|
|
@@ -60219,7 +60346,7 @@
|
|
|
60219
60346
|
const { path, data, luvio } = state;
|
|
60220
60347
|
const rootKey = keyBuilder$13(luvio, path);
|
|
60221
60348
|
cacheKeySink.set(rootKey, {
|
|
60222
|
-
namespace: keyPrefix,
|
|
60349
|
+
namespace: keyPrefix$1,
|
|
60223
60350
|
mergeable: true,
|
|
60224
60351
|
representationName: name$_
|
|
60225
60352
|
});
|
|
@@ -60310,7 +60437,7 @@
|
|
|
60310
60437
|
mergeData: mergeData$Z,
|
|
60311
60438
|
storeMetadataParams: {
|
|
60312
60439
|
ttl: TTL$1,
|
|
60313
|
-
namespace: keyPrefix,
|
|
60440
|
+
namespace: keyPrefix$1,
|
|
60314
60441
|
representationName: "StringValue",
|
|
60315
60442
|
version: VERSION$18
|
|
60316
60443
|
},
|
|
@@ -60356,7 +60483,7 @@
|
|
|
60356
60483
|
const { path, data, luvio } = state;
|
|
60357
60484
|
const rootKey = keyBuilder$12(luvio, path);
|
|
60358
60485
|
cacheKeySink.set(rootKey, {
|
|
60359
|
-
namespace: keyPrefix,
|
|
60486
|
+
namespace: keyPrefix$1,
|
|
60360
60487
|
mergeable: true,
|
|
60361
60488
|
representationName: name$Z
|
|
60362
60489
|
});
|
|
@@ -60443,7 +60570,7 @@
|
|
|
60443
60570
|
mergeData: mergeData$Y,
|
|
60444
60571
|
storeMetadataParams: {
|
|
60445
60572
|
ttl: TTL$1,
|
|
60446
|
-
namespace: keyPrefix,
|
|
60573
|
+
namespace: keyPrefix$1,
|
|
60447
60574
|
representationName: "StringAggregate",
|
|
60448
60575
|
version: VERSION$17
|
|
60449
60576
|
},
|
|
@@ -60513,7 +60640,7 @@
|
|
|
60513
60640
|
const { path, data, luvio } = state;
|
|
60514
60641
|
const rootKey = keyBuilder$11(luvio, path);
|
|
60515
60642
|
cacheKeySink.set(rootKey, {
|
|
60516
|
-
namespace: keyPrefix,
|
|
60643
|
+
namespace: keyPrefix$1,
|
|
60517
60644
|
mergeable: true,
|
|
60518
60645
|
representationName: name$Y
|
|
60519
60646
|
});
|
|
@@ -60685,7 +60812,7 @@
|
|
|
60685
60812
|
mergeData: mergeData$X,
|
|
60686
60813
|
storeMetadataParams: {
|
|
60687
60814
|
ttl: TTL$1,
|
|
60688
|
-
namespace: keyPrefix,
|
|
60815
|
+
namespace: keyPrefix$1,
|
|
60689
60816
|
representationName: "IDValue",
|
|
60690
60817
|
version: VERSION$16
|
|
60691
60818
|
},
|
|
@@ -60736,7 +60863,7 @@
|
|
|
60736
60863
|
const { path, data, luvio } = state;
|
|
60737
60864
|
const rootKey = keyBuilder$10(luvio, path);
|
|
60738
60865
|
cacheKeySink.set(rootKey, {
|
|
60739
|
-
namespace: keyPrefix,
|
|
60866
|
+
namespace: keyPrefix$1,
|
|
60740
60867
|
mergeable: true,
|
|
60741
60868
|
representationName: name$X
|
|
60742
60869
|
});
|
|
@@ -60821,7 +60948,7 @@
|
|
|
60821
60948
|
mergeData: mergeData$W,
|
|
60822
60949
|
storeMetadataParams: {
|
|
60823
60950
|
ttl: TTL$1,
|
|
60824
|
-
namespace: keyPrefix,
|
|
60951
|
+
namespace: keyPrefix$1,
|
|
60825
60952
|
representationName: "DateTimeValue",
|
|
60826
60953
|
version: VERSION$15
|
|
60827
60954
|
},
|
|
@@ -60872,7 +60999,7 @@
|
|
|
60872
60999
|
const { path, data, luvio } = state;
|
|
60873
61000
|
const rootKey = keyBuilder$$(luvio, path);
|
|
60874
61001
|
cacheKeySink.set(rootKey, {
|
|
60875
|
-
namespace: keyPrefix,
|
|
61002
|
+
namespace: keyPrefix$1,
|
|
60876
61003
|
mergeable: true,
|
|
60877
61004
|
representationName: name$W
|
|
60878
61005
|
});
|
|
@@ -60963,7 +61090,7 @@
|
|
|
60963
61090
|
mergeData: mergeData$V,
|
|
60964
61091
|
storeMetadataParams: {
|
|
60965
61092
|
ttl: TTL$1,
|
|
60966
|
-
namespace: keyPrefix,
|
|
61093
|
+
namespace: keyPrefix$1,
|
|
60967
61094
|
representationName: "BooleanValue",
|
|
60968
61095
|
version: VERSION$14
|
|
60969
61096
|
},
|
|
@@ -61014,7 +61141,7 @@
|
|
|
61014
61141
|
const { path, data, luvio } = state;
|
|
61015
61142
|
const rootKey = keyBuilder$_(luvio, path);
|
|
61016
61143
|
cacheKeySink.set(rootKey, {
|
|
61017
|
-
namespace: keyPrefix,
|
|
61144
|
+
namespace: keyPrefix$1,
|
|
61018
61145
|
mergeable: true,
|
|
61019
61146
|
representationName: name$V
|
|
61020
61147
|
});
|
|
@@ -61099,7 +61226,7 @@
|
|
|
61099
61226
|
mergeData: mergeData$U,
|
|
61100
61227
|
storeMetadataParams: {
|
|
61101
61228
|
ttl: TTL$1,
|
|
61102
|
-
namespace: keyPrefix,
|
|
61229
|
+
namespace: keyPrefix$1,
|
|
61103
61230
|
representationName: "TimeValue",
|
|
61104
61231
|
version: VERSION$13
|
|
61105
61232
|
},
|
|
@@ -61150,7 +61277,7 @@
|
|
|
61150
61277
|
const { path, data, luvio } = state;
|
|
61151
61278
|
const rootKey = keyBuilder$Z(luvio, path);
|
|
61152
61279
|
cacheKeySink.set(rootKey, {
|
|
61153
|
-
namespace: keyPrefix,
|
|
61280
|
+
namespace: keyPrefix$1,
|
|
61154
61281
|
mergeable: true,
|
|
61155
61282
|
representationName: name$U
|
|
61156
61283
|
});
|
|
@@ -61241,7 +61368,7 @@
|
|
|
61241
61368
|
mergeData: mergeData$T,
|
|
61242
61369
|
storeMetadataParams: {
|
|
61243
61370
|
ttl: TTL$1,
|
|
61244
|
-
namespace: keyPrefix,
|
|
61371
|
+
namespace: keyPrefix$1,
|
|
61245
61372
|
representationName: "DateValue",
|
|
61246
61373
|
version: VERSION$12
|
|
61247
61374
|
},
|
|
@@ -61292,7 +61419,7 @@
|
|
|
61292
61419
|
const { path, data, luvio } = state;
|
|
61293
61420
|
const rootKey = keyBuilder$Y(luvio, path);
|
|
61294
61421
|
cacheKeySink.set(rootKey, {
|
|
61295
|
-
namespace: keyPrefix,
|
|
61422
|
+
namespace: keyPrefix$1,
|
|
61296
61423
|
mergeable: true,
|
|
61297
61424
|
representationName: name$T
|
|
61298
61425
|
});
|
|
@@ -61383,7 +61510,7 @@
|
|
|
61383
61510
|
mergeData: mergeData$S,
|
|
61384
61511
|
storeMetadataParams: {
|
|
61385
61512
|
ttl: TTL$1,
|
|
61386
|
-
namespace: keyPrefix,
|
|
61513
|
+
namespace: keyPrefix$1,
|
|
61387
61514
|
representationName: "TextAreaValue",
|
|
61388
61515
|
version: VERSION$11
|
|
61389
61516
|
},
|
|
@@ -61434,7 +61561,7 @@
|
|
|
61434
61561
|
const { path, data, luvio } = state;
|
|
61435
61562
|
const rootKey = keyBuilder$X(luvio, path);
|
|
61436
61563
|
cacheKeySink.set(rootKey, {
|
|
61437
|
-
namespace: keyPrefix,
|
|
61564
|
+
namespace: keyPrefix$1,
|
|
61438
61565
|
mergeable: true,
|
|
61439
61566
|
representationName: name$S
|
|
61440
61567
|
});
|
|
@@ -61519,7 +61646,7 @@
|
|
|
61519
61646
|
mergeData: mergeData$R,
|
|
61520
61647
|
storeMetadataParams: {
|
|
61521
61648
|
ttl: TTL$1,
|
|
61522
|
-
namespace: keyPrefix,
|
|
61649
|
+
namespace: keyPrefix$1,
|
|
61523
61650
|
representationName: "LongTextAreaValue",
|
|
61524
61651
|
version: VERSION$10
|
|
61525
61652
|
},
|
|
@@ -61570,7 +61697,7 @@
|
|
|
61570
61697
|
const { path, data, luvio } = state;
|
|
61571
61698
|
const rootKey = keyBuilder$W(luvio, path);
|
|
61572
61699
|
cacheKeySink.set(rootKey, {
|
|
61573
|
-
namespace: keyPrefix,
|
|
61700
|
+
namespace: keyPrefix$1,
|
|
61574
61701
|
mergeable: true,
|
|
61575
61702
|
representationName: name$R
|
|
61576
61703
|
});
|
|
@@ -61655,7 +61782,7 @@
|
|
|
61655
61782
|
mergeData: mergeData$Q,
|
|
61656
61783
|
storeMetadataParams: {
|
|
61657
61784
|
ttl: TTL$1,
|
|
61658
|
-
namespace: keyPrefix,
|
|
61785
|
+
namespace: keyPrefix$1,
|
|
61659
61786
|
representationName: "RichTextAreaValue",
|
|
61660
61787
|
version: VERSION$$
|
|
61661
61788
|
},
|
|
@@ -61706,7 +61833,7 @@
|
|
|
61706
61833
|
const { path, data, luvio } = state;
|
|
61707
61834
|
const rootKey = keyBuilder$V(luvio, path);
|
|
61708
61835
|
cacheKeySink.set(rootKey, {
|
|
61709
|
-
namespace: keyPrefix,
|
|
61836
|
+
namespace: keyPrefix$1,
|
|
61710
61837
|
mergeable: true,
|
|
61711
61838
|
representationName: name$Q
|
|
61712
61839
|
});
|
|
@@ -61791,7 +61918,7 @@
|
|
|
61791
61918
|
mergeData: mergeData$P,
|
|
61792
61919
|
storeMetadataParams: {
|
|
61793
61920
|
ttl: TTL$1,
|
|
61794
|
-
namespace: keyPrefix,
|
|
61921
|
+
namespace: keyPrefix$1,
|
|
61795
61922
|
representationName: "PhoneNumberValue",
|
|
61796
61923
|
version: VERSION$_
|
|
61797
61924
|
},
|
|
@@ -61842,7 +61969,7 @@
|
|
|
61842
61969
|
const { path, data, luvio } = state;
|
|
61843
61970
|
const rootKey = keyBuilder$U(luvio, path);
|
|
61844
61971
|
cacheKeySink.set(rootKey, {
|
|
61845
|
-
namespace: keyPrefix,
|
|
61972
|
+
namespace: keyPrefix$1,
|
|
61846
61973
|
mergeable: true,
|
|
61847
61974
|
representationName: name$P
|
|
61848
61975
|
});
|
|
@@ -61927,7 +62054,7 @@
|
|
|
61927
62054
|
mergeData: mergeData$O,
|
|
61928
62055
|
storeMetadataParams: {
|
|
61929
62056
|
ttl: TTL$1,
|
|
61930
|
-
namespace: keyPrefix,
|
|
62057
|
+
namespace: keyPrefix$1,
|
|
61931
62058
|
representationName: "EmailValue",
|
|
61932
62059
|
version: VERSION$Z
|
|
61933
62060
|
},
|
|
@@ -61978,7 +62105,7 @@
|
|
|
61978
62105
|
const { path, data, luvio } = state;
|
|
61979
62106
|
const rootKey = keyBuilder$T(luvio, path);
|
|
61980
62107
|
cacheKeySink.set(rootKey, {
|
|
61981
|
-
namespace: keyPrefix,
|
|
62108
|
+
namespace: keyPrefix$1,
|
|
61982
62109
|
mergeable: true,
|
|
61983
62110
|
representationName: name$O
|
|
61984
62111
|
});
|
|
@@ -62063,7 +62190,7 @@
|
|
|
62063
62190
|
mergeData: mergeData$N,
|
|
62064
62191
|
storeMetadataParams: {
|
|
62065
62192
|
ttl: TTL$1,
|
|
62066
|
-
namespace: keyPrefix,
|
|
62193
|
+
namespace: keyPrefix$1,
|
|
62067
62194
|
representationName: "UrlValue",
|
|
62068
62195
|
version: VERSION$Y
|
|
62069
62196
|
},
|
|
@@ -62114,7 +62241,7 @@
|
|
|
62114
62241
|
const { path, data, luvio } = state;
|
|
62115
62242
|
const rootKey = keyBuilder$S(luvio, path);
|
|
62116
62243
|
cacheKeySink.set(rootKey, {
|
|
62117
|
-
namespace: keyPrefix,
|
|
62244
|
+
namespace: keyPrefix$1,
|
|
62118
62245
|
mergeable: true,
|
|
62119
62246
|
representationName: name$N
|
|
62120
62247
|
});
|
|
@@ -62199,7 +62326,7 @@
|
|
|
62199
62326
|
mergeData: mergeData$M,
|
|
62200
62327
|
storeMetadataParams: {
|
|
62201
62328
|
ttl: TTL$1,
|
|
62202
|
-
namespace: keyPrefix,
|
|
62329
|
+
namespace: keyPrefix$1,
|
|
62203
62330
|
representationName: "EncryptedStringValue",
|
|
62204
62331
|
version: VERSION$X
|
|
62205
62332
|
},
|
|
@@ -62250,7 +62377,7 @@
|
|
|
62250
62377
|
const { path, data, luvio } = state;
|
|
62251
62378
|
const rootKey = keyBuilder$R(luvio, path);
|
|
62252
62379
|
cacheKeySink.set(rootKey, {
|
|
62253
|
-
namespace: keyPrefix,
|
|
62380
|
+
namespace: keyPrefix$1,
|
|
62254
62381
|
mergeable: true,
|
|
62255
62382
|
representationName: name$M
|
|
62256
62383
|
});
|
|
@@ -62335,7 +62462,7 @@
|
|
|
62335
62462
|
mergeData: mergeData$L,
|
|
62336
62463
|
storeMetadataParams: {
|
|
62337
62464
|
ttl: TTL$1,
|
|
62338
|
-
namespace: keyPrefix,
|
|
62465
|
+
namespace: keyPrefix$1,
|
|
62339
62466
|
representationName: "CurrencyValue",
|
|
62340
62467
|
version: VERSION$W
|
|
62341
62468
|
},
|
|
@@ -62386,7 +62513,7 @@
|
|
|
62386
62513
|
const { path, data, luvio } = state;
|
|
62387
62514
|
const rootKey = keyBuilder$Q(luvio, path);
|
|
62388
62515
|
cacheKeySink.set(rootKey, {
|
|
62389
|
-
namespace: keyPrefix,
|
|
62516
|
+
namespace: keyPrefix$1,
|
|
62390
62517
|
mergeable: true,
|
|
62391
62518
|
representationName: name$L
|
|
62392
62519
|
});
|
|
@@ -62477,7 +62604,7 @@
|
|
|
62477
62604
|
mergeData: mergeData$K,
|
|
62478
62605
|
storeMetadataParams: {
|
|
62479
62606
|
ttl: TTL$1,
|
|
62480
|
-
namespace: keyPrefix,
|
|
62607
|
+
namespace: keyPrefix$1,
|
|
62481
62608
|
representationName: "LongitudeValue",
|
|
62482
62609
|
version: VERSION$V
|
|
62483
62610
|
},
|
|
@@ -62528,7 +62655,7 @@
|
|
|
62528
62655
|
const { path, data, luvio } = state;
|
|
62529
62656
|
const rootKey = keyBuilder$P(luvio, path);
|
|
62530
62657
|
cacheKeySink.set(rootKey, {
|
|
62531
|
-
namespace: keyPrefix,
|
|
62658
|
+
namespace: keyPrefix$1,
|
|
62532
62659
|
mergeable: true,
|
|
62533
62660
|
representationName: name$K
|
|
62534
62661
|
});
|
|
@@ -62613,7 +62740,7 @@
|
|
|
62613
62740
|
mergeData: mergeData$J,
|
|
62614
62741
|
storeMetadataParams: {
|
|
62615
62742
|
ttl: TTL$1,
|
|
62616
|
-
namespace: keyPrefix,
|
|
62743
|
+
namespace: keyPrefix$1,
|
|
62617
62744
|
representationName: "LatitudeValue",
|
|
62618
62745
|
version: VERSION$U
|
|
62619
62746
|
},
|
|
@@ -62664,7 +62791,7 @@
|
|
|
62664
62791
|
const { path, data, luvio } = state;
|
|
62665
62792
|
const rootKey = keyBuilder$O(luvio, path);
|
|
62666
62793
|
cacheKeySink.set(rootKey, {
|
|
62667
|
-
namespace: keyPrefix,
|
|
62794
|
+
namespace: keyPrefix$1,
|
|
62668
62795
|
mergeable: true,
|
|
62669
62796
|
representationName: name$J
|
|
62670
62797
|
});
|
|
@@ -62749,7 +62876,7 @@
|
|
|
62749
62876
|
mergeData: mergeData$I,
|
|
62750
62877
|
storeMetadataParams: {
|
|
62751
62878
|
ttl: TTL$1,
|
|
62752
|
-
namespace: keyPrefix,
|
|
62879
|
+
namespace: keyPrefix$1,
|
|
62753
62880
|
representationName: "PicklistValue",
|
|
62754
62881
|
version: VERSION$T
|
|
62755
62882
|
},
|
|
@@ -62800,7 +62927,7 @@
|
|
|
62800
62927
|
const { path, data, luvio } = state;
|
|
62801
62928
|
const rootKey = keyBuilder$N(luvio, path);
|
|
62802
62929
|
cacheKeySink.set(rootKey, {
|
|
62803
|
-
namespace: keyPrefix,
|
|
62930
|
+
namespace: keyPrefix$1,
|
|
62804
62931
|
mergeable: true,
|
|
62805
62932
|
representationName: name$I
|
|
62806
62933
|
});
|
|
@@ -62891,7 +63018,7 @@
|
|
|
62891
63018
|
mergeData: mergeData$H,
|
|
62892
63019
|
storeMetadataParams: {
|
|
62893
63020
|
ttl: TTL$1,
|
|
62894
|
-
namespace: keyPrefix,
|
|
63021
|
+
namespace: keyPrefix$1,
|
|
62895
63022
|
representationName: "MultiPicklistValue",
|
|
62896
63023
|
version: VERSION$S
|
|
62897
63024
|
},
|
|
@@ -62942,7 +63069,7 @@
|
|
|
62942
63069
|
const { path, data, luvio } = state;
|
|
62943
63070
|
const rootKey = keyBuilder$M(luvio, path);
|
|
62944
63071
|
cacheKeySink.set(rootKey, {
|
|
62945
|
-
namespace: keyPrefix,
|
|
63072
|
+
namespace: keyPrefix$1,
|
|
62946
63073
|
mergeable: true,
|
|
62947
63074
|
representationName: name$H
|
|
62948
63075
|
});
|
|
@@ -63033,7 +63160,7 @@
|
|
|
63033
63160
|
mergeData: mergeData$G,
|
|
63034
63161
|
storeMetadataParams: {
|
|
63035
63162
|
ttl: TTL$1,
|
|
63036
|
-
namespace: keyPrefix,
|
|
63163
|
+
namespace: keyPrefix$1,
|
|
63037
63164
|
representationName: "Base64Value",
|
|
63038
63165
|
version: VERSION$R
|
|
63039
63166
|
},
|
|
@@ -63084,7 +63211,7 @@
|
|
|
63084
63211
|
const { path, data, luvio } = state;
|
|
63085
63212
|
const rootKey = keyBuilder$L(luvio, path);
|
|
63086
63213
|
cacheKeySink.set(rootKey, {
|
|
63087
|
-
namespace: keyPrefix,
|
|
63214
|
+
namespace: keyPrefix$1,
|
|
63088
63215
|
mergeable: true,
|
|
63089
63216
|
representationName: name$G
|
|
63090
63217
|
});
|
|
@@ -63169,7 +63296,7 @@
|
|
|
63169
63296
|
mergeData: mergeData$F,
|
|
63170
63297
|
storeMetadataParams: {
|
|
63171
63298
|
ttl: TTL$1,
|
|
63172
|
-
namespace: keyPrefix,
|
|
63299
|
+
namespace: keyPrefix$1,
|
|
63173
63300
|
representationName: "JSONValue",
|
|
63174
63301
|
version: VERSION$Q
|
|
63175
63302
|
},
|
|
@@ -63220,7 +63347,7 @@
|
|
|
63220
63347
|
const { path, data, luvio } = state;
|
|
63221
63348
|
const rootKey = keyBuilder$K(luvio, path);
|
|
63222
63349
|
cacheKeySink.set(rootKey, {
|
|
63223
|
-
namespace: keyPrefix,
|
|
63350
|
+
namespace: keyPrefix$1,
|
|
63224
63351
|
mergeable: true,
|
|
63225
63352
|
representationName: name$F
|
|
63226
63353
|
});
|
|
@@ -63513,7 +63640,7 @@
|
|
|
63513
63640
|
}
|
|
63514
63641
|
}
|
|
63515
63642
|
|
|
63516
|
-
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;
|
|
63517
63644
|
const { isArray: isArray$2 } = Array;
|
|
63518
63645
|
const { concat: concat$1, filter: filter$1, includes: includes$1, push: push$1, reduce: reduce$1 } = Array.prototype;
|
|
63519
63646
|
|
|
@@ -63522,7 +63649,7 @@
|
|
|
63522
63649
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63523
63650
|
const rootKey = keyBuilderFromType(luvio, input);
|
|
63524
63651
|
rootKeySet.set(rootKey, {
|
|
63525
|
-
namespace: keyPrefix,
|
|
63652
|
+
namespace: keyPrefix$1,
|
|
63526
63653
|
representationName: RepresentationType$2,
|
|
63527
63654
|
mergeable: true,
|
|
63528
63655
|
});
|
|
@@ -63548,7 +63675,7 @@
|
|
|
63548
63675
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63549
63676
|
const rootKey = fullPathFactory();
|
|
63550
63677
|
rootKeySet.set(rootKey, {
|
|
63551
|
-
namespace: keyPrefix,
|
|
63678
|
+
namespace: keyPrefix$1,
|
|
63552
63679
|
representationName: RepresentationType$3,
|
|
63553
63680
|
mergeable: false
|
|
63554
63681
|
});
|
|
@@ -63561,7 +63688,7 @@
|
|
|
63561
63688
|
const VERSION$O = "98c5b18512e48ca8d28727549507e4ba";
|
|
63562
63689
|
const RepresentationType$2 = 'RecordRepresentation';
|
|
63563
63690
|
function keyBuilder$J(luvio, config) {
|
|
63564
|
-
return keyPrefix + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63691
|
+
return keyPrefix$1 + '::' + RepresentationType$2 + ':' + config.recordId;
|
|
63565
63692
|
}
|
|
63566
63693
|
function keyBuilderFromType(luvio, object) {
|
|
63567
63694
|
const keyParams = {
|
|
@@ -63576,7 +63703,7 @@
|
|
|
63576
63703
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
63577
63704
|
const rootKey = fullPathFactory();
|
|
63578
63705
|
rootKeySet.set(rootKey, {
|
|
63579
|
-
namespace: keyPrefix,
|
|
63706
|
+
namespace: keyPrefix$1,
|
|
63580
63707
|
representationName: RepresentationType$1,
|
|
63581
63708
|
mergeable: false
|
|
63582
63709
|
});
|
|
@@ -63781,7 +63908,7 @@
|
|
|
63781
63908
|
mergeData: mergeData$E,
|
|
63782
63909
|
storeMetadataParams: {
|
|
63783
63910
|
ttl: TTL$1,
|
|
63784
|
-
namespace: keyPrefix,
|
|
63911
|
+
namespace: keyPrefix$1,
|
|
63785
63912
|
representationName: "CompoundField",
|
|
63786
63913
|
version: VERSION$M
|
|
63787
63914
|
},
|
|
@@ -63824,7 +63951,7 @@
|
|
|
63824
63951
|
const { path, data, luvio } = state;
|
|
63825
63952
|
const rootKey = keyBuilder$I(luvio, path);
|
|
63826
63953
|
cacheKeySink.set(rootKey, {
|
|
63827
|
-
namespace: keyPrefix,
|
|
63954
|
+
namespace: keyPrefix$1,
|
|
63828
63955
|
mergeable: true,
|
|
63829
63956
|
representationName: name$E
|
|
63830
63957
|
});
|
|
@@ -64787,7 +64914,7 @@
|
|
|
64787
64914
|
mergeData: mergeData$D,
|
|
64788
64915
|
storeMetadataParams: {
|
|
64789
64916
|
ttl: TTL$1,
|
|
64790
|
-
namespace: keyPrefix,
|
|
64917
|
+
namespace: keyPrefix$1,
|
|
64791
64918
|
representationName: "PageInfo",
|
|
64792
64919
|
version: VERSION$L
|
|
64793
64920
|
},
|
|
@@ -64850,7 +64977,7 @@
|
|
|
64850
64977
|
const { path, data, luvio } = state;
|
|
64851
64978
|
const rootKey = keyBuilder$H(luvio, path);
|
|
64852
64979
|
cacheKeySink.set(rootKey, {
|
|
64853
|
-
namespace: keyPrefix,
|
|
64980
|
+
namespace: keyPrefix$1,
|
|
64854
64981
|
mergeable: true,
|
|
64855
64982
|
representationName: name$D
|
|
64856
64983
|
});
|
|
@@ -64924,7 +65051,7 @@
|
|
|
64924
65051
|
const { path, data, luvio } = state;
|
|
64925
65052
|
const rootKey = keyBuilder$E(luvio, path);
|
|
64926
65053
|
cacheKeySink.set(rootKey, {
|
|
64927
|
-
namespace: keyPrefix,
|
|
65054
|
+
namespace: keyPrefix$1,
|
|
64928
65055
|
mergeable: true,
|
|
64929
65056
|
representationName: name$A,
|
|
64930
65057
|
});
|
|
@@ -64964,7 +65091,7 @@
|
|
|
64964
65091
|
case 'PageInfo': {
|
|
64965
65092
|
// I guess just return the pagination key here since pagination replaced it.
|
|
64966
65093
|
cacheKeySink.set(`${rootKey}__pagination`, {
|
|
64967
|
-
namespace: keyPrefix,
|
|
65094
|
+
namespace: keyPrefix$1,
|
|
64968
65095
|
mergeable: true,
|
|
64969
65096
|
representationName: name$D,
|
|
64970
65097
|
});
|
|
@@ -64982,7 +65109,7 @@
|
|
|
64982
65109
|
const name$C = 'RecordRepresentation';
|
|
64983
65110
|
const VERSION$K = 'b09728109b666bc69fe789bade015193';
|
|
64984
65111
|
function keyBuilder$G(luvio, path, data) {
|
|
64985
|
-
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...
|
|
64986
65113
|
}
|
|
64987
65114
|
function mergeData$C(existingData, newData) {
|
|
64988
65115
|
return {
|
|
@@ -65006,7 +65133,7 @@
|
|
|
65006
65133
|
mergeData: mergeData$C,
|
|
65007
65134
|
storeMetadataParams: {
|
|
65008
65135
|
ttl: TTL$1,
|
|
65009
|
-
namespace: keyPrefix,
|
|
65136
|
+
namespace: keyPrefix$1,
|
|
65010
65137
|
representationName: "RecordRepresentation",
|
|
65011
65138
|
version: VERSION$K
|
|
65012
65139
|
},
|
|
@@ -65167,7 +65294,7 @@
|
|
|
65167
65294
|
const { path, data, luvio } = state;
|
|
65168
65295
|
const rootKey = keyBuilder$G(luvio, path, data);
|
|
65169
65296
|
cacheKeySink.set(rootKey, {
|
|
65170
|
-
namespace: keyPrefix,
|
|
65297
|
+
namespace: keyPrefix$1,
|
|
65171
65298
|
mergeable: true,
|
|
65172
65299
|
representationName: name$C
|
|
65173
65300
|
});
|
|
@@ -65542,7 +65669,7 @@
|
|
|
65542
65669
|
mergeData: mergeData$B,
|
|
65543
65670
|
storeMetadataParams: {
|
|
65544
65671
|
ttl: TTL$1,
|
|
65545
|
-
namespace: keyPrefix,
|
|
65672
|
+
namespace: keyPrefix$1,
|
|
65546
65673
|
representationName: "RecordEdge",
|
|
65547
65674
|
version: VERSION$J
|
|
65548
65675
|
},
|
|
@@ -65604,7 +65731,7 @@
|
|
|
65604
65731
|
const { path, data, luvio } = state;
|
|
65605
65732
|
const rootKey = keyBuilder$F(luvio, path);
|
|
65606
65733
|
cacheKeySink.set(rootKey, {
|
|
65607
|
-
namespace: keyPrefix,
|
|
65734
|
+
namespace: keyPrefix$1,
|
|
65608
65735
|
mergeable: true,
|
|
65609
65736
|
representationName: name$B
|
|
65610
65737
|
});
|
|
@@ -65763,7 +65890,7 @@
|
|
|
65763
65890
|
mergeData: mergeData$A,
|
|
65764
65891
|
storeMetadataParams: {
|
|
65765
65892
|
ttl: TTL$4,
|
|
65766
|
-
namespace: keyPrefix,
|
|
65893
|
+
namespace: keyPrefix$1,
|
|
65767
65894
|
representationName: "RecordConnection",
|
|
65768
65895
|
version: VERSION$I
|
|
65769
65896
|
},
|
|
@@ -65946,7 +66073,7 @@
|
|
|
65946
66073
|
mergeData: mergeData$z,
|
|
65947
66074
|
storeMetadataParams: {
|
|
65948
66075
|
ttl: TTL$1,
|
|
65949
|
-
namespace: keyPrefix,
|
|
66076
|
+
namespace: keyPrefix$1,
|
|
65950
66077
|
representationName: "RecordQuery",
|
|
65951
66078
|
version: VERSION$H
|
|
65952
66079
|
},
|
|
@@ -66008,7 +66135,7 @@
|
|
|
66008
66135
|
const { path, data, luvio } = state;
|
|
66009
66136
|
const rootKey = keyBuilder$D(luvio, path);
|
|
66010
66137
|
cacheKeySink.set(rootKey, {
|
|
66011
|
-
namespace: keyPrefix,
|
|
66138
|
+
namespace: keyPrefix$1,
|
|
66012
66139
|
mergeable: true,
|
|
66013
66140
|
representationName: name$z
|
|
66014
66141
|
});
|
|
@@ -66090,7 +66217,7 @@
|
|
|
66090
66217
|
mergeData: mergeData$y,
|
|
66091
66218
|
storeMetadataParams: {
|
|
66092
66219
|
ttl: TTL$1,
|
|
66093
|
-
namespace: keyPrefix,
|
|
66220
|
+
namespace: keyPrefix$1,
|
|
66094
66221
|
representationName: "BooleanAggregate",
|
|
66095
66222
|
version: VERSION$G
|
|
66096
66223
|
},
|
|
@@ -66157,7 +66284,7 @@
|
|
|
66157
66284
|
const { path, data, luvio } = state;
|
|
66158
66285
|
const rootKey = keyBuilder$C(luvio, path);
|
|
66159
66286
|
cacheKeySink.set(rootKey, {
|
|
66160
|
-
namespace: keyPrefix,
|
|
66287
|
+
namespace: keyPrefix$1,
|
|
66161
66288
|
mergeable: true,
|
|
66162
66289
|
representationName: name$y
|
|
66163
66290
|
});
|
|
@@ -66273,7 +66400,7 @@
|
|
|
66273
66400
|
mergeData: mergeData$x,
|
|
66274
66401
|
storeMetadataParams: {
|
|
66275
66402
|
ttl: TTL$1,
|
|
66276
|
-
namespace: keyPrefix,
|
|
66403
|
+
namespace: keyPrefix$1,
|
|
66277
66404
|
representationName: "CurrencyAggregate",
|
|
66278
66405
|
version: VERSION$F
|
|
66279
66406
|
},
|
|
@@ -66348,7 +66475,7 @@
|
|
|
66348
66475
|
const { path, data, luvio } = state;
|
|
66349
66476
|
const rootKey = keyBuilder$B(luvio, path);
|
|
66350
66477
|
cacheKeySink.set(rootKey, {
|
|
66351
|
-
namespace: keyPrefix,
|
|
66478
|
+
namespace: keyPrefix$1,
|
|
66352
66479
|
mergeable: true,
|
|
66353
66480
|
representationName: name$x
|
|
66354
66481
|
});
|
|
@@ -66535,7 +66662,7 @@
|
|
|
66535
66662
|
mergeData: mergeData$w,
|
|
66536
66663
|
storeMetadataParams: {
|
|
66537
66664
|
ttl: TTL$1,
|
|
66538
|
-
namespace: keyPrefix,
|
|
66665
|
+
namespace: keyPrefix$1,
|
|
66539
66666
|
representationName: "DateFunctionAggregation",
|
|
66540
66667
|
version: VERSION$E
|
|
66541
66668
|
},
|
|
@@ -66598,7 +66725,7 @@
|
|
|
66598
66725
|
const { path, data, luvio } = state;
|
|
66599
66726
|
const rootKey = keyBuilder$A(luvio, path);
|
|
66600
66727
|
cacheKeySink.set(rootKey, {
|
|
66601
|
-
namespace: keyPrefix,
|
|
66728
|
+
namespace: keyPrefix$1,
|
|
66602
66729
|
mergeable: true,
|
|
66603
66730
|
representationName: name$w
|
|
66604
66731
|
});
|
|
@@ -66683,7 +66810,7 @@
|
|
|
66683
66810
|
mergeData: mergeData$v,
|
|
66684
66811
|
storeMetadataParams: {
|
|
66685
66812
|
ttl: TTL$1,
|
|
66686
|
-
namespace: keyPrefix,
|
|
66813
|
+
namespace: keyPrefix$1,
|
|
66687
66814
|
representationName: "DateAggregate",
|
|
66688
66815
|
version: VERSION$D
|
|
66689
66816
|
},
|
|
@@ -66762,7 +66889,7 @@
|
|
|
66762
66889
|
const { path, data, luvio } = state;
|
|
66763
66890
|
const rootKey = keyBuilder$z(luvio, path);
|
|
66764
66891
|
cacheKeySink.set(rootKey, {
|
|
66765
|
-
namespace: keyPrefix,
|
|
66892
|
+
namespace: keyPrefix$1,
|
|
66766
66893
|
mergeable: true,
|
|
66767
66894
|
representationName: name$v
|
|
66768
66895
|
});
|
|
@@ -67064,7 +67191,7 @@
|
|
|
67064
67191
|
mergeData: mergeData$u,
|
|
67065
67192
|
storeMetadataParams: {
|
|
67066
67193
|
ttl: TTL$1,
|
|
67067
|
-
namespace: keyPrefix,
|
|
67194
|
+
namespace: keyPrefix$1,
|
|
67068
67195
|
representationName: "DoubleAggregate",
|
|
67069
67196
|
version: VERSION$C
|
|
67070
67197
|
},
|
|
@@ -67135,7 +67262,7 @@
|
|
|
67135
67262
|
const { path, data, luvio } = state;
|
|
67136
67263
|
const rootKey = keyBuilder$y(luvio, path);
|
|
67137
67264
|
cacheKeySink.set(rootKey, {
|
|
67138
|
-
namespace: keyPrefix,
|
|
67265
|
+
namespace: keyPrefix$1,
|
|
67139
67266
|
mergeable: true,
|
|
67140
67267
|
representationName: name$u
|
|
67141
67268
|
});
|
|
@@ -67317,7 +67444,7 @@
|
|
|
67317
67444
|
mergeData: mergeData$t,
|
|
67318
67445
|
storeMetadataParams: {
|
|
67319
67446
|
ttl: TTL$1,
|
|
67320
|
-
namespace: keyPrefix,
|
|
67447
|
+
namespace: keyPrefix$1,
|
|
67321
67448
|
representationName: "EmailAggregate",
|
|
67322
67449
|
version: VERSION$B
|
|
67323
67450
|
},
|
|
@@ -67392,7 +67519,7 @@
|
|
|
67392
67519
|
const { path, data, luvio } = state;
|
|
67393
67520
|
const rootKey = keyBuilder$x(luvio, path);
|
|
67394
67521
|
cacheKeySink.set(rootKey, {
|
|
67395
|
-
namespace: keyPrefix,
|
|
67522
|
+
namespace: keyPrefix$1,
|
|
67396
67523
|
mergeable: true,
|
|
67397
67524
|
representationName: name$t
|
|
67398
67525
|
});
|
|
@@ -67562,7 +67689,7 @@
|
|
|
67562
67689
|
mergeData: mergeData$s,
|
|
67563
67690
|
storeMetadataParams: {
|
|
67564
67691
|
ttl: TTL$1,
|
|
67565
|
-
namespace: keyPrefix,
|
|
67692
|
+
namespace: keyPrefix$1,
|
|
67566
67693
|
representationName: "IDAggregate",
|
|
67567
67694
|
version: VERSION$A
|
|
67568
67695
|
},
|
|
@@ -67637,7 +67764,7 @@
|
|
|
67637
67764
|
const { path, data, luvio } = state;
|
|
67638
67765
|
const rootKey = keyBuilder$w(luvio, path);
|
|
67639
67766
|
cacheKeySink.set(rootKey, {
|
|
67640
|
-
namespace: keyPrefix,
|
|
67767
|
+
namespace: keyPrefix$1,
|
|
67641
67768
|
mergeable: true,
|
|
67642
67769
|
representationName: name$s
|
|
67643
67770
|
});
|
|
@@ -67807,7 +67934,7 @@
|
|
|
67807
67934
|
mergeData: mergeData$r,
|
|
67808
67935
|
storeMetadataParams: {
|
|
67809
67936
|
ttl: TTL$1,
|
|
67810
|
-
namespace: keyPrefix,
|
|
67937
|
+
namespace: keyPrefix$1,
|
|
67811
67938
|
representationName: "IntAggregate",
|
|
67812
67939
|
version: VERSION$z
|
|
67813
67940
|
},
|
|
@@ -67882,7 +68009,7 @@
|
|
|
67882
68009
|
const { path, data, luvio } = state;
|
|
67883
68010
|
const rootKey = keyBuilder$v(luvio, path);
|
|
67884
68011
|
cacheKeySink.set(rootKey, {
|
|
67885
|
-
namespace: keyPrefix,
|
|
68012
|
+
namespace: keyPrefix$1,
|
|
67886
68013
|
mergeable: true,
|
|
67887
68014
|
representationName: name$r
|
|
67888
68015
|
});
|
|
@@ -68080,7 +68207,7 @@
|
|
|
68080
68207
|
mergeData: mergeData$q,
|
|
68081
68208
|
storeMetadataParams: {
|
|
68082
68209
|
ttl: TTL$1,
|
|
68083
|
-
namespace: keyPrefix,
|
|
68210
|
+
namespace: keyPrefix$1,
|
|
68084
68211
|
representationName: "LatitudeAggregate",
|
|
68085
68212
|
version: VERSION$y
|
|
68086
68213
|
},
|
|
@@ -68155,7 +68282,7 @@
|
|
|
68155
68282
|
const { path, data, luvio } = state;
|
|
68156
68283
|
const rootKey = keyBuilder$u(luvio, path);
|
|
68157
68284
|
cacheKeySink.set(rootKey, {
|
|
68158
|
-
namespace: keyPrefix,
|
|
68285
|
+
namespace: keyPrefix$1,
|
|
68159
68286
|
mergeable: true,
|
|
68160
68287
|
representationName: name$q
|
|
68161
68288
|
});
|
|
@@ -68336,7 +68463,7 @@
|
|
|
68336
68463
|
mergeData: mergeData$p,
|
|
68337
68464
|
storeMetadataParams: {
|
|
68338
68465
|
ttl: TTL$1,
|
|
68339
|
-
namespace: keyPrefix,
|
|
68466
|
+
namespace: keyPrefix$1,
|
|
68340
68467
|
representationName: "LongitudeAggregate",
|
|
68341
68468
|
version: VERSION$x
|
|
68342
68469
|
},
|
|
@@ -68411,7 +68538,7 @@
|
|
|
68411
68538
|
const { path, data, luvio } = state;
|
|
68412
68539
|
const rootKey = keyBuilder$t(luvio, path);
|
|
68413
68540
|
cacheKeySink.set(rootKey, {
|
|
68414
|
-
namespace: keyPrefix,
|
|
68541
|
+
namespace: keyPrefix$1,
|
|
68415
68542
|
mergeable: true,
|
|
68416
68543
|
representationName: name$p
|
|
68417
68544
|
});
|
|
@@ -68592,7 +68719,7 @@
|
|
|
68592
68719
|
mergeData: mergeData$o,
|
|
68593
68720
|
storeMetadataParams: {
|
|
68594
68721
|
ttl: TTL$1,
|
|
68595
|
-
namespace: keyPrefix,
|
|
68722
|
+
namespace: keyPrefix$1,
|
|
68596
68723
|
representationName: "LongAggregate",
|
|
68597
68724
|
version: VERSION$w
|
|
68598
68725
|
},
|
|
@@ -68667,7 +68794,7 @@
|
|
|
68667
68794
|
const { path, data, luvio } = state;
|
|
68668
68795
|
const rootKey = keyBuilder$s(luvio, path);
|
|
68669
68796
|
cacheKeySink.set(rootKey, {
|
|
68670
|
-
namespace: keyPrefix,
|
|
68797
|
+
namespace: keyPrefix$1,
|
|
68671
68798
|
mergeable: true,
|
|
68672
68799
|
representationName: name$o
|
|
68673
68800
|
});
|
|
@@ -68865,7 +68992,7 @@
|
|
|
68865
68992
|
mergeData: mergeData$n,
|
|
68866
68993
|
storeMetadataParams: {
|
|
68867
68994
|
ttl: TTL$1,
|
|
68868
|
-
namespace: keyPrefix,
|
|
68995
|
+
namespace: keyPrefix$1,
|
|
68869
68996
|
representationName: "PhoneNumberAggregate",
|
|
68870
68997
|
version: VERSION$v
|
|
68871
68998
|
},
|
|
@@ -68940,7 +69067,7 @@
|
|
|
68940
69067
|
const { path, data, luvio } = state;
|
|
68941
69068
|
const rootKey = keyBuilder$r(luvio, path);
|
|
68942
69069
|
cacheKeySink.set(rootKey, {
|
|
68943
|
-
namespace: keyPrefix,
|
|
69070
|
+
namespace: keyPrefix$1,
|
|
68944
69071
|
mergeable: true,
|
|
68945
69072
|
representationName: name$n
|
|
68946
69073
|
});
|
|
@@ -69110,7 +69237,7 @@
|
|
|
69110
69237
|
mergeData: mergeData$m,
|
|
69111
69238
|
storeMetadataParams: {
|
|
69112
69239
|
ttl: TTL$1,
|
|
69113
|
-
namespace: keyPrefix,
|
|
69240
|
+
namespace: keyPrefix$1,
|
|
69114
69241
|
representationName: "PicklistAggregate",
|
|
69115
69242
|
version: VERSION$u
|
|
69116
69243
|
},
|
|
@@ -69185,7 +69312,7 @@
|
|
|
69185
69312
|
const { path, data, luvio } = state;
|
|
69186
69313
|
const rootKey = keyBuilder$q(luvio, path);
|
|
69187
69314
|
cacheKeySink.set(rootKey, {
|
|
69188
|
-
namespace: keyPrefix,
|
|
69315
|
+
namespace: keyPrefix$1,
|
|
69189
69316
|
mergeable: true,
|
|
69190
69317
|
representationName: name$m
|
|
69191
69318
|
});
|
|
@@ -69361,7 +69488,7 @@
|
|
|
69361
69488
|
mergeData: mergeData$l,
|
|
69362
69489
|
storeMetadataParams: {
|
|
69363
69490
|
ttl: TTL$1,
|
|
69364
|
-
namespace: keyPrefix,
|
|
69491
|
+
namespace: keyPrefix$1,
|
|
69365
69492
|
representationName: "TextAreaAggregate",
|
|
69366
69493
|
version: VERSION$t
|
|
69367
69494
|
},
|
|
@@ -69436,7 +69563,7 @@
|
|
|
69436
69563
|
const { path, data, luvio } = state;
|
|
69437
69564
|
const rootKey = keyBuilder$p(luvio, path);
|
|
69438
69565
|
cacheKeySink.set(rootKey, {
|
|
69439
|
-
namespace: keyPrefix,
|
|
69566
|
+
namespace: keyPrefix$1,
|
|
69440
69567
|
mergeable: true,
|
|
69441
69568
|
representationName: name$l
|
|
69442
69569
|
});
|
|
@@ -69606,7 +69733,7 @@
|
|
|
69606
69733
|
mergeData: mergeData$k,
|
|
69607
69734
|
storeMetadataParams: {
|
|
69608
69735
|
ttl: TTL$1,
|
|
69609
|
-
namespace: keyPrefix,
|
|
69736
|
+
namespace: keyPrefix$1,
|
|
69610
69737
|
representationName: "TimeAggregate",
|
|
69611
69738
|
version: VERSION$s
|
|
69612
69739
|
},
|
|
@@ -69673,7 +69800,7 @@
|
|
|
69673
69800
|
const { path, data, luvio } = state;
|
|
69674
69801
|
const rootKey = keyBuilder$o(luvio, path);
|
|
69675
69802
|
cacheKeySink.set(rootKey, {
|
|
69676
|
-
namespace: keyPrefix,
|
|
69803
|
+
namespace: keyPrefix$1,
|
|
69677
69804
|
mergeable: true,
|
|
69678
69805
|
representationName: name$k
|
|
69679
69806
|
});
|
|
@@ -69795,7 +69922,7 @@
|
|
|
69795
69922
|
mergeData: mergeData$j,
|
|
69796
69923
|
storeMetadataParams: {
|
|
69797
69924
|
ttl: TTL$1,
|
|
69798
|
-
namespace: keyPrefix,
|
|
69925
|
+
namespace: keyPrefix$1,
|
|
69799
69926
|
representationName: "UrlAggregate",
|
|
69800
69927
|
version: VERSION$r
|
|
69801
69928
|
},
|
|
@@ -69870,7 +69997,7 @@
|
|
|
69870
69997
|
const { path, data, luvio } = state;
|
|
69871
69998
|
const rootKey = keyBuilder$n(luvio, path);
|
|
69872
69999
|
cacheKeySink.set(rootKey, {
|
|
69873
|
-
namespace: keyPrefix,
|
|
70000
|
+
namespace: keyPrefix$1,
|
|
69874
70001
|
mergeable: true,
|
|
69875
70002
|
representationName: name$j
|
|
69876
70003
|
});
|
|
@@ -70163,7 +70290,7 @@
|
|
|
70163
70290
|
mergeData: mergeData$i,
|
|
70164
70291
|
storeMetadataParams: {
|
|
70165
70292
|
ttl: TTL$1,
|
|
70166
|
-
namespace: keyPrefix,
|
|
70293
|
+
namespace: keyPrefix$1,
|
|
70167
70294
|
representationName: "RecordAggregate",
|
|
70168
70295
|
version: VERSION$q
|
|
70169
70296
|
},
|
|
@@ -70289,7 +70416,7 @@
|
|
|
70289
70416
|
const { path, data, luvio } = state;
|
|
70290
70417
|
const rootKey = keyBuilder$m(luvio, path);
|
|
70291
70418
|
cacheKeySink.set(rootKey, {
|
|
70292
|
-
namespace: keyPrefix,
|
|
70419
|
+
namespace: keyPrefix$1,
|
|
70293
70420
|
mergeable: true,
|
|
70294
70421
|
representationName: name$i
|
|
70295
70422
|
});
|
|
@@ -70531,7 +70658,7 @@
|
|
|
70531
70658
|
mergeData: mergeData$h,
|
|
70532
70659
|
storeMetadataParams: {
|
|
70533
70660
|
ttl: TTL$1,
|
|
70534
|
-
namespace: keyPrefix,
|
|
70661
|
+
namespace: keyPrefix$1,
|
|
70535
70662
|
representationName: "RecordResult",
|
|
70536
70663
|
version: VERSION$p
|
|
70537
70664
|
},
|
|
@@ -70593,7 +70720,7 @@
|
|
|
70593
70720
|
const { path, data, luvio } = state;
|
|
70594
70721
|
const rootKey = keyBuilder$l(luvio, path);
|
|
70595
70722
|
cacheKeySink.set(rootKey, {
|
|
70596
|
-
namespace: keyPrefix,
|
|
70723
|
+
namespace: keyPrefix$1,
|
|
70597
70724
|
mergeable: true,
|
|
70598
70725
|
representationName: name$h
|
|
70599
70726
|
});
|
|
@@ -70693,7 +70820,7 @@
|
|
|
70693
70820
|
mergeData: mergeData$g,
|
|
70694
70821
|
storeMetadataParams: {
|
|
70695
70822
|
ttl: TTL$1,
|
|
70696
|
-
namespace: keyPrefix,
|
|
70823
|
+
namespace: keyPrefix$1,
|
|
70697
70824
|
representationName: "RecordAggregateEdge",
|
|
70698
70825
|
version: VERSION$o
|
|
70699
70826
|
},
|
|
@@ -70755,7 +70882,7 @@
|
|
|
70755
70882
|
const { path, data, luvio } = state;
|
|
70756
70883
|
const rootKey = keyBuilder$k(luvio, path);
|
|
70757
70884
|
cacheKeySink.set(rootKey, {
|
|
70758
|
-
namespace: keyPrefix,
|
|
70885
|
+
namespace: keyPrefix$1,
|
|
70759
70886
|
mergeable: true,
|
|
70760
70887
|
representationName: name$g
|
|
70761
70888
|
});
|
|
@@ -70913,7 +71040,7 @@
|
|
|
70913
71040
|
mergeData: mergeData$f,
|
|
70914
71041
|
storeMetadataParams: {
|
|
70915
71042
|
ttl: TTL$1,
|
|
70916
|
-
namespace: keyPrefix,
|
|
71043
|
+
namespace: keyPrefix$1,
|
|
70917
71044
|
representationName: "RecordAggregateConnection",
|
|
70918
71045
|
version: VERSION$n
|
|
70919
71046
|
},
|
|
@@ -70985,7 +71112,7 @@
|
|
|
70985
71112
|
const { path, data, luvio } = state;
|
|
70986
71113
|
const rootKey = keyBuilder$j(luvio, path);
|
|
70987
71114
|
cacheKeySink.set(rootKey, {
|
|
70988
|
-
namespace: keyPrefix,
|
|
71115
|
+
namespace: keyPrefix$1,
|
|
70989
71116
|
mergeable: true,
|
|
70990
71117
|
representationName: name$f
|
|
70991
71118
|
});
|
|
@@ -71144,7 +71271,7 @@
|
|
|
71144
71271
|
mergeData: mergeData$e,
|
|
71145
71272
|
storeMetadataParams: {
|
|
71146
71273
|
ttl: TTL$1,
|
|
71147
|
-
namespace: keyPrefix,
|
|
71274
|
+
namespace: keyPrefix$1,
|
|
71148
71275
|
representationName: "RecordQueryAggregate",
|
|
71149
71276
|
version: VERSION$m
|
|
71150
71277
|
},
|
|
@@ -71206,7 +71333,7 @@
|
|
|
71206
71333
|
const { path, data, luvio } = state;
|
|
71207
71334
|
const rootKey = keyBuilder$i(luvio, path);
|
|
71208
71335
|
cacheKeySink.set(rootKey, {
|
|
71209
|
-
namespace: keyPrefix,
|
|
71336
|
+
namespace: keyPrefix$1,
|
|
71210
71337
|
mergeable: true,
|
|
71211
71338
|
representationName: name$e
|
|
71212
71339
|
});
|
|
@@ -71288,7 +71415,7 @@
|
|
|
71288
71415
|
mergeData: mergeData$d,
|
|
71289
71416
|
storeMetadataParams: {
|
|
71290
71417
|
ttl: TTL$1,
|
|
71291
|
-
namespace: keyPrefix,
|
|
71418
|
+
namespace: keyPrefix$1,
|
|
71292
71419
|
representationName: "ChildRelationship",
|
|
71293
71420
|
version: VERSION$l
|
|
71294
71421
|
},
|
|
@@ -71350,7 +71477,7 @@
|
|
|
71350
71477
|
const { path, data, luvio } = state;
|
|
71351
71478
|
const rootKey = keyBuilder$h(luvio, path);
|
|
71352
71479
|
cacheKeySink.set(rootKey, {
|
|
71353
|
-
namespace: keyPrefix,
|
|
71480
|
+
namespace: keyPrefix$1,
|
|
71354
71481
|
mergeable: true,
|
|
71355
71482
|
representationName: name$d
|
|
71356
71483
|
});
|
|
@@ -71480,7 +71607,7 @@
|
|
|
71480
71607
|
mergeData: mergeData$c,
|
|
71481
71608
|
storeMetadataParams: {
|
|
71482
71609
|
ttl: TTL$1,
|
|
71483
|
-
namespace: keyPrefix,
|
|
71610
|
+
namespace: keyPrefix$1,
|
|
71484
71611
|
representationName: "DependentField",
|
|
71485
71612
|
version: VERSION$k
|
|
71486
71613
|
},
|
|
@@ -71538,7 +71665,7 @@
|
|
|
71538
71665
|
const { path, data, luvio } = state;
|
|
71539
71666
|
const rootKey = keyBuilder$g(luvio, path);
|
|
71540
71667
|
cacheKeySink.set(rootKey, {
|
|
71541
|
-
namespace: keyPrefix,
|
|
71668
|
+
namespace: keyPrefix$1,
|
|
71542
71669
|
mergeable: true,
|
|
71543
71670
|
representationName: name$c
|
|
71544
71671
|
});
|
|
@@ -71619,7 +71746,7 @@
|
|
|
71619
71746
|
mergeData: mergeData$b,
|
|
71620
71747
|
storeMetadataParams: {
|
|
71621
71748
|
ttl: TTL$1,
|
|
71622
|
-
namespace: keyPrefix,
|
|
71749
|
+
namespace: keyPrefix$1,
|
|
71623
71750
|
representationName: "FilteredLookupInfo",
|
|
71624
71751
|
version: VERSION$j
|
|
71625
71752
|
},
|
|
@@ -71682,7 +71809,7 @@
|
|
|
71682
71809
|
const { path, data, luvio } = state;
|
|
71683
71810
|
const rootKey = keyBuilder$f(luvio, path);
|
|
71684
71811
|
cacheKeySink.set(rootKey, {
|
|
71685
|
-
namespace: keyPrefix,
|
|
71812
|
+
namespace: keyPrefix$1,
|
|
71686
71813
|
mergeable: true,
|
|
71687
71814
|
representationName: name$b
|
|
71688
71815
|
});
|
|
@@ -71773,7 +71900,7 @@
|
|
|
71773
71900
|
mergeData: mergeData$a,
|
|
71774
71901
|
storeMetadataParams: {
|
|
71775
71902
|
ttl: TTL$1,
|
|
71776
|
-
namespace: keyPrefix,
|
|
71903
|
+
namespace: keyPrefix$1,
|
|
71777
71904
|
representationName: "ReferenceToInfo",
|
|
71778
71905
|
version: VERSION$i
|
|
71779
71906
|
},
|
|
@@ -71835,7 +71962,7 @@
|
|
|
71835
71962
|
const { path, data, luvio } = state;
|
|
71836
71963
|
const rootKey = keyBuilder$e(luvio, path);
|
|
71837
71964
|
cacheKeySink.set(rootKey, {
|
|
71838
|
-
namespace: keyPrefix,
|
|
71965
|
+
namespace: keyPrefix$1,
|
|
71839
71966
|
mergeable: true,
|
|
71840
71967
|
representationName: name$a
|
|
71841
71968
|
});
|
|
@@ -71947,7 +72074,7 @@
|
|
|
71947
72074
|
mergeData: mergeData$9,
|
|
71948
72075
|
storeMetadataParams: {
|
|
71949
72076
|
ttl: TTL$1,
|
|
71950
|
-
namespace: keyPrefix,
|
|
72077
|
+
namespace: keyPrefix$1,
|
|
71951
72078
|
representationName: "Field",
|
|
71952
72079
|
version: VERSION$h
|
|
71953
72080
|
},
|
|
@@ -72033,7 +72160,7 @@
|
|
|
72033
72160
|
const { path, data, luvio } = state;
|
|
72034
72161
|
const rootKey = keyBuilder$d(luvio, path);
|
|
72035
72162
|
cacheKeySink.set(rootKey, {
|
|
72036
|
-
namespace: keyPrefix,
|
|
72163
|
+
namespace: keyPrefix$1,
|
|
72037
72164
|
mergeable: true,
|
|
72038
72165
|
representationName: name$9
|
|
72039
72166
|
});
|
|
@@ -72339,7 +72466,7 @@
|
|
|
72339
72466
|
mergeData: mergeData$8,
|
|
72340
72467
|
storeMetadataParams: {
|
|
72341
72468
|
ttl: TTL$1,
|
|
72342
|
-
namespace: keyPrefix,
|
|
72469
|
+
namespace: keyPrefix$1,
|
|
72343
72470
|
representationName: "RecordTypeInfo",
|
|
72344
72471
|
version: VERSION$g
|
|
72345
72472
|
},
|
|
@@ -72407,7 +72534,7 @@
|
|
|
72407
72534
|
const { path, data, luvio } = state;
|
|
72408
72535
|
const rootKey = keyBuilder$c(luvio, path);
|
|
72409
72536
|
cacheKeySink.set(rootKey, {
|
|
72410
|
-
namespace: keyPrefix,
|
|
72537
|
+
namespace: keyPrefix$1,
|
|
72411
72538
|
mergeable: true,
|
|
72412
72539
|
representationName: name$8
|
|
72413
72540
|
});
|
|
@@ -72514,7 +72641,7 @@
|
|
|
72514
72641
|
mergeData: mergeData$7,
|
|
72515
72642
|
storeMetadataParams: {
|
|
72516
72643
|
ttl: TTL$1,
|
|
72517
|
-
namespace: keyPrefix,
|
|
72644
|
+
namespace: keyPrefix$1,
|
|
72518
72645
|
representationName: "ThemeInfo",
|
|
72519
72646
|
version: VERSION$f
|
|
72520
72647
|
},
|
|
@@ -72572,7 +72699,7 @@
|
|
|
72572
72699
|
const { path, data, luvio } = state;
|
|
72573
72700
|
const rootKey = keyBuilder$b(luvio, path);
|
|
72574
72701
|
cacheKeySink.set(rootKey, {
|
|
72575
|
-
namespace: keyPrefix,
|
|
72702
|
+
namespace: keyPrefix$1,
|
|
72576
72703
|
mergeable: true,
|
|
72577
72704
|
representationName: name$7
|
|
72578
72705
|
});
|
|
@@ -72654,7 +72781,7 @@
|
|
|
72654
72781
|
mergeData: mergeData$6,
|
|
72655
72782
|
storeMetadataParams: {
|
|
72656
72783
|
ttl: TTL$3,
|
|
72657
|
-
namespace: keyPrefix,
|
|
72784
|
+
namespace: keyPrefix$1,
|
|
72658
72785
|
representationName: "ObjectInfo",
|
|
72659
72786
|
version: VERSION$e
|
|
72660
72787
|
},
|
|
@@ -72742,7 +72869,7 @@
|
|
|
72742
72869
|
const { path, data, luvio } = state;
|
|
72743
72870
|
const rootKey = keyBuilder$a(luvio, path);
|
|
72744
72871
|
cacheKeySink.set(rootKey, {
|
|
72745
|
-
namespace: keyPrefix,
|
|
72872
|
+
namespace: keyPrefix$1,
|
|
72746
72873
|
mergeable: true,
|
|
72747
72874
|
representationName: name$6
|
|
72748
72875
|
});
|
|
@@ -73052,7 +73179,7 @@
|
|
|
73052
73179
|
mergeData: mergeData$5,
|
|
73053
73180
|
storeMetadataParams: {
|
|
73054
73181
|
ttl: TTL$1,
|
|
73055
|
-
namespace: keyPrefix,
|
|
73182
|
+
namespace: keyPrefix$1,
|
|
73056
73183
|
representationName: "ListColumn",
|
|
73057
73184
|
version: VERSION$d
|
|
73058
73185
|
},
|
|
@@ -73115,7 +73242,7 @@
|
|
|
73115
73242
|
const { path, data, luvio } = state;
|
|
73116
73243
|
const rootKey = keyBuilder$9(luvio, path);
|
|
73117
73244
|
cacheKeySink.set(rootKey, {
|
|
73118
|
-
namespace: keyPrefix,
|
|
73245
|
+
namespace: keyPrefix$1,
|
|
73119
73246
|
mergeable: true,
|
|
73120
73247
|
representationName: name$5
|
|
73121
73248
|
});
|
|
@@ -73212,7 +73339,7 @@
|
|
|
73212
73339
|
mergeData: mergeData$4,
|
|
73213
73340
|
storeMetadataParams: {
|
|
73214
73341
|
ttl: TTL$1,
|
|
73215
|
-
namespace: keyPrefix,
|
|
73342
|
+
namespace: keyPrefix$1,
|
|
73216
73343
|
representationName: "ListOrder",
|
|
73217
73344
|
version: VERSION$c
|
|
73218
73345
|
},
|
|
@@ -73275,7 +73402,7 @@
|
|
|
73275
73402
|
const { path, data, luvio } = state;
|
|
73276
73403
|
const rootKey = keyBuilder$8(luvio, path);
|
|
73277
73404
|
cacheKeySink.set(rootKey, {
|
|
73278
|
-
namespace: keyPrefix,
|
|
73405
|
+
namespace: keyPrefix$1,
|
|
73279
73406
|
mergeable: true,
|
|
73280
73407
|
representationName: name$4
|
|
73281
73408
|
});
|
|
@@ -73361,7 +73488,7 @@
|
|
|
73361
73488
|
mergeData: mergeData$3,
|
|
73362
73489
|
storeMetadataParams: {
|
|
73363
73490
|
ttl: TTL$2,
|
|
73364
|
-
namespace: keyPrefix,
|
|
73491
|
+
namespace: keyPrefix$1,
|
|
73365
73492
|
representationName: "RelatedListInfo",
|
|
73366
73493
|
version: VERSION$b
|
|
73367
73494
|
},
|
|
@@ -73427,7 +73554,7 @@
|
|
|
73427
73554
|
const { path, data, luvio } = state;
|
|
73428
73555
|
const rootKey = keyBuilder$7(luvio, path);
|
|
73429
73556
|
cacheKeySink.set(rootKey, {
|
|
73430
|
-
namespace: keyPrefix,
|
|
73557
|
+
namespace: keyPrefix$1,
|
|
73431
73558
|
mergeable: true,
|
|
73432
73559
|
representationName: name$3
|
|
73433
73560
|
});
|
|
@@ -73597,7 +73724,7 @@
|
|
|
73597
73724
|
mergeData: mergeData$2,
|
|
73598
73725
|
storeMetadataParams: {
|
|
73599
73726
|
ttl: TTL$1,
|
|
73600
|
-
namespace: keyPrefix,
|
|
73727
|
+
namespace: keyPrefix$1,
|
|
73601
73728
|
representationName: "UIAPI",
|
|
73602
73729
|
version: VERSION$a
|
|
73603
73730
|
},
|
|
@@ -73671,7 +73798,7 @@
|
|
|
73671
73798
|
const { path, data, luvio } = state;
|
|
73672
73799
|
const rootKey = keyBuilder$6(luvio, path);
|
|
73673
73800
|
cacheKeySink.set(rootKey, {
|
|
73674
|
-
namespace: keyPrefix,
|
|
73801
|
+
namespace: keyPrefix$1,
|
|
73675
73802
|
mergeable: true,
|
|
73676
73803
|
representationName: name$2
|
|
73677
73804
|
});
|
|
@@ -73831,7 +73958,7 @@
|
|
|
73831
73958
|
mergeData: mergeData$1,
|
|
73832
73959
|
storeMetadataParams: {
|
|
73833
73960
|
ttl: TTL$1,
|
|
73834
|
-
namespace: keyPrefix,
|
|
73961
|
+
namespace: keyPrefix$1,
|
|
73835
73962
|
representationName: "RateLimit",
|
|
73836
73963
|
version: VERSION$9
|
|
73837
73964
|
},
|
|
@@ -73899,7 +74026,7 @@
|
|
|
73899
74026
|
const { path, data, luvio } = state;
|
|
73900
74027
|
const rootKey = keyBuilder$5(luvio, path);
|
|
73901
74028
|
cacheKeySink.set(rootKey, {
|
|
73902
|
-
namespace: keyPrefix,
|
|
74029
|
+
namespace: keyPrefix$1,
|
|
73903
74030
|
mergeable: true,
|
|
73904
74031
|
representationName: name$1
|
|
73905
74032
|
});
|
|
@@ -73978,7 +74105,7 @@
|
|
|
73978
74105
|
function keyBuilder$4(luvio, operationNode, variables, fragmentMap) {
|
|
73979
74106
|
return buildQueryTypeStringKey({
|
|
73980
74107
|
luvio,
|
|
73981
|
-
keyPrefix: keyPrefix,
|
|
74108
|
+
keyPrefix: keyPrefix$1,
|
|
73982
74109
|
schemaName: 'uiapi',
|
|
73983
74110
|
queryTypeName: name,
|
|
73984
74111
|
operationNode,
|
|
@@ -74004,7 +74131,7 @@
|
|
|
74004
74131
|
mergeData,
|
|
74005
74132
|
storeMetadataParams: {
|
|
74006
74133
|
ttl: TTL$1,
|
|
74007
|
-
namespace: keyPrefix,
|
|
74134
|
+
namespace: keyPrefix$1,
|
|
74008
74135
|
representationName: "Query",
|
|
74009
74136
|
version: VERSION$8
|
|
74010
74137
|
},
|
|
@@ -74062,7 +74189,7 @@
|
|
|
74062
74189
|
const { path, data, luvio } = state;
|
|
74063
74190
|
const rootKey = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
|
|
74064
74191
|
cacheKeySink.set(rootKey, {
|
|
74065
|
-
namespace: keyPrefix,
|
|
74192
|
+
namespace: keyPrefix$1,
|
|
74066
74193
|
mergeable: true,
|
|
74067
74194
|
representationName: name
|
|
74068
74195
|
});
|
|
@@ -75871,7 +75998,7 @@
|
|
|
75871
75998
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
75872
75999
|
const storeMetadataParams = {
|
|
75873
76000
|
ttl: TTL,
|
|
75874
|
-
namespace: keyPrefix,
|
|
76001
|
+
namespace: keyPrefix$1,
|
|
75875
76002
|
representationName: RepresentationType,
|
|
75876
76003
|
version: VERSION$7
|
|
75877
76004
|
};
|
|
@@ -76380,7 +76507,7 @@
|
|
|
76380
76507
|
return selectChildResourceParams(luvio, childResources, resourceParams);
|
|
76381
76508
|
}
|
|
76382
76509
|
function keyBuilder$1(luvio, params) {
|
|
76383
|
-
return (keyPrefix +
|
|
76510
|
+
return (keyPrefix$1 +
|
|
76384
76511
|
'::GraphQLBatchRepresentation:(' +
|
|
76385
76512
|
'batchQuery:' +
|
|
76386
76513
|
params.body.batchQuery +
|
|
@@ -76400,7 +76527,7 @@
|
|
|
76400
76527
|
else if (childStatusCode === 404) {
|
|
76401
76528
|
const childKey = keyBuilder$3(luvio, childResourceParams);
|
|
76402
76529
|
keys.set(childKey, {
|
|
76403
|
-
namespace: keyPrefix,
|
|
76530
|
+
namespace: keyPrefix$1,
|
|
76404
76531
|
representationName: RepresentationType,
|
|
76405
76532
|
mergeable: false,
|
|
76406
76533
|
});
|
|
@@ -76649,8 +76776,8 @@
|
|
|
76649
76776
|
let graphql_imperative;
|
|
76650
76777
|
let graphqlBatch_imperative;
|
|
76651
76778
|
// Adapter Metadata
|
|
76652
|
-
const graphqlMetadata = { apiFamily: keyPrefix, name: 'graphql', ttl: 900000 };
|
|
76653
|
-
const graphqlBatchMetadata = { apiFamily: keyPrefix, name: 'graphqlBatch' };
|
|
76779
|
+
const graphqlMetadata = { apiFamily: keyPrefix$1, name: 'graphql', ttl: 900000 };
|
|
76780
|
+
const graphqlBatchMetadata = { apiFamily: keyPrefix$1, name: 'graphqlBatch' };
|
|
76654
76781
|
function bindExportsTo(luvio) {
|
|
76655
76782
|
// LDS adapters
|
|
76656
76783
|
const graphql_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'graphql', factory$1), graphqlMetadata);
|
|
@@ -77159,7 +77286,7 @@
|
|
|
77159
77286
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
77160
77287
|
instrument: instrument$1,
|
|
77161
77288
|
});
|
|
77162
|
-
// version: 1.
|
|
77289
|
+
// version: 1.245.0-df5596041
|
|
77163
77290
|
|
|
77164
77291
|
// On core the unstable adapters are re-exported with different names,
|
|
77165
77292
|
// we want to match them here.
|
|
@@ -79408,7 +79535,7 @@
|
|
|
79408
79535
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
79409
79536
|
graphQLImperative = ldsAdapter;
|
|
79410
79537
|
});
|
|
79411
|
-
// version: 1.
|
|
79538
|
+
// version: 1.245.0-df5596041
|
|
79412
79539
|
|
|
79413
79540
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
79414
79541
|
__proto__: null,
|
|
@@ -80106,7 +80233,7 @@
|
|
|
80106
80233
|
function register(r) {
|
|
80107
80234
|
callbacks$1.forEach((callback) => callback(r));
|
|
80108
80235
|
}
|
|
80109
|
-
// version: 1.
|
|
80236
|
+
// version: 1.245.0-0ea124370
|
|
80110
80237
|
|
|
80111
80238
|
/**
|
|
80112
80239
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -84256,8 +84383,9 @@
|
|
|
84256
84383
|
}
|
|
84257
84384
|
};
|
|
84258
84385
|
}
|
|
84386
|
+
const keyPrefix = 'UiApi';
|
|
84259
84387
|
|
|
84260
|
-
const { assign, create, freeze, keys } = Object;
|
|
84388
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
84261
84389
|
const { isArray } = Array;
|
|
84262
84390
|
const { concat, filter, includes, push, reduce } = Array.prototype;
|
|
84263
84391
|
|
|
@@ -84354,6 +84482,10 @@
|
|
|
84354
84482
|
}
|
|
84355
84483
|
return dedupe(array).sort();
|
|
84356
84484
|
}
|
|
84485
|
+
const RepresentationType$T = 'RecordRepresentation';
|
|
84486
|
+
function keyBuilder$35(luvio, config) {
|
|
84487
|
+
return keyPrefix + '::' + RepresentationType$T + ':' + config.recordId;
|
|
84488
|
+
}
|
|
84357
84489
|
freeze({
|
|
84358
84490
|
name: '',
|
|
84359
84491
|
children: {},
|
|
@@ -84745,15 +84877,256 @@
|
|
|
84745
84877
|
}
|
|
84746
84878
|
}
|
|
84747
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
|
+
|
|
84748
85119
|
// LWR has a "setupLDS" bootstrap service/loader hook, we simulate this in
|
|
84749
85120
|
// standalone bundle by mimicking what "setupLDS" does here and then exporting
|
|
84750
85121
|
// everything from main.ts
|
|
84751
85122
|
const { luvio } = getRuntime();
|
|
84752
85123
|
setDefaultLuvio({ luvio });
|
|
84753
85124
|
|
|
85125
|
+
exports.cancelEviction = cancelEviction;
|
|
84754
85126
|
exports.createPrimingSession = createPrimingSession;
|
|
84755
85127
|
exports.draftManager = draftManager;
|
|
84756
85128
|
exports.draftQueue = draftQueue;
|
|
85129
|
+
exports.evictCacheRecordsByIds = evictCacheRecordsByIds;
|
|
84757
85130
|
exports.executeAdapter = executeAdapter;
|
|
84758
85131
|
exports.executeMutatingAdapter = executeMutatingAdapter;
|
|
84759
85132
|
exports.getImperativeAdapterNames = getImperativeAdapterNames;
|
|
@@ -84767,4 +85140,4 @@
|
|
|
84767
85140
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
84768
85141
|
|
|
84769
85142
|
}));
|
|
84770
|
-
// version: 1.
|
|
85143
|
+
// version: 1.245.0-0ea124370
|